[Zrouter-src] ZRouter.org: push to ZRouter boards/Asus/WL-500GP_V2/board.mk bo...
zrouter-src at zrouter.org
zrouter-src at zrouter.org
Wed Dec 14 11:37:05 UTC 2011
details: http://zrouter.org/hg/zrouter//rev/16a2342c023e
changeset: 279:16a2342c023e
user: ray at terran.dlink.ua
date: Wed Dec 14 13:37:40 2011 +0200
description:
Fix build Asus/WL-500GP_V2, D-Link DAP-1350 and DIR-320
diffstat:
boards/Asus/WL-500GP_V2/board.mk | 4 ++
boards/D-Link/DAP-1350/board.mk | 65 ++++++++++++++++++++++++++++++++++++++++
boards/D-Link/DIR-320/board.mk | 3 +
3 files changed, 72 insertions(+), 0 deletions(-)
diffs (97 lines):
diff -r 1d90cedc3828 -r 16a2342c023e boards/Asus/WL-500GP_V2/board.mk
--- a/boards/Asus/WL-500GP_V2/board.mk Wed Dec 14 13:26:55 2011 +0200
+++ b/boards/Asus/WL-500GP_V2/board.mk Wed Dec 14 13:37:40 2011 +0200
@@ -54,4 +54,8 @@
IMAGE_TYPE=trx
IMAGE_SUFFIX=trx
+
+PACKING_KERNEL_IMAGE?=kernel.kbin.gz.sync
+PACKING_ROOTFS_IMAGE?=rootfs_clean.iso.ulzma
+
NEW_IMAGE_TYPE=trximage
diff -r 1d90cedc3828 -r 16a2342c023e boards/D-Link/DAP-1350/board.mk
--- a/boards/D-Link/DAP-1350/board.mk Wed Dec 14 13:26:55 2011 +0200
+++ b/boards/D-Link/DAP-1350/board.mk Wed Dec 14 13:37:40 2011 +0200
@@ -1,5 +1,70 @@
+###################################################
+#
+# Board used hardware/chip`s
+#
+###################################################
+
SOC_VENDOR=Ralink
SOC_CHIP=RT3052F
+# Maybe used for kernel config and maybe multiple e.g. "cfi nand"
+BOARD_FLASH_TYPE=cfi
+# TODO: size suffixes
+BOARD_FLASH_SIZE=8388608
+
+###################################################
+#
+# Vars for kernel config
+#
+###################################################
+
+# ident
+KERNCONF_IDENT=${TARGET_VENDOR}_${TARGET_DEVICE}
+
+# Include usb and SoC usb controller drivers
+WITH_USB=yes
+# Builded modules
+# device wlan in kernel alredy enable this modules
+KERNCONF_MODULES_OVERRIDE+=wlan_xauth wlan_wep wlan_tkip wlan_acl wlan_amrr wlan_ccmp wlan_rssadapt
+KERNCONF_MODULES_OVERRIDE+=usb/uplcom usb/u3g usb/umodem usb/umass usb/ucom cam zlib
+
+# Additional utilities
+WORLD_SUBDIRS_ZROUTER+=target/sbin/upgrade
+
+
+###################################################
+#
+# Limits
+#
+###################################################
+
+
+
+# Image must not be biggest than GEOM_MAP_P2 (upgrade part.)
+FIRMWARE_IMAGE_SIZE_MAX=0x007a0000
+
+
+###################################################
+#
+# Firmware Image Options
+#
+###################################################
+
+TARGET_PROFILES+=SMALL_ mpd ssh dlink.ua.web dhcp mroute ntpdate dnsmasq
+# hostap
+# nfs_client
+# racoon
+
+KERNEL_COMPRESSION=oldlzma
+KERNEL_COMPRESSION_TYPE=oldlzma
+UBOOT_KERNEL_COMPRESSION_TYPE=lzma
+
+MKULZMA_BLOCKSIZE=65536
+
+PACKING_KERNEL_IMAGE?=kernel.kbin.oldlzma.uboot.sync
+PACKING_ROOTFS_IMAGE?=rootfs_clean.iso.ulzma
+
+IMAGE_SUFFIX=zimage
NEW_IMAGE_TYPE=zimage
+
diff -r 1d90cedc3828 -r 16a2342c023e boards/D-Link/DIR-320/board.mk
--- a/boards/D-Link/DIR-320/board.mk Wed Dec 14 13:26:55 2011 +0200
+++ b/boards/D-Link/DIR-320/board.mk Wed Dec 14 13:37:40 2011 +0200
@@ -90,4 +90,7 @@
# Image must not be biggest than GEOM_MAP_P2 (upgrade part.)
FIRMWARE_IMAGE_SIZE_MAX=0x003a0000
+PACKING_KERNEL_IMAGE?=kernel.kbin.oldlzma.sync
+PACKING_ROOTFS_IMAGE?=rootfs_clean.iso.ulzma
+
NEW_IMAGE_TYPE=trximage
More information about the Zrouter-src
mailing list