Skip to contentSkip to conversation

removing fdt_high from default set of variables for, dragonboard410c config

PATCH New Matthias Schoepfer 2 participants 2 messages Jan 9, 2020 – Jan 23, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 removing fdt_high from default set of variables for, dragonboard410c config

When using fitImage in AARCH64, the fdt is only 4 byte aligned. According to linux kernel -> Documentation/arm64/booting.txt, the fdt *must* be 8 byte aligned. Therefore, it is somewhat random, if you build a kernel that the fdt is 4 or 8 byte aligned. Removing fdt_high (or changing it to a valid 8 byte aligned address) solves this issue.

CC Mateusz Kulikowski <[email protected]>
---
  include/configs/dragonboard410c.h | 1 -
  1 file changed, 1 deletion(-)
(quoted diff) +0 -0

b/include/configs/dragonboard410c.h
index 65149ad441..9362e9322c 100644

include/configs/dragonboard410c.h +0 -1
@@ -69,7 +69,6 @@ REFLASH(dragonboard/u-boot.img, 8)\
  #define CONFIG_EXTRA_ENV_SETTINGS \
  	"reflash="CONFIG_ENV_REFLASH"\0"\
  	"loadaddr=0x81000000\0" \
-	"fdt_high=0xffffffffffffffff\0" \
  	"initrd_high=0xffffffffffffffff\0" \
  	"linux_image=Image\0" \
  	"kernel_addr_r=0x81000000\0"\
Signature · 1 line
2.24.1
#1 lore raw

PATCH 1/1 removing fdt_high from default set of variables for, dragonboard410c config

Quoted 9 lines · Matthias Schoepfer

When using fitImage in AARCH64, the fdt is only 4 byte aligned. According to linux kernel -> Documentation/arm64/booting.txt, the fdt *must* be 8 byte aligned. Therefore, it is somewhat random, if you build a kernel that the fdt is 4 or 8 byte aligned. Removing fdt_high (or changing it to a valid 8 byte aligned address) solves this issue.

CC Mateusz Kulikowski <[email protected]>

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200123/0eda5597/attachment.sig>