Changeset 28802


Ignore:
Timestamp:
2011-11-07T13:59:05+01:00 (6 years ago)
Author:
juhosg
Message:

ar71xx: fix WHR-HP-G300N image generation

File:
1 edited

Legend:

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

    r28708 r28802  
    146146 
    147147define Image/Build/WHRHPG300N 
    148         $(call MkuImageLzma,$(2),$(3)) 
     148        $(call MkuImageLzma,$(2),$(3) $($(4))) 
    149149        $(call Sysupgrade/KR,$(1),$(2),917504,2883584) 
    150150        if [ -e "$(call sysupname,$(1),$(2))" ]; then \ 
     
    153153                        dd if=$(call sysupname,$(1),$(2)); \ 
    154154                ) > $(call imgname,$(1),$(2))-tftp.bin; \ 
    155                 buffalo-enc -p $(4) -v 1.76 \ 
     155                buffalo-enc -p $(5) -v 1.76 \ 
    156156                        -i $(call sysupname,$(1),$(2)) \ 
    157157                        -o $(KDIR)/$(2).enc; \ 
    158                 buffalo-tag -b $(4) -p $(4) -a ath -v 1.76 -m 1.01 -l mlang8 \ 
     158                buffalo-tag -b $(5) -p $(5) -a ath -v 1.76 -m 1.01 -l mlang8 \ 
    159159                        -w 3 -c 0x80041000 -d 0x801e8000 -f 1 -r M_ \ 
    160160                        -i $(KDIR)/$(2).enc \ 
     
    709709 
    710710whrhpg300n_cmdline=board=WHR-HP-G300N console=ttyS0,115200 
     711whrhpg300n_mtdlayout=mtdparts=spi0.0:248k(u-boot)ro,8k(u-boot-env)ro,896k(kernel),2816k(rootfs),64k(user_property),64k(art)ro,3712k@0x30000(firmware) 
    711712define Image/Build/Profile/WHRHPG300N 
    712713        $(call Image/Build/Template/$(fs_64k)/$(1),WHRHPG300N,whr-hp-g300n,$(whrhpg300n_cmdline),whrhpg300n_mtdlayout,WHR-HP-G300N) 
Note: See TracChangeset for help on using the changeset viewer.