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.
Hi all,
I met an issue after the warm reset by the watch dog or the WARMRSTn input.
After the warm reset, the board will halt in the RTC initialization of the kernel. The SDK version is sdk 6.0.
Do you have any comments on how to debug it?
Thanks!
Yaoming
Sending all processes the TERM signal... [ 205.051269] omap_wdt: Unexpected close, not stopping! Sending all processes the KILL signal... Unmounting remote filesystems... Deactivating swap... Unmounting local filesystems... Rebooting... [ 212.260772] musb-hdrc musb-hdrc.1: remove, state 1 [ 212.265899] usb usb1: USB disconnect, device number 1 [ 212.271972] musb-hdrc musb-hdrc.1: USB bus 1 deregistered [ 212.277954] Restarting system. U-Boot SPL 2012.10 (Oct 16 2013 - 15:02:16) U-Boot 2012.10 (Oct 16 2013 - 15:02:16) I2C: ready DRAM: 128 MiB WARNING: Caches not enabled add board_init NAND: 256 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 *** Warning - bad CRC, using default environment musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Peripheral mode controller at 47401000 using PIO, IRQ 0 musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Host mode controller at 47401800 using PIO, IRQ 0 Net: PHY reset timed out cpsw, usb_ether Hit any key to stop autoboot: 0 Card did not respond to voltage select! Booting from nand ... NAND read: device 0 offset 0x280000, size 0x500000 5242880 bytes read: OK ## Booting kernel from Legacy Image at 80007fc0 ... Image Name: Linux-3.2.0 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3241320 Bytes = 3.1 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK XIP Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Linux version 3.2.0 (root@ubuntu) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #65 Tue Sep 24 14:47:53 CST 2013 [ 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 ES2.0 (neon ) [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=7,2048 noinitrd rootfstype=ubifs rootwait=1 ip=none [ 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: 123156k/123156k available, 7916k 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 - 0xc05c2000 (5864 kB) [ 0.000000] .init : 0xc05c2000 - 0xc0601000 ( 252 kB) [ 0.000000] .data : 0xc0602000 - 0xc066a170 ( 417 kB) [ 0.000000] .bss : 0xc066a194 - 0xc06970a4 ( 180 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.000183] Calibrating delay loop... 548.86 BogoMIPS (lpj=2744320) [ 0.048706] pid_max: default: 32768 minimum: 301 [ 0.048858] Security Framework initialized [ 0.048980] Mount-cache hash table entries: 512 [ 0.049407] CPU: Testing write buffer coherency: ok [ 0.071075] omap_hwmod: gfx: failed to hardreset [ 0.087768] omap_hwmod: pruss: failed to hardreset [ 0.089111] print_constraints: dummy: [ 0.089538] NET: Registered protocol family 16 [ 0.092132] OMAP GPIO hardware version 0.1 [ 0.095428] chenli----am33xx_mux_init [ 0.095458] omap_mux_init: Add partition: #1: core, flags: 0 [ 0.097808] omap_i2c.1: alias fck already exists [ 0.098937] omap2_mcspi.1: alias fck already exists [ 0.099212] omap2_mcspi.2: alias fck already exists [ 0.100402] edma.0: alias fck already exists [ 0.100433] edma.0: alias fck already exists [ 0.100433] edma.0: alias fck already exists [ 0.134979] bio: create slab <bio-0> at 0 [ 0.137695] SCSI subsystem initialized [ 0.139709] usbcore: registered new interface driver usbfs [ 0.140075] usbcore: registered new interface driver hub [ 0.140319] usbcore: registered new device driver usb [ 0.140502] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3 [ 0.140869] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1 [ 0.142272] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz [ 0.144042] tps65910 1-002d: could not be detected [ 0.145690] Advanced Linux Sound Architecture Driver Version 1.0.24. [ 0.147033] Switching to clocksource gp timer [ 0.167053] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host) [ 0.167266] musb-hdrc musb-hdrc.0: dma type: pio [ 0.167663] MUSB0 controller's USBSS revision = 4ea20800 [ 0.167694] musb0: Enabled SW babble control [ 0.168518] musb-hdrc musb-hdrc.0: USB OTG mode controller at c883c000 using PIO, IRQ 18 [ 0.168701] musb-hdrc musb-hdrc.1: dma type: pio [ 0.169097] MUSB1 controller's USBSS revision = 4ea20800 [ 0.169128] musb1: Enabled SW babble control [ 0.169342] musb-hdrc musb-hdrc.1: MUSB HDRC host driver [ 0.169403] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1 [ 0.169586] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 0.169586] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.169616] usb usb1: Product: MUSB HDRC host driver [ 0.169616] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd [ 0.169647] usb usb1: SerialNumber: musb-hdrc.1 [ 0.170684] hub 1-0:1.0: USB hub found [ 0.170715] hub 1-0:1.0: 1 port detected [ 0.171417] musb-hdrc musb-hdrc.1: USB Host mode controller at c883e800 using PIO, IRQ 19 [ 0.171905] NET: Registered protocol family 2 [ 0.172119] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.172454] TCP established hash table entries: 4096 (order: 3, 32768 bytes) [ 0.172576] TCP bind hash table entries: 4096 (order: 2, 16384 bytes) [ 0.172637] TCP: Hash tables configured (established 4096 bind 4096) [ 0.172668] TCP reno registered [ 0.172668] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.172729] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.172943] NET: Registered protocol family 1 [ 0.173248] RPC: Registered named UNIX socket transport module. [ 0.173278] RPC: Registered udp transport module. [ 0.173278] RPC: Registered tcp transport module. [ 0.173278] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.173553] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.182006] VFS: Disk quotas dquot_6.5.2 [ 0.182067] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.182739] msgmni has been set to 240 [ 0.186584] alg: No test for stdrng (krng) [ 0.187438] io scheduler noop registered [ 0.187438] io scheduler deadline registered [ 0.187530] io scheduler cfq registered (default) [ 0.188873] Could not set LED4 to fully on [ 0.190887] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0 [ 0.763366] console [ttyO0] enabled [ 0.767791] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1 [ 0.775756] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2 [ 0.783752] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3 [ 0.791717] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4 [ 0.799652] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5 [ 0.808227] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00 [ 0.827026] brd: module loaded [ 0.836547] loop: module loaded [ 0.840148] i2c-core: driver [tsl2550] using legacy suspend method [ 0.846649] i2c-core: driver [tsl2550] using legacy resume method [ 0.853179] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write [ 0.917602] No daughter card found [ 0.921234] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write [ 0.928588] am335x_evm_setup return [ 0.932250] The board is a AM335x SUNWAVE EVM [ 0.938690] omap-gpmc omap-gpmc: GPMC revision 6.0 [ 0.943786] Registering NAND on CS0 [ 0.948303] omap_i2c.2: alias fck already exists [ 0.953674] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz [ 0.959960] omap_i2c.3: alias fck already exists [ 0.977661] omap_i2c omap_i2c.3: bus 3 rev2.4.0 at 100 kHz [ 0.988342] mtdoops: mtd device (mtddev=name/number) must be supplied [ 0.995758] omap2-nand driver initializing [ 1.000518] NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit) [ 1.009857] Creating 8 MTD partitions on "omap2-nand.0": [ 1.015472] 0x000000000000-0x000000020000 : "SPL" [ 1.022216] 0x000000020000-0x000000040000 : "SPL.backup1" [ 1.029541] 0x000000040000-0x000000060000 : "SPL.backup2" [ 1.036804] 0x000000060000-0x000000080000 : "SPL.backup3" [ 1.044128] 0x000000080000-0x000000260000 : "U-Boot" [ 1.051971] 0x000000260000-0x000000280000 : "U-Boot Env" [ 1.059143] 0x000000280000-0x000000780000 : "Kernel" [ 1.067932] 0x000000780000-0x000010000000 : "File System" [ 1.179473] OneNAND driver initializing [ 1.184387] UBI: attaching mtd7 to ubi0 [ 1.188476] UBI: physical eraseblock size: 131072 bytes (128 KiB) [ 1.195068] UBI: logical eraseblock size: 126976 bytes [ 1.200775] UBI: smallest flash I/O unit: 2048 [ 1.205718] UBI: VID header offset: 2048 (aligned 2048) [ 1.212066] UBI: data offset: 4096 [ 3.353027] UBI: max. sequence number: 48788 [ 3.374389] UBI: attached mtd7 to ubi0 [ 3.378417] UBI: MTD device name: "File System" [ 3.384185] UBI: MTD device size: 248 MiB [ 3.389434] UBI: number of good PEBs: 1983 [ 3.394378] UBI: number of bad PEBs: 5 [ 3.399078] UBI: number of corrupted PEBs: 0 [ 3.403747] UBI: max. allowed volumes: 128 [ 3.408630] UBI: wear-leveling threshold: 4096 [ 3.413574] UBI: number of internal volumes: 1 [ 3.418243] UBI: number of user volumes: 1 [ 3.422943] UBI: available PEBs: 0 [ 3.427612] UBI: total number of reserved PEBs: 1983 [ 3.432830] UBI: number of PEBs reserved for bad PEB handling: 19 [ 3.439270] UBI: max/mean erase counter: 33/25 [ 3.443939] UBI: image sequence number: 526254955 [ 3.449096] UBI: background thread "ubi_bgt0d" started, PID 583 [ 3.456481] CAN device driver interface [ 3.460571] CAN bus driver for Bosch D_CAN controller 1.0 [ 3.507751] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6 [ 3.514251] davinci_mdio davinci_mdio.0: detected phy mask fffffffc [ 3.522003] davinci_mdio.0: probed [ 3.525604] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown [ 3.533050] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown [ 3.540893] usbcore: registered new interface driver zd1201 [ 3.546997] usbcore: registered new interface driver cdc_ether [ 3.553344] usbcore: registered new interface driver cdc_eem [ 3.559539] usbcore: registered new interface driver dm9601 [ 3.565460] cdc_ncm: 04-Aug-2011 [ 3.569061] usbcore: registered new interface driver cdc_ncm [ 3.575225] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 3.582366] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 3.589172] Initializing USB Mass Storage driver... [ 3.594635] usbcore: registered new interface driver usb-storage [ 3.600982] USB Mass Storage support registered. [ 3.606445] mousedev: PS/2 mouse device common for all mice
Please kindly check the log as attached.