Skip to contentSkip to conversation

New machine mpc5125-twr, Freescale TWR-MPC5125-KIT

PATCH In review Jan Kobler 2 participants 8 messages Apr 8, 2011 – Apr 11, 2011

lore
Share & tools
lore

Jan Kobler

author
#0 lore raw

PATCH 1/2 New machine mpc5125-twr, Freescale TWR-MPC5125-KIT

Freescale Development Kit TWR-MPC5125-KIT

Vendor page: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-MPC5125-KIT

The name mpc5125-twr is used by Freescale in the Linux kernel for this board.

---
 MAINTAINERS                       |    2 +-
 conf/distro/include/sane-feed.inc |    1 +
 conf/machine/mpc5125-twr.conf     |   27 +++++++++++++++++++++++++++
 contrib/angstrom/sort.sh          |    2 +-
 recipes/linux/linux_2.6.29.bb     |    9 +++++++++
 5 files changed, 39 insertions(+), 2 deletions(-)
 create mode 100644 conf/machine/mpc5125-twr.conf
MAINTAINERS +1 -1
index 45e92d1..c0962cc 100644
@@ -141,7 +141,7 @@ Recipes:    net-snmp, ebtables, ethtool, arpwatch, lib*-perl
 Person:     Jan Kobler
 Mail:       [email protected]
 Interests:  embedded systems, powerpc, arm
-Machines:   pcm043
+Machines:   mpc5125-twr, pcm043
 
 Person:     Jan Luebbe
 Mail:       [email protected]
conf/distro/include/sane-feed.inc +1 -0
index 70fc7a9..821f5bf 100644
@@ -156,6 +156,7 @@ FEED_ARCH_storcenter 	= "ppc603e"
 FEED_ARCH_turbostation 	= "ppc603e"
 FEED_ARCH_mpc8313e-rdb 	= "ppce300c3"
 FEED_ARCH_mpc8323e-rdb 	= "ppce300c2"
+FEED_ARCH_mpc5125-twr 	= "ppce300c3"
 
 # strongarm machines, no EABI
 
conf/machine/mpc5125-twr.conf new file +27 -0
new file mode 100644
index 0000000..71432cd
@@ -0,0 +1,27 @@
+#@TYPE: Machine
+#@Name: Freescale MPC5125-TWR
+#@DESCRIPTION: Machine configuration for Freescale MPC5125-TWR 
+
+# Vendor page: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-MPC5125-KIT
+
+TARGET_ARCH = "powerpc"
+PACKAGE_EXTRA_ARCHS = "ppc"
+MACHINE_FEATURES                = "kernel26 usbhost ext2"
+
+PREFERRED_PROVIDER_virtual/kernel = "linux"
+PREFERRED_VERSION_linux = "2.6.29"
+PREFERRED_VERSION_linux-libc-headers = "2.6.29"
+
+# used by sysvinit_2
+SERIAL_CONSOLE = "115200 ttyPSC0"
+
+IMAGE_FSTYPES += "tar.gz"
+
+KERNEL_IMAGETYPE = "uImage"
+UBOOT_ENTRYPOINT = "0x0"
+KERNEL_DEVICETREE_mpc5125-twr = "arch/${ARCH}/boot/dts/mpc5125-twr.dts"
+
+# used by opie-collections.inc
+ROOT_FLASH_SIZE = "32"
+
+require conf/machine/include/tune-ppce300c3.inc
contrib/angstrom/sort.sh +1 -1
index ca13ce2..3a0db52 100755
@@ -112,7 +112,7 @@ case "$arch" in
 	"ppce300c2")
 			machines="mpc8323e-rdb" ;;
 	"ppce300c3")
-			machines="boc01 mpc8313e-rdb mpc8315e-rdb" ;;
+			machines="boc01 mpc5125-twr mpc8313e-rdb mpc8315e-rdb" ;;
 	"ppce500")
 			machines="tqm8540" ;;
 	"ppce500v2")
recipes/linux/linux_2.6.29.bb +9 -0
index 2b80884..5d4809b 100644
@@ -22,6 +22,12 @@ SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.29.tar.bz2;name=k
            ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/patch-${PV}.6.bz2;apply=yes;name=stablepatch \
            file://defconfig"
 
+# mpc5125-twr uses linux-2.6.29.1
+SRC_URI_mpc5125-twr = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.29.tar.bz2;name=kernel \
+           ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/patch-${PV}.1.bz2;apply=yes;name=stablepatch1 \
+           file://defconfig \
+           file://mpc5125-twr.patch"
+
 SRC_URI_append_boc01 = "\
 	file://boc01.dts \
 	file://boc01.dts.v1 \
@@ -91,3 +97,6 @@ SRC_URI[kernel.md5sum] = "64921b5ff5cdadbccfcd3820f03be7d8"
 SRC_URI[kernel.sha256sum] = "58a5ea16d499fe06f90fcbf1d687d1235d2cb9bc28bf979867bd3faadf38fc3f"
 SRC_URI[stablepatch.md5sum] = "0317760b52c9ac7a11de997da19a366e"
 SRC_URI[stablepatch.sha256sum] = "0294d475cbbc6cf43db25e64b92616309086cad6be4ee463f7f4b1d16d285c27"
+# linux patch-2.6.29.1
+SRC_URI[stablepatch1.md5sum] = "87c6fbf4096b644d66d4da8bb00641a5"
+SRC_URI[stablepatch1.sha256sum] = "0c44a41816082602f9d2bd45524d85f6e5fa8e4a6a9a15861048ca2aaf068d8f"
Signature · 1 line
1.7.3.4
author
#1 lore raw

PATCH 2/2 Linux kernel for mpc5125-twr

Freescale is shipping a Linux kernel 2.6.29-v2010041601 for the TWR-MPC5125-KIT in
http://www.freescale.com/files/soft_dev_tools/software/board_support_packages/TWRMPC5125LinuxBSP.rar

The patch mpc5125-twr.patch has been created by comparing the Freescale Linux kernel with Linux kernel version 2.6.29.1

The defconfig file is the file linux-2.6.29-v2010041601/arch/powerpc/configs/mpc5125_twr_defconfig.

---
 recipes/linux/linux-2.6.29/mpc5125-twr/defconfig   | 2274 +
 .../linux-2.6.29/mpc5125-twr/mpc5125-twr.patch     |48475 ++++++++++++++++++++
 2 files changed, 50749 insertions(+), 0 deletions(-)
 create mode 100644 recipes/linux/linux-2.6.29/mpc5125-twr/defconfig
 create mode 100644 recipes/linux/linux-2.6.29/mpc5125-twr/mpc5125-twr.patch
