Skip to contentSkip to conversation

board: sun50i: Add Amarula A64 Relic initial support

PATCH Superseded Jagan Teki 3 participants 3 messages May 11, 2018 – May 14, 2018

Subsystems (2)

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Jagan Teki

author
#0 lore raw

PATCH v2 1/1 board: sun50i: Add Amarula A64 Relic initial support

Amarula A64 Relic is A64 based IoT device, which support
- Allwinner A64 Cortex-A53
- Mali-400MP2 GPU
- AXP803 PMIC
- 1GB DDR3 RAM
- 8GB eMMC
- AP6330 Wifi/BLE
- MIPI-DSI
- CSI: OV5640 sensor
- USB OTG
- 12V DC power supply

---
Changes for v2:
- Rename dts name to sun50i-a64-relic.dts which is simple to use
- Rename defconfig to a64_relic_defconfig
- Use licence year as 2018

Note:
Maxime, I saw your previous comments about CONFIG_CMD_USB_MASS_STORAGE defining in defconfig, may I know why we can't enable it in defconfig file?

 arch/arm/dts/Makefile             |  3 +-
 arch/arm/dts/sun50i-a64-relic.dts | 65 +++++++++++++++++++++++++++++++++++++++
 board/sunxi/MAINTAINERS           |  6 ++++
 configs/a64_relic_defconfig       | 18 +++++++++++
 4 files changed, 91 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/sun50i-a64-relic.dts
 create mode 100644 configs/a64_relic_defconfig
arch/arm/dts/Makefile +2 -1
index 289e11551a..676d7944c0 100644
@@ -381,7 +381,8 @@ dtb-$(CONFIG_MACH_SUN50I) += \
 	sun50i-a64-olinuxino.dtb \
 	sun50i-a64-orangepi-win.dtb \
 	sun50i-a64-pine64-plus.dtb \
-	sun50i-a64-pine64.dtb
+	sun50i-a64-pine64.dtb \
+	sun50i-a64-relic.dtb
 dtb-$(CONFIG_MACH_SUN9I) += \
 	sun9i-a80-optimus.dtb \
 	sun9i-a80-cubieboard4.dtb \
arch/arm/dts/sun50i-a64-relic.dts new file +65 -0

65 lines not on this page · raw message

board/sunxi/MAINTAINERS +6 -0
index 6dd48c0265..603dc1287e 100644
@@ -116,6 +116,12 @@ M:	Paul Kocialkowski <[email protected]>
 S:	Maintained
 F:	configs/Ainol_AW1_defconfig
 
+AMARULA A64 RELIC
+M:	Jagan Teki <[email protected]>
+S:	Maintained
+F:	configs/a64_relic_defconfig
+F:	arch/arm/dts/sun50i-a64-relic.dts
+
 AMPE A76 BOARD
 M:	Paul Kocialkowski <[email protected]>
 S:	Maintained
configs/a64_relic_defconfig new file +18 -0
new file mode 100644
index 0000000000..385a11a437
@@ -0,0 +1,18 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_SPL=y
+CONFIG_MACH_SUN50I=y
+CONFIG_DRAM_ODT_EN=y
+CONFIG_RESERVE_ALLWINNER_BOOT0_HEADER=y
+CONFIG_MMC_SUNXI_SLOT_EXTRA=2
+CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-relic"
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+# CONFIG_VIDEO_DE2 is not set
+# CONFIG_CMD_FLASH is not set
+# CONFIG_CMD_FPGA is not set
+# CONFIG_SPL_DOS_PARTITION is not set
+CONFIG_CMD_USB_MASS_STORAGE=y
+# CONFIG_SPL_ISO_PARTITION is not set
+# CONFIG_SPL_EFI_PARTITION is not set
+CONFIG_USB_MUSB_GADGET=y
+CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
Signature · 1 line
2.14.3
#1 lore raw

PATCH v2 1/1 board: sun50i: Add Amarula A64 Relic initial support

Quoted 19 lines · Jagan Teki

Amarula A64 Relic is A64 based IoT device, which support
- Allwinner A64 Cortex-A53
- Mali-400MP2 GPU
- AXP803 PMIC
- 1GB DDR3 RAM
- 8GB eMMC
- AP6330 Wifi/BLE
- MIPI-DSI
- CSI: OV5640 sensor
- USB OTG
- 12V DC power supply

---
Changes for v2:
- Rename dts name to sun50i-a64-relic.dts which is simple to use
- Rename defconfig to a64_relic_defconfig
- Use licence year as 2018

Quoted 3 lines

Note:
Maxime, I saw your previous comments about CONFIG_CMD_USB_MASS_STORAGE defining in defconfig, may I know why we can't enable it in defconfig file?

We can IMO

Signature · 2 lines
Best regards,
Marek Vasut
#2 lore raw

PATCH v2 1/1 board: sun50i: Add Amarula A64 Relic initial support

In reply to Jagan Teki
Quoted 19 lines · Jagan Teki

Amarula A64 Relic is A64 based IoT device, which support
- Allwinner A64 Cortex-A53
- Mali-400MP2 GPU
- AXP803 PMIC
- 1GB DDR3 RAM
- 8GB eMMC
- AP6330 Wifi/BLE
- MIPI-DSI
- CSI: OV5640 sensor
- USB OTG
- 12V DC power supply

---
Changes for v2:
- Rename dts name to sun50i-a64-relic.dts which is simple to use
- Rename defconfig to a64_relic_defconfig
- Use licence year as 2018

Quoted 3 lines

Note:
Maxime, I saw your previous comments about CONFIG_CMD_USB_MASS_STORAGE defining in defconfig, may I know why we can't enable it in defconfig file?

If you make a case about why that would be needed, then yes. But since we have so few boards defining it, and no one really asked for it either, I'm not sure this belongs in a *default* configuration. We can definitely make it easier to select in menuconfig if it's harder than it should be though.

Maxime

Signature · 10 lines
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180514/81d8679d/attachment.sig>