From 69fff339e965d508b4fc12ffdc2a170efe9c98b1 Mon Sep 17 00:00:00 2001 From: Roman Bazalevsky Date: Thu, 5 Dec 2019 17:21:28 +0300 Subject: sunxi: add support for FriendlyARM Nano PI NEO Air dev board Hardware: Allwinner H3 upto 1.2GHz 512MB DDR3 RAM 8GB on-board eMMC - mountable, can be used as boot with custom boot.scr microSD-card slot WiFi 802.11n (AP6212A) - working Bluetooth (AP6212A) - not working for now Micro-USB OTG + 2*USB headers UART 3.3V - working GPIO/I2C/SPI 2.54mm headers Standard sunxi SD-card installation procedure - copy image to SD card, insert in into slot and boot. First time you will need UART adapter to enable on-board wireless (or just build custom image with enabled WiFi). To boot from eMMC: - boot from SD - copy SD image to emmc (dd bs=... if=.... of=/dev/mmcblk2) - mount eMMC boot partition and replace boot script on it - unmount, reboot To use i2c, spi and more uarts - replace dtb on boot partition with fixed one (use dtc or fdt-tools). Signed-off-by: Roman Bazalevsky [rebase onto device name consolidation patches] Signed-off-by: Adrian Schmutzler --- target/linux/sunxi/image/cortex-a7.mk | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'target/linux/sunxi/image/cortex-a7.mk') diff --git a/target/linux/sunxi/image/cortex-a7.mk b/target/linux/sunxi/image/cortex-a7.mk index 90a355fd3a..83b313a378 100644 --- a/target/linux/sunxi/image/cortex-a7.mk +++ b/target/linux/sunxi/image/cortex-a7.mk @@ -160,6 +160,18 @@ endef TARGET_DEVICES += friendlyarm_nanopi-neo +define Device/friendlyarm_nanopi-neo-air + DEVICE_VENDOR := FriendlyARM + DEVICE_MODEL := NanoPi NEO Air + DEVICE_PACKAGES := kmod-rtc-sunxi \ + kmod-leds-gpio kmod-ledtrig-heartbeat \ + kmod-brcmfmac brcmfmac-firmware-43430-sdio wpad-basic + SUNXI_SOC := sun8i-h3 +endef + +TARGET_DEVICES += friendlyarm_nanopi-neo-air + + define Device/xunlong_orangepi-one DEVICE_VENDOR := Xunlong DEVICE_MODEL := Orange Pi One -- cgit v1.2.3