04a0094f0e
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]
32 lines
793 B
Plaintext
32 lines
793 B
Plaintext
STM32F469 Discovery
|
|
===================
|
|
|
|
This tutorial describes how to use the predefined Buildroot
|
|
configuration for the STM32F469 Discovery evaluation platform.
|
|
|
|
Building
|
|
--------
|
|
|
|
make stm32f469_disco_defconfig
|
|
make
|
|
|
|
Flashing
|
|
--------
|
|
|
|
./board/stmicroelectronics/stm32f469-disco/flash.sh output/
|
|
|
|
It will flash the U-boot bootloader.
|
|
|
|
Creating SD card
|
|
----------------
|
|
|
|
Buildroot prepares an"sdcard.img" image in the output/images/ directory,
|
|
ready to be dumped on a SD card. Launch the following command as root:
|
|
|
|
dd if=output/images/sdcard.img of=/dev/<your-sd-device>
|
|
|
|
*** WARNING! This will destroy all the card content. Use with care! ***
|
|
|
|
For details about the medium image layout and its content, see the
|
|
definition in board/stmicroelectronics/stm32f469-disco/genimage.cfg.
|