Hi, all,
I was trying to boot up my hawkboard lite, following the instructions on the
Getting Started link at hawkboard main page
After the boot failure based on the kernel and ramdisk image file(which can be
downloaded here), and a week's waitting without getting any help here, i
decided to try the usb way of booting, and the result is as below:
******************************************************************************************************************************
U-Boot 2009.01-dirty (Nov 26 2009 - 02:15:00)
DRAM: 128 MB
NAND: NAND device: Manufacturer ID: 0x2c, Chip ID: 0xa1 (Micron NAND 128MiB
1,8V 8-bit)
Bad block table not found for chip 0
Bad block table not found for chip 0
Bad block table written to 0x07fe0000, version 0x01
Bad block table written to 0x07fc0000, version 0x01
128 MiB
In: serial
Out: serial
Err: serial
ARM Clock : 300000000 Hz
DDR Clock : 150000000 Hz
Ethernet PHY: GENERIC @ 0x07
Hit any key to stop autoboot: 3 2 1 0
hawkboard.org >
hawkboard.org > printenv
bootcmd=
bootdelay=3
baudrate=115200
bootfile="uImage"
ethaddr=0a:c1:a8:12:fa:c0
ipaddr=192.168.0.2
serverip=192.168.0.1
bootargs=console=ttyS2,115200n8 noinitrd root=/dev/sda1 rootwait rw
init=/sbin/init
stdin=serial
stdout=serial
stderr=serial
ver=U-Boot 2009.01-dirty (Nov 26 2009 - 02:15:00)
Environment size: 296/131068 bytes
hawkboard.org > tftp c0700000 uImage_v1
TFTP from server 192.168.0.1; our IP address is 192.168.0.2
Filename 'uImage_v1'.
Load address: 0xc0700000
Loading: *#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#####################################################
done
Bytes transferred = 1934036 (1d82d4 hex)
hawkboard.org > bootm c0700000
## Booting kernel from Legacy Image at c0700000 ...
Image Name: Linux-2.6.32-rc6-00079-g55996fd-
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1933972 Bytes = 1.8 MB
Load Address: c0008000
Entry Point: c0008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Linux version 2.6.32-rc6-00079-g55996fd-dirty (r...@khasim-laptop) (gcc version
4.3.3 (Sourcery G++ Lite 2009q1-203) ) #2 PREEMPT Thu Nov 26 02:14:24 IST 2009
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: OMAPL 138 Hawkboard.org
Memory policy: ECC disabled, Data cache writeback
DaVinci da850/omap-l138 variant 0x0
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: console=ttyS2,115200n8 noinitrd root=/dev/sda1 rootwait rw
init=/sbin/init
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 125652KB available (3684K code, 272K data, 148K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:245
Console: colour dummy device 80x30
Calibrating delay loop... 149.50 BogoMIPS (lpj=747520)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
DaVinci: 144 gpio irqs
regulator: core version 0.5
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource timer0_1
musb_hdrc: version 6.0, cppi4.1-dma, (host+peripheral), debug=0
Waiting for USB PHY clock good...
musb_hdrc: USB OTG mode controller at fee00000 using DMA, IRQ 58
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
msgmni has been set to 245
io scheduler noop registered
io scheduler anticipatory registered (default)
da8xx_lcdc da8xx_lcdc.0: GLCD: Found VGA_Monitor panel
Console: switching to colour frame buffer device 80x30
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a 16550A
serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a 16550A
serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a 16550A
console [ttyS2] enabled
brd: module loaded
ahci ahci: forcing PORTS_IMPL to 0x1
ahci ahci: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
ahci ahci: flags: ncq sntf pm led clo only pmp pio slum part ccc
scsi0 : ahci
ata1: SATA max UDMA/133 irq 67
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xa1 (Micron NAND 128MiB 1,8V 8-bit
)
Bad block table not found for chip 0
Bad block table not found for chip 0
Scanning device for bad blocks
Bad eraseblock 407 at 0x0000032e0000
Bad eraseblock 847 at 0x0000069e0000
Bad eraseblock 886 at 0x000006ec0000
Bad eraseblock 982 at 0x000007ac0000
Creating 5 MTD partitions on "davinci_nand.1":
0x000000000000-0x000000020000 : "u-boot env"
0x000000020000-0x000000040000 : "UBL"
0x000000040000-0x0000000c0000 : "u-boot"
0x000000200000-0x000000400000 : "kernel"
0x000000400000-0x000008000000 : "filesystem"
davinci_nand davinci_nand.1: controller rev. 2.5
console [netcon0] enabled
netconsole: network logging started
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci ohci.0: DA8xx OHCI
ohci ohci.0: new USB bus registered, assigned bus number 2
ohci ohci.0: irq 59, io mem 0x01e25000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
g_ether gadget: using random self ethernet address
g_ether gadget: using random host ethernet address
usb0: MAC ce:1a:28:2b:13:be
usb0: HOST MAC 32:9f:ee:5a:75:b0
g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
g_ether gadget: g_ether ready
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
watchdog watchdog: heartbeat 60 sec
cpuidle: using governor ladder
cpuidle: using governor menu
davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.21.
No device for DAI tlv320aic3x
asoc: tlv320aic3x <-> davinci-i2s mapping ok
ALSA device list:
#0: DA850/OMAP-L138 EVM (tlv320aic3x)
TCP cubic registered
NET: Registered protocol family 17
Clocks: disable unused emac
Clocks: disable unused spi1
davinci_emac_probe: using random MAC addr: f6:8e:05:f5:65:6b
ata1: SATA link down (SStatus 0 SControl 300)
emac-mii: probed
Waiting for root device /dev/sda1...
usb 2-1: new full speed USB device using ohci and address 2
usb 2-1: not running at top speed; connect to a high speed hub
usb 2-1: configuration #1 chosen from 1 choice
scsi1 : SCSI emulation for USB Mass Storage devices
scsi 1:0:0:0: Direct-Access KINGMAX USB2.0 Flashdisk 2.00 PQ: 0 ANSI: 2
sd 1:0:0:0: [sda] 1740800 512-byte logical blocks: (891 MB/850 MiB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Assuming drive cache: write through
sd 1:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 1:0:0:0: [sda] Assuming drive cache: write through
sd 1:0:0:0: [sda] Attached SCSI removable disk
VFS: Mounted root (ext2 filesystem) on device 8:1.
Freeing init memory: 148K
* Filesystem type 'fusectl' is not supported. Skipping mount.
* Setting preliminary keymap...
* Starting kernel event manager...
* Loading hardware drivers...
* Loading kernel modules... * Loading manual drivers...
* Setting kernel variables (/etc/sysctl.conf)...
* Setting kernel variables (/etc/sysctl.d/10-console-messages.conf)...
* Setting kernel variables (/etc/sysctl.d/10-network-security.conf)...
error: "net.ipv4.tcp_syncookies" is an unknown key
* Activating swap...
* Checking file systems... fsck 1.41.4 (27-Jan-2009)
* Mounting local filesystems...
* Activating swapfile swap...
* Configuring network interfaces...
* Setting up console font and keymap...
Ubuntu 9.04 Alok-PC ttyS2
Alok-PC login: * Starting system log daemon...
* Starting kernel log daemon...
* Starting OpenBSD Secure Shell server sshd
* Starting periodic command scheduler crond
Internal error: Oops - undefined instruction: 0 [#1] PREEMPT
last sysfs file: /sys/kernel/uevent_seqnum
Modules linked in:
CPU: 0 Not tainted (2.6.32-rc6-00079-g55996fd-dirty #2)
PC is at 0xc1d34778
LR is at handle_edge_irq+0x100/0x1c8
pc : [<c1d34778>] lr : [<c0071af0>] psr: a0000093
sp : c03c7f10 ip : c03c7f10 fp : c03c7f2c
r10: c0025004 r9 : c03c6000 r8 : 00000001
r7 : c03cab34 r6 : 00000015 r5 : c03c6000 r4 : c03d05fc
r3 : 00000000 r2 : c03c7f10 r1 : c03d05fc r0 : 00000015
Flags: NzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 0005317f Table: c6ca8000 DAC: 00000017
Process swapper (pid: 0, stack limit = 0xc03c6270)
Stack: (0xc03c7f10 to 0xc03c8000)
7f00: 00000015 00000000 00200000 00000002
7f20: c03c7f44 c03c7f30 c002d070 c0071a00 ffffffff febfd000 c03c7f9c c03c7f48
7f40: c002daec c002d010 00000000 0005317f 0005217f 60000013 c03c6000 c03ea5dc
7f60: c0026e14 c03ca3c8 c0025038 41069265 c0025004 c03c7f9c 600000d3 c03c7f90
7f80: c002f060 c002f06c 60000013 ffffffff c03c7fb4 c03c7fa0 c002f5b0 c002f048
7fa0: c03c6000 c03ea5dc c03c7fcc c03c7fb8 c02eb578 c002f548 c03f1f9c c03ea5dc
7fc0: c03c7ff4 c03c7fd0 c00089b8 c02eb510 c00084f0 00000000 00000000 c0026e18
7fe0: 00053175 c03ea684 00000000 c03c7ff8 c0008034 c000875c 00000000 00000000
Backtrace:
[<c00719f0>] (handle_edge_irq+0x0/0x1c8) from [<c002d070>] (asm_do_IRQ+0x70/0x8c
)
r7:00000002 r6:00200000 r5:00000000 r4:00000015
[<c002d000>] (asm_do_IRQ+0x0/0x8c) from [<c002daec>] (__irq_svc+0x4c/0x9c)
Exception stack(0xc03c7f48 to 0xc03c7f90)
7f40: 00000000 0005317f 0005217f 60000013 c03c6000 c03ea5dc
7f60: c0026e14 c03ca3c8 c0025038 41069265 c0025004 c03c7f9c 600000d3 c03c7f90
7f80: c002f060 c002f06c 60000013 ffffffff
r5:febfd000 r4:ffffffff
[<c002f038>] (default_idle+0x0/0x38) from [<c002f5b0>] (cpu_idle+0x78/0xec)
[<c002f538>] (cpu_idle+0x0/0xec) from [<c02eb578>] (rest_init+0x78/0x8c)
r5:c03ea5dc r4:c03c6000
[<c02eb500>] (rest_init+0x0/0x8c) from [<c00089b8>] (start_kernel+0x26c/0x2c4)
r5:c03ea5dc r4:c03f1f9c
[<c000874c>] (start_kernel+0x0/0x2c4) from [<c0008034>] (__enable_mmu+0x0/0x2c)
Code: 00015249 1000c009 502c2641 4a200852 (8c207028)
---[ end trace 8004bcfadecb8666 ]---
Kernel panic - not syncing: Fatal exception in interrupt
********************************************************************************************************************
The kernel crashed each time after the words " * Starting periodic command
scheduler crond", and the way it crashes maybe different, like below:
********************************************************************************************************************
Alok-PC login:
* Starting kernel log daemon...
* Starting OpenBSD Secure Shell server sshd
* Starting periodic command scheduler crond
Internal error: Oops - undefined instruction: 0 [#1] PREEMPT
last sysfs file: /sys/kernel/uevent_seqnum
...
*********************************************************************************************************************
or
********************************************************************************************************************
Alok-PC login:
* Starting kernel log daemon...
* Starting OpenBSD Secure Shell server sshd
* Starting periodic command scheduler crond
Unable to handle kernel NULL pointer dereference at virtual address 0000001c
pgd = c0004000
[0000001c] *pgd=00000000
Internal error: Oops: 17 [#1] PREEMPT
last sysfs file: /sys/kernel/uevent_seqnum
********************************************************************************************************************
or
********************************************************************************************************************
* Starting periodic command scheduler crond
Internal error: enced: 31065
last sysfs file: nced: 31065
Modules linked in:
CPU: 0 Not tainted (2.6.32-rc6-00079-g55996fd-dirty #2 PREEMPT Thu Nov 26
02:14:24 IST 2009)
PC is at update_xtime_cache+0x5c/0x78
LR is at update_wall_time+0x520/0x53c
pc : [<c00611cc>] lr : [<c0061d88>] psr: 80000093
......
********************************************************************************************************************
Anyone who encounted same or similar problem or who knows how this could happen
please reply.
I also visited the google group of hawkboard and tried to register to be a
member to say something there, but my member is always pending, anyone knows
why?
anyone knows where is the best place to find an answer or get a discussion on
hawkboard problems?
Any help appreciated, thanks in advance.
wxzzzh
2011-01-05
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source