Re: [PATCH] add armhf/omap
Hello,
2011/6/11 Hector Oron <hector.oron@gmail.com>:
> 2011/6/7 Sebastian Reichel <sre@debian.org>:
>> I (re)moved the armhf/config changes. Here is the new version:
>> http://pkg-n900.alioth.debian.org/kernel/linux-2.6-omap-v2.patch
> Patch included into patched kernel version at debian-ports.org armhf
> port, so we can test it easily.
I was able to test on pandaboard, here is dmesg output:
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.39-2+armhf.1-omap (Debian
2.6.39-2+armhf.1) (zumbi@debian.org) (gcc version 4.5.3 (Debian
4.5.3-1) ) #1 SMP Sat Jun 11 04:02:19 UTC 2011
[ 0.000000] CPU: ARMv7 Processor [411fc092] revision 2 (ARMv7), cr=10c5387f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: OMAP4 Panda board
[ 0.000000] bootconsole [earlycon0] enabled
[ 0.000000] Reserving 33554432 bytes SDRAM for VRAM
[ 0.000000] Memory policy: ECC disabled, Data cache writealloc
[ 0.000000] OMAP4430 ES2.0
[ 0.000000] SRAM: Mapped pa 0x40300000 to va 0xfe400000 size: 0xe000
[ 0.000000] On node 0 totalpages: 238080
[ 0.000000] free_area_init_node: node 0, pgdat c04f2de0,
node_mem_map c0567000
[ 0.000000] Normal zone: 1536 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 180736 pages, LIFO batch:31
[ 0.000000] HighMem zone: 512 pages used for memmap
[ 0.000000] HighMem zone: 55296 pages, LIFO batch:15
[ 0.000000] powerdomain: waited too long for powerdomain dss_pwrdm
to complete transition
[ 0.000000] PERCPU: Embedded 7 pages/cpu @c0d6d000 s7648 r8192 d12832 u32768
[ 0.000000] pcpu-alloc: s7648 r8192 d12832 u32768 alloc=8*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 236032
[ 0.000000] Kernel command line: ro elevator=noop vram=32M
mem=456M@0x80000000 mem=512M@0xA0000000 fixrtc quiet splash
console=ttyO2,115200n8 rootdelay earlyprintk root=/dev/mmcblk0p2
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 456MB 474MB = 930MB total
[ 0.000000] Memory: 933284k/933284k available, 57948k reserved,
223232K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
[ 0.000000] vmalloc : 0xf0800000 - 0xf8000000 ( 120 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .init : 0xc0008000 - 0xc004a000 ( 264 kB)
[ 0.000000] .text : 0xc004a000 - 0xc048d620 (4366 kB)
[ 0.000000] .data : 0xc048e000 - 0xc04f4418 ( 410 kB)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU dyntick-idle grace-period acceleration is enabled.
[ 0.000000] RCU-based detection of stalled CPUs is disabled.
[ 0.000000] NR_IRQS:410
[ 0.000000] omap_hwmod: dpll_mpu_m2_ck: missing clockdomain for
dpll_mpu_m2_ck.
[ 0.000000] OMAP clockevent source: GPTIMER1 at 32768 Hz
[ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns,
wraps every 131071999ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000244] Calibrating delay loop... 2007.19 BogoMIPS (lpj=7839744)
[ 0.070312] pid_max: default: 32768 minimum: 301
[ 0.070526] Security Framework initialized
[ 0.070556] SELinux: Disabled at boot.
[ 0.070678] Mount-cache hash table entries: 512
[ 0.071472] Initializing cgroup subsys ns
[ 0.071502] ns_cgroup deprecated: consider using the
'clone_children' flag without the ns_cgroup.
[ 0.071533] Initializing cgroup subsys cpuacct
[ 0.071594] Initializing cgroup subsys memory
[ 0.071624] Initializing cgroup subsys devices
[ 0.071624] Initializing cgroup subsys freezer
[ 0.071655] Initializing cgroup subsys net_cls
[ 0.071655] Initializing cgroup subsys blkio
[ 0.071777] CPU: Testing write buffer coherency: ok
[ 0.072082] Calibrating local timer... 491.91MHz.
[ 0.117401] L310 cache controller enabled
[ 0.117431] l2x0: 16 ways, CACHE_ID 0x410000c4, AUX_CTRL
0x7e470000, Cache size: 1048576 B
[ 0.118530] CPU1: Booted secondary processor
[ 0.118560] CPU1: Unknown IPI message 0x1
[ 0.186126] Brought up 2 CPUs
[ 0.190307] SMP: Total of 2 processors activated (3972.37 BogoMIPS).
[ 0.190643] devtmpfs: initialized
[ 0.192535] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for emif_fw
[ 0.192565] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va
for l3_instr
[ 0.192565] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va
for l3_main_1
[ 0.192565] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va
for l3_main_2
[ 0.192596] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_abe
[ 0.192596] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_cfg
[ 0.192626] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_per
[ 0.192626] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_wkup
[ 0.192626] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va
for mpu_private
[ 0.192626] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for dsp
[ 0.192657] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for ipu
[ 0.192871] omap_hwmod: l3_div_ck: missing clockdomain for l3_div_ck.
[ 0.196105] print_constraints: dummy:
[ 0.196258] NET: Registered protocol family 16
[ 0.196411] GPMC revision 6.0
[ 0.197082] OMAP GPIO hardware version 0.1
[ 0.197143] OMAP GPIO hardware version 0.1
[ 0.197204] OMAP GPIO hardware version 0.1
[ 0.197265] OMAP GPIO hardware version 0.1
[ 0.197326] OMAP GPIO hardware version 0.1
[ 0.197387] OMAP GPIO hardware version 0.1
[ 0.198028] omap_mux_init: Add partition: #1: core, flags: 2
[ 0.198791] omap_mux_init: Add partition: #2: wkup, flags: 2
[ 0.201873] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[ 0.201873] hw-breakpoint: 1 breakpoint(s) reserved for watchpoint
single-step.
[ 0.201904] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.202453] omap_init_sham: platform not supported
[ 0.207458] omap_init_aes: platform not supported
[ 0.212890] pm_dbg_init: only OMAP3 supported
[ 0.217620] OMAP DMA hardware revision 0.0
[ 0.219635] bio: create slab <bio-0> at 0
[ 0.220001] print_constraints: vwl1271: 1800 mV
[ 0.220520] omap_device: omap2_mcspi.4: new worst case activate
latency 0: 30517
[ 0.220794] usbcore: registered new interface driver usbfs
[ 0.220855] usbcore: registered new interface driver hub
[ 0.220947] usbcore: registered new device driver usb
[ 0.231719] omap_i2c omap_i2c.1: bus 1 rev4.0 at 400 kHz
[ 0.254791] Skipping twl internal clock init and using bootloader
value (unknown osc rate)
[ 0.255249] twl6030: PIH (irq 39) chaining IRQs 368..387
[ 0.277648] print_constraints: VUSB: 3300 mV normal standby
[ 0.497680] twl6030_usb twl6030_usb: Initialized TWL6030 USB module
[ 0.497985] print_constraints: VMMC: 1200 <--> 3000 mV at 3000 mV
normal standby
[ 0.498413] print_constraints: VPP: 1800 <--> 2500 mV at 1900 mV
normal standby
[ 0.498687] print_constraints: VANA: 2100 mV normal standby
[ 0.498962] print_constraints: VCXIO: 1800 mV normal standby
[ 0.499267] print_constraints: VDAC: 1800 mV normal standby
[ 0.499664] print_constraints: VAUX2_6030: 1200 <--> 2800 mV at
1800 mV normal standby
[ 0.500061] print_constraints: VAUX3_6030: 1000 <--> 3000 mV at
1200 mV normal standby
[ 0.500366] print_constraints: CLK32KG:
[ 0.500518] omap_device: omap_i2c.1: new worst case deactivate
latency 0: 30517
[ 0.513641] omap_i2c omap_i2c.2: bus 2 rev4.0 at 400 kHz
[ 0.528869] omap_i2c omap_i2c.3: bus 3 rev4.0 at 100 kHz
[ 0.544097] omap_i2c omap_i2c.4: bus 4 rev4.0 at 400 kHz
[ 0.544677] Switching to clocksource 32k_counter
[ 0.545257] Switched to NOHz mode on CPU #1
[ 0.551727] Switched to NOHz mode on CPU #0
[ 0.555938] musb-hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
[ 0.556060] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk
combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[ 0.556060] musb-hdrc: MHDRC RTL version 2.0
[ 0.556091] musb-hdrc: setup fifo_mode 4
[ 0.556091] musb-hdrc: 28/31 max ep, 16384/16384 memory
[ 0.556213] musb-hdrc musb-hdrc: USB OTG mode controller at
fc0ab000 using DMA, IRQ 124
[ 0.556457] omap_device: musb-omap2430.-1: new worst case
deactivate latency 0: 30517
[ 0.556610] NET: Registered protocol family 2
[ 0.556854] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.557617] TCP established hash table entries: 131072 (order: 8,
1048576 bytes)
[ 0.559082] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.559814] TCP: Hash tables configured (established 131072 bind 65536)
[ 0.559814] TCP reno registered
[ 0.559844] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.559936] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.560424] NET: Registered protocol family 1
[ 0.560638] Unpacking initramfs...
[ 0.838043] Freeing initrd memory: 4880K
[ 0.838592] omap_dsp_init: 600000 bytes @ bda00000
[ 0.839019] audit: initializing netlink socket (disabled)
[ 0.839080] type=2000 audit(0.843:1): initialized
[ 0.840179] highmem bounce pool size: 64 pages
[ 0.840484] VFS: Disk quotas dquot_6.5.2
[ 0.840637] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.840789] msgmni has been set to 1396
[ 0.841308] alg: No test for stdrng (krng)
[ 0.841430] Block layer SCSI generic (bsg) driver version 0.4
loaded (major 253)
[ 0.841430] io scheduler noop registered (default)
[ 0.841461] io scheduler deadline registered
[ 0.841491] io scheduler cfq registered
[ 0.904174] OMAP DSS rev 4.0
[ 1.232574] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 1.263671] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 104) is a OMAP UART0
[ 1.271362] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 105) is a OMAP UART1
[ 1.279174] omap_uart.2: ttyO2 at MMIO 0x48020000 (irq = 106) is a OMAP UART2
[ 1.279205] console [ttyO2] enabled, bootconsole disabled
[ 1.286987] omap_uart.3: ttyO3 at MMIO 0x4806e000 (irq = 102) is a OMAP UART3
[ 1.295471] omap2-nand driver initializing
[ 1.295532] OneNAND driver initializing
[ 1.296020] mousedev: PS/2 mouse device common for all mice
[ 1.296234] Linux media interface: v0.10
[ 1.296936] omap_device: omap_i2c.1: new worst case activate latency 0: 30517
[ 1.299163] usbcore: registered new interface driver usbhid
[ 1.299163] usbhid: USB HID core driver
[ 1.299865] TCP cubic registered
[ 1.299896] NET: Registered protocol family 17
[ 1.299926] Registering the dns_resolver key type
[ 1.299957] VFP support v0.3: implementor 41 architecture 3 part 30
variant 9 rev 1
[ 1.300018] ThumbEE CPU extension supported.
[ 1.300048] Registering SWP/SWPB emulation handler
[ 1.302490] Power Management for TI OMAP4.
[ 1.310974] clock: disabling unused clocks to save power
[ 1.311462] registered taskstats version 1
[ 1.329254] Console: switching to colour frame buffer device 80x30
[ 1.333557] omapdss DPI: Could not find exact pixel clock.
Requested 23500 kHz, got 23630 kHz
[ 1.335815] regulator_init_complete: CLK32KG: incomplete
constraints, leaving on
[ 1.335968] regulator_init_complete: VAUX3_6030: incomplete
constraints, leaving on
[ 1.336120] regulator_init_complete: VAUX2_6030: incomplete
constraints, leaving on
[ 1.336242] regulator_init_complete: VDAC: incomplete constraints, leaving on
[ 1.336395] regulator_init_complete: VCXIO: incomplete constraints,
leaving on
[ 1.336547] regulator_init_complete: VANA: incomplete constraints, leaving on
[ 1.336700] regulator_init_complete: VPP: incomplete constraints, leaving on
[ 1.336822] regulator_init_complete: VUSB: incomplete constraints, leaving on
[ 1.336883] /home/zumbi/linux-2.6-2.6.39/debian/build/source_armhf_none/drivers/rtc/hctosys.c:
unable to open rtc device (rtc0)
[ 1.348937] Initializing network drop monitor service
[ 1.349273] Freeing init memory: 264K
[ 1.387786] mmc0: host does not support reading read-only switch.
assuming write-enable.
[ 1.394805] udevd[57]: starting version 168
[ 1.404235] mmc0: new high speed SDHC card at address b368
[ 1.411132] mmcblk0: mmc0:b368 LEXAR 3.73 GiB
[ 1.413024] mmcblk0: p1 p2
[ 1.530731] mmc1: card claims to support voltages below the defined
range. These will be ignored.
[ 1.551940] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
[ 1.553771] mmc1: new SDIO card at address 0001
[ 1.628417] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.628601] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[ 1.629119] ehci-omap ehci-omap.0: new USB bus registered, assigned
bus number 1
[ 1.654388] ehci-omap ehci-omap.0: irq 109, io mem 0x4a064c00
[ 1.670684] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[ 1.670776] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.670776] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 1.670776] usb usb1: Product: OMAP-EHCI Host Controller
[ 1.670806] usb usb1: Manufacturer: Linux 2.6.39-2+armhf.1-omap ehci_hcd
[ 1.670806] usb usb1: SerialNumber: ehci-omap.0
[ 1.671295] hub 1-0:1.0: USB hub found
[ 1.671325] hub 1-0:1.0: 3 ports detected
[ 1.712860] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.713195] ohci-omap3 ohci-omap3.0: OMAP3 OHCI Host Controller
[ 1.713470] ohci-omap3 ohci-omap3.0: new USB bus registered,
assigned bus number 2
[ 1.732330] ohci-omap3 ohci-omap3.0: irq 108, io mem 0x4a064800
[ 1.814331] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.814331] usb usb2: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 1.814361] usb usb2: Product: OMAP3 OHCI Host Controller
[ 1.814361] usb usb2: Manufacturer: Linux 2.6.39-2+armhf.1-omap ohci_hcd
[ 1.814361] usb usb2: SerialNumber: ohci-omap3.0
[ 1.814819] hub 2-0:1.0: USB hub found
[ 1.814819] hub 2-0:1.0: 3 ports detected
[ 2.005706] usb 1-1: new high speed USB device number 2 using ehci-omap
[ 2.318298] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 2.318328] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.318939] hub 1-1:1.0: USB hub found
[ 2.319061] hub 1-1:1.0: 5 ports detected
[ 2.880889] usb 1-1.1: new high speed USB device number 3 using ehci-omap
[ 3.052825] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 3.052825] usb 1-1.1: New USB device strings: Mfr=0, Product=0,
SerialNumber=0
[ 181.584716] device-mapper: uevent: version 1.0.3
[ 181.584960] device-mapper: ioctl: 4.20.0-ioctl (2011-02-02)
initialised: dm-devel@redhat.com
[ 181.821166] EXT4-fs (mmcblk0p2): mounted filesystem with ordered
data mode. Opts: (null)
[ 182.368591] udevd[224]: starting version 171
[ 182.572052] Registered led device: pandaboard::status1
[ 182.572143] Registered led device: pandaboard::status2
[ 182.639709] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
[ 182.668914] omap_device: omap_wdt.-1: new worst case activate
latency 0: 91552
[ 182.669525] OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
[ 182.789794] cfg80211: Calling CRDA to update world regulatory domain
[ 182.836120] smsc95xx v1.0.4
[ 182.941619] smsc95xx 1-1.1:1.0: eth0: register 'smsc95xx' at
usb-ehci-omap.0-1.1, smsc95xx USB 2.0 Ethernet, 9a:ea:7d:53:d9:79
[ 182.941711] usbcore: registered new interface driver smsc95xx
[ 183.126861] wl1271: ERROR could not get nvs file: -2
[ 183.166168] wl1271: loaded
[ 183.166168] wl1271: initialized
[ 183.211090] Bluetooth: Core ver 2.16
[ 183.211181] NET: Registered protocol family 31
[ 183.211181] Bluetooth: HCI device and connection manager initialized
[ 183.211181] Bluetooth: HCI socket layer initialized
[ 183.211212] Bluetooth: L2CAP socket layer initialized
[ 183.211364] Bluetooth: SCO socket layer initialized
[ 183.220367] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[ 184.049499] ------------[ cut here ]------------
[ 184.049530] WARNING: at
/home/zumbi/linux-2.6-2.6.39/debian/build/source_armhf_none/kernel/irq/handle.c:130
handle_irq_event_percpu+0xf8/0x1f8()
[ 184.049560] irq 379 handler twl_rtc_interrupt+0x0/0x90 [rtc_twl]
enabled interrupts
[ 184.049591] Modules linked in: btsdio bluetooth arc4 ecb
wl12xx_sdio wl12xx mac80211 smsc95xx usbnet cfg80211 mii omap_wdt
rtc_twl rfkill leds_gpio ext4 mbcache jbd2 crc16 dm_mod ohci_hcd
ehci_hcd
[ 184.049682] [<c005604c>] (unwind_backtrace+0x0/0xe4) from
[<c0087c34>] (warn_slowpath_common+0x4c/0x64)
[ 184.049713] [<c0087c34>] (warn_slowpath_common+0x4c/0x64) from
[<c0087ccc>] (warn_slowpath_fmt+0x2c/0x3c)
[ 184.049713] [<c0087ccc>] (warn_slowpath_fmt+0x2c/0x3c) from
[<c00ce1dc>] (handle_irq_event_percpu+0xf8/0x1f8)
[ 184.049743] [<c00ce1dc>] (handle_irq_event_percpu+0xf8/0x1f8) from
[<c00ce31c>] (handle_irq_event+0x40/0x60)
[ 184.049774] [<c00ce31c>] (handle_irq_event+0x40/0x60) from
[<c00d03a4>] (handle_simple_irq+0x98/0xbc)
[ 184.049804] [<c00d03a4>] (handle_simple_irq+0x98/0xbc) from
[<c024c76c>] (twl6030_irq_thread+0xe0/0x154)
[ 184.049835] [<c024c76c>] (twl6030_irq_thread+0xe0/0x154) from
[<c00a4ae8>] (kthread+0x80/0x88)
[ 184.049835] [<c00a4ae8>] (kthread+0x80/0x88) from [<c0050938>]
(kernel_thread_exit+0x0/0x8)
[ 184.049865] ---[ end trace 5f659a4b3123a174 ]---
[ 184.105072] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 186.229675] nbd: registered device at major 43
[ 481.990051] EXT4-fs (mmcblk0p2): error count: 24
[ 481.990081] EXT4-fs (mmcblk0p2): initial error at 185:
ext4_lookup:1044: inode 97
[ 481.990081] EXT4-fs (mmcblk0p2): last error at 6111225:
ext4_lookup:1043: inode 97
I suspect
[ 184.049530] WARNING: at
/home/zumbi/linux-2.6-2.6.39/debian/build/source_armhf_none/kernel/irq/handle.c:130
handle_irq_event_percpu+0xf8/0x1f8()
is due to missing TI firmware for Wilink (wlan+bluetooth+FM radio).
Best regards,
--
Héctor Orón -.. . -... .. .- -. -.. . ...- . .-.. --- .--. . .-.
<free spam>
-- Would you like to make a donation for Debian Conference?
** http://debconf11.debconf.org/payments.xhtml **
</free spam>
Reply to: