aboutsummaryrefslogtreecommitdiff
path: root/board/stmicroelectronics
Commit message (Collapse)AuthorAgeFilesLines
* configs/avenger96_defconfig: add support for Arrow Avenger96 boardGravatar Peter Korsgaard2021-02-081-0/+2
| | | | | | | Very similar to the other stm32mp157-based boards, except that we use the multi_v7 defconfig for ease of maintenance. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* configs/stm32mp157*: switch to use TF-A based configurationsGravatar Shlomi Vaknin2020-10-132-4/+39
| | | | | | | | | | | | | | | | | This commit changes the stm32mp1 configurations to use the TF-A -> U-Boot boot flow (called "trusted boot flow" by ST) instead of the U-Boot SPL -> U-Boot boot flow. ST recommands this trusted boot, and it's also the only one that allows to use the STM32 Cube Programmer for reflashing devices. As part of this, the genimage configuration file is now generated, as it contains some file names that depend on the platform. Removing partition-type from genimage.cfg is mandatory, since it would cause a hybrid MBR partition table to be created, which itself would prevent ATF from finding the ssbl parition. Signed-off-by: Shlomi Vaknin <shlomi.39sd@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/stmicroelectronics/stm32f4xx: move post-build script into common directoryGravatar Bartosz Bilas2020-03-211-0/+0
| | | | | | | | Let's clean up "boards/stmicroelectronics" directory a bit to have everything in particular directories. Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/stm32mp157a_dk1: new defconfigGravatar Bartosz Bilas2020-03-214-0/+225
| | | | | | | | | | The board support package includes the following components: - U-Boot 2020.01 - Linux 5.4.26 - Buildroot default packages Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/stm32mp157: use common genimage config file for stm32mp157 boardsGravatar Bartosz Bilas2020-03-211-0/+0
| | | | | | | It will be useful for the upcoming introducing stm32mp157a dk2 board. Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/stm32mp157c-dk2/genimage.cfg: drop hardcoded rootfs partition sizeGravatar Bartosz Bilas2020-03-211-1/+0
| | | | | | | Let genimage to match the size of the rootfs image instead. Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/stm32mp157c_dk2: remove unnecessary workaroundGravatar Bartosz Bilas2020-01-011-37/+0
| | | | | | | | Now that the metadata_csum ext4 option is disabled, we no longer need the U-Boot workaround. Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/stm32mp157c-dk2: fix typos in readme and extlinux fileGravatar Bartosz Bilas2019-10-272-4/+4
| | | | | Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/stm32mp157_dk: rename to the sm32mp157c_dk2Gravatar Bartosz Bilas2019-10-276-0/+0
| | | | | | | That is useful and needed for upcoming introducing stm32mp157a-dk1 board. Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/stm32mp157_dk: bump U-Boot to 2019.10Gravatar Bartosz Bilas2019-10-271-0/+37
| | | | | | | | Add patch to fix mounting rootfs partition properly. This issue is already reported upstream. Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/stmicroelectronics/stm32mp157-dk: rename uboot partition in genimage.cfgGravatar Bartosz Bilas2019-10-271-1/+1
| | | | | | | Change partition name according to the U-Boot requirements. Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/stm32mp157_dk: new defconfigGravatar Thomas Petazzoni2019-08-125-0/+249
| | | | | | | | | | | | | | | | | | | | | | 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>
* stm32f469-disco: replace $HOST_DIR/usr with $HOST_DIR in flash scriptGravatar Arnout Vandecappelle2017-07-051-1/+1
| | | | | | | | Manual change because the script uses ${OUTPUT_DIR}/host instead of ${HOST_DIR}. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* stm32f429-disco: replace $HOST_DIR/usr with $HOST_DIR in flash scriptGravatar Arnout Vandecappelle2017-07-051-1/+1
| | | | | | | | Manual change because the script uses ${OUTPUT_DIR}/host instead of ${HOST_DIR}. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* configs/stm32f4xx: use kernel version 4.11Gravatar Christophe PRIOUZEAU2017-06-084-154/+33
| | | | | | | | Use kernel 4.11 for stm32f4 discovery board (stm32f429i-disco and stm32f469i-disco). Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* board/stmicroelectronics/stm32f469-disco: remove OpenOCD patchesGravatar Thomas Petazzoni2017-05-072-74/+0
| | | | | | | | | | | | | | | | | | | | | Since the bump of OpenOCD from 0.9.0 to 0.10.0 in commit 3b6c74d708252a32fe172be944951396d419ba88, stm32f469_disco_defconfig fails to build: - 0001-add-config.patch was merged in upstream OpenOCD (commit 26045588f462476cee356d15a24944d6c26befb4). - 0002-flash-nor.patch was merged in upstream OpenOCD (commit 3e219648c80a27f0519003f3b088cbb846e255d8) Therefore, this commit removes the two patches that are no longer necessary. Fixes: https://gitlab.com/buildroot.org/buildroot/builds/15762279 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* board: add stm32f429-disc1 configGravatar Samuel Martin2017-05-012-3/+16
| | | | | | | | | | This change renders the stm32f429discovery a bit more generic and reuse most of its settings for the stm32f429-disc1 board. Cc: Waldemar Brodkorb <wbx@openadk.org> Cc: Davide Viti <zinosat@tiscali.it> Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* move busybox-minimal.config to be used by other noMMU targetsGravatar Waldemar Brodkorb2016-04-301-1057/+0
| | | | | | | | Config can be used by other noMMU targets as qemu-system-m68k with coldfire emulation. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* configs/stm32f469_disco: new configuration for STM32F469 Discovery boardGravatar Lee Jones2016-04-167-0/+267
| | | | | | | | | | | | | | | | | | Similar to stm32f429_disco, this commit adds a configuration for the Cortex-M4 based STM32F469 platform. It requires a few kernel patches, which have already been submitted upstream, as well as a small OpenOCD patch. Besides that, it re-uses most of what has been added for the STM32F429 platform. Signed-off-by: Lee Jones <lee.jones@linaro.org> [Thomas: - squash multiple patches from Lee Jones into one - improve the readme.txt file - sync the defconfig with the adaptations made to the stm32f429 configuration.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* configs/stm32f429_disco: new configuration for STM32F429 Discovery boardGravatar Lee Jones2016-04-165-0/+1147
This commit adds a defconfig for the STM32F429 platform, which is based on a Cortex-M4 core from ST Microelectronics. It is therefore the first noMMU ARM platform supported in Buildroot. This commit includes some files that will be common to several STM32 platforms (hence in board/stmicroelectronics) and some files that are specific to the STM32F429 (hence in board/stmicroelectronics/stm32f429-disco). More specifically, this commit adds: - A minimal Busybox configuration, which is small enough to boot without causing OOM on such small noMMU platforms. The resulting Busybox, statically linked with uClibc-ng, weights around 220 KB. For now, this file is located in board/stmicroelectronics/, but we might consider moving it to package/busybox/ in the future if needed. - A post-build script that removes the mounting of /dev/pts (not enabled in the kernel and not very useful for a system that has no network and no X), and removes the network related init script and configuration files (no network support). - A flash.sh script, to perform the right OpenOCD invocations to reflash the board. - One small kernel patch to adjust the kernel command line in the Device Tree, since it's the only way to do so. - The usual readme.txt file. Signed-off-by: Lee Jones <lee.jones@linaro.org> [Thomas: - squashed multiple patches from Lee Jones together - added the minimal Busybox configuration - added the post-build script - improved the flashing script to not hardcode the location of the output directory - add the small kernel patch - improve the readme.txt file - test on HW the resulting image, after using the internal toolchain.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>