Hi,
Please find the initial patch to support the Olinuxino i.MX233 line of
boards. This is an ARM9-based board that comes in multiple flavours
depending on devices available and board size. Current support is for
3.8.11 and ext4 rootfs, wiki page has been updated.
Regards,
-w-
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 3.8.11 (wigyori@dizelgigant) (gcc version 4.6.4
(OpenWrt/Linaro GCC 4.6-2012.12 r36550) ) #1 Mon May 6 07:54:49 CEST 2013
[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Freescale i.MX23 (Device Tree), model: i.MX23 Olinuxino
Low Cost Board
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat c0336048, node_mem_map
c036e000
[ 0.000000] Normal zone: 128 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16256 pages, LIFO batch:3
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total
pages: 16256
[ 0.000000] Kernel command line: console=ttyAMA0,115200 root=/dev/mmcblk0p2
rw rootwait
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] __ex_table already sorted, skipping sort
[ 0.000000] Memory: 64MB = 64MB total
[ 0.000000] Memory: 61392k/61392k available, 4144k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xc4800000 - 0xff000000 ( 936 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0312d2c (3116 kB)
[ 0.000000] .init : 0xc0313000 - 0xc032f554 ( 114 kB)
[ 0.000000] .data : 0xc0330000 - 0xc0343130 ( 77 kB)
[ 0.000000] .bss : 0xc0343130 - 0xc036d604 ( 170 kB)
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] of_irq_init: children remain, but no parents
[ 0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps
every 4294967286ms
[ 0.080000] Calibrating delay loop... 226.09 BogoMIPS (lpj=1130496)
[ 0.080000] pid_max: default: 32768 minimum: 301
[ 0.080000] Mount-cache hash table entries: 512
[ 0.080000] CPU: Testing write buffer coherency: ok
[ 0.080000] Setting up static identity map for 0x4000f800 - 0x4000f83c
[ 0.080000] pinctrl core: initialized pinctrl subsystem
[ 0.080000] regulator-dummy: no parameters
[ 0.080000] NET: Registered protocol family 16
[ 0.090000] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.090000] i2c-core: driver [dummy] registered
[ 0.120000] Serial: AMBA PL011 UART driver
[ 0.120000] 80070000.serial: ttyAMA0 at MMIO 0x80070000 (irq = 127) is a
PL011 rev2
[ 0.260000] console [ttyAMA0] enabled
[ 0.300000] bio: create slab <bio-0> at 0
[ 0.320000] mxs-dma 80004000.dma-apbh: initialized
[ 0.340000] mxs-dma 80024000.dma-apbx: initialized
[ 0.350000] usb0_vbus: 5000 mV
[ 0.350000] reg-fixed-voltage usb0_vbus.4: usb0_vbus supplying 5000000uV
[ 0.360000] usbcore: registered new interface driver usbfs
[ 0.360000] usbcore: registered new interface driver hub
[ 0.370000] usbcore: registered new device driver usb
[ 0.380000] Advanced Linux Sound Architecture Driver Initialized.
[ 0.390000] Switching to clocksource mxs_timer
[ 0.400000] NET: Registered protocol family 2
[ 0.400000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.410000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.410000] TCP: Hash tables configured (established 512 bind 512)
[ 0.420000] TCP: reno registered
[ 0.420000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.430000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.440000] NET: Registered protocol family 1
[ 0.450000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.450000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
(CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.460000] msgmni has been set to 119
[ 0.470000] io scheduler noop registered
[ 0.470000] io scheduler deadline registered (default)
[ 0.480000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.490000] uart-pl011 80070000.serial: no DMA platform data
[ 0.500000] 8006c000.serial: ttyAPP0 at MMIO 0x8006c000 (irq = 124) is a
8006c000.serial
[ 0.510000] mxs-auart 8006c000.serial: Found APPUART 3.0.0
[ 0.530000] i2c /dev entries driver
[ 0.530000] mxs-mmc 80010000.ssp: Looking up vmmc-supply from device tree
[ 0.530000] mxs-mmc 80010000.ssp: Looking up vmmc-supply property in node
/apb@80000000/apbh@80000000/ssp@80010000 failed
[ 0.570000] mxs-mmc 80010000.ssp: initialized
[ 0.570000] TCP: cubic registered
[ 0.580000] NET: Registered protocol family 17
[ 0.580000] 8021q: 802.1Q VLAN Support v1.8
[ 0.590000] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 0.600000] ALSA device list:
[ 0.600000] No soundcards found.
[ 0.600000] Waiting for root device /dev/mmcblk0p2...
[ 0.660000] mmc0: host does not support reading read-only switch. assuming
write-enable.
[ 0.670000] mmc0: new SD card at address c975
[ 0.680000] mmcblk0: mmc0:c975 SU02G 1.84 GiB
[ 0.690000] mmcblk0: p1 p2 p3
[ 0.720000] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature
incompatibilities
[ 0.730000] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature
incompatibilities
[ 0.750000] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts:
(null)
[ 0.760000] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 0.760000] Freeing init memory: 112K
[ 6.280000] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 6.880000] NET: Registered protocol family 10
[ 6.970000] PPP generic driver version 2.4.2
[ 7.360000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 7.630000] NET: Registered protocol family 24
[ 7.670000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 7.710000] ehci-platform: EHCI generic platform driver
[ 7.750000] nf_conntrack version 0.5.0 (961 buckets, 3844 max)
[ 8.300000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 8.690000] imx_usb 80080000.usb: pinctrl get/select failed, err=-19
[ 8.700000] imx_usb 80080000.usb: Looking up vbus-supply from device tree
[ 8.700000] ci_hdrc ci_hdrc.0: ChipIdea HDRC found, lpm: 0; cap: f5080100
op: f5080140
[ 8.700000] ci_hdrc ci_hdrc.0: doesn't support gadget
[ 8.710000] ci_hdrc ci_hdrc.0: EHCI Host Controller
[ 8.710000] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[ 8.740000] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[ 8.740000] hub 1-0:1.0: USB hub found
[ 8.750000] hub 1-0:1.0: 1 port detected
[ 9.020000] stmp3xxx-rtc 8005c000.rtc: rtc core: registered 8005c000.rtc as
rtc0
[ 9.070000] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[ 9.110000] usbcore: registered new interface driver smsc95xx
[ 9.220000] hub 1-1:1.0: USB hub found
[ 9.220000] hub 1-1:1.0: 3 ports detected
[ 9.510000] usb 1-1.1: new high-speed USB device number 3 using ci_hdrc
[ 9.640000] smsc95xx v1.0.4
[ 9.720000] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at
usb-ci_hdrc.0-1.1, smsc95xx USB 2.0 Ethernet, ea:42:ac:5e:a1:67
[ 16.270000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 16.280000] device eth0 entered promiscuous mode
[ 16.300000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 17.880000] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa
0xCDE1
[ 17.910000] br-lan: port 1(eth0) entered forwarding state
[ 17.910000] br-lan: port 1(eth0) entered forwarding state
[ 17.920000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 17.920000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 19.910000] br-lan: port 1(eth0) entered forwarding state
BusyBox v1.19.4 (2013-05-06 07:51:55 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
BARRIER BREAKER (Bleeding Edge, r36550)
-----------------------------------------------------
* 1/2 oz Galliano Pour all ingredients into
* 4 oz cold Coffee an irish coffee mug filled
* 1 1/2 oz Dark Rum with crushed ice. Stir.
* 2 tsp. Creme de Cacao
-----------------------------------------------------
root@OpenWrt:/#
Index: target/linux/imx23/image/Makefile
===================================================================
--- target/linux/imx23/image/Makefile (revision 0)
+++ target/linux/imx23/image/Makefile (revision 0)
@@ -0,0 +1,42 @@
+#
+# Copyright (C) 2010 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+include $(TOPDIR)/rules.mk
+include $(INCLUDE_DIR)/image.mk
+
+JFFS2_BLOCKSIZE=128k 16k
+JFFS2OPTS += -n
+
+#define Image/BuildKernel
+# mkdir -p $(BIN_DIR)
+# cp $(KDIR)/vmlinuz $(BIN_DIR)/$(IMG_PREFIX)-zImage
+#endef
+
+#define Image/Prepare
+# cp $(LINUX_DIR)/arch/arm/boot/zImage $(KDIR)/vmlinuz
+#endef
+
+
+define Image/Build/jffs2-64k
+ dd if=$(KDIR)/root.jffs2-64k of=$(BIN_DIR)/openwrt-$(BOARD)-jffs2-64k.img bs=65536 conv=sync
+endef
+
+define Image/Build/jffs2-128k
+ dd if=$(KDIR)/root.jffs2-128k of=$(BIN_DIR)/openwrt-$(BOARD)-jffs2-128k.img bs=131072 conv=sync
+endef
+
+define Image/Build/squashfs
+ $(call prepare_generic_squashfs,$(KDIR)/root.squashfs)
+ dd if=$(KDIR)/root.squashfs of=$(BIN_DIR)/openwrt-$(BOARD)-squashfs.img bs=131072 conv=sync
+endef
+
+define Image/Build
+ $(call Image/Build/$(1))
+ dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k conv=sync
+endef
+
+
+$(eval $(call BuildImage))
Index: target/linux/imx23/profiles/003-Micro.mk
===================================================================
--- target/linux/imx23/profiles/003-Micro.mk (revision 0)
+++ target/linux/imx23/profiles/003-Micro.mk (revision 0)
@@ -0,0 +1,19 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+# FiXME: need to add usb soc
+
+define Profile/MICRO
+ NAME:=OLinuXino-MICRO board
+# PACKAGES:=kmod-rtl8187
+endef
+
+define Profile/MICRO/Description
+ Base packages for -MICRO boards.
+endef
+$(eval $(call Profile,MICRO))
+
Index: target/linux/imx23/profiles/002-Mini.mk
===================================================================
--- target/linux/imx23/profiles/002-Mini.mk (revision 0)
+++ target/linux/imx23/profiles/002-Mini.mk (revision 0)
@@ -0,0 +1,19 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+# FiXME: need to add usb soc and snd
+
+define Profile/MINI
+ NAME:=OLinuXino-MINI board
+ PACKAGES:=kmod-rtl8187
+endef
+
+define Profile/MINI/Description
+ Base packages for -MINI boards.
+endef
+$(eval $(call Profile,MINI))
+
Index: target/linux/imx23/profiles/000-Maxi.mk
===================================================================
--- target/linux/imx23/profiles/000-Maxi.mk (revision 0)
+++ target/linux/imx23/profiles/000-Maxi.mk (revision 0)
@@ -0,0 +1,19 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+# FiXME: need to add usb soc and snd
+
+define Profile/MAXI
+ NAME:=OLinuXino-MAXI board
+ PACKAGES:=kmod-usb-net-smsc95xx
+endef
+
+define Profile/MAXI/Description
+ Base packages for -MAXI boards.
+endef
+$(eval $(call Profile,MAXI))
+
Index: target/linux/imx23/profiles/001-Mini-Wifi.mk
===================================================================
--- target/linux/imx23/profiles/001-Mini-Wifi.mk (revision 0)
+++ target/linux/imx23/profiles/001-Mini-Wifi.mk (revision 0)
@@ -0,0 +1,19 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+# FiXME: need to add usb soc and snd
+
+define Profile/MINI-WIFI
+ NAME:=OLinuXino-MINI-WIFI board
+ PACKAGES:=kmod-rtl8187
+endef
+
+define Profile/MINI-WIFI/Description
+ Base packages for -MINI-WIFI boards.
+endef
+$(eval $(call Profile,MINI-WIFI))
+
Index: target/linux/imx23/base-files/etc/inittab
===================================================================
--- target/linux/imx23/base-files/etc/inittab (revision 0)
+++ target/linux/imx23/base-files/etc/inittab (revision 0)
@@ -0,0 +1,3 @@
+::sysinit:/etc/init.d/rcS S boot
+::shutdown:/etc/init.d/rcS K shutdown
+ttyAMA0::askfirst:/bin/ash --login
Index: target/linux/imx23/Makefile
===================================================================
--- target/linux/imx23/Makefile (revision 0)
+++ target/linux/imx23/Makefile (revision 0)
@@ -0,0 +1,34 @@
+#
+# Copyright (C) 2006-2011 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+include $(TOPDIR)/rules.mk
+
+ARCH:=arm
+BOARD:=imx23
+BOARDNAME:=Olinuxino i.MX233
+FEATURES:=ext4 rtc usb2
+CFLAGS:=-Os -pipe -march=armv5te -mtune=arm926ej-s -fno-caller-saves
+LINUX_VERSION:=3.8.11
+DEPENDS:=imx-bootlets
+
+define Target/Description
+endef
+
+define Image/BuildKernel
+ make -C $(LINUX_DIR) CROSS_COMPILE=$(KERNEL_CROSS) ARCH=$(LINUX_KARCH) imx23-olinuxino.dtb
+ cat $(LINUX_DIR)/arch/arm/boot/zImage $(LINUX_DIR)/arch/arm/boot/dts/imx23-olinuxino.dtb > $(STAGING_DIR)/zImage_dtb
+ (cd $(STAGING_DIR); \
+ ../host/bin/elftosb -z -c ./linux_prebuilt.db -o linux.sb \
+ dd if=/dev/zero of=sd_mmc_bootstream.raw bs=512 count=4; \
+ dd if=linux.sb of=$(BIN_DIR)/openwrt-imx23-sbImage ibs=512 seek=4; \
+ )
+endef
+
+include $(INCLUDE_DIR)/target.mk
+
+DEFAULT_PACKAGES += dnsmasq kmod-usb-chipidea kmod-usb-net kmod-usb-net-smsc95xx imx-bootlets kmod-rtc-stmp3xxx kmod-sound-core kmod-sound-soc-sgtl5000
+
+$(eval $(call BuildTarget))
Index: package/kernel/modules/other.mk
===================================================================
--- package/kernel/modules/other.mk (revision 36529)
+++ package/kernel/modules/other.mk (working copy)
@@ -436,6 +436,23 @@
$(eval $(call KernelPackage,rtc-marvell))
+define KernelPackage/rtc-stmp3xxx
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=STMP3xxx SoC built-in RTC support
+ $(call AddDepends/rtc)
+ KCONFIG:=\
+ CONFIG_RTC_CLASS=y \
+ CONFIG_RTC_DRV_STMP=m
+ FILES:=$(LINUX_DIR)/drivers/rtc/rtc-stmp3xxx.ko
+ AUTOLOAD:=$(call AutoLoad,60,rtc-stmp3xxx)
+endef
+
+define KernelPackage/rtc-stmp3xxx/description
+ Kernel module for STMP3xxx RTC.
+endef
+
+$(eval $(call KernelPackage,rtc-stmp3xxx))
+
define KernelPackage/rtc-pcf8563
SUBMENU:=$(OTHER_MENU)
TITLE:=Philips PCF8563/Epson RTC8564 RTC support
Index: package/kernel/modules/sound.mk
===================================================================
--- package/kernel/modules/sound.mk (revision 36529)
+++ package/kernel/modules/sound.mk (working copy)
@@ -167,7 +167,25 @@
$(eval $(call KernelPackage,sound-soc-core))
+define KernelPackage/sound-soc-sgtl5000
+ TITLE:=SGTL5000 sound support
+ DEPENDS:=+kmod-sound-soc-core
+ KCONFIG:= \
+ CONFIG_SND_MXS_SOC=y \
+ CONFIG_SND_SOC_MXS_SGTL5000=m \
+ CONFIG_SND_SOC_I2C_AND_SPI=y \
+ CONFIG_SND_SOC_SGTL5000=m
+ FILES:= \
+ $(LINUX_DIR)/sound/soc/mxs/snd-soc-mxs-sgtl5000.ko \
+ $(LINUX_DIR)/sound/soc/mxs/snd-soc-mxs.ko \
+ $(LINUX_DIR)/sound/soc/mxs/snd-soc-mxs-pcm.ko
+ AUTOLOAD:=$(call AutoLoad,55,snd-soc-mxs-pcm snd-soc-mxs snd-soc-mxs-sgtl5000)
+ $(call AddDepends/sound)
+endef
+$(eval $(call KernelPackage,sound-soc-sgtl5000))
+
+
define KernelPackage/sound-soc-ac97
TITLE:=AC97 Codec support
KCONFIG:=CONFIG_SND_SOC_AC97_CODEC
Index: package/kernel/modules/usb.mk
===================================================================
--- package/kernel/modules/usb.mk (revision 36529)
+++ package/kernel/modules/usb.mk (working copy)
@@ -87,7 +87,6 @@
$(eval $(call KernelPackage,usb-uhci,1))
-
define KernelPackage/usb-ohci
TITLE:=Support for OHCI controllers
DEPENDS:=+TARGET_brcm47xx:kmod-usb-brcm47xx
@@ -127,7 +126,46 @@
$(eval $(call KernelPackage,usb2-fsl))
+define KernelPackage/usb-chipidea
+ TITLE:=Support for ChipIdea controllers
+ DEPENDS:=+kmod-usb2 +kmod-usb-mxs-phy
+ KCONFIG:= \
+ CONFIG_USB_SUPPORT \
+ CONFIG_USB_CHIPIDEA=m \
+ CONFIG_USB_CHIPIDEA_HOST=y \
+ CONFIG_USB_CHIPIDEA_DEBUG=y
+ FILES:=\
+ $(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc.ko \
+ $(LINUX_DIR)/drivers/usb/chipidea/ci13xxx_imx.ko
+ AUTOLOAD:=$(call AutoLoad,51,ci_hdrc ci13xxx_imx,1)
+ $(call AddDepends/usb)
+endef
+define KernelPackage/usb-chipidea/description
+ Kernel support for USB ChipIdea controllers
+endef
+
+$(eval $(call KernelPackage,usb-chipidea,1))
+
+define KernelPackage/usb-mxs-phy
+ TITLE:=Support for Freescale MXS USB PHY controllers
+ DEPENDS:=+kmod-usb2
+ KCONFIG:= \
+ CONFIG_USB_MXS_PHY=m \
+ CONFIG_USB_OTG_UTILS=y \
+ CONFIG_USB_OTG=y
+ FILES:=$(LINUX_DIR)/drivers/usb/otg/mxs-phy.ko
+ AUTOLOAD:=$(call AutoLoad,50,mxs-phy,1)
+ $(call AddDepends/usb)
+endef
+
+define KernelPackage/usb-mxs-phy/description
+ Kernel support for Freescale MXS USB PHY controllers
+endef
+
+$(eval $(call KernelPackage,usb-mxs-phy,1))
+
+
define KernelPackage/usb2
TITLE:=Support for USB2 controllers
DEPENDS:=+TARGET_brcm47xx:kmod-usb-brcm47xx +TARGET_mpc85xx:kmod-usb2-fsl
@@ -902,7 +940,21 @@
$(eval $(call KernelPackage,usb-net-ipheth))
+define KernelPackage/usb-net-smsc95xx
+ TITLE:=SMSC95xx USB/2.0 Ethernet driver
+ KCONFIG:=CONFIG_USB_NET_SMSC95XX
+ FILES:=$(LINUX_DIR)/drivers/net/usb/smsc95xx.ko
+ AUTOLOAD:=$(call AutoLoad,64,smsc95xx)
+ $(call AddDepends/usb-net)
+endef
+define KernelPackage/usb-net-smsc95xx/description
+ Kernel support for SMSC95xx USB/2.0 Ethernet driver
+endef
+
+$(eval $(call KernelPackage,usb-net-smsc95xx))
+
+
define KernelPackage/usb-hid
TITLE:=Support for USB Human Input Devices
KCONFIG:=CONFIG_HID_SUPPORT=y CONFIG_USB_HID CONFIG_USB_HIDDEV=y
Index: package/imx-bootlets/patches/003-add-olinuxino.diff
===================================================================
--- package/imx-bootlets/patches/003-add-olinuxino.diff (revision 0)
+++ package/imx-bootlets/patches/003-add-olinuxino.diff (revision 0)
@@ -0,0 +1,171 @@
+diff -ruN imx-bootlets-10.05.02.orig/linux.db imx-bootlets-10.05.02/linux.db
+--- imx-bootlets-10.05.02.orig/linux.db 2010-05-14 06:56:28.000000000 +0200
++++ imx-bootlets-10.05.02/linux.db 2012-10-27 01:35:55.000000000 +0200
+@@ -1,10 +1,10 @@
+-// STMP378x ROM command script to load and run Linux kernel
++// IMX23_OLINUXINO ROM command script to load and run Linux kernel
+
+ sources {
+ power_prep="./power_prep/power_prep";
+ sdram_prep="./boot_prep/boot_prep";
+ linux_prep="./linux_prep/output-target/linux_prep";
+- zImage="/home/b18647/repos/ltib_latest/rootfs/boot/zImage";
++ zImage="../../kernel/linux-3.6-rc1/arch/arm/boot/zImage";
+ }
+
+ section (0) {
+diff -ruN imx-bootlets-10.05.02.orig/linux_prep/board/imx23_olinuxino_dev.c imx-bootlets-10.05.02/linux_prep/board/imx23_olinuxino_dev.c
+--- imx-bootlets-10.05.02.orig/linux_prep/board/imx23_olinuxino_dev.c 1970-01-01 01:00:00.000000000 +0100
++++ imx-bootlets-10.05.02/linux_prep/board/imx23_olinuxino_dev.c 2012-10-27 01:35:55.000000000 +0200
+@@ -0,0 +1,54 @@
++/*
++ * Platform specific data for the IMX23_OLINUXINO development board
++ *
++ * Fadil Berisha <[email protected]>
++ *
++ * Copyright 2008 SigmaTel, Inc
++ * Copyright 2008 Embedded Alley Solutions, Inc
++ * Copyright 2009-2010 Freescale Semiconductor, Inc. All Rights Reserved.
++ *
++ * This file is licensed under the terms of the GNU General Public License
++ * version 2. This program is licensed "as is" without any warranty of any
++ * kind, whether express or implied.
++ *
++ * http://www.opensource.org/licenses/gpl-license.html
++ * http://www.gnu.org/copyleft/gpl.html
++ */
++#include <setup.h>
++#include <keys.h>
++#include <lradc_buttons.h>
++
++/************************************************
++ * LRADC keyboard data *
++ ************************************************/
++int lradc_keypad_ch = LRADC_CH0;
++int lradc_vddio_ch = LRADC_CH6;
++
++struct lradc_keycode lradc_keycodes[] = {
++ { 100, KEY4 },
++ { 306, KEY5 },
++ { 601, KEY6 },
++ { 932, KEY7 },
++ { 1260, KEY8 },
++ { 1424, KEY9 },
++ { 1707, KEY10 },
++ { 2207, KEY11 },
++ { 2525, KEY12 },
++ { 2831, KEY13 },
++ { 3134, KEY14 },
++ { -1, 0 },
++};
++
++/************************************************
++ * Magic key combinations for Armadillo *
++ ************************************************/
++u32 magic_keys[MAGIC_KEY_NR] = {
++ [MAGIC_KEY1] = KEY4,
++ [MAGIC_KEY2] = KEY6,
++ [MAGIC_KEY3] = KEY10,
++};
++
++/************************************************
++ * Default command line *
++ ************************************************/
++char cmdline_def[] = "console=ttyAMA0,115200";
+diff -ruN imx-bootlets-10.05.02.orig/linux_prep/cmdlines/imx23_olinuxino_dev.txt imx-bootlets-10.05.02/linux_prep/cmdlines/imx23_olinuxino_dev.txt
+--- imx-bootlets-10.05.02.orig/linux_prep/cmdlines/imx23_olinuxino_dev.txt 1970-01-01 01:00:00.000000000 +0100
++++ imx-bootlets-10.05.02/linux_prep/cmdlines/imx23_olinuxino_dev.txt 2012-10-27 01:35:55.000000000 +0200
+@@ -0,0 +1,3 @@
++noinitrd console=ttyAMA0,115200 root=/dev/mmcblk0p2 rw rootwait ssp1=mmc
++noinitrd console=ttyAMA0,115200 root=/dev/mmcblk0p2 rw rootwait ssp1=mmc
++noinitrd console=ttyAMA0,115200 root=/dev/mmcblk0p2 rw rootwait ssp1=mmc
+diff -ruN imx-bootlets-10.05.02.orig/linux_prep/core/setup.c imx-bootlets-10.05.02/linux_prep/core/setup.c
+--- imx-bootlets-10.05.02.orig/linux_prep/core/setup.c 2010-05-14 06:56:28.000000000 +0200
++++ imx-bootlets-10.05.02/linux_prep/core/setup.c 2012-10-27 01:35:55.000000000 +0200
+@@ -84,6 +84,8 @@
+ #include "../../mach-mx28/includes/registers/regsrtc.h"
+ #elif defined(STMP378X)
+ #include "../../mach-mx23/includes/registers/regsrtc.h"
++#elif defined(IMX23_OLINUXINO)
++#include "../../mach-mx23/includes/registers/regsrtc.h"
+ #endif
+
+ #define NAND_SECONDARY_BOOT 0x00000002
+diff -ruN imx-bootlets-10.05.02.orig/linux_prep/include/mx23/platform.h imx-bootlets-10.05.02/linux_prep/include/mx23/platform.h
+--- imx-bootlets-10.05.02.orig/linux_prep/include/mx23/platform.h 2010-05-14 06:56:28.000000000 +0200
++++ imx-bootlets-10.05.02/linux_prep/include/mx23/platform.h 2012-10-27 01:35:55.000000000 +0200
+@@ -19,6 +19,10 @@
+
+ #if defined (BOARD_STMP378X_DEV)
+ #define MACHINE_ID 0xa45
++
++#elif defined (BOARD_IMX23_OLINUXINO_DEV)
++#define MACHINE_ID 0x1009
++
+ #else
+ #error "Allocate a machine ID for your board"
+ #endif
+diff -ruN imx-bootlets-10.05.02.orig/linux_prep/Makefile imx-bootlets-10.05.02/linux_prep/Makefile
+--- imx-bootlets-10.05.02.orig/linux_prep/Makefile 2010-05-14 06:56:28.000000000 +0200
++++ imx-bootlets-10.05.02/linux_prep/Makefile 2012-10-27 01:35:55.000000000 +0200
+@@ -69,6 +69,11 @@
+ HW_OBJS = $(LRADC_OBJS)
+ CFLAGS += -DMX28 -DBOARD_MX28_EVK
+ endif
++ifeq ($(BOARD), imx23_olinuxino_dev)
++ARCH = mx23
++HW_OBJS = $(LRADC_OBJS)
++CFLAGS += -DIMX23_OLINUXINO -DBOARD_IMX23_OLINUXINO_DEV
++endif
+
+ # Generic code
+ CORE_OBJS = entry.o resume.o cmdlines.o setup.o keys.o
+diff -ruN imx-bootlets-10.05.02.orig/Makefile imx-bootlets-10.05.02/Makefile
+--- imx-bootlets-10.05.02.orig/Makefile 2012-10-25 02:12:41.000000000 +0200
++++ imx-bootlets-10.05.02/Makefile 2012-10-27 01:35:55.000000000 +0200
+@@ -3,9 +3,9 @@
+ export MEM_TYPE
+
+ DFT_IMAGE=$(DEV_IMAGE)/boot/zImage
+-DFT_UBOOT=$(DEV_IMAGE)/boot/u-boot
++DFT_UBOOT=../boot/u-boot
+
+-BOARD ?= stmp378x_dev
++BOARD ?= imx23_olinuxino_dev
+
+ ifeq ($(BOARD), stmp37xx_dev)
+ ARCH = 37xx
+@@ -16,6 +16,12 @@
+ ifeq ($(BOARD), iMX28_EVK)
+ ARCH = mx28
+ endif
++ifeq ($(BOARD), imx23_olinuxino_dev)
++ARCH = mx23
++endif
++ifeq ($(BOARD), imx23_olinuxino_dev)
++ARCH = mx23
++endif
+
+ all: build_prep gen_bootstream
+
+@@ -94,6 +100,8 @@
+ clean:
+ -rm -rf *.sb
+ rm -f sd_mmc_bootstream.raw
++ rm -f linux_prep/board/*.o
++ rm -f power_prep/*.o
+ $(MAKE) -C linux_prep clean ARCH=$(ARCH)
+ $(MAKE) -C boot_prep clean ARCH=$(ARCH)
+ $(MAKE) -C power_prep clean ARCH=$(ARCH)
+diff -ruN imx-bootlets-10.05.02.orig/uboot.db imx-bootlets-10.05.02/uboot.db
+--- imx-bootlets-10.05.02.orig/uboot.db 2010-05-14 06:56:28.000000000 +0200
++++ imx-bootlets-10.05.02/uboot.db 2012-10-27 01:35:55.000000000 +0200
+@@ -3,7 +3,7 @@
+ sources {
+ power_prep="./power_prep/power_prep";
+ sdram_prep="./boot_prep/boot_prep";
+- image="/home/b18647/repos/ltib_latest/rootfs/boot/u-boot";
++ image="../boot/u-boot";
+ }
+
+ section (0) {
Index: package/imx-bootlets/patches/001-skip_sb_generation.diff
===================================================================
--- package/imx-bootlets/patches/001-skip_sb_generation.diff (revision 0)
+++ package/imx-bootlets/patches/001-skip_sb_generation.diff (revision 0)
@@ -0,0 +1,18 @@
+--- imx-bootlets-src-10.05.02.orig/Makefile 2010-05-14 06:56:28.000000000 +0200
++++ imx-bootlets-src-10.05.02/Makefile 2012-10-24 21:41:44.000000000 +0200
+@@ -32,10 +32,11 @@
+ sed -i 's,[^ *]image.*;,\timage="$(DFT_UBOOT)";,' uboot.db
+ elftosb2 -z -c ./uboot.db -o i$(ARCH)_uboot.sb
+ else
+- @echo "by using the pre-built kernel"
+- elftosb2 -z -c ./linux_prebuilt.db -o i$(ARCH)_linux.sb
+- @echo "generating U-Boot boot stream image"
+- elftosb2 -z -c ./uboot_prebuilt.db -o i$(ARCH)_uboot.sb
++ @echo "... not generating any image for now."
++ #@echo "by using the pre-built kernel"
++ #elftosb2 -z -c ./linux_prebuilt.db -o i$(ARCH)_linux.sb
++ #@echo "generating U-Boot boot stream image"
++ #elftosb2 -z -c ./uboot_prebuilt.db -o i$(ARCH)_uboot.sb
+ endif
+ #@echo "generating kernel bootstream file sd_mmc_bootstream.raw"
+ #Please use cfimager to burn xxx_linux.sb. The below way will no
Index: package/imx-bootlets/patches/002-set_elftosb_config.patch
===================================================================
--- package/imx-bootlets/patches/002-set_elftosb_config.patch (revision 0)
+++ package/imx-bootlets/patches/002-set_elftosb_config.patch (revision 0)
@@ -0,0 +1,17 @@
+--- imx-bootlets-10.05.02.orig/linux_prebuilt.db 2010-05-14 06:56:28.000000000 +0200
++++ imx-bootlets-10.05.02/linux_prebuilt.db 2012-10-24 22:04:37.000000000 +0200
+@@ -4,10 +4,10 @@
+ flags = 0x01;
+ }
+ sources {
+- power_prep="./power_prep/power_prep";
+- sdram_prep="./boot_prep/boot_prep";
+- linux_prep="./linux_prep/output-target/linux_prep";
+- zImage = "./zImage";
++ power_prep="./power_prep";
++ sdram_prep="./boot_prep";
++ linux_prep="./linux_prep";
++ zImage = "./zImage_dtb";
+ }
+
+ section (0) {
Index: package/imx-bootlets/Makefile
===================================================================
--- package/imx-bootlets/Makefile (revision 0)
+++ package/imx-bootlets/Makefile (revision 0)
@@ -0,0 +1,42 @@
+#
+# Copyright (C) 2006 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=imx-bootlets
+PKG_VERSION:=10.05.02
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://trabant.uid0.hu/openwrt/
+PKG_MD5SUM:=82e375193b66ca643023c1656d536282
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/imx-bootlets
+ SECTION:=utils
+ CATEGORY:=Utilities
+ TITLE:=i.MX23 bootlets
+ DEPENDS:=@TARGET_imx23
+endef
+
+define Package/imx-bootlets/description
+ i.MX23 bootlets (for oLinuxino)
+endef
+
+define Build/Compile
+ $(MAKE) -C $(PKG_BUILD_DIR) CROSS_COMPILE="$(TARGET_CROSS)"
+endef
+
+define Package/imx-bootlets/install
+ @echo Copying boot_prep and power_prep into staging - $(STAGING_DIR)
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/boot_prep/boot_prep $(STAGING_DIR)/boot_prep
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/linux_prep/output-target/linux_prep $(STAGING_DIR)/linux_prep
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/power_prep/power_prep $(STAGING_DIR)/power_prep
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/linux_prebuilt.db $(STAGING_DIR)/linux_prebuilt.db
+endef
+
+$(eval $(call BuildPackage,imx-bootlets))
+
Index: tools/elftosb/patches/elftosb-10.12.01-libm.patch
===================================================================
--- tools/elftosb/patches/elftosb-10.12.01-libm.patch (revision 0)
+++ tools/elftosb/patches/elftosb-10.12.01-libm.patch (revision 0)
@@ -0,0 +1,11 @@
+--- elftosb-10.12.01/makefile.rules 2012-03-15 11:01:44.979020178 -0400
++++ elftosb-10.12.01/makefile.rules 2012-03-15 11:01:16.332761989 -0400
+@@ -101,7 +101,7 @@
+ keygen.o
+
+
+-LIBS = -lstdc++
++LIBS = -lstdc++ -lm
+
+
+ ifeq ("${UNAMES}", "Linux")
Index: tools/elftosb/patches/elftosb-10.12.01-fix-header-path.patch
===================================================================
--- tools/elftosb/patches/elftosb-10.12.01-fix-header-path.patch (revision 0)
+++ tools/elftosb/patches/elftosb-10.12.01-fix-header-path.patch (revision 0)
@@ -0,0 +1,19 @@
+This package had an absolute path for sys/types.h, which doesn't
+make much sense. It breaks on newer Ubuntu systems, and probably many
+others once multiarch becomes more common.
+
+This patch makes the types a relative path, and allows the system
+to use whatever include paths it feels are correct.
+
+diff -Naurp elftosb-10.12.01-orig/common/stdafx.h elftosb-10.12.01/common/stdafx.h
+--- elftosb-10.12.01-orig/common/stdafx.h 2012-07-12 13:30:10.990249396 -0400
++++ elftosb-10.12.01/common/stdafx.h 2012-07-12 13:30:06.858249391 -0400
+@@ -27,7 +27,7 @@
+ // For Linux systems only, types.h only defines the signed
+ // integer types. This is not professional code.
+ // Update: They are defined in the header files in the more recent version of redhat enterprise gcc.
+-#include "/usr/include/sys/types.h"
++#include <sys/types.h>
+ #include <stdint.h>
+ //typedef unsigned long uint32_t;
+ //typedef unsigned short uint16_t;
Index: tools/elftosb/Makefile
===================================================================
--- tools/elftosb/Makefile (revision 0)
+++ tools/elftosb/Makefile (revision 0)
@@ -0,0 +1,36 @@
+#
+# Copyright (C) 2006 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=elftosb
+PKG_VERSION:=10.12.01
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://repository.timesys.com/buildsources/e/elftosb/elftosb-10.12.01/
+PKG_MD5SUM:=e8005d606c1e0bb3507c82f6eceb3056
+
+HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)-$(PKG_VERSION)
+
+include $(INCLUDE_DIR)/host-build.mk
+
+#UTIL_DIR=$(HOST_BUILD_DIR)/C/LzmaUtil
+#ALONE_DIR=$(HOST_BUILD_DIR)/CPP/7zip/Compress/LZMA_Alone
+
+define Host/Compile
+ $(MAKE) -C $(HOST_BUILD_DIR) -f makefile LDFLAGS="$(HOST_STATIC_LINKING)"
+ #$(MAKE) -C $(ALONE_DIR) -f makefile.gcc LDFLAGS="$(HOST_STATIC_LINKING)"
+endef
+
+define Host/Install
+ #$(INSTALL_DIR) $(STAGING_DIR_HOST)/bin
+ $(INSTALL_BIN) $(HOST_BUILD_DIR)/bld/linux/elftosb $(STAGING_DIR_HOST)/bin/elftosb
+endef
+
+define Host/Clean
+endef
+
+$(eval $(call HostBuild))
Index: tools/Makefile
===================================================================
--- tools/Makefile (revision 36529)
+++ tools/Makefile (working copy)
@@ -20,6 +20,7 @@
tools-$(CONFIG_TARGET_orion_generic) += wrt350nv2-builder upslug2
tools-$(CONFIG_powerpc) += upx
tools-$(CONFIG_TARGET_x86) += qemu
+tools-$(CONFIG_TARGET_imx23) += elftosb
tools-$(CONFIG_TARGET_brcm2708) += mtools dosfstools
ifneq ($(CONFIG_TARGET_ar71xx),)
tools-y += lzma-old squashfs
Index: target/linux/imx23/config-default
===================================================================
--- target/linux/imx23/config-default (revision 0)
+++ target/linux/imx23/config-default (revision 0)
@@ -0,0 +1,266 @@
+CONFIG_ALIGNMENT_TRAP=y
+# CONFIG_AMBA_PL08X is not set
+# CONFIG_APM_EMULATION is not set
+CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y
+CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y
+CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y
+CONFIG_ARCH_MXS=y
+# CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED is not set
+CONFIG_ARCH_NR_GPIO=0
+CONFIG_ARCH_REQUIRE_GPIOLIB=y
+# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
+# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
+CONFIG_ARCH_SUSPEND_POSSIBLE=y
+# CONFIG_ARCH_VT8500_SINGLE is not set
+CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
+CONFIG_ARM=y
+CONFIG_ARM_AMBA=y
+CONFIG_ARM_APPENDED_DTB=y
+# CONFIG_ARM_ATAG_DTB_COMPAT is not set
+# CONFIG_ARM_CPU_SUSPEND is not set
+CONFIG_ARM_L1_CACHE_SHIFT=5
+CONFIG_ARM_NR_BANKS=8
+CONFIG_ARM_PATCH_PHYS_VIRT=y
+# CONFIG_ARM_SP805_WATCHDOG is not set
+CONFIG_ARM_THUMB=y
+CONFIG_ATAGS=y
+# CONFIG_CACHE_L2X0 is not set
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_CLKDEV_LOOKUP=y
+CONFIG_CLKSRC_MMIO=y
+CONFIG_CLONE_BACKWARDS=y
+CONFIG_CMDLINE="console=ttyAMA0,115200 root=/dev/mmcblk0p2 rw rootwait"
+CONFIG_CMDLINE_FROM_BOOTLOADER=y
+CONFIG_COMMON_CLK=y
+CONFIG_COREDUMP=y
+CONFIG_CPU_32v5=y
+CONFIG_CPU_ABRT_EV5TJ=y
+CONFIG_CPU_ARM926T=y
+# CONFIG_CPU_CACHE_ROUND_ROBIN is not set
+CONFIG_CPU_CACHE_VIVT=y
+CONFIG_CPU_COPY_V4WB=y
+CONFIG_CPU_CP15=y
+CONFIG_CPU_CP15_MMU=y
+# CONFIG_CPU_DCACHE_WRITETHROUGH is not set
+# CONFIG_CPU_ICACHE_DISABLE is not set
+CONFIG_CPU_PABRT_LEGACY=y
+CONFIG_CPU_TLB_V4WBI=y
+CONFIG_CPU_USE_DOMAINS=y
+CONFIG_CRC16=y
+CONFIG_CROSS_MEMORY_ATTACH=y
+CONFIG_CRYPTO_CRC32C=y
+CONFIG_CRYPTO_HASH=y
+CONFIG_CRYPTO_HASH2=y
+CONFIG_DEBUG_LL_INCLUDE="mach/debug-macro.S"
+# CONFIG_DEBUG_PINCTRL is not set
+# CONFIG_DEBUG_USER is not set
+CONFIG_DECOMPRESS_LZMA=y
+CONFIG_DMADEVICES=y
+CONFIG_DMA_ENGINE=y
+CONFIG_DTC=y
+# CONFIG_DW_DMAC is not set
+CONFIG_EXT4_FS=y
+CONFIG_FEC=y
+CONFIG_FRAME_POINTER=y
+CONFIG_FS_MBCACHE=y
+CONFIG_GENERIC_ATOMIC64=y
+CONFIG_GENERIC_BUG=y
+CONFIG_GENERIC_CLOCKEVENTS=y
+CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
+CONFIG_GENERIC_GPIO=y
+CONFIG_GENERIC_IO=y
+CONFIG_GENERIC_IRQ_CHIP=y
+CONFIG_GENERIC_IRQ_SHOW=y
+CONFIG_GENERIC_PCI_IOMAP=y
+CONFIG_GENERIC_SMP_IDLE_THREAD=y
+CONFIG_GENERIC_STRNCPY_FROM_USER=y
+CONFIG_GENERIC_STRNLEN_USER=y
+CONFIG_GPIOLIB=y
+CONFIG_GPIO_GENERIC=y
+CONFIG_GPIO_MXS=y
+CONFIG_HARDIRQS_SW_RESEND=y
+CONFIG_HAS_DMA=y
+CONFIG_HAS_IOMEM=y
+CONFIG_HAS_IOPORT=y
+CONFIG_HAVE_AOUT=y
+CONFIG_HAVE_ARCH_JUMP_LABEL=y
+CONFIG_HAVE_ARCH_KGDB=y
+CONFIG_HAVE_ARCH_PFN_VALID=y
+CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
+CONFIG_HAVE_ARCH_TRACEHOOK=y
+CONFIG_HAVE_BPF_JIT=y
+CONFIG_HAVE_CLK=y
+CONFIG_HAVE_CLK_PREPARE=y
+CONFIG_HAVE_C_RECORDMCOUNT=y
+CONFIG_HAVE_DEBUG_KMEMLEAK=y
+CONFIG_HAVE_DMA_API_DEBUG=y
+CONFIG_HAVE_DMA_ATTRS=y
+CONFIG_HAVE_DMA_CONTIGUOUS=y
+CONFIG_HAVE_DYNAMIC_FTRACE=y
+CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
+CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
+CONFIG_HAVE_FUNCTION_TRACER=y
+CONFIG_HAVE_GENERIC_DMA_COHERENT=y
+CONFIG_HAVE_GENERIC_HARDIRQS=y
+CONFIG_HAVE_IRQ_WORK=y
+CONFIG_HAVE_KERNEL_GZIP=y
+CONFIG_HAVE_KERNEL_LZMA=y
+CONFIG_HAVE_KERNEL_LZO=y
+CONFIG_HAVE_KERNEL_XZ=y
+CONFIG_HAVE_LATENCYTOP_SUPPORT=y
+CONFIG_HAVE_MEMBLOCK=y
+CONFIG_HAVE_NET_DSA=y
+CONFIG_HAVE_OPROFILE=y
+CONFIG_HAVE_PERF_EVENTS=y
+CONFIG_HAVE_PROC_CPU=y
+CONFIG_HAVE_PWM=y
+CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
+CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
+CONFIG_HAVE_UID16=y
+CONFIG_I2C=y
+CONFIG_I2C_ALGOBIT=y
+CONFIG_I2C_ALGOPCA=y
+CONFIG_I2C_ALGOPCF=y
+CONFIG_I2C_BOARDINFO=y
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_COMPAT=y
+CONFIG_I2C_DEBUG_ALGO=y
+CONFIG_I2C_DEBUG_BUS=y
+CONFIG_I2C_DEBUG_CORE=y
+CONFIG_I2C_MUX=y
+# CONFIG_I2C_MUX_GPIO is not set
+# CONFIG_I2C_MUX_PCA9541 is not set
+# CONFIG_I2C_MUX_PCA954x is not set
+CONFIG_I2C_MUX_PINCTRL=y
+CONFIG_I2C_MXS=y
+CONFIG_INITRAMFS_SOURCE=""
+CONFIG_IRQ_DOMAIN=y
+# CONFIG_ISDN is not set
+CONFIG_JBD2=y
+CONFIG_KTIME_SCALAR=y
+# CONFIG_LEDS_PWM is not set
+# CONFIG_INPUT_PWM_BEEPER is not set
+# CONFIG_LEDS_REGULATOR is not set
+CONFIG_LZO_COMPRESS=y
+CONFIG_LZO_DECOMPRESS=y
+CONFIG_MACH_MXS_DT=y
+CONFIG_MDIO_BOARDINFO=y
+CONFIG_MMC=y
+CONFIG_MMC_BLOCK=y
+CONFIG_MMC_MXS=y
+CONFIG_MODULES_USE_ELF_REL=y
+CONFIG_MTD_OF_PARTS=y
+# CONFIG_MTD_PHYSMAP_OF is not set
+CONFIG_MULTI_IRQ_HANDLER=y
+CONFIG_MXS_DMA=y
+CONFIG_NEED_DMA_MAP_STATE=y
+CONFIG_NEED_PER_CPU_KM=y
+# CONFIG_NET_DMA is not set
+CONFIG_NET_VENDOR_WIZNET=y
+CONFIG_NLS=y
+CONFIG_OF=y
+CONFIG_OF_ADDRESS=y
+CONFIG_OF_DEVICE=y
+CONFIG_OF_EARLY_FLATTREE=y
+CONFIG_OF_FLATTREE=y
+CONFIG_OF_GPIO=y
+CONFIG_OF_I2C=y
+CONFIG_OF_IRQ=y
+CONFIG_OF_MDIO=y
+CONFIG_OF_MTD=y
+CONFIG_OF_NET=y
+CONFIG_PAGEFLAGS_EXTENDED=y
+CONFIG_PAGE_OFFSET=0xC0000000
+# CONFIG_PCI_SYSCALL is not set
+CONFIG_PERCPU_RWSEM=y
+CONFIG_PERF_USE_VMALLOC=y
+CONFIG_PHYLIB=y
+CONFIG_PINCONF=y
+CONFIG_PINCTRL=y
+CONFIG_PINCTRL_IMX23=y
+CONFIG_PINCTRL_IMX28=y
+CONFIG_PINCTRL_MXS=y
+# CONFIG_PINCTRL_SINGLE is not set
+CONFIG_PINMUX=y
+# CONFIG_PL330_DMA is not set
+CONFIG_PM=y
+CONFIG_PM_CLK=y
+# CONFIG_PM_DEBUG is not set
+CONFIG_PM_RUNTIME=y
+# CONFIG_PREEMPT_RCU is not set
+CONFIG_REGMAP=y
+CONFIG_REGMAP_I2C=y
+CONFIG_REGMAP_SPI=y
+CONFIG_REGULATOR=y
+# CONFIG_REGULATOR_AD5398 is not set
+CONFIG_REGULATOR_DEBUG=y
+# CONFIG_REGULATOR_DUMMY is not set
+# CONFIG_REGULATOR_FAN53555 is not set
+CONFIG_REGULATOR_FIXED_VOLTAGE=y
+CONFIG_REGULATOR_GPIO=y
+# CONFIG_REGULATOR_ISL6271A is not set
+# CONFIG_REGULATOR_LP3971 is not set
+# CONFIG_REGULATOR_LP3972 is not set
+# CONFIG_REGULATOR_LP872X is not set
+# CONFIG_REGULATOR_MAX1586 is not set
+# CONFIG_REGULATOR_MAX8649 is not set
+# CONFIG_REGULATOR_MAX8660 is not set
+# CONFIG_REGULATOR_MAX8952 is not set
+# CONFIG_REGULATOR_MAX8973 is not set
+# CONFIG_REGULATOR_TPS51632 is not set
+# CONFIG_REGULATOR_TPS62360 is not set
+# CONFIG_REGULATOR_TPS65023 is not set
+# CONFIG_REGULATOR_TPS6507X is not set
+# CONFIG_REGULATOR_TPS6524X is not set
+# CONFIG_REGULATOR_USERSPACE_CONSUMER is not set
+# CONFIG_RFKILL_REGULATOR is not set
+# CONFIG_SCSI_DMA is not set
+# CONFIG_SERIAL_AMBA_PL010 is not set
+CONFIG_SERIAL_AMBA_PL011=y
+CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
+CONFIG_SERIAL_MXS_AUART=y
+# CONFIG_SERIAL_MXS_AUART_CONSOLE is not set
+CONFIG_SMSC_PHY=y
+CONFIG_SND=y
+CONFIG_SND_COMPRESS_OFFLOAD=y
+# CONFIG_SND_EMU10K1_SEQ is not set
+# CONFIG_SND_OPL3_LIB_SEQ is not set
+# CONFIG_SND_OPL4_LIB_SEQ is not set
+# CONFIG_SND_RAWMIDI_SEQ is not set
+# CONFIG_SND_SBAWE_SEQ is not set
+# CONFIG_SND_USB is not set
+CONFIG_SOC_IMX23=y
+CONFIG_SOC_IMX28=y
+CONFIG_SOUND=y
+# CONFIG_SOUND_OSS_CORE is not set
+CONFIG_SPARSE_IRQ=y
+CONFIG_SPI=y
+CONFIG_SPI_MASTER=y
+CONFIG_SPI_MXS=y
+CONFIG_SPLIT_PTLOCK_CPUS=999999
+CONFIG_STMP_DEVICE=y
+CONFIG_SYS_SUPPORTS_APM_EMULATION=y
+CONFIG_TICK_CPU_ACCOUNTING=y
+CONFIG_UID16=y
+CONFIG_UIDGID_CONVERTED=y
+# CONFIG_UIDGID_STRICT_TYPE_CHECKS is not set
+CONFIG_USB=y
+# CONFIG_USB_ARCH_HAS_OHCI is not set
+# CONFIG_USB_ARCH_HAS_XHCI is not set
+CONFIG_USB_CHIPIDEA=m
+# CONFIG_USB_CHIPIDEA_DEBUG is not set
+CONFIG_USB_COMMON=y
+# CONFIG_USB_EHCI_HCD is not set
+CONFIG_USB_MXS_PHY=m
+CONFIG_USB_OTG_UTILS=y
+CONFIG_USB_SUPPORT=y
+CONFIG_USE_OF=y
+CONFIG_VECTORS_BASE=0xffff0000
+# CONFIG_VFP is not set
+# CONFIG_WIZNET_W5100 is not set
+# CONFIG_WIZNET_W5300 is not set
+CONFIG_XZ_DEC_ARM=y
+CONFIG_XZ_DEC_BCJ=y
+CONFIG_ZBOOT_ROM_BSS=0
+CONFIG_ZBOOT_ROM_TEXT=0
+CONFIG_ZONE_DMA_FLAG=0
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel