Skip to contentSkip to conversation

sun5i: a13: Add Olimex SOM board support

PATCH New Jagan Teki 2 participants 2 messages May 23, 2017 – May 29, 2017

Subsystems (2)
lore
Share & tools
lore

Jagan Teki

author
#0 lore raw

PATCH v2 1/1 sun5i: a13: Add Olimex SOM board support

From: Jagan Teki <[email protected]>

Add support for Olimex A13-512-SOM board, and this particular design is like A13-SOM-WIFI can mount on-top of A13-SOM.

https://www.olimex.com/Products/SOM/A13/A13-SOM-512/
https://www.olimex.com/Products/SOM/A13/A13-SOM-WIFI/open-source-hardware

Boot Log:
--------
U-Boot SPL 2017.05-00660-gabc3491 (May 23 2017 - 18:03:09)
DRAM: 512 MiB

CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2

Trying to boot from MMC1

U-Boot 2017.05-00660-gabc3491 (May 23 2017 - 18:03:09 +0530) Allwinner Technology

CPU:   Allwinner A13 (SUN5I)
Model: Olimex A13-Olinuxino SOM
I2C:   ready
DRAM:  512 MiB
MMC:   SUNXI SD/MMC: 0

*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0

scanning bus 0 for devices... 2 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0

Cc Maxime Ripard <[email protected]>

---
Changes for v2:
- Rebase on master
- Drop sufix 'wifi' on dts and defconfig files since SOM comes with wifi module by default.

 arch/arm/dts/Makefile                    |   1 +
 arch/arm/dts/sun5i-a13-olinuxino-som.dts | 174 +++++++++++++++++++++++++++++++
 board/sunxi/MAINTAINERS                  |   5 +
 configs/A13-OLinuXino-SOM_defconfig      |  18 ++++
 4 files changed, 198 insertions(+)
 create mode 100644 arch/arm/dts/sun5i-a13-olinuxino-som.dts
 create mode 100644 configs/A13-OLinuXino-SOM_defconfig
arch/arm/dts/Makefile +1 -0
index e2c2584..31ada74 100644
@@ -231,6 +231,7 @@ dtb-$(CONFIG_MACH_SUN5I) += \
 	sun5i-a13-inet-98v-rev2.dtb \
 	sun5i-a13-olinuxino.dtb \
 	sun5i-a13-olinuxino-micro.dtb \
+	sun5i-a13-olinuxino-som.dtb \
 	sun5i-a13-q8-tablet.dtb \
 	sun5i-a13-utoo-p66.dtb \
 	sun5i-gr8-chip-pro.dtb \
arch/arm/dts/sun5i-a13-olinuxino-som.dts new file +174 -0

174 lines not on this page · raw message

board/sunxi/MAINTAINERS +5 -0
index a512a20..55d7590 100644
@@ -73,6 +73,11 @@ F:	include/configs/sun9i.h
 F:	configs/Merrii_A80_Optimus_defconfig
 F:	include/configs/sun50i.h
 
+A13-OLIMEX-SOM-WIFI BOARD
+M:	Jagan Teki <[email protected]>
+S:	Maintained
+F:	configs/A13-OLinuXino-SOM_defconfig
+
 A20-OLIMEX-SOM-EVB BOARD
 M:	Marcus Cooper <[email protected]>
 S:	Maintained
configs/A13-OLinuXino-SOM_defconfig new file +18 -0
new file mode 100644
index 0000000..da43157
@@ -0,0 +1,18 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_MACH_SUN5I=y
+CONFIG_DRAM_CLK=408
+CONFIG_DRAM_EMR1=0
+CONFIG_MMC0_CD_PIN="PG0"
+CONFIG_USB1_VBUS_PIN="PG11"
+CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-olinuxino-som"
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+CONFIG_SPL=y
+# CONFIG_CMD_IMLS is not set
+# CONFIG_CMD_FLASH is not set
+# CONFIG_CMD_FPGA is not set
+# CONFIG_SPL_DOS_PARTITION is not set
+# CONFIG_SPL_ISO_PARTITION is not set
+# CONFIG_SPL_EFI_PARTITION is not set
+CONFIG_SUNXI_NO_PMIC=y
+CONFIG_USB_EHCI_HCD=y
Signature · 1 line
2.7.4
#1 lore raw

PATCH v2 1/1 sun5i: a13: Add Olimex SOM board support

Quoted 31 lines · Jagan Teki

From: Jagan Teki <[email protected]>

Add support for Olimex A13-512-SOM board, and this particular design is like A13-SOM-WIFI can mount on-top of A13-SOM.

https://www.olimex.com/Products/SOM/A13/A13-SOM-512/
https://www.olimex.com/Products/SOM/A13/A13-SOM-WIFI/open-source-hardware

Boot Log:
--------
U-Boot SPL 2017.05-00660-gabc3491 (May 23 2017 - 18:03:09)
DRAM: 512 MiB

CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2

Trying to boot from MMC1

U-Boot 2017.05-00660-gabc3491 (May 23 2017 - 18:03:09 +0530) Allwinner Technology

CPU:   Allwinner A13 (SUN5I)
Model: Olimex A13-Olinuxino SOM
I2C:   ready
DRAM:  512 MiB
MMC:   SUNXI SD/MMC: 0

*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
Quoted 6 lines

scanning bus 0 for devices... 2 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0

Cc Maxime Ripard <[email protected]>

Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170529/7fc61ab3/attachment.sig>