* [PATCH 1/1 v4] AMCC PPC 460SX redwood SoC platform initial framework
From: Madhulika Madishetty @ 2009-02-05 23:31 UTC (permalink / raw)
To: linuxppc-dev
From: Madhulika Madishetty <mmadishetty@amcc.com>
This patch contains initial framework for the AMCC Redwood board.
Signed-off-by: Madhulika Madishetty <mmadishetty@amcc.com>
Signed-off-by: Tirumala Marri <tmarri@amcc.com>
Signed-off-by: Feng Kan <fkan@amcc.com>
Signed-off-by: Vidhyananth Venkatasamy <vvenkatasamy@amcc.com>
Signed-off-by: Preetesh Parekh <pparekh@amcc.com>
Acked-by: Loc Ho <lho@amcc.com>
Acked-by: Feng Kan <fkan@amcc.com>
---
arch/powerpc/boot/dts/redwood.dts | 244 ++++++
arch/powerpc/configs/44x/redwood_defconfig | 1176 =
++++++++++++++++++++++++++++
arch/powerpc/kernel/cpu_setup_44x.S | 1 +
arch/powerpc/kernel/cputable.c | 14 +
arch/powerpc/platforms/44x/Kconfig | 19 +
arch/powerpc/platforms/44x/ppc44x_simple.c | 1 +
6 files changed, 1455 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/boot/dts/redwood.dts
create mode 100644 arch/powerpc/configs/44x/redwood_defconfig
diff --git a/arch/powerpc/boot/dts/redwood.dts =
b/arch/powerpc/boot/dts/redwood.dts
new file mode 100644
index 0000000..ad402c4
--- /dev/null
+++ b/arch/powerpc/boot/dts/redwood.dts
@@ -0,0 +1,244 @@
+/*
+ * Device Tree Source for AMCC Redwood(460SX)
+ *
+ * Copyright 2008 AMCC <tmarri@amcc.com>
+ *
+ * This file is licensed under the terms of the GNU General Public
+ * License version 2. This program is licensed "as is" without
+ * any warranty of any kind, whether express or implied.
+ */
+
+/dts-v1/;
+
+/ {
+ #address-cells =3D <2>;
+ #size-cells =3D <1>;
+ model =3D "amcc,redwood";
+ compatible =3D "amcc,redwood";
+ dcr-parent =3D <&{/cpus/cpu@0}>;
+
+ aliases {
+ ethernet0 =3D &EMAC0;
+ serial0 =3D &UART0;
+ };
+
+ cpus {
+ #address-cells =3D <1>;
+ #size-cells =3D <0>;
+
+ cpu@0 {
+ device_type =3D "cpu";
+ model =3D "PowerPC,460SX";
+ reg =3D <0x00000000>;
+ clock-frequency =3D <0>; /* Filled in by U-Boot */
+ timebase-frequency =3D <0>; /* Filled in by U-Boot */
+ i-cache-line-size =3D <32>;
+ d-cache-line-size =3D <32>;
+ i-cache-size =3D <32768>;
+ d-cache-size =3D <32768>;
+ dcr-controller;
+ dcr-access-method =3D "native";
+ };
+ };
+
+ memory {
+ device_type =3D "memory";
+ reg =3D <0x00000000 0x00000000 0x00000000>; /* Filled in by U-Boot */
+ };
+
+ UIC0: interrupt-controller0 {
+ compatible =3D "ibm,uic-460sx","ibm,uic";
+ interrupt-controller;
+ cell-index =3D <0>;
+ dcr-reg =3D <0x0c0 0x009>;
+ #address-cells =3D <0>;
+ #size-cells =3D <0>;
+ #interrupt-cells =3D <2>;
+ };
+
+ UIC1: interrupt-controller1 {
+ compatible =3D "ibm,uic-460sx","ibm,uic";
+ interrupt-controller;
+ cell-index =3D <1>;
+ dcr-reg =3D <0x0d0 0x009>;
+ #address-cells =3D <0>;
+ #size-cells =3D <0>;
+ #interrupt-cells =3D <2>;
+ interrupts =3D <0x1e 0x4 0x1f 0x4>; /* cascade */
+ interrupt-parent =3D <&UIC0>;
+ };
+
+ UIC2: interrupt-controller2 {
+ compatible =3D "ibm,uic-460sx","ibm,uic";
+ interrupt-controller;
+ cell-index =3D <2>;
+ dcr-reg =3D <0x0e0 0x009>;
+ #address-cells =3D <0>;
+ #size-cells =3D <0>;
+ #interrupt-cells =3D <2>;
+ interrupts =3D <0xa 0x4 0xb 0x4>; /* cascade */
+ interrupt-parent =3D <&UIC0>;
+ };
+
+ UIC3: interrupt-controller3 {
+ compatible =3D "ibm,uic-460sx","ibm,uic";
+ interrupt-controller;
+ cell-index =3D <3>;
+ dcr-reg =3D <0x0f0 0x009>;
+ #address-cells =3D <0>;
+ #size-cells =3D <0>;
+ #interrupt-cells =3D <2>;
+ interrupts =3D <0x10 0x4 0x11 0x4>; /* cascade */
+ interrupt-parent =3D <&UIC0>;
+ };
+
+ SDR0: sdr {
+ compatible =3D "ibm,sdr-460sx";
+ dcr-reg =3D <0x00e 0x002>;
+ };
+
+ CPR0: cpr {
+ compatible =3D "ibm,cpr-460sx";
+ dcr-reg =3D <0x00c 0x002>;
+ };
+
+ plb {
+ compatible =3D "ibm,plb-460sx", "ibm,plb4";
+ #address-cells =3D <2>;
+ #size-cells =3D <1>;
+ ranges;
+ clock-frequency =3D <0>; /* Filled in by U-Boot */
+
+ SDRAM0: sdram {
+ compatible =3D "ibm,sdram-460sx", "ibm,sdram-405gp";
+ dcr-reg =3D <0x010 0x002>;
+ };
+
+ MAL0: mcmal {
+ compatible =3D "ibm,mcmal-460sx", "ibm,mcmal2";
+ dcr-reg =3D <0x180 0x62>;
+ num-tx-chans =3D <4>;
+ num-rx-chans =3D <32>;
+ #address-cells =3D <1>;
+ #size-cells =3D <1>;
+ interrupt-parent =3D <&UIC1>;
+ interrupts =3D < /*TXEOB*/ 0x6 0x4
+ /*RXEOB*/ 0x7 0x4
+ /*SERR*/ 0x1 0x4
+ /*TXDE*/ 0x2 0x4
+ /*RXDE*/ 0x3 0x4
+ /*COAL TX0*/ 0x18 0x2
+ /*COAL TX1*/ 0x19 0x2
+ /*COAL TX2*/ 0x1a 0x2
+ /*COAL TX3*/ 0x1b 0x2
+ /*COAL RX0*/ 0x1c 0x2
+ /*COAL RX1*/ 0x1d 0x2
+ /*COAL RX2*/ 0x1e 0x2
+ /*COAL RX3*/ 0x1f 0x2>;
+ };
+
+ POB0: opb {
+ compatible =3D "ibm,opb-460sx", "ibm,opb";
+ #address-cells =3D <1>;
+ #size-cells =3D <1>;
+ ranges =3D <0xb0000000 0x00000004 0xb0000000 0x50000000>;
+ clock-frequency =3D <0>; /* Filled in by U-Boot */
+
+ EBC0: ebc {
+ compatible =3D "ibm,ebc-460sx", "ibm,ebc";
+ dcr-reg =3D <0x012 0x002>;
+ #address-cells =3D <2>;
+ #size-cells =3D <1>;
+ clock-frequency =3D <0>; /* Filled in by U-Boot */
+ /* ranges property is supplied by U-Boot */
+ interrupts =3D <0x6 0x4>;
+ interrupt-parent =3D <&UIC1>;
+
+ nor_flash@0,0 {
+ compatible =3D "amd,s29gl512n", "cfi-flash";
+ bank-width =3D <2>;
+ reg =3D <0x0000000 0x00000000 0x04000000>;
+ #address-cells =3D <1>;
+ #size-cells =3D <1>;
+ partition@0 {
+ label =3D "kernel";
+ reg =3D <0x00000000 0x001e0000>;
+ };
+ partition@1e0000 {
+ label =3D "dtb";
+ reg =3D <0x001e0000 0x00020000>;
+ };
+ partition@200000 {
+ label =3D "ramdisk";
+ reg =3D <0x00200000 0x01400000>;
+ };
+ partition@1600000 {
+ label =3D "jffs2";
+ reg =3D <0x01600000 0x00400000>;
+ };
+ partition@1a00000 {
+ label =3D "user";
+ reg =3D <0x01a00000 0x02560000>;
+ };
+ partition@3f60000 {
+ label =3D "env";
+ reg =3D <0x03f60000 0x00040000>;
+ };
+ partition@3fa0000 {
+ label =3D "u-boot";
+ reg =3D <0x03fa0000 0x00060000>;
+ };
+ };
+ };
+
+ UART0: serial@ef600200 {
+ device_type =3D "serial";
+ compatible =3D "ns16550";
+ reg =3D <0xef600200 0x00000008>;
+ virtual-reg =3D <0xef600200>;
+ clock-frequency =3D <0>; /* Filled in by U-Boot */
+ current-speed =3D <0>; /* Filled in by U-Boot */
+ interrupt-parent =3D <&UIC0>;
+ interrupts =3D <0x0 0x4>;
+ };
+
+ RGMII0: emac-rgmii@ef600900 {
+ compatible =3D "ibm,rgmii-460sx", "ibm,rgmii";
+ reg =3D <0xef600900 0x00000008>;
+ };
+
+ EMAC0: ethernet@ef600a00 {
+ device_type =3D "network";
+ compatible =3D "ibm,emac-460sx", "ibm,emac4";
+ interrupt-parent =3D <&EMAC0>;
+ interrupts =3D <0x0 0x1>;
+ #interrupt-cells =3D <1>;
+ #address-cells =3D <0>;
+ #size-cells =3D <0>;
+ interrupt-map =3D </*Status*/ 0x0 &UIC0 0x13 0x4
+ /*Wake*/ 0x1 &UIC2 0x1d 0x4>;
+ reg =3D <0xef600a00 0x00000070>;
+ local-mac-address =3D [000000000000]; /* Filled in by U-Boot */
+ mal-device =3D <&MAL0>;
+ mal-tx-channel =3D <0>;
+ mal-rx-channel =3D <0>;
+ cell-index =3D <0>;
+ max-frame-size =3D <9000>;
+ rx-fifo-size =3D <4096>;
+ tx-fifo-size =3D <2048>;
+ phy-mode =3D "rgmii";
+ phy-map =3D <0x00000000>;
+ rgmii-device =3D <&RGMII0>;
+ rgmii-channel =3D <0>;
+ has-inverted-stacr-oc;
+ has-new-stacr-staopc;
+ };
+
+ };
+
+ };
+ chosen {
+ linux,stdout-path =3D "/plb/opb/serial@ef600200";
+ };
+
+};
diff --git a/arch/powerpc/configs/44x/redwood_defconfig =
b/arch/powerpc/configs/44x/redwood_defconfig
new file mode 100644
index 0000000..e665433
--- /dev/null
+++ b/arch/powerpc/configs/44x/redwood_defconfig
@@ -0,0 +1,1176 @@
+#
+# Automatically generated make config: don't edit
+# Linux kernel version: 2.6.29-rc3
+# Wed Feb 4 14:31:09 2009
+#
+# CONFIG_PPC64 is not set
+
+#
+# Processor support
+#
+# CONFIG_6xx is not set
+# CONFIG_PPC_85xx is not set
+# CONFIG_PPC_8xx is not set
+# CONFIG_40x is not set
+CONFIG_44x=3Dy
+# CONFIG_E200 is not set
+CONFIG_PPC_FPU=3Dy
+CONFIG_4xx=3Dy
+CONFIG_BOOKE=3Dy
+CONFIG_PTE_64BIT=3Dy
+CONFIG_PHYS_64BIT=3Dy
+CONFIG_PPC_MMU_NOHASH=3Dy
+# CONFIG_PPC_MM_SLICES is not set
+CONFIG_NOT_COHERENT_CACHE=3Dy
+CONFIG_PPC32=3Dy
+CONFIG_WORD_SIZE=3D32
+CONFIG_ARCH_PHYS_ADDR_T_64BIT=3Dy
+CONFIG_MMU=3Dy
+CONFIG_GENERIC_CMOS_UPDATE=3Dy
+CONFIG_GENERIC_TIME=3Dy
+CONFIG_GENERIC_TIME_VSYSCALL=3Dy
+CONFIG_GENERIC_CLOCKEVENTS=3Dy
+CONFIG_GENERIC_HARDIRQS=3Dy
+# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set
+CONFIG_IRQ_PER_CPU=3Dy
+CONFIG_STACKTRACE_SUPPORT=3Dy
+CONFIG_HAVE_LATENCYTOP_SUPPORT=3Dy
+CONFIG_LOCKDEP_SUPPORT=3Dy
+CONFIG_RWSEM_XCHGADD_ALGORITHM=3Dy
+CONFIG_ARCH_HAS_ILOG2_U32=3Dy
+CONFIG_GENERIC_HWEIGHT=3Dy
+CONFIG_GENERIC_CALIBRATE_DELAY=3Dy
+CONFIG_GENERIC_FIND_NEXT_BIT=3Dy
+# CONFIG_ARCH_NO_VIRT_TO_BUS is not set
+CONFIG_PPC=3Dy
+CONFIG_EARLY_PRINTK=3Dy
+CONFIG_GENERIC_NVRAM=3Dy
+CONFIG_SCHED_OMIT_FRAME_POINTER=3Dy
+CONFIG_ARCH_MAY_HAVE_PC_FDC=3Dy
+CONFIG_PPC_OF=3Dy
+CONFIG_OF=3Dy
+CONFIG_PPC_UDBG_16550=3Dy
+# CONFIG_GENERIC_TBSYNC is not set
+CONFIG_AUDIT_ARCH=3Dy
+CONFIG_GENERIC_BUG=3Dy
+# CONFIG_DEFAULT_UIMAGE is not set
+CONFIG_PPC_DCR_NATIVE=3Dy
+# CONFIG_PPC_DCR_MMIO is not set
+CONFIG_PPC_DCR=3Dy
+CONFIG_DEFCONFIG_LIST=3D"/lib/modules/$UNAME_RELEASE/.config"
+
+#
+# General setup
+#
+CONFIG_EXPERIMENTAL=3Dy
+CONFIG_BROKEN_ON_SMP=3Dy
+CONFIG_INIT_ENV_ARG_LIMIT=3D32
+CONFIG_LOCALVERSION=3D""
+CONFIG_LOCALVERSION_AUTO=3Dy
+CONFIG_SWAP=3Dy
+CONFIG_SYSVIPC=3Dy
+CONFIG_SYSVIPC_SYSCTL=3Dy
+CONFIG_POSIX_MQUEUE=3Dy
+# CONFIG_BSD_PROCESS_ACCT is not set
+# CONFIG_TASKSTATS is not set
+# CONFIG_AUDIT is not set
+
+#
+# RCU Subsystem
+#
+CONFIG_CLASSIC_RCU=3Dy
+# CONFIG_TREE_RCU is not set
+# CONFIG_PREEMPT_RCU is not set
+# CONFIG_TREE_RCU_TRACE is not set
+# CONFIG_PREEMPT_RCU_TRACE is not set
+# CONFIG_IKCONFIG is not set
+CONFIG_LOG_BUF_SHIFT=3D14
+# CONFIG_GROUP_SCHED is not set
+# CONFIG_CGROUPS is not set
+CONFIG_SYSFS_DEPRECATED=3Dy
+CONFIG_SYSFS_DEPRECATED_V2=3Dy
+# CONFIG_RELAY is not set
+# CONFIG_NAMESPACES is not set
+CONFIG_BLK_DEV_INITRD=3Dy
+CONFIG_INITRAMFS_SOURCE=3D""
+# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
+CONFIG_SYSCTL=3Dy
+CONFIG_EMBEDDED=3Dy
+CONFIG_SYSCTL_SYSCALL=3Dy
+CONFIG_KALLSYMS=3Dy
+# CONFIG_KALLSYMS_ALL is not set
+# CONFIG_KALLSYMS_EXTRA_PASS is not set
+CONFIG_HOTPLUG=3Dy
+CONFIG_PRINTK=3Dy
+CONFIG_BUG=3Dy
+CONFIG_ELF_CORE=3Dy
+CONFIG_COMPAT_BRK=3Dy
+CONFIG_BASE_FULL=3Dy
+CONFIG_FUTEX=3Dy
+CONFIG_ANON_INODES=3Dy
+CONFIG_EPOLL=3Dy
+CONFIG_SIGNALFD=3Dy
+CONFIG_TIMERFD=3Dy
+CONFIG_EVENTFD=3Dy
+CONFIG_SHMEM=3Dy
+CONFIG_AIO=3Dy
+CONFIG_VM_EVENT_COUNTERS=3Dy
+CONFIG_PCI_QUIRKS=3Dy
+CONFIG_SLUB_DEBUG=3Dy
+# CONFIG_SLAB is not set
+CONFIG_SLUB=3Dy
+# CONFIG_SLOB is not set
+# CONFIG_PROFILING is not set
+CONFIG_HAVE_OPROFILE=3Dy
+# CONFIG_KPROBES is not set
+CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=3Dy
+CONFIG_HAVE_IOREMAP_PROT=3Dy
+CONFIG_HAVE_KPROBES=3Dy
+CONFIG_HAVE_KRETPROBES=3Dy
+CONFIG_HAVE_ARCH_TRACEHOOK=3Dy
+# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
+CONFIG_SLABINFO=3Dy
+CONFIG_RT_MUTEXES=3Dy
+CONFIG_BASE_SMALL=3D0
+CONFIG_MODULES=3Dy
+# CONFIG_MODULE_FORCE_LOAD is not set
+CONFIG_MODULE_UNLOAD=3Dy
+# CONFIG_MODULE_FORCE_UNLOAD is not set
+# CONFIG_MODVERSIONS is not set
+# CONFIG_MODULE_SRCVERSION_ALL is not set
+CONFIG_BLOCK=3Dy
+CONFIG_LBD=3Dy
+# CONFIG_BLK_DEV_IO_TRACE is not set
+# CONFIG_BLK_DEV_BSG is not set
+# CONFIG_BLK_DEV_INTEGRITY is not set
+
+#
+# IO Schedulers
+#
+CONFIG_IOSCHED_NOOP=3Dy
+CONFIG_IOSCHED_AS=3Dy
+CONFIG_IOSCHED_DEADLINE=3Dy
+CONFIG_IOSCHED_CFQ=3Dy
+CONFIG_DEFAULT_AS=3Dy
+# CONFIG_DEFAULT_DEADLINE is not set
+# CONFIG_DEFAULT_CFQ is not set
+# CONFIG_DEFAULT_NOOP is not set
+CONFIG_DEFAULT_IOSCHED=3D"anticipatory"
+# CONFIG_FREEZER is not set
+CONFIG_PPC4xx_PCI_EXPRESS=3Dy
+
+#
+# Platform support
+#
+# CONFIG_PPC_CELL is not set
+# CONFIG_PPC_CELL_NATIVE is not set
+# CONFIG_PQ2ADS is not set
+# CONFIG_BAMBOO is not set
+# CONFIG_EBONY is not set
+# CONFIG_SAM440EP is not set
+# CONFIG_SEQUOIA is not set
+# CONFIG_TAISHAN is not set
+# CONFIG_KATMAI is not set
+# CONFIG_RAINIER is not set
+# CONFIG_WARP is not set
+# CONFIG_ARCHES is not set
+# CONFIG_CANYONLANDS is not set
+# CONFIG_GLACIER is not set
+CONFIG_REDWOOD=3Dy
+# CONFIG_YOSEMITE is not set
+# CONFIG_XILINX_VIRTEX440_GENERIC_BOARD is not set
+CONFIG_PPC44x_SIMPLE=3Dy
+# CONFIG_PPC4xx_GPIO is not set
+CONFIG_460SX=3Dy
+# CONFIG_IPIC is not set
+# CONFIG_MPIC is not set
+# CONFIG_MPIC_WEIRD is not set
+# CONFIG_PPC_I8259 is not set
+# CONFIG_PPC_RTAS is not set
+# CONFIG_MMIO_NVRAM is not set
+# CONFIG_PPC_MPC106 is not set
+# CONFIG_PPC_970_NAP is not set
+# CONFIG_PPC_INDIRECT_IO is not set
+# CONFIG_GENERIC_IOMAP is not set
+# CONFIG_CPU_FREQ is not set
+# CONFIG_FSL_ULI1575 is not set
+# CONFIG_SIMPLE_GPIO is not set
+
+#
+# Kernel options
+#
+# CONFIG_HIGHMEM is not set
+CONFIG_TICK_ONESHOT=3Dy
+CONFIG_NO_HZ=3Dy
+CONFIG_HIGH_RES_TIMERS=3Dy
+CONFIG_GENERIC_CLOCKEVENTS_BUILD=3Dy
+# CONFIG_HZ_100 is not set
+CONFIG_HZ_250=3Dy
+# CONFIG_HZ_300 is not set
+# CONFIG_HZ_1000 is not set
+CONFIG_HZ=3D250
+CONFIG_SCHED_HRTICK=3Dy
+CONFIG_PREEMPT_NONE=3Dy
+# CONFIG_PREEMPT_VOLUNTARY is not set
+# CONFIG_PREEMPT is not set
+CONFIG_BINFMT_ELF=3Dy
+# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+# CONFIG_HAVE_AOUT is not set
+# CONFIG_BINFMT_MISC is not set
+# CONFIG_MATH_EMULATION is not set
+# CONFIG_IOMMU_HELPER is not set
+CONFIG_PPC_NEED_DMA_SYNC_OPS=3Dy
+CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=3Dy
+CONFIG_ARCH_HAS_WALK_MEMORY=3Dy
+CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=3Dy
+CONFIG_ARCH_FLATMEM_ENABLE=3Dy
+CONFIG_ARCH_POPULATES_NODE_MAP=3Dy
+CONFIG_SELECT_MEMORY_MODEL=3Dy
+CONFIG_FLATMEM_MANUAL=3Dy
+# CONFIG_DISCONTIGMEM_MANUAL is not set
+# CONFIG_SPARSEMEM_MANUAL is not set
+CONFIG_FLATMEM=3Dy
+CONFIG_FLAT_NODE_MEM_MAP=3Dy
+CONFIG_PAGEFLAGS_EXTENDED=3Dy
+CONFIG_SPLIT_PTLOCK_CPUS=3D4
+CONFIG_MIGRATION=3Dy
+CONFIG_PHYS_ADDR_T_64BIT=3Dy
+CONFIG_ZONE_DMA_FLAG=3D1
+CONFIG_BOUNCE=3Dy
+CONFIG_VIRT_TO_BUS=3Dy
+CONFIG_UNEVICTABLE_LRU=3Dy
+CONFIG_PPC_4K_PAGES=3Dy
+# CONFIG_PPC_16K_PAGES is not set
+# CONFIG_PPC_64K_PAGES is not set
+CONFIG_FORCE_MAX_ZONEORDER=3D11
+CONFIG_PROC_DEVICETREE=3Dy
+CONFIG_CMDLINE_BOOL=3Dy
+CONFIG_CMDLINE=3D""
+CONFIG_EXTRA_TARGETS=3D""
+CONFIG_SECCOMP=3Dy
+CONFIG_ISA_DMA_API=3Dy
+
+#
+# Bus options
+#
+CONFIG_ZONE_DMA=3Dy
+CONFIG_PPC_INDIRECT_PCI=3Dy
+CONFIG_4xx_SOC=3Dy
+CONFIG_PPC_PCI_CHOICE=3Dy
+CONFIG_PCI=3Dy
+CONFIG_PCI_DOMAINS=3Dy
+CONFIG_PCI_SYSCALL=3Dy
+CONFIG_PCIEPORTBUS=3Dy
+CONFIG_PCIEAER=3Dy
+# CONFIG_PCIEASPM is not set
+CONFIG_ARCH_SUPPORTS_MSI=3Dy
+# CONFIG_PCI_MSI is not set
+CONFIG_PCI_LEGACY=3Dy
+# CONFIG_PCI_DEBUG is not set
+# CONFIG_PCI_STUB is not set
+# CONFIG_PCCARD is not set
+# CONFIG_HOTPLUG_PCI is not set
+# CONFIG_HAS_RAPIDIO is not set
+
+#
+# Advanced setup
+#
+# CONFIG_ADVANCED_OPTIONS is not set
+
+#
+# Default settings for advanced configuration options are used
+#
+CONFIG_LOWMEM_SIZE=3D0x30000000
+CONFIG_PAGE_OFFSET=3D0xc0000000
+CONFIG_KERNEL_START=3D0xc0000000
+CONFIG_PHYSICAL_START=3D0x00000000
+CONFIG_TASK_SIZE=3D0xc0000000
+CONFIG_CONSISTENT_START=3D0xff100000
+CONFIG_CONSISTENT_SIZE=3D0x00200000
+CONFIG_NET=3Dy
+
+#
+# Networking options
+#
+CONFIG_COMPAT_NET_DEV_OPS=3Dy
+CONFIG_PACKET=3Dy
+# CONFIG_PACKET_MMAP is not set
+CONFIG_UNIX=3Dy
+# CONFIG_NET_KEY is not set
+CONFIG_INET=3Dy
+# CONFIG_IP_MULTICAST is not set
+# CONFIG_IP_ADVANCED_ROUTER is not set
+CONFIG_IP_FIB_HASH=3Dy
+CONFIG_IP_PNP=3Dy
+CONFIG_IP_PNP_DHCP=3Dy
+CONFIG_IP_PNP_BOOTP=3Dy
+# CONFIG_IP_PNP_RARP is not set
+# CONFIG_NET_IPIP is not set
+# CONFIG_NET_IPGRE is not set
+# CONFIG_ARPD is not set
+# CONFIG_SYN_COOKIES is not set
+# CONFIG_INET_AH is not set
+# CONFIG_INET_ESP is not set
+# CONFIG_INET_IPCOMP is not set
+# CONFIG_INET_XFRM_TUNNEL is not set
+# CONFIG_INET_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
+# CONFIG_INET_XFRM_MODE_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_BEET is not set
+# CONFIG_INET_LRO is not set
+CONFIG_INET_DIAG=3Dy
+CONFIG_INET_TCP_DIAG=3Dy
+# CONFIG_TCP_CONG_ADVANCED is not set
+CONFIG_TCP_CONG_CUBIC=3Dy
+CONFIG_DEFAULT_TCP_CONG=3D"cubic"
+# CONFIG_TCP_MD5SIG is not set
+# CONFIG_IPV6 is not set
+# CONFIG_NETWORK_SECMARK is not set
+# CONFIG_NETFILTER is not set
+# CONFIG_IP_DCCP is not set
+# CONFIG_IP_SCTP is not set
+# CONFIG_TIPC is not set
+# CONFIG_ATM is not set
+# CONFIG_BRIDGE is not set
+# CONFIG_NET_DSA is not set
+# CONFIG_VLAN_8021Q is not set
+# CONFIG_DECNET is not set
+# CONFIG_LLC2 is not set
+# CONFIG_IPX is not set
+# CONFIG_ATALK is not set
+# CONFIG_X25 is not set
+# CONFIG_LAPB is not set
+# CONFIG_ECONET is not set
+# CONFIG_WAN_ROUTER is not set
+# CONFIG_NET_SCHED is not set
+# CONFIG_DCB is not set
+
+#
+# Network testing
+#
+# CONFIG_NET_PKTGEN is not set
+# CONFIG_HAMRADIO is not set
+# CONFIG_CAN is not set
+# CONFIG_IRDA is not set
+# CONFIG_BT is not set
+# CONFIG_AF_RXRPC is not set
+# CONFIG_PHONET is not set
+CONFIG_WIRELESS=3Dy
+# CONFIG_CFG80211 is not set
+CONFIG_WIRELESS_OLD_REGULATORY=3Dy
+# CONFIG_WIRELESS_EXT is not set
+# CONFIG_LIB80211 is not set
+# CONFIG_MAC80211 is not set
+# CONFIG_WIMAX is not set
+# CONFIG_RFKILL is not set
+# CONFIG_NET_9P is not set
+
+#
+# Device Drivers
+#
+
+#
+# Generic Driver Options
+#
+CONFIG_UEVENT_HELPER_PATH=3D"/sbin/hotplug"
+CONFIG_STANDALONE=3Dy
+CONFIG_PREVENT_FIRMWARE_BUILD=3Dy
+CONFIG_FW_LOADER=3Dy
+CONFIG_FIRMWARE_IN_KERNEL=3Dy
+CONFIG_EXTRA_FIRMWARE=3D""
+# CONFIG_DEBUG_DRIVER is not set
+# CONFIG_DEBUG_DEVRES is not set
+# CONFIG_SYS_HYPERVISOR is not set
+CONFIG_CONNECTOR=3Dy
+CONFIG_PROC_EVENTS=3Dy
+CONFIG_MTD=3Dy
+# CONFIG_MTD_DEBUG is not set
+CONFIG_MTD_CONCAT=3Dy
+CONFIG_MTD_PARTITIONS=3Dy
+# CONFIG_MTD_TESTS is not set
+# CONFIG_MTD_REDBOOT_PARTS is not set
+CONFIG_MTD_CMDLINE_PARTS=3Dy
+CONFIG_MTD_OF_PARTS=3Dy
+# CONFIG_MTD_AR7_PARTS is not set
+
+#
+# User Modules And Translation Layers
+#
+CONFIG_MTD_CHAR=3Dy
+CONFIG_MTD_BLKDEVS=3Dy
+CONFIG_MTD_BLOCK=3Dy
+# CONFIG_FTL is not set
+# CONFIG_NFTL is not set
+# CONFIG_INFTL is not set
+# CONFIG_RFD_FTL is not set
+# CONFIG_SSFDC is not set
+# CONFIG_MTD_OOPS is not set
+
+#
+# RAM/ROM/Flash chip drivers
+#
+CONFIG_MTD_CFI=3Dy
+# CONFIG_MTD_JEDECPROBE is not set
+CONFIG_MTD_GEN_PROBE=3Dy
+# CONFIG_MTD_CFI_ADV_OPTIONS is not set
+CONFIG_MTD_MAP_BANK_WIDTH_1=3Dy
+CONFIG_MTD_MAP_BANK_WIDTH_2=3Dy
+CONFIG_MTD_MAP_BANK_WIDTH_4=3Dy
+# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
+CONFIG_MTD_CFI_I1=3Dy
+CONFIG_MTD_CFI_I2=3Dy
+# CONFIG_MTD_CFI_I4 is not set
+# CONFIG_MTD_CFI_I8 is not set
+# CONFIG_MTD_CFI_INTELEXT is not set
+CONFIG_MTD_CFI_AMDSTD=3Dy
+# CONFIG_MTD_CFI_STAA is not set
+CONFIG_MTD_CFI_UTIL=3Dy
+# CONFIG_MTD_RAM is not set
+# CONFIG_MTD_ROM is not set
+# CONFIG_MTD_ABSENT is not set
+
+#
+# Mapping drivers for chip access
+#
+# CONFIG_MTD_COMPLEX_MAPPINGS is not set
+# CONFIG_MTD_PHYSMAP is not set
+CONFIG_MTD_PHYSMAP_OF=3Dy
+# CONFIG_MTD_INTEL_VR_NOR is not set
+# CONFIG_MTD_PLATRAM is not set
+
+#
+# Self-contained MTD device drivers
+#
+# CONFIG_MTD_PMC551 is not set
+# CONFIG_MTD_SLRAM is not set
+# CONFIG_MTD_PHRAM is not set
+# CONFIG_MTD_MTDRAM is not set
+# CONFIG_MTD_BLOCK2MTD is not set
+
+#
+# Disk-On-Chip Device Drivers
+#
+# CONFIG_MTD_DOC2000 is not set
+# CONFIG_MTD_DOC2001 is not set
+# CONFIG_MTD_DOC2001PLUS is not set
+# CONFIG_MTD_NAND is not set
+# CONFIG_MTD_ONENAND is not set
+
+#
+# LPDDR flash memory drivers
+#
+# CONFIG_MTD_LPDDR is not set
+# CONFIG_MTD_QINFO_PROBE is not set
+
+#
+# UBI - Unsorted block images
+#
+# CONFIG_MTD_UBI is not set
+CONFIG_OF_DEVICE=3Dy
+CONFIG_OF_I2C=3Dy
+# CONFIG_PARPORT is not set
+CONFIG_BLK_DEV=3Dy
+# CONFIG_BLK_DEV_FD is not set
+# CONFIG_BLK_CPQ_DA is not set
+# CONFIG_BLK_CPQ_CISS_DA is not set
+# CONFIG_BLK_DEV_DAC960 is not set
+# CONFIG_BLK_DEV_UMEM is not set
+# CONFIG_BLK_DEV_COW_COMMON is not set
+# CONFIG_BLK_DEV_LOOP is not set
+# CONFIG_BLK_DEV_NBD is not set
+# CONFIG_BLK_DEV_SX8 is not set
+CONFIG_BLK_DEV_RAM=3Dy
+CONFIG_BLK_DEV_RAM_COUNT=3D16
+CONFIG_BLK_DEV_RAM_SIZE=3D35000
+# CONFIG_BLK_DEV_XIP is not set
+# CONFIG_CDROM_PKTCDVD is not set
+# CONFIG_ATA_OVER_ETH is not set
+# CONFIG_XILINX_SYSACE is not set
+# CONFIG_BLK_DEV_HD is not set
+# CONFIG_MISC_DEVICES is not set
+CONFIG_HAVE_IDE=3Dy
+# CONFIG_IDE is not set
+
+#
+# SCSI device support
+#
+# CONFIG_RAID_ATTRS is not set
+CONFIG_SCSI=3Dy
+CONFIG_SCSI_DMA=3Dy
+# CONFIG_SCSI_TGT is not set
+# CONFIG_SCSI_NETLINK is not set
+CONFIG_SCSI_PROC_FS=3Dy
+
+#
+# SCSI support type (disk, tape, CD-ROM)
+#
+CONFIG_BLK_DEV_SD=3Dy
+# CONFIG_CHR_DEV_ST is not set
+# CONFIG_CHR_DEV_OSST is not set
+# CONFIG_BLK_DEV_SR is not set
+CONFIG_CHR_DEV_SG=3Dy
+# CONFIG_CHR_DEV_SCH is not set
+
+#
+# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
+#
+# CONFIG_SCSI_MULTI_LUN is not set
+# CONFIG_SCSI_CONSTANTS is not set
+# CONFIG_SCSI_LOGGING is not set
+# CONFIG_SCSI_SCAN_ASYNC is not set
+CONFIG_SCSI_WAIT_SCAN=3Dm
+
+#
+# SCSI Transports
+#
+# CONFIG_SCSI_SPI_ATTRS is not set
+# CONFIG_SCSI_FC_ATTRS is not set
+# CONFIG_SCSI_ISCSI_ATTRS is not set
+CONFIG_SCSI_SAS_ATTRS=3Dy
+# CONFIG_SCSI_SAS_LIBSAS is not set
+# CONFIG_SCSI_SRP_ATTRS is not set
+CONFIG_SCSI_LOWLEVEL=3Dy
+# CONFIG_ISCSI_TCP is not set
+# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
+# CONFIG_SCSI_3W_9XXX is not set
+# CONFIG_SCSI_ACARD is not set
+# CONFIG_SCSI_AACRAID is not set
+# CONFIG_SCSI_AIC7XXX is not set
+# CONFIG_SCSI_AIC7XXX_OLD is not set
+# CONFIG_SCSI_AIC79XX is not set
+# CONFIG_SCSI_AIC94XX is not set
+# CONFIG_SCSI_DPT_I2O is not set
+# CONFIG_SCSI_ADVANSYS is not set
+# CONFIG_SCSI_ARCMSR is not set
+# CONFIG_MEGARAID_NEWGEN is not set
+# CONFIG_MEGARAID_LEGACY is not set
+# CONFIG_MEGARAID_SAS is not set
+# CONFIG_SCSI_HPTIOP is not set
+# CONFIG_SCSI_BUSLOGIC is not set
+# CONFIG_LIBFC is not set
+# CONFIG_FCOE is not set
+# CONFIG_SCSI_DMX3191D is not set
+# CONFIG_SCSI_EATA is not set
+# CONFIG_SCSI_FUTURE_DOMAIN is not set
+# CONFIG_SCSI_GDTH is not set
+# CONFIG_SCSI_IPS is not set
+# CONFIG_SCSI_INITIO is not set
+# CONFIG_SCSI_INIA100 is not set
+# CONFIG_SCSI_MVSAS is not set
+# CONFIG_SCSI_STEX is not set
+# CONFIG_SCSI_SYM53C8XX_2 is not set
+# CONFIG_SCSI_QLOGIC_1280 is not set
+# CONFIG_SCSI_QLA_FC is not set
+# CONFIG_SCSI_QLA_ISCSI is not set
+# CONFIG_SCSI_LPFC is not set
+# CONFIG_SCSI_DC395x is not set
+# CONFIG_SCSI_DC390T is not set
+# CONFIG_SCSI_NSP32 is not set
+# CONFIG_SCSI_DEBUG is not set
+# CONFIG_SCSI_SRP is not set
+# CONFIG_SCSI_DH is not set
+# CONFIG_ATA is not set
+# CONFIG_MD is not set
+CONFIG_FUSION=3Dy
+# CONFIG_FUSION_SPI is not set
+# CONFIG_FUSION_FC is not set
+CONFIG_FUSION_SAS=3Dy
+CONFIG_FUSION_MAX_SGE=3D128
+# CONFIG_FUSION_CTL is not set
+# CONFIG_FUSION_LOGGING is not set
+
+#
+# IEEE 1394 (FireWire) support
+#
+
+#
+# Enable only one of the two stacks, unless you know what you are doing
+#
+# CONFIG_FIREWIRE is not set
+# CONFIG_IEEE1394 is not set
+CONFIG_I2O=3Dy
+CONFIG_I2O_LCT_NOTIFY_ON_CHANGES=3Dy
+CONFIG_I2O_EXT_ADAPTEC=3Dy
+# CONFIG_I2O_CONFIG is not set
+# CONFIG_I2O_BUS is not set
+# CONFIG_I2O_BLOCK is not set
+# CONFIG_I2O_SCSI is not set
+# CONFIG_I2O_PROC is not set
+# CONFIG_MACINTOSH_DRIVERS is not set
+CONFIG_NETDEVICES=3Dy
+# CONFIG_DUMMY is not set
+# CONFIG_BONDING is not set
+# CONFIG_MACVLAN is not set
+# CONFIG_EQUALIZER is not set
+# CONFIG_TUN is not set
+# CONFIG_VETH is not set
+# CONFIG_ARCNET is not set
+# CONFIG_PHYLIB is not set
+CONFIG_NET_ETHERNET=3Dy
+# CONFIG_MII is not set
+# CONFIG_HAPPYMEAL is not set
+# CONFIG_SUNGEM is not set
+# CONFIG_CASSINI is not set
+# CONFIG_NET_VENDOR_3COM is not set
+# CONFIG_NET_TULIP is not set
+# CONFIG_HP100 is not set
+CONFIG_IBM_NEW_EMAC=3Dy
+CONFIG_IBM_NEW_EMAC_RXB=3D256
+CONFIG_IBM_NEW_EMAC_TXB=3D256
+CONFIG_IBM_NEW_EMAC_POLL_WEIGHT=3D32
+CONFIG_IBM_NEW_EMAC_RX_COPY_THRESHOLD=3D256
+CONFIG_IBM_NEW_EMAC_RX_SKB_HEADROOM=3D0
+CONFIG_IBM_NEW_EMAC_DEBUG=3Dy
+CONFIG_IBM_NEW_EMAC_ZMII=3Dy
+CONFIG_IBM_NEW_EMAC_RGMII=3Dy
+CONFIG_IBM_NEW_EMAC_TAH=3Dy
+CONFIG_IBM_NEW_EMAC_EMAC4=3Dy
+# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set
+# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set
+# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set
+# CONFIG_NET_PCI is not set
+# CONFIG_B44 is not set
+# CONFIG_ATL2 is not set
+CONFIG_NETDEV_1000=3Dy
+# CONFIG_ACENIC is not set
+# CONFIG_DL2K is not set
+# CONFIG_E1000 is not set
+CONFIG_E1000E=3Dy
+# CONFIG_IP1000 is not set
+# CONFIG_IGB is not set
+# CONFIG_NS83820 is not set
+# CONFIG_HAMACHI is not set
+# CONFIG_YELLOWFIN is not set
+# CONFIG_R8169 is not set
+# CONFIG_SIS190 is not set
+# CONFIG_SKGE is not set
+# CONFIG_SKY2 is not set
+# CONFIG_VIA_VELOCITY is not set
+# CONFIG_TIGON3 is not set
+# CONFIG_BNX2 is not set
+# CONFIG_QLA3XXX is not set
+# CONFIG_ATL1 is not set
+# CONFIG_ATL1E is not set
+# CONFIG_JME is not set
+# CONFIG_NETDEV_10000 is not set
+# CONFIG_TR is not set
+
+#
+# Wireless LAN
+#
+# CONFIG_WLAN_PRE80211 is not set
+# CONFIG_WLAN_80211 is not set
+# CONFIG_IWLWIFI_LEDS is not set
+
+#
+# Enable WiMAX (Networking options) to see the WiMAX drivers
+#
+# CONFIG_WAN is not set
+# CONFIG_FDDI is not set
+# CONFIG_HIPPI is not set
+# CONFIG_PPP is not set
+# CONFIG_SLIP is not set
+# CONFIG_NET_FC is not set
+# CONFIG_NETCONSOLE is not set
+# CONFIG_NETPOLL is not set
+# CONFIG_NET_POLL_CONTROLLER is not set
+# CONFIG_ISDN is not set
+# CONFIG_PHONE is not set
+
+#
+# Input device support
+#
+# CONFIG_INPUT is not set
+
+#
+# Hardware I/O ports
+#
+# CONFIG_SERIO is not set
+# CONFIG_GAMEPORT is not set
+
+#
+# Character devices
+#
+# CONFIG_VT is not set
+CONFIG_DEVKMEM=3Dy
+# CONFIG_SERIAL_NONSTANDARD is not set
+# CONFIG_NOZOMI is not set
+
+#
+# Serial drivers
+#
+CONFIG_SERIAL_8250=3Dy
+CONFIG_SERIAL_8250_CONSOLE=3Dy
+# CONFIG_SERIAL_8250_PCI is not set
+CONFIG_SERIAL_8250_NR_UARTS=3D1
+CONFIG_SERIAL_8250_RUNTIME_UARTS=3D1
+CONFIG_SERIAL_8250_EXTENDED=3Dy
+# CONFIG_SERIAL_8250_MANY_PORTS is not set
+CONFIG_SERIAL_8250_SHARE_IRQ=3Dy
+# CONFIG_SERIAL_8250_DETECT_IRQ is not set
+# CONFIG_SERIAL_8250_RSA is not set
+
+#
+# Non-8250 serial port support
+#
+# CONFIG_SERIAL_UARTLITE is not set
+CONFIG_SERIAL_CORE=3Dy
+CONFIG_SERIAL_CORE_CONSOLE=3Dy
+# CONFIG_SERIAL_JSM is not set
+CONFIG_SERIAL_OF_PLATFORM=3Dy
+# CONFIG_SERIAL_OF_PLATFORM_NWPSERIAL is not set
+CONFIG_UNIX98_PTYS=3Dy
+# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
+CONFIG_LEGACY_PTYS=3Dy
+CONFIG_LEGACY_PTY_COUNT=3D256
+# CONFIG_HVC_UDBG is not set
+# CONFIG_IPMI_HANDLER is not set
+# CONFIG_HW_RANDOM is not set
+# CONFIG_NVRAM is not set
+# CONFIG_GEN_RTC is not set
+# CONFIG_R3964 is not set
+# CONFIG_APPLICOM is not set
+# CONFIG_RAW_DRIVER is not set
+# CONFIG_TCG_TPM is not set
+CONFIG_DEVPORT=3Dy
+CONFIG_I2C=3Dy
+CONFIG_I2C_BOARDINFO=3Dy
+CONFIG_I2C_CHARDEV=3Dy
+CONFIG_I2C_HELPER_AUTO=3Dy
+
+#
+# I2C Hardware Bus support
+#
+
+#
+# PC SMBus host controller drivers
+#
+# CONFIG_I2C_ALI1535 is not set
+# CONFIG_I2C_ALI1563 is not set
+# CONFIG_I2C_ALI15X3 is not set
+# CONFIG_I2C_AMD756 is not set
+# CONFIG_I2C_AMD8111 is not set
+# CONFIG_I2C_I801 is not set
+# CONFIG_I2C_ISCH is not set
+# CONFIG_I2C_PIIX4 is not set
+# CONFIG_I2C_NFORCE2 is not set
+# CONFIG_I2C_SIS5595 is not set
+# CONFIG_I2C_SIS630 is not set
+# CONFIG_I2C_SIS96X is not set
+# CONFIG_I2C_VIA is not set
+# CONFIG_I2C_VIAPRO is not set
+
+#
+# I2C system bus drivers (mostly embedded / system-on-chip)
+#
+CONFIG_I2C_IBM_IIC=3Dy
+# CONFIG_I2C_MPC is not set
+# CONFIG_I2C_OCORES is not set
+# CONFIG_I2C_SIMTEC is not set
+
+#
+# External I2C/SMBus adapter drivers
+#
+# CONFIG_I2C_PARPORT_LIGHT is not set
+# CONFIG_I2C_TAOS_EVM is not set
+
+#
+# Graphics adapter I2C/DDC channel drivers
+#
+# CONFIG_I2C_VOODOO3 is not set
+
+#
+# Other I2C/SMBus bus drivers
+#
+# CONFIG_I2C_PCA_PLATFORM is not set
+# CONFIG_I2C_STUB is not set
+
+#
+# Miscellaneous I2C Chip support
+#
+# CONFIG_DS1682 is not set
+# CONFIG_SENSORS_PCF8574 is not set
+# CONFIG_PCF8575 is not set
+# CONFIG_SENSORS_PCA9539 is not set
+# CONFIG_SENSORS_PCF8591 is not set
+# CONFIG_SENSORS_MAX6875 is not set
+# CONFIG_SENSORS_TSL2550 is not set
+CONFIG_I2C_DEBUG_CORE=3Dy
+CONFIG_I2C_DEBUG_ALGO=3Dy
+CONFIG_I2C_DEBUG_BUS=3Dy
+CONFIG_I2C_DEBUG_CHIP=3Dy
+# CONFIG_SPI is not set
+CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=3Dy
+# CONFIG_GPIOLIB is not set
+# CONFIG_W1 is not set
+# CONFIG_POWER_SUPPLY is not set
+# CONFIG_HWMON is not set
+# CONFIG_THERMAL is not set
+# CONFIG_THERMAL_HWMON is not set
+# CONFIG_WATCHDOG is not set
+CONFIG_SSB_POSSIBLE=3Dy
+
+#
+# Sonics Silicon Backplane
+#
+# CONFIG_SSB is not set
+
+#
+# Multifunction device drivers
+#
+# CONFIG_MFD_CORE is not set
+# CONFIG_MFD_SM501 is not set
+# CONFIG_HTC_PASIC3 is not set
+# CONFIG_TWL4030_CORE is not set
+# CONFIG_MFD_TMIO is not set
+# CONFIG_PMIC_DA903X is not set
+# CONFIG_MFD_WM8400 is not set
+# CONFIG_MFD_WM8350_I2C is not set
+# CONFIG_MFD_PCF50633 is not set
+# CONFIG_REGULATOR is not set
+
+#
+# Multimedia devices
+#
+
+#
+# Multimedia core support
+#
+# CONFIG_VIDEO_DEV is not set
+# CONFIG_DVB_CORE is not set
+# CONFIG_VIDEO_MEDIA is not set
+
+#
+# Multimedia drivers
+#
+CONFIG_DAB=3Dy
+
+#
+# Graphics support
+#
+# CONFIG_AGP is not set
+# CONFIG_DRM is not set
+# CONFIG_VGASTATE is not set
+CONFIG_VIDEO_OUTPUT_CONTROL=3Dm
+# CONFIG_FB is not set
+# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
+
+#
+# Display device support
+#
+# CONFIG_DISPLAY_SUPPORT is not set
+# CONFIG_SOUND is not set
+# CONFIG_USB_SUPPORT is not set
+# CONFIG_UWB is not set
+# CONFIG_MMC is not set
+# CONFIG_MEMSTICK is not set
+# CONFIG_NEW_LEDS is not set
+# CONFIG_ACCESSIBILITY is not set
+# CONFIG_INFINIBAND is not set
+# CONFIG_EDAC is not set
+# CONFIG_RTC_CLASS is not set
+CONFIG_DMADEVICES=3Dy
+
+#
+# DMA Devices
+#
+# CONFIG_UIO is not set
+# CONFIG_STAGING is not set
+
+#
+# File systems
+#
+CONFIG_EXT2_FS=3Dy
+# CONFIG_EXT2_FS_XATTR is not set
+# CONFIG_EXT2_FS_XIP is not set
+# CONFIG_EXT3_FS is not set
+# CONFIG_EXT4_FS is not set
+# CONFIG_REISERFS_FS is not set
+# CONFIG_JFS_FS is not set
+# CONFIG_FS_POSIX_ACL is not set
+CONFIG_FILE_LOCKING=3Dy
+# CONFIG_XFS_FS is not set
+# CONFIG_GFS2_FS is not set
+# CONFIG_OCFS2_FS is not set
+# CONFIG_BTRFS_FS is not set
+CONFIG_DNOTIFY=3Dy
+CONFIG_INOTIFY=3Dy
+CONFIG_INOTIFY_USER=3Dy
+# CONFIG_QUOTA is not set
+# CONFIG_AUTOFS_FS is not set
+# CONFIG_AUTOFS4_FS is not set
+# CONFIG_FUSE_FS is not set
+
+#
+# CD-ROM/DVD Filesystems
+#
+# CONFIG_ISO9660_FS is not set
+# CONFIG_UDF_FS is not set
+
+#
+# DOS/FAT/NT Filesystems
+#
+# CONFIG_MSDOS_FS is not set
+# CONFIG_VFAT_FS is not set
+# CONFIG_NTFS_FS is not set
+
+#
+# Pseudo filesystems
+#
+CONFIG_PROC_FS=3Dy
+CONFIG_PROC_KCORE=3Dy
+CONFIG_PROC_SYSCTL=3Dy
+CONFIG_PROC_PAGE_MONITOR=3Dy
+CONFIG_SYSFS=3Dy
+CONFIG_TMPFS=3Dy
+# CONFIG_TMPFS_POSIX_ACL is not set
+# CONFIG_HUGETLB_PAGE is not set
+# CONFIG_CONFIGFS_FS is not set
+CONFIG_MISC_FILESYSTEMS=3Dy
+# CONFIG_ADFS_FS is not set
+# CONFIG_AFFS_FS is not set
+# CONFIG_HFS_FS is not set
+# CONFIG_HFSPLUS_FS is not set
+# CONFIG_BEFS_FS is not set
+# CONFIG_BFS_FS is not set
+# CONFIG_EFS_FS is not set
+# CONFIG_JFFS2_FS is not set
+CONFIG_CRAMFS=3Dy
+# CONFIG_SQUASHFS is not set
+# CONFIG_VXFS_FS is not set
+# CONFIG_MINIX_FS is not set
+# CONFIG_OMFS_FS is not set
+# CONFIG_HPFS_FS is not set
+# CONFIG_QNX4FS_FS is not set
+# CONFIG_ROMFS_FS is not set
+# CONFIG_SYSV_FS is not set
+# CONFIG_UFS_FS is not set
+CONFIG_NETWORK_FILESYSTEMS=3Dy
+CONFIG_NFS_FS=3Dy
+CONFIG_NFS_V3=3Dy
+# CONFIG_NFS_V3_ACL is not set
+# CONFIG_NFS_V4 is not set
+CONFIG_ROOT_NFS=3Dy
+# CONFIG_NFSD is not set
+CONFIG_LOCKD=3Dy
+CONFIG_LOCKD_V4=3Dy
+CONFIG_NFS_COMMON=3Dy
+CONFIG_SUNRPC=3Dy
+# CONFIG_SUNRPC_REGISTER_V4 is not set
+# CONFIG_RPCSEC_GSS_KRB5 is not set
+# CONFIG_RPCSEC_GSS_SPKM3 is not set
+# CONFIG_SMB_FS is not set
+# CONFIG_CIFS is not set
+# CONFIG_NCP_FS is not set
+# CONFIG_CODA_FS is not set
+# CONFIG_AFS_FS is not set
+
+#
+# Partition Types
+#
+# CONFIG_PARTITION_ADVANCED is not set
+CONFIG_MSDOS_PARTITION=3Dy
+# CONFIG_NLS is not set
+# CONFIG_DLM is not set
+
+#
+# Library routines
+#
+CONFIG_BITREVERSE=3Dy
+CONFIG_GENERIC_FIND_LAST_BIT=3Dy
+# CONFIG_CRC_CCITT is not set
+# CONFIG_CRC16 is not set
+# CONFIG_CRC_T10DIF is not set
+# CONFIG_CRC_ITU_T is not set
+CONFIG_CRC32=3Dy
+# CONFIG_CRC7 is not set
+# CONFIG_LIBCRC32C is not set
+CONFIG_ZLIB_INFLATE=3Dy
+CONFIG_PLIST=3Dy
+CONFIG_HAS_IOMEM=3Dy
+CONFIG_HAS_IOPORT=3Dy
+CONFIG_HAS_DMA=3Dy
+CONFIG_HAVE_LMB=3Dy
+
+#
+# Kernel hacking
+#
+# CONFIG_PRINTK_TIME is not set
+CONFIG_ENABLE_WARN_DEPRECATED=3Dy
+CONFIG_ENABLE_MUST_CHECK=3Dy
+CONFIG_FRAME_WARN=3D1024
+CONFIG_MAGIC_SYSRQ=3Dy
+# CONFIG_UNUSED_SYMBOLS is not set
+CONFIG_DEBUG_FS=3Dy
+# CONFIG_HEADERS_CHECK is not set
+CONFIG_DEBUG_KERNEL=3Dy
+# CONFIG_DEBUG_SHIRQ is not set
+CONFIG_DETECT_SOFTLOCKUP=3Dy
+# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
+CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=3D0
+CONFIG_SCHED_DEBUG=3Dy
+# CONFIG_SCHEDSTATS is not set
+# CONFIG_TIMER_STATS is not set
+# CONFIG_DEBUG_OBJECTS is not set
+# CONFIG_SLUB_DEBUG_ON is not set
+# CONFIG_SLUB_STATS is not set
+# CONFIG_DEBUG_RT_MUTEXES is not set
+# CONFIG_RT_MUTEX_TESTER is not set
+# CONFIG_DEBUG_SPINLOCK is not set
+# CONFIG_DEBUG_MUTEXES is not set
+# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
+# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
+# CONFIG_DEBUG_KOBJECT is not set
+# CONFIG_DEBUG_BUGVERBOSE is not set
+# CONFIG_DEBUG_INFO is not set
+# CONFIG_DEBUG_VM is not set
+# CONFIG_DEBUG_WRITECOUNT is not set
+# CONFIG_DEBUG_MEMORY_INIT is not set
+# CONFIG_DEBUG_LIST is not set
+# CONFIG_DEBUG_SG is not set
+# CONFIG_DEBUG_NOTIFIERS is not set
+# CONFIG_BOOT_PRINTK_DELAY is not set
+# CONFIG_RCU_TORTURE_TEST is not set
+# CONFIG_RCU_CPU_STALL_DETECTOR is not set
+# CONFIG_BACKTRACE_SELF_TEST is not set
+# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
+# CONFIG_FAULT_INJECTION is not set
+# CONFIG_LATENCYTOP is not set
+CONFIG_SYSCTL_SYSCALL_CHECK=3Dy
+CONFIG_HAVE_FUNCTION_TRACER=3Dy
+CONFIG_HAVE_DYNAMIC_FTRACE=3Dy
+CONFIG_HAVE_FTRACE_MCOUNT_RECORD=3Dy
+
+#
+# Tracers
+#
+# CONFIG_FUNCTION_TRACER is not set
+# CONFIG_SCHED_TRACER is not set
+# CONFIG_CONTEXT_SWITCH_TRACER is not set
+# CONFIG_BOOT_TRACER is not set
+# CONFIG_TRACE_BRANCH_PROFILING is not set
+# CONFIG_STACK_TRACER is not set
+# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
+# CONFIG_SAMPLES is not set
+CONFIG_HAVE_ARCH_KGDB=3Dy
+# CONFIG_KGDB is not set
+CONFIG_PRINT_STACK_DEPTH=3D64
+# CONFIG_DEBUG_STACKOVERFLOW is not set
+# CONFIG_DEBUG_STACK_USAGE is not set
+# CONFIG_DEBUG_PAGEALLOC is not set
+# CONFIG_CODE_PATCHING_SELFTEST is not set
+# CONFIG_FTR_FIXUP_SELFTEST is not set
+# CONFIG_MSI_BITMAP_SELFTEST is not set
+# CONFIG_XMON is not set
+# CONFIG_IRQSTACKS is not set
+# CONFIG_VIRQ_DEBUG is not set
+# CONFIG_BDI_SWITCH is not set
+# CONFIG_PPC_EARLY_DEBUG is not set
+
+#
+# Security options
+#
+# CONFIG_KEYS is not set
+# CONFIG_SECURITY is not set
+# CONFIG_SECURITYFS is not set
+# CONFIG_SECURITY_FILE_CAPABILITIES is not set
+CONFIG_CRYPTO=3Dy
+
+#
+# Crypto core or helper
+#
+# CONFIG_CRYPTO_FIPS is not set
+CONFIG_CRYPTO_ALGAPI=3Dy
+CONFIG_CRYPTO_ALGAPI2=3Dy
+CONFIG_CRYPTO_AEAD=3Dy
+CONFIG_CRYPTO_AEAD2=3Dy
+CONFIG_CRYPTO_BLKCIPHER=3Dy
+CONFIG_CRYPTO_BLKCIPHER2=3Dy
+CONFIG_CRYPTO_HASH=3Dy
+CONFIG_CRYPTO_HASH2=3Dy
+CONFIG_CRYPTO_RNG=3Dy
+CONFIG_CRYPTO_RNG2=3Dy
+CONFIG_CRYPTO_MANAGER=3Dy
+CONFIG_CRYPTO_MANAGER2=3Dy
+CONFIG_CRYPTO_GF128MUL=3Dy
+# CONFIG_CRYPTO_NULL is not set
+CONFIG_CRYPTO_CRYPTD=3Dy
+CONFIG_CRYPTO_AUTHENC=3Dy
+# CONFIG_CRYPTO_TEST is not set
+
+#
+# Authenticated Encryption with Associated Data
+#
+CONFIG_CRYPTO_CCM=3Dy
+CONFIG_CRYPTO_GCM=3Dy
+CONFIG_CRYPTO_SEQIV=3Dy
+
+#
+# Block modes
+#
+CONFIG_CRYPTO_CBC=3Dy
+CONFIG_CRYPTO_CTR=3Dy
+CONFIG_CRYPTO_CTS=3Dy
+CONFIG_CRYPTO_ECB=3Dy
+CONFIG_CRYPTO_LRW=3Dy
+CONFIG_CRYPTO_PCBC=3Dy
+CONFIG_CRYPTO_XTS=3Dy
+
+#
+# Hash modes
+#
+CONFIG_CRYPTO_HMAC=3Dy
+CONFIG_CRYPTO_XCBC=3Dy
+
+#
+# Digest
+#
+# CONFIG_CRYPTO_CRC32C is not set
+CONFIG_CRYPTO_MD4=3Dy
+CONFIG_CRYPTO_MD5=3Dy
+# CONFIG_CRYPTO_MICHAEL_MIC is not set
+# CONFIG_CRYPTO_RMD128 is not set
+# CONFIG_CRYPTO_RMD160 is not set
+# CONFIG_CRYPTO_RMD256 is not set
+# CONFIG_CRYPTO_RMD320 is not set
+CONFIG_CRYPTO_SHA1=3Dy
+CONFIG_CRYPTO_SHA256=3Dy
+CONFIG_CRYPTO_SHA512=3Dy
+# CONFIG_CRYPTO_TGR192 is not set
+# CONFIG_CRYPTO_WP512 is not set
+
+#
+# Ciphers
+#
+CONFIG_CRYPTO_AES=3Dy
+# CONFIG_CRYPTO_ANUBIS is not set
+CONFIG_CRYPTO_ARC4=3Dy
+CONFIG_CRYPTO_BLOWFISH=3Dy
+# CONFIG_CRYPTO_CAMELLIA is not set
+# CONFIG_CRYPTO_CAST5 is not set
+# CONFIG_CRYPTO_CAST6 is not set
+CONFIG_CRYPTO_DES=3Dy
+# CONFIG_CRYPTO_FCRYPT is not set
+# CONFIG_CRYPTO_KHAZAD is not set
+# CONFIG_CRYPTO_SALSA20 is not set
+# CONFIG_CRYPTO_SEED is not set
+# CONFIG_CRYPTO_SERPENT is not set
+# CONFIG_CRYPTO_TEA is not set
+# CONFIG_CRYPTO_TWOFISH is not set
+
+#
+# Compression
+#
+# CONFIG_CRYPTO_DEFLATE is not set
+# CONFIG_CRYPTO_LZO is not set
+
+#
+# Random Number Generation
+#
+# CONFIG_CRYPTO_ANSI_CPRNG is not set
+CONFIG_CRYPTO_HW=3Dy
+# CONFIG_CRYPTO_DEV_HIFN_795X is not set
+# CONFIG_PPC_CLOCK is not set
+# CONFIG_VIRTUALIZATION is not set
diff --git a/arch/powerpc/kernel/cpu_setup_44x.S =
b/arch/powerpc/kernel/cpu_setup_44x.S
index 10b4ab1..7d606f8 100644
--- a/arch/powerpc/kernel/cpu_setup_44x.S
+++ b/arch/powerpc/kernel/cpu_setup_44x.S
@@ -34,6 +34,7 @@ _GLOBAL(__setup_cpu_440grx)
blr
_GLOBAL(__setup_cpu_460ex)
_GLOBAL(__setup_cpu_460gt)
+_GLOBAL(__setup_cpu_460sx)
mflr r4
bl __init_fpu_44x
bl __fixup_440A_mcheck
diff --git a/arch/powerpc/kernel/cputable.c =
b/arch/powerpc/kernel/cputable.c
index 923f87a..414e9aa 100644
--- a/arch/powerpc/kernel/cputable.c
+++ b/arch/powerpc/kernel/cputable.c
@@ -43,6 +43,7 @@ extern void __setup_cpu_440spe(unsigned long offset, =
struct cpu_spec* spec);
extern void __setup_cpu_440x5(unsigned long offset, struct cpu_spec* =
spec);
extern void __setup_cpu_460ex(unsigned long offset, struct cpu_spec* =
spec);
extern void __setup_cpu_460gt(unsigned long offset, struct cpu_spec* =
spec);
+extern void __setup_cpu_460sx(unsigned long offset, struct cpu_spec =
*spec);
extern void __setup_cpu_603(unsigned long offset, struct cpu_spec* =
spec);
extern void __setup_cpu_604(unsigned long offset, struct cpu_spec* =
spec);
extern void __setup_cpu_750(unsigned long offset, struct cpu_spec* =
spec);
@@ -1634,6 +1635,19 @@ static struct cpu_spec __initdata cpu_specs[] =3D =
{
.machine_check =3D machine_check_440A,
.platform =3D "ppc440",
},
+ { /* 460SX */
+ .pvr_mask =3D 0xffffff00,
+ .pvr_value =3D 0x13541800,
+ .cpu_name =3D "460SX",
+ .cpu_features =3D CPU_FTRS_44X,
+ .cpu_user_features =3D COMMON_USER_BOOKE,
+ .mmu_features =3D MMU_FTR_TYPE_44x,
+ .icache_bsize =3D 32,
+ .dcache_bsize =3D 32,
+ .cpu_setup =3D __setup_cpu_460sx,
+ .machine_check =3D machine_check_440A,
+ .platform =3D "ppc440",
+ },
{ /* default match */
.pvr_mask =3D 0x00000000,
.pvr_value =3D 0x00000000,
diff --git a/arch/powerpc/platforms/44x/Kconfig =
b/arch/powerpc/platforms/44x/Kconfig
index 3496bc0..bf5c7ff 100644
--- a/arch/powerpc/platforms/44x/Kconfig
+++ b/arch/powerpc/platforms/44x/Kconfig
@@ -118,6 +118,17 @@ config GLACIER
help
This option enables support for the AMCC PPC460GT evaluation board.
=20
+config REDWOOD
+ bool "Redwood"
+ depends on 44x
+ default n
+ select PPC44x_SIMPLE
+ select 460SX
+ select PCI
+ select PPC4xx_PCI_EXPRESS
+ help
+ This option enables support for the AMCC PPC460SX Redwood board.
+
config YOSEMITE
bool "Yosemite"
depends on 44x
@@ -220,6 +231,14 @@ config 460EX
select IBM_NEW_EMAC_EMAC4
select IBM_NEW_EMAC_TAH
=20
+config 460SX
+ bool
+ select PPC_FPU
+ select IBM_NEW_EMAC_EMAC4
+ select IBM_NEW_EMAC_RGMII
+ select IBM_NEW_EMAC_ZMII
+ select IBM_NEW_EMAC_TAH
+
# 44x errata/workaround config symbols, selected by the CPU models =
above
config IBM440EP_ERR42
bool
diff --git a/arch/powerpc/platforms/44x/ppc44x_simple.c =
b/arch/powerpc/platforms/44x/ppc44x_simple.c
index 76fdc51..5bcd441 100644
--- a/arch/powerpc/platforms/44x/ppc44x_simple.c
+++ b/arch/powerpc/platforms/44x/ppc44x_simple.c
@@ -57,6 +57,7 @@ static char *board[] __initdata =3D {
"ibm,ebony",
"amcc,katmai",
"amcc,rainier",
+ "amcc,redwood",
"amcc,sequoia",
"amcc,taishan",
"amcc,yosemite"
--=20
1.5.5
^ permalink raw reply related
* Re: [PATCH] AMCC Crypto4xx Device Driver v6
From: James Hsiao @ 2009-02-05 21:37 UTC (permalink / raw)
To: Herbert Xu; +Cc: linuxppc-dev, linux-crypto
In-Reply-To: <20090205213057.GB445@gondor.apana.org.au>
Thanks allot!
James
On Fri, 2009-02-06 at 08:30 +1100, Herbert Xu wrote:
> On Thu, Feb 05, 2009 at 11:47:48AM -0800, James Hsiao wrote:
> >
> > Thanks for apply the patch.
> > Somehow the new directory driver/crypto/amcc is missing from the tree.
> > I can see everything else in the tree except the driver source code.
> > Do you want me to submit a new patch, or you can fix it with the V6
> > patch.
>
> I'll fix it up.
>
> Thanks,
^ permalink raw reply
* Re: [PATCH] AMCC Crypto4xx Device Driver v6
From: Herbert Xu @ 2009-02-05 21:30 UTC (permalink / raw)
To: James Hsiao; +Cc: linuxppc-dev, linux-crypto
In-Reply-To: <1233863268.4815.9.camel@jhsiao-usb>
On Thu, Feb 05, 2009 at 11:47:48AM -0800, James Hsiao wrote:
>
> Thanks for apply the patch.
> Somehow the new directory driver/crypto/amcc is missing from the tree.
> I can see everything else in the tree except the driver source code.
> Do you want me to submit a new patch, or you can fix it with the V6
> patch.
I'll fix it up.
Thanks,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply
* Re: [PATCH 1/3] powerpc: bare minimum checkpoint/restart implementation
From: Benjamin Herrenschmidt @ 2009-02-05 21:01 UTC (permalink / raw)
To: Serge E. Hallyn; +Cc: containers, Oren Laadan, Nathan Lynch, linuxppc-dev
In-Reply-To: <20090205160946.GF27410@us.ibm.com>
> Absolutely, but the accepted way to handle that so far is that if
> you want to run an "incompatible" checkpoint image on a new cpu,
> a userspace program will rewrite the image to be correct for the target
> cpu.
That doesn't sound nice and definitely not something we want to do on
PowerPC. There are lots of reasons for that including the fact that the
actual feature set may depend on what the FW enabled which itself can
depend on the kernel version .. or not, etc etc...
I'd rather keep all that logic in the kernel to be honest.
> But what you list below seems more usable than trying to encapsulate
> that info in some hokey version number system.
There are things however that I can't expose and for which we can't do
much about.
IE. The kernel exposes some features to userspace, such as the PowerPC
ISA level supported, the presence of some optional instructions, etc...
We don't know whether the user space program is using that stuff
though... ie, we could get into situations where userspace is trying to
use, let's say, 44x MAC instructions, and thus that program will fail to
resume on some other processor, and we have no way to know about it from
the kernel.
But I'll leave that problem for later... Maybe we should implement some
way, using personalities or something similar, to run programs so that
they see a limited set of CPU features, for people who explicitely want
them to be migrateable.. a bit similar to what our Hypervisor does if
you want a partition to be migrateable between different processors, it
only advertises the common subset of functionality.
Ben.
^ permalink raw reply
* Re: [ANN] Introducing new "test" branch in powerpc.git tree
From: Josh Boyer @ 2009-02-05 20:58 UTC (permalink / raw)
To: Benjamin Herrenschmidt; +Cc: linuxppc-dev list
In-Reply-To: <1233867382.4612.98.camel@pasglop>
On Fri, Feb 06, 2009 at 07:56:22AM +1100, Benjamin Herrenschmidt wrote:
>
>> Which begs the question of what master is for. So far, it's just been
>> a mirror of next from what I can tell. Maybe it should just track
>> Linus' tree?
>
>I've been wondering myself what to do with it ... I may just leave it to
>track linus indeed. Or maybe just delete it.
I don't think you can delete it without hosing people who try to clone it.
josh
^ permalink raw reply
* Re: [ANN] Introducing new "test" branch in powerpc.git tree
From: Benjamin Herrenschmidt @ 2009-02-05 20:56 UTC (permalink / raw)
To: Josh Boyer; +Cc: linuxppc-dev list
In-Reply-To: <20090205134700.GB3000@yoda.jdub.homelinux.org>
> Which begs the question of what master is for. So far, it's just been
> a mirror of next from what I can tell. Maybe it should just track
> Linus' tree?
I've been wondering myself what to do with it ... I may just leave it to
track linus indeed. Or maybe just delete it.
Ben.
^ permalink raw reply
* [PATCH 2/2] powerpc/83xx: Fix TSEC0 workability on MPC8313E-RDB boards
From: Anton Vorontsov @ 2009-02-05 20:10 UTC (permalink / raw)
To: Kumar Gala; +Cc: linuxppc-dev
TSEC0 is connected to Vitesse 7385 5-port switch. The switch
isn't connected to any mdio bus, the link to the switch is fixed
to Full-duplex 1000 Mb/s (no pause).
This patch fixes following failure during bootup:
mdio@24520:01 not found
eth0: Could not attach to PHY
IP-Config: Failed to open eth0
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
---
arch/powerpc/boot/dts/mpc8313erdb.dts | 9 ++-------
arch/powerpc/configs/83xx/mpc8313_rdb_defconfig | 2 +-
2 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/arch/powerpc/boot/dts/mpc8313erdb.dts b/arch/powerpc/boot/dts/mpc8313erdb.dts
index 3f84cd0..3ebf7ec 100644
--- a/arch/powerpc/boot/dts/mpc8313erdb.dts
+++ b/arch/powerpc/boot/dts/mpc8313erdb.dts
@@ -191,7 +191,8 @@
interrupts = <37 0x8 36 0x8 35 0x8>;
interrupt-parent = <&ipic>;
tbi-handle = < &tbi0 >;
- phy-handle = < &phy1 >;
+ /* Vitesse 7385 isn't on the MDIO bus */
+ fixed-link = <1 1 1000 0 0>;
fsl,magic-packet;
mdio@24520 {
@@ -199,12 +200,6 @@
#size-cells = <0>;
compatible = "fsl,gianfar-mdio";
reg = <0x24520 0x20>;
- phy1: ethernet-phy@1 {
- interrupt-parent = <&ipic>;
- interrupts = <19 0x8>;
- reg = <0x1>;
- device_type = "ethernet-phy";
- };
phy4: ethernet-phy@4 {
interrupt-parent = <&ipic>;
interrupts = <20 0x8>;
diff --git a/arch/powerpc/configs/83xx/mpc8313_rdb_defconfig b/arch/powerpc/configs/83xx/mpc8313_rdb_defconfig
index 9e47ae9..409d017 100644
--- a/arch/powerpc/configs/83xx/mpc8313_rdb_defconfig
+++ b/arch/powerpc/configs/83xx/mpc8313_rdb_defconfig
@@ -651,7 +651,7 @@ CONFIG_CICADA_PHY=y
# CONFIG_NATIONAL_PHY is not set
# CONFIG_STE10XP is not set
# CONFIG_LSI_ET1011C_PHY is not set
-# CONFIG_FIXED_PHY is not set
+CONFIG_FIXED_PHY=y
# CONFIG_MDIO_BITBANG is not set
CONFIG_NET_ETHERNET=y
CONFIG_MII=y
--
1.5.6.5
^ permalink raw reply related
* [PATCH 1/2] powerpc/83xx: Fix missing #{address,size}-cells in mpc8313erdb.dts
From: Anton Vorontsov @ 2009-02-05 20:10 UTC (permalink / raw)
To: Kumar Gala; +Cc: linuxppc-dev
commit b31a1d8b41513b96e9c7ec2f68c5734cef0b26a4 ("gianfar: Convert
gianfar to an of_platform_driver") introduced a child node for
the ethernet@25000 controller, but no address and size cells
specifiers were added, and that makes dtc unhappy:
DTC: dts->dtb on file "arch/powerpc/boot/dts/mpc8313erdb.dts"
Warning (reg_format): "reg" property in /soc8313@e0000000/ethernet@25000/mdio@25520 has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)
Warning (avoid_default_addr_size): Relying on default #address-cells value for /soc8313@e0000000/ethernet@25000/mdio@25520
Warning (avoid_default_addr_size): Relying on default #size-cells value for /soc8313@e0000000/ethernet@25000/mdio@25520
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
---
arch/powerpc/boot/dts/mpc8313erdb.dts | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/boot/dts/mpc8313erdb.dts b/arch/powerpc/boot/dts/mpc8313erdb.dts
index 909a89c..3f84cd0 100644
--- a/arch/powerpc/boot/dts/mpc8313erdb.dts
+++ b/arch/powerpc/boot/dts/mpc8313erdb.dts
@@ -219,6 +219,8 @@
};
enet1: ethernet@25000 {
+ #address-cells = <1>;
+ #size-cells = <1>;
cell-index = <1>;
device_type = "network";
model = "eTSEC";
--
1.5.6.5
^ permalink raw reply related
* Re: MPC5200 PCI Issues
From: Tobias Knutsson @ 2009-02-05 20:03 UTC (permalink / raw)
To: Grant Likely; +Cc: linuxppc-dev@ozlabs.org
In-Reply-To: <fa686aa40902050844h45fa79bco9a82594f0f23ffc6@mail.gmail.com>
Hi,
That is exactly what the bootlog shows. Debug output on in both =20
mpc52xx_pci.c and in pci-common.c. And the discussed code section =20
enabled.
H=C3=A4lsningar / Regards
Tobias Knutsson
On 5 feb 2009, at 17.44, Grant Likely <grant.likely@secretlab.ca> wrote:
> On Thu, Feb 5, 2009 at 12:06 AM, Tobias Knutsson
> <tobias.knutsson@gmail.com> wrote:
>> When enabling the debug-printouts, it came to me that I forgot to
>> mention something kind of important. Using the standard =20
>> mpc52xx_pci.c,
>> even the memory resources are mapped to zero.
>>
>> After disabling this code block, the memory regions are mapped out
>> fine (but still no IO):
>
> Reenable this code, enable debug in arch/powerpc/kernel/pci-common.c,
> and post the results.
>
> When this code is disabled then you're just getting the leftovers from
> U-Boot's scan of the PCI bus. For MPC5200 support Linux does its own
> scan and its own allocation of memory/IO address space and this code
> is needed to make sure that happens.
>
> g.
>
>>
>> static void
>> mpc52xx_pci_fixup_resources(struct pci_dev *dev)
>> {
>> int i;
>>
>> pr_debug("mpc52xx_pci_fixup_resources() %.4x:%.4x\n",
>> dev->vendor, dev->device);
>>
>> /* We don't rely on boot loader for PCI and resets all
>> devices */
>> for (i =3D 0; i < DEVICE_COUNT_RESOURCE; i++) {
>> struct resource *res =3D &dev->resource[i];
>> if (res->end > res->start) { /* Only valid =20
>> resources */
>> res->end -=3D res->start;
>> res->start =3D 0;
>> res->flags |=3D IORESOURCE_UNSET;
>> }
>> }
>>
>> What is the purpose of this code? Since all resources are reset here,
>> where are they inteded to be re-allocated?
>>
>> Here is the bootlog with the aforementioned code enabled:
>>
>>
>> reading cuImage.lite5200b
>>
>> 1833699 bytes read
>> ## Booting kernel from Legacy Image at 00201400 ...
>> Image Name: Linux-2.6.28
>> Created: 2009-02-05 6:54:20 UTC
>> Image Type: PowerPC Linux Kernel Image (gzip compressed)
>> Data Size: 1833635 Bytes =3D 1.7 MB
>> Load Address: 00400000
>> Entry Point: 004005a0
>> Verifying Checksum ... OK
>> Uncompressing Kernel Image ... OK
>> [ 0.000000] Using lite5200 machine description
>> [ 0.000000] Linux version 2.6.28 (tknutsson@ztn-ubuntu) (gcc
>> version 4.3.2 (Sourcery G++ Lite 4.3-50) ) #66 Thu Feb 5 07:51:46 CET
>> 2009
>> [ 0.000000] Adding MPC52xx PCI host bridge /pci@f0000d00
>> [ 0.000000] PCI host bridge /pci@f0000d00 (primary) ranges:
>> [ 0.000000] MEM 0x0000000050000000..0x000000005fffffff -> =20
>> 0x0000000050000000
>> [ 0.000000] IO 0x0000000060000000..0x0000000060ffffff -> =20
>> 0x0000000000000000
>> [ 0.000000] mpc52xx_pci_setup(hose=3Dc03ec000, pci_regs=3Dfdffad00)
>> [ 0.000000] mem_resource[0] =3D =20
>> {.start=3D50000000, .end=3D5fffffff, .flags=3D200}
>> [ 0.000000] .io_resource=3D{.start=3D0,.end=3Dffffff,.flags=3D100}
>> .io_base_phys=3D0x60000000
>> [ 0.000000] Zone PFN ranges:
>> [ 0.000000] DMA 0x00000000 -> 0x00004000
>> [ 0.000000] Normal 0x00004000 -> 0x00004000
>> [ 0.000000] Movable zone start PFN for each node
>> [ 0.000000] early_node_map[1] active PFN ranges
>> [ 0.000000] 0: 0x00000000 -> 0x00004000
>> [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.
>> Total pages: 16256
>> [ 0.000000] Kernel command line: console=3DttyPSC0,115200 root=3D/=20=
>> dev/sda2 rw
>> [ 0.000000] MPC52xx PIC is up and running!
>> [ 0.000000] PID hash table entries: 256 (order: 8, 1024 bytes)
>> [ 0.000000] clocksource: timebase mult[7d00000] shift[22] =20
>> registered
>> [ 0.000263] console [ttyPSC0] enabled
>> [ 0.121690] Dentry cache hash table entries: 8192 (order: 3, =20
>> 32768 bytes)
>> [ 0.129012] Inode-cache hash table entries: 4096 (order: 2, =20
>> 16384 bytes)
>> [ 0.147433] Memory: 60844k/65536k available (3704k kernel code,
>> 4624k reserved, 156k data, 117k bss, 180k init)
>> [ 0.157672] SLUB: Genslabs=3D12, HWalign=3D32, Order=3D0-3, =20
>> MinObjects=3D0,
>> CPUs=3D1, Nodes=3D1
>> [ 0.165373] Calibrating delay loop... 63.87 BogoMIPS (lpj=3D127744)
>> [ 0.236265] Mount-cache hash table entries: 512
>> [ 0.245719] net_namespace: 288 bytes
>> [ 0.250237] NET: Registered protocol family 16
>> [ 0.284887] PCI: Probing PCI hardware
>> [ 0.289670] mpc52xx_pci_fixup_resources() 1057:5809
>> [ 0.294799] PCI:0000:00:17.0 Resource 0
>> 0000000050400000-00000000507fffff [21208] fixup...
>> [ 0.303180] PCI:0000:00:17.0 =20
>> 0000000050400000-00000000507fffff
>> [ 0.309998] PCI:0000:00:17.0 Resource 1
>> 0000000050800000-0000000050ffffff [20200] fixup...
>> [ 0.318262] PCI:0000:00:17.0 =20
>> 0000000050800000-0000000050ffffff
>> [ 0.325062] PCI:0000:00:17.0 Resource 2
>> 0000000060000000-000000006000000f [20101] fixup...
>> [ 0.333326] PCI:0000:00:17.0 =20
>> 0000000060000000-000000006000000f
>> [ 0.340124] mpc52xx_pci_fixup_resources() 104c:9065
>> [ 0.345242] PCI:0000:00:18.0 Resource 0
>> 0000000051000000-00000000513fffff [21208] fixup...
>> [ 0.353519] PCI:0000:00:18.0 =20
>> 0000000051000000-00000000513fffff
>> [ 0.360319] PCI:0000:00:18.0 Resource 1
>> 0000000051800000-0000000051ffffff [20200] fixup...
>> [ 0.368583] PCI:0000:00:18.0 =20
>> 0000000051800000-0000000051ffffff
>> [ 0.375383] PCI:0000:00:18.0 Resource 2
>> 0000000060000010-000000006000001f [20101] fixup...
>> [ 0.383647] PCI:0000:00:18.0 =20
>> 0000000060000010-000000006000001f
>> [ 0.390444] mpc52xx_pci_fixup_resources() 104c:9065
>> [ 0.395549] PCI:0000:00:19.0 Resource 0
>> 0000000052000000-00000000523fffff [21208] fixup...
>> [ 0.403826] PCI:0000:00:19.0 =20
>> 0000000052000000-00000000523fffff
>> [ 0.410626] PCI:0000:00:19.0 Resource 1
>> 0000000052800000-0000000052ffffff [20200] fixup...
>> [ 0.418889] PCI:0000:00:19.0 =20
>> 0000000052800000-0000000052ffffff
>> [ 0.425690] PCI:0000:00:19.0 Resource 2
>> 0000000060000020-000000006000002f [20101] fixup...
>> [ 0.433954] PCI:0000:00:19.0 =20
>> 0000000060000020-000000006000002f
>> [ 0.440751] mpc52xx_pci_fixup_resources() 104c:9065
>> [ 0.445854] PCI:0000:00:1a.0 Resource 0
>> 0000000053000000-00000000533fffff [21208] fixup...
>> [ 0.454130] PCI:0000:00:1a.0 =20
>> 0000000053000000-00000000533fffff
>> [ 0.460930] PCI:0000:00:1a.0 Resource 1
>> 0000000053800000-0000000053ffffff [20200] fixup...
>> [ 0.469194] PCI:0000:00:1a.0 =20
>> 0000000053800000-0000000053ffffff
>> [ 0.475994] PCI:0000:00:1a.0 Resource 2
>> 0000000060000030-000000006000003f [20101] fixup...
>> [ 0.484258] PCI:0000:00:1a.0 =20
>> 0000000060000030-000000006000003f
>> [ 0.491056] mpc52xx_pci_fixup_resources() 104c:9065
>> [ 0.495999] PCI: Fixup bus 0 (PHB)
>> [ 0.499383] PCI: device 0000:00:16.0 OF node: <none>
>> [ 0.504371] PCI: device 0000:00:17.0 OF node: <none>
>> [ 0.509363] PCI: device 0000:00:18.0 OF node: <none>
>> [ 0.514354] PCI: device 0000:00:19.0 OF node: <none>
>> [ 0.519345] PCI: device 0000:00:1a.0 OF node: <none>
>> [ 0.524332] Try to map irq for 0000:00:16.0...
>> [ 0.528808] Try to map irq for 0000:00:17.0...
>> [ 0.533334] -> got one, spec 3 cells (0x00000001 0x00000001...) =20=
>> on
>> /soc5200@f0000000/interrupt-controller@500
>> [ 0.543389] -> mapped to linux irq 65
>> [ 0.547117] Try to map irq for 0000:00:18.0...
>> [ 0.551626] -> got one, spec 3 cells (0x00000001 0x00000001...) =20=
>> on
>> /soc5200@f0000000/interrupt-controller@500
>> [ 0.561629] -> mapped to linux irq 65
>> [ 0.565353] Try to map irq for 0000:00:19.0...
>> [ 0.569858] -> got one, spec 3 cells (0x00000001 0x00000001...) =20=
>> on
>> /soc5200@f0000000/interrupt-controller@500
>> [ 0.579863] -> mapped to linux irq 65
>> [ 0.583587] Try to map irq for 0000:00:1a.0...
>> [ 0.588099] -> got one, spec 3 cells (0x00000001 0x00000001...) =20=
>> on
>> /soc5200@f0000000/interrupt-controller@500
>> [ 0.598103] -> mapped to linux irq 65
>> [ 0.605144] PCI: PHB (bus 0) bridge rsrc 0:
>> 0000000000000000-0000000000ffffff [0x100], parent c03a1fdc (PCI IO)
>> [ 0.615266] PCI: PHB (bus 0) bridge rsrc 1:
>> 0000000050000000-000000005fffffff [0x200], parent c03a1fc0 (PCI mem)
>> [ 0.625539] PCI: Assigning unassigned resouces...
>> [ 0.630304] bus: 00 index 0 io port: [0x00-0xffffff]
>> [ 0.635299] bus: 00 index 1 mmio: [0x50000000-0x5fffffff]
>> [ 0.640909] DMA: MPC52xx BestComm driver
>> [ 0.645214] DMA: MPC52xx BestComm engine @f0001200 ok !
>> [ 0.678739] SCSI subsystem initialized
>> [ 0.709498] NET: Registered protocol family 2
>> [ 0.754980] IP route cache hash table entries: 1024 (order: 0, =20
>> 4096 bytes)
>> [ 0.762429] TCP established hash table entries: 2048 (order: 2, =20=
>> 16384 bytes)
>> [ 0.769716] TCP bind hash table entries: 2048 (order: 1, 8192 =20
>> bytes)
>> [ 0.776224] TCP: Hash tables configured (established 2048 bind =20
>> 2048)
>> [ 0.782604] TCP reno registered
>> [ 0.795054] NET: Registered protocol family 1
>> [ 0.846171] JFFS2 version 2.2. (NAND) (c) 2001-2006 Red Hat, Inc.
>> [ 0.855699] msgmni has been set to 118
>> [ 0.861227] alg: No test for stdrng (krng)
>> [ 0.865651] io scheduler noop registered
>> [ 0.869658] io scheduler anticipatory registered (default)
>> [ 0.875224] io scheduler deadline registered
>> [ 0.879838] io scheduler cfq registered
>> [ 1.442231] Generic RTC Driver v1.07
>> [ 1.447145] Serial: MPC52xx PSC UART driver
>> [ 1.451885] f0002200.serial: ttyPSC2 at MMIO 0xf0002200 (irq =3D =20=
>> 130)
>> is a MPC52xx PSC
>> [ 1.461497] f0002400.serial: ttyPSC3 at MMIO 0xf0002400 (irq =3D =20=
>> 131)
>> is a MPC52xx PSC
>> [ 1.471257] f0002600.serial: ttyPSC4 at MMIO 0xf0002600 (irq =3D =20=
>> 139)
>> is a MPC52xx PSC
>> [ 1.480866] f0002800.serial: ttyPSC5 at MMIO 0xf0002800 (irq =3D =20=
>> 140)
>> is a MPC52xx PSC
>> [ 1.490461] f0002c00.serial: ttyPSC0 at MMIO 0xf0002c00 (irq =3D =20=
>> 132)
>> is a MPC52xx PSC
>> [ 1.521689] brd: module loaded
>> [ 1.535886] loop: module loaded
>> [ 1.544328] mpc52xx MII bus: probed
>> [ 1.550220] net eth0: Using PHY at MDIO address 0
>> [ 1.556124] Driver 'sd' needs updating - please use bus_type =20
>> methods
>> [ 1.563224] ata: MPC52xx IDE/ATA libata driver
>> [ 1.568729] scsi0 : mpc52xx_ata
>> [ 1.573032] ata1: PATA max UDMA/33 ata_regs 0xf0003a00 irq 135
>> [ 1.751224] ata1.00: ATA-0: TRANSCEND, 20070831, max UDMA/66
>> [ 1.756948] ata1.00: 3915072 sectors, multi 0: LBA
>> [ 1.775156] ata1.00: configured for UDMA/33
>> [ 1.803154] ata1.00: configured for UDMA/33
>> [ 1.807423] ata1: EH complete
>> [ 1.811300] scsi 0:0:0:0: Direct-Access ATA TRANSCEND
>> 2007 PQ: 0 ANSI: 5
>> [ 1.821337] sd 0:0:0:0: [sda] 3915072 512-byte hardware sectors:
>> (2.00 GB/1.86 GiB)
>> [ 1.829333] sd 0:0:0:0: [sda] Write Protect is off
>> [ 1.834879] sd 0:0:0:0: [sda] Write cache: disabled, read cache:
>> enabled, doesn't support DPO or FUA
>> [ 1.844851] sd 0:0:0:0: [sda] 3915072 512-byte hardware sectors:
>> (2.00 GB/1.86 GiB)
>> [ 1.852841] sd 0:0:0:0: [sda] Write Protect is off
>> [ 1.858259] sd 0:0:0:0: [sda] Write cache: disabled, read cache:
>> enabled, doesn't support DPO or FUA
>> [ 1.867450] sda: sda1 sda2
>> [ 1.881490] sd 0:0:0:0: [sda] Attached SCSI disk
>> [ 1.890711] fc000000.flash: Found 1 x16 devices at 0x0 in 8-bit =20=
>> bank
>> [ 1.897222] Amd/Fujitsu Extended Query Table at 0x0040
>> [ 1.902529] fc000000.flash: CFI does not contain boot bank
>> location. Assuming top.
>> [ 1.910147] number of CFI chips: 1
>> [ 1.913603] cfi_cmdset_0002: Disabling erase-suspend-program due =20=
>> to
>> code brokenness.
>> [ 1.922009] RedBoot partition parsing not available
>> [ 1.926998] Creating 4 MTD partitions on "fc000000.flash":
>> [ 1.932547] 0x00000000-0x00500000 : "u-boot"
>> [ 1.940601] 0x00500000-0x01000000 : "kernel"
>> [ 1.948071] 0x01000000-0x02000000 : "rootfs"
>> [ 1.955601] 0x02000000-0x03000000 : "application"
>> [ 1.964240] i2c /dev entries driver
>> [ 1.975775] Advanced Linux Sound Architecture Driver Version =20
>> 1.0.18rc3.
>> [ 1.983814] ASoC version 0.13.2
>> [ 1.987668] tlv320aic23 0-001a: probing tlv320aic23 i2c device
>> [ 2.040451] registering ASoC codec driver:
>> /soc5200@f0000000/i2c@3d00/codec@1a
>> [ 2.049539] ALSA device list:
>> [ 2.052591] No soundcards found.
>> [ 2.057430] TCP cubic registered
>> [ 2.060765] NET: Registered protocol family 17
>> [ 2.066886] RPC: Registered udp transport module.
>> [ 2.071683] RPC: Registered tcp transport module.
>> [ 2.087086] EXT2-fs warning: mounting unchecked fs, running e2fsck
>> is recommended
>> [ 2.094828] VFS: Mounted root (ext2 filesystem).
>> [ 2.099690] Freeing unused kernel memory: 180k init
>>
>> On Wed, Feb 4, 2009 at 18:54, Grant Likely =20
>> <grant.likely@secretlab.ca> wrote:
>>> On Wed, Feb 4, 2009 at 9:53 AM, Tobias Knutsson
>>> <tobias.knutsson@gmail.com> wrote:
>>>> clock-frequency =3D <0x1e84800>; //<0>; // =46rom =
boot =20
>>>> loader
>>>> interrupts =3D <2 8 0 2 9 0 2 10 0>;
>>>> interrupt-parent =3D <&mpc5200_pic>;
>>>> bus-range =3D <0 0>;
>>>> ranges =3D <0x02000000 0 0x50000000 0x50000000 0 =20
>>>> 0x10000000
>>>> 0x01000000 0 0x00000000 0x60000000 0 =20
>>>> 0x01000000>;
>>>> };
>>>>
>>>> The cards' memory regions are mapped out fine to different =20
>>>> addresses
>>>> in the 0x50000000-0x60000000 range. However, the IO regions are =20
>>>> all mapped
>>>> to zero.
>>>>
>>>> Do you have any idea on what could be wrong or in which direction I
>>>> should be looking?
>>>
>>> Hmmm. Your ranges property looks okay to me. The MPC5200 setup =20
>>> code
>>> may be doing the wrong thing. Turn on debug at the top of
>>> arch/powerpc/platforms/mpc52xx/mpc52xx_pci.c and post your kernel
>>> output.
>>>
>>> g.
>>>
>>> --
>>> Grant Likely, B.Sc., P.Eng.
>>> Secret Lab Technologies Ltd.
>>>
>>
>>
>>
>> --
>>
>> H=C3=A4lsningar/Regards
>> Tobias Knutsson
>>
>
>
>
> --=20
> Grant Likely, B.Sc., P.Eng.
> Secret Lab Technologies Ltd.
^ permalink raw reply
* Re: [PATCH] AMCC Crypto4xx Device Driver v6
From: James Hsiao @ 2009-02-05 19:47 UTC (permalink / raw)
To: Herbert Xu; +Cc: linuxppc-dev, linux-crypto
In-Reply-To: <20090205051839.GC22749@gondor.apana.org.au>
Hi Herbert,
Thanks for apply the patch.
Somehow the new directory driver/crypto/amcc is missing from the tree.
I can see everything else in the tree except the driver source code.
Do you want me to submit a new patch, or you can fix it with the V6
patch.
Thanks
James
On Thu, 2009-02-05 at 16:18 +1100, Herbert Xu wrote:
> On Wed, Jan 28, 2009 at 02:53:05PM -0800, James Hsiao wrote:
> > This patch adds support for AMCC ppc4xx security device driver. This is the
> > initial release that includes the driver framework with AES and SHA1 algorithms
> > support.
> > The remaining algorithms will be released in the near future.
> >
> > Signed-off-by: James Hsiao <jhsiao@amcc.com>
>
> Patch applied. Thanks James!
^ permalink raw reply
* [PATCH 3/3] powerpc/83xx: Add FSL eSDHC support for MPC837x-RDB boards
From: Anton Vorontsov @ 2009-02-05 19:04 UTC (permalink / raw)
To: Kumar Gala; +Cc: linuxppc-dev
In-Reply-To: <20090205190403.GA27976@oksana.dev.rtsoft.ru>
Simply add appropriate sdhci nodes.
Note that U-Boot should configure pin multiplexing for eSDHC prior
to Linux could use it. U-Boot should also fill-in the clock-frequency
property (eSDHC clock depends on board-specific SCCR[ESDHCCM] bits).
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
---
arch/powerpc/boot/dts/mpc8377_rdb.dts | 9 +++++++++
arch/powerpc/boot/dts/mpc8378_rdb.dts | 9 +++++++++
arch/powerpc/boot/dts/mpc8379_rdb.dts | 9 +++++++++
3 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/boot/dts/mpc8377_rdb.dts b/arch/powerpc/boot/dts/mpc8377_rdb.dts
index b4ab3d0..6f4d614 100644
--- a/arch/powerpc/boot/dts/mpc8377_rdb.dts
+++ b/arch/powerpc/boot/dts/mpc8377_rdb.dts
@@ -291,6 +291,15 @@
fsl,descriptor-types-mask = <0x3ab0ebf>;
};
+ sdhci@2e000 {
+ compatible = "fsl,mpc8377-esdhc", "fsl,mpc8379-esdhc";
+ reg = <0x2e000 0x1000>;
+ interrupts = <42 0x8>;
+ interrupt-parent = <&ipic>;
+ /* Filled in by U-Boot */
+ clock-frequency = <0>;
+ };
+
sata@18000 {
compatible = "fsl,mpc8377-sata", "fsl,pq-sata";
reg = <0x18000 0x1000>;
diff --git a/arch/powerpc/boot/dts/mpc8378_rdb.dts b/arch/powerpc/boot/dts/mpc8378_rdb.dts
index 1b05fb0..6457ef1 100644
--- a/arch/powerpc/boot/dts/mpc8378_rdb.dts
+++ b/arch/powerpc/boot/dts/mpc8378_rdb.dts
@@ -289,6 +289,15 @@
fsl,descriptor-types-mask = <0x3ab0ebf>;
};
+ sdhci@2e000 {
+ compatible = "fsl,mpc8378-esdhc", "fsl,mpc8379-esdhc";
+ reg = <0x2e000 0x1000>;
+ interrupts = <42 0x8>;
+ interrupt-parent = <&ipic>;
+ /* Filled in by U-Boot */
+ clock-frequency = <0>;
+ };
+
/* IPIC
* interrupts cell = <intr #, sense>
* sense values match linux IORESOURCE_IRQ_* defines:
diff --git a/arch/powerpc/boot/dts/mpc8379_rdb.dts b/arch/powerpc/boot/dts/mpc8379_rdb.dts
index 72cdc3c..203fff2 100644
--- a/arch/powerpc/boot/dts/mpc8379_rdb.dts
+++ b/arch/powerpc/boot/dts/mpc8379_rdb.dts
@@ -288,6 +288,15 @@
fsl,descriptor-types-mask = <0x3ab0ebf>;
};
+ sdhci@2e000 {
+ compatible = "fsl,mpc8379-esdhc";
+ reg = <0x2e000 0x1000>;
+ interrupts = <42 0x8>;
+ interrupt-parent = <&ipic>;
+ /* Filled in by U-Boot */
+ clock-frequency = <0>;
+ };
+
sata@18000 {
compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
reg = <0x18000 0x1000>;
--
1.5.6.5
^ permalink raw reply related
* [PATCH 2/3] powerpc/83xx: Convert existing sdhc nodes to new bindings
From: Anton Vorontsov @ 2009-02-05 19:04 UTC (permalink / raw)
To: Kumar Gala; +Cc: linuxppc-dev
In-Reply-To: <20090205190403.GA27976@oksana.dev.rtsoft.ru>
- sdhc node renamed to sdhci ("sdhc" name is confusing since SDHC is
used to name Secure Digital High Capacity cards, while SDHCI is an
interface).
- Get rid of "fsl,esdhc" compatible entry, it's replaced by the
"fsl,<chip>-esdhc" scheme;
- Get rid of `model' property.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
---
arch/powerpc/boot/dts/mpc8377_mds.dts | 7 ++++---
arch/powerpc/boot/dts/mpc8378_mds.dts | 7 ++++---
arch/powerpc/boot/dts/mpc8379_mds.dts | 7 ++++---
3 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/arch/powerpc/boot/dts/mpc8377_mds.dts b/arch/powerpc/boot/dts/mpc8377_mds.dts
index a519e85..3e3ec8f 100644
--- a/arch/powerpc/boot/dts/mpc8377_mds.dts
+++ b/arch/powerpc/boot/dts/mpc8377_mds.dts
@@ -313,12 +313,13 @@
fsl,descriptor-types-mask = <0x3ab0ebf>;
};
- sdhc@2e000 {
- model = "eSDHC";
- compatible = "fsl,esdhc";
+ sdhci@2e000 {
+ compatible = "fsl,mpc8377-esdhc", "fsl,mpc8379-esdhc";
reg = <0x2e000 0x1000>;
interrupts = <42 0x8>;
interrupt-parent = <&ipic>;
+ /* Filled in by U-Boot */
+ clock-frequency = <0>;
};
sata@18000 {
diff --git a/arch/powerpc/boot/dts/mpc8378_mds.dts b/arch/powerpc/boot/dts/mpc8378_mds.dts
index 6bbee49..c3b212c 100644
--- a/arch/powerpc/boot/dts/mpc8378_mds.dts
+++ b/arch/powerpc/boot/dts/mpc8378_mds.dts
@@ -313,12 +313,13 @@
fsl,descriptor-types-mask = <0x3ab0ebf>;
};
- sdhc@2e000 {
- model = "eSDHC";
- compatible = "fsl,esdhc";
+ sdhci@2e000 {
+ compatible = "fsl,mpc8378-esdhc", "fsl,mpc8379-esdhc";
reg = <0x2e000 0x1000>;
interrupts = <42 0x8>;
interrupt-parent = <&ipic>;
+ /* Filled in by U-Boot */
+ clock-frequency = <0>;
};
/* IPIC
diff --git a/arch/powerpc/boot/dts/mpc8379_mds.dts b/arch/powerpc/boot/dts/mpc8379_mds.dts
index acf06c4..1b61cda 100644
--- a/arch/powerpc/boot/dts/mpc8379_mds.dts
+++ b/arch/powerpc/boot/dts/mpc8379_mds.dts
@@ -310,12 +310,13 @@
fsl,descriptor-types-mask = <0x3ab0ebf>;
};
- sdhc@2e000 {
- model = "eSDHC";
- compatible = "fsl,esdhc";
+ sdhci@2e000 {
+ compatible = "fsl,mpc8379-esdhc";
reg = <0x2e000 0x1000>;
interrupts = <42 0x8>;
interrupt-parent = <&ipic>;
+ /* Filled in by U-Boot */
+ clock-frequency = <0>;
};
sata@18000 {
--
1.5.6.5
^ permalink raw reply related
* [PATCH 1/3] powerpc: Document FSL eSDHC bindings
From: Anton Vorontsov @ 2009-02-05 19:04 UTC (permalink / raw)
To: Kumar Gala; +Cc: linuxppc-dev
In-Reply-To: <20090205190403.GA27976@oksana.dev.rtsoft.ru>
This patch documents OF bindings for the Freescale Enhanced Secure
Digital Host Controller.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
---
Documentation/powerpc/dts-bindings/fsl/esdhc.txt | 24 ++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
create mode 100644 Documentation/powerpc/dts-bindings/fsl/esdhc.txt
diff --git a/Documentation/powerpc/dts-bindings/fsl/esdhc.txt b/Documentation/powerpc/dts-bindings/fsl/esdhc.txt
new file mode 100644
index 0000000..6008465
--- /dev/null
+++ b/Documentation/powerpc/dts-bindings/fsl/esdhc.txt
@@ -0,0 +1,24 @@
+* Freescale Enhanced Secure Digital Host Controller (eSDHC)
+
+The Enhanced Secure Digital Host Controller provides an interface
+for MMC, SD, and SDIO types of memory cards.
+
+Required properties:
+ - compatible : should be
+ "fsl,<chip>-esdhc", "fsl,mpc8379-esdhc" for MPC83xx processors.
+ "fsl,<chip>-esdhc", "fsl,mpc8536-esdhc" for MPC85xx processors.
+ - reg : should contain eSDHC registers location and length.
+ - interrupts : should contain eSDHC interrupt.
+ - interrupt-parent : interrupt source phandle.
+ - clock-frequency : specifies eSDHC base clock frequency.
+
+Example:
+
+sdhci@2e000 {
+ compatible = "fsl,mpc8378-esdhc", "fsl,mpc8379-esdhc";
+ reg = <0x2e000 0x1000>;
+ interrupts = <42 0x8>;
+ interrupt-parent = <&ipic>;
+ /* Filled in by U-Boot */
+ clock-frequency = <0>;
+};
--
1.5.6.5
^ permalink raw reply related
* FSL eSDHC bindings update
From: Anton Vorontsov @ 2009-02-05 19:04 UTC (permalink / raw)
To: Kumar Gala; +Cc: linuxppc-dev
On Thu, Jan 22, 2009 at 01:15:01PM -0600, Kumar Gala wrote:
> On Jan 21, 2009, at 8:00 PM, Anton Vorontsov wrote:
>> This patch adds a new driver: sdhci-of. The driver is similar to
>> the sdhci-pci, it contains common probe code, and controller-specific
>> ops and quirks.
>>
>> So far there are only Freescale eSDHC ops and quirks.
>>
>> Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
>> ---
>> drivers/mmc/host/Kconfig | 10 ++
>> drivers/mmc/host/Makefile | 1 +
>> drivers/mmc/host/sdhci-of.c | 274 ++++++++++++++++++++++++++++++++++
>> +++++++++
>> 3 files changed, 285 insertions(+), 0 deletions(-)
>> create mode 100644 drivers/mmc/host/sdhci-of.c
>
> Still griping about lack of OF binding docs for this.
Here they're.
I'm assuming that MPC8536 is the first chip in 85xx family with eSDHC.
Thanks,
--
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2
^ permalink raw reply
* Re: MPC5200 PCI Issues
From: Grant Likely @ 2009-02-05 16:44 UTC (permalink / raw)
To: Tobias Knutsson; +Cc: linuxppc-dev
In-Reply-To: <ccb913ac0902042306k2b0747f2r69092dc2c326752@mail.gmail.com>
On Thu, Feb 5, 2009 at 12:06 AM, Tobias Knutsson
<tobias.knutsson@gmail.com> wrote:
> When enabling the debug-printouts, it came to me that I forgot to
> mention something kind of important. Using the standard mpc52xx_pci.c,
> even the memory resources are mapped to zero.
>
> After disabling this code block, the memory regions are mapped out
> fine (but still no IO):
Reenable this code, enable debug in arch/powerpc/kernel/pci-common.c,
and post the results.
When this code is disabled then you're just getting the leftovers from
U-Boot's scan of the PCI bus. For MPC5200 support Linux does its own
scan and its own allocation of memory/IO address space and this code
is needed to make sure that happens.
g.
>
> static void
> mpc52xx_pci_fixup_resources(struct pci_dev *dev)
> {
> int i;
>
> pr_debug("mpc52xx_pci_fixup_resources() %.4x:%.4x\n",
> dev->vendor, dev->device);
>
> /* We don't rely on boot loader for PCI and resets all
> devices */
> for (i =3D 0; i < DEVICE_COUNT_RESOURCE; i++) {
> struct resource *res =3D &dev->resource[i];
> if (res->end > res->start) { /* Only valid resources */
> res->end -=3D res->start;
> res->start =3D 0;
> res->flags |=3D IORESOURCE_UNSET;
> }
> }
>
> What is the purpose of this code? Since all resources are reset here,
> where are they inteded to be re-allocated?
>
> Here is the bootlog with the aforementioned code enabled:
>
>
> reading cuImage.lite5200b
>
> 1833699 bytes read
> ## Booting kernel from Legacy Image at 00201400 ...
> Image Name: Linux-2.6.28
> Created: 2009-02-05 6:54:20 UTC
> Image Type: PowerPC Linux Kernel Image (gzip compressed)
> Data Size: 1833635 Bytes =3D 1.7 MB
> Load Address: 00400000
> Entry Point: 004005a0
> Verifying Checksum ... OK
> Uncompressing Kernel Image ... OK
> [ 0.000000] Using lite5200 machine description
> [ 0.000000] Linux version 2.6.28 (tknutsson@ztn-ubuntu) (gcc
> version 4.3.2 (Sourcery G++ Lite 4.3-50) ) #66 Thu Feb 5 07:51:46 CET
> 2009
> [ 0.000000] Adding MPC52xx PCI host bridge /pci@f0000d00
> [ 0.000000] PCI host bridge /pci@f0000d00 (primary) ranges:
> [ 0.000000] MEM 0x0000000050000000..0x000000005fffffff -> 0x000000005=
0000000
> [ 0.000000] IO 0x0000000060000000..0x0000000060ffffff -> 0x000000000=
0000000
> [ 0.000000] mpc52xx_pci_setup(hose=3Dc03ec000, pci_regs=3Dfdffad00)
> [ 0.000000] mem_resource[0] =3D {.start=3D50000000, .end=3D5fffffff, .=
flags=3D200}
> [ 0.000000] .io_resource=3D{.start=3D0,.end=3Dffffff,.flags=3D100}
> .io_base_phys=3D0x60000000
> [ 0.000000] Zone PFN ranges:
> [ 0.000000] DMA 0x00000000 -> 0x00004000
> [ 0.000000] Normal 0x00004000 -> 0x00004000
> [ 0.000000] Movable zone start PFN for each node
> [ 0.000000] early_node_map[1] active PFN ranges
> [ 0.000000] 0: 0x00000000 -> 0x00004000
> [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.
> Total pages: 16256
> [ 0.000000] Kernel command line: console=3DttyPSC0,115200 root=3D/dev/=
sda2 rw
> [ 0.000000] MPC52xx PIC is up and running!
> [ 0.000000] PID hash table entries: 256 (order: 8, 1024 bytes)
> [ 0.000000] clocksource: timebase mult[7d00000] shift[22] registered
> [ 0.000263] console [ttyPSC0] enabled
> [ 0.121690] Dentry cache hash table entries: 8192 (order: 3, 32768 byt=
es)
> [ 0.129012] Inode-cache hash table entries: 4096 (order: 2, 16384 byte=
s)
> [ 0.147433] Memory: 60844k/65536k available (3704k kernel code,
> 4624k reserved, 156k data, 117k bss, 180k init)
> [ 0.157672] SLUB: Genslabs=3D12, HWalign=3D32, Order=3D0-3, MinObjects=
=3D0,
> CPUs=3D1, Nodes=3D1
> [ 0.165373] Calibrating delay loop... 63.87 BogoMIPS (lpj=3D127744)
> [ 0.236265] Mount-cache hash table entries: 512
> [ 0.245719] net_namespace: 288 bytes
> [ 0.250237] NET: Registered protocol family 16
> [ 0.284887] PCI: Probing PCI hardware
> [ 0.289670] mpc52xx_pci_fixup_resources() 1057:5809
> [ 0.294799] PCI:0000:00:17.0 Resource 0
> 0000000050400000-00000000507fffff [21208] fixup...
> [ 0.303180] PCI:0000:00:17.0 0000000050400000-00000000507ff=
fff
> [ 0.309998] PCI:0000:00:17.0 Resource 1
> 0000000050800000-0000000050ffffff [20200] fixup...
> [ 0.318262] PCI:0000:00:17.0 0000000050800000-0000000050fff=
fff
> [ 0.325062] PCI:0000:00:17.0 Resource 2
> 0000000060000000-000000006000000f [20101] fixup...
> [ 0.333326] PCI:0000:00:17.0 0000000060000000-0000000060000=
00f
> [ 0.340124] mpc52xx_pci_fixup_resources() 104c:9065
> [ 0.345242] PCI:0000:00:18.0 Resource 0
> 0000000051000000-00000000513fffff [21208] fixup...
> [ 0.353519] PCI:0000:00:18.0 0000000051000000-00000000513ff=
fff
> [ 0.360319] PCI:0000:00:18.0 Resource 1
> 0000000051800000-0000000051ffffff [20200] fixup...
> [ 0.368583] PCI:0000:00:18.0 0000000051800000-0000000051fff=
fff
> [ 0.375383] PCI:0000:00:18.0 Resource 2
> 0000000060000010-000000006000001f [20101] fixup...
> [ 0.383647] PCI:0000:00:18.0 0000000060000010-0000000060000=
01f
> [ 0.390444] mpc52xx_pci_fixup_resources() 104c:9065
> [ 0.395549] PCI:0000:00:19.0 Resource 0
> 0000000052000000-00000000523fffff [21208] fixup...
> [ 0.403826] PCI:0000:00:19.0 0000000052000000-00000000523ff=
fff
> [ 0.410626] PCI:0000:00:19.0 Resource 1
> 0000000052800000-0000000052ffffff [20200] fixup...
> [ 0.418889] PCI:0000:00:19.0 0000000052800000-0000000052fff=
fff
> [ 0.425690] PCI:0000:00:19.0 Resource 2
> 0000000060000020-000000006000002f [20101] fixup...
> [ 0.433954] PCI:0000:00:19.0 0000000060000020-0000000060000=
02f
> [ 0.440751] mpc52xx_pci_fixup_resources() 104c:9065
> [ 0.445854] PCI:0000:00:1a.0 Resource 0
> 0000000053000000-00000000533fffff [21208] fixup...
> [ 0.454130] PCI:0000:00:1a.0 0000000053000000-00000000533ff=
fff
> [ 0.460930] PCI:0000:00:1a.0 Resource 1
> 0000000053800000-0000000053ffffff [20200] fixup...
> [ 0.469194] PCI:0000:00:1a.0 0000000053800000-0000000053fff=
fff
> [ 0.475994] PCI:0000:00:1a.0 Resource 2
> 0000000060000030-000000006000003f [20101] fixup...
> [ 0.484258] PCI:0000:00:1a.0 0000000060000030-0000000060000=
03f
> [ 0.491056] mpc52xx_pci_fixup_resources() 104c:9065
> [ 0.495999] PCI: Fixup bus 0 (PHB)
> [ 0.499383] PCI: device 0000:00:16.0 OF node: <none>
> [ 0.504371] PCI: device 0000:00:17.0 OF node: <none>
> [ 0.509363] PCI: device 0000:00:18.0 OF node: <none>
> [ 0.514354] PCI: device 0000:00:19.0 OF node: <none>
> [ 0.519345] PCI: device 0000:00:1a.0 OF node: <none>
> [ 0.524332] Try to map irq for 0000:00:16.0...
> [ 0.528808] Try to map irq for 0000:00:17.0...
> [ 0.533334] -> got one, spec 3 cells (0x00000001 0x00000001...) on
> /soc5200@f0000000/interrupt-controller@500
> [ 0.543389] -> mapped to linux irq 65
> [ 0.547117] Try to map irq for 0000:00:18.0...
> [ 0.551626] -> got one, spec 3 cells (0x00000001 0x00000001...) on
> /soc5200@f0000000/interrupt-controller@500
> [ 0.561629] -> mapped to linux irq 65
> [ 0.565353] Try to map irq for 0000:00:19.0...
> [ 0.569858] -> got one, spec 3 cells (0x00000001 0x00000001...) on
> /soc5200@f0000000/interrupt-controller@500
> [ 0.579863] -> mapped to linux irq 65
> [ 0.583587] Try to map irq for 0000:00:1a.0...
> [ 0.588099] -> got one, spec 3 cells (0x00000001 0x00000001...) on
> /soc5200@f0000000/interrupt-controller@500
> [ 0.598103] -> mapped to linux irq 65
> [ 0.605144] PCI: PHB (bus 0) bridge rsrc 0:
> 0000000000000000-0000000000ffffff [0x100], parent c03a1fdc (PCI IO)
> [ 0.615266] PCI: PHB (bus 0) bridge rsrc 1:
> 0000000050000000-000000005fffffff [0x200], parent c03a1fc0 (PCI mem)
> [ 0.625539] PCI: Assigning unassigned resouces...
> [ 0.630304] bus: 00 index 0 io port: [0x00-0xffffff]
> [ 0.635299] bus: 00 index 1 mmio: [0x50000000-0x5fffffff]
> [ 0.640909] DMA: MPC52xx BestComm driver
> [ 0.645214] DMA: MPC52xx BestComm engine @f0001200 ok !
> [ 0.678739] SCSI subsystem initialized
> [ 0.709498] NET: Registered protocol family 2
> [ 0.754980] IP route cache hash table entries: 1024 (order: 0, 4096 by=
tes)
> [ 0.762429] TCP established hash table entries: 2048 (order: 2, 16384 =
bytes)
> [ 0.769716] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
> [ 0.776224] TCP: Hash tables configured (established 2048 bind 2048)
> [ 0.782604] TCP reno registered
> [ 0.795054] NET: Registered protocol family 1
> [ 0.846171] JFFS2 version 2.2. (NAND) (c) 2001-2006 Red Hat, Inc.
> [ 0.855699] msgmni has been set to 118
> [ 0.861227] alg: No test for stdrng (krng)
> [ 0.865651] io scheduler noop registered
> [ 0.869658] io scheduler anticipatory registered (default)
> [ 0.875224] io scheduler deadline registered
> [ 0.879838] io scheduler cfq registered
> [ 1.442231] Generic RTC Driver v1.07
> [ 1.447145] Serial: MPC52xx PSC UART driver
> [ 1.451885] f0002200.serial: ttyPSC2 at MMIO 0xf0002200 (irq =3D 130)
> is a MPC52xx PSC
> [ 1.461497] f0002400.serial: ttyPSC3 at MMIO 0xf0002400 (irq =3D 131)
> is a MPC52xx PSC
> [ 1.471257] f0002600.serial: ttyPSC4 at MMIO 0xf0002600 (irq =3D 139)
> is a MPC52xx PSC
> [ 1.480866] f0002800.serial: ttyPSC5 at MMIO 0xf0002800 (irq =3D 140)
> is a MPC52xx PSC
> [ 1.490461] f0002c00.serial: ttyPSC0 at MMIO 0xf0002c00 (irq =3D 132)
> is a MPC52xx PSC
> [ 1.521689] brd: module loaded
> [ 1.535886] loop: module loaded
> [ 1.544328] mpc52xx MII bus: probed
> [ 1.550220] net eth0: Using PHY at MDIO address 0
> [ 1.556124] Driver 'sd' needs updating - please use bus_type methods
> [ 1.563224] ata: MPC52xx IDE/ATA libata driver
> [ 1.568729] scsi0 : mpc52xx_ata
> [ 1.573032] ata1: PATA max UDMA/33 ata_regs 0xf0003a00 irq 135
> [ 1.751224] ata1.00: ATA-0: TRANSCEND, 20070831, max UDMA/66
> [ 1.756948] ata1.00: 3915072 sectors, multi 0: LBA
> [ 1.775156] ata1.00: configured for UDMA/33
> [ 1.803154] ata1.00: configured for UDMA/33
> [ 1.807423] ata1: EH complete
> [ 1.811300] scsi 0:0:0:0: Direct-Access ATA TRANSCEND
> 2007 PQ: 0 ANSI: 5
> [ 1.821337] sd 0:0:0:0: [sda] 3915072 512-byte hardware sectors:
> (2.00 GB/1.86 GiB)
> [ 1.829333] sd 0:0:0:0: [sda] Write Protect is off
> [ 1.834879] sd 0:0:0:0: [sda] Write cache: disabled, read cache:
> enabled, doesn't support DPO or FUA
> [ 1.844851] sd 0:0:0:0: [sda] 3915072 512-byte hardware sectors:
> (2.00 GB/1.86 GiB)
> [ 1.852841] sd 0:0:0:0: [sda] Write Protect is off
> [ 1.858259] sd 0:0:0:0: [sda] Write cache: disabled, read cache:
> enabled, doesn't support DPO or FUA
> [ 1.867450] sda: sda1 sda2
> [ 1.881490] sd 0:0:0:0: [sda] Attached SCSI disk
> [ 1.890711] fc000000.flash: Found 1 x16 devices at 0x0 in 8-bit bank
> [ 1.897222] Amd/Fujitsu Extended Query Table at 0x0040
> [ 1.902529] fc000000.flash: CFI does not contain boot bank
> location. Assuming top.
> [ 1.910147] number of CFI chips: 1
> [ 1.913603] cfi_cmdset_0002: Disabling erase-suspend-program due to
> code brokenness.
> [ 1.922009] RedBoot partition parsing not available
> [ 1.926998] Creating 4 MTD partitions on "fc000000.flash":
> [ 1.932547] 0x00000000-0x00500000 : "u-boot"
> [ 1.940601] 0x00500000-0x01000000 : "kernel"
> [ 1.948071] 0x01000000-0x02000000 : "rootfs"
> [ 1.955601] 0x02000000-0x03000000 : "application"
> [ 1.964240] i2c /dev entries driver
> [ 1.975775] Advanced Linux Sound Architecture Driver Version 1.0.18rc3=
.
> [ 1.983814] ASoC version 0.13.2
> [ 1.987668] tlv320aic23 0-001a: probing tlv320aic23 i2c device
> [ 2.040451] registering ASoC codec driver:
> /soc5200@f0000000/i2c@3d00/codec@1a
> [ 2.049539] ALSA device list:
> [ 2.052591] No soundcards found.
> [ 2.057430] TCP cubic registered
> [ 2.060765] NET: Registered protocol family 17
> [ 2.066886] RPC: Registered udp transport module.
> [ 2.071683] RPC: Registered tcp transport module.
> [ 2.087086] EXT2-fs warning: mounting unchecked fs, running e2fsck
> is recommended
> [ 2.094828] VFS: Mounted root (ext2 filesystem).
> [ 2.099690] Freeing unused kernel memory: 180k init
>
> On Wed, Feb 4, 2009 at 18:54, Grant Likely <grant.likely@secretlab.ca> wr=
ote:
>> On Wed, Feb 4, 2009 at 9:53 AM, Tobias Knutsson
>> <tobias.knutsson@gmail.com> wrote:
>>> clock-frequency =3D <0x1e84800>; //<0>; // From boot loa=
der
>>> interrupts =3D <2 8 0 2 9 0 2 10 0>;
>>> interrupt-parent =3D <&mpc5200_pic>;
>>> bus-range =3D <0 0>;
>>> ranges =3D <0x02000000 0 0x50000000 0x50000000 0 0x100000=
00
>>> 0x01000000 0 0x00000000 0x60000000 0 0x01000000=
>;
>>> };
>>>
>>> The cards' memory regions are mapped out fine to different addresses
>>> in the 0x50000000-0x60000000 range. However, the IO regions are all map=
ped
>>> to zero.
>>>
>>> Do you have any idea on what could be wrong or in which direction I
>>> should be looking?
>>
>> Hmmm. Your ranges property looks okay to me. The MPC5200 setup code
>> may be doing the wrong thing. Turn on debug at the top of
>> arch/powerpc/platforms/mpc52xx/mpc52xx_pci.c and post your kernel
>> output.
>>
>> g.
>>
>> --
>> Grant Likely, B.Sc., P.Eng.
>> Secret Lab Technologies Ltd.
>>
>
>
>
> --
>
> H=E4lsningar/Regards
> Tobias Knutsson
>
--=20
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
^ permalink raw reply
* Re: [PATCH 1/3] powerpc: bare minimum checkpoint/restart implementation
From: Serge E. Hallyn @ 2009-02-05 16:09 UTC (permalink / raw)
To: Benjamin Herrenschmidt
Cc: containers, Oren Laadan, Nathan Lynch, linuxppc-dev
In-Reply-To: <1233793012.4612.32.camel@pasglop>
Quoting Benjamin Herrenschmidt (benh@kernel.crashing.org):
> On Wed, 2009-02-04 at 18:44 -0500, Oren Laadan wrote:
> > * Anything that is decided at compiled time should probably go to the arch-
> > dependent header.
> >
> > * Anything that can change at boot time (e.g., for x86 that would include
> > the capabilities of the FPU), or even run time (is there any ?) should
> > be described to the letter (in fine print) in 'struct cr_hdr_cpu' and
> > friends.
>
> I think we should avoid compile time completely.
>
> We mostly try to have kernels running on everything anyway, and there's
> no reason not to be able to move a snapshot to a different CPU if it's
> not using a feature of the CPU that is different.
Absolutely, but the accepted way to handle that so far is that if
you want to run an "incompatible" checkpoint image on a new cpu,
a userspace program will rewrite the image to be correct for the target
cpu.
But what you list below seems more usable than trying to encapsulate
that info in some hokey version number system.
> Nathan, what about you start the structure with a 64 bit bitmask that
> indicates what "records" are present followed by concatenated records ?
>
> IE. The "main" state (pt_regs) wouldn't change, but then, you could have
> a list of things:
>
> - FPRs
> - old style VSX
> - VSRs
> - Freescale SPE state
> - DABR
> - BookE IAC/DACs
> - tbd...
>
> Then, when resuming a snapshot, we can use some bit masks trickery
> indicating the validity on a given target. IE. If CPU has no VSX and
> original program uses VSX then you can't resume. But if CPU has VSR you
> can.. etc... We can keep it trivial at fist, especting the same
> features, and try to be smart later.
>
> Ben.
>
^ permalink raw reply
* Re: [ANN] Introducing new "test" branch in powerpc.git tree
From: Wolfram Sang @ 2009-02-05 16:10 UTC (permalink / raw)
To: Grant Likely; +Cc: linuxppc-dev list
In-Reply-To: <fa686aa40902050806s998f88fie02bb8131b1effc1@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 447 bytes --]
> Sure, I can push it out. It will be a little haphazard though. I
> maintain it using stacked git, so not all the things that I have in
> the stack are actually applied at any given time, but I will try to
> keep it up to date as I pick things up.
Cool, thanks, this will do!
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply
* Re: [ANN] Introducing new "test" branch in powerpc.git tree
From: Grant Likely @ 2009-02-05 16:06 UTC (permalink / raw)
To: Wolfram Sang; +Cc: linuxppc-dev list
In-Reply-To: <20090205094504.GA3101@pengutronix.de>
On Thu, Feb 5, 2009 at 2:45 AM, Wolfram Sang <w.sang@pengutronix.de> wrote:
> On Wed, Feb 04, 2009 at 09:20:04PM -0700, Grant Likely wrote:
>
>> what to do with it. The only difference is that mine isn't usually
>> public. If people want to see it, then I push it out, but otherwise I
>> just wait until I've got a real pull request.
>
> I'd like to see that tree public, so I can check anytime if you already
> have picked up a patch or if it has been overlooked...
Sure, I can push it out. It will be a little haphazard though. I
maintain it using stacked git, so not all the things that I have in
the stack are actually applied at any given time, but I will try to
keep it up to date as I pick things up.
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
^ permalink raw reply
* Re: [PATCH 2/3] powerpc: Make it possible to safely select CONFIG_FRAME_POINTER
From: Anton Vorontsov @ 2009-02-05 15:45 UTC (permalink / raw)
To: Benjamin Herrenschmidt
Cc: linux-rt-users, linux-kernel, linuxppc-dev, Steven Rostedt,
Paul Mackerras, Ingo Molnar
In-Reply-To: <20090205013023.GA31417@oksana.dev.rtsoft.ru>
On Thu, Feb 05, 2009 at 04:30:23AM +0300, Anton Vorontsov wrote:
[...]
> > > > > Remove -fno-omit-frame-pointer flag from CFLAGS.
> > > > > Remove -fno-omit-frame-pointer workarounds.
> > > >
> > > > But what about -pg -requires -fno-omit-frame-pointer ?
> > >
> > > I don't think it requires -fno-omit-frame-pointer. It is just
> > > incompatible with -fomit-frame-pointer.
> >
> > From a quick test, you seem to be right.
> >
> > Now the question of course is whether -pg will internally trigger
> > the bug for which we need the workaround tho...
>
> According to http://marc.info/?l=linux-kernel&m=121958694215835&w=4
> just removing -fno-omit-frame-pointer solved the problem.
>
> But I'll double check that on the actual hardware.
Confirmed. Just -pg doesn't cause any ill effects (for the test
I built kernel on a ppc32 board).
While simply adding -fno-omit-frame-pointer caused this during
bootup:
...
Waiting for /dev to be fully populated...
Unable to handle kernel paging request for data at address 0x00000901
Faulting instruction address: 0xc00d9a4c
Oops: Kernel access of bad area, sig: 11 [#1]
MPC837x RDB
Modules linked in:
NIP: c00d9a4c LR: c00d9a34 CTR: c015ac7c
REGS: cf197cd0 TRAP: 0300 Not tainted (2.6.29-rc3-45527-g727839a-dirty)
MSR: 00009032 <EE,ME,IR,DR> CR: 44084228 XER: 20000000
DAR: 00000901, DSISR: 22000000
TASK = cfa42a80[1140] 'udevd' THREAD: cf196000
GPR00: fffff000 cf197d80 cfa42a80 cf4213f0 c058e678 00000003 cf42145a 7f7f7f7f
GPR08: 0000012c 00000000 c0580000 cf197d80 84084228 1002414c cf197e9c c058e7b4
GPR16: c058e678 fffffff4 c05b0000 cf197dc0 cf197db8 cf197dc8 00000000 00000000
GPR24: c00e4e30 00000000 24084222 00000001 00000901 cf197e98 cf4213f0 cf197d80
NIP [c00d9a4c] do_lookup+0x7c/0xf8
LR [c00d9a34] do_lookup+0x64/0xf8
Call Trace:
[cf197d80] [c00d9a34] do_lookup+0x64/0xf8 (unreliable)
[cf197db0] [c00db73c] __link_path_walk+0x180/0xdc4
[cf197e30] [c00dc3d8] path_walk+0x58/0xe0
[cf197e60] [c00dc55c] do_path_lookup+0x8c/0x164
[cf197e90] [c00dd260] user_path_at+0x64/0xac
[cf197f00] [c00d3760] sys_readlinkat+0x40/0xb4
[cf197f30] [c00d380c] sys_readlink+0x38/0x50
[cf197f40] [c0018040] ret_from_syscall+0x0/0x38
--- Exception: c01 at 0xfed4754
LR = 0x10006280
Instruction dump:
80090000 2f800000 419e0028 7fa4eb78 7c0903a6 4e800421 7c7b1b79 40810040
3800f000 7fc3f378 7f9e0040 419d0018 <935c0000> 7f83e378 93dc0004 4bfffcd1
---[ end trace 4815c47675962320 ]---
FWIW, gcc version 4.2.0.
--
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2
^ permalink raw reply
* Re: Calling wait_event_interruptible_timeout() in I2C wait functions
From: Timur Tabi @ 2009-02-05 15:18 UTC (permalink / raw)
To: Mark Brown; +Cc: linuxppc-dev, linux-i2c, Mike Ditto
In-Reply-To: <20090205115100.GD422@sirena.org.uk>
On Thu, Feb 5, 2009 at 5:51 AM, Mark Brown <broonie@sirena.org.uk> wrote:
> This is exactly the problem for users that caused Timur to run into this
> - further up the stack we're trying to do cleanup that involves writing
> via I2C but the I2C writes error out due to the signal.
Well, there's not much discussion on this issue, so I'm going to make
the change to an uninterruptible wait and see if it fixes my problem.
If so, I'll post a patch for i2c-mpc.c and see how far I get.
--
Timur Tabi
Linux kernel developer at Freescale
^ permalink raw reply
* linux2.6.23-rc2 enable APU for ppc405
From: Li Jun (Aaron) @ 2009-02-05 14:51 UTC (permalink / raw)
To: linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 496 bytes --]
Anybody can help? Thanks a lot!
Hi,
I am now using impulse c and xilinx virtex4 ml403 board to do a project.
And I want to run the application through APU in the linux environment.
So I need to enable the apu for the linux 2.6.23-rc kernel. Then use cross
compiler(crosstool-0.43) to make zImage.
Does anybody have patch for linux 2.6 to enable apu/fpu? Or any guide for
this?
I am a new guy in this field, hope can get help!
Thanks very much!
Best regards,
Li Jun
[-- Attachment #2: Type: text/html, Size: 4407 bytes --]
^ permalink raw reply
* Re: ndfc driver on Kilauea board
From: Felix Radensky @ 2009-02-05 14:43 UTC (permalink / raw)
To: linuxppc-dev
In-Reply-To: <21851244.post@talk.nabble.com>
Felix Radensky wrote:
>
> Hi,
>
> I'm trying to enable Linux ndfc driver on Kilauea (ppc405ex) board rev 1.2
> running
> u-boot v2009.01 and linux-2.6.29-rc3. I've enabled NDFC in kernel config
> and
> updated kilauea.dts as described in
> Documentation/powerpc/dts-bindings/4xx/ndfc.txt
> NDFC chip select is 1, so it matches the example in ndfc.txt
> However driver probe routine is not called by the kernel, and NAND is not
> identified. What am I missing ? The same driver (backported) works for me
> on custom 460EX board with u-boot-1.3.4 and linux-2.6.28
>
> Thanks a lot in advance.
>
> Felix.
>
U-boot on Kilauea ships with the following definitions:
fdt_addr=0xfc1e0000
net_nfs_fdt=tftp 200000 ${bootfile};tftp ${fdt_addr} ${fdt_file};run nfsargs
addip addtty;bootm 200000 - ${fdt_addr}
I was running net_nfs_fdt to download kernel and fdt from network, but in
reality
fdt stored on flash was used, which has no ndfc definitions. Now that I'm
using
a proper ftd, NAND is properly identified.
Sorry for the noise.
Felix.
--
View this message in context: http://www.nabble.com/ndfc-driver-on-Kilauea-board-tp21851244p21852712.html
Sent from the linuxppc-dev mailing list archive at Nabble.com.
^ permalink raw reply
* Re: [ANN] Introducing new "test" branch in powerpc.git tree
From: Josh Boyer @ 2009-02-05 13:47 UTC (permalink / raw)
To: Benjamin Herrenschmidt; +Cc: linuxppc-dev list
In-Reply-To: <1233806493.4612.65.camel@pasglop>
On Thu, Feb 05, 2009 at 03:01:33PM +1100, Benjamin Herrenschmidt wrote:
>Hoy !
>
>So I've been annoyed for some time by the way we do our preparation for
>the next merge window. The "next" branch is defined as not being rebased
>ever (well, as much as possible), which makes it impossible to just
>stash things early in there and rebase if needed, which is a useful
>exercise in the weeks leading to the merge window to be able to test
>patches, fix them, etc... while keeping a good idea of what's planned to
>go in.
>
>Thus I've created a "test" branch. I'll push it out later today with
>various things pending. For pulls from sub-maintainers, I'll probably
>merge into "next" quickly (ie. a day or two after hitting "test" just
>enough time to find gross problems). That will allow me to be more
>pro-active also at pulling things off the mailing list and sticking them
>there even if some cosmetic changes have been requested to the patch as
>I will have no issue rebasing it when the new patch comes in.
I like this. So we have:
test -> testing stuff
next -> stuff that's been tested and is queued up for the next release
merge -> fixes for the currently being worked on release
Which begs the question of what master is for. So far, it's just been
a mirror of next from what I can tell. Maybe it should just track
Linus' tree?
josh
^ permalink raw reply
* [RFC] Error handling in *_add/find_bridges()
From: Gerhard Pircher @ 2009-02-05 13:36 UTC (permalink / raw)
To: linuxppc-dev list
In-Reply-To: <1233780436.4612.0.camel@pasglop>
Hi!
I have a minor question about the error handling in the various *_add/find_bridges functions, which are used to detect and initialize
PHBs. AFAIK all of them return an error code that is never checked in
the platform setup code (e.g. when there is no memory for the
pci_controller struct).
Shouldn't the kernel panic (BUG();), when it can't initialize the PHB
for whatever reason and the platform depends on a working PCI bus?
Thanks!
regards,
Gerhard
--
Jetzt 1 Monat kostenlos! GMX FreeDSL - Telefonanschluss + DSL
für nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
^ permalink raw reply
* ndfc driver on Kilauea board
From: Felix Radensky @ 2009-02-05 13:21 UTC (permalink / raw)
To: linuxppc-dev
Hi,
I'm trying to enable Linux ndfc driver on Kilauea (ppc405ex) board rev 1.2
running
u-boot v2009.01 and linux-2.6.29-rc3. I've enabled NDFC in kernel config and
updated kilauea.dts as described in
Documentation/powerpc/dts-bindings/4xx/ndfc.txt
NDFC chip select is 1, so it matches the example in ndfc.txt
However driver probe routine is not called by the kernel, and NAND is not
identified. What am I missing ? The same driver (backported) works for me
on custom 460EX board with u-boot-1.3.4 and linux-2.6.28
Thanks a lot in advance.
Felix.
--
View this message in context: http://www.nabble.com/ndfc-driver-on-Kilauea-board-tp21851244p21851244.html
Sent from the linuxppc-dev mailing list archive at Nabble.com.
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox