Hello, all,
I am trying to get my own Linux running on a powerpc dev board. I have a working kernel from the manufacturer of the board. I'm trying to replace the stock BSP/rootfs with one that I built from Yocto Linux. I've followed the instructions to build and install the Yocto root filesystem to an SD card and I think I've done that correctly. Linux is able to detect and mount the partition as root, however the system powers down and halts a few seconds after mounting. Below is a snippet from the output to the console.
Code:
Waiting for root device /dev/mmcblk0p1...
mmc0: new high speed SDHC card at address e624
mmcblk0: mmc0:e624 SU04G 3.69 GiB
mmcblk0: p1
kjournald starting. Commit interval 5 seconds
EXT3-fs (mmcblk0p1): using internal journal
EXT3-fs (mmcblk0p1): mounted filesystem with writeback data mode
VFS: Mounted root (ext3 filesystem) on device 179:1.
Freeing unused kernel memory: 188k init
Power down.
System Halted, OK to turn off power
There are a few seconds between the kernel memory message and the power down message.
I've tried setting the runlevel in inittab to both 3 and 1, but the same error happens. I've also tried putting echo messages in the rc scripts that should be called by init, but they don't appear in the console. I've also tried specifying the rootfs in the fstab by the partition's UUID and commenting out everything altogether in fstab but the issues remains.
Does anyone have any idea how I can debug this issue? I've tried passing "ignore_loglevel" and "debug" to my kernel command line but no extra messages are printed. I'm not sure where to proceed from here. Thanks.
P.S. Here is what I'm passing to the kernel command line:
Code:
root=/dev/mmcblk0p1 rw rootfstype=ext3 rootwait mem=248M console=ttyS0,115200 ignore_loglevel