ti8168evm - kernel26-omap does not work

Install Arch Linux ARM on other devices.

ti8168evm - kernel26-omap does not work

Postby dschauer » Fri Jul 29, 2011 7:49 pm

I'm running an up to date ALARM install on a ti8168 EVM. It is working fine, but I can only use the TI816x-LINUX-PSP kernel from the Arago project. http://arago-project.org/git/projects/?p=linux-omap3.git

I'm running off a 4GB SD card and the install was very straight forward. The PSP kernel is only up to 2.6.37 and while it does seem to support ALARM fine, I would like to use a newer kernel for PCI device testing I'm doing in order to keep current with what I'm doing on x86 based platforms.

When I attempt to book kernel26-omap 2.6.39.3-2 this is what I get:

$this->bbcode_second_pass_code('', '
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.39-ARCH (nobody@alarm) (gcc version 4.6.1 (GCC) ) #1 SMP PREEMPT Fri Jul 29 08:28:28 UTC 2011
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: ti8168evm
[ 0.000000] bootconsole [earlycon0] enabled
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] TI816X ES1.1 (neon )
[ 0.000000] SRAM: Mapped pa 0x40208000 to va 0xfe408000 size: 0x8000
[ 0.000000] Clocking rate (Crystal/Core/MPU): 0.0/0/0 MHz
[ 0.000000] PERCPU: Embedded 8 pages/cpu @c0a72000 s10240 r8192 d14336 u32768
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: earlyprintk mem=128M console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
[ 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] allocated 524288 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[ 0.000000] Memory: 128MB = 128MB total
[ 0.000000] Memory: 119732k/119732k available, 11340k 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] .init : 0xc0008000 - 0xc0058000 ( 320 kB)
[ 0.000000] .text : 0xc0058000 - 0xc0837f54 (8064 kB)
[ 0.000000] .data : 0xc0838000 - 0xc08ab998 ( 463 kB)
[ 0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptable hierarchical RCU implementation.
[ 0.000000] RCU-based detection of stalled CPUs is disabled.
[ 0.000000] Verbose stalled-CPUs detection is disabled.
[ 0.000000] NR_IRQS:410
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] Total of 128 interrupts on 1 active controller
[ 0.000000] omap_hwmod: timer1: cannot setup_one: MPU initiator hwmod mpu not yet registered
[ 0.000000] Unhandled fault: external abort on non-linefetch (0x1028) at 0xfa318010
[ 0.000000] Internal error: : 1028 [#1] PREEMPT SMP
[ 0.000000] last sysfs file:
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 Not tainted (2.6.39-ARCH #1)
[ 0.000000] PC is at omap_dm_timer_reset+0xb0/0x14c
[ 0.000000] LR is at omap_dm_timer_set_source+0x4c/0x58
[ 0.000000] pc : [<c0085380>] lr : [<c00851e8>] psr: 60000193
[ 0.000000] sp : c0839f78 ip : c08aedb4 fp : 00000000
[ 0.000000] r10: 00000000 r9 : 413fc082 r8 : 80000000
[ 0.000000] r7 : c0a6f8a0 r6 : c08acb94 r5 : 00000001 r4 : c087795c
[ 0.000000] r3 : fa318000 r2 : c0839f80 r1 : fffffffe r0 : ffffffea
[ 0.000000] Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel
[ 0.000000] Control: 10c5387f Table: 80004019 DAC: 00000015
[ 0.000000] Process swapper (pid: 0, stack limit = 0xc08382f8)
[ 0.000000] Stack: (0xc0839f78 to 0xc083a000)
[ 0.000000] 9f60: 00000003 c087795c
[ 0.000000] 9f80: 00000001 c0085650 c0763eac c08ac424 c00422f0 00000001 c08ac238 c00114a0
[ 0.000000] 9fa0: 656d6974 c0003172 00000002 00000001 c08ab9c0 c00416dc c0a6f8a0 80000000
[ 0.000000] 9fc0: 413fc082 c000c718 00000002 c0008968 c00084a8 00000000 00000000 c00416dc
[ 0.000000] 9fe0: 00000000 10c5387d c0846fac c00416d8 c084c034 8000803c 00000000 00000000
[ 0.000000] [<c0085380>] (omap_dm_timer_reset+0xb0/0x14c) from [<c0085650>] (omap_dm_timer_request_specific+0x6c/0xb8)
[ 0.000000] [<c0085650>] (omap_dm_timer_request_specific+0x6c/0xb8) from [<c00114a0>] (omap2_gp_timer_init+0x7c/0x1d4)
[ 0.000000] [<c00114a0>] (omap2_gp_timer_init+0x7c/0x1d4) from [<c000c718>] (time_init+0x20/0x30)
[ 0.000000] [<c000c718>] (time_init+0x20/0x30) from [<c0008968>] (start_kernel+0x198/0x30c)
[ 0.000000] [<c0008968>] (start_kernel+0x198/0x30c) from [<8000803c>] (0x8000803c)
[ 0.000000] Code: e5943010 e5933034 f57ff04f e5943010 (e5935010)
[ 0.000000] ---[ end trace 1b75b31a2719ed1c ]---
[ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[ 0.000000] [<c0063bd4>] (unwind_backtrace+0x0/0xf8) from [<c05faf24>] (panic+0x64/0x184)
[ 0.000000] [<c05faf24>] (panic+0x64/0x184) from [<c00a212c>] (do_exit+0x69c/0x78c)
[ 0.000000] [<c00a212c>] (do_exit+0x69c/0x78c) from [<c0060cd4>] (die+0x1a4/0x1dc)
[ 0.000000] [<c0060cd4>] (die+0x1a4/0x1dc) from [<c0058494>] (do_DataAbort+0x8c/0x9c)
[ 0.000000] [<c0058494>] (do_DataAbort+0x8c/0x9c) from [<c0605b10>] (__dabt_svc+0x70/0xa0)
[ 0.000000] Exception stack(0xc0839f30 to 0xc0839f78)
[ 0.000000] 9f20: ffffffea fffffffe c0839f80 fa318000
[ 0.000000] 9f40: c087795c 00000001 c08acb94 c0a6f8a0 80000000 413fc082 00000000 00000000
[ 0.000000] 9f60: c08aedb4 c0839f78 c00851e8 c0085380 60000193 ffffffff
[ 0.000000] [<c0605b10>] (__dabt_svc+0x70/0xa0) from [<c0085380>] (omap_dm_timer_reset+0xb0/0x14c)
[ 0.000000] [<c0085380>] (omap_dm_timer_reset+0xb0/0x14c) from [<c0085650>] (omap_dm_timer_request_specific+0x6c/0xb8)
[ 0.000000] [<c0085650>] (omap_dm_timer_request_specific+0x6c/0xb8) from [<c00114a0>] (omap2_gp_timer_init+0x7c/0x1d4)
[ 0.000000] [<c00114a0>] (omap2_gp_timer_init+0x7c/0x1d4) from [<c000c718>] (time_init+0x20/0x30)
[ 0.000000] [<c000c718>] (time_init+0x20/0x30) from [<c0008968>] (start_kernel+0x198/0x30c)
[ 0.000000] [<c0008968>] (start_kernel+0x198/0x30c) from [<8000803c>] (0x8000803c)
')

No more output follows as it is frozen at this point.
Last edited by dschauer on Fri Jul 29, 2011 8:27 pm, edited 1 time in total.
dschauer
 
Posts: 2
Joined: Fri Jul 29, 2011 7:31 pm

Re: ti8168evm - kernel26-omap does not work

Postby dschauer » Fri Jul 29, 2011 8:26 pm

Here is the working console output with the PSP kernel:

$this->bbcode_second_pass_code('', '
U-Boot 2010.06 (Jun 01 2011 - 12:30:57)

TI8168-GP rev 1.1

ARM clk: 987MHz
DDR clk: 796MHz

I2C: ready
DRAM: 2 GiB
NAND: HW ECC Hamming Code selected
256 MiB
')

Artwork displayed at this point not relevant...

$this->bbcode_second_pass_code('', '
Net: Detected MACID:64:7b:d4:64:4c:7a
Ethernet PHY: GENERIC @ 0x01
DaVinci EMAC
Hit any key to stop autoboot: 0
mmc1 is available
reading uImage

2351992 bytes read
## Booting kernel from Legacy Image at 81000000 ...
Image Name: Linux-2.6.37das3
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2351928 Bytes = 2.2 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.37das3 (dschauer@alarm) (gcc version 4.6.1 (GCC) ) #1 Thu Jul 28 11:23:50 CDT 2011
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: ti8168evm
reserved size = 0 at 0
Memory policy: ECC disabled, Data cache writeback
OMAP chip is TI8168 1.1
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: mem=128M console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 124880k/124880k available, 6192k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
vmalloc : 0xc8800000 - 0xf8000000 ( 760 MB)
lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.init : 0xc0008000 - 0xc0034000 ( 176 kB)
.text : 0xc0034000 - 0xc0471000 (4340 kB)
.data : 0xc0472000 - 0xc04b2920 ( 259 kB)
SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:407
IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
Total of 128 interrupts on 1 active controller
GPMC revision 6.0
Trying to install interrupt handler for IRQ400
Trying to install interrupt handler for IRQ401
Trying to install interrupt handler for IRQ402
Trying to install interrupt handler for IRQ403
Trying to install interrupt handler for IRQ404
Trying to install interrupt handler for IRQ405
Trying to install interrupt handler for IRQ406
Trying to install type control for IRQ407
Trying to set irq flags for IRQ407
OMAP clockevent source: GPTIMER1 at 27000000 Hz
Console: colour dummy device 80x30
Calibrating delay loop... 986.31 BogoMIPS (lpj=4931584)
pid_max: default: 32768 minimum: 301
Security Framework initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
devtmpfs: initialized
omap_voltage_early_init: voltage driver support not added
regulator: core version 0.5
regulator: dummy:
NET: Registered protocol family 16
OMAP GPIO hardware version 0.1
OMAP GPIO hardware version 0.1
omap_mux_init: Add partition: #1: core, flags: 0
_omap_mux_get_by_name: Could not find signal i2c2_scl.i2c2_scl
_omap_mux_get_by_name: Could not find signal i2c2_sda.i2c2_sda
NOR: Can't request GPMC CS
registered ti816x_vpss device
pm_dbg_init: only OMAP3 supported
Registered ti81xx_fb device
ti816x_pcie: Invoking PCI BIOS...
ti816x_pcie: Setting up Host Controller...
ti816x_pcie: Register base mapped @0xc8820000
ti816x_pcie: Starting PCI scan...
PCI: bus0: Fast back to back transfers enabled
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz
omap_i2c omap_i2c.2: bus 2 rev4.0 at 100 kHz
Advanced Linux Sound Architecture Driver Version 1.0.23.
Switching to clocksource gp timer
musb-hdrc: version 6.0, host, debug=0
musb-hdrc musb-hdrc.0: dma type: dma-cppi41
registerd cppi-dma Intr @ IRQ 17
Cppi41 Init Done
musb-hdrc: kernel must blacklist external hubs
musb-hdrc musb-hdrc.0: MUSB HDRC host driver
musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: MUSB HDRC host driver
usb usb1: Manufacturer: Linux 2.6.37das3 musb-hcd
usb usb1: SerialNumber: musb-hdrc.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
musb-hdrc musb-hdrc.0: USB Host mode controller at c880c000 using DMA, IRQ 18
musb-hdrc musb-hdrc.1: dma type: dma-cppi41
musb-hdrc: kernel must blacklist external hubs
musb-hdrc musb-hdrc.1: MUSB HDRC host driver
musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: MUSB HDRC host driver
usb usb2: Manufacturer: Linux 2.6.37das3 musb-hcd
usb usb2: SerialNumber: musb-hdrc.1
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
musb-hdrc musb-hdrc.1: USB Host mode controller at c881e800 using DMA, IRQ 19
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder Floating Point Emulator V0.97 (double precision)
sr1_fck HVT rate = 125000000
sr2_fck SVT rate = 125000000
SmartReflex Driver: Un-Characterized silicon found
SmartReflex Driver is notinitialized
omap-iommu omap-iommu.0: ducati registered
omap-iommu omap-iommu.1: sys registered
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 243
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
console [ttyO2] enabled
brd: module loaded
loop: module loaded
ahci ahci.0: forcing PORTS_IMPL to 0x3
ahci ahci.0: AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl platform mode
ahci ahci.0: flags: ncq sntf pm led clo only pmp pio slum part ccc
scsi0 : ahci_platform
scsi1 : ahci_platform
ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x100 irq 16
ata2: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x180 irq 16
m25p80 spi1.0: w25x32 (4096 Kbytes)
Creating 4 MTD partitions on "spi_flash":
0x000000000000-0x000000040000 : "U-Boot"
0x000000040000-0x000000042000 : "U-Boot Env"
0x000000042000-0x0000002c2000 : "Kernel"
0x0000002c2000-0x000000400000 : "File System"
omap2-nand driver initializing
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xca (Micron )
Creating 5 MTD partitions on "omap2-nand.0":
0x000000000000-0x000000260000 : "U-Boot"
0x000000260000-0x000000280000 : "U-Boot Env"
0x000000280000-0x0000006c0000 : "Kernel"
0x0000006c0000-0x00000cee0000 : "File System"
0x00000cee0000-0x000010000000 : "Reserved"
davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
davinci_mdio davinci_mdio.0: detected phy mask fffffff9
davinci_mdio.0: probed
davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
davinci_mdio davinci_mdio.0: phy[2]: device 0:02, driver unknown
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver dm9601
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
Linux video capture interface: v2.00
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v1.0.0)
OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
PSTATE 1ff0000
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
usbcore: registered new interface driver snd-usb-audio
1-0018 supply IOVDD not found, using dummy regulator
1-0018 supply DVDD not found, using dummy regulator
1-0018 supply AVDD not found, using dummy regulator
1-0018 supply DRVDD not found, using dummy regulator
asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok
ALSA device list:
#0: TI81XX EVM
TCP cubic registered
NET: Registered protocol family 17
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
omap_voltage_late_init: Voltage driver support not added
ata2: SATA link down (SStatus 0 SControl 300)
ata1: SATA link down (SStatus 0 SControl 300)
Waiting for root device /dev/mmcblk0p2...
mmc0: new high speed SDHC card at address 0007
mmcblk0: mmc0:0007 SD4GB 3.70 GiB
mmcblk0: p1 p2
EXT3-fs: barriers not enabled
kjournald starting. Commit interval 5 seconds
EXT3-fs (mmcblk0p2): using internal journal
EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
VFS: Mounted root (ext3 filesystem) on device 179:2.
devtmpfs: mounted
Freeing init memory: 176K
INIT: version 2.88 booting

> Arch Linux ARM

> http://www.archlinuxarm.org

------------------------------
:: Mounting Root Read-Only [DONE]
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
:: Starting UDev Daemon [DONE]
:: Bringing up loopback interface [DONE]
:: Checking Filesystems [BUSY] /dev/mmcblk0p2: clean, 36510/238560 files, 316603/953702 blocks (check in 5 mounts)
[DONE]
:: Mounting Local Filesystems [DONE]
:: Activating Swap [DONE]
:: Configuring Time Zone [DONE]
:: Removing Leftover Files [DONE]
:: Setting Hostname: alarm-816x [DONE]
:: Setting Locale: en_US.UTF-8 [DONE]
:: Setting Consoles to UTF-8 mode [DONE]
:: Loading Keyboard Map: us [DONE]
INIT: Entering runlevel: 3
')

It displays the remaining init output and starts services, etc...

/proc/cpuinfo
$this->bbcode_second_pass_code('', '
Processor : ARMv7 Processor rev 2 (v7l)
BogoMIPS : 986.31
Features : swp half thumb fastmult vfp edsp neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc08
CPU revision : 2

Hardware : ti8168evm
Revision : 0000
Serial : 0000000000000000
')

/proc/interrupts
$this->bbcode_second_pass_code('', '
CPU0
12: 883 INTC edma
14: 0 INTC edma_error
16: 0 INTC ahci
17: 0 INTC cppi41_dma
18: 1 INTC musb-hdrc.0
19: 1 INTC musb-hdrc.1
20: 0 INTC gpmc
40: 0 INTC eth0
41: 744 INTC eth0
42: 73 INTC eth0
43: 0 INTC eth0
64: 2889 INTC mmc0
67: 1236 INTC gp timer
70: 0 INTC omap_i2c
71: 0 INTC omap_i2c
72: 0 INTC serial idle
73: 0 INTC serial idle
74: 190 INTC serial idle
122: 0 INTC omap-iommu.1
123: 0 INTC omap-iommu.0
Err: 0
')

If anyone would like any more relevant information, let me know.
dschauer
 
Posts: 2
Joined: Fri Jul 29, 2011 7:31 pm

Re: ti8168evm - kernel26-omap does not work

Postby Ashwinee27 » Mon Apr 23, 2012 4:40 am

Hi,

I am also getting the same error i.e.

omap_hwmod: timer1: cannot setup_one: MPU initiator hwmod mpu not yet registered

omap2_system_timer_init: omap_hwmod_setup_one(timer1) failed.

BUG: warning at arch/arm/plat-omap/dmtimer.c:354/omap_dm_timer_request_specific(): unable to get timer 1[/color]

Could you help me to resolve this problem?

Thanks,
Ashwinee
Ashwinee27
 
Posts: 1
Joined: Mon Apr 23, 2012 4:35 am


Return to [Please read announcement] Community-Supported Devices

Who is online

Users browsing this forum: No registered users and 3 guests