Skip to content

Add support for stm32f429-discovery board

Tom Rini u-boot 1 version New

Get series with b4
b4 am 20150325165830.GU32541@bill-the-cat

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ARM: Add ARMv7-M support+0 -02 replies
2/4ARMv7M: Add STM32F4 support+0 -00 replies
3/4stm32f4: Add serial driver+0 -00 replies
4/4stm32f4: Add support for stm32f429-discovery board+0 -00 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchTom Rini
1/4
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/4] Add support for stm32f429-discovery board
Quoted 7 lines · Chanwoo Choi

Hi Kamil,

I tested this patch-set in STM32 Discovery board. After applied this patch-set on latest u-boot, I could not see the normal u-boot log. I saw broken console log. I used the USART1 port (pa9, pa10 gpio pin).

Could you give me a tip to resolve this issue?

I bet this needs changes similar to b81bdf6 as that was a similar problem I believe. In short, DM needs to be enabled now.

Quoted 90 lines

Best Regards,
Chanwoo Choi

2015? 3? 1? ???, Kamil Lulko<[email protected]>?? ??? ???:

Quoted 72 lines

The following patches implement basic support for the ARMv7-M microcontroller
architecture.
Additionally, stm32f429-discovery board support is added with tested ability
to boot uClinux from the embedded Flash memory.

Kamil Lulko (4):
ARM: Add ARMv7-M support
ARMv7M: Add STM32F4 support
stm32f4: Add serial driver
stm32f4: Add support for stm32f429-discovery board

 arch/arm/Kconfig                                   |   9 +
 arch/arm/cpu/armv7m/Makefile                       |  11 +
 arch/arm/cpu/armv7m/config.mk                      |   8 +
 arch/arm/cpu/armv7m/cpu.c                          |  35 +++
 arch/arm/cpu/armv7m/start.S                        |  15 ++
 arch/arm/cpu/armv7m/stm32f4/Makefile               |  11 +
 arch/arm/cpu/armv7m/stm32f4/clock.c                | 209 +++++++++++++++
 arch/arm/cpu/armv7m/stm32f4/flash.c                | 143 ++++++++++
 arch/arm/cpu/armv7m/stm32f4/soc.c                  |  37 +++
 arch/arm/cpu/armv7m/stm32f4/timer.c                | 118 +++++++++
 arch/arm/include/asm/arch-stm32f4/fmc.h            |  75 ++++++
 arch/arm/include/asm/arch-stm32f4/gpio.h           | 116 +++++++++
 arch/arm/include/asm/arch-stm32f4/stm32.h          | 108 ++++++++
 arch/arm/include/asm/armv7m.h                      |  60 +++++
 arch/arm/lib/Makefile                              |   8 +-
 arch/arm/lib/crt0.S                                |  30 +++
 arch/arm/lib/interrupts_m.c                        |  95 +++++++
 arch/arm/lib/relocate.S                            |  13 +
 arch/arm/lib/vectors_m.S                           |  57 ++++
 board/st/stm32f429-discovery/Kconfig               |  19 ++
 board/st/stm32f429-discovery/MAINTAINERS           |   6 +
 board/st/stm32f429-discovery/Makefile              |  12 +
 board/st/stm32f429-discovery/led.c                 |  35 +++
 board/st/stm32f429-discovery/stm32f429-discovery.c | 288
+++++++++++++++++++++
 configs/stm32f429-discovery_defconfig              |   2 +
 drivers/gpio/Makefile                              |   1 +
 drivers/gpio/stm32_gpio.c                          | 199 ++++++++++++++
 drivers/serial/Makefile                            |   1 +
 drivers/serial/serial.c                            |   2 +
 drivers/serial/serial_stm32.c                      | 117 +++++++++
 include/configs/stm32f429-discovery.h              | 106 ++++++++
 include/flash.h                                    |   2 +
 32 files changed, 1946 insertions(+), 2 deletions(-)
 create mode 100644 arch/arm/cpu/armv7m/Makefile
 create mode 100644 arch/arm/cpu/armv7m/config.mk
 create mode 100644 arch/arm/cpu/armv7m/cpu.c
 create mode 100644 arch/arm/cpu/armv7m/start.S
 create mode 100644 arch/arm/cpu/armv7m/stm32f4/Makefile
 create mode 100644 arch/arm/cpu/armv7m/stm32f4/clock.c
 create mode 100644 arch/arm/cpu/armv7m/stm32f4/flash.c
 create mode 100644 arch/arm/cpu/armv7m/stm32f4/soc.c
 create mode 100644 arch/arm/cpu/armv7m/stm32f4/timer.c
 create mode 100644 arch/arm/include/asm/arch-stm32f4/fmc.h
 create mode 100644 arch/arm/include/asm/arch-stm32f4/gpio.h
 create mode 100644 arch/arm/include/asm/arch-stm32f4/stm32.h
 create mode 100644 arch/arm/include/asm/armv7m.h
 create mode 100644 arch/arm/lib/interrupts_m.c
 create mode 100644 arch/arm/lib/vectors_m.S
 create mode 100644 board/st/stm32f429-discovery/Kconfig
 create mode 100644 board/st/stm32f429-discovery/MAINTAINERS
 create mode 100644 board/st/stm32f429-discovery/Makefile
 create mode 100644 board/st/stm32f429-discovery/led.c
 create mode 100644 board/st/stm32f429-discovery/stm32f429-discovery.c
 create mode 100644 configs/stm32f429-discovery_defconfig
 create mode 100644 drivers/gpio/stm32_gpio.c
 create mode 100644 drivers/serial/serial_stm32.c
 create mode 100644 include/configs/stm32f429-discovery.h
Quoted 8 lines

--
1.9.1

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de <javascript:;>
http://lists.denx.de/mailman/listinfo/u-boot

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150325/4ad0d26c/attachment.sig>