bff5ae49ec
This commit adds a minimal defconfig to build a Buildroot system for the STM32MP157 Discovery Kit, which is the low-cost evaluation platform for the new STM32MP157 system-on-chip from ST. This system-on-chip features a single or dual Cortex-A7, a single Cortex-M4, and a wide variety of peripherals. This commit includes a custom linux configuration file, because there is no specific defconfig for this platform in the kernel, only multi_v7_defconfig supports it, which is really a massive defconfig. That's why a custom linux configuration file is added. A small U-Boot config fragment allows to disable the watchdog, so that userspace by default doesn't need to have a watchdog daemon running. The vendor U-Boot and Linux trees are used for the moment, but the platform support is being upstreamed, so switching to upstream versions will be possible in the relatively near future. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> |
||
---|---|---|
.. | ||
overlay/boot/extlinux | ||
genimage.cfg | ||
linux.config | ||
readme.txt | ||
uboot-fragment.config |
STM32MP157 Discovery Kit Intro ===== This configuration supports the STM32MP157 Discovery Kit 2 (DK2) platform: https://www.st.com/en/evaluation-tools/stm32mp157c-dk2.html How to build ============ $ make stm32mp157_dk_defconfig $ make How to write the microSD card ============================= Once the build process is finished you will have an image called "sdcard.img" in the output/images/ directory. Copy the bootable "sdcard.img" onto an microSD card with "dd": $ sudo dd if=output/images/sdcard.img of=/dev/sdX Boot the board ============== (1) Insert the microSD card in connector CN15 (2) Plug a micro-USB cable in connector CN11 and run your serial communication program on /dev/ttyACM0. (3) Plug a USB-C cable in CN6 to power-up the board. (4) The system will start, with the console on UART, but also visible on the screen.