All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee.jones@linaro.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 16/17] configs/stm32f429_disco: new configuration for STM32F429 Discovery board
Date: Mon, 21 Mar 2016 09:48:01 +0000	[thread overview]
Message-ID: <20160321094801.GB3529@x1> (raw)
In-Reply-To: <1458335299-27409-17-git-send-email-thomas.petazzoni@free-electrons.com>

On Fri, 18 Mar 2016, Thomas Petazzoni wrote:

> From: Lee Jones <lee.jones@linaro.org>
> 
> 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>
> ---
>  board/stmicroelectronics/busybox-minimal.config    | 1057 ++++++++++++++++++++
>  board/stmicroelectronics/stm32-post-build.sh       |    8 +
>  board/stmicroelectronics/stm32f429-disco/flash.sh  |   20 +
>  ...49-disco-don-t-force-init-in-chosen-boota.patch |   32 +
>  .../stmicroelectronics/stm32f429-disco/readme.txt  |   30 +
>  configs/stm32f429_disco_defconfig                  |   18 +
>  6 files changed, 1165 insertions(+)
>  create mode 100644 board/stmicroelectronics/busybox-minimal.config
>  create mode 100755 board/stmicroelectronics/stm32-post-build.sh
>  create mode 100755 board/stmicroelectronics/stm32f429-disco/flash.sh
>  create mode 100644 board/stmicroelectronics/stm32f429-disco/patches/linux/0001-ARM-stm32f249-disco-don-t-force-init-in-chosen-boota.patch
>  create mode 100644 board/stmicroelectronics/stm32f429-disco/readme.txt
>  create mode 100644 configs/stm32f429_disco_defconfig

[...]

> diff --git a/board/stmicroelectronics/stm32f429-disco/readme.txt b/board/stmicroelectronics/stm32f429-disco/readme.txt
> new file mode 100644
> index 0000000..afe0f11
> --- /dev/null
> +++ b/board/stmicroelectronics/stm32f429-disco/readme.txt
> @@ -0,0 +1,30 @@
> +STM32F429 Discovery
> +===================
> +
> +This tutorial describes how to use the predefined Buildroot
> +configuration for the STM32F429 Discovery evaluation platform.
> +
> +Building
> +--------
> +
> +  make stm32f429_disco_defconfig
> +  make
> +
> +Wire the UART
> +-------------
> +
> +Use a USB to TTL adapter, and connect:
> +
> + - RX to PA9
> + - TX to PA10
> + - GND to one of the GND available on the board
> +
> +The UART is configured at 115200.
> +
> +Flashing
> +--------
> +
> +  ./board/stmicroelectronics/stm32/stm32f429-disco/flash.sh output/

Looks like you've removed the stm32 directory, but still reference it
from readme.txt

