Question
STM32MP135 Uboot libfdt fdt_check_header(): FDT_ERR_BADMAGIC
I'm trying to boot from SD-card and u-boot doesn't seem to find device tree. I have built my system with buildroot (bootlin st/2023.02.2) overriding the sources for tf-a, u-boot, op-tee and kernel, to be able to boot at least to u-boot (I did write another posts of my problems).
The files in SD-card
boot
├── extlinux
│ └── extlinux.conf
├── myb-stm32mp135x-512m.dtb
└── zImageextlinux.conf
label myb-stm32mp135x-512m-buildroot
kernel /boot/zImage
devicetree /boot/myb-stm32mp135x-512m.dtb
append root=/dev/mmcblk0p5 rootwait rw console=ttySTM0,115200genimage
image sdcard.img {
hdimage {
partition-table-type = "gpt"
}
partition fsbl1 {
image = "%ATFBIN%"
}
partition fsbl2 {
image = "%ATFBIN%"
}
partition fip {
image = "fip.bin"
}
partition u-boot-env {
size = 2M
}
partition rootfs {
image = "rootfs.ext4"
bootable = "yes"
}
}So any ideas why it doesn't work?
