Hi; I'm hoping somebody will be willing to run a test kernel for me on some omap boards and send me the dmesg output. (I'm trying to sort out QEMU's modelling of the OMAP ID registers and the TRMs are rather unhelpful; in particular the OMAP35x TRM claims that there are two overlapping registers at addresses 0x218-0x21c!)
I've done a Beagle xM which is an OMAP3630, but I'm looking for the results for OMAP34xx/35xx (I think classic Beagle is this) and also if possible an OMAP2 board.
The kernel is http://people.linaro.org/~pmaydell/uImage.test (it's the linaro 3.0 kernel with a stock omap2_defconfig and some extra printks so it shouldn't do anything too alarming to your board :-)). It needs the command line arguments 'earlyprintk debug console=ttyO2,115200' (possibly for omap2 the console tty device is different)
and I'm interested in the bit of dmesg output near the start: [ 0.000000] PMM: ID register dump: [ 0.000000] register offset 0x204 value 0x0b89102f [ 0.000000] register offset 0x208 value 0x00000000 [ 0.000000] register offset 0x20c value 0x00000000 [ 0.000000] register offset 0x210 value 0x000000f0 [ 0.000000] register offset 0x214 value 0xcafeb891 [ 0.000000] register offset 0x218 value 0x0703201f [ 0.000000] register offset 0x21c value 0x015739ea [ 0.000000] register offset 0x220 value 0x1bf00000 [ 0.000000] register offset 0x224 value 0x5dd40000 [ 0.000000] OMAP3630 ES1.0 (l2cache iva sgx neon isp 192mhz_clk )
(so you don't need the initrd/modules/etc, it's ok if it doesn't boot fully.)
Thanks in advance! -- PMM
Hi Peter,
On Mon, Feb 27, 2012 at 9:35 PM, Peter Maydell peter.maydell@linaro.org wrote:
Hi; I'm hoping somebody will be willing to run a test kernel for me on some omap boards and send me the dmesg output. (I'm trying to sort out QEMU's modelling of the OMAP ID registers and the TRMs are rather unhelpful; in particular the OMAP35x TRM claims that there are two overlapping registers at addresses 0x218-0x21c!)
I've done a Beagle xM which is an OMAP3630, but I'm looking for the results for OMAP34xx/35xx (I think classic Beagle is this) and also if possible an OMAP2 board.
The kernel is http://people.linaro.org/~pmaydell/uImage.test (it's the linaro 3.0 kernel with a stock omap2_defconfig and some extra printks so it shouldn't do anything too alarming to your board :-)). It needs the command line arguments 'earlyprintk debug console=ttyO2,115200' (possibly for omap2 the console tty device is different)
and I'm interested in the bit of dmesg output near the start: [ 0.000000] PMM: ID register dump: [ 0.000000] register offset 0x204 value 0x0b89102f [ 0.000000] register offset 0x208 value 0x00000000 [ 0.000000] register offset 0x20c value 0x00000000 [ 0.000000] register offset 0x210 value 0x000000f0 [ 0.000000] register offset 0x214 value 0xcafeb891 [ 0.000000] register offset 0x218 value 0x0703201f [ 0.000000] register offset 0x21c value 0x015739ea [ 0.000000] register offset 0x220 value 0x1bf00000 [ 0.000000] register offset 0x224 value 0x5dd40000 [ 0.000000] OMAP3630 ES1.0 (l2cache iva sgx neon isp 192mhz_clk )
(so you don't need the initrd/modules/etc, it's ok if it doesn't boot fully.)
Here is the console output on a Beagleboard (3530 ES2.1):
[ 0.000000] Linux version 3.0.12-00764-g1a49060-dirty (petmay01@cam-vm-266) (gcc vers ion 4.6.1 (Ubuntu/Linaro 4.6.1-7ubuntu2~ppa3) ) #3 SMP Mon Feb 27 19:59:45 UTC 2012 [ 0.000000] CPU: ARMv7 Processor [411fc082] revision 2 (ARMv7), cr=10c53c7d [ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache [ 0.000000] Machine: OMAP3 Beagle Board [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] PMM: ID register dump: [ 0.000000] register offset 0x204 value 0x2b7ae02f [ 0.000000] register offset 0x208 value 0x00000000 [ 0.000000] register offset 0x20c value 0x00000000 [ 0.000000] register offset 0x210 value 0x000000f0 [ 0.000000] register offset 0x214 value 0xcafeb7ae [ 0.000000] register offset 0x218 value 0x09008009 [ 0.000000] register offset 0x21c value 0x04013ef1 [ 0.000000] register offset 0x220 value 0x00000000 [ 0.000000] register offset 0x224 value 0x0f600002 [ 0.000000] OMAP3430/3530 ES2.1 (l2cache iva sgx neon isp ) [ 0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000 [ 0.000000] On node 0 totalpages: 32768 [ 0.000000] free_area_init_node: node 0, pgdat c0655920, node_mem_map c0bac000 [ 0.000000] Normal zone: 256 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 32512 pages, LIFO batch:7 [ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz [ 0.000000] Reprogramming SDRC clock to 332000000 Hz [ 0.000000] PERCPU: Embedded 7 pages/cpu @c0cb0000 s5984 r8192 d14496 u32768 [ 0.000000] pcpu-alloc: s5984 r8192 d14496 u32768 alloc=8*4096 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 3251 2 [ 0.000000] Kernel command line: earlyprintk debug console=ttyO2,115200 [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Memory: 128MB = 128MB total [ 0.000000] Memory: 117952k/117952k available, 13120k 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] DMA : 0xffc00000 - 0xffe00000 ( 2 MB) [ 0.000000] vmalloc : 0xc8800000 - 0xf8000000 ( 760 MB) [ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc058c2c8 (5649 kB) [ 0.000000] .init : 0xc058d000 - 0xc05d4760 ( 286 kB) [ 0.000000] .data : 0xc05d6000 - 0xc0656d40 ( 516 kB) [ 0.000000] .bss : 0xc0656d64 - 0xc0babd64 (5460 kB) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:410 [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts [ 0.000000] Total of 96 interrupts on 1 active controller [ 0.000000] omap_hwmod: gpt12_fck: missing clockdomain for gpt12_fck. [ 0.000000] OMAP clockevent source: GPTIMER12 at 32768 Hz [ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999m s [ 0.000000] Console: colour dummy device 80x30 [ 0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 0.000000] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 0.000000] ... MAX_LOCK_DEPTH: 48 [ 0.000000] ... MAX_LOCKDEP_KEYS: 8191 [ 0.000000] ... CLASSHASH_SIZE: 4096 [ 0.000000] ... MAX_LOCKDEP_ENTRIES: 16384 [ 0.000000] ... MAX_LOCKDEP_CHAINS: 32768 [ 0.000000] ... CHAINHASH_SIZE: 16384 [ 0.000000] memory used by lock dependency info: 3695 kB [ 0.000000] per task-struct memory footprint: 1152 bytes [ 0.001098] Calibrating delay loop... 487.36 BogoMIPS (lpj=1904640) [ 0.084350] pid_max: default: 32768 minimum: 301 [ 0.085296] Security Framework initialized [ 0.085784] Mount-cache hash table entries: 512 [ 0.091217] CPU: Testing write buffer coherency: ok [ 0.092529] CPU0: thread -1, cpu 0, socket -1, mpidr 0 [ 0.094818] Brought up 1 CPUs [ 0.094848] SMP: Total of 1 processors activated (487.36 BogoMIPS). [ 0.112976] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_core [ 0.113006] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_per [ 0.113037] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_wkup [ 0.129577] omap_hwmod: i2c1: softreset failed (waited 10000 usec) [ 0.144073] omap_hwmod: i2c2: softreset failed (waited 10000 usec) [ 0.158416] omap_hwmod: i2c3: softreset failed (waited 10000 usec) [ 0.165069] print_constraints: dummy: [ 0.166625] NET: Registered protocol family 16 [ 0.167968] GPMC revision 5.0 [ 0.178894] omap_device: omap_gpio.0: new worst case activate latency 0: 122070 [ 0.181701] OMAP GPIO hardware version 2.5 [ 0.183593] OMAP GPIO hardware version 2.5 [ 0.185760] OMAP GPIO hardware version 2.5 [ 0.187377] OMAP GPIO hardware version 2.5 [ 0.189025] OMAP GPIO hardware version 2.5 [ 0.190765] OMAP GPIO hardware version 2.5 [ 0.200988] omap_mux_init: Add partition: #1: core, flags: 0 [ 0.204223] OMAP3 Beagle Rev: Ax/Bx [ 0.214721] omap_device: omap_uart.0: new worst case activate latency 0: 274658 [ 0.215087] omap_device: omap_uart.0: new worst case deactivate latency 0: 30517 [ 0.218658] Found NAND on CS0 [ 0.218688] Registering NAND on CS0 [ 0.220031] gpio_request: gpio--22 (DVI reset) status -22 [ 0.220062] Unable to get DVI reset GPIO [ 0.220428] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.241394] OMAP DMA hardware revision 4.0 [ 0.321258] bio: create slab <bio-0> at 0 [ 0.332946] SCSI subsystem initialized [ 0.333709] omap_device: omap2_mcspi.1: new worst case activate latency 0: 30517 [ 0.336822] omap_device: omap2_mcspi.2: new worst case deactivate latency 0: 30517 [ 0.343749] usbcore: registered new interface driver usbfs [ 0.345581] usbcore: registered new interface driver hub [ 0.346740] usbcore: registered new device driver usb [ 0.349060] omap_device: omap_i2c.1: new worst case activate latency 0: 30517 [ 0.360595] omap_i2c omap_i2c.1: bus 1 rev3.12 at 2600 kHz [ 0.373199] twl4030: PIH (irq 7) chaining IRQs 368..375 [ 0.373382] twl4030: power (irq 373) chaining IRQs 376..383 [ 0.376098] twl4030: gpio (irq 368) chaining IRQs 384..401 [ 0.388671] print_constraints: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby [ 0.391784] print_constraints: VDAC: 1800 mV normal standby [ 0.394592] print_constraints: VDVI: 1800 mV normal standby [ 0.397521] print_constraints: VSIM: 1800 <--> 3000 mV at 1800 mV normal standby [ 0.398773] omap_device: omap_i2c.1: new worst case deactivate latency 0: 30517 [ 0.399078] omap_i2c omap_i2c.3: bus 3 rev3.12 at 100 kHz [ 0.411285] Switching to clocksource 32k_counter [ 0.413879] Switched to NOHz mode on CPU #0 [ 0.542022] NET: Registered protocol family 2 [ 0.543060] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.546142] TCP established hash table entries: 4096 (order: 3, 32768 bytes) [ 0.546508] TCP bind hash table entries: 4096 (order: 5, 147456 bytes) [ 0.549041] TCP: Hash tables configured (established 4096 bind 4096) [ 0.549163] TCP reno registered [ 0.549194] UDP hash table entries: 64 (order: 0, 5120 bytes) [ 0.549560] UDP-Lite hash table entries: 64 (order: 0, 5120 bytes) [ 0.550872] NET: Registered protocol family 1 [ 0.553009] RPC: Registered named UNIX socket transport module. [ 0.553039] RPC: Registered udp transport module. [ 0.553039] RPC: Registered tcp transport module. [ 0.553070] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.554168] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.737548] VFS: Disk quotas dquot_6.5.2 [ 0.738037] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.741851] JFFS2 version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red Hat, Inc. [ 0.743408] msgmni has been set to 230 [ 0.748931] io scheduler noop registered [ 0.748962] io scheduler deadline registered [ 0.749267] io scheduler cfq registered (default) [ 0.754302] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.764160] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0 [ 0.766235] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1 [ 0.767700] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2 [ 1.576873] console [ttyO2] enabled [ 1.626159] brd: module loaded [ 1.651245] loop: module loaded [ 1.663635] mtdoops: mtd device (mtddev=name/number) must be supplied [ 1.670867] omap2-nand driver initializing [ 1.675750] ONFI flash detected [ 1.679412] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB 1,8 V 16-bit) [ 1.688598] Creating 5 MTD partitions on "omap2-nand.0": [ 1.694274] 0x000000000000-0x000000080000 : "X-Loader" [ 1.709533] 0x000000080000-0x000000260000 : "U-Boot" [ 1.721740] 0x000000260000-0x000000280000 : "U-Boot Env" [ 1.733795] 0x000000280000-0x000000680000 : "Kernel" [ 1.746856] 0x000000680000-0x000010000000 : "File System" [ 1.874145] OneNAND driver initializing [ 1.890075] usbcore: registered new interface driver asix [ 1.896972] usbcore: registered new interface driver cdc_ether [ 1.903808] usbcore: registered new interface driver net1080 [ 1.910644] usbcore: registered new interface driver cdc_subset [ 1.917755] usbcore: registered new interface driver zaurus [ 1.923767] cdc_ncm: 04-Aug-2011 [ 1.927978] usbcore: registered new interface driver cdc_ncm [ 1.937194] usbcore: registered new interface driver cdc_wdm [ 1.943298] Initializing USB Mass Storage driver... [ 1.949249] usbcore: registered new interface driver usb-storage [ 1.955688] USB Mass Storage support registered. [ 1.962219] usbcore: registered new interface driver libusual [ 1.969238] usbcore: registered new interface driver usbtest [ 1.979370] mousedev: PS/2 mouse device common for all mice [ 1.989074] input: gpio-keys as /devices/platform/gpio-keys/input/input0 [ 2.006561] omap_device: omap_i2c.1: new worst case activate latency 0: 91552 [ 2.015594] input: twl4030_pwrbutton as /devices/platform/omap/omap_i2c.1/i2c-1/1-004 9/twl4030_pwrbutton/input/input1 [ 2.034179] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0 [ 2.043945] i2c /dev entries driver [ 2.052062] Driver for 1-wire Dallas network protocol. [ 2.060119] omap_device: omap_wdt.-1: new worst case activate latency 0: 30517 [ 2.069946] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec [ 2.076507] omap_device: omap_wdt.-1: new worst case deactivate latency 0: 30517 [ 2.085632] twl4030_wdt twl4030_wdt: Failed to register misc device [ 2.092651] twl4030_wdt: probe of twl4030_wdt failed with error -16 [ 2.107208] omap_device: omap_i2c.1: new worst case activate latency 0: 213623 [ 2.125152] usbcore: registered new interface driver usbhid [ 2.131225] usbhid: USB HID core driver [ 2.135253] oprofile: hardware counters not available [ 2.140624] oprofile: using timer interrupt. [ 2.145904] TCP cubic registered [ 2.149383] Initializing XFRM netlink socket [ 2.154113] NET: Registered protocol family 17 [ 2.158905] NET: Registered protocol family 15 [ 2.164001] Registering the dns_resolver key type [ 2.169738] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1 [ 2.177856] ThumbEE CPU extension supported. [ 2.240722] clock: disabling unused clocks to save power [ 2.252685] regulator_init_complete: VDVI: incomplete constraints, leaving on [ 2.260620] regulator_init_complete: VDAC: incomplete constraints, leaving on [ 2.269561] twl_rtc twl_rtc: setting system clock to 2000-01-01 00:02:43 UTC (9466849 63) [ 2.283203] Root-NFS: no NFS server address [ 2.287719] VFS: Unable to mount root fs via NFS, trying floppy. [ 2.296356] VFS: Cannot open root device "(null)" or unknown-block(2,0) [ 2.303436] Please append a correct "root=" boot option; here are the available parti tions: [ 2.312347] 1f00 512 mtdblock0 (driver?) [ 2.317657] 1f01 1920 mtdblock1 (driver?) [ 2.323089] 1f02 128 mtdblock2 (driver?) [ 2.328460] 1f03 4096 mtdblock3 (driver?) [ 2.333862] 1f04 255488 mtdblock4 (driver?) [ 2.339141] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block (2,0)
Jean
Thanks in advance! -- PMM
linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev