configs/stm32f469_disco: fix kernel bootup
authorDario Binacchi <dariobin@libero.it>
Mon, 7 Jun 2021 16:31:49 +0000 (18:31 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Wed, 16 Jun 2021 21:09:34 +0000 (23:09 +0200)
commit04a0094f0ef0778d1f3c4056ac0005218126147e
treec562340f7817ac92e054b6cf12e477381d9406b2
parentee5e14ff17fda761784feda2f887b6fbde5355e5
configs/stm32f469_disco: fix kernel bootup

As described by [1], the kernel generated by the configuration for the
STM32f469 Discovery board is buggy. Using a newer kernel, as suggested
by [1], increases the dtb and Kernel image size. In particular, the
5.12 version of the kernel generates a dtb and a kernel image whose sum
exceeds the 2 MByte of the flash module.

So I decided to replace the afboot-stm32 bootloader in the flash with
U-boot to easily boot the system from sdcard without having to worry
about the size of dtb, kernel and rootfs generated by the configuration.

This solution allows you to fix the kernel boot issue and makes it
possible to use its future versions.

[1] http://buildroot-busybox.2317881.n4.nabble.com/Bug-11746-New-stm32f469-didn-t-work-correctly-td219644.html

Signed-off-by: Dario Binacchi <dariobin@libero.it>
Acked-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
Tested-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Arnout:
 - specify headers version explicitly, even though it's default;
 - bump kernel to 5.12.11]
board/stmicroelectronics/stm32f469-disco/extlinux.conf [new file with mode: 0644]
board/stmicroelectronics/stm32f469-disco/flash.sh
board/stmicroelectronics/stm32f469-disco/genimage.cfg [new file with mode: 0644]
board/stmicroelectronics/stm32f469-disco/linux.fragment [new file with mode: 0644]
board/stmicroelectronics/stm32f469-disco/patches/linux/0001-ARM-stm32f249-disco-don-t-force-init-in-chosen-boota.patch [deleted file]
board/stmicroelectronics/stm32f469-disco/post-build.sh [new file with mode: 0755]
board/stmicroelectronics/stm32f469-disco/readme.txt
configs/stm32f469_disco_defconfig