Changeset 19092


Ignore:
Timestamp:
2010-01-10T17:02:11+01:00 (8 years ago)
Author:
kaloz
Message:

[mpc83xx]: upgrade to 2.6.31, add preliminary support for the Freescale MPC8377E-WLAN board - not finished, yet

Location:
trunk/target/linux/mpc83xx
Files:
3 added
4 edited

Legend:

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

    r18871 r19092  
    11# 
    2 # Copyright (C) 2007-2009 OpenWrt.org 
     2# Copyright (C) 2007-2010 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010BOARD:=mpc83xx 
    1111BOARDNAME:=Freescale MPC83xx 
    12 FEATURES:=tgz broken 
     12FEATURES:=squashfs tgz broken 
    1313 
    14 LINUX_VERSION:=2.6.30.10 
     14LINUX_VERSION:=2.6.31.11 
    1515 
    1616include $(INCLUDE_DIR)/target.mk 
  • trunk/target/linux/mpc83xx/config-default

    r18371 r19092  
    2222# CONFIG_ASP834x is not set 
    2323CONFIG_ATA=y 
     24# CONFIG_ATA_PIIX is not set 
    2425CONFIG_AUDIT_ARCH=y 
    25 # CONFIG_BINARY_PRINTF is not set 
    2626CONFIG_BITREVERSE=y 
    2727# CONFIG_BOOTX_TEXT is not set 
     
    2929# CONFIG_BRIQ_PANEL is not set 
    3030CONFIG_CC_OPTIMIZE_FOR_SIZE=y 
     31CONFIG_CMDLINE="console=ttyS0,115200" 
    3132CONFIG_CMDLINE_BOOL=y 
    32 CONFIG_CMDLINE="console=ttyS0,115200" 
    33 CONFIG_CRYPTO_AEAD2=y 
    34 CONFIG_CRYPTO_BLKCIPHER2=y 
    35 CONFIG_CRYPTO_HASH2=y 
    36 CONFIG_CRYPTO_MANAGER2=y 
    37 CONFIG_CRYPTO_RNG2=y 
    38 CONFIG_CRYPTO_WORKQUEUE=y 
    3933CONFIG_DECOMPRESS_LZMA=y 
    4034CONFIG_DEFAULT_UIMAGE=y 
     
    5145CONFIG_FSL_SOC=y 
    5246# CONFIG_FSL_ULI1575 is not set 
     47# CONFIG_FSNOTIFY is not set 
     48CONFIG_GENERIC_ATOMIC64=y 
    5349CONFIG_GENERIC_BUG=y 
     50CONFIG_GENERIC_CLOCKEVENTS=y 
    5451CONFIG_GENERIC_CLOCKEVENTS_BUILD=y 
    55 CONFIG_GENERIC_CLOCKEVENTS=y 
    5652CONFIG_GENERIC_CMOS_UPDATE=y 
    5753CONFIG_GENERIC_FIND_LAST_BIT=y 
    5854CONFIG_GENERIC_FIND_NEXT_BIT=y 
    5955CONFIG_GENERIC_GPIO=y 
     56CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y 
    6057# CONFIG_GENERIC_IOMAP is not set 
    6158CONFIG_GENERIC_ISA_DMA=y 
     
    8481CONFIG_HAVE_LATENCYTOP_SUPPORT=y 
    8582CONFIG_HAVE_LMB=y 
    86 CONFIG_HAVE_MLOCK=y 
    8783CONFIG_HAVE_OPROFILE=y 
     84CONFIG_HAVE_PERF_COUNTERS=y 
    8885# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set 
    8986# CONFIG_HVC_RTAS is not set 
    90 # CONFIG_HVC_UDBG is not set 
    9187CONFIG_HW_RANDOM=y 
     88CONFIG_HZ=250 
    9289# CONFIG_HZ_100 is not set 
    93 CONFIG_HZ=250 
    9490CONFIG_HZ_250=y 
    9591CONFIG_INITRAMFS_SOURCE="" 
    9692# CONFIG_IOMMU_HELPER is not set 
    9793CONFIG_IPIC=y 
     94# CONFIG_IRQSTACKS is not set 
    9895CONFIG_IRQ_PER_CPU=y 
    99 # CONFIG_IRQSTACKS is not set 
     96# CONFIG_ISA is not set 
    10097CONFIG_ISA_DMA_API=y 
    101 # CONFIG_ISA is not set 
    10298# CONFIG_JFFS2_FS is not set 
    10399CONFIG_KERNEL_START=0xc0000000 
     100# CONFIG_KMETER1 is not set 
    104101# CONFIG_LEDS_GPIO is not set 
    105102CONFIG_LOWMEM_SIZE=0x30000000 
     103CONFIG_MAC80211_DEFAULT_PS_VALUE=0 
    106104# CONFIG_MACINTOSH_DRIVERS is not set 
    107105# CONFIG_MMIO_NVRAM is not set 
     
    116114# CONFIG_MPC836x_RDK is not set 
    117115# CONFIG_MPC837x_MDS is not set 
    118 # CONFIG_MPC837x_RDB is not set 
     116CONFIG_MPC837x_RDB=y 
    119117# CONFIG_MPC8xxx_GPIO is not set 
     118CONFIG_MPIC=y 
    120119# CONFIG_MPIC_WEIRD is not set 
    121 CONFIG_MPIC=y 
    122120# CONFIG_MTD_CFI is not set 
     121CONFIG_MTD_NAND=y 
    123122# CONFIG_MTD_NAND_FSL_ELBC is not set 
    124123# CONFIG_MTD_NAND_FSL_UPM is not set 
    125124CONFIG_MTD_NAND_RB_PPC=y 
    126 CONFIG_MTD_NAND=y 
    127125# CONFIG_MTD_OF_PARTS is not set 
     126# CONFIG_MV643XX_ETH is not set 
     127CONFIG_OF=y 
    128128CONFIG_OF_DEVICE=y 
    129129CONFIG_OF_GPIO=y 
    130 CONFIG_OF=y 
     130CONFIG_OF_MDIO=y 
    131131CONFIG_PAGEFLAGS_EXTENDED=y 
    132132CONFIG_PAGE_OFFSET=0xc0000000 
    133133CONFIG_PATA_RB_PPC=m 
     134CONFIG_PCIEAER=y 
     135# CONFIG_PCIEAER_INJECT is not set 
     136CONFIG_PCIEPORTBUS=y 
     137# CONFIG_PCIE_ECRC is not set 
    134138CONFIG_PCI_DISABLE_COMMON_QUIRKS=y 
    135139CONFIG_PCI_DOMAINS=y 
    136 # CONFIG_PCIEPORTBUS is not set 
    137140CONFIG_PCSPKR_PLATFORM=y 
     141# CONFIG_PERF_COUNTERS is not set 
    138142CONFIG_PHYLIB=y 
    139143CONFIG_PHYSICAL_START=0x00000000 
    140 # CONFIG_PPC_16K_PAGES is not set 
    141 # CONFIG_PPC_256K_PAGES is not set 
     144CONFIG_PPC=y 
    142145CONFIG_PPC32=y 
    143 CONFIG_PPC_4K_PAGES=y 
    144146# CONFIG_PPC64 is not set 
    145 # CONFIG_PPC_64K_PAGES is not set 
    146147# CONFIG_PPC_82xx is not set 
    147148CONFIG_PPC_83xx=y 
     
    151152# CONFIG_PPC_970_NAP is not set 
    152153CONFIG_PPC_BOOK3S=y 
     154CONFIG_PPC_BOOK3S_32=y 
    153155# CONFIG_PPC_CELL is not set 
    154156# CONFIG_PPC_CELL_NATIVE is not set 
    155 CONFIG_PPC_CHRP=y 
     157# CONFIG_PPC_CHRP is not set 
    156158# CONFIG_PPC_CLOCK is not set 
    157159# CONFIG_PPC_DCR_MMIO is not set 
    158160# CONFIG_PPC_DCR_NATIVE is not set 
     161CONFIG_PPC_DISABLE_WERROR=y 
    159162# CONFIG_PPC_EARLY_DEBUG is not set 
    160163CONFIG_PPC_FPU=y 
     164CONFIG_PPC_HAVE_PMU_SUPPORT=y 
    161165CONFIG_PPC_I8259=y 
    162166# CONFIG_PPC_INDIRECT_IO is not set 
     
    167171# CONFIG_PPC_MPC52xx is not set 
    168172CONFIG_PPC_MPC834x=y 
     173CONFIG_PPC_MPC837x=y 
    169174CONFIG_PPC_NATIVE=y 
     175CONFIG_PPC_OF=y 
    170176CONFIG_PPC_OF_BOOT_TRAMPOLINE=y 
    171 CONFIG_PPC_OF=y 
    172177CONFIG_PPC_PCI_CHOICE=y 
    173178# CONFIG_PPC_PMAC is not set 
    174179CONFIG_PPC_RTAS=y 
     180CONFIG_PPC_STD_MMU=y 
    175181CONFIG_PPC_STD_MMU_32=y 
    176 CONFIG_PPC_STD_MMU=y 
    177182CONFIG_PPC_UDBG_16550=y 
    178 CONFIG_PPC=y 
     183CONFIG_PPC_WERROR=y 
    179184# CONFIG_PQ2ADS is not set 
    180185CONFIG_PRINT_STACK_DEPTH=64 
     
    199204CONFIG_SERIAL_OF_PLATFORM=y 
    200205# CONFIG_SERIAL_QE is not set 
    201 # CONFIG_SIMPLE_GPIO is not set 
    202 # CONFIG_SLOW_WORK is not set 
    203206# CONFIG_SQUASHFS is not set 
     207# CONFIG_SWIOTLB is not set 
    204208CONFIG_TASK_SIZE=0xc0000000 
    205209# CONFIG_TAU is not set 
    206 CONFIG_TRACING_SUPPORT=y 
    207210# CONFIG_UCC_GETH is not set 
    208211# CONFIG_UDBG_RTAS_CONSOLE is not set 
  • trunk/target/linux/mpc83xx/image/Makefile

    r18353 r19092  
    11# 
    2 # Copyright (C) 2009 OpenWrt.org 
     2# Copyright (C) 2009-2010 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    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 
    1213endef 
    1314 
     
    2223define Image/Build/squashfs 
    2324        $(call prepare_generic_squashfs,$(KDIR)/root.squashfs) 
    24         ( \ 
    25                 dd if=$(LINUX_DIR)/arch/powerpc/boot/uImage bs=1920k conv=sync; \ 
    26                 dd if=$(KDIR)/openwrt-canyonlands.dtb bs=128k conv=sync; \ 
    27                 dd if=$(KDIR)/root.$(1) bs=256k conv=sync; \ 
    28         ) > $(BIN_DIR)/openwrt-$(BOARD)-canyonlands-$(1).img 
     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 
    2931endef 
    3032 
  • trunk/target/linux/mpc83xx/patches/001-rb600.patch

    r18353 r19092  
    359359--- a/arch/powerpc/kernel/Makefile 
    360360+++ b/arch/powerpc/kernel/Makefile 
    361 @@ -97,9 +97,11 @@ obj-$(CONFIG_FUNCTION_GRAPH_TRACER)  += f 
     361@@ -104,9 +104,11 @@ obj32-$(CONFIG_PPC_PERF_CTRS)      += mpc7450 
    362362  
    363363 obj-$(CONFIG_8XX_MINIMAL_FPEMU) += softemu8xx.o 
     
    370370  
    371371 obj-$(CONFIG_PPC64)            += $(obj64-y) 
    372   
     372 obj-$(CONFIG_PPC32)            += $(obj32-y) 
    373373--- a/arch/powerpc/platforms/83xx/Kconfig 
    374374+++ b/arch/powerpc/platforms/83xx/Kconfig 
     
    733733--- a/arch/powerpc/sysdev/Makefile 
    734734+++ b/arch/powerpc/sysdev/Makefile 
    735 @@ -50,3 +50,5 @@ obj-$(CONFIG_UCODE_PATCH)     += micropatch. 
     735@@ -56,3 +56,5 @@ obj-$(CONFIG_PPC_MPC52xx)     += mpc5xxx_clo 
    736736 ifeq ($(CONFIG_SUSPEND),y) 
    737737 obj-$(CONFIG_6xx)              += 6xx-suspend.o 
     
    967967--- a/drivers/ata/Kconfig 
    968968+++ b/drivers/ata/Kconfig 
    969 @@ -734,5 +734,12 @@ config PATA_BF54X 
     969@@ -751,5 +751,12 @@ config PATA_BF54X 
    970970  
    971971          If unsure, say N. 
     
    982982--- a/drivers/ata/Makefile 
    983983+++ b/drivers/ata/Makefile 
    984 @@ -73,6 +73,7 @@ obj-$(CONFIG_PATA_OCTEON_CF)  += pata_oct 
    985  obj-$(CONFIG_PATA_PLATFORM)    += pata_platform.o 
     984@@ -75,6 +75,7 @@ obj-$(CONFIG_PATA_PLATFORM)   += pata_plat 
     985 obj-$(CONFIG_PATA_AT91)        += pata_at91.o 
    986986 obj-$(CONFIG_PATA_OF_PLATFORM) += pata_of_platform.o 
    987987 obj-$(CONFIG_PATA_ICSIDE)      += pata_icside.o 
     
    16961696--- a/drivers/mtd/nand/Kconfig 
    16971697+++ b/drivers/mtd/nand/Kconfig 
    1698 @@ -380,6 +380,13 @@ config MTD_NAND_PLATFORM 
     1698@@ -386,6 +386,13 @@ config MTD_NAND_PLATFORM 
    16991699          devices. You will need to provide platform-specific functions 
    17001700          via platform_data. 
     
    17121712--- a/drivers/mtd/nand/Makefile 
    17131713+++ b/drivers/mtd/nand/Makefile 
    1714 @@ -30,6 +30,7 @@ obj-$(CONFIG_MTD_NAND_BASLER_EXCITE)  +=  
     1714@@ -31,6 +31,7 @@ obj-$(CONFIG_MTD_NAND_BASLER_EXCITE)  +=  
    17151715 obj-$(CONFIG_MTD_NAND_PXA3xx)          += pxa3xx_nand.o 
    17161716 obj-$(CONFIG_MTD_NAND_TMIO)            += tmio_nand.o 
Note: See TracChangeset for help on using the changeset viewer.