recipes/linux/linux-2.6.29/mpc5125-twr/defconfig new file +2274 -0
new file mode 100644
index 0000000..9601c6a
@@ -0,0 +1,2274 @@
+#
+# Automatically generated make config: don't edit
+# Linux kernel version: 2.6.29.1
+# Thu Mar 18 13:38:38 2010
+#
+# CONFIG_PPC64 is not set
+
+#
+# Processor support
+#
+CONFIG_6xx=y
+# CONFIG_PPC_85xx is not set
+# CONFIG_PPC_8xx is not set
+# CONFIG_40x is not set
+# CONFIG_44x is not set
+# CONFIG_E200 is not set
+CONFIG_PPC_FPU=y
+# CONFIG_ALTIVEC is not set
+CONFIG_PPC_STD_MMU=y
+CONFIG_PPC_STD_MMU_32=y
+# CONFIG_PPC_MM_SLICES is not set
+# CONFIG_SMP is not set
+CONFIG_NOT_COHERENT_CACHE=y
+CONFIG_PPC32=y
+CONFIG_WORD_SIZE=32
+# CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set
+CONFIG_MMU=y
+CONFIG_GENERIC_CMOS_UPDATE=y
+CONFIG_GENERIC_TIME=y
+CONFIG_GENERIC_TIME_VSYSCALL=y
+CONFIG_GENERIC_CLOCKEVENTS=y
+CONFIG_GENERIC_HARDIRQS=y
+# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set
+CONFIG_IRQ_PER_CPU=y
+CONFIG_STACKTRACE_SUPPORT=y
+CONFIG_HAVE_LATENCYTOP_SUPPORT=y
+CONFIG_LOCKDEP_SUPPORT=y
+CONFIG_RWSEM_XCHGADD_ALGORITHM=y
+CONFIG_ARCH_HAS_ILOG2_U32=y
+CONFIG_GENERIC_HWEIGHT=y
+CONFIG_GENERIC_CALIBRATE_DELAY=y
+CONFIG_GENERIC_FIND_NEXT_BIT=y
+# CONFIG_ARCH_NO_VIRT_TO_BUS is not set
+CONFIG_PPC=y
+CONFIG_EARLY_PRINTK=y
+CONFIG_GENERIC_NVRAM=y
+CONFIG_SCHED_OMIT_FRAME_POINTER=y
+CONFIG_ARCH_MAY_HAVE_PC_FDC=y
+CONFIG_PPC_OF=y
+CONFIG_OF=y
+CONFIG_PPC_UDBG_16550=y
+# CONFIG_GENERIC_TBSYNC is not set
+CONFIG_AUDIT_ARCH=y
+CONFIG_GENERIC_BUG=y
+CONFIG_DEFAULT_UIMAGE=y
+# CONFIG_PPC_DCR_NATIVE is not set
+# CONFIG_PPC_DCR_MMIO is not set
+CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
+
+#
+# General setup
+#
+CONFIG_EXPERIMENTAL=y
+CONFIG_BROKEN_ON_SMP=y
+CONFIG_LOCK_KERNEL=y
+CONFIG_INIT_ENV_ARG_LIMIT=32
+CONFIG_LOCALVERSION=""
+# CONFIG_LOCALVERSION_AUTO is not set
+CONFIG_SWAP=y
+CONFIG_SYSVIPC=y
+CONFIG_SYSVIPC_SYSCTL=y
+CONFIG_POSIX_MQUEUE=y
+CONFIG_BSD_PROCESS_ACCT=y
+CONFIG_BSD_PROCESS_ACCT_V3=y
+CONFIG_TASKSTATS=y
+CONFIG_TASK_DELAY_ACCT=y
+CONFIG_TASK_XACCT=y
+CONFIG_TASK_IO_ACCOUNTING=y
+CONFIG_AUDIT=y
+CONFIG_AUDITSYSCALL=y
+CONFIG_AUDIT_TREE=y
+
+#
+# RCU Subsystem
+#
+CONFIG_CLASSIC_RCU=y
+# 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=17
+CONFIG_GROUP_SCHED=y
+CONFIG_FAIR_GROUP_SCHED=y
+# CONFIG_RT_GROUP_SCHED is not set
+# CONFIG_USER_SCHED is not set
+CONFIG_CGROUP_SCHED=y
+CONFIG_CGROUPS=y
+# CONFIG_CGROUP_DEBUG is not set
+CONFIG_CGROUP_NS=y
+CONFIG_CGROUP_FREEZER=y
+CONFIG_CGROUP_DEVICE=y
+CONFIG_CGROUP_CPUACCT=y
+# CONFIG_RESOURCE_COUNTERS is not set
+# CONFIG_SYSFS_DEPRECATED_V2 is not set
+CONFIG_RELAY=y
+CONFIG_NAMESPACES=y
+CONFIG_UTS_NS=y
+CONFIG_IPC_NS=y
+CONFIG_USER_NS=y
+CONFIG_PID_NS=y
+CONFIG_NET_NS=y
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_INITRAMFS_SOURCE=""
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_SYSCTL=y
+CONFIG_ANON_INODES=y
+# CONFIG_EMBEDDED is not set
+CONFIG_SYSCTL_SYSCALL=y
+CONFIG_KALLSYMS=y
+# CONFIG_KALLSYMS_EXTRA_PASS is not set
+CONFIG_HOTPLUG=y
+CONFIG_PRINTK=y
+CONFIG_BUG=y
+CONFIG_ELF_CORE=y
+CONFIG_PCSPKR_PLATFORM=y
+CONFIG_BASE_FULL=y
+CONFIG_FUTEX=y
+CONFIG_EPOLL=y
+CONFIG_SIGNALFD=y
+CONFIG_TIMERFD=y
+CONFIG_EVENTFD=y
+CONFIG_SHMEM=y
+CONFIG_AIO=y
+CONFIG_VM_EVENT_COUNTERS=y
+CONFIG_PCI_QUIRKS=y
+# CONFIG_COMPAT_BRK is not set
+CONFIG_SLAB=y
+# CONFIG_SLUB is not set
+# CONFIG_SLOB is not set
+CONFIG_PROFILING=y
+CONFIG_TRACEPOINTS=y
+CONFIG_MARKERS=y
+CONFIG_OPROFILE=m
+CONFIG_HAVE_OPROFILE=y
+# CONFIG_KPROBES is not set
+CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
+CONFIG_HAVE_IOREMAP_PROT=y
+CONFIG_HAVE_KPROBES=y
+CONFIG_HAVE_KRETPROBES=y
+CONFIG_HAVE_ARCH_TRACEHOOK=y
+CONFIG_HAVE_CLK=y
+# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
+CONFIG_SLABINFO=y
+CONFIG_RT_MUTEXES=y
+CONFIG_BASE_SMALL=0
+CONFIG_MODULES=y
+CONFIG_MODULE_FORCE_LOAD=y
+CONFIG_MODULE_UNLOAD=y
+CONFIG_MODULE_FORCE_UNLOAD=y
+CONFIG_MODVERSIONS=y
+# CONFIG_MODULE_SRCVERSION_ALL is not set
+CONFIG_BLOCK=y
+CONFIG_LBD=y
+CONFIG_BLK_DEV_IO_TRACE=y
+CONFIG_BLK_DEV_BSG=y
+CONFIG_BLK_DEV_INTEGRITY=y
+
+#
+# IO Schedulers
+#
+CONFIG_IOSCHED_NOOP=y
+CONFIG_IOSCHED_AS=y
+CONFIG_IOSCHED_DEADLINE=y
+CONFIG_IOSCHED_CFQ=y
+CONFIG_DEFAULT_AS=y
+# CONFIG_DEFAULT_DEADLINE is not set
+# CONFIG_DEFAULT_CFQ is not set
+# CONFIG_DEFAULT_NOOP is not set
+CONFIG_DEFAULT_IOSCHED="anticipatory"
+CONFIG_FREEZER=y
+
+#
+# Platform support
+#
+CONFIG_PPC_MULTIPLATFORM=y
+CONFIG_CLASSIC32=y
+CONFIG_PPC_CHRP=y
+CONFIG_PPC_MPC512x=y
+CONFIG_PPC_MPC5125=y
+# CONFIG_PPC_MPC5121 is not set
+# CONFIG_MPC5121_ADS is not set
+CONFIG_PPC_MERGE=y
+CONFIG_MPC5125_TWR=y
+# CONFIG_MPC5121_GENERIC is not set
+# CONFIG_MPC5121_ADS_HIB is not set
+CONFIG_MPC5121_PM_TEST=y
+# CONFIG_PPC_MPC52xx is not set
+# CONFIG_PPC_PMAC is not set
+# CONFIG_PPC_CELL is not set
+# CONFIG_PPC_CELL_NATIVE is not set
+# CONFIG_PPC_82xx is not set
+# CONFIG_PQ2ADS is not set
+# CONFIG_PPC_83xx is not set
+# CONFIG_PPC_86xx is not set
+# CONFIG_EMBEDDED6xx is not set
+CONFIG_PPC_NATIVE=y
+# CONFIG_UDBG_RTAS_CONSOLE is not set
+CONFIG_IPIC=y
+CONFIG_MPIC=y
+# CONFIG_MPIC_WEIRD is not set
+CONFIG_PPC_I8259=y
+CONFIG_PPC_RTAS=y
+# CONFIG_RTAS_ERROR_LOGGING is not set
+# CONFIG_RTAS_PROC is not set
+# CONFIG_MMIO_NVRAM is not set
+CONFIG_PPC_MPC106=y
+# 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_TAU is not set
+# CONFIG_QUICC_ENGINE is not set
+# CONFIG_FSL_ULI1575 is not set
+# CONFIG_SIMPLE_GPIO is not set
+
+#
+# Kernel options
+#
+# CONFIG_HIGHMEM is not set
+CONFIG_ARCH_HIBERNATION_POSSIBLE=y
+CONFIG_ARCH_SUSPEND_POSSIBLE=y
+CONFIG_TICK_ONESHOT=y
+# CONFIG_NO_HZ is not set
+CONFIG_HIGH_RES_TIMERS=y
+CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
+# CONFIG_HZ_100 is not set
+CONFIG_HZ_250=y
+# CONFIG_HZ_300 is not set
+# CONFIG_HZ_1000 is not set
+CONFIG_HZ=250
+CONFIG_SCHED_HRTICK=y
+# CONFIG_PREEMPT_NONE is not set
+# CONFIG_PREEMPT_VOLUNTARY is not set
+CONFIG_PREEMPT=y
+CONFIG_BINFMT_ELF=y
+CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
+# CONFIG_HAVE_AOUT is not set
+# CONFIG_BINFMT_MISC is not set
+# CONFIG_IOMMU_HELPER is not set
+CONFIG_PPC_NEED_DMA_SYNC_OPS=y
+CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
+CONFIG_ARCH_HAS_WALK_MEMORY=y
+CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y
+CONFIG_KEXEC=y
+# CONFIG_CRASH_DUMP is not set
+CONFIG_ARCH_FLATMEM_ENABLE=y
+CONFIG_ARCH_POPULATES_NODE_MAP=y
+CONFIG_SELECT_MEMORY_MODEL=y
+CONFIG_FLATMEM_MANUAL=y
+# CONFIG_DISCONTIGMEM_MANUAL is not set
+# CONFIG_SPARSEMEM_MANUAL is not set
+CONFIG_FLATMEM=y
+CONFIG_FLAT_NODE_MEM_MAP=y
+CONFIG_PAGEFLAGS_EXTENDED=y
+CONFIG_SPLIT_PTLOCK_CPUS=4
+# CONFIG_MIGRATION is not set
+# CONFIG_PHYS_ADDR_T_64BIT is not set
+CONFIG_ZONE_DMA_FLAG=1
+CONFIG_BOUNCE=y
+CONFIG_VIRT_TO_BUS=y
+# CONFIG_UNEVICTABLE_LRU is not set
+CONFIG_PPC_4K_PAGES=y
+# CONFIG_PPC_16K_PAGES is not set
+# CONFIG_PPC_64K_PAGES is not set
+CONFIG_FORCE_MAX_ZONEORDER=11
+CONFIG_PROC_DEVICETREE=y
+# CONFIG_CMDLINE_BOOL is not set
+CONFIG_EXTRA_TARGETS=""
+CONFIG_PM=y
+# CONFIG_PM_DEBUG is not set
+CONFIG_PM_SLEEP=y
+CONFIG_SUSPEND=y
+CONFIG_SUSPEND_FREEZER=y
+# CONFIG_HIBERNATION is not set
+CONFIG_SECCOMP=y
+CONFIG_ISA_DMA_API=y
+
+#
+# Bus options
+#
+# CONFIG_ISA is not set
+CONFIG_ZONE_DMA=y
+CONFIG_GENERIC_ISA_DMA=y
+CONFIG_PPC_INDIRECT_PCI=y
+CONFIG_FSL_SOC=y
+CONFIG_FSL_PCI=y
+CONFIG_PPC_PCI_CHOICE=y
+CONFIG_PCI=y
+CONFIG_PCI_DOMAINS=y
+CONFIG_PCI_SYSCALL=y
+# CONFIG_PCIEPORTBUS is not set
+CONFIG_ARCH_SUPPORTS_MSI=y
+# CONFIG_PCI_MSI is not set
+CONFIG_PCI_LEGACY=y
+# 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=y
+# CONFIG_LOWMEM_SIZE_BOOL is not set
+CONFIG_LOWMEM_SIZE=0x30000000
+CONFIG_AXEMBX_RESERVE_BOOL=y
+CONFIG_AXEMBX_RESERVE_START=0x00400000
+CONFIG_AXE_RESERVE_SIZE=0x00100000
+CONFIG_MBX_RESERVE_SIZE=0x0
+# CONFIG_PAGE_OFFSET_BOOL is not set
+CONFIG_PAGE_OFFSET=0xc0000000
+# CONFIG_KERNEL_START_BOOL is not set
+CONFIG_KERNEL_START=0xc0000000
+CONFIG_PHYSICAL_START=0x00000000
+# CONFIG_TASK_SIZE_BOOL is not set
+CONFIG_TASK_SIZE=0xc0000000
+# CONFIG_CONSISTENT_START_BOOL is not set
+CONFIG_CONSISTENT_START=0xff100000
+# CONFIG_CONSISTENT_SIZE_BOOL is not set
+CONFIG_CONSISTENT_SIZE=0x00200000
+CONFIG_NET=y
+
+#
+# Networking options
+#
+CONFIG_COMPAT_NET_DEV_OPS=y
+CONFIG_PACKET=y
+# CONFIG_PACKET_MMAP is not set
+CONFIG_UNIX=y
+CONFIG_XFRM=y
+CONFIG_XFRM_USER=m
+# CONFIG_XFRM_SUB_POLICY is not set
+# CONFIG_XFRM_MIGRATE is not set
+# CONFIG_XFRM_STATISTICS is not set
+CONFIG_XFRM_IPCOMP=m
+CONFIG_NET_KEY=m
+# CONFIG_NET_KEY_MIGRATE is not set
+CONFIG_INET=y
+CONFIG_IP_MULTICAST=y
+# CONFIG_IP_ADVANCED_ROUTER is not set
+CONFIG_IP_FIB_HASH=y
+CONFIG_IP_PNP=y
+CONFIG_IP_PNP_DHCP=y
+CONFIG_IP_PNP_BOOTP=y
+# CONFIG_IP_PNP_RARP is not set
+# CONFIG_NET_IPIP is not set
+# CONFIG_NET_IPGRE is not set
+# CONFIG_IP_MROUTE is not set
+# CONFIG_ARPD is not set
+CONFIG_SYN_COOKIES=y
+# 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=m
+CONFIG_INET_XFRM_MODE_TRANSPORT=y
+CONFIG_INET_XFRM_MODE_TUNNEL=y
+CONFIG_INET_XFRM_MODE_BEET=y
+CONFIG_INET_LRO=y
+CONFIG_INET_DIAG=y
+CONFIG_INET_TCP_DIAG=y
+CONFIG_TCP_CONG_ADVANCED=y
+CONFIG_TCP_CONG_BIC=m
+CONFIG_TCP_CONG_CUBIC=y
+CONFIG_TCP_CONG_WESTWOOD=m
+CONFIG_TCP_CONG_HTCP=m
+CONFIG_TCP_CONG_HSTCP=m
+CONFIG_TCP_CONG_HYBLA=m
+CONFIG_TCP_CONG_VEGAS=m
+CONFIG_TCP_CONG_SCALABLE=m
+CONFIG_TCP_CONG_LP=m
+CONFIG_TCP_CONG_VENO=m
+CONFIG_TCP_CONG_YEAH=m
+CONFIG_TCP_CONG_ILLINOIS=m
+# CONFIG_DEFAULT_BIC is not set
+CONFIG_DEFAULT_CUBIC=y
+# CONFIG_DEFAULT_HTCP is not set
+# CONFIG_DEFAULT_VEGAS is not set
+# CONFIG_DEFAULT_WESTWOOD is not set
+# CONFIG_DEFAULT_RENO is not set
+CONFIG_DEFAULT_TCP_CONG="cubic"
+CONFIG_TCP_MD5SIG=y
+CONFIG_IPV6=m
+CONFIG_IPV6_PRIVACY=y
+CONFIG_IPV6_ROUTER_PREF=y
+CONFIG_IPV6_ROUTE_INFO=y
+CONFIG_IPV6_OPTIMISTIC_DAD=y
+CONFIG_INET6_AH=m
+CONFIG_INET6_ESP=m
+CONFIG_INET6_IPCOMP=m
+CONFIG_IPV6_MIP6=m
+CONFIG_INET6_XFRM_TUNNEL=m
+CONFIG_INET6_TUNNEL=m
+CONFIG_INET6_XFRM_MODE_TRANSPORT=m
+CONFIG_INET6_XFRM_MODE_TUNNEL=m
+CONFIG_INET6_XFRM_MODE_BEET=m
+CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION=m
+CONFIG_IPV6_SIT=m
+CONFIG_IPV6_NDISC_NODETYPE=y
+CONFIG_IPV6_TUNNEL=m
+CONFIG_IPV6_MULTIPLE_TABLES=y
+CONFIG_IPV6_SUBTREES=y
+CONFIG_IPV6_MROUTE=y
+CONFIG_IPV6_PIMSM_V2=y
+CONFIG_NETWORK_SECMARK=y
+CONFIG_NETFILTER=y
+# CONFIG_NETFILTER_DEBUG is not set
+CONFIG_NETFILTER_ADVANCED=y
+CONFIG_BRIDGE_NETFILTER=y
+
+#
+# Core Netfilter Configuration
+#
+CONFIG_NETFILTER_NETLINK=m
+CONFIG_NETFILTER_NETLINK_QUEUE=m
+CONFIG_NETFILTER_NETLINK_LOG=m
+CONFIG_NF_CONNTRACK=m
+CONFIG_NF_CT_ACCT=y
+CONFIG_NF_CONNTRACK_MARK=y
+CONFIG_NF_CONNTRACK_SECMARK=y
+CONFIG_NF_CONNTRACK_EVENTS=y
+CONFIG_NF_CT_PROTO_DCCP=m
+CONFIG_NF_CT_PROTO_GRE=m
+CONFIG_NF_CT_PROTO_SCTP=m
+CONFIG_NF_CT_PROTO_UDPLITE=m
+CONFIG_NF_CONNTRACK_AMANDA=m
+CONFIG_NF_CONNTRACK_FTP=m
+CONFIG_NF_CONNTRACK_H323=m
+CONFIG_NF_CONNTRACK_IRC=m
+CONFIG_NF_CONNTRACK_NETBIOS_NS=m
+CONFIG_NF_CONNTRACK_PPTP=m
+CONFIG_NF_CONNTRACK_SANE=m
+CONFIG_NF_CONNTRACK_SIP=m
+CONFIG_NF_CONNTRACK_TFTP=m
+CONFIG_NF_CT_NETLINK=m
+CONFIG_NETFILTER_TPROXY=m
+CONFIG_NETFILTER_XTABLES=m
+CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m
+CONFIG_NETFILTER_XT_TARGET_CONNMARK=m
+CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=m
+CONFIG_NETFILTER_XT_TARGET_DSCP=m
+CONFIG_NETFILTER_XT_TARGET_MARK=m
+CONFIG_NETFILTER_XT_TARGET_NFLOG=m
+CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m
+CONFIG_NETFILTER_XT_TARGET_NOTRACK=m
+CONFIG_NETFILTER_XT_TARGET_RATEEST=m
+CONFIG_NETFILTER_XT_TARGET_TPROXY=m
+CONFIG_NETFILTER_XT_TARGET_TRACE=m
+CONFIG_NETFILTER_XT_TARGET_SECMARK=m
+CONFIG_NETFILTER_XT_TARGET_TCPMSS=m
+CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP=m
+CONFIG_NETFILTER_XT_MATCH_COMMENT=m
+CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m
+CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=m
+CONFIG_NETFILTER_XT_MATCH_CONNMARK=m
+CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
+CONFIG_NETFILTER_XT_MATCH_DCCP=m
+CONFIG_NETFILTER_XT_MATCH_DSCP=m
+CONFIG_NETFILTER_XT_MATCH_ESP=m
+CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m
+CONFIG_NETFILTER_XT_MATCH_HELPER=m
+CONFIG_NETFILTER_XT_MATCH_IPRANGE=m
+CONFIG_NETFILTER_XT_MATCH_LENGTH=m
+CONFIG_NETFILTER_XT_MATCH_LIMIT=m
+CONFIG_NETFILTER_XT_MATCH_MAC=m
+CONFIG_NETFILTER_XT_MATCH_MARK=m
+CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m
+CONFIG_NETFILTER_XT_MATCH_OWNER=m
+CONFIG_NETFILTER_XT_MATCH_POLICY=m
+CONFIG_NETFILTER_XT_MATCH_PHYSDEV=m
+CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m
+CONFIG_NETFILTER_XT_MATCH_QUOTA=m
+CONFIG_NETFILTER_XT_MATCH_RATEEST=m
+CONFIG_NETFILTER_XT_MATCH_REALM=m
+CONFIG_NETFILTER_XT_MATCH_RECENT=m
+# CONFIG_NETFILTER_XT_MATCH_RECENT_PROC_COMPAT is not set
+CONFIG_NETFILTER_XT_MATCH_SCTP=m
+CONFIG_NETFILTER_XT_MATCH_SOCKET=m
+CONFIG_NETFILTER_XT_MATCH_STATE=m
+CONFIG_NETFILTER_XT_MATCH_STATISTIC=m
+CONFIG_NETFILTER_XT_MATCH_STRING=m
+CONFIG_NETFILTER_XT_MATCH_TCPMSS=m
+CONFIG_NETFILTER_XT_MATCH_TIME=m
+CONFIG_NETFILTER_XT_MATCH_U32=m
+CONFIG_IP_VS=m
+# CONFIG_IP_VS_IPV6 is not set
+# CONFIG_IP_VS_DEBUG is not set
+CONFIG_IP_VS_TAB_BITS=12
+
+#
+# IPVS transport protocol load balancing support
+#
+CONFIG_IP_VS_PROTO_TCP=y
+CONFIG_IP_VS_PROTO_UDP=y
+CONFIG_IP_VS_PROTO_AH_ESP=y
+CONFIG_IP_VS_PROTO_ESP=y
+CONFIG_IP_VS_PROTO_AH=y
+
+#
+# IPVS scheduler
+#
+CONFIG_IP_VS_RR=m
+CONFIG_IP_VS_WRR=m
+CONFIG_IP_VS_LC=m
+CONFIG_IP_VS_WLC=m
+CONFIG_IP_VS_LBLC=m
+CONFIG_IP_VS_LBLCR=m
+CONFIG_IP_VS_DH=m
+CONFIG_IP_VS_SH=m
+CONFIG_IP_VS_SED=m
+CONFIG_IP_VS_NQ=m
+
+#
+# IPVS application helper
+#
+CONFIG_IP_VS_FTP=m
+
+#
+# IP: Netfilter Configuration
+#
+CONFIG_NF_DEFRAG_IPV4=m
+CONFIG_NF_CONNTRACK_IPV4=m
+CONFIG_NF_CONNTRACK_PROC_COMPAT=y
+CONFIG_IP_NF_QUEUE=m
+CONFIG_IP_NF_IPTABLES=m
+CONFIG_IP_NF_MATCH_ADDRTYPE=m
+CONFIG_IP_NF_MATCH_AH=m
+CONFIG_IP_NF_MATCH_ECN=m
+CONFIG_IP_NF_MATCH_TTL=m
+CONFIG_IP_NF_FILTER=m
+CONFIG_IP_NF_TARGET_REJECT=m
+CONFIG_IP_NF_TARGET_LOG=m
+CONFIG_IP_NF_TARGET_ULOG=m
+CONFIG_NF_NAT=m
+CONFIG_NF_NAT_NEEDED=y
+CONFIG_IP_NF_TARGET_MASQUERADE=m
+CONFIG_IP_NF_TARGET_NETMAP=m
+CONFIG_IP_NF_TARGET_REDIRECT=m
+CONFIG_NF_NAT_SNMP_BASIC=m
+CONFIG_NF_NAT_PROTO_DCCP=m
+CONFIG_NF_NAT_PROTO_GRE=m
+CONFIG_NF_NAT_PROTO_UDPLITE=m
+CONFIG_NF_NAT_PROTO_SCTP=m
+CONFIG_NF_NAT_FTP=m
+CONFIG_NF_NAT_IRC=m
+CONFIG_NF_NAT_TFTP=m
+CONFIG_NF_NAT_AMANDA=m
+CONFIG_NF_NAT_PPTP=m
+CONFIG_NF_NAT_H323=m
+CONFIG_NF_NAT_SIP=m
+CONFIG_IP_NF_MANGLE=m
+CONFIG_IP_NF_TARGET_CLUSTERIP=m
+CONFIG_IP_NF_TARGET_ECN=m
+CONFIG_IP_NF_TARGET_TTL=m
+CONFIG_IP_NF_RAW=m
+CONFIG_IP_NF_ARPTABLES=m
+CONFIG_IP_NF_ARPFILTER=m
+CONFIG_IP_NF_ARP_MANGLE=m
+
+#
+# IPv6: Netfilter Configuration
+#
+CONFIG_NF_CONNTRACK_IPV6=m
+CONFIG_IP6_NF_QUEUE=m
+CONFIG_IP6_NF_IPTABLES=m
+CONFIG_IP6_NF_MATCH_AH=m
+CONFIG_IP6_NF_MATCH_EUI64=m
+CONFIG_IP6_NF_MATCH_FRAG=m
+CONFIG_IP6_NF_MATCH_OPTS=m
+CONFIG_IP6_NF_MATCH_HL=m
+CONFIG_IP6_NF_MATCH_IPV6HEADER=m
+CONFIG_IP6_NF_MATCH_MH=m
+CONFIG_IP6_NF_MATCH_RT=m
+CONFIG_IP6_NF_TARGET_LOG=m
+CONFIG_IP6_NF_FILTER=m
+CONFIG_IP6_NF_TARGET_REJECT=m
+CONFIG_IP6_NF_MANGLE=m
+CONFIG_IP6_NF_TARGET_HL=m
+CONFIG_IP6_NF_RAW=m
+
+#
+# DECnet: Netfilter Configuration
+#
+CONFIG_DECNET_NF_GRABULATOR=m
+CONFIG_BRIDGE_NF_EBTABLES=m
+CONFIG_BRIDGE_EBT_BROUTE=m
+CONFIG_BRIDGE_EBT_T_FILTER=m
+CONFIG_BRIDGE_EBT_T_NAT=m
+CONFIG_BRIDGE_EBT_802_3=m
+CONFIG_BRIDGE_EBT_AMONG=m
+CONFIG_BRIDGE_EBT_ARP=m
+CONFIG_BRIDGE_EBT_IP=m
+CONFIG_BRIDGE_EBT_IP6=m
+CONFIG_BRIDGE_EBT_LIMIT=m
+CONFIG_BRIDGE_EBT_MARK=m
+CONFIG_BRIDGE_EBT_PKTTYPE=m
+CONFIG_BRIDGE_EBT_STP=m
+CONFIG_BRIDGE_EBT_VLAN=m
+CONFIG_BRIDGE_EBT_ARPREPLY=m
+CONFIG_BRIDGE_EBT_DNAT=m
+CONFIG_BRIDGE_EBT_MARK_T=m
+CONFIG_BRIDGE_EBT_REDIRECT=m
+CONFIG_BRIDGE_EBT_SNAT=m
+CONFIG_BRIDGE_EBT_LOG=m
+CONFIG_BRIDGE_EBT_ULOG=m
+CONFIG_BRIDGE_EBT_NFLOG=m
+CONFIG_IP_DCCP=m
+CONFIG_INET_DCCP_DIAG=m
+
+#
+# DCCP CCIDs Configuration (EXPERIMENTAL)
+#
+# CONFIG_IP_DCCP_CCID2_DEBUG is not set
+CONFIG_IP_DCCP_CCID3=y
+# CONFIG_IP_DCCP_CCID3_DEBUG is not set
+CONFIG_IP_DCCP_CCID3_RTO=100
+CONFIG_IP_DCCP_TFRC_LIB=y
+CONFIG_IP_SCTP=m
+# CONFIG_SCTP_DBG_MSG is not set
+# CONFIG_SCTP_DBG_OBJCNT is not set
+# CONFIG_SCTP_HMAC_NONE is not set
+# CONFIG_SCTP_HMAC_SHA1 is not set
+CONFIG_SCTP_HMAC_MD5=y
+CONFIG_TIPC=m
+CONFIG_TIPC_ADVANCED=y
+CONFIG_TIPC_ZONES=3
+CONFIG_TIPC_CLUSTERS=1
+CONFIG_TIPC_NODES=255
+CONFIG_TIPC_SLAVE_NODES=0
+CONFIG_TIPC_PORTS=8191
+CONFIG_TIPC_LOG=0
+# CONFIG_TIPC_DEBUG is not set
+CONFIG_ATM=m
+CONFIG_ATM_CLIP=m
+CONFIG_ATM_CLIP_NO_ICMP=y
+CONFIG_ATM_LANE=m
+CONFIG_ATM_MPOA=m
+CONFIG_ATM_BR2684=m
+# CONFIG_ATM_BR2684_IPFILTER is not set
+CONFIG_STP=m
+CONFIG_GARP=m
+CONFIG_BRIDGE=m
+# CONFIG_NET_DSA is not set
+CONFIG_VLAN_8021Q=m
+CONFIG_VLAN_8021Q_GVRP=y
+CONFIG_DECNET=m
+CONFIG_DECNET_ROUTER=y
+CONFIG_LLC=m
+CONFIG_LLC2=m
+CONFIG_IPX=m
+CONFIG_IPX_INTERN=y
+CONFIG_ATALK=m
+CONFIG_DEV_APPLETALK=m
+CONFIG_IPDDP=m
+CONFIG_IPDDP_ENCAP=y
+CONFIG_IPDDP_DECAP=y
+CONFIG_X25=m
+CONFIG_LAPB=m
+CONFIG_ECONET=m
+CONFIG_ECONET_AUNUDP=y
+CONFIG_ECONET_NATIVE=y
+CONFIG_WAN_ROUTER=m
+CONFIG_NET_SCHED=y
+
+#
+# Queueing/Scheduling
+#
+CONFIG_NET_SCH_CBQ=m
+CONFIG_NET_SCH_HTB=m
+CONFIG_NET_SCH_HFSC=m
+CONFIG_NET_SCH_ATM=m
+CONFIG_NET_SCH_PRIO=m
+CONFIG_NET_SCH_MULTIQ=m
+CONFIG_NET_SCH_RED=m
+CONFIG_NET_SCH_SFQ=m
+CONFIG_NET_SCH_TEQL=m
+CONFIG_NET_SCH_TBF=m
+CONFIG_NET_SCH_GRED=m
+CONFIG_NET_SCH_DSMARK=m
+CONFIG_NET_SCH_NETEM=m
+CONFIG_NET_SCH_DRR=m
+CONFIG_NET_SCH_INGRESS=m
+
+#
+# Classification
+#
+CONFIG_NET_CLS=y
+CONFIG_NET_CLS_BASIC=m
+CONFIG_NET_CLS_TCINDEX=m
+CONFIG_NET_CLS_ROUTE4=m
+CONFIG_NET_CLS_ROUTE=y
+CONFIG_NET_CLS_FW=m
+CONFIG_NET_CLS_U32=m
+CONFIG_CLS_U32_PERF=y
+CONFIG_CLS_U32_MARK=y
+CONFIG_NET_CLS_RSVP=m
+CONFIG_NET_CLS_RSVP6=m
+CONFIG_NET_CLS_FLOW=m
+CONFIG_NET_CLS_CGROUP=y
+CONFIG_NET_EMATCH=y
+CONFIG_NET_EMATCH_STACK=32
+CONFIG_NET_EMATCH_CMP=m
+CONFIG_NET_EMATCH_NBYTE=m
+CONFIG_NET_EMATCH_U32=m
+CONFIG_NET_EMATCH_META=m
+CONFIG_NET_EMATCH_TEXT=m
+CONFIG_NET_CLS_ACT=y
+CONFIG_NET_ACT_POLICE=m
+CONFIG_NET_ACT_GACT=m
+CONFIG_GACT_PROB=y
+CONFIG_NET_ACT_MIRRED=m
+CONFIG_NET_ACT_IPT=m
+CONFIG_NET_ACT_NAT=m
+CONFIG_NET_ACT_PEDIT=m
+CONFIG_NET_ACT_SIMP=m
+CONFIG_NET_ACT_SKBEDIT=m
+CONFIG_NET_CLS_IND=y
+CONFIG_NET_SCH_FIFO=y
+CONFIG_DCB=y
+
+#
+# Network testing
+#
+CONFIG_NET_PKTGEN=m
+# CONFIG_HAMRADIO is not set
+CONFIG_CAN=y
+CONFIG_CAN_RAW=y
+# CONFIG_CAN_BCM is not set
+
+#
+# CAN Device Drivers
+#
+CONFIG_CAN_VCAN=y
+# CONFIG_CAN_DEBUG_DEVICES is not set
+CONFIG_CAN_MSCAN=y
+CONFIG_CAN_MPC52XX=y
+# CONFIG_IRDA is not set
+# CONFIG_BT is not set
+# CONFIG_AF_RXRPC is not set
+# CONFIG_PHONET is not set
+CONFIG_FIB_RULES=y
+# CONFIG_WIRELESS is not set
+# CONFIG_WIMAX is not set
+CONFIG_RFKILL=m
+CONFIG_RFKILL_INPUT=m
+# CONFIG_NET_9P is not set
+
+#
+# Device Drivers
+#
+
+#
+# Generic Driver Options
+#
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_STANDALONE=y
+CONFIG_PREVENT_FIRMWARE_BUILD=y
+CONFIG_FW_LOADER=y
+CONFIG_FIRMWARE_IN_KERNEL=y
+CONFIG_EXTRA_FIRMWARE=""
+# CONFIG_SYS_HYPERVISOR is not set
+CONFIG_CONNECTOR=m
+CONFIG_MTD=y
+# CONFIG_MTD_DEBUG is not set
+# CONFIG_MTD_CONCAT is not set
+CONFIG_MTD_PARTITIONS=y
+# CONFIG_MTD_TESTS is not set
+# CONFIG_MTD_REDBOOT_PARTS is not set
+CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_OF_PARTS=y
+# CONFIG_MTD_AR7_PARTS is not set
+
+#
+# User Modules And Translation Layers
+#
+CONFIG_MTD_CHAR=y
+CONFIG_MTD_BLKDEVS=y
+CONFIG_MTD_BLOCK=y
+# 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=y
+# CONFIG_MTD_JEDECPROBE is not set
+CONFIG_MTD_GEN_PROBE=y
+CONFIG_MTD_CFI_ADV_OPTIONS=y
+CONFIG_MTD_CFI_NOSWAP=y
+# CONFIG_MTD_CFI_BE_BYTE_SWAP is not set
+# CONFIG_MTD_CFI_LE_BYTE_SWAP is not set
+# CONFIG_MTD_CFI_GEOMETRY is not set
+CONFIG_MTD_MAP_BANK_WIDTH_1=y
+CONFIG_MTD_MAP_BANK_WIDTH_2=y
+CONFIG_MTD_MAP_BANK_WIDTH_4=y
+# 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=y
+CONFIG_MTD_CFI_I2=y
+# CONFIG_MTD_CFI_I4 is not set
+# CONFIG_MTD_CFI_I8 is not set
+# CONFIG_MTD_OTP is not set
+# CONFIG_MTD_CFI_INTELEXT is not set
+CONFIG_MTD_CFI_AMDSTD=y
+# CONFIG_MTD_CFI_STAA is not set
+CONFIG_MTD_CFI_UTIL=y
+# 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=y
+# CONFIG_MTD_PHYSMAP is not set
+CONFIG_MTD_PHYSMAP_OF=y
+# CONFIG_MTD_PCI is not set
+# 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=y
+# CONFIG_MTD_NAND_VERIFY_WRITE is not set
+# CONFIG_MTD_NAND_ECC_SMC is not set
+# CONFIG_MTD_NAND_MUSEUM_IDS is not set
+CONFIG_MTD_NAND_IDS=y
+CONFIG_MTD_NAND_MPC5125_NFC=y
+CONFIG_MTD_NAND_FSL=y
+CONFIG_MTD_NAND_MPC5125_HARDWARE_ECC_CORRECTION=y
+# CONFIG_NFC_DMA_ENABLE is not set
+# CONFIG_MTD_NAND_DISKONCHIP is not set
+# CONFIG_MTD_NAND_CAFE is not set
+# CONFIG_MTD_NAND_NANDSIM is not set
+# CONFIG_MTD_NAND_PLATFORM is not set
+# CONFIG_MTD_ALAUDA is not set
+# CONFIG_MTD_NAND_FSL_ELBC is not set
+# CONFIG_MTD_ONENAND is not set
+
+#
+# LPDDR flash memory drivers
+#
+# CONFIG_MTD_LPDDR is not set
+
+#
+# UBI - Unsorted block images
+#
+# CONFIG_MTD_UBI is not set
+CONFIG_OF_DEVICE=y
+CONFIG_OF_I2C=m
+# CONFIG_PARPORT is not set
+CONFIG_BLK_DEV=y
+CONFIG_BLK_DEV_FD=m
+CONFIG_BLK_CPQ_DA=m
+CONFIG_BLK_CPQ_CISS_DA=m
+CONFIG_CISS_SCSI_TAPE=y
+CONFIG_BLK_DEV_DAC960=m
+CONFIG_BLK_DEV_UMEM=m
+# CONFIG_BLK_DEV_COW_COMMON is not set
+CONFIG_BLK_DEV_LOOP=m
+CONFIG_BLK_DEV_CRYPTOLOOP=m
+CONFIG_BLK_DEV_NBD=m
+CONFIG_BLK_DEV_SX8=m
+CONFIG_BLK_DEV_UB=y
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_RAM_COUNT=4
+CONFIG_BLK_DEV_RAM_SIZE=32768
+# CONFIG_BLK_DEV_XIP is not set
+CONFIG_CDROM_PKTCDVD=m
+CONFIG_CDROM_PKTCDVD_BUFFERS=8
+# CONFIG_CDROM_PKTCDVD_WCACHE is not set
+CONFIG_ATA_OVER_ETH=m
+# CONFIG_BLK_DEV_HD is not set
+# CONFIG_MISC_DEVICES is not set
+CONFIG_TIFM_CORE=m
+CONFIG_HAVE_IDE=y
+# CONFIG_IDE is not set
+
+#
+# SCSI device support
+#
+# CONFIG_RAID_ATTRS is not set
+CONFIG_SCSI=y
+CONFIG_SCSI_DMA=y
+CONFIG_SCSI_TGT=m
+CONFIG_SCSI_NETLINK=y
+# CONFIG_SCSI_PROC_FS is not set
+
+#
+# SCSI support type (disk, tape, CD-ROM)
+#
+CONFIG_BLK_DEV_SD=y
+# CONFIG_CHR_DEV_ST is not set
+# CONFIG_CHR_DEV_OSST is not set
+CONFIG_BLK_DEV_SR=y
+CONFIG_BLK_DEV_SR_VENDOR=y
+CONFIG_CHR_DEV_SG=y
+CONFIG_CHR_DEV_SCH=y
+
+#
+# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
+#
+CONFIG_SCSI_MULTI_LUN=y
+CONFIG_SCSI_CONSTANTS=y
+CONFIG_SCSI_LOGGING=y
+CONFIG_SCSI_SCAN_ASYNC=y
+CONFIG_SCSI_WAIT_SCAN=m
+
+#
+# SCSI Transports
+#
+CONFIG_SCSI_SPI_ATTRS=m
+CONFIG_SCSI_FC_ATTRS=m
+# CONFIG_SCSI_FC_TGT_ATTRS is not set
+CONFIG_SCSI_ISCSI_ATTRS=m
+CONFIG_SCSI_SAS_ATTRS=m
+CONFIG_SCSI_SAS_LIBSAS=m
+# CONFIG_SCSI_SAS_HOST_SMP is not set
+# CONFIG_SCSI_SAS_LIBSAS_DEBUG is not set
+CONFIG_SCSI_SRP_ATTRS=m
+# CONFIG_SCSI_SRP_TGT_ATTRS is not set
+CONFIG_SCSI_LOWLEVEL=y
+CONFIG_ISCSI_TCP=m
+CONFIG_BLK_DEV_3W_XXXX_RAID=m
+CONFIG_SCSI_3W_9XXX=m
+CONFIG_SCSI_ACARD=m
+CONFIG_SCSI_AACRAID=m
+CONFIG_SCSI_AIC7XXX=m
+CONFIG_AIC7XXX_CMDS_PER_DEVICE=32
+CONFIG_AIC7XXX_RESET_DELAY_MS=15000
+CONFIG_AIC7XXX_DEBUG_ENABLE=y
+CONFIG_AIC7XXX_DEBUG_MASK=0
+CONFIG_AIC7XXX_REG_PRETTY_PRINT=y
+CONFIG_SCSI_AIC7XXX_OLD=m
+CONFIG_SCSI_AIC79XX=m
+CONFIG_AIC79XX_CMDS_PER_DEVICE=32
+CONFIG_AIC79XX_RESET_DELAY_MS=15000
+CONFIG_AIC79XX_DEBUG_ENABLE=y
+CONFIG_AIC79XX_DEBUG_MASK=0
+CONFIG_AIC79XX_REG_PRETTY_PRINT=y
+CONFIG_SCSI_AIC94XX=m
+# CONFIG_AIC94XX_DEBUG is not set
+CONFIG_SCSI_DPT_I2O=m
+CONFIG_SCSI_ADVANSYS=m
+CONFIG_SCSI_ARCMSR=m
+CONFIG_MEGARAID_NEWGEN=y
+CONFIG_MEGARAID_MM=m
+CONFIG_MEGARAID_MAILBOX=m
+# CONFIG_MEGARAID_LEGACY is not set
+CONFIG_MEGARAID_SAS=m
+CONFIG_SCSI_HPTIOP=m
+CONFIG_SCSI_BUSLOGIC=m
+CONFIG_LIBFC=m
+CONFIG_FCOE=m
+CONFIG_SCSI_DMX3191D=m
+CONFIG_SCSI_EATA=m
+# CONFIG_SCSI_EATA_TAGGED_QUEUE is not set
+# CONFIG_SCSI_EATA_LINKED_COMMANDS is not set
+CONFIG_SCSI_EATA_MAX_TAGS=16
+# CONFIG_SCSI_FUTURE_DOMAIN is not set
+# CONFIG_SCSI_GDTH is not set
+CONFIG_SCSI_IPS=m
+# CONFIG_SCSI_INITIO is not set
+CONFIG_SCSI_INIA100=m
+CONFIG_SCSI_MVSAS=m
+CONFIG_SCSI_STEX=m
+CONFIG_SCSI_SYM53C8XX_2=m
+CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1
+CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16
+CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64
+CONFIG_SCSI_SYM53C8XX_MMIO=y
+# CONFIG_SCSI_QLOGIC_1280 is not set
+CONFIG_SCSI_QLA_FC=m
+CONFIG_SCSI_QLA_ISCSI=m
+CONFIG_SCSI_LPFC=m
+# CONFIG_SCSI_LPFC_DEBUG_FS is not set
+CONFIG_SCSI_DC395x=m
+CONFIG_SCSI_DC390T=m
+CONFIG_SCSI_NSP32=m
+# CONFIG_SCSI_DEBUG is not set
+CONFIG_SCSI_SRP=m
+# CONFIG_SCSI_DH is not set
+# CONFIG_ATA is not set
+# CONFIG_MD is not set
+# CONFIG_FUSION is not set
+
+#
+# IEEE 1394 (FireWire) support
+#
+
+#
+# Enable only one of the two stacks, unless you know what you are doing
+#
+CONFIG_FIREWIRE=m
+CONFIG_FIREWIRE_OHCI=m
+CONFIG_FIREWIRE_OHCI_DEBUG=y
+CONFIG_FIREWIRE_SBP2=m
+# CONFIG_IEEE1394 is not set
+# CONFIG_I2O is not set
+# CONFIG_MACINTOSH_DRIVERS is not set
+CONFIG_NETDEVICES=y
+CONFIG_IFB=m
+CONFIG_DUMMY=m
+CONFIG_BONDING=m
+CONFIG_MACVLAN=m
+CONFIG_EQUALIZER=m
+CONFIG_TUN=m
+CONFIG_VETH=m
+CONFIG_ARCNET=m
+CONFIG_ARCNET_1201=m
+CONFIG_ARCNET_1051=m
+CONFIG_ARCNET_RAW=m
+CONFIG_ARCNET_CAP=m
+# CONFIG_ARCNET_COM90xx is not set
+CONFIG_ARCNET_COM90xxIO=m
+# CONFIG_ARCNET_RIM_I is not set
+CONFIG_ARCNET_COM20020=m
+CONFIG_ARCNET_COM20020_PCI=m
+CONFIG_PHYLIB=y
+
+#
+# MII PHY device drivers
+#
+# CONFIG_MARVELL_PHY is not set
+# CONFIG_DAVICOM_PHY is not set
+# CONFIG_QSEMI_PHY is not set
+# CONFIG_LXT_PHY is not set
+# CONFIG_CICADA_PHY is not set
+# CONFIG_VITESSE_PHY is not set
+# CONFIG_SMSC_PHY is not set
+# CONFIG_BROADCOM_PHY is not set
+# CONFIG_ICPLUS_PHY is not set
+# CONFIG_REALTEK_PHY is not set
+# 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_MDIO_BITBANG is not set
+CONFIG_NET_ETHERNET=y
+CONFIG_MII=y
+# CONFIG_HAPPYMEAL is not set
+# CONFIG_SUNGEM is not set
+# CONFIG_CASSINI is not set
+# CONFIG_NET_VENDOR_3COM is not set
+# CONFIG_DNET is not set
+# CONFIG_NET_TULIP is not set
+# CONFIG_HP100 is not set
+# CONFIG_IBM_NEW_EMAC_ZMII is not set
+# CONFIG_IBM_NEW_EMAC_RGMII is not set
+# CONFIG_IBM_NEW_EMAC_TAH is not set
+# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
+# 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_FS_ENET=y
+CONFIG_FS_ENET_MPC5121_FEC=y
+# CONFIG_FS_ENET_MPC5125_FEC2 is not set
+CONFIG_FS_ENET_HAS_FEC=y
+CONFIG_FS_ENET_MDIO_FEC=y
+# CONFIG_NETDEV_1000 is not set
+# CONFIG_NETDEV_10000 is not set
+CONFIG_MLX4_CORE=m
+# 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
+#
+
+#
+# USB Network Adapters
+#
+CONFIG_USB_CATC=m
+CONFIG_USB_KAWETH=m
+CONFIG_USB_PEGASUS=m
+CONFIG_USB_RTL8150=m
+CONFIG_USB_USBNET=m
+CONFIG_USB_NET_AX8817X=m
+CONFIG_USB_NET_CDCETHER=m
+CONFIG_USB_NET_DM9601=m
+CONFIG_USB_NET_SMSC95XX=m
+CONFIG_USB_NET_GL620A=m
+CONFIG_USB_NET_NET1080=m
+CONFIG_USB_NET_PLUSB=m
+CONFIG_USB_NET_MCS7830=m
+CONFIG_USB_NET_RNDIS_HOST=m
+CONFIG_USB_NET_CDC_SUBSET=m
+# CONFIG_USB_ALI_M5632 is not set
+# CONFIG_USB_AN2720 is not set
+# CONFIG_USB_BELKIN is not set
+# CONFIG_USB_ARMLINUX is not set
+# CONFIG_USB_EPSON2888 is not set
+# CONFIG_USB_KC2190 is not set
+CONFIG_USB_NET_ZAURUS=m
+CONFIG_USB_HSO=m
+# CONFIG_WAN is not set
+# CONFIG_ATM_DRIVERS is not set
+# CONFIG_FDDI is not set
+# CONFIG_HIPPI is not set
+# CONFIG_PPP is not set
+CONFIG_SLIP=m
+# CONFIG_SLIP_COMPRESSED is not set
+# CONFIG_SLIP_SMART is not set
+# CONFIG_SLIP_MODE_SLIP6 is not set
+# CONFIG_NET_FC is not set
+CONFIG_NETCONSOLE=m
+# CONFIG_NETCONSOLE_DYNAMIC is not set
+CONFIG_NETPOLL=y
+# CONFIG_NETPOLL_TRAP is not set
+CONFIG_NET_POLL_CONTROLLER=y
+# CONFIG_ISDN is not set
+# CONFIG_PHONE is not set
+
+#
+# Input device support
+#
+CONFIG_INPUT=y
+CONFIG_INPUT_FF_MEMLESS=y
+CONFIG_INPUT_POLLDEV=m
+
+#
+# Userland interfaces
+#
+CONFIG_INPUT_MOUSEDEV=y
+CONFIG_INPUT_MOUSEDEV_PSAUX=y
+CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
+CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
+CONFIG_INPUT_JOYDEV=y
+CONFIG_INPUT_EVDEV=y
+# CONFIG_INPUT_EVBUG is not set
+
+#
+# Input Device Drivers
+#
+# CONFIG_INPUT_KEYBOARD is not set
+# CONFIG_INPUT_MOUSE is not set
+# CONFIG_INPUT_JOYSTICK is not set
+# CONFIG_INPUT_TABLET is not set
+# CONFIG_INPUT_TOUCHSCREEN is not set
+# CONFIG_INPUT_MISC is not set
+
+#
+# Hardware I/O ports
+#
+CONFIG_SERIO=m
+CONFIG_SERIO_I8042=m
+CONFIG_SERIO_SERPORT=m
+# CONFIG_SERIO_PCIPS2 is not set
+CONFIG_SERIO_RAW=m
+# CONFIG_SERIO_XILINX_XPS_PS2 is not set
+CONFIG_GAMEPORT=m
+CONFIG_GAMEPORT_NS558=m
+CONFIG_GAMEPORT_L4=m
+CONFIG_GAMEPORT_EMU10K1=m
+CONFIG_GAMEPORT_FM801=m
+
+#
+# Character devices
+#
+CONFIG_VT=y
+CONFIG_CONSOLE_TRANSLATIONS=y
+CONFIG_VT_CONSOLE=y
+CONFIG_HW_CONSOLE=y
+# CONFIG_VT_HW_CONSOLE_BINDING is not set
+CONFIG_DEVKMEM=y
+# CONFIG_SERIAL_NONSTANDARD is not set
+CONFIG_NOZOMI=m
+
+#
+# Serial drivers
+#
+# CONFIG_SERIAL_8250 is not set
+
+#
+# Non-8250 serial port support
+#
+# CONFIG_SERIAL_UARTLITE is not set
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+CONFIG_SERIAL_MPC52xx=y
+CONFIG_SERIAL_MPC52xx_CONSOLE=y
+CONFIG_SERIAL_MPC52xx_CONSOLE_BAUD=115200
+CONFIG_SERIAL_JSM=m
+CONFIG_UNIX98_PTYS=y
+CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
+CONFIG_LEGACY_PTYS=y
+CONFIG_LEGACY_PTY_COUNT=256
+# CONFIG_BRIQ_PANEL is not set
+# CONFIG_HVC_RTAS is not set
+# CONFIG_HVC_UDBG is not set
+CONFIG_IPMI_HANDLER=m
+# CONFIG_IPMI_PANIC_EVENT is not set
+CONFIG_IPMI_DEVICE_INTERFACE=m
+CONFIG_IPMI_SI=m
+CONFIG_IPMI_WATCHDOG=m
+CONFIG_IPMI_POWEROFF=m
+CONFIG_HW_RANDOM=m
+CONFIG_NVRAM=y
+# CONFIG_R3964 is not set
+CONFIG_APPLICOM=m
+# CONFIG_RAW_DRIVER is not set
+CONFIG_TCG_TPM=m
+CONFIG_TCG_NSC=m
+CONFIG_TCG_ATMEL=m
+CONFIG_DEVPORT=y
+CONFIG_I2C=m
+CONFIG_I2C_BOARDINFO=y
+CONFIG_I2C_CHARDEV=m
+CONFIG_I2C_HELPER_AUTO=y
+CONFIG_I2C_ALGOBIT=m
+CONFIG_I2C_ALGOPCA=m
+
+#
+# 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=m
+# CONFIG_I2C_PIIX4 is not set
+# CONFIG_I2C_NFORCE2 is not set
+CONFIG_I2C_SIS5595=m
+CONFIG_I2C_SIS630=m
+CONFIG_I2C_SIS96X=m
+CONFIG_I2C_VIA=m
+CONFIG_I2C_VIAPRO=m
+
+#
+# Mac SMBus host controller drivers
+#
+CONFIG_I2C_HYDRA=m
+
+#
+# I2C system bus drivers (mostly embedded / system-on-chip)
+#
+CONFIG_I2C_MPC=m
+CONFIG_I2C_OCORES=m
+CONFIG_I2C_SIMTEC=m
+
+#
+# External I2C/SMBus adapter drivers
+#
+CONFIG_I2C_PARPORT_LIGHT=m
+CONFIG_I2C_TAOS_EVM=m
+CONFIG_I2C_TINY_USB=m
+
+#
+# Graphics adapter I2C/DDC channel drivers
+#
+CONFIG_I2C_VOODOO3=m
+
+#
+# Other I2C/SMBus bus drivers
+#
+CONFIG_I2C_PCA_PLATFORM=m
+# CONFIG_I2C_STUB is not set
+
+#
+# Miscellaneous I2C Chip support
+#
+CONFIG_DS1682=m
+CONFIG_SENSORS_PCF8574=m
+CONFIG_PCF8575=m
+CONFIG_SENSORS_PCA9539=m
+CONFIG_SENSORS_PCF8591=m
+CONFIG_SENSORS_MAX6875=m
+CONFIG_SENSORS_TSL2550=m
+# CONFIG_I2C_DEBUG_CORE is not set
+# CONFIG_I2C_DEBUG_ALGO is not set
+# CONFIG_I2C_DEBUG_BUS is not set
+# CONFIG_I2C_DEBUG_CHIP is not set
+# CONFIG_SPI is not set
+CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
+# CONFIG_GPIOLIB is not set
+# CONFIG_W1 is not set
+CONFIG_POWER_SUPPLY=y
+CONFIG_POWER_SUPPLY_DEBUG=y
+# CONFIG_PDA_POWER is not set
+# CONFIG_WM8350_POWER is not set
+# CONFIG_BATTERY_DS2760 is not set
+# CONFIG_BATTERY_BQ27x00 is not set
+# CONFIG_CHARGER_PCF50633 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=y
+
+#
+# Sonics Silicon Backplane
+#
+CONFIG_SSB=m
+CONFIG_SSB_SPROM=y
+CONFIG_SSB_PCIHOST_POSSIBLE=y
+CONFIG_SSB_PCIHOST=y
+# CONFIG_SSB_B43_PCI_BRIDGE is not set
+# CONFIG_SSB_DEBUG is not set
+CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y
+CONFIG_SSB_DRIVER_PCICORE=y
+
+#
+# Multifunction device drivers
+#
+CONFIG_MFD_CORE=m
+CONFIG_MFD_SM501=m
+CONFIG_HTC_PASIC3=m
+# CONFIG_MFD_TMIO is not set
+CONFIG_MFD_WM8400=m
+CONFIG_MFD_WM8350=m
+CONFIG_MFD_WM8350_I2C=m
+CONFIG_MFD_PCF50633=m
+CONFIG_PCF50633_ADC=m
+CONFIG_PCF50633_GPIO=m
+# CONFIG_REGULATOR is not set
+
+#
+# Multimedia devices
+#
+
+#
+# Multimedia core support
+#
+CONFIG_VIDEO_DEV=m
+CONFIG_VIDEO_V4L2_COMMON=m
+# CONFIG_VIDEO_ALLOW_V4L1 is not set
+# CONFIG_VIDEO_V4L1_COMPAT is not set
+CONFIG_DVB_CORE=m
+CONFIG_VIDEO_MEDIA=m
+
+#
+# Multimedia drivers
+#
+# CONFIG_MEDIA_ATTACH is not set
+CONFIG_MEDIA_TUNER=m
+# CONFIG_MEDIA_TUNER_CUSTOMIZE is not set
+CONFIG_MEDIA_TUNER_SIMPLE=m
+CONFIG_MEDIA_TUNER_TDA8290=m
+CONFIG_MEDIA_TUNER_TDA9887=m
+CONFIG_MEDIA_TUNER_TEA5761=m
+CONFIG_MEDIA_TUNER_TEA5767=m
+CONFIG_MEDIA_TUNER_MT20XX=m
+CONFIG_MEDIA_TUNER_XC2028=m
+CONFIG_MEDIA_TUNER_XC5000=m
+CONFIG_VIDEO_V4L2=m
+# CONFIG_VIDEO_CAPTURE_DRIVERS is not set
+# CONFIG_RADIO_ADAPTERS is not set
+# CONFIG_DVB_DYNAMIC_MINORS is not set
+# CONFIG_DVB_CAPTURE_DRIVERS is not set
+# CONFIG_DAB is not set
+
+#
+# Graphics support
+#
+CONFIG_AGP=m
+CONFIG_DRM=m
+CONFIG_DRM_TDFX=m
+CONFIG_DRM_R128=m
+CONFIG_DRM_RADEON=m
+CONFIG_DRM_MGA=m
+# CONFIG_DRM_SIS is not set
+CONFIG_DRM_VIA=m
+CONFIG_DRM_SAVAGE=m
+CONFIG_VGASTATE=m
+# CONFIG_VIDEO_OUTPUT_CONTROL is not set
+CONFIG_FB=y
+# CONFIG_FIRMWARE_EDID is not set
+# CONFIG_FB_DDC is not set
+# CONFIG_FB_BOOT_VESA_SUPPORT is not set
+CONFIG_FB_CFB_FILLRECT=y
+CONFIG_FB_CFB_COPYAREA=y
+CONFIG_FB_CFB_IMAGEBLIT=y
+# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
+CONFIG_FB_SYS_FILLRECT=m
+CONFIG_FB_SYS_COPYAREA=m
+CONFIG_FB_SYS_IMAGEBLIT=m
+# CONFIG_FB_FOREIGN_ENDIAN is not set
+CONFIG_FB_SYS_FOPS=m
+CONFIG_FB_DEFERRED_IO=y
+CONFIG_FB_SVGALIB=m
+# CONFIG_FB_MACMODES is not set
+# CONFIG_FB_BACKLIGHT is not set
+CONFIG_FB_MODE_HELPERS=y
+CONFIG_FB_TILEBLITTING=y
+
+#
+# Frame buffer hardware drivers
+#
+CONFIG_FB_CIRRUS=m
+# CONFIG_FB_PM2 is not set
+# CONFIG_FB_CYBER2000 is not set
+# CONFIG_FB_OF is not set
+# CONFIG_FB_CT65550 is not set
+# CONFIG_FB_ASILIANT is not set
+# CONFIG_FB_IMSTT is not set
+# CONFIG_FB_VGA16 is not set
+# CONFIG_FB_UVESA is not set
+CONFIG_FB_S1D13XXX=m
+# CONFIG_FB_NVIDIA is not set
+# CONFIG_FB_RIVA is not set
+# CONFIG_FB_MATROX is not set
+# CONFIG_FB_RADEON is not set
+# CONFIG_FB_ATY128 is not set
+# CONFIG_FB_ATY is not set
+CONFIG_FB_S3=m
+CONFIG_FB_SAVAGE=m
+# CONFIG_FB_SAVAGE_I2C is not set
+# CONFIG_FB_SAVAGE_ACCEL is not set
+# CONFIG_FB_SIS is not set
+CONFIG_FB_VIA=m
+CONFIG_FB_NEOMAGIC=m
+CONFIG_FB_KYRO=m
+# CONFIG_FB_3DFX is not set
+# CONFIG_FB_VOODOO1 is not set
+CONFIG_FB_VT8623=m
+CONFIG_FB_TRIDENT=m
+# CONFIG_FB_TRIDENT_ACCEL is not set
+CONFIG_FB_ARK=m
+CONFIG_FB_PM3=m
+# CONFIG_FB_CARMINE is not set
+CONFIG_FB_FSL_DIU=y
+CONFIG_FSL_DIU_FLIP_ON_VSYNC=y
+# CONFIG_FB_TMIO is not set
+CONFIG_FB_SM501=m
+CONFIG_FB_IBM_GXT4500=m
+# CONFIG_FB_VIRTUAL is not set
+CONFIG_FB_METRONOME=m
+CONFIG_FB_MB862XX=m
+# CONFIG_FB_MB862XX_PCI_GDC is not set
+# CONFIG_FB_MB862XX_LIME is not set
+CONFIG_BACKLIGHT_LCD_SUPPORT=y
+# CONFIG_LCD_CLASS_DEVICE is not set
+CONFIG_BACKLIGHT_CLASS_DEVICE=y
+# CONFIG_BACKLIGHT_GENERIC is not set
+
+#
+# Display device support
+#
+CONFIG_DISPLAY_SUPPORT=m
+
+#
+# Display hardware drivers
+#
+
+#
+# Console display driver support
+#
+CONFIG_VGA_CONSOLE=y
+# CONFIG_VGACON_SOFT_SCROLLBACK is not set
+CONFIG_DUMMY_CONSOLE=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
+CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
+# CONFIG_FONTS is not set
+CONFIG_FONT_8x8=y
+CONFIG_FONT_8x16=y
+CONFIG_LOGO=y
+# CONFIG_LOGO_LINUX_MONO is not set
+# CONFIG_LOGO_LINUX_VGA16 is not set
+CONFIG_LOGO_LINUX_CLUT224=y
+CONFIG_SOUND=y
+CONFIG_SOUND_OSS_CORE=y
+CONFIG_SND=y
+CONFIG_SND_TIMER=y
+CONFIG_SND_PCM=y
+CONFIG_SND_SEQUENCER=y
+# CONFIG_SND_SEQ_DUMMY is not set
+CONFIG_SND_OSSEMUL=y
+CONFIG_SND_MIXER_OSS=m
+CONFIG_SND_PCM_OSS=y
+CONFIG_SND_PCM_OSS_PLUGINS=y
+CONFIG_SND_SEQUENCER_OSS=y
+# CONFIG_SND_HRTIMER is not set
+# CONFIG_SND_DYNAMIC_MINORS is not set
+CONFIG_SND_SUPPORT_OLD_API=y
+CONFIG_SND_VERBOSE_PROCFS=y
+CONFIG_SND_VERBOSE_PRINTK=y
+CONFIG_SND_DEBUG=y
+CONFIG_SND_DEBUG_VERBOSE=y
+CONFIG_SND_PCM_XRUN_DEBUG=y
+CONFIG_SND_VMASTER=y
+CONFIG_SND_AC97_CODEC=y
+CONFIG_SND_DRIVERS=y
+# CONFIG_SND_DUMMY is not set
+# CONFIG_SND_VIRMIDI is not set
+# CONFIG_SND_MTPAV is not set
+# CONFIG_SND_SERIAL_U16550 is not set
+# CONFIG_SND_MPU401 is not set
+# CONFIG_SND_AC97_POWER_SAVE is not set
+# CONFIG_SND_PCI is not set
+# CONFIG_SND_PPC is not set
+# CONFIG_SND_USB is not set
+CONFIG_SND_SOC=y
+
+#
+# ALSA SoC audio for Freescale SOCs
+#
+CONFIG_SND_SOC_MPC5121=y
+CONFIG_SND_SOC_MPC5121_ADS=y
+# CONFIG_SND_SOC_MPC5121_I2S is not set
+CONFIG_SND_SOC_I2C_AND_SPI=m
+# CONFIG_SND_SOC_ALL_CODECS is not set
+CONFIG_SND_SOC_AC97_CODEC=y
+# CONFIG_SOUND_PRIME is not set
+CONFIG_AC97_BUS=y
+CONFIG_HID_SUPPORT=y
+CONFIG_HID=y
+# CONFIG_HID_DEBUG is not set
+CONFIG_HIDRAW=y
+
+#
+# USB Input Devices
+#
+CONFIG_USB_HID=y
+CONFIG_HID_PID=y
+CONFIG_USB_HIDDEV=y
+
+#
+# Special HID drivers
+#
+CONFIG_HID_COMPAT=y
+CONFIG_HID_A4TECH=y
+CONFIG_HID_APPLE=y
+CONFIG_HID_BELKIN=y
+CONFIG_HID_CHERRY=y
+CONFIG_HID_CHICONY=y
+CONFIG_HID_CYPRESS=y
+CONFIG_HID_EZKEY=y
+CONFIG_HID_GYRATION=y
+CONFIG_HID_LOGITECH=y
+CONFIG_LOGITECH_FF=y
+CONFIG_LOGIRUMBLEPAD2_FF=y
+CONFIG_HID_MICROSOFT=y
+CONFIG_HID_MONTEREY=y
+CONFIG_HID_NTRIG=y
+CONFIG_HID_PANTHERLORD=y
+CONFIG_PANTHERLORD_FF=y
+CONFIG_HID_PETALYNX=y
+CONFIG_HID_SAMSUNG=y
+CONFIG_HID_SONY=y
+CONFIG_HID_SUNPLUS=y
+CONFIG_GREENASIA_FF=m
+CONFIG_HID_TOPSEED=y
+CONFIG_THRUSTMASTER_FF=m
+CONFIG_ZEROPLUS_FF=m
+CONFIG_USB_SUPPORT=y
+CONFIG_USB_ARCH_HAS_HCD=y
+CONFIG_USB_ARCH_HAS_OHCI=y
+CONFIG_USB_ARCH_HAS_EHCI=y
+CONFIG_USB=y
+# CONFIG_USB_DEBUG is not set
+CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
+
+#
+# Miscellaneous USB options
+#
+CONFIG_USB_DEVICEFS=y
+CONFIG_USB_DEVICE_CLASS=y
+# CONFIG_USB_DYNAMIC_MINORS is not set
+# CONFIG_USB_SUSPEND is not set
+# CONFIG_USB_OTG is not set
+# CONFIG_USB_MON is not set
+CONFIG_USB_WUSB=m
+CONFIG_USB_WUSB_CBAF=m
+# CONFIG_USB_WUSB_CBAF_DEBUG is not set
+
+#
+# USB Host Controller Drivers
+#
+# CONFIG_USB_C67X00_HCD is not set
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_EHCI_ROOT_HUB_TT=y
+CONFIG_USB_EHCI_TT_NEWSCHED=y
+CONFIG_USB_EHCI_BIG_ENDIAN_MMIO=y
+CONFIG_USB_EHCI_BIG_ENDIAN_DESC=y
+CONFIG_USB_EHCI_FSL=y
+CONFIG_USB_EHCI_HCD_PPC_OF=y
+# CONFIG_USB_OXU210HP_HCD is not set
+CONFIG_USB_ISP116X_HCD=m
+# CONFIG_USB_ISP1760_HCD is not set
+CONFIG_USB_OHCI_HCD=m
+# CONFIG_USB_OHCI_HCD_PPC_OF is not set
+# CONFIG_USB_OHCI_HCD_SSB is not set
+# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
+# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
+CONFIG_USB_OHCI_LITTLE_ENDIAN=y
+CONFIG_USB_UHCI_HCD=m
+CONFIG_USB_U132_HCD=m
+CONFIG_USB_SL811_HCD=m
+CONFIG_USB_R8A66597_HCD=m
+CONFIG_USB_WHCI_HCD=m
+CONFIG_USB_HWA_HCD=m
+# CONFIG_USB_MUSB_HDRC is not set
+
+#
+# USB Device Class drivers
+#
+CONFIG_USB_ACM=m
+CONFIG_USB_PRINTER=m
+CONFIG_USB_WDM=m
+CONFIG_USB_TMC=m
+
+#
+# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed;
+#
+
+#
+# see USB_STORAGE Help for more information
+#
+CONFIG_USB_STORAGE=y
+# CONFIG_USB_STORAGE_DEBUG is not set
+# CONFIG_USB_STORAGE_DATAFAB is not set
+# CONFIG_USB_STORAGE_FREECOM is not set
+# CONFIG_USB_STORAGE_ISD200 is not set
+# CONFIG_USB_STORAGE_USBAT is not set
+# CONFIG_USB_STORAGE_SDDR09 is not set
+# CONFIG_USB_STORAGE_SDDR55 is not set
+# CONFIG_USB_STORAGE_JUMPSHOT is not set
+# CONFIG_USB_STORAGE_ALAUDA is not set
+# CONFIG_USB_STORAGE_ONETOUCH is not set
+# CONFIG_USB_STORAGE_KARMA is not set
+# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
+CONFIG_USB_LIBUSUAL=y
+
+#
+# USB Imaging devices
+#
+CONFIG_USB_MDC800=m
+CONFIG_USB_MICROTEK=m
+
+#
+# USB port drivers
+#
+CONFIG_USB_SERIAL=m
+CONFIG_USB_EZUSB=y
+CONFIG_USB_SERIAL_GENERIC=y
+CONFIG_USB_SERIAL_AIRCABLE=m
+CONFIG_USB_SERIAL_ARK3116=m
+CONFIG_USB_SERIAL_BELKIN=m
+CONFIG_USB_SERIAL_CH341=m
+# CONFIG_USB_SERIAL_WHITEHEAT is not set
+CONFIG_USB_SERIAL_DIGI_ACCELEPORT=m
+# CONFIG_USB_SERIAL_CP2101 is not set
+CONFIG_USB_SERIAL_CYPRESS_M8=m
+CONFIG_USB_SERIAL_EMPEG=m
+CONFIG_USB_SERIAL_FTDI_SIO=m
+CONFIG_USB_SERIAL_FUNSOFT=m
+CONFIG_USB_SERIAL_VISOR=m
+CONFIG_USB_SERIAL_IPAQ=m
+CONFIG_USB_SERIAL_IR=m
+CONFIG_USB_SERIAL_EDGEPORT=m
+CONFIG_USB_SERIAL_EDGEPORT_TI=m
+CONFIG_USB_SERIAL_GARMIN=m
+CONFIG_USB_SERIAL_IPW=m
+CONFIG_USB_SERIAL_IUU=m
+CONFIG_USB_SERIAL_KEYSPAN_PDA=m
+CONFIG_USB_SERIAL_KEYSPAN=m
+# CONFIG_USB_SERIAL_KEYSPAN_MPR is not set
+# CONFIG_USB_SERIAL_KEYSPAN_USA28 is not set
+# CONFIG_USB_SERIAL_KEYSPAN_USA28X is not set
+# CONFIG_USB_SERIAL_KEYSPAN_USA28XA is not set
+# CONFIG_USB_SERIAL_KEYSPAN_USA28XB is not set
+# CONFIG_USB_SERIAL_KEYSPAN_USA19 is not set
+# CONFIG_USB_SERIAL_KEYSPAN_USA18X is not set
+# CONFIG_USB_SERIAL_KEYSPAN_USA19W is not set
+# CONFIG_USB_SERIAL_KEYSPAN_USA19QW is not set
+# CONFIG_USB_SERIAL_KEYSPAN_USA19QI is not set
+# CONFIG_USB_SERIAL_KEYSPAN_USA49W is not set
+# CONFIG_USB_SERIAL_KEYSPAN_USA49WLC is not set
+CONFIG_USB_SERIAL_KLSI=m
+CONFIG_USB_SERIAL_KOBIL_SCT=m
+CONFIG_USB_SERIAL_MCT_U232=m
+CONFIG_USB_SERIAL_MOS7720=m
+CONFIG_USB_SERIAL_MOS7840=m
+CONFIG_USB_SERIAL_MOTOROLA=m
+CONFIG_USB_SERIAL_NAVMAN=m
+CONFIG_USB_SERIAL_PL2303=m
+CONFIG_USB_SERIAL_OTI6858=m
+CONFIG_USB_SERIAL_SPCP8X5=m
+CONFIG_USB_SERIAL_HP4X=m
+CONFIG_USB_SERIAL_SAFE=m
+# CONFIG_USB_SERIAL_SAFE_PADDED is not set
+CONFIG_USB_SERIAL_SIEMENS_MPI=m
+CONFIG_USB_SERIAL_SIERRAWIRELESS=m
+# CONFIG_USB_SERIAL_TI is not set
+CONFIG_USB_SERIAL_CYBERJACK=m
+CONFIG_USB_SERIAL_XIRCOM=m
+CONFIG_USB_SERIAL_OPTION=m
+CONFIG_USB_SERIAL_OMNINET=m
+CONFIG_USB_SERIAL_OPTICON=m
+CONFIG_USB_SERIAL_DEBUG=m
+
+#
+# USB Miscellaneous drivers
+#
+CONFIG_USB_EMI62=m
+CONFIG_USB_EMI26=m
+CONFIG_USB_ADUTUX=m
+CONFIG_USB_SEVSEG=m
+CONFIG_USB_RIO500=m
+CONFIG_USB_LEGOTOWER=m
+CONFIG_USB_LCD=m
+CONFIG_USB_BERRY_CHARGE=m
+CONFIG_USB_LED=m
+CONFIG_USB_CYPRESS_CY7C63=m
+CONFIG_USB_CYTHERM=m
+# CONFIG_USB_PHIDGET is not set
+CONFIG_USB_IDMOUSE=m
+CONFIG_USB_FTDI_ELAN=m
+CONFIG_USB_APPLEDISPLAY=m
+# CONFIG_USB_SISUSBVGA is not set
+CONFIG_USB_LD=m
+CONFIG_USB_TRANCEVIBRATOR=m
+CONFIG_USB_IOWARRIOR=m
+CONFIG_USB_TEST=m
+CONFIG_USB_ISIGHTFW=m
+CONFIG_USB_VST=m
+CONFIG_USB_ATM=m
+CONFIG_USB_SPEEDTOUCH=m
+CONFIG_USB_CXACRU=m
+CONFIG_USB_UEAGLEATM=m
+CONFIG_USB_XUSBATM=m
+# CONFIG_USB_GADGET is not set
+
+#
+# OTG and related infrastructure
+#
+CONFIG_UWB=m
+CONFIG_UWB_HWA=m
+CONFIG_UWB_WHCI=m
+CONFIG_UWB_WLP=m
+CONFIG_UWB_I1480U=m
+CONFIG_UWB_I1480U_WLP=m
+CONFIG_MMC=y
+# CONFIG_MMC_DEBUG is not set
+CONFIG_MMC_UNSAFE_RESUME=y
+
+#
+# MMC/SD/SDIO Card Drivers
+#
+CONFIG_MMC_BLOCK=y
+CONFIG_MMC_BLOCK_BOUNCE=y
+CONFIG_SDIO_UART=m
+# CONFIG_MMC_TEST is not set
+
+#
+# MMC/SD/SDIO Host Controller Drivers
+#
+CONFIG_MMC_SDHCI=m
+CONFIG_MMC_SDHCI_PCI=m
+CONFIG_MMC_RICOH_MMC=m
+CONFIG_MMC_MPC5121=y
+# CONFIG_MMC_MPC5121_USE_DMA is not set
+# CONFIG_MMC_MPC5121_USE_CARD_INSERTION_INT is not set
+CONFIG_MMC_WBSD=m
+CONFIG_MMC_TIFM_SD=m
+CONFIG_MEMSTICK=m
+# CONFIG_MEMSTICK_DEBUG is not set
+
+#
+# MemoryStick drivers
+#
+# CONFIG_MEMSTICK_UNSAFE_RESUME is not set
+CONFIG_MSPRO_BLOCK=m
+
+#
+# MemoryStick Host Controller Drivers
+#
+CONFIG_MEMSTICK_TIFM_MS=m
+CONFIG_MEMSTICK_JMICRON_38X=m
+# CONFIG_NEW_LEDS is not set
+# CONFIG_ACCESSIBILITY is not set
+CONFIG_INFINIBAND=m
+CONFIG_INFINIBAND_USER_MAD=m
+CONFIG_INFINIBAND_USER_ACCESS=m
+CONFIG_INFINIBAND_USER_MEM=y
+CONFIG_INFINIBAND_ADDR_TRANS=y
+CONFIG_INFINIBAND_MTHCA=m
+CONFIG_INFINIBAND_MTHCA_DEBUG=y
+CONFIG_INFINIBAND_AMSO1100=m
+# CONFIG_INFINIBAND_AMSO1100_DEBUG is not set
+CONFIG_MLX4_INFINIBAND=m
+CONFIG_INFINIBAND_NES=m
+# CONFIG_INFINIBAND_NES_DEBUG is not set
+CONFIG_INFINIBAND_IPOIB=m
+# CONFIG_INFINIBAND_IPOIB_CM is not set
+CONFIG_INFINIBAND_IPOIB_DEBUG=y
+# CONFIG_INFINIBAND_IPOIB_DEBUG_DATA is not set
+CONFIG_INFINIBAND_SRP=m
+CONFIG_INFINIBAND_ISER=m
+# CONFIG_EDAC is not set
+CONFIG_RTC_LIB=y
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_HCTOSYS=y
+CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
+# CONFIG_RTC_DEBUG is not set
+
+#
+# RTC interfaces
+#
+CONFIG_RTC_INTF_SYSFS=y
+CONFIG_RTC_INTF_PROC=y
+CONFIG_RTC_INTF_DEV=y
+# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
+# CONFIG_RTC_DRV_TEST is not set
+
+#
+# I2C RTC drivers
+#
+# CONFIG_RTC_DRV_DS2068A is not set
+# CONFIG_RTC_DRV_DS1307 is not set
+# CONFIG_RTC_DRV_DS1374 is not set
+# CONFIG_RTC_DRV_DS1672 is not set
+# CONFIG_RTC_DRV_MAX6900 is not set
+# CONFIG_RTC_DRV_RS5C372 is not set
+# CONFIG_RTC_DRV_ISL1208 is not set
+# CONFIG_RTC_DRV_X1205 is not set
+# CONFIG_RTC_DRV_PCF8563 is not set
+# CONFIG_RTC_DRV_PCF8583 is not set
+# CONFIG_RTC_DRV_M41T80 is not set
+# CONFIG_RTC_DRV_S35390A is not set
+# CONFIG_RTC_DRV_FM3130 is not set
+# CONFIG_RTC_DRV_RX8581 is not set
+
+#
+# SPI RTC drivers
+#
+
+#
+# Platform RTC drivers
+#
+# CONFIG_RTC_DRV_CMOS is not set
+# CONFIG_RTC_DRV_DS1286 is not set
+# CONFIG_RTC_DRV_DS1511 is not set
+# CONFIG_RTC_DRV_DS1553 is not set
+# CONFIG_RTC_DRV_DS1742 is not set
+# CONFIG_RTC_DRV_STK17TA8 is not set
+# CONFIG_RTC_DRV_M48T86 is not set
+# CONFIG_RTC_DRV_M48T35 is not set
+# CONFIG_RTC_DRV_M48T59 is not set
+# CONFIG_RTC_DRV_BQ4802 is not set
+# CONFIG_RTC_DRV_V3020 is not set
+# CONFIG_RTC_DRV_WM8350 is not set
+# CONFIG_RTC_DRV_PCF50633 is not set
+
+#
+# on-CPU RTC drivers
+#
+# CONFIG_RTC_DRV_PPC is not set
+CONFIG_RTC_DRV_MPC5121=y
+CONFIG_DMADEVICES=y
+
+#
+# DMA Devices
+#
+CONFIG_FSL_DMA=y
+CONFIG_DMA_ENGINE=y
+
+#
+# DMA Clients
+#
+# CONFIG_NET_DMA is not set
+# CONFIG_DMATEST is not set
+CONFIG_UIO=m
+CONFIG_UIO_CIF=m
+CONFIG_UIO_PDRV=m
+CONFIG_UIO_PDRV_GENIRQ=m
+CONFIG_UIO_SMX=m
+CONFIG_UIO_SERCOS3=m
+# CONFIG_STAGING is not set
+
+#
+# File systems
+#
+CONFIG_EXT2_FS=y
+CONFIG_EXT2_FS_XATTR=y
+CONFIG_EXT2_FS_POSIX_ACL=y
+CONFIG_EXT2_FS_SECURITY=y
+# CONFIG_EXT2_FS_XIP is not set
+CONFIG_EXT3_FS=y
+CONFIG_EXT3_FS_XATTR=y
+# CONFIG_EXT3_FS_POSIX_ACL is not set
+# CONFIG_EXT3_FS_SECURITY is not set
+CONFIG_EXT4_FS=y
+CONFIG_EXT4DEV_COMPAT=y
+CONFIG_EXT4_FS_XATTR=y
+CONFIG_EXT4_FS_POSIX_ACL=y
+CONFIG_EXT4_FS_SECURITY=y
+CONFIG_JBD=y
+# CONFIG_JBD_DEBUG is not set
+CONFIG_JBD2=y
+# CONFIG_JBD2_DEBUG is not set
+CONFIG_FS_MBCACHE=y
+# CONFIG_REISERFS_FS is not set
+# CONFIG_JFS_FS is not set
+CONFIG_FS_POSIX_ACL=y
+CONFIG_FILE_LOCKING=y
+# 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=y
+CONFIG_INOTIFY=y
+CONFIG_INOTIFY_USER=y
+# CONFIG_QUOTA is not set
+CONFIG_AUTOFS_FS=y
+CONFIG_AUTOFS4_FS=y
+CONFIG_FUSE_FS=y
+CONFIG_GENERIC_ACL=y
+
+#
+# CD-ROM/DVD Filesystems
+#
+CONFIG_ISO9660_FS=m
+CONFIG_JOLIET=y
+CONFIG_ZISOFS=y
+CONFIG_UDF_FS=m
+CONFIG_UDF_NLS=y
+
+#
+# DOS/FAT/NT Filesystems
+#
+CONFIG_FAT_FS=y
+CONFIG_MSDOS_FS=y
+CONFIG_VFAT_FS=y
+CONFIG_FAT_DEFAULT_CODEPAGE=437
+CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
+CONFIG_NTFS_FS=y
+# CONFIG_NTFS_DEBUG is not set
+CONFIG_NTFS_RW=y
+
+#
+# Pseudo filesystems
+#
+CONFIG_PROC_FS=y
+CONFIG_PROC_KCORE=y
+CONFIG_PROC_SYSCTL=y
+CONFIG_PROC_PAGE_MONITOR=y
+CONFIG_SYSFS=y
+CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
+# CONFIG_HUGETLB_PAGE is not set
+CONFIG_CONFIGFS_FS=m
+CONFIG_MISC_FILESYSTEMS=y
+# 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_YAFFS_FS=y
+CONFIG_YAFFS_YAFFS1=y
+# CONFIG_YAFFS_9BYTE_TAGS is not set
+# CONFIG_YAFFS_DOES_ECC is not set
+CONFIG_YAFFS_YAFFS2=y
+CONFIG_YAFFS_AUTO_YAFFS2=y
+CONFIG_YAFFS_DISABLE_TAGS_ECC=y
+# CONFIG_YAFFS_DISABLE_LAZY_LOAD is not set
+# CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set
+CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED=y
+CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y
+# CONFIG_YAFFS_EMPTY_LOST_AND_FOUND is not set
+# CONFIG_JFFS2_FS is not set
+# CONFIG_CRAMFS is not set
+# 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=y
+CONFIG_NFS_FS=y
+CONFIG_NFS_V3=y
+CONFIG_NFS_V3_ACL=y
+CONFIG_NFS_V4=y
+CONFIG_ROOT_NFS=y
+# CONFIG_NFSD is not set
+CONFIG_LOCKD=y
+CONFIG_LOCKD_V4=y
+CONFIG_NFS_ACL_SUPPORT=y
+CONFIG_NFS_COMMON=y
+CONFIG_SUNRPC=y
+CONFIG_SUNRPC_GSS=y
+CONFIG_SUNRPC_XPRT_RDMA=m
+CONFIG_SUNRPC_REGISTER_V4=y
+CONFIG_RPCSEC_GSS_KRB5=y
+# 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=y
+# CONFIG_ACORN_PARTITION is not set
+# CONFIG_OSF_PARTITION is not set
+CONFIG_AMIGA_PARTITION=y
+# CONFIG_ATARI_PARTITION is not set
+CONFIG_MAC_PARTITION=y
+CONFIG_MSDOS_PARTITION=y
+# CONFIG_BSD_DISKLABEL is not set
+# CONFIG_MINIX_SUBPARTITION is not set
+# CONFIG_SOLARIS_X86_PARTITION is not set
+# CONFIG_UNIXWARE_DISKLABEL is not set
+# CONFIG_LDM_PARTITION is not set
+# CONFIG_SGI_PARTITION is not set
+# CONFIG_ULTRIX_PARTITION is not set
+# CONFIG_SUN_PARTITION is not set
+CONFIG_KARMA_PARTITION=y
+# CONFIG_EFI_PARTITION is not set
+# CONFIG_SYSV68_PARTITION is not set
+CONFIG_NLS=y
+CONFIG_NLS_DEFAULT="iso8895-i"
+CONFIG_NLS_CODEPAGE_437=y
+CONFIG_NLS_CODEPAGE_737=m
+CONFIG_NLS_CODEPAGE_775=m
+CONFIG_NLS_CODEPAGE_850=m
+CONFIG_NLS_CODEPAGE_852=m
+CONFIG_NLS_CODEPAGE_855=m
+CONFIG_NLS_CODEPAGE_857=m
+CONFIG_NLS_CODEPAGE_860=m
+CONFIG_NLS_CODEPAGE_861=m
+CONFIG_NLS_CODEPAGE_862=m
+CONFIG_NLS_CODEPAGE_863=m
+CONFIG_NLS_CODEPAGE_864=m
+CONFIG_NLS_CODEPAGE_865=m
+CONFIG_NLS_CODEPAGE_866=m
+CONFIG_NLS_CODEPAGE_869=m
+CONFIG_NLS_CODEPAGE_936=m
+CONFIG_NLS_CODEPAGE_950=m
+CONFIG_NLS_CODEPAGE_932=m
+CONFIG_NLS_CODEPAGE_949=m
+CONFIG_NLS_CODEPAGE_874=m
+CONFIG_NLS_ISO8859_8=m
+CONFIG_NLS_CODEPAGE_1250=m
+CONFIG_NLS_CODEPAGE_1251=m
+CONFIG_NLS_ASCII=m
+CONFIG_NLS_ISO8859_1=y
+CONFIG_NLS_ISO8859_2=m
+CONFIG_NLS_ISO8859_3=m
+CONFIG_NLS_ISO8859_4=m
+CONFIG_NLS_ISO8859_5=m
+CONFIG_NLS_ISO8859_6=m
+CONFIG_NLS_ISO8859_7=m
+CONFIG_NLS_ISO8859_9=m
+CONFIG_NLS_ISO8859_13=m
+CONFIG_NLS_ISO8859_14=m
+CONFIG_NLS_ISO8859_15=m
+CONFIG_NLS_KOI8_R=m
+CONFIG_NLS_KOI8_U=m
+CONFIG_NLS_UTF8=m
+# CONFIG_DLM is not set
+
+#
+# Library routines
+#
+CONFIG_BITREVERSE=y
+CONFIG_GENERIC_FIND_LAST_BIT=y
+CONFIG_CRC_CCITT=m
+CONFIG_CRC16=y
+CONFIG_CRC_T10DIF=y
+CONFIG_CRC_ITU_T=m
+CONFIG_CRC32=y
+CONFIG_CRC7=m
+CONFIG_LIBCRC32C=m
+CONFIG_ZLIB_INFLATE=m
+CONFIG_ZLIB_DEFLATE=m
+CONFIG_LZO_COMPRESS=m
+CONFIG_LZO_DECOMPRESS=m
+CONFIG_TEXTSEARCH=y
+CONFIG_TEXTSEARCH_KMP=m
+CONFIG_TEXTSEARCH_BM=m
+CONFIG_TEXTSEARCH_FSM=m
+CONFIG_PLIST=y
+CONFIG_HAS_IOMEM=y
+CONFIG_HAS_IOPORT=y
+CONFIG_HAS_DMA=y
+CONFIG_HAVE_LMB=y
+
+#
+# Kernel hacking
+#
+# CONFIG_PRINTK_TIME is not set
+# CONFIG_ENABLE_WARN_DEPRECATED is not set
+# CONFIG_ENABLE_MUST_CHECK is not set
+CONFIG_FRAME_WARN=1024
+CONFIG_MAGIC_SYSRQ=y
+# CONFIG_UNUSED_SYMBOLS is not set
+CONFIG_DEBUG_FS=y
+# CONFIG_HEADERS_CHECK is not set
+# CONFIG_DEBUG_KERNEL is not set
+CONFIG_STACKTRACE=y
+CONFIG_DEBUG_BUGVERBOSE=y
+CONFIG_DEBUG_MEMORY_INIT=y
+# CONFIG_RCU_CPU_STALL_DETECTOR is not set
+# CONFIG_LATENCYTOP is not set
+# CONFIG_SYSCTL_SYSCALL_CHECK is not set
+CONFIG_NOP_TRACER=y
+CONFIG_HAVE_FUNCTION_TRACER=y
+CONFIG_HAVE_DYNAMIC_FTRACE=y
+CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
+CONFIG_RING_BUFFER=y
+CONFIG_TRACING=y
+
+#
+# Tracers
+#
+# CONFIG_FIREWIRE_OHCI_REMOTE_DMA is not set
+# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
+# CONFIG_SAMPLES is not set
+CONFIG_HAVE_ARCH_KGDB=y
+CONFIG_PRINT_STACK_DEPTH=64
+# CONFIG_IRQSTACKS is not set
+# CONFIG_VIRQ_DEBUG is not set
+# CONFIG_BOOTX_TEXT is not set
+# CONFIG_PPC_EARLY_DEBUG is not set
+
+#
+# Security options
+#
+# CONFIG_KEYS is not set
+# CONFIG_SECURITY is not set
+CONFIG_SECURITYFS=y
+# CONFIG_SECURITY_FILE_CAPABILITIES is not set
+CONFIG_CRYPTO=y
+
+#
+# Crypto core or helper
+#
+CONFIG_CRYPTO_FIPS=y
+CONFIG_CRYPTO_ALGAPI=y
+CONFIG_CRYPTO_ALGAPI2=y
+CONFIG_CRYPTO_AEAD=m
+CONFIG_CRYPTO_AEAD2=y
+CONFIG_CRYPTO_BLKCIPHER=y
+CONFIG_CRYPTO_BLKCIPHER2=y
+CONFIG_CRYPTO_HASH=y
+CONFIG_CRYPTO_HASH2=y
+CONFIG_CRYPTO_RNG=m
+CONFIG_CRYPTO_RNG2=y
+CONFIG_CRYPTO_MANAGER=y
+CONFIG_CRYPTO_MANAGER2=y
+CONFIG_CRYPTO_GF128MUL=m
+CONFIG_CRYPTO_NULL=m
+# CONFIG_CRYPTO_CRYPTD is not set
+CONFIG_CRYPTO_AUTHENC=m
+CONFIG_CRYPTO_TEST=m
+
+#
+# Authenticated Encryption with Associated Data
+#
+CONFIG_CRYPTO_CCM=m
+CONFIG_CRYPTO_GCM=m
+CONFIG_CRYPTO_SEQIV=m
+
+#
+# Block modes
+#
+CONFIG_CRYPTO_CBC=y
+CONFIG_CRYPTO_CTR=m
+CONFIG_CRYPTO_CTS=m
+CONFIG_CRYPTO_ECB=m
+CONFIG_CRYPTO_LRW=m
+CONFIG_CRYPTO_PCBC=m
+CONFIG_CRYPTO_XTS=m
+
+#
+# Hash modes
+#
+CONFIG_CRYPTO_HMAC=m
+CONFIG_CRYPTO_XCBC=m
+
+#
+# Digest
+#
+CONFIG_CRYPTO_CRC32C=m
+CONFIG_CRYPTO_MD4=m
+CONFIG_CRYPTO_MD5=y
+CONFIG_CRYPTO_MICHAEL_MIC=m
+CONFIG_CRYPTO_RMD128=m
+CONFIG_CRYPTO_RMD160=m
+CONFIG_CRYPTO_RMD256=m
+CONFIG_CRYPTO_RMD320=m
+CONFIG_CRYPTO_SHA1=m
+CONFIG_CRYPTO_SHA256=m
+CONFIG_CRYPTO_SHA512=m
+CONFIG_CRYPTO_TGR192=m
+CONFIG_CRYPTO_WP512=m
+
+#
+# Ciphers
+#
+CONFIG_CRYPTO_AES=m
+CONFIG_CRYPTO_ANUBIS=m
+CONFIG_CRYPTO_ARC4=m
+CONFIG_CRYPTO_BLOWFISH=m
+CONFIG_CRYPTO_CAMELLIA=m
+CONFIG_CRYPTO_CAST5=m
+CONFIG_CRYPTO_CAST6=m
+CONFIG_CRYPTO_DES=y
+CONFIG_CRYPTO_FCRYPT=m
+CONFIG_CRYPTO_KHAZAD=m
+CONFIG_CRYPTO_SALSA20=m
+CONFIG_CRYPTO_SEED=m
+CONFIG_CRYPTO_SERPENT=m
+CONFIG_CRYPTO_TEA=m
+CONFIG_CRYPTO_TWOFISH=m
+CONFIG_CRYPTO_TWOFISH_COMMON=m
+
+#
+# Compression
+#
+CONFIG_CRYPTO_DEFLATE=m
+CONFIG_CRYPTO_LZO=m
+
+#
+# Random Number Generation
+#
+CONFIG_CRYPTO_ANSI_CPRNG=m
+# CONFIG_CRYPTO_HW is not set
+CONFIG_PPC_CLOCK=y
+CONFIG_PPC_LIB_RHEAP=y
+# CONFIG_VIRTUALIZATION is not set
recipes/linux/linux-2.6.29/mpc5125-twr/mpc5125-twr.patch new file +48475 -0

