]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx-base.inc: set i.MX 7ULP UBOOT_ENTRYPOINT setting to fix fitImage
authorMichael Scott <mike@foundries.io>
Fri, 13 Sep 2019 17:01:58 +0000 (10:01 -0700)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 13 Sep 2019 20:05:45 +0000 (17:05 -0300)
The UBOOT_ENTRYPOINT setting is used when generating fitImage data.
Specifically where to extract the kernel binary into memory.
When fitImage is enabled for i.MX 7ULP targets, we are incorrectly
setting the extraction location to 0x80008000 (the mx7 default).

This results in a hung boot.

The default configuration for i.MX 7ULP is to load the kernel binary
(zImage) and initramfs into memory directly from the vfat boot
partition so this issue does not present itself until fitImage is used.

To fix the extraction point for fitImage kernel binaries, let's add
a specific setting for mx7ulp so that mx7 setting isn't used.

Signed-off-by: Michael Scott <mike@foundries.io>
conf/machine/include/imx-base.inc

index 0b965edf121f9f985049600af0de55c1f628ebf1..fc7c7fc889103e4fd2dbb25e9e076f750e466d8b 100644 (file)
@@ -33,6 +33,7 @@ UBOOT_ENTRYPOINT_mx6sx = "0x80008000"
 UBOOT_ENTRYPOINT_mx6ul  = "0x10008000"
 UBOOT_ENTRYPOINT_mx6ull  = "0x10008000"
 UBOOT_ENTRYPOINT_mx7 = "0x80008000"
+UBOOT_ENTRYPOINT_mx7ulp = "0x60008000"
 UBOOT_ENTRYPOINT_mx8mq  = "0x40480000"
 UBOOT_ENTRYPOINT_vf = "0x80008000"