Skip to contentSkip to conversation

Please pull u-boot-sunxi master

U-Boot New Hans de Goede 2 participants 4 messages Nov 22, 2015

lore
Share & tools
lore
#0 lore raw

Hi Tom,

The main feature of this pull-req is support for the H3 SoC, technically the patches for this were posted just outside the merge window. But they have been available off-list for a while longer and they do not make any changes to existing code-paths, so they do not carry much risk for regressions.

Given the popularity of H3 boards I believe that it is important to get basic support in place now. Esp. to keep the contributions from various people working on H3 support flowing. I'm very happy to see that various people are contributing to this and I do not want to discourage them by taking for-ever to merge this :)

Hence I'm "sneaking" in the H3 support in this pull-req.

Besides the H3 support there are 2 patches to enable DFU support and the addition of a new board.

The following changes since commit 1d149eddcc0661b683002f76a8240491eba00dbb:

dm: Add timeline and guide for porting serial drivers (2015-11-20 13:59:54 -0500)

are available in the git repository at:

http://git.denx.de/u-boot-sunxi.git master

for you to fetch changes up to aa56cb374de8ae83f3280fdd6c280724228b86d7:

sunxi: Add support for the Lamobo R1 board (2015-11-22 11:43:58 +0100)

----------------------------------------------------------------
Hans de Goede (2):
sunxi: Add H3 dts[i] files
sunxi: Add support for Orangepi Plus and Orangepi PC boards

Jelle de Jong (1):
sunxi: Add support for the Lamobo R1 board

Jens Kuske (2):
sunxi: Add basic H3 support
sunxi: Add H3 DRAM initialization support

Siarhei Siamashka (3):
sunxi: Enable DFU for RAM
sunxi: musb: Implement dfu_usb_get_reset()
sunxi: clock: Set AHB1 clock frequency to 200MHz on Allwinner H3

  arch/arm/cpu/armv7/sunxi/Makefile               |   1 +
  arch/arm/cpu/armv7/sunxi/board.c                |   4 +
  arch/arm/cpu/armv7/sunxi/clock_sun6i.c          |   6 +-
  arch/arm/cpu/armv7/sunxi/cpu_info.c             |   2 +
  arch/arm/cpu/armv7/sunxi/dram_sun8i_h3.c        | 469 +++++++++++++++++++
  arch/arm/dts/Makefile                           |   4 +
  arch/arm/dts/sun7i-a20-lamobo-r1.dts            | 297 ++++++++++++
  arch/arm/dts/sun8i-h3-orangepi-pc.dts           | 106 +++++
  arch/arm/dts/sun8i-h3-orangepi-plus.dts         | 121 +++++
  arch/arm/dts/sun8i-h3.dtsi                      | 595 ++++++++++++++++++++++++
  arch/arm/include/asm/arch-sunxi/clock_sun6i.h   |  10 +-
  arch/arm/include/asm/arch-sunxi/dram.h          |   2 +
  arch/arm/include/asm/arch-sunxi/dram_sun8i_h3.h | 185 ++++++++
  arch/arm/include/asm/arch-sunxi/gpio.h          |   1 +
  board/sunxi/Kconfig                             |   8 +-
  board/sunxi/MAINTAINERS                         |   7 +
  configs/Lamobo_R1_defconfig                     |  16 +
  configs/orangepi_pc_defconfig                   |  15 +
  configs/orangepi_plus_defconfig                 |  15 +
  drivers/power/Kconfig                           |   5 +-
  drivers/usb/musb-new/sunxi.c                    |  12 +
  include/configs/sun8i.h                         |   2 +
  include/configs/sunxi-common.h                  |  30 +-
  23 files changed, 1902 insertions(+), 11 deletions(-)

create mode 100644 arch/arm/cpu/armv7/sunxi/dram_sun8i_h3.c create mode 100644 arch/arm/dts/sun7i-a20-lamobo-r1.dts create mode 100644 arch/arm/dts/sun8i-h3-orangepi-pc.dts create mode 100644 arch/arm/dts/sun8i-h3-orangepi-plus.dts create mode 100644 arch/arm/dts/sun8i-h3.dtsi
create mode 100644 arch/arm/include/asm/arch-sunxi/dram_sun8i_h3.h create mode 100644 configs/Lamobo_R1_defconfig
create mode 100644 configs/orangepi_pc_defconfig
create mode 100644 configs/orangepi_plus_defconfig

Regards,

Hans

#1 lore raw

PATCH 1/1 sunxi: Update new defconfigs

After introduction of CONFIG_SYS_NS16550 these defconfig files were added and need to be updated.

---
 configs/Lamobo_R1_defconfig     |    1 +
 configs/orangepi_pc_defconfig   |    1 +
 configs/orangepi_plus_defconfig |    1 +
 3 files changed, 3 insertions(+)
configs/Lamobo_R1_defconfig +1 -0
index d460c32..0da8f10 100644
@@ -12,5 +12,6 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI,SATAPWR=SUN
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_CMD_GPIO=y
+CONFIG_SYS_NS16550=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_USB_EHCI_HCD=y
configs/orangepi_pc_defconfig +1 -0
index 2418dee..4c79783 100644
@@ -13,3 +13,4 @@ CONFIG_SPL=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_CMD_GPIO=y
+CONFIG_SYS_NS16550=y
configs/orangepi_plus_defconfig +1 -0
index 5c1da79..88794be 100644
@@ -13,3 +13,4 @@ CONFIG_SPL=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_CMD_GPIO=y
+CONFIG_SYS_NS16550=y
Signature · 1 line
1.7.9.5
#3 lore raw
In reply to Hans de Goede
Quoted 24 lines · Hans de Goede

Hi Tom,

The main feature of this pull-req is support for the H3 SoC, technically the patches for this were posted just outside the merge window. But they have been available off-list for a while longer and they do not make any changes to existing code-paths, so they do not carry much risk for regressions.

Given the popularity of H3 boards I believe that it is important to get basic support in place now. Esp. to keep the contributions from various people working on H3 support flowing. I'm very happy to see that various people are contributing to this and I do not want to discourage them by taking for-ever to merge this :)

Hence I'm "sneaking" in the H3 support in this pull-req.

Besides the H3 support there are 2 patches to enable DFU support and the addition of a new board.

The following changes since commit 1d149eddcc0661b683002f76a8240491eba00dbb:

dm: Add timeline and guide for porting serial drivers (2015-11-20 13:59:54 -0500)

Quoted 8 lines

are available in the git repository at:

http://git.denx.de/u-boot-sunxi.git master

for you to fetch changes up to aa56cb374de8ae83f3280fdd6c280724228b86d7:

sunxi: Add support for the Lamobo R1 board (2015-11-22 11:43:58 +0100)

Applied to u-boot/master, thanks!

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/20151122/a41328cb/attachment.sig>
#2 lore raw

PATCH 1/1 sunxi: Update new defconfigs

In reply to Tom Rini
Quoted 4 lines · Tom Rini

After introduction of CONFIG_SYS_NS16550 these defconfig files were added and need to be updated.

Applied to u-boot/master, thanks!

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/20151122/de19ffb9/attachment.sig>