diff options
authorAndrey Konovalov <>2014-12-12 22:21:56 +0300
committerAndrey Konovalov <>2014-12-12 22:21:56 +0300
commita78eae303c914dbb4b578340f9db465ecccee9d4 (patch)
parent591dbb6d0db749d71758667b28d05c497b267c76 (diff)
ifc6410: new boot method uses fixup.bin
Bootloaders on the IFC6410 use ATAGS to pass the memory information as we use CONFIG_ARM_ATAG_DTB_COMPAT config in kernel this option will extract the memory information from the ATAG list and store it at run time into the appended DTB. But the LK booloader in this case passes an *incorrect* memory address for some reason, and the way it was fixed prior to this release is by adding some code in startup which will go and fix this before the kernel realizes it. This is kind of hack and we dont want to maintain such a code in future. In the new method we prepend a binary blob before the kernel, and the responsibility of this binary blob is to fixup the wrong ATAGS. Signed-off-by: Andrey Konovalov <>
1 files changed, 1 insertions, 1 deletions
diff --git a/ b/
index 3f63313..279a92c 100755
--- a/
+++ b/
@@ -137,7 +137,7 @@ case "${hwpack}" in
echo "Skip DEVICE_TYPE for ${hwpack} - ifc6410 uses a separate job to submit to LAVA"
# append dtb to zImage
- cat builddir-*-${kernel_flavour}/arch/arm/boot/zImage \
+ cat fixup.bin builddir-*-${kernel_flavour}/arch/arm/boot/zImage \
builddir-*-${kernel_flavour}/arch/arm/boot/dts/qcom-apq8064-ifc6410.dtb \
> zImage_${hwpack}