Hello Beagle Community
I baught a Beagle Board Rev C5 recently.
I am not able to run the linux on it.
I am getting kernel panic. Please see the serial output below.
I also tried mmcinit and fatload commands but it doesnot detect my SD card.
I have tried with 2 different SD cards.
Anybody can help please?
Texas Instruments X-Loader 1.5.0 (Jun 14 2011 - 22:04:07)
Beagle Rev C5
Loading u-boot.bin from nand
U-Boot 2011.03-rc1-00000-g9a3cc57-dirty (Apr 01 2011 - 17:41:42)
OMAP3530-GP ES3.1, CPU-OPP2, L3-165MHz, Max CPU Clock 720 mHz
OMAP3 Beagle board + LPDDR/NAND
I2C: ready
DRAM: 256 MiB
NAND: 512 MiB
MMC: OMAP SD/MMC: 0
In: serial
Out: serial
Err: serial
Beagle Rev C4
timed out in wait_for_pin: I2C_STAT=0
No EEPROM on expansion board
Die ID #69a80004000000000403a38101009016
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x280000, size 0x400000
4194304 bytes read: OK
## Booting kernel from Legacy Image at 80200000 ...
Image Name: Angstrom/2.6.32/beagleboard
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3203048 Bytes = 3.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.32 (koen@dominion) (gcc version 4.3.3 (GCC)
) #3 PREEMPT Thu Jun 23 09:56:19 CEST 2011
[ 0.000000] CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7),
cr=10c53c7f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing
instruction cache
[ 0.000000] Machine: OMAP3 Beagle Board
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] OMAP3430/3530 ES3.1 (l2cache iva sgx neon isp 720m )
[ 0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000
[ 0.000000] Reserving 14680064 bytes SDRAM for VRAM
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total
pages: 65024
[ 0.000000] Kernel command line: console=ttyS2,115200n8 console=tty0
root=/dev/mtdblock4 rw rootfstype=jffs2 nohz=off
[ 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: 256MB = 256MB total
[ 0.000000] Memory: 238336KB available (5900K code, 673K data, 204K init,
0K highmem)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:402
[ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz
[ 0.000000] Reprogramming SDRC clock to 332000000 Hz
[ 0.000000] GPMC revision 5.0
[ 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 GPIO hardware version 2.5
[ 0.000000] OMAP clockevent source: GPTIMER12 at 32768 Hz
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [tty0] enabled
[ 0.000000] Calibrating delay loop... 496.77 BogoMIPS (lpj=1937408)
[ 0.000000] Mount-cache hash table entries: 512
[ 0.000000] CPU: Testing write buffer coherency: ok
[ 0.000000] tmpfs: No value for mount option 'mode'
[ 0.000000] devtmpfs: initialized
[ 0.000000] regulator: core version 0.5
[ 0.000000] NET: Registered protocol family 16
[ 0.000000] OMAP3 Beagle Rev: C4
[ 0.000000] Found NAND on CS0
[ 0.000000] Registering NAND on CS0
[ 0.000000] Unable to get DVI reset GPIO
[ 13.210906] OMAP DMA hardware revision 4.0
[ 13.219940] bio: create slab <bio-0> at 0
[ 13.221618] SCSI subsystem initialized
[ 13.223419] usbcore: registered new interface driver usbfs
[ 13.223663] usbcore: registered new interface driver hub
[ 13.223937] usbcore: registered new device driver usb
[ 13.224426] i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz
[ 13.227630] twl4030: PIH (irq 7) chaining IRQs 368..375
[ 13.227722] twl4030: power (irq 373) chaining IRQs 376..383
[ 13.228118] twl4030: gpio (irq 368) chaining IRQs 384..401
[ 13.229858] regulator: VUSB1V5: 1500 mV normal standby
[ 13.230163] regulator: VUSB1V8: 1800 mV normal standby
[ 13.230529] regulator: VUSB3V1: 3100 mV normal standby
[ 13.234710] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
[ 13.235290] regulator: VMMC1: 1850 <--> 3150 mV normal standby
[ 13.235656] regulator: VDAC: 1800 mV normal standby
[ 13.235992] regulator: VPLL2: 1800 mV normal standby
[ 13.236358] regulator: VSIM: 1800 <--> 3000 mV normal standby
[ 13.236816] regulator: VAUX3: 1800 mV normal standby
[ 13.237274] regulator: VAUX4: 1800 mV normal standby
[ 13.237487] i2c_omap i2c_omap.2: bus 2 rev3.12 at 400 kHz
[ 13.248687] i2c_omap i2c_omap.3: bus 3 rev3.12 at 100 kHz
[ 13.250274] Switching to clocksource 32k_counter
[ 13.262786] musb_hdrc: version 6.0, musb-dma, otg (peripheral+host),
debug=0
[ 13.263183] musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ
92
[ 13.263244] musb_hdrc musb_hdrc: MUSB HDRC host driver
[ 13.263427] musb_hdrc musb_hdrc: new USB bus registered, assigned bus
number 1
[ 13.263641] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 13.263671] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 13.263732] usb usb1: Product: MUSB HDRC host driver
[ 13.263793] usb usb1: Manufacturer: Linux 2.6.32 musb-hcd
[ 13.263824] usb usb1: SerialNumber: musb_hdrc
[ 13.264678] hub 1-0:1.0: USB hub found
[ 13.264739] hub 1-0:1.0: 1 port detected
[ 13.266235] NET: Registered protocol family 2
[ 13.266540] IP route cache hash table entries: 2048 (order: 1, 8192
bytes)
[ 13.267272] TCP established hash table entries: 8192 (order: 4, 65536
bytes)
[ 13.267578] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 13.267730] TCP: Hash tables configured (established 8192 bind 8192)
[ 13.267791] TCP reno registered
[ 13.267822] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 13.267883] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 13.268249] NET: Registered protocol family 1
[ 13.268798] RPC: Registered udp transport module.
[ 13.268859] RPC: Registered tcp transport module.
[ 13.268890] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 13.270080] omap-iommu omap-iommu.0: isp registered
[ 13.272277] VFS: Disk quotas dquot_6.5.2
[ 13.272430] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 13.273925] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 13.275024] JFFS2 version 2.2. (NAND) (SUMMARY) C 2001-2006 Red Hat,
Inc.
[ 13.276092] msgmni has been set to 465
[ 13.281524] alg: No test for stdrng (krng)
[ 13.282012] Block layer SCSI generic (bsg) driver version 0.4 loaded
(major 254)
[ 13.282073] io scheduler noop registered
[ 13.282135] io scheduler deadline registered
[ 13.282348] io scheduler cfq registered (default)
[ 13.344299] OMAP DSS rev 2.0
[ 13.344390] OMAP DISPC rev 3.0
[ 13.344482] OMAP VENC rev 2
[ 13.344787] OMAP DSI rev 1.0
[ 13.685058] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 13.706542] serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a
ST16654
[ 13.727111] serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a
ST16654
[ 13.747680] serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a
ST16654
[ 14.291870] console [ttyS2] enabled
[ 14.304382] brd: module loaded
[ 14.311859] loop: module loaded
[ 14.316680] omap2-nand driver initializing
[ 14.321228] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xbc (Micron
NAND 512MiB 1,8V 16-bit)
[ 14.330505] cmdlinepart partition parsing not available
[ 14.335815] Creating 5 MTD partitions on "omap2-nand":
[ 14.341064] 0x000000000000-0x000000080000 : "X-Loader"
[ 14.347778] 0x000000080000-0x000000260000 : "U-Boot"
[ 14.354553] 0x000000260000-0x000000280000 : "U-Boot Env"
[ 14.360931] 0x000000280000-0x000000680000 : "Kernel"
[ 14.368560] 0x000000680000-0x000020000000 : "File System"
[ 14.586914] usbcore: registered new interface driver catc
[ 14.592407] catc: v2.8:CATC EL1210A NetMate USB Ethernet driver
[ 14.598541] usbcore: registered new interface driver kaweth
[ 14.604217] pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB
Ethernet driver
[ 14.611938] usbcore: registered new interface driver pegasus
[ 14.617706] rtl8150: v0.6.2 (2004/08/27):rtl8150 based usb-ethernet
driver
[ 14.624755] usbcore: registered new interface driver rtl8150
[ 14.630615] usbcore: registered new interface driver asix
[ 14.636230] usbcore: registered new interface driver cdc_ether
[ 14.642272] usbcore: registered new interface driver dm9601
[ 14.648040] usbcore: registered new interface driver smsc95xx
[ 14.654022] usbcore: registered new interface driver gl620a
[ 14.659790] usbcore: registered new interface driver net1080
[ 14.665679] usbcore: registered new interface driver plusb
[ 14.671356] usbcore: registered new interface driver rndis_host
[ 14.677490] usbcore: registered new interface driver cdc_subset
[ 14.683624] usbcore: registered new interface driver zaurus
[ 14.689392] usbcore: registered new interface driver MOSCHIP usb-ethernet
driver
[ 14.697723] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 14.704681] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[ 14.710784] ehci-omap ehci-omap.0: new USB bus registered, assigned bus
number 2
[ 14.718536] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[ 14.734832] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[ 14.740783] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 14.747711] usb usb2: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 14.755035] usb usb2: Product: OMAP-EHCI Host Controller
[ 14.760437] usb usb2: Manufacturer: Linux 2.6.32 ehci_hcd
[ 14.765899] usb usb2: SerialNumber: ehci-omap.0
[ 14.771392] hub 2-0:1.0: USB hub found
[ 14.775268] hub 2-0:1.0: 3 ports detected
[ 14.805267] Initializing USB Mass Storage driver...
[ 14.810424] usbcore: registered new interface driver usb-storage
[ 14.816558] USB Mass Storage support registered.
[ 14.821685] mice: PS/2 mouse device common for all mice
[ 14.827453] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 14.835601] input: twl4030_pwrbutton as
/devices/platform/i2c_omap.1/i2c-1/1-0049/twl4030_pwrbutton/input/input1
[ 14.846496] i2c /dev entries driver
[ 14.850891] Linux video capture interface: v2.00
[ 14.855957] omap-iommu omap-iommu.0: isp: version 1.1
[ 14.863250] vpfe_init
[ 14.866241] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[ 14.873229] cpuidle: using governor ladder
[ 14.877471] cpuidle: using governor menu
[ 14.921722] Unable to handle kernel NULL pointer dereference at virtual
address 00000014
[ 14.929931] pgd = c0004000
[ 14.932647] [00000014] *pgd=00000000
[ 14.936279] Internal error: Oops: 5 [#1] PREEMPT
[ 14.940948] last sysfs file:
[ 14.943939] Modules linked in:
[ 14.947052] CPU: 0 Not tainted (2.6.32 #3)
[ 14.951568] PC is at musb_interrupt+0x9f8/0xbb8
[ 14.956146] LR is at musb_interrupt+0x9e4/0xbb8
[ 14.960723] pc : [<c033eb74>] lr : [<c033eb60>] psr: 60000193
[ 14.960723] sp : c0627ee0 ip : c0627f18 fp : 000000f0
[ 14.972320] r10: 00000000 r9 : 00000099 r8 : 00000009
[ 14.977600] r7 : 00000000 r6 : cf82f108 r5 : 00000001 r4 : 00000000
[ 14.984191] r3 : 00000000 r2 : 00000000 r1 : fa0ab000 r0 : cf82f108
[ 14.990783] Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment
kernel
[ 14.998260] Control: 10c5387d Table: 80004019 DAC: 00000017
[ 15.004058] Process swapper (pid: 0, stack limit = 0xc06262f0)
[ 15.009948] Stack: (0xc0627ee0 to 0xc0628000)
[ 15.014343] 7ee0: c0626000 c0641950 358526f0 00000000 3515dbec cf82f108
60000113 cf8a1940
[ 15.022613] 7f00: c0626000 0000005c 00000000 00000000 c066e320 c033ed98
c0627f48 cf8a1940
[ 15.030883] 7f20: c063b5a8 c00a3ddc 00000000 cf8a1940 c063b5a8 0000005c
00000002 00000001
[ 15.039154] 7f40: c0626000 0000001f 00000000 c00a5ed4 0000005c 00000000
c0629e84 c003b074
[ 15.047424] 7f60: 411fc083 ffffffff fa200000 c003bb44 00000000 80000013
80000013 00000000
[ 15.055694] 7f80: c0626000 c0629fe0 c0629e84 c067230c 8002f43c 411fc083
0000001f 00000000
[ 15.063964] 7fa0: 00000016 c0627fbc c003cac0 c003cac8 60000013 ffffffff
00000000 c003cfa4
[ 15.072235] 7fc0: 00000000 c06b94e0 c06722d0 c0031010 c0629e78 c0008984
c0008498 00000000
[ 15.080474] 7fe0: 00000000 c0031010 10c53c7d c0672360 c0031414 80008034
00000000 00000000
[ 15.088775] [<c033eb74>] (musb_interrupt+0x9f8/0xbb8) from [<c033ed98>]
(generic_interrupt+0x64/0x98)
[ 15.098083] [<c033ed98>] (generic_interrupt+0x64/0x98) from [<c00a3ddc>]
(handle_IRQ_event+0xac/0x1ec)
[ 15.107513] [<c00a3ddc>] (handle_IRQ_event+0xac/0x1ec) from [<c00a5ed4>]
(handle_level_irq+0xbc/0x148)
[ 15.116943] [<c00a5ed4>] (handle_level_irq+0xbc/0x148) from [<c003b074>]
(asm_do_IRQ+0x74/0x98)
[ 15.125732] [<c003b074>] (asm_do_IRQ+0x74/0x98) from [<c003bb44>]
(__irq_svc+0x44/0xa8)
[ 15.133819] Exception stack(0xc0627f70 to 0xc0627fb8)
[ 15.138916] 7f60: 00000000 80000013
80000013 00000000
[ 15.147186] 7f80: c0626000 c0629fe0 c0629e84 c067230c 8002f43c 411fc083
0000001f 00000000
[ 15.155456] 7fa0: 00000016 c0627fbc c003cac0 c003cac8 60000013 ffffffff
[ 15.162139] [<c003bb44>] (__irq_svc+0x44/0xa8) from [<c003cac8>]
(default_idle+0x28/0x2c)
[ 15.170410] [<c003cac8>] (default_idle+0x28/0x2c) from [<00000000>] (0x0)
[ 15.177276] Code: e3530003 13a02000 05963078 05933018 (05d33014)
[ 15.183532] ---[ end trace 695a67271f5afb47 ]---
[ 15.188232] Kernel panic - not syncing: Fatal exception in interrupt
Thanks & Regards
Tarun Chaplot
Senior Application Engineer