726 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.7.3.4

Part of the diff is not shown here. View the raw message.

#2 lore raw
In reply to Jan Kobler
Quoted 7 lines · Jan Kobler

Freescale Development Kit TWR-MPC5125-KIT

Vendor page: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-MPC5125-KIT

The name mpc5125-twr is used by Freescale in the Linux kernel for this board.

First, the linux_VER.bb change should be part of the patch that bring in the patches for the board. Second, I see upstream there's a mpc512x_defconfig. How much of this platform works upstream with a more recent kernel? Thanks!

Signature · 2 lines
Tom Rini
Mentor Graphics Corporation
author
#3 lore raw

Hi,

1. I wanted to make a clear distinction between what I have written and what I have taken from
http://www.freescale.com/files/soft_dev_tools/software/board_support_packages/TWRMPC5125LinuxBSP.rar
which contains the Linux kernel 2.6.29-v2010041601 for the TWR-MPC5125-KIT.

Therefore linux_VER.bb is in [mpc5125-twr 1/2], because I have changed it. Otherwise I would put it together in one patch.

2. I have tried to provide the same for Openembedded as Freescale is currently shipping on their web page
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-MPC5125-KIT&fpsp=1&tab=Design_Tools_Tab.
I have not tried to port it to a more recent kernel.

