This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3517 and linux kernel 3.3.7 issues

Other Parts Discussed in Thread: AM3517

Hello, I have been trying to move my platform from 2.6.37 to 3.3.7 kernel but coming across some booting issues.  It seems as though I cant get the frame buffer initialised and the on chip phy.  The boot log is :

NAND read: device 0 offset 0x280000, size 0x400000
 4194304 bytes read: OK
## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   Linux-3.3.7
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2712288 Bytes = 2.6 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Linux version 3.3.7 (marcmltd@fedora15.marcmltd) (gcc version 4.5.2 (Sourcery G++ Lite 2011.03-41) ) #4 Sun Sep 9 22:10:42 BST 2012
[    0.000000] CPU: ARMv7 Processor [411fc087] revision 7 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine: TAM3517
[    0.000000] Reserving 12582912 bytes SDRAM for VRAM
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] AM3517 ES1.1 (l2cache iva sgx neon isp )
[    0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 61696
[    0.000000] Kernel command line: console=ttyO0,115200n8 mem=256M mpurate=600 omapdss.def_disp=lcd omapfb.vram=0:4M,1:4M,2:4M vram=12M tnlcd.tnlcd_data=8000,480,8,4,41,272,4,2,10,24,32 omap_vout.vid1_static_vrfb_alloc=y root=/dev/nfs rw nfsroot=10.0.0.11:/home/marcmltd/ICU_Devel/buildroot_dev/buildroot-2012.05/output/target rootfstype=nfs ip=dhcp rw
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 243MB = 243MB total
[    0.000000] Memory: 240764k/240764k available, 21380k 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 : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc04f8000   (5056 kB)
[    0.000000]       .init : 0xc04f8000 - 0xc0525000   ( 180 kB)
[    0.000000]       .data : 0xc0526000 - 0xc05700c0   ( 297 kB)
[    0.000000]        .bss : 0xc05700e4 - 0xc05a4904   ( 211 kB)
[    0.000000] NR_IRQS:460
[    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 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.000274] Calibrating delay loop... 497.82 BogoMIPS (lpj=1941504)
[    0.039093] pid_max: default: 32768 minimum: 301
[    0.039337] Mount-cache hash table entries: 512
[    0.039886] CPU: Testing write buffer coherency: ok
[    0.040283] Setting up static identity map for 0x803c4ec0 - 0x803c4f18
[    0.041168] devtmpfs: initialized
[    0.043365] omap_hwmod: usbtll_fck: missing clockdomain for usbtll_fck.
[    0.044799] omap_hwmod: am35x_otg_hs: cannot be enabled (3)
[    0.046752] print_constraints: dummy:
[    0.047241] NET: Registered protocol family 16
[    0.047760] GPMC revision 5.0
[    0.051727] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
[    0.051818] OMAP GPIO hardware version 2.5
[    0.052185] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
[    0.052612] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
[    0.053039] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
[    0.053466] gpiochip_add: registered GPIOs 128 to 159 on device: gpio
[    0.053894] gpiochip_add: registered GPIOs 160 to 191 on device: gpio
[    0.056640] omap_mux_init: Add partition: #1: core, flags: 0
[    0.061065] Reprogramming SDRC clock to 332000000 Hz
[    0.061096] dpll3_m2_clk rate change failed: -22
[    0.062469]  usbhs_omap: alias fck already exists
[    0.064605] _omap_mux_init_gpio: Multiple gpio paths (2) for gpio126
[    0.076171]  omap-mcbsp.2: alias fck already exists
[    0.076629]  omap-mcbsp.3: alias fck already exists
[    0.078643] Calibrating delay loop (skipped) already calibrated this CPU
[    0.078796] Switched to new clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz
[    0.078979] OMAP DMA hardware revision 4.0
[    0.110778] bio: create slab <bio-0> at 0
[    0.113250] SCSI subsystem initialized
[    0.116577] usbcore: registered new interface driver usbfs
[    0.116882] usbcore: registered new interface driver hub
[    0.117156] usbcore: registered new device driver usb
[    0.118927] omap_i2c omap_i2c.1: bus 1 rev1.3.12 at 400 kHz
[    0.120239] print_constraints: VDCDC1: 1200 <--> 1600 mV at 1200 mV normal
[    0.120849] print_constraints: VDCDC2: 1800 mV normal
[    0.121276] print_constraints: VDCDC3: 1800 <--> 3300 mV at 1800 mV normal
[    0.121734] print_constraints: LDO1: 1800 mV normal
[    0.122283] print_constraints: LDO2: 3300 mV normal
[    0.132904] omap_i2c omap_i2c.2: bus 2 rev1.3.12 at 400 kHz
[    0.148529] omap_i2c omap_i2c.3: bus 3 rev1.3.12 at 400 kHz
[    0.150970] Advanced Linux Sound Architecture Driver Version 1.0.24.
[    0.153045] cfg80211: Calling CRDA to update world regulatory domain
[    0.153320] Switching to clocksource 32k_counter
[    0.178771] usbhs_omap usbhs_omap: xclk60mhsp1_ck set parentfailed error:-22
[    0.179992] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[    0.180145] musb-hdrc musb-hdrc: musb_init_controller failed with status -19
[    0.180816] NET: Registered protocol family 2
[    0.181060] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.181549] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.181793] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    0.181945] TCP: Hash tables configured (established 8192 bind 8192)
[    0.181945] TCP reno registered
[    0.181976] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.182006] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.182220] NET: Registered protocol family 1
[    0.182708] RPC: Registered named UNIX socket transport module.
[    0.182708] RPC: Registered udp transport module.
[    0.182739] RPC: Registered tcp transport module.
[    0.182739] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.182922] omap_init_opp_table: no hwmod or odev for iva, [8] cannot add OPPs.
[    0.187164] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.187225] msgmni has been set to 470
[    0.188262] io scheduler noop registered
[    0.188323] io scheduler cfq registered (default)
[    0.190002] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.192352] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
[    0.801635] console [ttyO0] enabled
[    0.805969] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
[    0.813995] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
[    0.821960] omap_uart.3: ttyO3 at MMIO 0x4809e000 (irq = 84) is a OMAP UART3
[    0.830902] [drm] Initialized drm 1.1.0 20060810
[    0.837493] GPIO NAND driver, © 2004 Simtec Electronics
[    0.843811] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xbc (Micron NAND 512MiB 1,8V 16-bit)
[    0.853424] Creating 5 MTD partitions on "omap2-nand.0":
[    0.859069] 0x000000000000-0x000000080000 : "X-Loader"
[    0.866455] 0x000000080000-0x000000260000 : "U-Boot"
[    0.874053] 0x000000260000-0x000000280000 : "U-Boot Env"
[    0.881378] 0x000000280000-0x000000680000 : "Kernel"
[    0.889678] 0x000000680000-0x000020000000 : "File System"
[    1.073547] davinci_mdio davinci_mdio.0: failed to get device clock
[    1.080291] davinci_mdio: probe of davinci_mdio.0 failed with error -2
[    1.087707] usbcore: registered new interface driver cdc_ether
[    1.094177] usbcore: registered new interface driver cdc_ncm
[    1.100158] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.107177] _regulator_get: ehci-omap.0 supply hsusb0 not found, using dummy regulator
[    2.122222] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[    2.128265] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
[    2.136230] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[    2.153533] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[    2.159667] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.166839] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.174438] usb usb1: Product: OMAP-EHCI Host Controller
[    2.180023] usb usb1: Manufacturer: Linux 3.3.7 ehci_hcd
[    2.185607] usb usb1: SerialNumber: ehci-omap.0
[    2.191467] hub 1-0:1.0: USB hub found
[    2.195526] hub 1-0:1.0: 3 ports detected
[    2.224334] usbcore: registered new interface driver uas
[    2.229888] Initializing USB Mass Storage driver...
[    2.235382] usbcore: registered new interface driver usb-storage
[    2.241699] USB Mass Storage support registered.
[    2.246978] mousedev: PS/2 mouse device common for all mice
[    2.254455] rtc-ds1307 3-0068: rtc core: registered ds1307 as rtc0
[    2.261047] rtc-ds1307 3-0068: 56 bytes nvram
[    2.265838] i2c /dev entries driver
[    2.271240] lirc_dev: IR Remote Control driver registered, major 252
[    2.278015] IR NEC protocol handler initialized
[    2.282836] IR RC5(x) protocol handler initialized
[    2.287872] IR RC6 protocol handler initialized
[    2.292633] IR JVC protocol handler initialized
[    2.297454] IR Sony protocol handler initialized
[    2.302337] IR RC5 (streamzap) protocol handler initialized
[    2.308166] IR SANYO protocol handler initialized
[    2.313110] IR MCE Keyboard/mouse protocol handler initialized
[    2.319244] IR LIRC bridge handler initialized
[    2.323913] Linux video capture interface: v2.00
[    2.330230] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[    2.343658] usbcore: registered new interface driver usbhid
[    2.349578] usbhid: USB HID core driver
[    2.356933] ALSA device list:
[    2.360046]   No soundcards found.
[    2.363891] TCP cubic registered
[    2.367614] NET: Registered protocol family 17
[    2.372344] NET: Registered protocol family 15
[    2.377014] can: controller area network core (rev 20090105 abi 8)
[    2.383636] NET: Registered protocol family 29
[    2.388366] can: raw protocol (rev 20090105)
[    2.392883] can: broadcast manager protocol (rev 20090105 t)
[    2.401580] lib80211: common routines for IEEE802.11 drivers
[    2.407592] Registering the dns_resolver key type
[    2.412658] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
[    2.421325] voltdm_scale: No voltage scale API registered for vdd_mpu_iva
[    2.428527] voltdm_scale: No voltage scale API registered for vdd_core
[    2.435424] PM: no software I/O chain control; some wakeups may be lost
[    2.442779] clock: disabling unused clocks to save power
[    2.450958] omapfb omapfb: no displays
[    2.454895] omapfb omapfb: failed to setup omapfb
[    2.460052] omapfb: probe of omapfb failed with error -22
[    2.466247] davinci_emac davinci_emac: failed to get EMAC clock
[    2.472473] davinci_emac: probe of davinci_emac failed with error -16

 

Hopefully someone has already solved this issue to stop me pulling my hair out.  If I could get the phy up I could then continue to boot NFS.  At least thats the theory.

Thanks in advance

Marc