[...]

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

  reply	other threads:[~2016-03-21  9:48 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-18 21:08 [Buildroot] [PATCH v2 00/17] ARM Cortex-M support and STM32 defconfigs Thomas Petazzoni
2016-03-18 21:08 ` [Buildroot] [PATCH v2 01/17] arch/arm: introduce and use BR2_ARM_CPU_ARMV7M Thomas Petazzoni
2016-03-18 22:30   ` Yann E. MORIN
2016-03-19 13:33     ` Thomas Petazzoni
2016-03-19 13:59       ` Yann E. MORIN
2016-03-19 14:08         ` Thomas Petazzoni
2016-03-18 21:08 ` [Buildroot] [PATCH v2 02/17] arch/arm: Cortex-M3 provides only Thumb-2 Thomas Petazzoni
2016-03-18 22:34   ` Yann E. MORIN
2016-03-19 15:33     ` Arnout Vandecappelle
2016-03-18 21:08 ` [Buildroot] [PATCH v2 03/17] arch/arm: add Cortex-M4 entry Thomas Petazzoni
2016-03-18 22:41   ` Yann E. MORIN
2016-03-18 21:08 ` [Buildroot] [PATCH v2 04/17] uclibc: add patches to simplify Thumb handling Thomas Petazzoni
2016-03-19 15:46   ` Arnout Vandecappelle
2016-03-29 22:14     ` Thomas Petazzoni
2016-03-18 21:08 ` [Buildroot] [PATCH v2 05/17] uclibc: remove USE_BX handling Thomas Petazzoni
2016-03-19 15:47   ` Arnout Vandecappelle
2016-03-18 21:08 ` [Buildroot] [PATCH v2 06/17] uclibc: gcc >= 4.9 can build a thumb/thread uclibc Thomas Petazzoni
2016-03-19 15:53   ` Arnout Vandecappelle
2016-03-29 22:18     ` Thomas Petazzoni
2016-03-29 22:49       ` Arnout Vandecappelle
2016-03-18 21:08 ` [Buildroot] [PATCH v2 07/17] uclibc: disable DOPIC on ARM FLAT Thomas Petazzoni
2016-03-19 16:11   ` Arnout Vandecappelle
2016-03-29 22:20     ` Thomas Petazzoni
2016-03-19 19:27   ` Ezequiel Garcia
2016-03-19 20:50     ` Thomas Petazzoni
2016-03-20  1:59       ` Ezequiel Garcia
2016-03-18 21:08 ` [Buildroot] [PATCH v2 08/17] uclibc: context functions are not Thumb-compatible Thomas Petazzoni
2016-03-19 16:20   ` Arnout Vandecappelle
2016-03-19 18:07     ` Thomas Petazzoni
2016-03-20 19:39       ` Arnout Vandecappelle
2016-03-18 21:08 ` [Buildroot] [PATCH v2 09/17] uclibc: NPTL thread implementation only available on MMU platforms Thomas Petazzoni
2016-03-18 21:08 ` [Buildroot] [PATCH v2 10/17] musl: build broken on Thumb, use ARM mode Thomas Petazzoni
2016-03-18 21:08 ` [Buildroot] [PATCH v2 11/17] toolchain-buildroot: update glibc comment for noMMU Thomas Petazzoni
2016-03-18 21:08 ` [Buildroot] [PATCH v2 12/17] toolchain-buildroot: don't show musl on noMMU platforms Thomas Petazzoni
2016-03-18 21:08 ` [Buildroot] [PATCH v2 13/17] package/Makefile.in: adjust LDFLAGS for elf2flt Thomas Petazzoni
2016-03-18 21:08 ` [Buildroot] [PATCH v2 14/17] elf2flt: use new upstream site and add ARM patch Thomas Petazzoni
2016-03-18 21:34   ` Ezequiel Garcia
2016-03-19 13:32     ` Thomas Petazzoni
2016-03-18 21:08 ` [Buildroot] [PATCH v2 15/17] afboot-stm32: use the Buildroot toolchain Thomas Petazzoni
2016-03-18 21:08 ` [Buildroot] [PATCH v2 16/17] configs/stm32f429_disco: new configuration for STM32F429 Discovery board Thomas Petazzoni
2016-03-21  9:48   ` Lee Jones [this message]
2016-03-21 10:39     ` Thomas Petazzoni
2016-03-18 21:08 ` [Buildroot] [PATCH v2 17/17] configs/stm32f469_disco: new configuration for STM32F469 " Thomas Petazzoni
2016-03-21  9:46   ` Lee Jones
2016-03-18 21:17 ` [Buildroot] [PATCH v2 00/17] ARM Cortex-M support and STM32 defconfigs Thomas Petazzoni
2016-03-18 22:49   ` Ezequiel Garcia
2016-03-19 13:32     ` Thomas Petazzoni
2016-03-19 16:12 ` Arnout Vandecappelle
2016-03-20 14:39 ` Thomas Petazzoni
2016-03-21  9:49 ` Lee Jones
2016-03-29 22:28 ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160321094801.GB3529@x1 \
    --to=lee.jones@linaro.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.