Is there already a more recent kernel, which contains mpc5125-twr support?

Best regards

Jan

#4 lore raw
Quoted 10 lines · Jan Kobler

Hi,

1. I wanted to make a clear distinction between what I have written and what I have taken from
http://www.freescale.com/files/soft_dev_tools/software/board_support_packages/TWRMPC5125LinuxBSP.rar
which contains the Linux kernel 2.6.29-v2010041601 for the TWR-MPC5125-KIT.

Therefore linux_VER.bb is in [mpc5125-twr 1/2], because I have changed it. Otherwise I would put it together in one patch.

Quoted 6 lines

2. I have tried to provide the same for Openembedded as Freescale is currently shipping on their web page
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-MPC5125-KIT&fpsp=1&tab=Design_Tools_Tab.
I have not tried to port it to a more recent kernel.

Is there already a more recent kernel, which contains mpc5125-twr support?

It's possible that yes, this hardware is supported in 2.6.37.

Signature · 2 lines
Tom Rini
Mentor Graphics Corporation
author
#5 lore raw

on 08.04.2011 23:37 Tom Rini said the following:

Quoted 10 lines · Jan Kobler
Quoted 6 lines

2. I have tried to provide the same for Openembedded as Freescale is currently shipping on their web page
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-MPC5125-KIT&fpsp=1&tab=Design_Tools_Tab.
I have not tried to port it to a more recent kernel.

