summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Konovalov <andrey.konovalov@linaro.org>2014-12-12 22:21:56 +0300
committerAndrey Konovalov <andrey.konovalov@linaro.org>2014-12-12 22:21:56 +0300
commita78eae303c914dbb4b578340f9db465ecccee9d4 (patch)
tree196d10d9a4c207fa84bd39ae3d1f888138d7e46f
parent591dbb6d0db749d71758667b28d05c497b267c76 (diff)
downloadlinux-linaro-kernel-ci-a78eae303c914dbb4b578340f9db465ecccee9d4.tar.gz
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 <andrey.konovalov@linaro.org>
-rwxr-xr-xll-ci.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ll-ci.sh b/ll-ci.sh
index 3f63313..279a92c 100755
--- a/ll-ci.sh
+++ b/ll-ci.sh
@@ -137,7 +137,7 @@ case "${hwpack}" in
ifc6410)
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}
;;