Angstrom v2013.12 + kernel 3.2 + am335x my own board

Hi,

Here’s my story. I’ve moved from angstrom 2012 to angstrom 2013.12. Everything compiled fine and system was booting, using new Angstrom but I used my old Kernel. Then i’ve started to develop new kernel and i’ve based on the original. At the moment when i’m booting system everything looks fine but angstrom isn’t startring. The best way to describe it is to show your my log. This is full log - obtained using Serial port. Nothing more came, and system stuck!

I’ve only changed board-am335x.c file. My changes are attached.

ps. Sorry for my english.

`

Uncompressing Linux… done, booting the kernel.
[ 0.000000] Linux version 3.2.0 (spaszko@spaszko-P55-UD3) (gcc version 4.8.3 20131202 (prerelease) (Linaro GCC 4.8-2013.12) ) #11 Fri Sep 19 08:50:22 CEST 2014
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: am335xevm
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] AM335X ES1.0 (neon )
[ 0.000000] ------------[ cut here ]------------
[ 0.000000] WARNING: at arch/arm/mach-omap2/clkt_clksel.c:194 omap2_clksel_recalc+0xd8/0x13c()
[ 0.000000] clock: Could not find fieldval 0 for clock dpll_core_m6_ck parent dpll_core_x2_ck
[ 0.000000] Modules linked in:
[ 0.000000] Backtrace:
[ 0.000000] [] (dump_backtrace+0x0/0x110) from [] (dump_stack+0x18/0x1c)
[ 0.000000] r6:c0030e08 r5:00000009 r4:c05f7e68 r3:c0618850
[ 0.000000] [] (dump_stack+0x0/0x1c) from [] (warn_slowpath_common+0x5c/0x6c)
[ 0.000000] [] (warn_slowpath_common+0x0/0x6c) from [] (warn_slowpath_fmt+0x38/0x40)
[ 0.000000] r8:80000200 r7:c05fc590 r6:00000000 r5:c060e56c r4:00000000
[ 0.000000] r3:00000009
[ 0.000000] [] (warn_slowpath_fmt+0x0/0x40) from [] (omap2_clksel_recalc+0xd8/0x13c)
[ 0.000000] r3:00000000 r2:c0521abc
[ 0.000000] [] (omap2_clksel_recalc+0x0/0x13c) from [] (propagate_rate+0x34/0x54)
[ 0.000000] r6:c060a94c r5:c060e694 r4:c060e56c
[ 0.000000] [] (propagate_rate+0x0/0x54) from [] (propagate_rate+0x40/0x54)
[ 0.000000] r5:c060e6f0 r4:c060e680
[ 0.000000] [] (propagate_rate+0x0/0x54) from [] (propagate_rate+0x40/0x54)
[ 0.000000] r5:c060e798 r4:c060e6dc
[ 0.000000] [] (propagate_rate+0x0/0x54) from [] (propagate_rate+0x40/0x54)
[ 0.000000] r5:c060e908 r4:c060e784
[ 0.000000] [] (propagate_rate+0x0/0x54) from [] (recalculate_root_clocks+0x44/0x58)
[ 0.000000] r5:c0617fbc r4:c060e8f4
[ 0.000000] [] (recalculate_root_clocks+0x0/0x58) from [] (am33xx_clk_init+0x94/0xa8)
[ 0.000000] r5:c060a94c r4:c060a950
[ 0.000000] [] (am33xx_clk_init+0x0/0xa8) from [] (omap3xxx_clk_init+0xf8/0x33c)
[ 0.000000] r6:c05e85ac r5:c0517dd0 r4:00003517 r3:c065f7d8
[ 0.000000] [] (omap3xxx_clk_init+0x0/0x33c) from [] (am33xx_init_early+0x3c/0x40)
[ 0.000000] r7:c05fc590 r6:c05e85ac r5:c0517dd0 r4:c07d6440
[ 0.000000] [] (am33xx_init_early+0x0/0x40) from [] (setup_arch+0x7e8/0x838)
[ 0.000000] [] (setup_arch+0x0/0x838) from [] (start_kernel+0x84/0x2ec)
[ 0.000000] [] (start_kernel+0x0/0x2ec) from [<80008040>] (0x80008040)
[ 0.000000] r6:c05e9a30 r5:c05f8084 r4:10c53c7d
[ 0.000000] —[ end trace 1b75b31a2719ed1c ]—
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 mem=128M 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] Memory: 128MB = 128MB total
[ 0.000000] Memory: 122908k/122908k available, 8164k 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 : 0xc8800000 - 0xff000000 ( 872 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc05ba000 (5832 kB)
[ 0.000000] .init : 0xc05ba000 - 0xc05f6000 ( 240 kB)
[ 0.000000] .data : 0xc05f6000 - 0xc065f518 ( 422 kB)
[ 0.000000] .bss : 0xc065f53c - 0xc06d5724 ( 473 kB)
[ 0.000000] NR_IRQS:396
[ 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 clockevent source: GPTIMER2 at 24000000 Hz
[ 0.000000] OMAP clocksource: 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.000335] Calibrating delay loop… 298.59 BogoMIPS (lpj=1492992)
[ 0.067657] pid_max: default: 32768 minimum: 301
[ 0.067901] Security Framework initialized
[ 0.068420] Mount-cache hash table entries: 512
[ 0.069152] CPU: Testing write buffer coherency: ok
[ 0.096099] omap_hwmod: gfx: failed to hardreset
[ 0.115631] omap_hwmod: pruss: failed to hardreset
[ 0.117919] print_constraints: dummy:
[ 0.118652] NET: Registered protocol family 16
[ 0.123199] OMAP GPIO hardware version 0.1
[ 0.128570] Start inicjalizacji kernel Folkien.
[ 0.128601] Wersja kompilacji folkien 2014v30, 17 wrzesień 2014.
[ 0.128631] Log zmian :
[ 0.128631] - 18 wrzesień 2014 - wersja pierwotna, bez intefejsów.
[ 0.128662] - 17 wrzesień 2014 - dodałem interfejs ethernetowy MII.
[ 0.128692] - 16 wrzesień 2014 - nowa wersja kernela na podstawie nowego kernela dla beaglebone.
[ 0.128692] - 15 wrzesień 2014 - poprawiony pin GPIO0_7 na MMC0_SDWP.
[ 0.128723] - 15 wrzesień 2014 - poprawiony pin GPIO0_6 na MMC0_SDCD.
[ 0.129241] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.133087] omap_i2c.1: alias fck already exists
[ 0.133544] PCB to AM335x FOLKIEN.
[ 0.133544] Konfiguracja urządzenia.
[ 0.134124] Konfiguracja wyswietlacza LCD…
[ 0.135833] da8xx_lcdc.0: alias fck already exists
[ 0.136260] OK!
[ 0.136291] USB 0 konfiguracja pinmux…
[ 0.136352] OK
[ 0.136383] USB 1 konfiguracja pinmux…
[ 0.136413] OK
[ 0.136444] USB HUB nRESET w stanie niskim…
[ 0.136474] OK
[ 0.137878] Iinicjalizacja interfejsu MMC0…
[ 0.138153] omap_hsmmc.0: alias fck already exists
[ 0.138671] OK.
[ 0.139526] Konfiguracja FOLKIEN init zakończona!
[ 0.140167] omap2_mcspi.1: alias fck already exists
[ 0.140655] omap2_mcspi.2: alias fck already exists
[ 0.142730] edma.0: alias fck already exists
[ 0.142761] edma.0: alias fck already exists
[ 0.142822] edma.0: alias fck already exists
[ 0.206085] bio: create slab at 0
[ 0.210937] SCSI subsystem initialized
[ 0.214385] usbcore: registered new interface driver usbfs
[ 0.215087] usbcore: registered new interface driver hub
[ 0.215515] usbcore: registered new device driver usb
[ 0.216156] registerd cppi-dma Intr @ IRQ 17
[ 0.216186] Cppi41 Init Done Qmgr-base(c887a000) dma-base(c8878000)
[ 0.216186] Cppi41 Init Done
[ 0.216247] musb-ti81xx musb-ti81xx: musb0, board_mode=0x12, plat_mode=0x2
[ 0.216888] musb-ti81xx musb-ti81xx: musb1, board_mode=0x12, plat_mode=0x1
[ 0.237792] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[ 0.241302] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.243652] Switching to clocksource gp timer
[ 0.279113] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.279449] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
[ 0.280151] MUSB0 controller’s USBSS revision = 4ea20800
[ 0.282196] musb-hdrc musb-hdrc.0: USB Peripheral mode controller at c883c000 using DMA, IRQ 18
[ 0.282379] musb-hdrc musb-hdrc.1: dma type: dma-cppi41
[ 0.282989] MUSB1 controller’s USBSS revision = 4ea20800
[ 0.284057] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 0.284240] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[ 0.284484] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.284515] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.284545] usb usb1: Product: MUSB HDRC host driver
[ 0.284576] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
[ 0.284606] usb usb1: SerialNumber: musb-hdrc.1
[ 0.286376] hub 1-0:1.0: USB hub found
[ 0.286437] hub 1-0:1.0: 1 port detected
[ 0.287597] musb-hdrc musb-hdrc.1: USB Host mode controller at c883e800 using DMA, IRQ 19
[ 0.288482] NET: Registered protocol family 2
[ 0.288848] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.289428] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.289611] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.289764] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.289794] TCP reno registered
[ 0.289794] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.289855] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.290283] NET: Registered protocol family 1
[ 0.290832] RPC: Registered named UNIX socket transport module.
[ 0.290863] RPC: Registered udp transport module.
[ 0.290863] RPC: Registered tcp transport module.
[ 0.290893] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.291351] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.291748] omap-gpmc omap-gpmc: GPMC revision 6.0
[ 0.291778] Registering NAND on CS0
[ 0.305786] VFS: Disk quotas dquot_6.5.2
[ 0.305938] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.307037] msgmni has been set to 240
[ 0.313568] alg: No test for stdrng (krng)
[ 0.315002] io scheduler noop registered
[ 0.315032] io scheduler deadline registered
[ 0.315155] io scheduler cfq registered (default)
[ 0.319549] da8xx_lcdc da8xx_lcdc.0: GLCD: No valid panel found
[ 0.320953] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[ 1.244262] console [ttyO0] enabled
[ 1.249237] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[ 1.257720] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[ 1.266174] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[ 1.274536] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[ 1.282867] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[ 1.292297] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00
[ 1.320495] brd: module loaded
[ 1.335083] loop: module loaded
[ 1.338439] kgdb: Registered I/O driver kgdbts.
[ 1.343292] kgdbts:RUN plant and detach test

Entering kdb (current=0xc701bc00, pid 1) due to Keyboard Entry

[ 1.354888] kgdbts:RUN sw breakpoint test
[ 1.359619] kgdbts:RUN bad memory access test
[ 1.364440] kgdbts:RUN singlestep test 1000 iterations
[ 1.370910] kgdbts:RUN singlestep [0/1000]
[ 1.472167] kgdbts:RUN singlestep [100/1000]
[ 1.573608] kgdbts:RUN singlestep [200/1000]
[ 1.675079] kgdbts:RUN singlestep [300/1000]
[ 1.776489] kgdbts:RUN singlestep [400/1000]
[ 1.877960] kgdbts:RUN singlestep [500/1000]
[ 1.979370] kgdbts:RUN singlestep [600/1000]
[ 2.080841] kgdbts:RUN singlestep [700/1000]
[ 2.182281] kgdbts:RUN singlestep [800/1000]
[ 2.283721] kgdbts:RUN singlestep [900/1000]
[ 2.384216] kgdbts:RUN do_fork for 100 breakpoints
[ 2.390991] i2c-core: driver [tsl2550] using legacy suspend method
[ 2.397613] i2c-core: driver [tsl2550] using legacy resume method
[ 2.413909] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 2.423248] omap2-nand driver initializing
[ 2.428100] ONFI flash detected
[ 2.431640] ONFI param page 0 valid
[ 2.435394] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAH4)
[ 2.445648] Creating 9 MTD partitions on “omap2-nand.0”:
[ 2.451324] 0x000000000000-0x000000020000 : “SPL”
[ 2.462585] 0x000000020000-0x000000040000 : “SPL.backup1”
[ 2.474395] 0x000000040000-0x000000060000 : “SPL.backup2”
[ 2.486236] 0x000000060000-0x000000080000 : “SPL.backup3”
[ 2.498138] 0x000000080000-0x000000260000 : “U-Boot”
[ 2.510314] 0x000000260000-0x000000280000 : “U-Boot Env”
[ 2.522155] 0x000000280000-0x000000780000 : “Kernel”
[ 2.535614] 0x000000780000-0x000000f80000 : “Config”
[ 2.550201] 0x000000f80000-0x000010000000 : “File System”
[ 2.666778] OneNAND driver initializing
[ 2.679107] CAN device driver interface
[ 2.683197] CAN bus driver for Bosch D_CAN controller 1.0
[ 2.694061] usbcore: registered new interface driver zd1201
[ 2.701110] usbcore: registered new interface driver cdc_ether
[ 2.708312] usbcore: registered new interface driver cdc_eem
[ 2.715362] usbcore: registered new interface driver dm9601
[ 2.721343] cdc_ncm: 04-Aug-2011
[ 2.725830] usbcore: registered new interface driver cdc_ncm
[ 2.731842] Initializing USB Mass Storage driver…
[ 2.738159] usbcore: registered new interface driver usb-storage
[ 2.744567] USB Mass Storage support registered.
[ 2.751770] mousedev: PS/2 mouse device common for all mice
[ 2.763305] omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc0
[ 2.771575] i2c /dev entries driver
[ 2.777496] Linux video capture interface: v2.00
[ 2.784423] usbcore: registered new interface driver uvcvideo
[ 2.790527] USB Video Class driver (1.1.1)
[ 2.799255] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 2.806945] _regulator_get: deviceless supply vdd_mpu not found, using dummy regulator
[ 2.817596] cpuidle: using governor ladder
[ 2.825622] cpuidle: using governor menu
[ 2.834167] omap4_aes_mod_init: loading AM33X AES driver
[ 2.840087] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
[ 2.847534] omap4_aes_probe: probe() done
[ 2.852264] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
[ 2.858703] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
[ 2.883026] omap4_sham_probe: probe() done
[ 2.892883] usbcore: registered new interface driver usbhid
[ 2.898864] usbhid: USB HID core driver
[ 2.904785] usbcore: registered new interface driver snd-usb-audio
[ 2.915222] ALSA device list:
[ 2.918365] No soundcards found.
[ 2.921997] oprofile: hardware counters not available
[ 2.927368] oprofile: using timer interrupt.
[ 2.931945] nf_conntrack version 0.5.0 (1920 buckets, 7680 max)
[ 2.939147] ip_tables: © 2000-2006 Netfilter Core Team
[ 2.945068] TCP cubic registered
[ 2.948516] NET: Registered protocol family 17
[ 2.953247] can: controller area network core (rev 20090105 abi 8)
[ 2.960021] NET: Registered protocol family 29
[ 2.964782] can: raw protocol (rev 20090105)
[ 2.969299] can: broadcast manager protocol (rev 20090105 t)
[ 2.975402] Registering the dns_resolver key type
[ 2.980560] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 2.988739] ThumbEE CPU extension supported.
[ 2.993408] mux: Failed to setup hwmod io irq -22
[ 2.999725] Power Management for AM33XX family
[ 3.004852] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[ 3.011718] Copied the M3 firmware to UMEM
[ 3.016235] Cortex M3 Firmware Version = 0x184
[ 3.022125] sr_init: platform driver register failed
[ 3.034271] clock: disabling unused clocks to save power
[ 3.049377] mmc0: new high speed SDHC card at address 1234
[ 3.056579] mmcblk0: mmc0:1234 SA04G 3.63 GiB
[ 3.064880] mmcblk0: p1 p2
[ 3.089935] omap_rtc am33xx-rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[ 3.108184] kjournald starting. Commit interval 5 seconds
[ 3.128021] EXT3-fs (mmcblk0p2): using internal journal
[ 3.133544] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[ 3.140899] VFS: Mounted root (ext3 filesystem) on device 179:2.
[ 3.148101] Freeing init memory: 240K
[ 3.914916] kgdb: Unregistered I/O driver kgdbts, debugger disabled.

`

My board file`

/*

  • Code for AM335X EVM.