6476148034
This commit adds support for the OCEDO Raccoon SOC: Atheros AR9344 RAM: 128MB FLASH: 16MiB WLAN1: AR9344 2.4 GHz 802.11bgn 2x2 WLAN2: AR9382 5 GHz 802.11an 2x2 INPUT: RESET button LED: Power, LAN, WiFi 2.4, WiFi 5 Serial: Header Next to Black metal shield Pinout is 3.3V - GND - TX - RX (Arrow Pad is 3.3V) The Serial setting is 115200-8-N-1. NOTE: The U-Boot won't boot with the serial attached. Boot the device without serial attached and attach it after 3 seconds. Tested and working: - Ethernet - 2.4 GHz WiFi - 5 GHz WiFi - TFTP boot from ramdisk image - Installation via ramdisk image - OpenWRT sysupgrade - Buttons - LEDs Installation seems to be possible only through booting an OpenWRT ramdisk image. Hold down the reset button while powering on the device. It will load a ramdisk image named 'raccoon-uImage-initramfs-lzma.bin' from 192.168.100.8. Note: depending on the present software, the device might also try to pull a file called 'raccoon-uimage-factory'. Only the name differs, it is still used as a ramdisk image. Wait for the ramdisk image to boot. OpenWRT can be written to the flash via sysupgrade or mtd. Due to the flip-flop bootloader which we not (yet) support, you need to set the partition the bootloader is selecting. It is possible from the initramfs image with > fw_setenv bootcmd run bootcmd_1 Afterwards you can reboot the device. Signed-off-by: David Bauer <mail@david-bauer.net>
108 lines
3.6 KiB
Makefile
108 lines
3.6 KiB
Makefile
include ./common-netgear.mk
|
|
|
|
define Device/avm_fritz300e
|
|
ATH_SOC := ar7242
|
|
DEVICE_TITLE := AVM FRITZ!WLAN Repeater 300E
|
|
KERNEL := kernel-bin | append-dtb | lzma | eva-image
|
|
KERNEL_INITRAMFS := $$(KERNEL)
|
|
IMAGE_SIZE := 15232k
|
|
IMAGE/sysupgrade.bin := append-kernel | pad-to 64k | \
|
|
append-squashfs-fakeroot-be | pad-to 256 | \
|
|
append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
|
|
DEVICE_PACKAGES := fritz-tffs rssileds -swconfig
|
|
endef
|
|
TARGET_DEVICES += avm_fritz300e
|
|
|
|
define Device/embeddedwireless_dorin
|
|
ATH_SOC := ar9331
|
|
DEVICE_TITLE := Embedded Wireless Dorin
|
|
DEVICE_PACKAGES := kmod-usb-chipidea2
|
|
IMAGE_SIZE := 16000k
|
|
SUPPORTED_DEVICES += ew-dorin
|
|
endef
|
|
TARGET_DEVICES += embeddedwireless_dorin
|
|
|
|
define Device/etactica-eg200
|
|
ATH_SOC := ar9331
|
|
DEVICE_TITLE := eTactica EG200
|
|
DEVICE_PACKAGES := kmod-usb-chipidea2 kmod-ledtrig-oneshot \
|
|
kmod-usb-serial kmod-usb-serial-ftdi kmod-usb-storage kmod-fs-ext4
|
|
SUPPORTED_DEVICES += etactica,eg200 rme-eg200
|
|
endef
|
|
TARGET_DEVICES += etactica-eg200
|
|
|
|
define Device/glinet_ar150
|
|
ATH_SOC := ar9330
|
|
DEVICE_TITLE := GL.iNet GL-AR150
|
|
DEVICE_PACKAGES := kmod-usb-chipidea2
|
|
IMAGE_SIZE := 16000k
|
|
SUPPORTED_DEVICES += gl-ar150
|
|
endef
|
|
TARGET_DEVICES += glinet_ar150
|
|
|
|
define Device/glinet_ar300m_nor
|
|
ATH_SOC := qca9533
|
|
DEVICE_TITLE := GL.iNet GL-AR300M
|
|
DEVICE_PACKAGES := kmod-usb-core kmod-usb2
|
|
IMAGE_SIZE := 16000k
|
|
SUPPORTED_DEVICES += gl-ar300m
|
|
endef
|
|
TARGET_DEVICES += glinet_ar300m_nor
|
|
|
|
define Device/ocedo_raccoon
|
|
ATH_SOC := ar9344
|
|
DEVICE_TITLE := OCEDO Raccoon
|
|
IMAGE_SIZE := 7424k
|
|
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
|
|
endef
|
|
TARGET_DEVICES += ocedo_raccoon
|
|
|
|
define Device/openmesh_om5p-ac-v2
|
|
ATH_SOC := qca9558
|
|
DEVICE_TITLE := OpenMesh OM5P-AC v2
|
|
DEVICE_PACKAGES := kmod-ath10k ath10k-firmware-qca988x om-watchdog
|
|
IMAGE_SIZE := 7808k
|
|
SUPPORTED_DEVICES += om5p-acv2
|
|
endef
|
|
TARGET_DEVICES += openmesh_om5p-ac-v2
|
|
|
|
define Device/netgear_wndr3800
|
|
ATH_SOC := ar7161
|
|
DEVICE_TITLE := NETGEAR WNDR3800
|
|
NETGEAR_KERNEL_MAGIC := 0x33373031
|
|
KERNEL := kernel-bin | append-dtb | lzma -d20 | netgear-uImage lzma
|
|
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma -d20 | netgear-uImage lzma
|
|
NETGEAR_BOARD_ID := WNDR3800
|
|
NETGEAR_HW_ID := 29763654+16+128
|
|
IMAGE_SIZE := 15872k
|
|
IMAGES := sysupgrade.bin factory.img
|
|
IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | netgear-squashfs | append-rootfs | pad-rootfs
|
|
IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | check-size $$$$(IMAGE_SIZE)
|
|
IMAGE/factory.img := $$(IMAGE/default) | netgear-dni | check-size $$$$(IMAGE_SIZE)
|
|
DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset
|
|
SUPPORTED_DEVICES += wndr3800
|
|
endef
|
|
TARGET_DEVICES += netgear_wndr3800
|
|
|
|
define Device/buffalo_wzr-hp-g450h
|
|
ATH_SOC := ar7242
|
|
DEVICE_TITLE := Buffalo WZR-HP-G450H
|
|
DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
|
|
IMAGE_SIZE := 32256k
|
|
SUPPORTED_DEVICES += wzr-hp-g450h
|
|
endef
|
|
TARGET_DEVICES += buffalo_wzr-hp-g450h
|
|
|
|
define Device/phicomm-k2t
|
|
ATH_SOC := qca9563
|
|
DEVICE_TITLE := Phicomm K2T
|
|
KERNEL := kernel-bin | append-dtb | lzma | uImage lzma
|
|
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | uImage lzma
|
|
IMAGE_SIZE := 15744k
|
|
IMAGES := sysupgrade.bin
|
|
IMAGE/default := append-kernel | append-rootfs | pad-rootfs
|
|
IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | check-size $$$$(IMAGE_SIZE)
|
|
DEVICE_PACKAGES := kmod-leds-reset kmod-ath10k ath10k-firmware-qca9888
|
|
SUPPORTED_DEVICES += phicomm,k2t
|
|
endef
|
|
TARGET_DEVICES += phicomm-k2t
|