Changeset 14280


Ignore:
Timestamp:
2009-01-30T12:38:46+01:00 (7 years ago)
Author:
kaloz
Message:

upgrade ppc44x to 2.6.28.2, add basic support for the AMCC Canyonlands

Location:
trunk/target/linux
Files:
4 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic-2.6/config-2.6.28

    r14278 r14280  
    417417# CONFIG_GFS2_FS is not set 
    418418CONFIG_GPIO_DEVICE=m 
     419# CONFIG_GPIO_BT8XX is not set 
    419420# CONFIG_GPIO_MAX7301 is not set 
    420421# CONFIG_GPIO_MCP23S08 is not set 
     
    422423# CONFIG_GPIO_PCF857X is not set 
    423424# CONFIG_GPIO_SYSFS is not set 
     425# CONFIG_GPIO_XILINX is not set 
    424426# CONFIG_GPIOLIB is not set 
    425 # CONFIG_GPIO_BT8XX is not set 
    426427# CONFIG_GROUP_SCHED is not set 
    427428# CONFIG_HAMACHI is not set 
     
    12421243# CONFIG_POSIX_MQUEUE is not set 
    12431244# CONFIG_POWER_SUPPLY is not set 
     1245CONFIG_PPC4xx_GPIO=y 
    12441246CONFIG_PPP=m 
    12451247CONFIG_PPPOATM=m 
  • trunk/target/linux/ppc44x/Makefile

    r14179 r14280  
    1 #  
    2 # Copyright (C) 2007 OpenWrt.org 
     1# 
     2# Copyright (C) 2007-2009 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1212FEATURES:=squashfs 
    1313 
    14 LINUX_VERSION:=2.6.27.13 
     14LINUX_VERSION:=2.6.28.2 
    1515LINUX_KARCH:=powerpc 
    1616 
    1717include $(INCLUDE_DIR)/target.mk 
    18  
    19 KERNELNAME:="zImage" 
    2018 
    2119define Target/Description 
  • trunk/target/linux/ppc44x/base-files/etc/inittab

    r9069 r14280  
    11::sysinit:/etc/init.d/rcS S boot 
    22::shutdown:/etc/init.d/rcS K stop 
    3 tts/0::askfirst:/bin/ash --login 
     3ttyS0::askfirst:/bin/ash --login 
    44ttyS1::askfirst:/bin/ash --login 
    5 tty1::askfirst:/bin/ash --login 
  • trunk/target/linux/ppc44x/config-default

    r14152 r14280  
    1212CONFIG_ARCH_MAY_HAVE_PC_FDC=y 
    1313CONFIG_ARCH_POPULATES_NODE_MAP=y 
     14# CONFIG_ARCHES is not set 
    1415# CONFIG_BAMBOO is not set 
    1516CONFIG_BASE_SMALL=0 
     
    1920CONFIG_BOOT_LOAD=0x01000000 
    2021# CONFIG_BT is not set 
    21 CONFIG_CMDLINE="console=ttyS1,115200 root=/dev/mtdblock1 rootfstype=squashfs,jffs2 noinitrd init=/etc/preinit" 
     22CONFIG_CMDLINE="console=ttyS0,115200 root=/dev/mtdblock1 rootfstype=squashfs,jffs2 noinitrd init=/etc/preinit" 
    2223CONFIG_CMDLINE_BOOL=y 
    2324CONFIG_CONSISTENT_SIZE=0x00200000 
    2425CONFIG_CONSISTENT_START=0xff100000 
    25 # CONFIG_CANYONLANDS is not set 
     26CONFIG_CANYONLANDS=y 
    2627# CONFIG_CPU_FREQ is not set 
    2728# CONFIG_DEBUG_BUGVERBOSE is not set 
    28 CONFIG_DEVICE_TREE="taishan.dts" 
    2929# CONFIG_DMADEVICES is not set 
    3030# CONFIG_E200 is not set 
     
    3232# CONFIG_EBONY is not set 
    3333# CONFIG_EDAC is not set 
     34CONFIG_EXTRA_TARGETS="uImage" 
    3435CONFIG_FORCE_MAX_ZONEORDER=11 
    3536CONFIG_FS_POSIX_ACL=y 
     
    3839CONFIG_GENERIC_NVRAM=y 
    3940# CONFIG_GEN_RTC is not set 
     41# CONFIG_GLACIER is not set 
    4042CONFIG_HAS_IOMEM=y 
    4143CONFIG_HAS_IOPORT=y 
  • trunk/target/linux/ppc44x/image/Makefile

    r10372 r14280  
    1 #  
    2 # Copyright (C) 2007 OpenWrt.org 
     1# 
     2# Copyright (C) 2007-2009 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1212define Image/Prepare 
    1313        cp $(LINUX_DIR)/arch/powerpc/boot/cuImage.taishan $(KDIR)/uImage 
     14                dtc -O dtb -R 4 -S 0x20000 $(LINUX_DIR)/arch/powerpc/boot/dts/canyonlands.dts > $(KDIR)/openwrt-canyonlands.dtb 
    1415endef 
    1516 
     
    3435                dd if=$(KDIR)/uImage bs=2048k conv=sync; \ 
    3536                dd if=$(KDIR)/root.$(1) bs=256k conv=sync; \ 
    36         ) > $(BIN_DIR)/openwrt-$(BOARD)-$(1).img 
     37        ) > $(BIN_DIR)/openwrt-$(BOARD)-taishan-$(1).img 
     38        ( \ 
     39                dd if=$(LINUX_DIR)/arch/powerpc/boot/uImage bs=1920k conv=sync; \ 
     40                dd if=$(KDIR)/openwrt-canyonlands.dtb bs=128k conv=sync; \ 
     41                dd if=$(KDIR)/root.$(1) bs=256k conv=sync; \ 
     42        ) > $(BIN_DIR)/openwrt-$(BOARD)-canyonlands-$(1).img 
    3743endef 
    3844 
  • trunk/target/linux/ppc44x/patches/001-taishan_openwrt_flashmap.patch

    r13266 r14280  
    99                                        }; 
    1010-                                       partition@180000 { 
     11-                                               label = "root"; 
     12-                                               reg = <0x180000 0x200000>; 
    1113+                                       partition@200000 { 
    12                                                 label = "root"; 
    13 -                                               reg = <0x180000 0x200000>; 
     14+                                               label = "rootfs"; 
    1415+                                               reg = <0x200000 0x3c00000>; 
    1516                                        }; 
Note: See TracChangeset for help on using the changeset viewer.