deviceinfo: Make "deviceinfo_flash_offset_base" obsolete
Created by: ollieparanoid
@MartijnBraam did some research about this, and it turns out, that it is not necessary to specify this value at all. We should remove it and let fastboot use its defaults.
Martijn wrote in the channel:
I've been reading stuff about the android boot process, linux arm booting and littlekernel and I think the offsets in the deviceinfo can be avoided those are kernel specific, not device specific the offsets are just where to load the kernel and initfs in memory before executing it the kernel doesn't really care where it's loaded, but it's fastest when it doesn't have to relocate when unpacking that the 0x8000 address base offset isn't a variable in the boot image mkbootimg just adds that number to all other numbers
So you're saying we can get rid of that option in the deviceinfo (and all the confusion about it)?
jep, the values shouldn't really matter as long as they don't overlap and there's about 128MB between the kernel and the initfs so that's not likely 17:03the kernel does has a parameter that tells it where it's expected to be loaded
the main memory starts at 0x1000000 and the kernel should be offset by 0x8000 fastboot should use the correct defaults