xref: /OK3568_Linux_fs/buildroot/board/stmicroelectronics/stm32f469-disco/readme.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1STM32F469 Discovery
2===================
3
4This tutorial describes how to use the predefined Buildroot
5configuration for the STM32F469 Discovery evaluation platform.
6
7Building
8--------
9
10  make stm32f469_disco_defconfig
11  make
12
13Flashing
14--------
15
16  ./board/stmicroelectronics/stm32f469-disco/flash.sh output/
17
18It will flash the U-boot bootloader.
19
20Creating SD card
21----------------
22
23Buildroot prepares an"sdcard.img" image in the output/images/ directory,
24ready to be dumped on a SD card. Launch the following command as root:
25
26  dd if=output/images/sdcard.img of=/dev/<your-sd-device>
27
28*** WARNING! This will destroy all the card content. Use with care! ***
29
30For details about the medium image layout and its content, see the
31definition in board/stmicroelectronics/stm32f469-disco/genimage.cfg.
32
33Framebuffer
34-----------
35After Linux boots, /dev/fb0 will be accessible. You can control the
36brightness of the display after enabling the framebuffer by running the
37following commands:
38
39   # echo 0 0 > /sys/class/graphics/fb0/pan
40   # echo 255 >/sys/class/backlight/40016c00.dsi.0/brightness
41
42The brightness ranges from 0 to 255, as you can see running the
43command:
44
45   # cat /sys/class/backlight/40016c00.dsi.0/max_brightness
46