Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
configs Files cleanup Mar 4, 2018
doc Update to kernel 4.15.7 Mar 4, 2018
patches Updating to newer versions of U-Boot and Linux Feb 16, 2018
Makefile Updating to newer versions of U-Boot and Linux Feb 16, 2018 Update to kernel 4.15.7 Mar 4, 2018

Linux on the STM32F746G Discovery board with Buildroot

The project is a set of patches and configuration files to build a bootloader and a Linux based system image with a minimal root file system for the great STM32F746G Discovery board.

Board peripherals support

See this overview of board peripherals support.


Let's download, extract and patch Buildroot:

$ make bootstrap

Then build:

$ make build

After the build, the directory buildroot/output/images/ contains

  • U-Boot images u-boot-spl.bin and u-boot.bin
  • compressed Linux kernel with linked RAM filesystem zImage
  • device tree blob stm32f746-disco.dtb


Write U-Boot in the internal flash:

$ make flash_bootloader

U-Boot is configured to write the Linux kernel in the SPI flash is the user button (the blue one) is pressed during reset. It loads and flash the device tree blob image called stm32f746/stm32f746-disco.dtb and the kernel image called stm32f746/zImage over TFTP from a host with IP

alt text


  • 0.3

    • U-Boot 2018.03-rc3
    • Linux 4.15.7
    • Overview of board peripherals support
  • 0.2

    • Buildroot 2017.02.9
    • GCC 6.3.0
    • U-Boot 2018.03-rc2
    • Linux 4.15.3
    • Busybox 1.26.2
  • 0.1

    • Buildroot 2017.02.9
    • GCC 4.4.1 (external)
    • U-Boot from Emcraft
    • Linux 2.6.33 from Emcraft with LCD driver
    • Busybox
    • OpenOCD 0.10.0
You can’t perform that action at this time.