Is there already a more recent kernel, which contains mpc5125-twr support?

It's possible that yes, this hardware is supported in 2.6.37.

The support in 2.6.37 seems to be for the CPU Freescale MPC5121 and the board ADS512101. The support files for MPC5125 and TWR-MPC5125 are missing. The names TWR-MPC5125 or "mpc5125-twr are nowhere mentioned.

E.g linux-2.6.29/arch/powerpc/boot/dts/mpc5125-twr.dts is missing in linux-2.6.37

linux-2.6.37/arch/powerpc/boot/dts/mpc5121ads.dts is different to linux-2.6.29/arch/powerpc/boot/dts/mpc5125-twr.dts

The CPUs MPC5125 and MPC5121 are similar, but are not the same. Currently I don't know the exact differences and cannot decide which code for MPC5121 runs also on MPC5125.

Best regards

Jan

author
#6 lore raw

mpc5125-twr: Tutorial

In reply to Jan Kobler

Hi,

1. I have described the usage and the current state of the BSP of the new machine mpc5125-twr in a tutorial and wanted to publish it on gentoo-wiki.com. Unfortunately gentoo-wiki.com is currently not accessible.

Here is the tutorial in text form.

2. I can provide it also as html file, if someone wants it.

3. I would like to publish this tutorial under
http://www.openembedded.org/index.php/Category:Machine
because I think this would be the right place for it. How can I get write access to the openembedded-wiki?

Best regards

Jan

_________________________________________________________________

Openembedded for Freescale TWR-MPC5125

     ----------------------------------------------------------------------

Table of Contents

About this tutorial

Freescale TWR-MPC5125

Openembedded

Git Paths

Folder Names

Install Software for Openembedded

Install Bitbake

Install Openembedded

Update

Install the Patch for the Board Freescale TWR-MPC5125

Create the configuration file

Environment setup

Image minimal-image

Build Image

Linux Kernel

Create the Root File System

nfs server

Prepare the Board

Serial Port

U-boot

Target Log

Status

Image opie-image

Build Image opie-image

Create the Root File System

NFS Server

U-boot

Target Log

Status

Screenshots

Image x11-gpe-image

Build Image x11-gpe-image

Create the Root File System

NFS Server

U-boot

Target Log

Status

Screenshots

Image xfce46-image

Build Image xfce46-image

Create the Root File System

NFS Server

U-boot

Start Xfce

Target Log

Status

Troubleshooting

Workaround when fetch fails

Workaround for cannot stat error

Bitbake Reports an Error

About this tutorial

This tutorial describes all the steps which are needed to create the
linux
kernel and different root file systems on a Gentoo Linux host for the board Freescale TWR-MPC5125 with Openembedded, a build framework for embedded Linux. The Linux Distribution Angstrom, which is part of Openembedded, is used here to create the linux kernel and to create several root file systems:

o a minimal-image for testing purposes,

o OPIE (Open Palmtop Integrated Environment), a graphical user
interface
for PDAs,

o GPE (GPE Palmtop Environment), a graphical user interface for
PDAs and

o Xfce, a lightweight desktop environment.

The minimal-image uses about 35MB RAM at runtime on the Freescale TWR-MPC5125. OPIE uses about 51MB RAM at runtime. GPE uses about 61MB RAM at runtime. Xfce uses about 95MB RAM at runtime.

Note: This is the first release of a BSP for the board Freescale TWR-MPC5125 in Openembedded. It seems to work, but only few tests have been made so far.

Freescale TWR-MPC5125

The Freescale TWR-MPC5125-KIT consists of one MPU module and a peripheral module which can be plugged between two backplane boards. On the MPU module is the Freescale MPC5125 with a Power Architecture e300c4 core. Freescale provides a Linux demo and the source code for the Linux kernel and for U-boot.

Freescale TWR-MPC5125:

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-MPC5125-KIT

Freescale MPC5125:
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MPC5125

TowerGeeks Group for TWR-MPC5125:
http://www.towergeeks.org/group/twrmpc5125

Openembedded

You can find further explanations for the following steps in the Openembedded wiki: http://wiki.openembedded.org/index.php/Main_Page.

How to install Openembedded on Gentoo Linux:
http://www.openembedded.org/index.php/OEandYourDistro#Gentoo_instructions

How to get started: http://www.openembedded.org/index.php/Getting_started

Advanced configuration settings:
http://www.openembedded.org/index.php/Advanced_configuration

User manual: http://docs.openembedded.org/usermanual/usermanual.html

Git Paths

The source code of the Openembedded project is saved in git-repositories:
http://cgit.openembedded.org/cgit.cgi

The source code of the bitbake application:
http://cgit.openembedded.org/cgit.cgi/bitbake/

You can look at each source file:
http://cgit.openembedded.org/cgit.cgi/bitbake/tree/

The configuration files and the defintions of the software packages:
http://cgit.openembedded.org/cgit.cgi/openembedded/

You can look at each file:
http://cgit.openembedded.org/cgit.cgi/openembedded/tree

Config files for the supported hardware:
http://cgit.openembedded.org/cgit.cgi/openembedded/tree/conf/machine

Patches for openembedded:
http://patches.openembedded.org/project/oe/list/

Apply patches: http://wiki.openembedded.net/index.php/Patchwork

Folder Names

These folders are used for

Bitbake: $MY_BITBAKE

Openembedded: $MY_OPENEMBEDDED

Project configuration: $MY_PROJECT

Build: $MY_TMP

NFSRoot: $MY_NFSROOT

Source: $MY_SRC

The application bitbake is installed into the folder $MY_BITBAKE.

The project definitions of openembedded are installed into the folder $MY_OPENEMBEDDED.

Source files are downloaded by bitbake into the folder $MY_SRC.

The configuration files for the current project are created in the folder $MY_PROJECT.

bitbake creates all files in the folder $MY_TMP.

The created root file systems are extracted in the folder $MY_NFSROOT and can be mounted by the target via NFS.

The current project is just called test01.

Define environment variables:

export MY_BITBAKE=/MyOE/bitbake-1.12;
export MY_OPENEMBEDDED=/MyOE/openembedded;
export MY_PROJECT=/MyOE/project/test01;
export MY_TMP=/MyOE/tmp/test01;
export MY_NFSROOT=/MyOE/nfsroot/test01;
export MY_SRC=/usr/portage/distfiles;

Install Software for Openembedded

Before you can install and use openembedded, you need to install some software. At first set the use flags.

nano /etc/portage/package.use/openembedded-use

New or changed content of file openembedded-use:

 # use flags for openembedded
 dev-util/quilt graphviz

Emerge the software, which is missing.

emerge --update --ask -v psyco patch make sed dev-lang/python m4 bison
cvs openjade \
quilt sgmltools-lite docbook-xml-dtd docbook-dsssl-stylesheets xmlto
docbook-sgml-utils \
libpcre boost subversion texi2html pysqlite chrpath diffstat

It is possible that portage requests that some other use flags are set too. psyco is not available for gentoo amd64 i.e. x86_64.

Now you can check, if all needed applications exist

which libtool python2.6 git svn cvs make gcc g++ patch help2man
diffstat texi2html \
bzip2 gawk tar md5sum texi2pdf chrpath

texi2pdf is part of the package texinfo.

Install Bitbake

Create folders and download the branch 1.12 of bitbake:

mkdir -p $MY_BITBAKE;
git clone -b 1.12 git://git.openembedded.net/bitbake $MY_BITBAKE

The size of this folder is about 3MB.

Install Openembedded

Create folders and download the branch master of openembedded:

git clone git://git.openembedded.net/openembedded $MY_OPENEMBEDDED

The size of this folder is about 150MB.

Update

From time to time you need to update your local versions of openembedded and bitbake.

Update Openembedded

cd $MY_OPENEMBEDDED;
git pull --rebase

Update Bitbake

cd $MY_BITBAKE;
git pull --rebase

Install the Patch for the Board Freescale TWR-MPC5125

Because Openembedded has so far no configuration files for the board Freescale TWR-MPC5125, some patches need to be applied.

Note: The patches will be soon released and the URL announced.

When the patches are published on the Openembedded patch list
http://patches.openembedded.org/project/oe/list they can be easily applied:

more $MY_OPENEMBEDDED/contrib/patchwork/pw-am.sh cd $MY_OPENEMBEDDED; $MY_OPENEMBEDDED/contrib/patchwork/pw-am.sh xxx yyy

Create the configuration file

For each project you should create a project folder with a configuration file. Here it is $MY_PROJECT. Almost all settings for your project are defined in the local.conf file. At first use the file
local.conf.sample as
template for the local.conf file.

mkdir -p $MY_PROJECT/conf;
cp $MY_OPENEMBEDDED/conf/local.conf.sample $MY_PROJECT/conf/local.conf

Then adjust the configuration file

nano $MY_PROJECT/conf/local.conf

New or changed content of file local.conf:

# DL_DIR = "${HOME}/sources"

 # use the distfiles of gentoo
 DL_DIR = "/usr/portage/distfiles"

Bitbake downloads source files into and creates md5 files in the folder which is specified by the environment variable DL_DIR. Portage and
bitbake
download the same source files. You can define DL_DIR to point to the source file repository of portage which is by default /usr/portage/distfiles. This avoids downloading a file two times by portage and bitbake. Make sure that you have access permissions to this folder. If you don't want to use the same download folder, then choose some other folder name for DL_DIR.

Note: I don't know if sharing the download folder is a real feature of portage and openembedded, but it works for me. Sometimes when a fetch fails, I use Workaround_when_fetch_fails

Continue adjusting the local.conf file. New or changed content of file local.conf:

# BBFILES := "${@bb.fatal('Edit your conf/local.conf: BBFILES')}" BBFILES = "/MyOE/openembedded/recipes/*/*.bb"

 # on gentoo help2man unknown arg --no-discard-stderr
 # ASSUME_PROVIDED += "help2man-native"

# TMPDIR = /usr/local/projects/oetmp
TMPDIR = /MyOE/tmp/test01
# TMPDIR is created by bitbake

# GLIBC_GENERATE_LOCALES = "en_US.UTF-8 en_GB.UTF-8 de_DE.UTF-8" GLIBC_GENERATE_LOCALES = "en_US.UTF-8"

#IMAGE_FSTYPES = "jffs2 tar"
IMAGE_FSTYPES = "jffs2 tar"

# PARALLEL_MAKE = "-j 4"
PARALLEL_MAKE = "-j 4"

# BB_NUMBER_THREADS = "2"
BB_NUMBER_THREADS = "2"

Delete the last line of the file, otherwise you will get an error
message.
The value of the variable DISTRO is the name of a distribution. The allowed values are the file names without suffix in the folder $MY_OPENEMBEDDED/conf/distro.

ls $MY_OPENEMBEDDED/conf/distro

