diff options
author | Andrey Konovalov <andrey.konovalov@linaro.org> | 2014-12-12 22:21:56 +0300 |
---|---|---|
committer | Andrey Konovalov <andrey.konovalov@linaro.org> | 2014-12-12 22:21:56 +0300 |
commit | a78eae303c914dbb4b578340f9db465ecccee9d4 (patch) | |
tree | 196d10d9a4c207fa84bd39ae3d1f888138d7e46f | |
parent | 591dbb6d0db749d71758667b28d05c497b267c76 (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 <andrey.konovalov@linaro.org>
-rwxr-xr-x | ll-ci.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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} ;; |