Sharp社製Netwalker PC-Z1 の kernel 2.6.31 に関するページです。 †2.6.31 化 †
$ mkdir workdir $ cd workdir $ git clone git://github.com/darion76/linux-sharp-netwalker-2.6.31.git Initialized empty Git repository in /home/itou-r/Netwalker/kernel/linux-sharp-netwalker-2.6.31/.git/ remote: Counting objects: 31918, done. remote: Compressing objects: 100% (28345/28345), done. remote: Total 31918 (delta 2855), reused 31860 (delta 2823) Receiving objects: 100% (31918/31918), 88.64 MiB | 54 KiB/s, done. Resolving deltas: 100% (2855/2855), done. $ cd linux-sharp-netwalker-2.6.31 .config ファイルがあるので、すぐにビルドもできる。 $ export PATH=${PATH}:/opt/cross/arm-2010.09/bin $ make ARCH=arm menuconfig $ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- zImage $ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- modules $ mkdir /tmp/mod-work $ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- INSTALL_MOD_PATH=/tmp/mod-work modules_install $ sudo chown -R root:root /tmp/mod-work/lib $ cd /tmp/mod-work $ tar czvf ../modules-2.6.31.12-ER1.tar.gz . workdir/linux-sharp-netwalker-2.6.31/arch/arm/boot ディレクトリに zImage が、 dmesg †$ dmesg Linux version 2.6.31.12-ER1-sw2 (hogehoge@localhost) (gcc version 4.5.1 (Sourcery G++ Lite 2010.09-50) ) #1 PREEMPT Mon Mar 7 19:59:40 JST 2011 CPU: ARMv7 Processor [412fc081] revision 1 (ARMv7), cr=10c53c7f CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache Machine: SHARP PC-Z1 Memory policy: ECC disabled, Data cache writeback On node 0 totalpages: 122880 free_area_init_node: node 0, pgdat c03b3610, node_mem_map c03f8000 DMA zone: 128 pages used for memmap DMA zone: 0 pages reserved DMA zone: 16256 pages, LIFO batch:3 Normal zone: 832 pages used for memmap Normal zone: 105664 pages, LIFO batch:31 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 121920 Kernel command line: noinitrd root=/dev/mmcblk0p1 rw rootfstype=ext3 rootdelay=30 bootsw=0x3 bootVer=1.000 PID hash table entries: 2048 (order: 11, 8192 bytes) Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Memory: 480MB = 480MB total Memory: 483028KB available (3220K code, 582K data, 112K init, 0K highmem) SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:272 MXC IRQ initialized darion: erdos_timer_init started Console: colour dummy device 80x30 console [tty0] enabled Calibrating delay loop... 799.53 BogoMIPS (lpj=3997696) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok darion_debug:rcu_init_shed darion_debug:rcu_init_shed ok darion_debug:init_workqueues ok darion_debug:init_smp ok darion_debug:usermodehelper_init ok darion_debug:driver_init ok darion_debug:init_irq_proc ok darion_debug:do_ctors ok regulator: core version 0.5 NET: Registered protocol family 16 CPU is i.MX51 Revision 2.0 MXC GPIO hardware ------------[ cut here ]------------ WARNING: at drivers/gpio/gpiolib.c:83 gpio_ensure_requested+0x48/0x10c() autorequest GPIO-7 Modules linked in: [<c00292c0>] (unwind_backtrace+0x0/0xcc) from [<c004507c>] (warn_slowpath_common+0x48/0x60) [<c004507c>] (warn_slowpath_common+0x48/0x60) from [<c00450cc>] (warn_slowpath_fmt+0x24/0x30) [<c00450cc>] (warn_slowpath_fmt+0x24/0x30) from [<c013e6d0>] (gpio_ensure_requested+0x48/0x10c) [<c013e6d0>] (gpio_ensure_requested+0x48/0x10c) from [<c013e810>] (gpio_direction_output+0x7c/0x14c) [<c013e810>] (gpio_direction_output+0x7c/0x14c) from [<c000d7d0>] (mx51_erdos_io_init+0x24/0x21c) [<c000d7d0>] (mx51_erdos_io_init+0x24/0x21c) from [<c000d54c>] (mxc_board_init+0x14/0x12c) [<c000d54c>] (mxc_board_init+0x14/0x12c) from [<c000a478>] (customize_machine+0x18/0x24) [<c000a478>] (customize_machine+0x18/0x24) from [<c0024480>] (do_one_initcall+0x60/0x1a8) [<c0024480>] (do_one_initcall+0x60/0x1a8) from [<c000898c>] (kernel_init+0xd0/0x178) [<c000898c>] (kernel_init+0xd0/0x178) from [<c0025998>] (kernel_thread_exit+0x0/0x8) ---[ end trace 1b75b31a2719ed1c ]--- ------------[ cut here ]------------ WARNING: at drivers/gpio/gpiolib.c:83 gpio_ensure_requested+0x48/0x10c() autorequest GPIO-8 Modules linked in: [<c00292c0>] (unwind_backtrace+0x0/0xcc) from [<c004507c>] (warn_slowpath_common+0x48/0x60) [<c004507c>] (warn_slowpath_common+0x48/0x60) from [<c00450cc>] (warn_slowpath_fmt+0x24/0x30) [<c00450cc>] (warn_slowpath_fmt+0x24/0x30) from [<c013e6d0>] (gpio_ensure_requested+0x48/0x10c) [<c013e6d0>] (gpio_ensure_requested+0x48/0x10c) from [<c013e958>] (gpio_direction_input+0x78/0x144) [<c013e958>] (gpio_direction_input+0x78/0x144) from [<c000d8a4>] (mx51_erdos_io_init+0xf8/0x21c) [<c000d8a4>] (mx51_erdos_io_init+0xf8/0x21c) from [<c000d54c>] (mxc_board_init+0x14/0x12c) [<c000d54c>] (mxc_board_init+0x14/0x12c) from [<c000a478>] (customize_machine+0x18/0x24) [<c000a478>] (customize_machine+0x18/0x24) from [<c0024480>] (do_one_initcall+0x60/0x1a8) [<c0024480>] (do_one_initcall+0x60/0x1a8) from [<c000898c>] (kernel_init+0xd0/0x178) [<c000898c>] (kernel_init+0xd0/0x178) from [<c0025998>] (kernel_thread_exit+0x0/0x8) ---[ end trace 1b75b31a2719ed1d ]--- ------------[ cut here ]------------ WARNING: at drivers/gpio/gpiolib.c:83 gpio_ensure_requested+0x48/0x10c() autorequest GPIO-0 Modules linked in: [<c00292c0>] (unwind_backtrace+0x0/0xcc) from [<c004507c>] (warn_slowpath_common+0x48/0x60) [<c004507c>] (warn_slowpath_common+0x48/0x60) from [<c00450cc>] (warn_slowpath_fmt+0x24/0x30) [<c00450cc>] (warn_slowpath_fmt+0x24/0x30) from [<c013e6d0>] (gpio_ensure_requested+0x48/0x10c) [<c013e6d0>] (gpio_ensure_requested+0x48/0x10c) from [<c013e958>] (gpio_direction_input+0x78/0x144) [<c013e958>] (gpio_direction_input+0x78/0x144) from [<c000d8ac>] (mx51_erdos_io_init+0x100/0x21c) [<c000d8ac>] (mx51_erdos_io_init+0x100/0x21c) from [<c000d54c>] (mxc_board_init+0x14/0x12c) [<c000d54c>] (mxc_board_init+0x14/0x12c) from [<c000a478>] (customize_machine+0x18/0x24) [<c000a478>] (customize_machine+0x18/0x24) from [<c0024480>] (do_one_initcall+0x60/0x1a8) [<c0024480>] (do_one_initcall+0x60/0x1a8) from [<c000898c>] (kernel_init+0xd0/0x178) [<c000898c>] (kernel_init+0xd0/0x178) from [<c0025998>] (kernel_thread_exit+0x0/0x8) ---[ end trace 1b75b31a2719ed1e ]--- ------------[ cut here ]------------ WARNING: at drivers/gpio/gpiolib.c:83 gpio_ensure_requested+0x48/0x10c() autorequest GPIO-47 Modules linked in: [<c00292c0>] (unwind_backtrace+0x0/0xcc) from [<c004507c>] (warn_slowpath_common+0x48/0x60) [<c004507c>] (warn_slowpath_common+0x48/0x60) from [<c00450cc>] (warn_slowpath_fmt+0x24/0x30) [<c00450cc>] (warn_slowpath_fmt+0x24/0x30) from [<c013e6d0>] (gpio_ensure_requested+0x48/0x10c) [<c013e6d0>] (gpio_ensure_requested+0x48/0x10c) from [<c013e958>] (gpio_direction_input+0x78/0x144) [<c013e958>] (gpio_direction_input+0x78/0x144) from [<c000d8b4>] (mx51_erdos_io_init+0x108/0x21c) [<c000d8b4>] (mx51_erdos_io_init+0x108/0x21c) from [<c000d54c>] (mxc_board_init+0x14/0x12c) [<c000d54c>] (mxc_board_init+0x14/0x12c) from [<c000a478>] (customize_machine+0x18/0x24) [<c000a478>] (customize_machine+0x18/0x24) from [<c0024480>] (do_one_initcall+0x60/0x1a8) [<c0024480>] (do_one_initcall+0x60/0x1a8) from [<c000898c>] (kernel_init+0xd0/0x178) [<c000898c>] (kernel_init+0xd0/0x178) from [<c0025998>] (kernel_thread_exit+0x0/0x8) ---[ end trace 1b75b31a2719ed1f ]--- IRAM READY mxc_init_dvfs_per initialised darion: mxc_init_mmc started darion: mx51_erdos_init_mc13892 started darion: mxc_init_power_off started darion: mxc_init_sgtl5000 started Using SDMA I.API MXC DMA API initialized SDIO detect port functions initialized. bio: create slab <bio-0> at 0 SCSI subsystem initialized CSPI: mxc_spi-0 probed usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb MXC I2C driver MXC I2C driver MXC HS I2C driver IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7) PMIC Light driver loading... mc13892 Rev 2.0 FinVer 2 detected Initializing regulators for ERDOS. regulator: SW1: 600 <--> 1375 mV regulator: SW2: 900 <--> 1850 mV regulator: SW3: 1100 <--> 1850 mV regulator: SW4: 1100 <--> 1850 mV regulator: SWBST: 0 mV regulator: VIOHI: 0 mV regulator: VPLL: 1050 <--> 1800 mV regulator: VDIG: 1050 <--> 1800 mV regulator: VSD: 1800 <--> 3150 mV regulator: VUSB2: 2400 <--> 2775 mV regulator: VVIDEO: 2775 mV regulator: VAUDIO: 2300 <--> 3000 mV regulator: VCAM: 2500 <--> 3000 mV fast normal regulator: VGEN1: 1200 <--> 3150 mV regulator: VGEN2: 1200 <--> 3150 mV regulator: VGEN3: 1800 <--> 2900 mV regulator: VUSB: 0 mV regulator: GPO1: 0 mV regulator: GPO2: 0 mV regulator: GPO3: 0 mV regulator: GPO4: 0 mV PMIC ADC start probe PMIC Light successfully loaded Device spi1.0 probed MXC WatchDog Driver 2.0 clk: Unable to get requested clock: wdog_clk MXC Watchdog # 0 Timer: initial timeout 123 sec NET: Registered protocol family 2 IP route cache hash table entries: 4096 (order: 2, 16384 bytes) TCP established hash table entries: 16384 (order: 5, 131072 bytes) TCP bind hash table entries: 16384 (order: 4, 65536 bytes) TCP: Hash tables configured (established 16384 bind 16384) TCP reno registered NET: Registered protocol family 1 LPMode driver module loaded Static Power Management for Freescale i.MX51 PM driver module loaded sdram autogating driver module loaded Bus freq driver module loaded usb: Host 1 host (isp1504) registered usb: DR host (utmi) registered mxc_dvfs_core_probe DVFS driver module loaded i.MXC CPU frequency driver Switched to high resolution mode on CPU 0 msgmni has been set to 943 alg: No test for stdrng (krng) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) PWM: Rate=658415 [Hz] Period=2194 [cnt] mode_option=1024x768M-16@60 fbcvt: 1024x768@60: CVT Name - .786M3 mxc_ipu mxc_ipu: Channel already disabled 9 mxc_ipu mxc_ipu: Channel already uninitialized 9 IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7) Console: switching to colour frame buffer device 128x48 DMFC high resolution has set, will not change Serial: MXC Internal UART driver mxcintuart.0: ttymxc0 at MMIO 0x73fbc000 (irq = 31) is a Freescale i.MX mxcintuart.1: ttymxc1 at MMIO 0x73fc0000 (irq = 32) is a Freescale i.MX mxcintuart.2: ttymxc2 at MMIO 0x7000c000 (irq = 33) is a Freescale i.MX loop: module loaded tun: Universal TUN/TAP device driver, 1.6 tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> usbcore: registered new interface driver catc catc: v2.8:CATC EL1210A NetMate USB Ethernet driver usbcore: registered new interface driver kaweth pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB Ethernet driver usbcore: registered new interface driver pegasus rtl8150: v0.6.2 (2004/08/27):rtl8150 based usb-ethernet driver usbcore: registered new interface driver rtl8150 usbcore: registered new interface driver asix usbcore: registered new interface driver cdc_ether usbcore: registered new interface driver net1080 usbcore: registered new interface driver cdc_subset usbcore: registered new interface driver zaurus usbmon: debugfs is not available 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 14, io base 0x73f80200 fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2 fsl-ehci fsl-ehci.1: irq 18, io base 0x73f80000 fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected usbcore: registered new interface driver libusual mice: PS/2 mouse device common for all mice mc13892 rtc probe start pmic_rtc pmic_rtc.1: rtc core: registered pmic_rtc as rtc0 mc13892 rtc probe succeed i2c /dev entries driver APM Battery Driver PMIC Character device: successfully loaded usb 1-1: new high speed USB device using fsl-ehci and address 2 power_supply mc13892_charger: charger status: online VPU initialized mxsdhci: MXC Secure Digital Host Controller Interface driver mxsdhci: MXC SDHCI Controller Driver. mmc0: SDHCI detect irq 128 irq 1 INTERNAL DMA mxsdhci: MXC SDHCI Controller Driver. mmc1: SDHCI detect irq 0 irq 2 INTERNAL DMA 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 usbcore: registered new interface driver usbhid usbhid: v2.6:USB HID core driver Advanced Linux Sound Architecture Driver Version 1.0.20. regulator: Unable to get requested regulator: VDDIO regulator: Unable to get requested regulator: VDDA regulator: Unable to get requested regulator: VDDD sgtl5000-i2c 1-000a: SGTL5000 revision 17 No device for DAI imx-ssi-1-0 No device for DAI imx-ssi-1-1 No device for DAI imx-ssi-2-0 No device for DAI imx-ssi-2-1 DMA Sound Buffers Allocated:UseIram=1 buf->addr=1fff3000 buf->area=de8b0000 size=24576 DMA Sound Buffers Allocated:UseIram=1 buf->addr=ac0c8000 buf->area=fc154000 size=24576 asoc: SGTL5000 <-> imx-ssi-2-0 mapping ok usb 2-1: new low speed USB device using fsl-ehci and address 2 ALSA device list: #0: imx-3stack (SGTL5000) TCP cubic registered NET: Registered protocol family 17 VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2 regulator_init_complete: incomplete constraints, leaving GPO4 on regulator_init_complete: incomplete constraints, leaving GPO3 on regulator_init_complete: incomplete constraints, leaving GPO2 on regulator_init_complete: incomplete constraints, leaving GPO1 on regulator_init_complete: incomplete constraints, leaving VUSB on regulator_init_complete: incomplete constraints, leaving VGEN3 on regulator_init_complete: incomplete constraints, leaving VGEN2 on regulator_init_complete: incomplete constraints, leaving VGEN1 on regulator_init_complete: incomplete constraints, leaving VCAM on regulator_init_complete: incomplete constraints, leaving VAUDIO on regulator_init_complete: incomplete constraints, leaving VUSB2 on regulator_init_complete: incomplete constraints, leaving VSD on regulator_init_complete: incomplete constraints, leaving VDIG on regulator_init_complete: incomplete constraints, leaving VPLL on regulator_init_complete: incomplete constraints, leaving VIOHI on regulator_init_complete: incomplete constraints, leaving SWBST on input: mxc_ts as /class/input/input0 mxc input touchscreen loaded pmic_rtc pmic_rtc.1: setting system clock to 2011-03-07 11:13:58 UTC (1299496438) darion_debug:do_initcalls ok Waiting 30sec before mounting root device... usb 2-1: configuration #1 chosen from 1 choice input: SHARP USB Keyboard as /class/input/input1 generic-usb 0003:04DD:92E7.0001: input,hidraw0: USB HID v1.10 Keyboard [SHARP USB Keyboard] on usb-fsl-ehci.1-1/input0 input: SHARP USB Keyboard as /class/input/input2 generic-usb 0003:04DD:92E7.0002: input,hidraw1: USB HID v1.10 Device [SHARP USB Keyboard] on usb-fsl-ehci.1-1/input1 usb 1-1.1: new full speed USB device using fsl-ehci and address 3 usb 1-1.1: configuration #1 chosen from 1 choice pegasus 1-1.1:1.0: setup Pegasus II specific registers pegasus 1-1.1:1.0: eth0, MELCO/BUFFALO LUA2-TX, 00:40:26:xx:xx:xx mmc0: new high speed SDHC card at address 1234 mmcblk0: mmc0:1234 SA16G 14.8 GiB mmcblk0: p1 kjournald starting. Commit interval 15 seconds EXT3 FS on mmcblk0p1, internal journal EXT3-fs: recovery complete. EXT3-fs: mounted filesystem with writeback data mode. VFS: Mounted root (ext3 filesystem) on device 179:1. Freeing init memory: 112K EXT3 FS on mmcblk0p1, internal journal pegasus 1-1.1:1.0: update_eth_regs_async, status -22 syslog †Mar 17 07:44:43 netwalker kernel: imklog: Cannot read proc file system, 1. Mar 17 07:44:43 netwalker rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="3653" x-info="http://www.rsyslog.com"] (re)start Mar 17 07:44:43 netwalker rsyslogd: rsyslogd's groupid changed to 103 Mar 17 07:44:43 netwalker rsyslogd: rsyslogd's userid changed to 101 Mar 17 07:44:43 netwalker rsyslogd-2039: Could no open output file '/dev/xconsole' [try http://www.rsyslog.com/e/2039 ] Mar 17 07:44:43 netwalker avahi-daemon[3712]: Found user 'avahi' (UID 104) and group 'avahi' (GID 111). Mar 17 07:44:43 netwalker avahi-daemon[3712]: Successfully dropped root privileges. Mar 17 07:44:43 netwalker avahi-daemon[3712]: avahi-daemon 0.6.27 starting up. Mar 17 07:44:43 netwalker avahi-daemon[3712]: Successfully called chroot(). Mar 17 07:44:43 netwalker avahi-daemon[3712]: Successfully dropped remaining capabilities. Mar 17 07:44:43 netwalker avahi-daemon[3712]: No service file found in /etc/avahi/services. Mar 17 07:44:44 netwalker avahi-daemon[3712]: socket() failed: Address family not supported by protocol Mar 17 07:44:44 netwalker avahi-daemon[3712]: Failed to create IPv6 socket, proceeding in IPv4 only mode Mar 17 07:44:44 netwalker avahi-daemon[3712]: socket() failed: Address family not supported by protocol Mar 17 07:44:44 netwalker avahi-daemon[3712]: Network interface enumeration completed. Mar 17 07:44:44 netwalker avahi-daemon[3712]: Registering HINFO record with values 'ARMV7L'/'LINUX'. Mar 17 07:44:44 netwalker avahi-daemon[3712]: Server startup complete. Host name is netwalker.local. Local service cookie is 1181041477. Mar 17 07:44:47 netwalker init: plymouth-splash main process (3783) terminated with status 2 Mar 17 07:44:47 netwalker init: plymouth main process (1098) killed by SEGV signal Mar 17 07:44:48 netwalker init: apport pre-start process (4409) terminated with status 1 Mar 17 07:44:48 netwalker cron[4434]: (CRON) INFO (pidfile fd = 3) Mar 17 07:44:48 netwalker anacron[4478]: Anacron 2.3 started on 2011-03-17 Mar 17 07:44:48 netwalker cron[4482]: (CRON) STARTUP (fork ok) Mar 17 07:44:48 netwalker anacron[4478]: Will run job `cron.daily' in 5 min. Mar 17 07:44:48 netwalker anacron[4478]: Will run job `cron.weekly' in 10 min. Mar 17 07:44:48 netwalker anacron[4478]: Jobs will be executed sequentially Mar 17 07:44:48 netwalker cron[4482]: (CRON) INFO (Running @reboot jobs) Mar 17 07:44:49 netwalker init: apport post-stop process (4488) terminated with status 1 Mar 17 07:44:49 netwalker apmd[4548]: apmd 3.2.1 interfacing with apm driver 1.13 and APM BIOS 1.2 Mar 17 07:44:51 netwalker init: ubiquity main process (4906) terminated with status 1 Mar 17 07:44:54 netwalker gdm-binary[4913]: WARNING: Unable to find users: no seat-id found Mar 17 07:44:55 netwalker dhclient: isc-dhclient-V3.1.3 Mar 17 07:44:55 netwalker dhclient: isc-dhclient-V3.1.3 Mar 17 07:44:56 netwalker gdm-session-worker[5068]: GLib-GObject-CRITICAL: g_value_get_boolean: assertion `G_VALUE_HOLDS_BOOLEAN (value)' failed Mar 17 07:45:07 netwalker polkitd[5177]: started daemon version 0.96 using authority implementation `local' version `0.96' /var/log/dmesg †0.230000] [<c000c970>] (mxc_board_init+0x18/0x130) from [<c000976c>] (customize_machine+0x1c/0x24) [ 0.230000] [<c000976c>] (customize_machine+0x1c/0x24) from [<c0024498>] (do_one_initcall+0x34/0x1a8) [ 0.230000] [<c0024498>] (do_one_initcall+0x34/0x1a8) from [<c00089b0>] (kernel_init+0x118/0x180) [ 0.230000] [<c00089b0>] (kernel_init+0x118/0x180) from [<c0025a50>] (kernel_thread_exit+0x0/0x8) [ 0.230000] ---[ end trace 1b75b31a2719ed1e ]--- [ 0.230000] ------------[ cut here ]------------ [ 0.230000] WARNING: at drivers/gpio/gpiolib.c:83 gpio_ensure_requested+0x58/0x11c() [ 0.230000] autorequest GPIO-47 [ 0.230000] Modules linked in: [ 0.230000] [<c0029bdc>] (unwind_backtrace+0x0/0xe0) from [<c004abd4>] (warn_slowpath_common+0x50/0x60) [ 0.230000] [<c004abd4>] (warn_slowpath_common+0x50/0x60) from [<c004ac1c>] (warn_slowpath_fmt+0x24/0x34) [ 0.230000] [<c004ac1c>] (warn_slowpath_fmt+0x24/0x34) from [<c01e8c38>] (gpio_ensure_requested+0x58/0x11c) [ 0.230000] [<c01e8c38>] (gpio_ensure_requested+0x58/0x11c) from [<c01e8f04>] (gpio_direction_input+0xb0/0x150) [ 0.230000] [<c01e8f04>] (gpio_direction_input+0xb0/0x150) from [<c000ccf8>] (mx51_erdos_io_init+0x110/0x224) [ 0.230000] [<c000ccf8>] (mx51_erdos_io_init+0x110/0x224) from [<c000c970>] (mxc_board_init+0x18/0x130) [ 0.230000] [<c000c970>] (mxc_board_init+0x18/0x130) from [<c000976c>] (customize_machine+0x1c/0x24) [ 0.230000] [<c000976c>] (customize_machine+0x1c/0x24) from [<c0024498>] (do_one_initcall+0x34/0x1a8) [ 0.230000] [<c0024498>] (do_one_initcall+0x34/0x1a8) from [<c00089b0>] (kernel_init+0x118/0x180) [ 0.230000] [<c00089b0>] (kernel_init+0x118/0x180) from [<c0025a50>] (kernel_thread_exit+0x0/0x8) [ 0.230000] ---[ end trace 1b75b31a2719ed1f ]--- [ 0.410000] IRAM READY [ 0.410000] mxc_init_dvfs_per initialised [ 0.420000] darion: mxc_init_mmc started [ 0.420000] darion: mx51_erdos_init_mc13892 started [ 0.420000] darion: mxc_init_power_off started [ 0.420000] darion: mxc_init_sgtl5000 started [ 0.420000] Using SDMA I.API [ 0.420000] MXC DMA API initialized [ 0.420000] SDIO detect port functions initialized. [ 0.430000] bio: create slab <bio-0> at 0 [ 0.430000] SCSI subsystem initialized [ 0.430000] CSPI: mxc_spi-0 probed [ 0.430000] usbcore: registered new interface driver usbfs [ 0.430000] usbcore: registered new interface driver hub [ 0.430000] usbcore: registered new device driver usb [ 0.430000] MXC I2C driver [ 0.430000] MXC I2C driver [ 0.430000] MXC HS I2C driver [ 0.430000] IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7) [ 0.430000] PMIC Light driver loading... [ 0.440000] Bluetooth: Core ver 2.15 [ 0.440000] NET: Registered protocol family 31 [ 0.440000] Bluetooth: HCI device and connection manager initialized [ 0.440000] Bluetooth: HCI socket layer initialized [ 0.440000] mc13892 Rev 2.0 FinVer 2 detected [ 0.480000] Initializing regulators for ERDOS. [ 0.530000] regulator: SW1: 600 <--> 1375 mV [ 0.560000] regulator: SW2: 900 <--> 1850 mV [ 0.560000] regulator: SW3: 1100 <--> 1850 mV [ 0.560000] regulator: SW4: 1100 <--> 1850 mV [ 0.560000] regulator: SWBST: 0 mV [ 0.580000] regulator: VIOHI: 0 mV [ 0.600000] regulator: VPLL: 1050 <--> 1800 mV [ 0.620000] regulator: VDIG: 1050 <--> 1800 mV [ 0.620000] regulator: VSD: 1800 <--> 3150 mV [ 0.640000] regulator: VUSB2: 2400 <--> 2775 mV [ 0.680000] regulator: VVIDEO: 2775 mV [ 0.680000] regulator: VAUDIO: 2300 <--> 3000 mV [ 0.680000] regulator: VCAM: 2500 <--> 3000 mV fast normal [ 0.680000] regulator: VGEN1: 1200 <--> 3150 mV [ 0.680000] regulator: VGEN2: 1200 <--> 3150 mV [ 0.680000] regulator: VGEN3: 1800 <--> 2900 mV [ 0.700000] regulator: VUSB: 0 mV [ 0.700000] regulator: GPO1: 0 mV [ 0.700000] regulator: GPO2: 0 mV [ 0.700000] regulator: GPO3: 0 mV [ 0.700000] regulator: GPO4: 0 mV [ 0.700000] PMIC ADC start probe [ 0.780000] PMIC Light successfully loaded [ 0.780000] Device spi1.0 probed [ 0.780000] MXC WatchDog Driver 2.0 [ 0.780000] clk: Unable to get requested clock: wdog_clk [ 0.780000] MXC Watchdog # 0 Timer: initial timeout 123 sec [ 0.780000] NET: Registered protocol family 2 [ 0.780000] IP route cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.780000] TCP established hash table entries: 16384 (order: 5, 131072 bytes) [ 0.780000] TCP bind hash table entries: 16384 (order: 4, 65536 bytes) [ 0.780000] TCP: Hash tables configured (established 16384 bind 16384) [ 0.780000] TCP reno registered [ 0.780000] NET: Registered protocol family 1 [ 0.780000] LPMode driver module loaded [ 0.780000] Static Power Management for Freescale i.MX51 [ 0.780000] PM driver module loaded [ 0.780000] sdram autogating driver module loaded [ 0.780000] Bus freq driver module loaded [ 0.780000] usb: Host 1 host (isp1504) registered [ 0.780000] usb: DR host (utmi) registered [ 0.780000] mxc_dvfs_core_probe [ 0.780000] DVFS driver module loaded [ 0.780000] i.MXC CPU frequency driver [ 0.780000] DVFS PER driver module loaded [ 0.780000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.780000] msgmni has been set to 941 [ 0.790000] Switched to high resolution mode on CPU 0 [ 0.790000] alg: No test for stdrng (krng) [ 0.790000] io scheduler noop registered [ 0.790000] io scheduler cfq registered (default) [ 0.790000] PWM: Rate=658415 [Hz] Period=2194 [cnt] [ 0.790000] mode_option=1024x768M-16@60 [ 0.790000] fbcvt: 1024x768@60: CVT Name - .786M3 [ 0.810000] mxc_ipu mxc_ipu: Channel already disabled 9 [ 0.810000] mxc_ipu mxc_ipu: Channel already uninitialized 9 [ 0.830000] IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7) [ 0.860000] Console: switching to colour frame buffer device 128x48 [ 0.930000] DMFC high resolution has set, will not change [ 1.390000] Serial: MXC Internal UART driver [ 1.390000] mxcintuart.0: ttymxc0 at MMIO 0x73fbc000 (irq = 31) is a Freescale i.MX [ 1.390000] mxcintuart.1: ttymxc1 at MMIO 0x73fc0000 (irq = 32) is a Freescale i.MX [ 1.390000] mxcintuart.2: ttymxc2 at MMIO 0x7000c000 (irq = 33) is a Freescale i.MX [ 1.390000] loop: module loaded [ 1.400000] usbcore: registered new interface driver dm9601 [ 1.400000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.620000] fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller [ 1.630000] fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1 [ 1.670000] fsl-ehci fsl-ehci.0: irq 14, io base 0x73f80200 [ 1.690000] fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00 [ 1.700000] usb usb1: configuration #1 chosen from 1 choice [ 1.700000] hub 1-0:1.0: USB hub found [ 1.700000] hub 1-0:1.0: 1 port detected [ 1.810000] fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller [ 1.820000] fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2 [ 1.850000] fsl-ehci fsl-ehci.1: irq 18, io base 0x73f80000 [ 1.870000] fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00 [ 1.880000] usb usb2: configuration #1 chosen from 1 choice [ 1.880000] hub 2-0:1.0: USB hub found [ 1.880000] hub 2-0:1.0: 1 port detected [ 1.880000] Initializing USB Mass Storage driver... [ 1.890000] usbcore: registered new interface driver usb-storage [ 1.890000] USB Mass Storage support registered. [ 1.890000] usbcore: registered new interface driver libusual [ 1.890000] usbcore: registered new interface driver ums-cypress [ 1.900000] usbcore: registered new interface driver ums-freecom [ 1.900000] usbcore: registered new interface driver ums-isd200 [ 1.900000] usbcore: registered new interface driver ums-usbat [ 1.900000] usbcore: registered new interface driver usbserial [ 1.910000] USB Serial support registered for generic [ 2.020000] usb 1-1: new high speed USB device using fsl-ehci and address 2 [ 2.170000] usb 1-1: configuration #1 chosen from 1 choice [ 2.180000] hub 1-1:1.0: USB hub found [ 2.180000] hub 1-1:1.0: 4 ports detected [ 2.180000] usbcore: registered new interface driver usbserial_generic [ 2.190000] usbserial: USB Serial Driver core [ 2.190000] USB Serial support registered for pl2303 [ 2.190000] usbcore: registered new interface driver pl2303 [ 2.190000] pl2303: Prolific PL2303 USB to serial adaptor driver [ 2.200000] mice: PS/2 mouse device common for all mice [ 2.200000] mc13892 rtc probe start [ 2.220000] pmic_rtc pmic_rtc.1: rtc core: registered pmic_rtc as rtc0 [ 2.230000] mc13892 rtc probe succeed [ 2.240000] i2c /dev entries driver [ 2.240000] Linux video capture interface: v2.00 [ 2.240000] MXC Video Output MXC Video Output.0: Registered device video0 [ 2.250000] APM Battery Driver [ 2.250000] Bluetooth: HCI UART driver ver 2.2 [ 2.250000] Bluetooth: HCI H4 protocol initialized [ 2.250000] Bluetooth: HCI BCSP protocol initialized [ 2.250000] Bluetooth: HCILL protocol initialized [ 2.260000] Bluetooth: Generic Bluetooth USB driver ver 0.5 [ 2.260000] usbcore: registered new interface driver btusb [ 2.260000] Bluetooth: Generic Bluetooth SDIO driver ver 0.1 [ 2.260000] PMIC Character device: successfully loaded [ 2.300000] usb 2-1: new low speed USB device using fsl-ehci and address 2 [ 2.310000] power_supply mc13892_charger: charger status: online [ 2.320000] VPU initialized [ 2.320000] mxsdhci: MXC Secure Digital Host Controller Interface driver [ 2.330000] mxsdhci: MXC SDHCI Controller Driver. [ 2.330000] mmc0: SDHCI detect irq 128 irq 1 INTERNAL DMA [ 2.330000] mxsdhci: MXC SDHCI Controller Driver. [ 2.330000] mmc1: SDHCI detect irq 0 irq 2 INTERNAL DMA [ 2.340000] usbcore: registered new interface driver usbhid [ 2.340000] usbhid: v2.6:USB HID core driver [ 2.350000] Advanced Linux Sound Architecture Driver Version 1.0.20. [ 2.350000] regulator: Unable to get requested regulator: VDDIO [ 2.350000] regulator: Unable to get requested regulator: VDDA [ 2.350000] regulator: Unable to get requested regulator: VDDD [ 2.380000] sgtl5000-i2c 1-000a: SGTL5000 revision 17 [ 2.410000] No device for DAI imx-ssi-1-0 [ 2.420000] No device for DAI imx-ssi-1-1 [ 2.430000] No device for DAI imx-ssi-2-0 [ 2.440000] No device for DAI imx-ssi-2-1 [ 2.450000] DMA Sound Buffers Allocated:UseIram=1 buf->addr=1fff3000 buf->area=de8a8000 size=24576 [ 2.460000] DMA Sound Buffers Allocated:UseIram=1 buf->addr=ac128000 buf->area=fc16c000 size=24576 [ 2.470000] asoc: SGTL5000 <-> imx-ssi-2-0 mapping ok [ 2.530000] usb 2-1: configuration #1 chosen from 1 choice [ 2.540000] ALSA device list: [ 2.550000] #0: imx-3stack (SGTL5000) [ 2.550000] TCP cubic registered [ 2.550000] NET: Registered protocol family 17 [ 2.550000] RPC: Registered udp transport module. [ 2.560000] RPC: Registered tcp transport module. [ 2.560000] lib80211: common routines for IEEE802.11 drivers [ 2.560000] lib80211_crypt: registered algorithm 'NULL' [ 2.560000] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2 [ 2.560000] regulator_init_complete: incomplete constraints, leaving GPO4 on [ 2.570000] regulator_init_complete: incomplete constraints, leaving GPO3 on [ 2.570000] regulator_init_complete: incomplete constraints, leaving GPO2 on [ 2.570000] regulator_init_complete: incomplete constraints, leaving GPO1 on [ 2.570000] regulator_init_complete: incomplete constraints, leaving VUSB on [ 2.580000] regulator_init_complete: incomplete constraints, leaving VGEN3 on [ 2.580000] regulator_init_complete: incomplete constraints, leaving VGEN2 on [ 2.580000] regulator_init_complete: incomplete constraints, leaving VGEN1 on [ 2.580000] regulator_init_complete: incomplete constraints, leaving VCAM on [ 2.580000] regulator_init_complete: incomplete constraints, leaving VAUDIO on [ 2.590000] regulator_init_complete: incomplete constraints, leaving VUSB2 on [ 2.590000] regulator_init_complete: incomplete constraints, leaving VSD on [ 2.590000] regulator_init_complete: incomplete constraints, leaving VDIG on [ 2.590000] regulator_init_complete: incomplete constraints, leaving VPLL on [ 2.590000] regulator_init_complete: incomplete constraints, leaving VIOHI on [ 2.590000] regulator_init_complete: incomplete constraints, leaving SWBST on [ 2.600000] input: SHARP USB Keyboard as /devices/platform/fsl-ehci.1/usb2/2-1/2-1:1.0/input/input1 [ 2.600000] generic-usb 0003:04DD:92E7.0001: input,hidraw0: USB HID v1.10 Keyboard [SHARP USB Keyboard] on usb-fsl-ehci.1-1/input0 [ 2.610000] input: mxc_ts as /devices/virtual/input/input0 [ 2.610000] mxc input touchscreen loaded [ 2.630000] pmic_rtc pmic_rtc.1: setting system clock to 2011-03-17 07:44:11 UTC (1300347851) [ 2.630000] darion_debug:do_initcalls ok [ 2.640000] Waiting 20sec before mounting root device... [ 2.670000] input: SHARP USB Keyboard as /devices/platform/fsl-ehci.1/usb2/2-1/2-1:1.1/input/input2 [ 2.670000] generic-usb 0003:04DD:92E7.0002: input,hidraw1: USB HID v1.10 Device [SHARP USB Keyboard] on usb-fsl-ehci.1-1/input1 [ 2.760000] usb 1-1.2: new high speed USB device using fsl-ehci and address 3 [ 2.880000] usb 1-1.2: configuration #1 chosen from 1 choice [ 2.890000] hub 1-1.2:1.0: USB hub found [ 2.900000] hub 1-1.2:1.0: 4 ports detected [ 3.190000] usb 1-1.2.1: new high speed USB device using fsl-ehci and address 4 [ 3.310000] usb 1-1.2.1: configuration #1 chosen from 1 choice [ 3.320000] scsi0 : SCSI emulation for USB Mass Storage devices [ 3.330000] usb-storage: device found at 4 [ 3.330000] usb-storage: waiting for device to settle before scanning [ 3.410000] usb 1-1.2.2: new high speed USB device using fsl-ehci and address 5 [ 3.530000] usb 1-1.2.2: configuration #1 chosen from 1 choice [ 3.540000] hub 1-1.2.2:1.0: USB hub found [ 3.550000] hub 1-1.2.2:1.0: 4 ports detected [ 3.640000] usb 1-1.2.4: new high speed USB device using fsl-ehci and address 6 [ 3.760000] usb 1-1.2.4: configuration #1 chosen from 1 choice [ 3.770000] hub 1-1.2.4:1.0: USB hub found [ 3.780000] hub 1-1.2.4:1.0: 4 ports detected [ 4.070000] usb 1-1.2.4.4: new full speed USB device using fsl-ehci and address 7 [ 4.200000] usb 1-1.2.4.4: configuration #1 chosen from 1 choice [ 4.440000] scsi 0:0:0:0: Direct-Access I-O DATA HDCR-U PQ: 0 ANSI: 2 CCS [ 4.450000] usb-storage: device scan complete [ 4.450000] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB) [ 4.460000] sd 0:0:0:0: [sda] Write Protect is off [ 4.460000] sd 0:0:0:0: [sda] Mode Sense: 3c 00 00 00 [ 4.460000] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 4.470000] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 4.470000] sda: sda1 sda2 sda3 < sda5 sda6 sda7 > [ 4.530000] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 4.550000] sd 0:0:0:0: [sda] Attached SCSI disk [ 6.610000] mmc0: new SDHC card at address e624 [ 6.620000] mmcblk0: mmc0:e624 SU04G 3.69 GiB [ 6.620000] mmcblk0: p1 [ 22.670000] EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended [ 22.680000] VFS: Mounted root (ext2 filesystem) on device 8:1. [ 22.700000] Freeing init memory: 112K [ 34.860000] ks79xx_sdio: disagrees about version of symbol module_layout 以前集めた情報 †
リンク †
xserver-xorg-video-imx †NetWalkerには GPU として OpenGL ES 2.0 に対応した AMD Z430 が入っているが、ドライバが使われていない。koxudaxi さんが GPU の 2D を叩けるようにするカーネルパッチとビルドの仕方を公開されている。(新サーバとかブログ) ビルドにはカーネルのソースコードの他に Freescale 社が作成したL2.6.28_5.1.0_ER_Oct2009 Source Release が必要。本来はFreescale のサイトに登録しないと落とせないはずだが、なぜかここからダウンロードできる。 対応カーネルのビルド †最新版のカーネルをダウンロードして展開し、koxudaxi 氏作成のパッチを当てる。 $ mkdir workdir $ cd workdir $ wget http://koxudaxi.sakura.ne.jp/netwalker_2d.patch $ wget http://koxudaxi.sakura.ne.jp/netwalker_ipu.patch $ tar zxvf ../linux-fsl-imx51_2.6.28-15.50fsl1araneo19.tar.gz $ cd jaunty-arm $ patch -p1 < ../netwalker_2d.patch patching file arch/arm/mach-mx51/clock.c patching file arch/arm/mach-mx51/crm_regs.h patching file arch/arm/mach-mx51/devices.c patching file arch/arm/plat-mxc/include/mach/mx51.h $ patch -p1 < ../netwalker_ipu.patch patching file drivers/media/video/mxc/capture/Kconfig patching file drivers/media/video/mxc/capture/Makefile patching file drivers/media/video/mxc/capture/ipu_csi_enc.c patching file drivers/media/video/mxc/capture/ipu_prp_sw.h patching file drivers/media/video/mxc/capture/ipu_prp_vf_sdc.c patching file drivers/media/video/mxc/capture/ipu_prp_vf_sdc_bg.c patching file drivers/media/video/mxc/capture/ipu_still.c patching file drivers/media/video/mxc/capture/mxc_v4l2_capture.c patching file drivers/media/video/mxc/capture/mxc_v4l2_capture.h patching file drivers/media/video/mxc/output/mxc_v4l2_output.c patching file drivers/media/video/mxc/output/mxc_v4l2_output.h patching file drivers/media/video/videobuf-dma-contig.c patching file drivers/mxc/ipu/Makefile patching file drivers/mxc/ipu/ipu_calc_stripes_sizes.c patching file drivers/mxc/ipu/ipu_common.c patching file drivers/mxc/ipu3/Makefile patching file drivers/mxc/ipu3/ipu_calc_stripes_sizes.c patching file drivers/mxc/ipu3/ipu_common.c patching file drivers/mxc/ipu3/ipu_device.c patching file drivers/mxc/ipu3/ipu_disp.c patching file drivers/mxc/ipu3/ipu_ic.c patching file drivers/mxc/ipu3/ipu_param_mem.h patching file drivers/mxc/ipu3/ipu_prv.h patching file drivers/mxc/ipu3/ipu_regs.h patching file drivers/video/mxc/mxc_ipuv3_fb.c patching file drivers/video/mxc/mxcfb.c patching file drivers/video/mxc/tve.c patching file include/linux/ipu.h patching file include/linux/mxc_v4l2.h patching file include/linux/mxcfb.h カーネルのコンフィギュレーションを設定し、ビルドする。 $ export PATH=${PATH}:/opt/cross/arm-2010.09/bin $ zcat ../config.gz > arch/arm/configs/netwalker_defconfig $ make ARCH=arm netwalker_defconfig $ make ARCH=arm menuconfig xserver-xorg-video-imx が使えるようにするには、 [*] Enable loadable module support ---> [*] Forced module loading と Device Drivers ---> <*> Userspace I/O drivers ---> <*> Userspace I/O platform driver with generic IRQ handling の2ヶ所を設定する。
imx-lib †オリジナルの Ubuntu には以下のパッケージがインストールされている。 $ dpkg -l | grep imx ii imx-lib 4.5.1-2 platform specific libraries for imx platform 中身は、 $ dpkg -L imx-lib /. /usr /usr/include /usr/include/ScreenLayer.h /usr/include/iso7816-3.h /usr/include/vpu_io.h /usr/include/vpu_lib.h /usr/include/mxc_ipu_hl_lib.h /usr/lib /usr/lib/libfsl_shw.so /usr/lib/libsahara.so /usr/lib/libfsl_shw.a /usr/lib/libIpuScreenLayer.so /usr/lib/libsahara.a /usr/lib/libipu.so /usr/lib/libvpu.so /usr/lib/vpu_fw_imx51.bin /usr/lib/libsim.so /usr/lib/libvpu.a ビルド †$ mkdir workdir $ cd workdir $ wget http://repository.timesys.com/buildsources/i/imx-lib/imx-lib-09.12.01/imx-lib-09.12.01.tar.gz $ tar zxvf imx-lib-09.12.01.tar.gz $ cd imx-lib-09.12.01 $ export PATH=${PATH}:/opt/cross/arm-2010.09/bin $ make PLATFORM=IMX51 CROSS_COMPILE=arm-none-linux-gnueabi- \ INCLUDE="-I/home/itou-r/Netwalker/kernel/workdir/linux-sharp-netwalker-2.6.31/include \ -I/home/itou-r/Netwalker/kernel/workdir/linux-sharp-netwalker-2.6.31/drivers/mxc/security/rng/include \ -I/home/itou-r/Netwalker/kernel/workdir/linux-sharp-netwalker-2.6.31/drivers/mxc/security/sahara2/include" $ mkdir /tmp/rootfs $ make PLATFORM=IMX51 CROSS_COMPILE=arm-none-linux-gnueabi- DEST_DIR=/tmp/rootfs install $ cd /tmp/rootfs $ sudo chown -R root:root usr $ tar czvf ../imx-lib-09.12.01.tar.gz usr
リンク †
|