1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-20 00:58:25 +02:00

ar71xx: reclaim the 'user_property' partition on WHR-* boards

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31109 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2012-03-27 19:38:02 +00:00
parent e27017a728
commit 5ba8709ee9

View File

@ -178,7 +178,7 @@ endef
define Image/Build/WHRHPG300N define Image/Build/WHRHPG300N
$(call MkuImageLzma,$(2),$(3) $($(4))) $(call MkuImageLzma,$(2),$(3) $($(4)))
$(call Sysupgrade/KRuImage,$(1),$(2),917504,2883584) $(call Sysupgrade/KRuImage,$(1),$(2),983040,2883584)
if [ -e "$(call sysupname,$(1),$(2))" ]; then \ if [ -e "$(call sysupname,$(1),$(2))" ]; then \
( \ ( \
echo -n -e "# Airstation Public Fmt1\x00\x00\x00\x00\x00\x00\x00\x00"; \ echo -n -e "# Airstation Public Fmt1\x00\x00\x00\x00\x00\x00\x00\x00"; \
@ -965,7 +965,7 @@ define Image/Build/Profile/WHRG301N
endef endef
whrhpg300n_cmdline=board=WHR-HP-G300N console=ttyS0,115200 whrhpg300n_cmdline=board=WHR-HP-G300N console=ttyS0,115200
whrhpg300n_mtdlayout=mtdparts=spi0.0:248k(u-boot)ro,8k(u-boot-env)ro,896k(kernel),2816k(rootfs),64k(user_property),64k(art)ro,3712k@0x40000(firmware) whrhpg300n_mtdlayout=mtdparts=spi0.0:248k(u-boot)ro,8k(u-boot-env)ro,960k(kernel),2816k(rootfs),64k(art)ro,3712k@0x40000(firmware)
define Image/Build/Profile/WHRHPG300N define Image/Build/Profile/WHRHPG300N
$(call Image/Build/Template/$(fs_64k)/$(1),WHRHPG300N,whr-hp-g300n,$(whrhpg300n_cmdline),whrhpg300n_mtdlayout,WHR-HP-G300N) $(call Image/Build/Template/$(fs_64k)/$(1),WHRHPG300N,whr-hp-g300n,$(whrhpg300n_cmdline),whrhpg300n_mtdlayout,WHR-HP-G300N)
endef endef