mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 20:09:55 +02:00
ar71xx: pass mtdlayout to Planex boards via command line
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29894 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7fe033da7a
commit
8b3aaef2dd
@ -291,8 +291,9 @@ define Image/Build/UBNT
|
|||||||
$(call sysupname,$(1),$(2))
|
$(call sysupname,$(1),$(2))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
planex_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,1408k(kernel),6336k(rootfs),128k(art)ro,7744k@0x50000(firmware)
|
||||||
define Image/Build/Planex
|
define Image/Build/Planex
|
||||||
$(call MkuImageGzip,$(2),$(3))
|
$(call MkuImageGzip,$(2),$(3) $(planex_mtdlayout))
|
||||||
$(call Sysupgrade/KR,$(1),$(2),1441792,6356992)
|
$(call Sysupgrade/KR,$(1),$(2),1441792,6356992)
|
||||||
if [ -e "$(call sysupname,$(1),$(2))" ]; then \
|
if [ -e "$(call sysupname,$(1),$(2))" ]; then \
|
||||||
$(STAGING_DIR_HOST)/bin/mkplanexfw \
|
$(STAGING_DIR_HOST)/bin/mkplanexfw \
|
||||||
|
Loading…
Reference in New Issue
Block a user