757f75f...
by
=?utf-8?b?QW7DrWJhbCBMaW3Ds24=?= <email address hidden>
app/aboot: Use SCRATCH_ADDR for ramdisk
Use SCRATCH_AREA for ramdisk that currently is mapped to have 740MB [1]
[2], this area is used for fastboot as temporary when download images (boot,
rootfs) and can be used to load the ramdisk, it validates for max
download size [3] so buffer overruns are handled.
fc0864d...
by
Nicolas Dechesne <email address hidden>
msm8996: enable booting with large kernel image
Update the base addresses for ramdisk to allow larger kernel image to boot
properly. otherwise, uncompressing the kernel might end up overwritting the
ramdisk and/or dtb.
Change-Id: Iafa966b7636e342efb7a642df57db29163ab79a2
Signed-off-by: Nicolas Dechesne <email address hidden>
7a5154b...
by
Nicolas Dechesne <email address hidden>
assert: ensure DEBUG_LEVEL is set before it is used
When enabling DEBUG, assert.h is parsed before debug.h, so DEBUG_LEVEL is not
set.
Change-Id: I90219ea8c5c7806d41c2261389a6f383e61ea6d0
Signed-off-by: Nicolas Dechesne <email address hidden>
dev-tree: Support non-skales DTB if only one appended
If people append a unique DTB which has not been generated
with skales/dtbTool, we consider they expect to use it
without any compatibility check/filtering.
You can generate such boot.img with generic android mkbootimg tool:
$ gzip -c Image > Image.gz
$ cat Image.gz Image.dtb > Image.gz+dtb
$ mkbootimg --kernel ./Image.gz+dtb --ramdisk ./initrd.img \
--output boot.img --pagesize 4096 --base 80000000
--cmdline "root=/dev/disk/by-partlabel/system rw rootwait console=ttyMSM0,115200n8"