Changeset 27523


Ignore:
Timestamp:
2011-07-07T15:01:50+02:00 (7 years ago)
Author:
juhosg
Message:

ar71xx: build image for the AP121 boards with 4M of flash

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/image/Makefile

    r27446 r27523  
    520520endef 
    521521 
     522 
     523ap121_mtdlayout_2M=mtdparts=spi0.0:64k(u-boot)ro,1216k(rootfs),704k(kernel),64k(art)ro,1920k@0x10000(firmware) 
     524ap121_mtdlayout_4M=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,2752k(rootfs),896k(kernel),64k(nvram),64k(art)ro,3648k@0x50000(firmware) 
     525 
    522526ap121_cmdline=board=AP121 console=ttyATH0,115200 
    523 ap121_mtdlayout=mtdparts=spi0.0:64k(u-boot)ro,1216k(rootfs),704k(kernel),64k(art)ro,1920k@0x10000(firmware) 
    524527define Image/Build/Profile/AP121 
    525         $(call Image/Build/Template/$(fs_4k)/$(1),AP121,ap121,$(ap121_cmdline),ap121_mtdlayout,720896,1245184) 
     528        $(call Image/Build/Template/$(fs_4k)/$(1),AP121,ap121-2M,$(ap121_cmdline),ap121_mtdlayout_2M,720896,1245184) 
     529        $(call Image/Build/Template/$(fs_64k)/$(1),AP121,ap121-4M,$(ap121_cmdline),ap121_mtdlayout_4M,917504,2818048) 
    526530endef 
    527531 
    528532ap121_mini_cmdline=board=AP121-MINI console=ttyATH0,115200 
    529 ap121_mini_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,2752k(rootfs),896k(kernel),64k(nvram),64k(art)ro,3648k@0x50000(firmware) 
    530533define Image/Build/Profile/AP121MINI 
    531         $(call Image/Build/Template/$(fs_64k)/$(1),AP121,ap121-mini,$(ap121_mini_cmdline),ap121_mini_mtdlayout,917504,2818048) 
     534        $(call Image/Build/Template/$(fs_64k)/$(1),AP121,ap121-mini,$(ap121_mini_cmdline),ap121_mtdlayout_4M,917504,2818048) 
    532535endef 
    533536 
Note: See TracChangeset for help on using the changeset viewer.