Hardware is our own board, based on the Leopardboard dm368 reference design. Software is Appro IPNC MT5 DM368 4.0.x SDK, which we have successfully built & run on a leopardboard DM368.
An odd phenomenon - when the board arrived, we loaded UBL & U-boot from SD card and could then use TFTP to load the kernel & filesys & burn to flash, and it ran and worked. Coming back to the board after the weekend, it does not boot and just hangs at "Starting kernel ..."
Earlyprintk is enabled but there are no further messages / errors printed.
I've done a lot of reading, and the common causes are:
- The UART being set wrong (it isn't, nothing has changed since it worked)
- Wrong bootargs (checked, these are identical to the leopardboard which works)
- Boot mode jumpers being wrong (they are correct)
- "Machine Type" wrong (I don't think so, no error is displayed)
The full output at boot is like this (including using TFTP to download our uimage):
U-Boot 2010.12-rc2 (Feb 13 2013 - 18:32:59)
Cores: ARM 432 MHz
DDR: 340 MHz
I2C: ready
DRAM: 128 MiB
NAND: 128 MiB
MMC: davinci: 0, davinci: 1
Bad block table not found for chip 0
Bad block table not found for chip 0
Bad block table written to 0x000007fe0000, version 0x01
Bad block table written to 0x000007fc0000, version 0x01
Net: Ethernet PHY: GENERIC @ 0x00
DaVinci-EMAC
Hit any key to stop autoboot: 0
DM36x EVM # tftpboot 0x80700000 uImage_ipnc_dm368;tftpboot 0x82000000 ipnc_dm368_ubifs;nand erase clean 0x500000 0x2C00000;nand write 0x80700000 0x500000 0x400000;nand write 0x82000000 0x900000 $filesize;boot
Using DaVinci-EMAC device
TFTP from server 192.168.2.10; our IP address is 192.168.2.169
Filename 'uImage_ipnc_dm368'.
Load address: 0x80700000
Loading: #################################################################
#################################################################
--- I removed some ## here for clarity! ---
#################################################################
######################
done
Bytes transferred = 3440032 (347da0 hex)
Using DaVinci-EMAC device
TFTP from server 192.168.2.10; our IP address is 192.168.2.169
Filename 'ipnc_dm368_ubifs'.
Load address: 0x82000000
Loading: #################################################################
#################################################################
--- I removed some ## here for clarity! ---
#################################################################
#####################################
done
Bytes transferred = 22151168 (1520000 hex)
NAND erase: device 0 offset 0x500000, size 0x2c00000
Erasing at 0x30e0000 -- 100% complete. Cleanmarker written at 0x30e0000.
OK
NAND write: device 0 offset 0x500000, size 0x400000
4194304 bytes written: OK
NAND write: device 0 offset 0x900000, size 0x1520000
22151168 bytes written: OK
Loading from nand0, offset 0x500000
Image Name: Linux-2.6.37_bobIPNC_DM368n_4.0.0
Created: 2013-07-04 9:54:35 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3439968 Bytes = 3.3 MiB
Load Address: 80008000
Entry Point: 80008000
## Booting kernel from Legacy Image at 80700000 ...
Image Name: Linux-2.6.37_bobIPNC_DM368n_4.0.0
Created: 2013-07-04 9:54:35 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3439968 Bytes = 3.3 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
And then it just stops.