The value of the variable MACHINE is the name of a target board or target system. The allowed values are the file names without suffix in the
folder
$MY_OPENEMBEDDED/conf/machine.

ls $MY_OPENEMBEDDED/conf/machine

Define distribution and machine. Here mpc5125-twr.conf fits best to Freescale TWR-MPC5125.New or changed content of file local.conf:

DISTRO="angstrom"
MACHINE="mpc5125-twr"

Clean work folder after succesfully building.New or changed content of file local.conf:

INHERIT += "rm_work"

Environment setup

Before you can call bitbake, you need to setup the environment. Because each project can have its own environment, you should create a script in the project folder.

nano $MY_PROJECT/setup-env

New or changed content of file setup-env:

export PATH="/MyOE/bitbake-1.12/bin:${PATH}" export BBPATH="/MyOE/project/test01:/MyOE/openembedded/"

 # you can set also here: BB_ENV_EXTRAWHITE
 # set a new prompt
 export PS1="test01 $PS1"

echo "Configure Openembedded for test01 "

Call the script file setup-env only once, before you start using bitbake. The prompt will indicate, if you have called it or not.

All the settings in setup-env and local.conf are independent of the environment variables MY_OPENEMBEDDED, MY_BITBAKE, MY_SRC, MY_NFSROOT, MY_PROJECT. You don't need them to run bitbake.

Image minimal-image

Build Image

You can be in any folder you like. You should be logged in as a common user. You don't need root privileges most of the time. Start building an image

source $MY_PROJECT/setup-env;
bitbake minimal-image

Output:

Build Configuration:
BB_VERSION = "1.12.0"
METADATA_BRANCH = "master"
METADATA_REVISION = "6b9a381"

 TARGET_ARCH       = "ppc"
 TARGET_OS         = "linux"
 MACHINE           = "mpc5125-twr"
 DISTRO            = "angstrom"
 DISTRO_VERSION    = "v20110406"

At first all cross-tools (called native in openembedded), e.g. the cross-compiler are build and installed in the folder $MY_TMP. Then the cross-tools are used to build all needed software packages. Root file images and the kernel images can be found in the folder $MY_TMP/deploy/eglibc/images/mpc5125-twr/

ls -1s $MY_TMP/deploy/eglibc/images/mpc5125-twr/

These are the files which are created: Output:

7152
Angstrom-minimalist-image-eglibc-ipk-v20110406-mpc5125-twr.rootfs.jffs2
10668 Angstrom-minimalist-image-eglibc-ipk-v20110406-mpc5125-twr.rootfs.tar
6256
Angstrom-minimalist-image-eglibc-ipk-v20110406-mpc5125-twr.rootfs.tar.gz
6204 modules-2.6.29-r11-mpc5125-twr.tgz
2448 uImage-2.6.29-r11-mpc5125-twr.bin

    12 uImage-2.6.29-r11-mpc5125-twr.dtb

These are the links which are created: Output:

minimalist-image-mpc5125-twr.jffs2 ->
Angstrom-minimalist-image-eglibc-ipk-v20110406-mpc5125-twr.rootfs.jffs2
minimalist-image-mpc5125-twr.tar ->
Angstrom-minimalist-image-eglibc-ipk-v20110406-mpc5125-twr.rootfs.tar
minimalist-image-mpc5125-twr.tar.gz ->
Angstrom-minimalist-image-eglibc-ipk-v20110406-mpc5125-twr.tar.gz
uImage-mpc5125-twr.bin -> uImage-2.6.29-r11-mpc5125-twr.bin uImage-mpc5125-twr.dtb -> uImage-2.6.29-r11-mpc5125-twr.dtb

Linux Kernel

The board is already shipped with a Linux kernel in flash. U-boot can
load
the kernel from a TFTP server or from flash. Here we load the kernel from a TFTP server.

cp
$MY_TMP/deploy/eglibc/images/mpc5125-twr/uImage-2.6.29-r11-mpc5125-twr.bin /tftpboot/uImage-mpc5125-twr;
cp
$MY_TMP/deploy/eglibc/images/mpc5125-twr/uImage-2.6.29-r11-mpc5125-twr.dtb
/tftpboot/uImage-mpc5125-twr-dtb;

Create the Root File System

Take the rootfs image and extract it into another folder. The extraction needs to be done with root privileges.

mkdir -p $MY_NFSROOT/mpc5125-twr-minimal-image;
cd $MY_NFSROOT/mpc5125-twr-minimal-image;
sudo tar xzf
$MY_TMP/deploy/eglibc/images/mpc5125-twr/minimalist-image-mpc5125-twr.tar.gz

Extract the kernel modules into the root file system.

cd $MY_NFSROOT/mpc5125-twr-minimal-image;
tar tzf
$MY_TMP/deploy/eglibc/images/mpc5125-twr/modules-2.6.29-r11-mpc5125-twr.tgz;
sudo rm -rf lib/modules/2.6.29.1;
sudo tar xzf
$MY_TMP/deploy/eglibc/images/mpc5125-twr/modules-2.6.29-r11-mpc5125-twr.tgz;

The rootfs can be now mounted via NFS.

nfs server

Configure the nfs server to export the rootfs

nano /etc/exports

New or changed content of file /etc/exports:

/MyOE/nfsroot/test01/mpc5125-twr-minimal-image
192.168.1.255/24(rw,no_root_squash,async,subtree_check)

exportfs -r

Prepare the Board

You need a monitor, a USB mouse, a USB keyboard and a USB Hub. Only the TWR-MPC5125 MPU module is used.

o Connect the monitor to the HDMI port of the TWR-MPC5125 MPU module. E.g. you can use a HDMI to DVI-D cable. The resolution has been 640x480 60Hz during the tests.

o Connect the mouse and the keyboard to a USB hub. Connect the USB hub to the Mini-AB connector on the board which is next to the HDMI connector. Use the Mini-B to receptable A cable.

o Connect a USB cable to your host computer and to the Mini-B connector next to the SDHC card slot. This is the Serial-to-USB bridge.

o Connect an Ethernet cable to the board.

o Connect a 5V power supply to the board, if it is not already provided by the USB cable to your host computer.

Serial Port

There is a Serial-to-USB bridge on the board, which connects the serial port PSC0 to a USB port. When the Mini-B connector next to the SDHC card slot on the board is connected to a USB port of the host, then this message appears in /var/log/messages:Output:

usb 1-1.2: new full speed USB device using ehci_hcd and address 5 cdc_acm 1-1.2:1.0: This device cannot do calls on its own. It is not a
modem.
cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and
ISDN adapters

Install the terminal application cu on your host system.

emerge -av taylor-uucp

Now open a terminal to the board

cu -l /dev/ttyACM0

U-boot

Use the Serial-to-USB bridge to connect to the serial port PSC0 of the CPU. Boot the board and enter the command line of u-boot. Define the IP address of the board, the IP address of the server and the path for nfsroot. Check the current settings of the variables which are used to boot the board.

echo ipaddr=$ipaddr;
echo gatewayip=$gatewayip;
echo netmask=$netmask;
echo serverip=$serverip;
echo kernel_loader=$kernel_loader_addr;
echo fdt_loader_addr=$fdt_loader_addr;
echo rootpath=$rootpath;
echo consoledev=$consoledev;
echo baudrate=$baudrate;
echo hostname=$hostname;
echo netdev=$netdev;
echo bootargs=$bootargs;
echo bootcmd=$bootcmd;
echo tftpboot=$tftpboot;

Change the variables which are used to boot the board.

setenv ipaddr 192.168.1.8;
setenv gatewayip 192.168.1.1;
setenv netmask 255.255.255.0;
setenv serverip 192.168.1.33;
setenv consoledev ttyPSC0;
setenv netdev eth0;

Define the command to load the kernel from a TFTP server.

set tftpboot 'tftp $kernel_loader_addr uImage-mpc5125-twr; tftp
$fdt_loader_addr uImage-mpc5125-twr-dtb; bootm $kernel_loader_addr - $fdt_loader_addr '

Define the nfsroot path and the bootcmd argument. When you want to use a different nfsroot, you need to change only rootpath and bootargs.

setenv rootpath /MyOE/nfsroot/test01/mpc5125-twr-minimal-image; setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath}
console=${consoledev},${baudrate} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev}:off panic=1;

Save the new environment and boot again.

saveenv
run tftpboot

Target Log

The linux kernel specific part:

Output:

U-Boot 2009.03-00004-gd37ab38 (Apr 14 2010 - 10:48:22) MPC512X

CPU: MPC5125 rev. 1.0, Core e300c4 at 393.216 MHz, CSB at 196.608 MHz
board: mpc5125_mpu

 I2C:   ready
 DRAM:  256 MB
 NAND:  4096 MiB
 In:    serial
 Out:   serial
 Err:   serial
 Net:   FEC ETHERNET

Type "run flash_nfs" to mount root filesystem over NFS

Hit any key to stop autoboot: 0
=>
=> setenv ipaddr 192.168.1.8;
=> setenv gatewayip 192.168.1.1;
=> setenv netmask 255.255.255.0;
=> setenv serverip 192.168.1.33;
=> setenv consoledev ttyPSC0;
=> setenv netdev eth0;
=> set tftpboot 'tftp $kernel_loader_addr uImage-mpc5125-twr; tftp
$fdt_loader_addr uImage-mpc5125-twr-dtb; bootm $kernel_loader_addr - $fdt_loader_addr '
=> setenv rootpath /MyOE/nfsroot/test01/mpc5125-twr-minimal-image; => setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath}
console=${consoledev},${baudrate} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev}:off panic=1;
=> echo $tftpboot
tftp $kernel_loader_addr uImage-mpc5125-twr; tftp $fdt_loader_addr
uImage-mpc5125-twr-dtb; bootm $kernel_loader_addr - $fdt_loader_addr
=> echo $rootpath /MyOE/nfsroot/test01/mpc5125-twr-minimal-image
=> echo $bootargs
root=/dev/nfs rw
nfsroot=192.168.1.33:/MyOE/nfsroot/test01/mpc5125-twr-minimal-image console=ttyPSC0,115200 ip=192.168.1.8:192.168.1.33:192.168.1.1:255.255.255.0:ads5125:eth0:off panic=1
=> saveenv
Saving Environment to NAND...
Erasing Nand...
Writing to Nand... done
=> run tftpboot
Using FEC ETHERNET device
TFTP from server 192.168.1.33; our IP address is 192.168.1.8 Filename 'uImage-mpc5125-twr'.
Load address: 0x2000000
Loading: #################################################################

          #################################################################
          #################################################################
          #################################################################
          #################################################################
          #################################################################
          #################################################################
          ##################################
 done
 Bytes transferred = 2499150 (26224e hex)
 Using FEC ETHERNET device
 TFTP from server 192.168.1.33; our IP address is 192.168.1.8
 Filename 'uImage-mpc5125-twr-dtb'.
 Load address: 0x2800000
 Loading: ###
 done
 Bytes transferred = 12288 (3000 hex)
 ## Booting kernel from Legacy Image at 02000000 ...
    Image Name:   Angstrom/2.6.29/mpc5125-twr
    Created:      2011-04-06   8:58:20 UTC
    Image Type:   PowerPC Linux Kernel Image (gzip compressed)
    Data Size:    2499086 Bytes =  2.4 MB
    Load Address: 00000000
    Entry Point:  00000000
    Verifying Checksum ... OK

## Flattened Device Tree blob at 02800000
Booting using the fdt blob at 0x2800000 Uncompressing Kernel Image ... OK
Loading Device Tree to 007fa000, end 007fffff ... OK
boot_jump_linux line:101 60000000 60000000 60000000 2c050000 Using MPC5125 ADS machine description
Initializing cgroup subsys cpu
Linux version 2.6.29.1 (userA@hostX) (gcc version 4.5.3 20110311
(prerelease) (GCC) ) #1 PREEMPT Wed Apr 6 10:58:12 CEST 2011
MPC5125 ADS board from Freescale Semiconductor preallocate_diu_videomemory: diu_size=5242880 preallocate_diu_videomemory: diu_mem=c07fc000
PSC0 psc_fifo_base:0 tx_fifo_size:00000060 rx_fifo_size:00000060 PSC1 psc_fifo_base:192 tx_fifo_size:00000004 rx_fifo_size:00000004 PSC9 psc_fifo_base:200 tx_fifo_size:00000004 rx_fifo_size:00000004 Zone PFN ranges:
DMA 0x00000000 -> 0x00010000
Normal 0x00010000 -> 0x00010000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges

     0: 0x00000000 -> 0x00010000

Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024 Kernel command line: root=/dev/nfs rw
nfsroot=192.168.1.33:/MyOE/nfsroot/test01/mpc5125-twr-minimal-image console=ttyPSC0,115200 ip=192.168.1.8:192.168.1.33:192.168.1.1:255.255.255.0:ads5125:eth0:off panic=1
IPIC (128 IRQ sources) at fdffbc00
PID hash table entries: 1024 (order: 10, 4096 bytes)
clocksource: timebase mult[5161555] shift[22] registered
Console: colour dummy device 80x25
console [ttyPSC0] enabled
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 248892k/262144k available (4912k kernel code, 12928k reserved,
192k data, 396k bss, 192k init)
Calibrating delay loop... 98.04 BogoMIPS (lpj=196096) Mount-cache hash table entries: 512
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys net_cls
net_namespace: 992 bytes
NET: Registered protocol family 16
Could not initialize clk spdif_txclk without a calc routine Could not initialize clk spdif_rxclk without a calc routine register :mscan0_clk
register :mscan1_clk
mapped ioctl to d1004000 and gpioctl to d1008100
PCI: Probing PCI hardware
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Freescale Elo / Elo Plus DMA driver
Freescale(R) MPC5121 DMA Engine found, 64 channels
fsldma: Self-test copy successfully
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes) TCP established hash table entries: 8192 (order: 4, 65536 bytes) TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
audit: initializing netlink socket (disabled)
type=2000 audit(0.329:1): initialized
NTFS driver 2.1.29 [Flags: R/W].
fuse init (API version 7.11)
yaffs Apr 6 2011 10:57:54 Installing.
msgmni has been set to 486
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
fsl_diu_alloc: size=64
fsl_diu_alloc: size=1382400
Console: switching to colour frame buffer device 90x30
fb0: Panel0 fb device registered successfully.
fsl_diu_alloc: size=76800
fb1: Panel1 AOI0 fb device registered successfully.
fsl_diu_alloc: size=76800
fb2: Panel1 AOI1 fb device registered successfully.
fsl_diu_alloc: size=76800
fb3: Panel2 AOI0 fb device registered successfully.
fsl_diu_alloc: size=76800
fb4: Panel2 AOI1 fb device registered successfully.
fsl_diu_alloc: size=32768
FSL_DIU_FB: registed FB device driver!
Generic non-volatile memory driver v1.1
Serial: MPC52xx PSC UART driver
80011100.serial: ttyPSC0 at MMIO 0x80011100 (irq = 40) is a MPC52xx PSC 80011900.serial: ttyPSC1 at MMIO 0x80011900 (irq = 40) is a MPC52xx PSC
brd: module loaded
usbcore: registered new interface driver ub
vcan: Virtual CAN interface driver
fsl-mscan initializing
can0 (fsl-mscan): not using net_device_ops yet
fsl-mscan fsl-mscan.0: probe port 0xD102C300 done, clk rate:98500000 can1 (fsl-mscan): not using net_device_ops yet
fsl-mscan fsl-mscan.1: probe port 0xD1030380 done, clk rate:98500000 eth0 (fs_enet): not using net_device_ops yet
eth0: fs_enet: 00:11:22:33:44:55
FEC MII Bus: probed
Driver 'sd' needs updating - please use bus_type methods Driver 'sr' needs updating - please use bus_type methods
SCSI Media Changer driver v0.25
Driver 'ch' needs updating - please use bus_type methods MPC5125 MTD nand Driver 0.5
NAND device: Manufacturer ID: 0x2c, Chip ID: 0x68 (Micron NAND 4GiB
3,3V 8-bit)
mpc5125_nfc 40000000.nfc: Using OF partition info
Creating 9 MTD partitions on "MPC5125 NAND":
0x000000000000-0x000000100000 : "loader" 0x000000100000-0x000000200000 : "uboot" 0x000000200000-0x000000300000 : "envirment" 0x000000300000-0x000000b00000 : "kernel" 0x000000b00000-0x000000c00000 : "device-tree" 0x000000c00000-0x000001400000 : "rootfs" 0x000001400000-0x000080000000 : "filesystem" 0x000080000000-0x000086400000 : "mqx" 0x000086400000-0x000100000000 : "data"
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1 fsl-ehci fsl-ehci.0: irq 43, io mem 0x80003000
fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: Freescale On-Chip EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.29.1 ehci_hcd
usb usb1: SerialNumber: fsl-ehci.0
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
mice: PS/2 mouse device common for all mice
mpc5121-rtc 80000a00.rtc: rtc core: registered mpc5121-rtc as rtc0
sdhc: Freescale Enhanced Secure Digital Host Controller driver
mmc0: SDHC at 0x80001500 irq 23 PIO
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.18a. Freescale MPC5121 ADS ALSA SoC fabric driver
No device for DAI AC97 HiFi
No device for DAI psc0
AC97 SoC Audio Codec 0.6
asoc: AC97 HiFi <-> psc0 mapping ok
ALSA device list:
#0: MPC5121 ADS (AC97)
TCP cubic registered
NET: Registered protocol family 17
can: controller area network core (rev 20090105 abi 8)
NET: Registered protocol family 29
can: raw protocol (rev 20090105)
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
registered taskstats version 1
mpc5121-rtc 80000a00.rtc: setting system clock to 2011-04-07 11:51:57
UTC (1302177117)
usb 1-1: new high speed USB device using fsl-ehci and address 2 usb 1-1: New USB device found, idVendor=05e3, idProduct=0608 usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 usb 1-1: Product: USB2.0 Hub
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
usb 1-1.3: new low speed USB device using fsl-ehci and address 3 usb 1-1.3: New USB device found, idVendor=099a, idProduct=610c usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 usb 1-1.3: Product: USB Multimedia Keyboard
usb 1-1.3: Manufacturer:
usb 1-1.3: configuration #1 chosen from 1 choice
input: USB Multimedia Keyboard as
/devices/platform/fsl-ehci.0/usb1/1-1/1-1.3/1-1.3:1.0/input/input0
generic-usb 0003:099A:610C.0001: input,hidraw0: USB HID v1.00 Keyboard
[ USB Multimedia Keyboard ] on usb-fsl-ehci.0-1.3/input0
input: USB Multimedia Keyboard as
/devices/platform/fsl-ehci.0/usb1/1-1/1-1.3/1-1.3:1.1/input/input1
generic-usb 0003:099A:610C.0002: input,hidraw1: USB HID v1.00 Device [ USB Multimedia Keyboard ] on usb-fsl-ehci.0-1.3/input1
usb 1-1.4: new low speed USB device using fsl-ehci and address 4 usb 1-1.4: New USB device found, idVendor=15ca, idProduct=00c3 usb 1-1.4: New USB device strings: Mfr=0, Product=2, SerialNumber=0 usb 1-1.4: Product: USB Optical Mouse
usb 1-1.4: configuration #1 chosen from 1 choice
input: USB Optical Mouse as
/devices/platform/fsl-ehci.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input2
generic-usb 0003:15CA:00C3.0003: input,hidraw2: USB HID v1.10 Mouse
[USB Optical Mouse] on usb-fsl-ehci.0-1.4/input0
IP-Config: Complete:

      device=eth0, addr=192.168.1.8, mask=255.255.255.0, gw=192.168.1.1,
      host=ads5125, domain=, nis-domain=(none),
      bootserver=192.168.1.33, rootserver=192.168.1.33, rootpath=

Looking up port of RPC 100003/2 on 192.168.1.33 Looking up port of RPC 100005/1 on 192.168.1.33
VFS: Mounted root (nfs filesystem) on device 0:14. Freeing unused kernel memory: 192k init

The minimal-image specific part:

Output:

INIT: version 2.86 booting
Please wait: booting...
Starting udev
WARNING: -e needs -E or -F
UnCorrectable RS-ECC Error
end_request: I/O error, dev mtdblock7, sector 248 Buffer I/O error on device mtdblock7, logical block 31

A lot of error messages: UnCorrectable RS-ECC ErrorOutput:

Remounting root file system...
Caching udev devnodes
Populating dev cache
NOT configuring network interfaces: / is an NFS mount
INIT: Entering runlevel: 5
Creating Dropbear SSH server RSA host key.
Will output 1024 bit rsa secret key to
'/etc/dropbear/dropbear_rsa_host_key'
Generating key, this may take a while...
Public key portion is:
ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAAAgwCjY0uE3muO0KOvrUe45Fsk+wY3ov4ZAdurgTqNbVzuIaKBAB3rqgHyas7VPTnjr79EmpokXtdQk6L5mBoouvVUIG1JocSiiEo+/w9bwcHXi82MFJlUUOG+z4ZXX5wVfnQ2+uIzzgZKo3FDs5B0GhSgKVY/oMcERVb4FEQ+xDJf7cfT root@mpc5125-twr
Fingerprint: md5 20:6c:d5:6b:37:b6:28:be:f5:05:4d:2a:c2:ec:38:2f
Starting Dropbear SSH server: NET: Registered protocol family 10
lo: Disabled Privacy Extensions
dropbear.
Starting syslogd/klogd: done

.-------.

 |       |                  .-.
 |   |   |-----.-----.-----.| |   .----..-----.-----.
 |       |     | __  |  ---'| '--.|  .-'|     |     |
 |   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
 '---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
                 -'  |
                 '---'

The Angstrom Distribution mpc5125-twr ttyPSC0

Angstromv20110406 mpc5125-twr ttyPSC0

INIT: Id "S" respawning too fast: disabled for 5 minutes
INIT: Id "1" respawning
INIT: no more processes

Login with ssh via Ethernet

uname -a

Output:

Linux mpc5125-twr 2.6.29.1 #1 PREEMPT Wed Apr 6 10:58:12 CEST 2011 ppc
GNU/Linux

cat /proc/cpuinfo

Output:

 processor       : 0
 cpu             : e300c4
 clock           : 393.216000MHz
 revision        : 1.0 (pvr 8086 2010)
 bogomips        : 98.04
 timebase        : 49152000
 platform        : MPC5125 ADS
 model           : mpc5125ads
 Memory          : 256 MB

top

Output:

Mem: 35776K used, 213632K free, 0K shrd, 0K buff, 24900K cached

Only the line with the memory usage. vmstat is not available.

cat /proc/meminfo

Output:

MemTotal: 249408 kB
MemFree: 213624 kB
Buffers: 0 kB
Cached: 24912 kB
SwapCached: 0 kB
Active: 4804 kB
Inactive: 21624 kB
Active(anon): 1804 kB
Inactive(anon): 0 kB
Active(file): 3000 kB
Inactive(file): 21624 kB

 SwapTotal:             0 kB
 SwapFree:              0 kB
 Dirty:                 0 kB
 Writeback:             0 kB
 AnonPages:          1564 kB
 Mapped:             1480 kB
 Slab:               6020 kB
 SReclaimable:       2792 kB
 SUnreclaim:         3228 kB
 PageTables:          216 kB
 NFS_Unstable:          0 kB
 Bounce:                0 kB
 WritebackTmp:          0 kB

