kumquat-buildroot/board/stmicroelectronics/stm32f469-disco
Dario Binacchi 830e5227d4 configs/stm32f469_disco: enable Linux DRM support
The patch [1], which is required for DRM to work properly, has been
merged into Linux version 5.14-rc3. There's a 5.14.12 now in stable, so
I took that one.

After Linux boots, /dev/fb0 will be accessible. You can control the
brightness of the display after enabling the framebuffer by running the
following commands:

~ # echo 0 0 > /sys/class/graphics/fb0/pan
~ # echo 255 >/sys/class/backlight/40016c00.dsi.0/brightness

The brightness ranges from 0 to 255, as you can see running the
command:

~ # cat /sys/class/backlight/40016c00.dsi.0/max_brightness

[1] 24b5b1978cd5 ("clk: stm32f4: fix post divisor setup for I2S/SAI PLLs")

Signed-off-by: Dario Binacchi <dariobin@libero.it>
Acked-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
[Arnout: add explanation to readme.txt]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-10-26 21:34:03 +02:00
..
patches configs/stm32f469_disco_xip_defconfig: alternative defconfig for XIP 2021-08-28 16:58:21 +02:00
extlinux.conf
flash_xip.sh configs/stm32f469_disco_xip_defconfig: alternative defconfig for XIP 2021-08-28 16:58:21 +02:00
flash.sh
genimage.cfg
linux-xip.config configs/stm32f469_disco_xip_defconfig: alternative defconfig for XIP 2021-08-28 16:58:21 +02:00
linux.fragment configs/stm32f469_disco: enable Linux DRM support 2021-10-26 21:34:03 +02:00
post-build.sh
readme_xip.txt configs/stm32f469_disco_xip_defconfig: alternative defconfig for XIP 2021-08-28 16:58:21 +02:00
readme.txt configs/stm32f469_disco: enable Linux DRM support 2021-10-26 21:34:03 +02:00

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.

Framebuffer
-----------
After Linux boots, /dev/fb0 will be accessible. You can control the
brightness of the display after enabling the framebuffer by running the
following commands:

   # echo 0 0 > /sys/class/graphics/fb0/pan
   # echo 255 >/sys/class/backlight/40016c00.dsi.0/brightness

The brightness ranges from 0 to 255, as you can see running the
command:

   # cat /sys/class/backlight/40016c00.dsi.0/max_brightness