Changeset 38326


Ignore:
Timestamp:
2013-10-07T17:02:52+02:00 (4 years ago)
Author:
blogic
Message:

lantiq: fix fritz image generation

Signed-off-by: John Crispin <blogic@…>

Location:
trunk/target/linux/lantiq
Files:
2 edited

Legend:

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

    r38266 r38326  
    5656define MkImageEVA 
    5757        lzma2eva 0x80002000 0x80002000 $(KDIR)/vmlinux-$(1).lzma $(KDIR)/$(1).eva.prealign 
    58         dd if=$(KDIR)/$(1).eva.prealign of=$(KDIR)/$(1).eva bs=64k conv=sync 
    59         cat ./eva.dummy.squashfs >> $(KDIR)/$(1).eva 
     58        dd if=$(KDIR)/$(1).eva.prealign of=$(KDIR)/$(1).eva.align.64k bs=64k conv=sync 
     59        dd if=$(KDIR)/$(1).eva.prealign of=$(KDIR)/$(1).eva.align.128k bs=128k conv=sync 
     60        cat ./eva.dummy.squashfs >> $(KDIR)/$(1).eva.align.64k 
    6061endef 
    6162 
     
    8990 
    9091define Image/BuildEVA/squashfs 
    91         cat $(KDIR)/$(2).eva $(KDIR)/root.$(1) > $(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(1).image.eva 
     92        cat $(KDIR)/$(2).eva.align.64k $(KDIR)/root.$(1) > $(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(1).image.eva 
    9293        $(call prepare_generic_squashfs,$(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(1).image.eva) 
    9394endef 
     
    99100endef 
    100101 
    101 define Image/BuildNANDEVA/jffs2-128k 
    102         cp $(KDIR)/root.$(1) $(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(1).rootfs 
     102define Image/BuildEVA/jffs2-128k 
     103        cat $(KDIR)/$(2).eva.align.128k $(KDIR)/root.$(1) > $(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(1).image.eva 
    103104endef 
    104105 
     
    157158        $(call PatchKernelLzma,$(1)) 
    158159        $(call MkImageEVA,$(1)) 
    159         $(CP) $(KDIR)/$(1).eva $(BIN_DIR)/$(IMG_PREFIX)-$(1).eva 
     160        $(CP) $(KDIR)/$(1).eva.align.64k $(BIN_DIR)/$(IMG_PREFIX)-$(1).eva.align.64k 
     161        $(CP) $(KDIR)/$(1).eva.align.128k $(BIN_DIR)/$(IMG_PREFIX)-$(1).eva.align.128k 
    160162endef 
    161163 
     
    275277 
    276278Image/BuildKernel/Profile/FRITZ3370=$(call Image/BuildKernelEVA/Template,FRITZ3370) 
    277 Image/Build/Profile/FRITZ3370=$(call Image/BuildNANDEVA/$(1),$(1),FRITZ3370) 
     279Image/Build/Profile/FRITZ3370=$(call Image/BuildEVA/$(1),$(1),FRITZ3370) 
    278280 
    279281Image/BuildKernel/Profile/VG3503J=$(call Image/BuildKernelLoader/Template,VG3503J) 
  • trunk/target/linux/lantiq/xrx200/target.mk

    r38210 r38326  
    22SUBTARGET:=xrx200 
    33BOARDNAME:=XRX200 
    4 FEATURES:=squashfs atm mips16 
     4FEATURES:=squashfs atm mips16 jffs2 
    55CPU_TYPE:=34kc 
    66CPU_SUBTYPE:=dsp 
Note: See TracChangeset for help on using the changeset viewer.