Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

ti8148 based custom board always hangs during booting.

$
0
0

Hello All,

 My board always hangs after this message.

I am looking for clues, what could be wrong. In my custom bootloader and uImage, we made some board specific images for muxing, SPI enable, etc.

But we tried both removing those changes, as well as keeping those changes.. our board always hangs at this place.

We also tried using the kernel config removing all redundant peripherals, and removing all kernel modules.

But still our kernel image hangs at this place.

Well i tried to put some debug messages in kernel, and it hangs after exiting the " ti8148_evm_init()"

TI8148_EVM#bootm 0x81000000
## Booting kernel from Legacy Image at 81000000 ...
   Image Name:   Linux-2.6.37
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2220900 Bytes = 2.1 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Linux version 2.6.37 (viru@viruLinuxLaptop) (gcc version 4.3.3 (S                                                                                                                                                                                                                                             ourcery G++ Lite 2009q1-203) ) #1 PREEMPT Tue Jun 25 09:57:10 IST 2013
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: ti8148evm
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] reserved size = 0 at 0x0
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] OMAP chip is TI8148 3.0
[    0.000000] SRAM: Mapped pa 0x402f1000 to va 0xfe400000 size: 0xf000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pag                                                                                                                                                                                                                                             es: 173448
[    0.000000] Kernel command line: earlyprintk console=ttyO0,115200n8 rootwait                                                                                                                                                                                                                                              root=/dev/ram0 rw mem=364M@0x80000000mem=320M@0x9FC00000 vmalloc=500M  notifyk.                                                                                                                                                                                                                                             vpssm3_sva=0xBF900000 initrd=0x87000000,4M ramdisk_size=625984 init=/sbin/init i                                                                                                                                                                                                                                             p=dhcp
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 364MB 320MB = 684MB total
[    0.000000] Memory: 685604k/685604k available, 14812k reserved, 327680K highm                                                                                                                                                                                                                                             em
[    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 : 0xd7000000 - 0xf8000000   ( 528 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd6c00000   ( 364 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .init : 0xc0008000 - 0xc0037000   ( 188 kB)
[    0.000000]       .text : 0xc0037000 - 0xc043b000   (4112 kB)
[    0.000000]       .data : 0xc043c000 - 0xc0470e80   ( 212 kB)
[    0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, N                                                                                                                                                                                                                                             odes=1
[    0.000000] NR_IRQS:375
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrup                                                                                                                                                                                                                                             ts
[    0.000000] Total of 128 interrupts on 1 active controller
[    0.000000] GPMC revision 6.0
[    0.000000] Trying to install interrupt handler for IRQ368
[    0.000000] Trying to install interrupt handler for IRQ369
[    0.000000] Trying to install interrupt handler for IRQ370
[    0.000000] Trying to install interrupt handler for IRQ371
[    0.000000] Trying to install interrupt handler for IRQ372
[    0.000000] Trying to install interrupt handler for IRQ373
[    0.000000] Trying to install interrupt handler for IRQ374
[    0.000000] Trying to install type control for IRQ375
[    0.000000] Trying to set irq flags for IRQ375
[    0.000000] OMAP clockevent source: GPTIMER1 at 20000000 Hz
[    0.000000] Console: colour dummy device 80x30
[    0.010000] Calibrating delay loop... 598.01 BogoMIPS (lpj=2990080)
[    0.240000] pid_max: default: 32768 minimum: 301
[    0.240000] Security Framework initialized
[    0.250000] Mount-cache hash table entries: 512
[    0.250000] CPU: Testing write buffer coherency: ok
[    0.260000] devtmpfs: initialized
[    0.260000] omap_voltage_early_init: voltage driver support not added
[    0.270000] regulator: core version 0.5
[    0.280000] regulator: dummy:
[    0.280000] NET: Registered protocol family 16
[    0.280000] omap_voltage_domain_lookup: Voltage driver init not yet happened.                                                                                                                                                                                                                                             Faulting!
[    0.290000] omap_voltage_add_dev: VDD specified does not exist!
[    0.300000] OMAP GPIO hardware version 0.1
[    0.300000] OMAP GPIO hardware version 0.1
[    0.310000] OMAP GPIO hardware version 0.1
[    0.310000] OMAP GPIO hardware version 0.1
[    0.320000] *********************Entering ti8148_evm_init()*************                                                                                                                                                                                                                                             *************
[    0.330000] omap_mux_init: Add partition: #1: core, flags: 4
[    0.340000] _______Entering board_nor_init
[    0.340000]
[    0.340000] NOR: Can't request GPMC CS
[    0.350000] *********************Exiting ti8148_evm_init()*************   

 

Also the kernel code flow, after this method call, if i want to look into the kernel sources further.

 

br

Vikas 


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>