mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 06:57:57 +00:00
4ed209326b
Siflower SF19A2890 is an SoC with: Dual-core MIPS InterAptiv at 800MHz DDR3 controller One Gigabit Ethernet MAC with RGMII and IPv4 HNAT engine Built-in 2x2 11N + 2x2 11AC WiFi radio USB 2.0 OTG I2C/SPI/GPIO and various other peripherals This PR adds support for SF19A2890 EVB with ethernet support. EVB spec: Memory: DDR3 128M Ethernet: RTL8367RB 5-port gigabit switch Flash: 16M NOR Others: MicroUSB OTG, LED x 1, Reset button x1 The built image can be flashed using u-boot recovery. This target is marked as source-only until support for a commercial router board comes. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
29 lines
772 B
Makefile
29 lines
772 B
Makefile
|
|
include $(TOPDIR)/rules.mk
|
|
include $(INCLUDE_DIR)/image.mk
|
|
|
|
KERNEL_LOADADDR := 0x80100000
|
|
|
|
define Device/Default
|
|
PROFILES := Default
|
|
BLOCKSIZE := 64k
|
|
FILESYSTEMS := squashfs
|
|
DEVICE_DTS_DIR := ../dts
|
|
KERNEL := kernel-bin | append-dtb | lzma | uImage lzma
|
|
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | uImage lzma
|
|
IMAGES := sysupgrade.bin
|
|
IMAGE/sysupgrade.bin = append-kernel | pad-to $$$$(BLOCKSIZE) | \
|
|
append-rootfs | pad-rootfs | append-metadata
|
|
endef
|
|
|
|
define Device/siflower_sf19a2890-evb
|
|
DEVICE_VENDOR := Siflower
|
|
DEVICE_MODEL := SF19A2890 EVB
|
|
BOARD_NAME := siflower,sf19a2890-evb
|
|
DEVICE_DTS := sf19a2890_evb
|
|
DEVICE_PACKAGES := kmod-switch-rtl8367b swconfig
|
|
endef
|
|
TARGET_DEVICES += siflower_sf19a2890-evb
|
|
|
|
$(eval $(call BuildImage))
|