sun5i: Add A13 Olimex SOM Wifi board support
Subsystems (2)
PATCH 1/1 sun5i: Add A13 Olimex SOM Wifi board support
Add support for Olimex A13-512-SOM board, and this particular design is like A13-SOM-WIFI can mount on-top of A13-SOM.
Boot Log:
--------
U-Boot SPL 2017.05-rc2-00063-g2c831b5-dirty (May 05 2017 - 16:55:59)
DRAM: 512 MiB
CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC1
U-Boot 2017.05-rc2-00063-g2c831b5-dirty (May 05 2017 - 16:55:59 +0530) Allwinner Technology
CPU: Allwinner A13 (SUN5I) Model: Olimex A13-Olinuxino SOM Wifi 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
--- arch/arm/dts/Makefile | 1 + arch/arm/dts/sun5i-a13-olinuxino-som-wifi.dts | 173 ++++++++++++++++++++++++++ board/sunxi/MAINTAINERS | 5 + configs/A13-OLinuXino-SOM-Wifi_defconfig | 18 +++ 4 files changed, 197 insertions(+) create mode 100644 arch/arm/dts/sun5i-a13-olinuxino-som-wifi.dts create mode 100644 configs/A13-OLinuXino-SOM-Wifi_defconfig
arch/arm/dts/Makefile +1 -0
@@ -226,6 +226,7 @@ dtb-$(CONFIG_MACH_SUN5I) += \ sun5i-a13-inet-98v-rev2.dtb \ sun5i-a13-olinuxino.dtb \ sun5i-a13-olinuxino-micro.dtb \ + sun5i-a13-olinuxino-som-wifi.dtb \ sun5i-a13-q8-tablet.dtb \ sun5i-a13-utoo-p66.dtb \ sun5i-gr8-chip-pro.dtb \
arch/arm/dts/sun5i-a13-olinuxino-som-wifi.dts new file +173 -0
173 lines not on this page · raw message
board/sunxi/MAINTAINERS +5 -0
@@ -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-Wifi_defconfig + A20-OLIMEX-SOM-EVB BOARD M: Marcus Cooper <[email protected]> S: Maintained
configs/A13-OLinuXino-SOM-Wifi_defconfig new file +18 -0
@@ -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-wifi" +# 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
1.9.1
PATCH 1/1 sun5i: Add A13 Olimex SOM Wifi board support
Hi Jagan,
Quoted 30 lines · Jagan Teki
Add support for Olimex A13-512-SOM board, and this particular design is like A13-SOM-WIFI can mount on-top of A13-SOM.
Boot Log:
--------
U-Boot SPL 2017.05-rc2-00063-g2c831b5-dirty (May 05 2017 - 16:55:59)
DRAM: 512 MiBCPU: 1008000000Hz, AXI/AHB/APB: 3/2/2Trying to boot from MMC1
U-Boot 2017.05-rc2-00063-g2c831b5-dirty (May 05 2017 - 16:55:59 +0530) Allwinner Technology
CPU: Allwinner A13 (SUN5I) Model: Olimex A13-Olinuxino SOM Wifi 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.0scanning 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
Quoted 5 lines
Cc Maxime Ripard <[email protected]>Signed-off-by Jagan Teki <[email protected]>--- arch/arm/dts/Makefile | 1 + arch/arm/dts/sun5i-a13-olinuxino-som-wifi.dts | 173 ++++++++++++++++++++++++++
We've had the policy so far to send the DT to upstream's kernel first.
Most notably, the biggest issue I have with this DT is its name, which is going to be an issue if we ever change it in Linux. The SOM WiFi module is using USB, therefore it doesn't have any difference compared to the SOM itself.
Why not just create a DT and defconfig for the SOM, wifi or not?
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/20170509/cb0f70dc/attachment.sig>