CommitLimit: 124704 kB
Committed_AS: 4356 kB
VmallocTotal: 737256 kB
VmallocUsed: 1560 kB
VmallocChunk: 734460 kB

ps

Output:

PID USER VSZ STAT COMMAND

     1 root      1864 S    init [5]
     2 root         0 SW<  [kthreadd]
     3 root         0 SW<  [ksoftirqd/0]
     4 root         0 SW<  [events/0]
     5 root         0 SW<  [khelper]
     6 root         0 SW<  [netns]
     7 root         0 SW<  [kintegrityd/0]
     8 root         0 SW<  [kblockd/0]
     9 root         0 SW<  [ksuspend_usbd]
    10 root         0 SW<  [khubd]
    11 root         0 SW<  [kmmcd]
    12 root         0 SW   [pdflush]
    13 root         0 SW   [pdflush]
    14 root         0 SW<  [kswapd0]
    15 root         0 SW<  [aio/0]
    16 root         0 SW<  [nfsiod]
    21 root         0 SW<  [mtdblockd]
    22 root         0 SW<  [hid_compat]
    27 root         0 SW<  [rpciod/0]
    50 root      2588 S <  /sbin/udevd -d
   131 root      2584 S <  /sbin/udevd -d
   132 root      2584 S <  /sbin/udevd -d
   342 root      2512 S    /usr/sbin/dropbear -r
/etc/dropbear/dropbear_rsa_host_key -p 22
   345 root      3420 S    /sbin/syslogd -n -C64 -m 20
   347 root      3356 S    /sbin/klogd -n
   390 root      2764 R    /usr/sbin/dropbear -r
/etc/dropbear/dropbear_rsa_host_key -p 22
   391 root      3612 S    -sh
   459 root      3612 R    ps

Status

The image seems to work with one exception. Unfortunately getty reports a Segmentation fault, when started. Therefore login via the devices /dev/tty1 or /dev/ttyPSC0 is not possible. You can login to the board
only
with ssh via Ethernet.

ssh [email protected]

No password is needed.

Problem with getty

When getty is called in /etc/inittab, it is respawned. You can test it on the command line:

getty 115200 /dev/tty1

Output:

Segmentation fault

Output on the display consoleOutput:

getty:ioctl() TIOCSPGRP call failed: Inappropriate ioctl for device

For the device /dev/ttyPSC0 a segmentation fault occurs too.

getty 115200 /dev/tty1

Output:

Segmentation fault

Image opie-image

Only the differences to Image_minimal-image are described.

Build Image opie-image

You can be in any folder you like. You should be logged in as a common user.Call the script setup-env only once.

source $MY_PROJECT/setup-env

Start building the image.

bitbake opie-image

Root file images and the kernel images can be found in the folder $MY_TMP/deploy/eglibc/images/mpc5125-twr/

ls -1s $MY_TMP/deploy/eglibc/images/mpc5125-twr/

Create the Root File System

Take the rootfs image and extract it into another folder. The extraction needs to be done with root privileges.

mkdir -p $MY_NFSROOT/mpc5125-twr-opie-image;
cd $MY_NFSROOT/mpc5125-twr-opie-image;
sudo tar xzf
$MY_TMP/deploy/eglibc/images/mpc5125-twr/opie-image-mpc5125-twr.tar.gz

Extract the kernel modules into the root file system.

cd $MY_NFSROOT/mpc5125-twr-opie-image;
tar tzf
$MY_TMP/deploy/eglibc/images/mpc5125-twr/modules-2.6.29-r11-mpc5125-twr.tgz;
sudo rm -rf lib/modules/2.6.29.1;
sudo tar xzf
$MY_TMP/deploy/eglibc/images/mpc5125-twr/modules-2.6.29-r11-mpc5125-twr.tgz;

The rootfs can be now mounted via nfs.

NFS Server

Configure the NFS server to export the rootfs

nano /etc/exports

New or changed content of file /etc/exports:

/MyOE/nfsroot/test01/mpc5125-twr-opie-image
192.168.1.255/24(rw,no_root_squash,async,subtree_check)

exportfs -r

U-boot

Change the path of the root file system and the bootargs.

setenv rootpath /MyOE/nfsroot/test01/mpc5125-twr-opie-image; setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath}
console=${consoledev},${baudrate} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev}:off panic=1

Save the new environment and boot the board again.

saveenv
run tftpboot

Target Log

The opie-image specific part:

Output:

Please wait: booting...
Starting udev
WARNING: -e needs -E or -F
Remounting root file system...
Caching udev devnodes
Populating dev cache
Configuring opie-pickboard.
Configuring opie-multikeyapplet.
Configuring opie-multikey.
Configuring update-modules.
Configuring opie-ttf-support.
Configuring ttf-dejavu-common.
Configuring ttf-dejavu-sans.
Configuring ttf-dejavu-sans-mono.
Configuring ppp.
Configuring ppp-dialin.
Segmentation fault
Configuring ntpdate.
adding crontab
Configuring e2fsprogs.
update-alternatives: Error: cannot register alternative chattr to
/usr/bin/chattr since it is already registered to /bin/chattr
update-alternatives: Linking //sbin/uuidd to uuidd.util-linux-ng
Configuring opie-screenshotapplet.
Configuring dbus.
Segmentation fault
chgrp: unknown group messagebus
adduser: group messagebus does not exist
chown: unknown user/group messagebus:messagebus
Segmentation fault
Adding system startup for /etc/init.d/dbus-1.
Configuring opie-brightnessapplet.
Configuring bluez4.
update-rc.d: /etc/init.d/bluetooth: file does not exist
Configuring opie-handwriting-classicset.
Configuring wpa-supplicant.
Configuring angstrom-libc-fixup-hack.
Configuring libnss-mdns.
Configuring avahi-daemon.
Segmentation fault
adduser: group avahi does not exist
Adding system startup for /etc/init.d/avahi-daemon.
Configuring avahi-autoipd.
Segmentation fault
adduser: group avahi-autoipd does not exist
Configuring opie-handwriting.
Configuring opie-volumeapplet.
Configuring opie-clockapplet.
Configuration for powerpc.generic not found, trying powerpc
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
Collected errors:
* pkg_run_script: package "ppp-dialin" postinst script returned status
139.
* opkg_configure: ppp-dialin.postinst returned 139.
* pkg_run_script: package "avahi-autoipd" postinst script returned
status 1.
* opkg_configure: avahi-autoipd.postinst returned 1.
NOT configuring network interfaces: / is an NFS mount
Starting portmap daemon: portmap.
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
Checking for built-in Bluetooth: no
INIT: Entering runlevel: 5
chown: unknown user messagebus
Creating Dropbear SSH server RSA host key.
Will output 1024 bit rsa secret key to
'/etc/dropbear/dropbear_rsa_host_key'
Generating key, this may take a while...
Public key portion is:
ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAAAgnxdVwJ5zZuD3moquSOU0RfczAYZQo+vTkjomUmclxSW4Tn25yyyIAdwarZv5juPy1guXxbVppfYMoYvlcOOerCSL/+eXzJI48nhQ78MTHSZqx/8h05UF64i2GsKaV18IGhF3NuxkU01/Sz86nK+OpUCVmLmN2TU2Z8qvfxhcUqTHAU= root@mpc5125-twr
Fingerprint: md5 db:e0:a9:6e:64:fa:e1:ef:85:8c:84:1c:40:ed:7e:d2
Starting Dropbear SSH server: dropbear.
Starting advanced power management daemon: No APM support in kernel
(failed.)
Starting syslogd/klogd: done
* Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
Timeout reached while wating for return value
Could not receive return value from daemon process.

    ...fail!

Copying default qpe.conf into /home/root/Settings/ Starting Opie....
OGlobal::creating global configuration instance. OConfig::OConfig()
<unknown>: ODevice reports transformation to be 0 <unknown>: setting QWS_DISPLAY to 'Transformed:Rot0:0' qt_init() - starting in daemon mode...

.-------.

 |       |                  .-.
 |   |   |-----.-----.-----.| |   .----..-----.-----.
 |       |     | __  |  ---'| '--.|  .-'|     |     |
 |   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
 '---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
                 -'  |
                 '---'

The Angstrom Distribution mpc5125-twr ttyPSC0

Angstrom v20110406 mpc5125-twr ttyPSC0

INIT: Id "S" respawning
INIT: Id "1" respawning
INIT: no more processes

Login with ssh via Ethernet

uname -a

Output:

Linux mpc5125-twr 2.6.29.1 #1 PREEMPT Wed Apr 6 10:58:12 CEST 2011 ppc
GNU/Linux

vmstat

Output:

procs -----------memory---------- ---swap-- -----io---- -system--
----cpu----
r b swpd free buff cache si so bi bo in cs us sy
id wa
0 0 0 189988 0 39168 0 0 1 0 340 326 3 7
89 1

cat /proc/meminfo

Output:

MemTotal: 249408 kB
MemFree: 189988 kB
Buffers: 0 kB
Cached: 39168 kB
SwapCached: 0 kB

 Active:            19668 kB
 Inactive:          29464 kB
 Active(anon):      10300 kB
 Inactive(anon):        0 kB
 Active(file):       9368 kB
 Inactive(file):    29464 kB
 SwapTotal:             0 kB
 SwapFree:              0 kB
 Dirty:                 0 kB
 Writeback:             0 kB
 AnonPages:         10012 kB
 Mapped:             7620 kB
 Slab:               6668 kB
 SReclaimable:       3384 kB
 SUnreclaim:         3284 kB
 PageTables:          324 kB
 NFS_Unstable:          0 kB
 Bounce:                0 kB
 WritebackTmp:          0 kB

CommitLimit: 124704 kB
Committed_AS: 16032 kB
VmallocTotal: 737256 kB
VmallocUsed: 1560 kB
VmallocChunk: 734504 kB

ps aux

Output:

 USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
 root         1  0.2  0.2   1864   656 ?        Ss   11:48   0:01 init [5]
 root         2  0.0  0.0      0     0 ?        S<   11:48   0:00 [kthreadd]
 root         3  0.0  0.0      0     0 ?        S<   11:48   0:00
[ksoftirqd/0]
 root         4  0.0  0.0      0     0 ?        S<   11:48   0:00 [events/0]
 root         5  0.0  0.0      0     0 ?        S<   11:48   0:00 [khelper]
 root         6  0.0  0.0      0     0 ?        S<   11:48   0:00 [netns]
 root         7  0.0  0.0      0     0 ?        S<   11:48   0:00

[kintegrityd/0]
root 8 0.0 0.0 0 0 ? S< 11:48 0:00
[kblockd/0]
root 9 0.0 0.0 0 0 ? S< 11:48 0:00
[ksuspend_usbd]

 root        10  0.0  0.0      0     0 ?        S<   11:48   0:00 [khubd]
 root        11  4.3  0.0      0     0 ?        S<   11:48   0:19 [kmmcd]
 root        12  0.0  0.0      0     0 ?        S    11:48   0:00 [pdflush]
 root        13  0.0  0.0      0     0 ?        S    11:48   0:00 [pdflush]
 root        14  0.0  0.0      0     0 ?        S<   11:48   0:00 [kswapd0]
 root        15  0.0  0.0      0     0 ?        S<   11:48   0:00 [aio/0]
 root        16  0.0  0.0      0     0 ?        S<   11:48   0:00 [nfsiod]
 root        21  0.0  0.0      0     0 ?        S<   11:48   0:00
[mtdblockd]
 root        22  0.0  0.0      0     0 ?        S<   11:48   0:00
[hid_compat]
 root        27  0.1  0.0      0     0 ?        S<   11:48   0:00 [rpciod/0]
 root        50  0.1  0.2   2588   712 ?        S<s  11:48   0:00

/sbin/udevd -d
root 97 0.0 0.3 2584 768 ? S< 11:48 0:00
/sbin/udevd -d
root 114 0.0 0.3 2584 752 ? S< 11:48 0:00
/sbin/udevd -d
daemon 638 0.0 0.1 1852 412 ? Ss 11:48 0:00
/sbin/portmap
root 673 0.0 0.1 2512 496 ? Ss 11:48 0:00
/usr/sbin/dropbear -r /etc/dropbear/dropbear_rsa_host_key -p 22
root 678 0.0 0.3 3420 812 ? Ss 11:48 0:00
/sbin/syslogd -n -C64 -m 20
root 680 0.0 0.2 3356 740 ? Ss 11:48 0:00
/sbin/klogd -n
root 702 0.0 0.1 3360 316 ? S 11:48 0:00
/bin/sh /etc/rc5.d/S99opie start

 root       758  3.3  5.3  24388 13296 ?        S    11:54   0:02 qpe
 root       760  0.1  1.2   9196  3152 ?        S<   11:54   0:00 qss
 root       761  0.1  2.0  12344  5132 ?        SN   11:54   0:00
quicklauncher
 root       762  1.1  0.3   2764   972 ?        Ss   11:55   0:00
/usr/sbin/dropbear -r /etc/dropbear/dropbear_rsa_host_key -p 22
 root       763  0.1  0.4   3612  1016 pts/0    Ss   11:55   0:00 -sh
 root       768  0.0  0.4   2668  1000 pts/0    R+   11:55   0:00 ps aux

In the GUI you can select Application -> Systeminfo -> Benchmark and run some benchmarks. Here are the results:Output:

Integer Arithmetic 1161170 dhrys
Floating Point Unit 0.09 secs
Text Rendering 1285 chars/sec
Gfx Rendering 3324.75.00gops/sec
RAM Performance 62.00 MB/s; 44.64 MB/s

Status

The GUI of OPIE appears on the screen and can be controlled by the mouse and the keyboard. A small black rectangle appears in the upper left corner. Several errors like missing group names are reported, when booting, but the GUI appears and can be used. This is just a starting point for using OPIE. Unfortunately getty reports a Segmentation fault, when started. Therefore login via the devices /dev/ttyPSC0 or
/dev/tty1 is
not possible.

Screenshots

A screenshot can be found at
http://en.wikipedia.org/wiki/OPIE_user_interface.

Image x11-gpe-image

Only the differences to Image_minimal-image are described.

Build Image x11-gpe-image

You can be in any folder you like. You should be logged in as a common user.Call the script setup-env only once.

source $MY_PROJECT/setup-env

Start building the image.

bitbake x11-gpe-image

Root file images and the kernel images can be found in the folder $MY_TMP/deploy/eglibc/images/mpc5125-twr/

ls -1s $MY_TMP/deploy/eglibc/images/mpc5125-twr/

Create the Root File System

Take the rootfs image and extract it into another folder. The extraction needs to be done with root privileges.

mkdir -p $MY_NFSROOT/mpc5125-twr-x11-gpe-image;
cd $MY_NFSROOT/mpc5125-twr-x11-gpe-image;
sudo tar xzf
$MY_TMP/deploy/eglibc/images/mpc5125-twr/x11-gpe-image-mpc5125-twr.tar.gz

Extract the kernel modules into the root file system.

cd $MY_NFSROOT/mpc5125-twr-x11-gpe-image;
tar tzf
$MY_TMP/deploy/eglibc/images/mpc5125-twr/modules-2.6.29-r11-mpc5125-twr.tgz;
sudo rm -rf lib/modules/2.6.29.1;
sudo tar xzf
$MY_TMP/deploy/eglibc/images/mpc5125-twr/modules-2.6.29-r11-mpc5125-twr.tgz;

The rootfs can be now mounted via nfs.

NFS Server

Configure the NFS server to export the rootfs

nano /etc/exports

New or changed content of file /etc/exports:

/MyOE/nfsroot/test01/mpc5125-twr-x11-gpe-image
192.168.1.255/24(rw,no_root_squash,async,subtree_check)

exportfs -r

U-boot

Change the path of the root file system and the bootargs.

setenv rootpath /MyOE/nfsroot/test01/mpc5125-twr-x11-gpe-image; setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath}
console=${consoledev},${baudrate} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev}:off panic=1

Save the new environment and boot the board again.

saveenv
run tftpboot

Target Log

The x11-gpe-image specific part:

Output:

INIT: version 2.86 booting
Please wait: booting...
Starting udev
WARNING: -e needs -E or -F
Remounting root file system...
Caching udev devnodes
Populating dev cache
Undefined users:
Skipping /etc/default/volatiles/99_hal
Configuring hicolor-icon-theme.
Configuring pango-module-basic-x.
Configuring pango-module-basic-fc.
Configuring ttf-dejavu-common.
Configuring ttf-dejavu-sans.
Configuring gdk-pixbuf-loader-png.
Configuring gdk-pixbuf-loader-jpeg.
Configuring gdk-pixbuf-loader-gif.
Configuring gdk-pixbuf-loader-xpm.
Configuring dbus.
Segmentation fault
chgrp: unknown group messagebus
adduser: group messagebus does not exist
chown: unknown user/group messagebus:messagebus
Segmentation fault
Adding system startup for /etc/init.d/dbus-1.
Configuring policykit.
Segmentation fault
adduser: group polkituser does not exist
Configuring ntpdate.
adding crontab
Configuring update-modules.
Configuring ppp.
Configuring ppp-dialin.
Segmentation fault
Configuring e2fsprogs.
update-alternatives: Error: cannot register alternative chattr to
/usr/bin/chattr since it is already registered to /bin/chattr
update-alternatives: Linking //sbin/uuidd to uuidd.util-linux-ng
Configuring ttf-dejavu-sans-mono.
Configuring bluez4.
update-rc.d: /etc/init.d/bluetooth: file does not exist
Configuring wpa-supplicant.
Configuring angstrom-libc-fixup-hack.
Configuring libnss-mdns.
Configuring avahi-daemon.
Segmentation fault
adduser: group avahi does not exist
Adding system startup for /etc/init.d/avahi-daemon.
Configuring avahi-autoipd.
Segmentation fault
adduser: group avahi-autoipd does not exist
Configuring hal.
Segmentation fault
adduser: group haldaemon does not exist
Undefined users:
Skipping /etc/default/volatiles/99_hal
Configuration for powerpc.generic not found, trying powerpc
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
Collected errors:
* pkg_run_script: package "ppp-dialin" postinst script returned status
139.
* opkg_configure: ppp-dialin.postinst returned 139.
* pkg_run_script: package "avahi-autoipd" postinst script returned
status 1.
* opkg_configure: avahi-autoipd.postinst returned 1.
NOT configuring network interfaces: / is an NFS mount
Starting portmap daemon: portmap.
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
Checking for built-in Bluetooth: no
INIT: Entering runlevel: 5
Starting system message bus: start-stop-daemon: unknown user messagebus
Creating Dropbear SSH server RSA host key.
Will output 1024 bit rsa secret key to
'/etc/dropbear/dropbear_rsa_host_key'
Generating key, this may take a while...
Public key portion is:
ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAAAgwCNJll+8PxiR1VoBxKHxIdwPml8w7TV1CwrUAySlN4Rj5T732hWROJRjAzhVyBfcdE7Lqis2o7dw+UIQigw1+JwkayO1MWIezABLHbQr5k9mrnYPjGdLPmp/yauxul8pNYAS/7DhOvq3g7OcppYGFjU33QK80xIdZUA+VV8H/lsKjQF root@mpc5125-twr
Fingerprint: md5 a3:41:e1:72:58:15:22:82:bc:73:43:4e:bc:94:86:1d
Starting Dropbear SSH server: dropbear.
Starting syslogd/klogd: done
* Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
Timeout reached while wating for return value
Could not receive return value from daemon process.

    ...fail!

Starting GPE display manager: gpe-dm

.-------.

 |       |                  .-.
 |   |   |-----.-----.-----.| |   .----..-----.-----.
 |       |     | __  |  ---'| '--.|  .-'|     |     |
 |   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
 '---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
                 -'  |
                 '---'

The Angstrom Distribution mpc5125-twr ttyPSC0

Angstrom v20110406 mpc5125-twr ttyPSC0

mpc5125-twr login:
INIT: Id "S" respawning too fast: disabled for 5 minutes
INIT: Id "1" respawning
INIT: no more processes

Login with ssh via Ethernet

uname -a

Output:

Linux mpc5125-twr 2.6.29.1 #1 PREEMPT Wed Apr 6 10:58:12 CEST 2011 ppc
GNU/Linux

vmstat

Output:

procs -----------memory---------- ---swap-- -----io---- -system--
----cpu----
r b swpd free buff cache si so bi bo in cs us sy
id wa
2 0 0 169732 0 50604 0 0 2 0 817 771 13 16
69 3

cat /proc/meminfo

Output:

MemTotal: 249408 kB
MemFree: 169732 kB
Buffers: 0 kB
Cached: 50604 kB
SwapCached: 0 kB

 Active:            31512 kB
 Inactive:          36624 kB
 Active(anon):      17936 kB
 Inactive(anon):        0 kB
 Active(file):      13576 kB
 Inactive(file):    36624 kB
 SwapTotal:             0 kB
 SwapFree:              0 kB
 Dirty:                 0 kB
 Writeback:             0 kB
 AnonPages:         17580 kB
 Mapped:            12340 kB
 Slab:               7520 kB
 SReclaimable:       3972 kB
 SUnreclaim:         3548 kB
 PageTables:          644 kB
 NFS_Unstable:          0 kB
 Bounce:                0 kB
 WritebackTmp:          0 kB

CommitLimit: 124704 kB
Committed_AS: 33296 kB
VmallocTotal: 737256 kB
VmallocUsed: 1560 kB
VmallocChunk: 734648 kB

ps aux

Output:

 USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
 root         1  0.5  0.2   1864   656 ?        Ss   12:28   0:00 init [5]
 root         2  0.0  0.0      0     0 ?        S<   12:28   0:00 [kthreadd]
 root         3  0.0  0.0      0     0 ?        S<   12:28   0:00
[ksoftirqd/0]
 root         4  0.0  0.0      0     0 ?        S<   12:28   0:00 [events/0]
 root         5  0.0  0.0      0     0 ?        S<   12:28   0:00 [khelper]
 root         6  0.0  0.0      0     0 ?        S<   12:28   0:00 [netns]
 root         7  0.0  0.0      0     0 ?        S<   12:28   0:00

[kintegrityd/0]
root 8 0.0 0.0 0 0 ? S< 12:28 0:00
[kblockd/0]
root 9 0.0 0.0 0 0 ? S< 12:28 0:00
[ksuspend_usbd]

 root        10  0.0  0.0      0     0 ?        S<   12:28   0:00 [khubd]
 root        11  4.4  0.0      0     0 ?        D<   12:28   0:07 [kmmcd]
 root        12  0.0  0.0      0     0 ?        S    12:28   0:00 [pdflush]
 root        13  0.0  0.0      0     0 ?        S    12:28   0:00 [pdflush]
 root        14  0.0  0.0      0     0 ?        S<   12:28   0:00 [kswapd0]
 root        15  0.0  0.0      0     0 ?        S<   12:28   0:00 [aio/0]
 root        16  0.1  0.0      0     0 ?        S<   12:28   0:00 [nfsiod]
 root        21  0.0  0.0      0     0 ?        S<   12:28   0:00
