Changeset 10372


Ignore:
Timestamp:
2008-02-03T15:54:01+01:00 (10 years ago)
Author:
kaloz
Message:

convert ppc44x to arch/powerpc, use squashfs images by default

Location:
trunk/target/linux/ppc44x
Files:
1 added
3 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ppc44x/Makefile

    r10290 r10372  
    1010BOARD:=ppc44x 
    1111BOARDNAME:=AMCC Taishan 
    12 FEATURES:=jffs2 
     12FEATURES:=squashfs 
    1313 
    14 LINUX_VERSION:=2.6.23.14 
    15 LINUX_KARCH:=ppc 
     14LINUX_VERSION:=2.6.24 
     15LINUX_KARCH:=powerpc 
    1616 
    1717include $(INCLUDE_DIR)/target.mk 
     18 
     19KERNELNAME:="zImage" 
    1820 
    1921define Target/Description 
  • trunk/target/linux/ppc44x/config-default

    r10290 r10372  
    11# CONFIG_40x is not set 
    2 CONFIG_440A=y 
    32CONFIG_440GX=y 
    43CONFIG_44x=y 
     
    2019CONFIG_BOOT_LOAD=0x01000000 
    2120# CONFIG_BT is not set 
    22 CONFIG_CMDLINE="console=ttyS1,115200 init=/etc/preinit" 
     21CONFIG_CMDLINE="console=ttyS1,115200 root=/dev/mtdblock1 rootfstype=squashfs,jffs2 noinitrd init=/etc/preinit" 
    2322CONFIG_CMDLINE_BOOL=y 
    2423CONFIG_CONSISTENT_SIZE=0x00200000 
     
    2625# CONFIG_CPU_FREQ is not set 
    2726# CONFIG_DEBUG_BUGVERBOSE is not set 
     27CONFIG_DEVICE_TREE="taishan.dts" 
    2828# CONFIG_E200 is not set 
    2929# CONFIG_E500 is not set 
     
    4444CONFIG_HZ_250=y 
    4545# CONFIG_I2C is not set 
    46 CONFIG_IBM_EMAC=y 
    47 CONFIG_IBM_EMAC4=y 
    48 # CONFIG_IBM_EMAC_DEBUG is not set 
    49 CONFIG_IBM_EMAC_PHY_RX_CLK_FIX=y 
    50 CONFIG_IBM_EMAC_POLL_WEIGHT=32 
    51 CONFIG_IBM_EMAC_RGMII=y 
    52 CONFIG_IBM_EMAC_RXB=128 
    53 CONFIG_IBM_EMAC_RX_COPY_THRESHOLD=256 
    54 CONFIG_IBM_EMAC_RX_SKB_HEADROOM=0 
    55 CONFIG_IBM_EMAC_TAH=y 
    56 CONFIG_IBM_EMAC_TXB=128 
    57 CONFIG_IBM_EMAC_ZMII=y 
     46CONFIG_IBM_NEW_EMAC=y 
     47CONFIG_IBM_NEW_EMAC_RXB=128 
     48CONFIG_IBM_NEW_EMAC_TXB=128 
     49CONFIG_IBM_NEW_EMAC_POLL_WEIGHT=32 
     50CONFIG_IBM_NEW_EMAC_RX_COPY_THRESHOLD=256 
     51CONFIG_IBM_NEW_EMAC_RX_SKB_HEADROOM=0 
     52# CONFIG_IBM_NEW_EMAC_DEBUG is not set 
    5853CONFIG_IBM_OCP=y 
    5954# CONFIG_IDE is not set 
    6055CONFIG_INITRAMFS_SOURCE="" 
    6156CONFIG_ISA_DMA_API=y 
     57# CONFIG_KATMAI is not set 
    6258CONFIG_KERNEL_START=0xc0000000 
    6359CONFIG_LOWMEM_SIZE=0x30000000 
     
    107103# CONFIG_MTD_PCI is not set 
    108104# CONFIG_MTD_PHRAM is not set 
    109 CONFIG_MTD_PHYSMAP=y 
    110 CONFIG_MTD_PHYSMAP_BANKWIDTH=2 
    111 CONFIG_MTD_PHYSMAP_LEN=0x0 
    112 CONFIG_MTD_PHYSMAP_START=0x8000000 
     105# CONFIG_MTD_PHYSMAP is not set 
     106CONFIG_MTD_PHYSMAP_OF=y 
    113107# CONFIG_MTD_PLATRAM is not set 
    114108# CONFIG_MTD_PMC551 is not set 
     
    124118# CONFIG_NVRAM is not set 
    125119# CONFIG_OCOTEA is not set 
     120# CONFIG_PCIEPORTBUS is not set 
    126121# CONFIG_PCIPCWATCHDOG is not set 
    127122CONFIG_PCI_DOMAINS=y 
     
    131126CONFIG_PPC=y 
    132127CONFIG_PPC32=y 
     128# CONFIG_PPC64 is not set 
    133129CONFIG_PPC4xx_DMA=y 
    134130CONFIG_PPC4xx_EDMA=y 
     131# CONFIG_PPC_8xx is not set 
     132# CONFIG_PPC_85xx is not set 
    135133CONFIG_PPC_DCR=y 
    136134CONFIG_PPC_DCR_NATIVE=y 
     
    138136# CONFIG_PPC_I8259 is not set 
    139137CONFIG_PPC_INDIRECT_PCI=y 
     138# CONFIG_PPC_EARLY_DEBUG is not set 
    140139CONFIG_PPC_OCP=y 
     140CONFIG_PROC_DEVICETREE=y 
    141141CONFIG_PTE_64BIT=y 
     142# CONFIG_RAINIER is not set 
    142143CONFIG_RESOURCES_64BIT=y 
    143144CONFIG_RWSEM_XCHGADD_ALGORITHM=y 
     
    149150# CONFIG_SERIAL_8250_RSA is not set 
    150151CONFIG_SERIAL_8250_SHARE_IRQ=y 
     152CONFIG_SERIAL_OF_PLATFORM=y 
    151153# CONFIG_SERIAL_TEXT_DEBUG is not set 
     154# CONFIG_SEQUOIA is not set 
    152155# CONFIG_SOFT_WATCHDOG is not set 
    153156# CONFIG_SOUND is not set 
     
    161164# CONFIG_VIA_RHINE is not set 
    162165CONFIG_WANT_EARLY_SERIAL=y 
     166# CONFIG_WARP is not set 
    163167# CONFIG_WINDFARM is not set 
    164168# CONFIG_XILINX_SYSACE is not set 
  • trunk/target/linux/ppc44x/image/Makefile

    r9533 r10372  
    1111 
    1212define Image/Prepare 
    13         cp $(LINUX_DIR)/arch/ppc/boot/images/uImage $(KDIR)/uImage 
     13        cp $(LINUX_DIR)/arch/powerpc/boot/cuImage.taishan $(KDIR)/uImage 
    1414endef 
    1515 
     
    2424define Image/Build/jffs2-256k 
    2525        ( \ 
    26                 dd if=$(LINUX_DIR)/arch/ppc/boot/images/uImage bs=4096k conv=sync; \ 
     26                dd if=$(KDIR)/uImage bs=2048k conv=sync; \ 
    2727                dd if=$(KDIR)/root.$(1) bs=256k conv=sync; \ 
    2828        ) > $(BIN_DIR)/openwrt-$(BOARD)-jffs2.img 
     
    3232        $(call prepare_generic_squashfs,$(KDIR)/root.squashfs) 
    3333        ( \ 
    34                 dd if=$(LINUX_DIR)/arch/ppc/boot/images/uImage bs=4096k conv=sync; \ 
     34                dd if=$(KDIR)/uImage bs=2048k conv=sync; \ 
    3535                dd if=$(KDIR)/root.$(1) bs=256k conv=sync; \ 
    3636        ) > $(BIN_DIR)/openwrt-$(BOARD)-$(1).img 
Note: See TracChangeset for help on using the changeset viewer.