Changeset 19094


Ignore:
Timestamp:
2010-01-10T19:14:23+01:00 (8 years ago)
Author:
kaloz
Message:

[mpc83xx]: FIT uImage support for the MPC8377-WLAN

Location:
trunk/target/linux/mpc83xx
Files:
5 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/mpc83xx/config-default

    r19092 r19094  
    3939# CONFIG_EDAC is not set 
    4040# CONFIG_EMBEDDED6xx is not set 
     41CONFIG_EXTRA_TARGETS="uImage.fit.mpc8377_wlan" 
    4142CONFIG_FORCE_MAX_ZONEORDER=11 
    4243# CONFIG_FSL_EMB_PERFMON is not set 
  • trunk/target/linux/mpc83xx/image/Makefile

    r19092 r19094  
    1010 
    1111define Image/Prepare 
    12         $(LINUX_DIR)/scripts/dtc/dtc -O dtb -R 4 -S 0x20000 $(LINUX_DIR)/arch/powerpc/boot/dts/mpc8377_wlan.dts > $(KDIR)/openwrt-mpc8377_wlan.dtb 
    1312endef 
    1413 
     
    2322define Image/Build/squashfs 
    2423        $(call prepare_generic_squashfs,$(KDIR)/root.squashfs) 
    25 # We'll do FIT here 
    26 #       ( \ 
    27 #               dd if=$(LINUX_DIR)/arch/powerpc/boot/uImage bs=1920k conv=sync; \ 
    28 #               dd if=$(KDIR)/openwrt-mpc8377_wlan.dtb bs=128k conv=sync; \ 
    29 #               dd if=$(KDIR)/root.$(1) bs=256k conv=sync; \ 
    30 #       ) > $(BIN_DIR)/openwrt-$(BOARD)-mpc8377_wlan-$(1).img 
     24        ( \ 
     25                dd if=$(LINUX_DIR)/arch/powerpc/boot/uImage.fit.mpc8377_wlan bs=3072k conv=sync; \ 
     26                dd if=$(KDIR)/root.$(1) bs=256k conv=sync; \ 
     27        ) > $(BIN_DIR)/openwrt-$(BOARD)-mpc8377_wlan-$(1).img 
    3128endef 
    3229 
Note: See TracChangeset for help on using the changeset viewer.