[mtdblockd]
 root        22  0.0  0.0      0     0 ?        S<   12:28   0:00
[hid_compat]
 root        27  0.4  0.0      0     0 ?        S<   12:28   0:00 [rpciod/0]
 root        50  0.3  0.2   2588   716 ?        S<s  12:28   0:00

/sbin/udevd -d
root 112 0.0 0.3 2584 764 ? S< 12:28 0:00
/sbin/udevd -d
root 113 0.0 0.3 2584 764 ? S< 12:28 0:00
/sbin/udevd -d
daemon 866 0.0 0.1 1852 412 ? Ss 12:29 0:00
/sbin/portmap
root 901 0.0 0.1 2512 496 ? Ss 12:29 0:00
/usr/sbin/dropbear -r /etc/dropbear/dropbear_rsa_host_key -p 22
root 904 0.0 0.3 3420 812 ? Ss 12:29 0:00
/sbin/syslogd -n -C64 -m 20
root 906 0.0 0.2 3356 740 ? Ss 12:29 0:00
/sbin/klogd -n

 root       917  0.0  0.1   3140   412 ?        Ss   12:29   0:00 gpe-dm
 root       919  4.9  3.9  24456  9860 tty2     Ss+  12:29   0:06 Xorg

-br -pn -dpi 100 :0 -noreset
root 921 0.0 0.2 3356 676 ? S 12:29 0:00
run-parts /etc/X11/Xinit.d
userA 999 1.8 1.8 11400 4556 ? Ss 12:29 0:02
matchbox-window-manager -use_cursor yes
userA 1040 0.0 0.3 4444 752 ? S 12:30 0:00
/usr/bin/dbus-launch --auto-syntax --exit-with-session
userA 1041 0.0 0.3 2892 764 ? Ss 12:30 0:00
/usr/bin/dbus-daemon --fork --print-pid 5 --print-address 8 --session
userA 1045 0.5 3.0 20324 7724 ? S 12:30 0:00
gpe-login --autolock

 userA     1052  0.1  0.7   5784  1908 ?        S    12:30   0:00 gpe-confd
 userA     1053  0.1  0.6   7024  1616 ?        S    12:30   0:00

mb-applet-startup-monitor
userA 1054 0.0 0.3 3880 796 ? Ss 12:30 0:00
/usr/bin/ipaq-sleep
userA 1066 2.7 1.7 9756 4468 ? S 12:30 0:02
matchbox-desktop
userA 1067 0.6 1.1 7912 2976 ? S 12:30 0:00
matchbox-panel --no-flip --orientation south
userA 1071 0.1 1.0 5436 2556 ? S 12:30 0:00
/usr/libexec/gconfd-2
userA 1075 0.4 1.0 7888 2740 ? S 12:30 0:00
mb-applet-menu-launcher

 userA     1077  0.2  1.0   7388  2496 ?        S    12:30   0:00 mbinputmgr
 userA     1079  0.1  0.6   7104  1624 ?        S    12:30   0:00
mb-applet-battery
 userA     1081  0.5  3.0  20676  7716 ?        S    12:30   0:00 minilite
 root      1084  1.3  0.3   2764   968 ?        Ss   12:31   0:00
/usr/sbin/dropbear -r /etc/dropbear/dropbear_rsa_host_key -p 22
 root      1085  0.2  0.4   3612  1036 pts/0    Ss   12:31   0:00 -sh
 root      1090  0.0  0.4   2668  1000 pts/0    R+   12:31   0:00 ps aux

Status

The GUI of GPE appears on the screen and can be controlled by the mouse and keyboard. A small black rectangle appears in the upper left corner of the display. Several errors like missing group names are reported, when booting, but the GUI appears and can be used. This is just a starting point for using GPE. Unfortunately getty reports a Segmentation fault, when started. Therefore login via the devices /dev/ttyPSC0 or
/dev/tty1 is
not possible. You can login to the board with ssh via Ethernet.

Screenshots

Screenshots can be found here

http://gpe.linuxtogo.org/gallery/gallery/view_album.php?set_albumName=Applications.

Image xfce46-image

Only the differences to Image_minimal-image are described.

Build Image xfce46-image

You can be in any folder you like. You should be logged in as a common user.Call the script setup-env only once.

source $MY_PROJECT/setup-env

Start building the image.

bitbake xfce46-image

Root file images and the kernel images can be found in the folder $MY_TMP/deploy/eglibc/images/mpc5125-twr/

ls -1s $MY_TMP/deploy/eglibc/images/mpc5125-twr/

Create the Root File System

Take the rootfs image and extract it into another folder. The extraction needs to be done with root privileges.

mkdir -p $MY_NFSROOT/mpc5125-twr-xfce46-image;
cd $MY_NFSROOT/mpc5125-twr-xfce46-image;
sudo tar xzf
$MY_TMP/deploy/eglibc/images/mpc5125-twr/xfce46-image-mpc5125-twr.tar.gz

Extract the kernel modules into the root file system.

cd $MY_NFSROOT/mpc5125-twr-xfce46-image;
tar tzf
$MY_TMP/deploy/eglibc/images/mpc5125-twr/modules-2.6.29-r11-mpc5125-twr.tgz;
sudo rm -rf lib/modules/2.6.29.1;
sudo tar xzf
$MY_TMP/deploy/eglibc/images/mpc5125-twr/modules-2.6.29-r11-mpc5125-twr.tgz;

The rootfs can be now mounted via nfs.

NFS Server

Configure the NFS server to export the rootfs

nano /etc/exports

New or changed content of file /etc/exports:

/MyOE/nfsroot/test01/mpc5125-twr-xfce46-image
192.168.1.255/24(rw,no_root_squash,async,subtree_check)

exportfs -r

U-boot

Change the path of the root file system and the bootargs.

setenv rootpath /MyOE/nfsroot/test01/mpc5125-twr-xfce46-image; setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath}
console=${consoledev},${baudrate} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev}:off panic=1

Save the new environment and boot the board again.

saveenv
run tftpboot

Start Xfce

Login as root, check the current settings of the nameserver and adjust them, if needed.

cat /etc/resolv.conf
echo "nameserver 192.168.1.1" >/etc/resolv.conf

Start the GUI.

startxfce4 &

Target Log

The xfce46-image specific part:

Output:

INIT: version 2.86 booting
Please wait: booting...
Starting udev
WARNING: -e needs -E or -F
Remounting root file system...
Caching udev devnodes
Populating dev cache
Undefined users:
Skipping /etc/default/volatiles/99_hal
Configuring hicolor-icon-theme.
Configuring dbus.
Segmentation fault
chgrp: unknown group messagebus
adduser: group messagebus does not exist
chown: unknown user/group messagebus:messagebus
Segmentation fault
Adding system startup for /etc/init.d/dbus-1.
Configuring pango-module-basic-x.
Configuring pango-module-basic-fc.
Configuring ttf-dejavu-common.
Configuring ttf-dejavu-sans.
Configuring gdk-pixbuf-loader-png.
Configuring gdk-pixbuf-loader-jpeg.
Configuring gdk-pixbuf-loader-gif.
Configuring gdk-pixbuf-loader-xpm.
Configuring libxfcegui4-4.
Configuring policykit.
Segmentation fault
adduser: group polkituser does not exist
Configuring gnome-keyring.
Configuring hal.
Segmentation fault
adduser: group haldaemon does not exist
Undefined users:
Skipping /etc/default/volatiles/99_hal
Configuring bluez4.
update-rc.d: /etc/init.d/bluetooth: file does not exist
Configuring xfwm4.
update-alternatives: Linking //usr/bin/x-window-manager to
/usr/bin/xfce4-session
Configuring update-modules.
Configuring xfce4-panel.
Configuring xfce4-panel-plugin-separator.
Configuring exo.
Configuring ppp.
Configuring ppp-dialin.
Segmentation fault
Configuring xfce-utils.
Configuring e2fsprogs.
update-alternatives: Error: cannot register alternative chattr to
/usr/bin/chattr since it is already registered to /bin/chattr
update-alternatives: Linking //sbin/uuidd to uuidd.util-linux-ng
Configuring xfprint.
Configuring thunar.
Configuring xfce4-appfinder.
Configuring xfce4-notifyd.
Configuring xfce4-session.
Configuring xfdesktop.
Configuring xfce4-panel-plugin-clock.
Configuring xfce4-panel-plugin-iconbox.
Configuring xfce4-panel-plugin-systray.
Configuring xfce-terminal.
Configuring midori.
Configuring orage.
Configuring squeeze.
Configuring ristretto.
Configuring angstrom-libc-fixup-hack.
Configuring libnss-mdns.
Configuring avahi-daemon.
Segmentation fault
adduser: group avahi does not exist
Adding system startup for /etc/init.d/avahi-daemon.
Configuring avahi-autoipd.
Segmentation fault
adduser: group avahi-autoipd does not exist
Configuration for powerpc.generic not found, trying powerpc
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
Collected errors:
* pkg_run_script: package "ppp-dialin" postinst script returned status
139.
* opkg_configure: ppp-dialin.postinst returned 139.
* pkg_run_script: package "avahi-autoipd" postinst script returned
status 1.
* opkg_configure: avahi-autoipd.postinst returned 1.
NOT configuring network interfaces: / is an NFS mount
Starting portmap daemon: portmap.
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
INIT: Entering runlevel: 5
chown: unknown user messagebus
Creating Dropbear SSH server RSA host key.
Will output 1024 bit rsa secret key to
'/etc/dropbear/dropbear_rsa_host_key'
Generating key, this may take a while...
Public key portion is:
ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAAAgnNDJQjm83pY+GAUl01g+mL6ivTSDFW2IwkXdZgimbDnNSLrdiLTTxn7H1C35CEhP1tvRpQbW3LP6hDiNtlbjwH4qKWERBo2FSMVBb0pBJyMlaw0i/ZLawSHb6t+zMdoYiY6+5uhvkS4Zj6qYWwb9s1wYZVSKp/lUzQ+rpp0I8iT51c= root@mpc5125-twr
Fingerprint: md5 39:dc:e2:4c:54:83:4a:b0:e6:2c:9f:4e:7d:14:8a:22
Starting Dropbear SSH server: dropbear.
Starting Samba: smbd nmbd.
Starting syslogd/klogd: done
* Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
Timeout reached while wating for return value
Could not receive return value from daemon process.

    ...fail!

.-------.

 |       |                  .-.
 |   |   |-----.-----.-----.| |   .----..-----.-----.
 |       |     | __  |  ---'| '--.|  .-'|     |     |
 |   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
 '---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
                 -'  |
                 '---'

The Angstrom Distribution mpc5125-twr ttyPSC0

Angstrom v20110406 mpc5125-twr ttyPSC0

mpc5125-twr login:
INIT: Id "S" respawning too fast: disabled for 5 minutes
INIT: Id "1" respawning
INIT: no more processes

Login with ssh via Ethernet

uname -a

Output:

Linux mpc5125-twr 2.6.29.1 #1 PREEMPT Wed Apr 6 10:58:12 CEST 2011 ppc
GNU/Linux

cat /etc/resolv.conf
echo "nameserver 192.168.1.1" >/etc/resolv.conf
cat /etc/resolv.conf

Output:

nameserver 192.168.1.1

startxfce4 &

Output:

/usr/bin/startxfce4: Starting X server

X.Org X Server 1.9.4
Release Date: 2011-02-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.37-gentoo-01 x86_64 Current Operating System: Linux mpc5125-twr 2.6.29.1 #1 PREEMPT Wed Apr
6 10:58:12 CEST 2011 ppc
Kernel command line: root=/dev/nfs rw
nfsroot=192.168.1.33:/MyOE/nfsroot/test01/mpc5125-twr-xfce46-image console=ttyPSC0,115200 ip=192.168.1.8:192.168.1.33:192.168.1.1:255.255.255.0:ads5125:eth0:off panic=1
Build Date: 06 April 2011 01:22:10PM

Current version of pixman: 0.21.6
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr 6 12:52:01 2011 (==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Failed to load module "glx" (module does not exist, 0) (EE) Failed to load module "dri" (module does not exist, 0) (EE) Failed to load module "dri2" (module does not exist, 0) Primary device is not PCI
(EE) USB Multimedia Keyboard : failed to initialize for relative axes.
/etc/xdg/xfce4/xinitrc: line 97: xrdb: not found

** (xfce4-session:1056): WARNING **: Unable to launch
"/usr/libexec/xfce4/xfconf-migration/xfconf-migration-4.6.pl" (specified by autostart/xfconf-migration-4.6.desktop): Failed to execute child process "/usr/libexec/xfce4/xfconf-migration/xfconf-migration-4.6.pl" (No such file or directory)

** (xfsettingsd:1079): CRITICAL **: Failed to spawn xrdb: Failed to
execute child process "xrdb" (No such file or directory)

** (xfsettingsd:1079): CRITICAL **: Failed to spawn xrdb: Failed to
execute child process "xrdb" (No such file or directory)
xfdesktop[1070]: starting up

** (xfsettingsd:1079): CRITICAL **: Failed to spawn xrdb: Failed to
execute child process "xrdb" (No such file or directory)

** (xfsettingsd:1079): CRITICAL **: Failed to spawn xrdb: Failed to
execute child process "xrdb" (No such file or directory)

(Thunar:1068): thunar-vfs-WARNING **: Failed to connect to the HAL
daemon: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

** (xfsettingsd:1079): CRITICAL **: Failed to spawn xrdb: Failed to
execute child process "xrdb" (No such file or directory)

** (xfsettingsd:1079): CRITICAL **: Failed to spawn xrdb: Failed to
execute child process "xrdb" (No such file or directory)

(xfdesktop:1070): thunar-vfs-WARNING **: Failed to connect to the HAL
daemon: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
sh: fortune: not found
Gtk-Message: (for origin information, set GTK_DEBUG): failed to
retrieve property GtkOptionMenu::indicator-size' of type GtkRequisition' from rc file value "0" of type `glong'
Gtk-Message: (for origin information, set GTK_DEBUG): failed to
retrieve property GtkOptionMenu::indicator-spacing' of type GtkBorder' from rc file value "0" of type `glong'

vmstat

Output:

procs -----------memory---------- ---swap-- -----io---- -system--
----cpu----
r b swpd free buff cache si so bi bo in cs us sy
id wa
1 0 0 152576 0 61896 0 0 1 0 783 773 11 15
71 2

cat /proc/meminfo

Output:

MemTotal: 249408 kB
MemFree: 152576 kB
Buffers: 0 kB
Cached: 61896 kB
SwapCached: 0 kB

 Active:            39156 kB
 Inactive:          45132 kB
 Active(anon):      24660 kB
 Inactive(anon):        0 kB
 Active(file):      14496 kB
 Inactive(file):    45132 kB
 SwapTotal:             0 kB
 SwapFree:              0 kB
 Dirty:                 0 kB
 Writeback:             0 kB
 AnonPages:         22440 kB
 Mapped:            17832 kB
 Slab:               8116 kB
 SReclaimable:       4256 kB
 SUnreclaim:         3860 kB
 PageTables:          836 kB
 NFS_Unstable:          0 kB
 Bounce:                0 kB
 WritebackTmp:          0 kB

CommitLimit: 124704 kB
Committed_AS: 75076 kB
VmallocTotal: 737256 kB
VmallocUsed: 1560 kB
VmallocChunk: 734648 kB

ps aux

Output:

 USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
 root         1  0.4  0.2   1864   644 ?        Ss   12:48   0:00 init [5]
 root         2  0.0  0.0      0     0 ?        S<   12:48   0:00 [kthreadd]
 root         3  0.0  0.0      0     0 ?        S<   12:48   0:00
[ksoftirqd/0]
 root         4  0.0  0.0      0     0 ?        S<   12:48   0:00 [events/0]
 root         5  0.0  0.0      0     0 ?        S<   12:48   0:00 [khelper]
 root         6  0.0  0.0      0     0 ?        S<   12:48   0:00 [netns]
 root         7  0.0  0.0      0     0 ?        S<   12:48   0:00

[kintegrityd/0]
root 8 0.0 0.0 0 0 ? S< 12:48 0:00
[kblockd/0]
root 9 0.0 0.0 0 0 ? S< 12:48 0:00
[ksuspend_usbd]

 root        10  0.0  0.0      0     0 ?        S<   12:48   0:00 [khubd]
 root        11  4.5  0.0      0     0 ?        R<   12:48   0:10 [kmmcd]
 root        12  0.0  0.0      0     0 ?        S    12:48   0:00 [pdflush]
 root        13  0.0  0.0      0     0 ?        S    12:48   0:00 [pdflush]
 root        14  0.0  0.0      0     0 ?        S<   12:48   0:00 [kswapd0]
 root        15  0.0  0.0      0     0 ?        S<   12:48   0:00 [aio/0]
 root        16  0.0  0.0      0     0 ?        S<   12:48   0:00 [nfsiod]
 root        21  0.0  0.0      0     0 ?        S<   12:48   0:00
[mtdblockd]
 root        22  0.0  0.0      0     0 ?        S<   12:48   0:00
[hid_compat]
 root        27  0.3  0.0      0     0 ?        S<   12:48   0:00 [rpciod/0]
 root        50  0.2  0.3   2668   896 ?        S<s  12:49   0:00

/sbin/udevd -d
root 105 0.0 0.3 2664 944 ? S< 12:49 0:00
/sbin/udevd -d
root 107 0.0 0.3 2664 932 ? S< 12:49 0:00
/sbin/udevd -d
daemon 960 0.0 0.1 1852 412 ? Ss 12:49 0:00
/sbin/portmap
root 987 0.0 0.1 2512 496 ? Ss 12:49 0:00
/usr/sbin/dropbear -r /etc/dropbear/dropbear_rsa_host_key -p 22
root 990 0.1 1.1 11184 2860 ? Ss 12:49 0:00
/usr/sbin/smbd
root 992 0.0 0.6 6296 1536 ? Ss 12:49 0:00
/usr/sbin/nmbd
root 995 0.0 0.3 3420 776 ? Ss 12:49 0:00
/sbin/syslogd -n -C64 -m 20
root 997 0.0 0.2 3356 716 ? Ss 12:49 0:00
/sbin/klogd -n
root 1004 0.0 0.4 11184 1028 ? S 12:49 0:00
/usr/sbin/smbd
root 1027 0.3 0.3 2764 960 ? Ss 12:50 0:00
/usr/sbin/dropbear -r /etc/dropbear/dropbear_rsa_host_key -p 22

 root      1028  0.0  0.4   3612  1020 pts/0    Ss   12:50   0:00 -sh
 root      1036  0.0  0.3   3592   868 pts/0    S    12:52   0:00 xinit
/etc/xdg/xfce4/xinitrc
 root      1037 10.2  3.9  24368  9812 tty2     S<s+ 12:52   0:05 X :0
 root      1042  0.0  0.2   3360   748 pts/0    T    12:52   0:00 sh

/etc/xdg/xfce4/xinitrc
root 1053 0.0 0.3 4192 784 pts/0 T 12:52 0:00
/usr/bin/dbus-launch --sh-syntax --exit-with-session
root 1054 4.6 0.3 2892 864 ? Ss 12:52 0:02
/usr/bin/dbus-daemon --fork --print-pid 4 --print-address 7 --session
root 1056 1.3 2.4 20952 6132 pts/0 T 12:52 0:00
/usr/bin/xfce4-session
root 1058 4.0 0.8 4424 2016 ? S 12:52 0:02
/usr/libexec/xfconfd

 root      1064 13.4  4.2  23764 10708 pts/0    T    12:52   0:06 xfwm4
 root      1066  2.9  4.2  25480 10480 pts/0    T    12:52   0:01
xfce4-panel
 root      1068  0.5  2.3  21484  5956 pts/0    T    12:52   0:00 Thunar
--daemon
 root      1070  3.5  4.5  34768 11396 pts/0    T    12:52   0:01 xfdesktop
 root      1079  0.5  1.5  19304  3844 pts/0    T    12:52   0:00

xfsettingsd
root 1081 0.2 0.5 3596 1444 ? S 12:52 0:00
/usr/libexec/gam_server
root 1095 0.6 1.5 20948 3816 ? S 12:52 0:00
xfce4-settings-helper
root 1097 1.9 3.3 23976 8232 pts/0 T 12:52 0:00
/usr/libexec/xfce4/panel-plugins/xfce4-menu-plugin socket_id 10485785 name xfce4-menu id 5 display_name Xfce Menu size 28 screen_position 11
root 1099 0.1 0.8 6252 2112 ? S 12:52 0:00
/usr/libexec/gvfsd
root 1103 0.0 1.0 31776 2548 ? Ssl 12:52 0:00
/usr/libexec//gvfs-fuse-daemon /home/root/.gvfs
root 1111 0.0 0.3 2668 992 pts/0 R+ 12:52 0:00 ps aux

Status

The GUI of Xfce appears on the screen and can be controlled by the mouse and keyboard. A small black rectangle appears in the upper left corner of the display. Several errors like missing group names are reported, when booting, but the GUI appears and can be used. X server reports serveral warnings but works. This is just a starting point for using xfce. Unfortunately getty reports a Segmentation fault, when started. Therefore login via the devices /dev/ttyPSC0 or /dev/tty1 is not possible. You can login to the board with ssh via Ethernet.

Troubleshooting

Workaround when fetch fails

When you use the portage distfiles folder for downloads and bitbake fails while fetching even when the file is there, this has helped usually:

sudo chmod -R g+w /usr/portage/distfiles

Start bitbake again.

Workaround for cannot stat error

When you start bitbake the current date is saved in some folder names. When bitbake fails and you restart it on another day, the the folder
names
are different. You need to copy the files from the old folder to the new folder like in this example and then start bitbake again: Output:

install: cannot stat
`/MyOE/tmp/test01/work/mpc5125-twr-angstrom-linux/angstrom-version-1_v20110406-r6/lsb_release':
No such file or directory
NOTE: package angstrom-version-1_v20110406-r6: task do_install: Failed

cd /MyOE/tmp/test01/work/mpc5125-twr-angstrom-linux; cp angstrom-version-1_v20110406-r6/lsb_release
angstrom-version-1_v20110406-r6/

Bitbake Reports an Error

You are using the master branch of openembedded, which is constantly changing. This is the latest version of openembedded. If the latest version cannot be build, you can try to use the latest tested version. Currently this is the version with the tag 021312cbea3bd07f2ec8591d667998c9c7b28b3a.

git status

Save all your changes, which you don't want to lose, before you continue. Change to the tag 021312cbea3bd07f2ec8591d667998c9c7b28b3a.

git reflog;
git tag;
git reset 021312cbea3bd07f2ec8591d667998c9c7b28b3a;

Save and remove tracked files.

git stash save

Delete untracked files and directories dry-run

git clean -fdn

Delete untracked files and directories

git clean -fd

Check the current status.

git status;
git reflog;

Now install the patches for mpc5125-twr and try to build the images in an empty directory $MY_TMP again.