From 68b5d34f69421264de6e5d77760fcc2bfe9ee687 Mon Sep 17 00:00:00 2001 From: Mantas Pucka Date: Mon, 8 May 2017 13:28:38 +0300 Subject: ar71xx: add support for 8devices Rambutan development board Rambutan is a Wifi module based on QCA9550/9557 http://www.8devices.com/products/rambutan This commit adds basic support for Rambutan development kit Specification: - 720/600/200 MHz (CPU/DDR/AHB) - 128 MB of DDR2 RAM - 128 MB of NAND Flash - 1x 100Mbps Ethernet - 1x 1000Mbps Ethernet (PHY on dev-kit) - 1x Wifi radio 2x2 MIMO, dualband 2.4 and 5 GHz - 2x U.FL connectors on module, chip antennas on dev-kit - 1x miniPCIe slot - 1x USB2.0 host socket + 1x USB2.0 pins on 2.54mm header Flash instructions: Stock firmware is OpenWrt, so use: sysupgrade -n /tmp/lede-ar71xx-nand-rambutan-squashfs-sysupgrade.tar or upgarde from GUI (don't save config) Use factory image to flash from U-Boot: tftpboot 80060000 lede-ar71xx-nand-rambutan-squashfs-factory.ubi nand erase.part ubi nand write 80060000 ubi ${filesize} Signed-off-by: Mantas Pucka [split support in uboot-envtools package into a separate commit, fixed alphabetical order in lib/preinit/05_set_iface_mac_ar71xx] Signed-off-by: Piotr Dymacz --- target/linux/ar71xx/image/nand.mk | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'target/linux/ar71xx/image') diff --git a/target/linux/ar71xx/image/nand.mk b/target/linux/ar71xx/image/nand.mk index 15e0809120..dfe78c2168 100644 --- a/target/linux/ar71xx/image/nand.mk +++ b/target/linux/ar71xx/image/nand.mk @@ -52,6 +52,20 @@ define Build/MerakiNAND-old @mv $@.new $@ endef +define Device/rambutan + DEVICE_TITLE := 8devices Rambutan + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 + BOARDNAME = RAMBUTAN + BLOCKSIZE = 128KiB + MTDPARTS = ar934x-nfc:3M(u-boot)ro,2M(u-boot-env),1M(art),122M(ubi) + PAGESIZE := 2048 + KERNEL_IN_UBI := 1 + IMAGES := factory.ubi sysupgrade.tar + IMAGE/sysupgrade.tar := sysupgrade-tar + IMAGE/factory.ubi := append-ubi +endef +TARGET_DEVICES += rambutan + define Device/z1 DEVICE_TITLE := Meraki Z1 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-spi-gpio kmod-ath9k kmod-owl-loader -- cgit v1.2.3