debian on beagle question

Hi Vlad,

Vladimir Vukicevic wrote:

Hey Dirk,

I was just trying to follow your guide at http://elinux.org/BeagleBoardDebian

This guide isn't from me, it's from Robert, see

http://groups.google.com/group/beagleboard/browse_thread/thread/538c104ba7abf570#

on getting debian going on the beagle -- I've got an install done on a 4GB SDHC card that I was using earlier for the angstrom demo image. If I try booting with the same kernel as I used for the angstrom image (2.6.26-omap1), I get to:

Waiting 1sec before mounting root device...
mmc0: host does not support reading read-only switch. assuming write- enable.
mmc0: new high speed SDHC card at address b368
mmcblk0: mmc0:b368 SD 3930624KiB
mmcblk0: p1 p2
kjournald starting. Commit interval 5 seconds
EXT3 FS on mmcblk0p2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem).
Freeing init memory: 172K
Kernel panic - not syncing: Attempted to kill init!

I'm unsure why init is either not being run, or is crashing, or something..

If I try the kernel you suggested on that page, the 2.6.18 uImage_OTG, it can't find mmcblk0p2 -- perhaps SDHC support landed after 2.6.18? For reference, the tail end of the boot messages:

<6>VFP support v0.3: VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
<6>cpuidle: using governor menu
<3>Root-NFS: No NFS server available, giving up.
<3>VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "mmcblk0p2" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
(... listed mtdblock parts)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown- block(2,0)

I'm happy to build a new kernel, and will probably try doing so shortly, but I'm more curious as to why the original angstrom image can't seem to boot here. (I had no problems booting using qemu from the SD card, fwiw, so the install there is good.)

Any help would be appreciated!

Unfortunately, I have no idea. Didn't try the Debian way myself.

Looping in the mailing list and Robert, maybe they can help.

Please don't send private mails, always ask on the mailing list (or at IRC), there are more people to help.

Regards

Dirk

Managed to solve this -- building the latest kernel from git (after,
in this case, building 2007q3-53's gcc with the -Os patch applied,
though that may not be necessary for the just the kernel) fixed the
problems for me -- the debian image is booting fine now and seems to
work well. I'm guessing SDHC was the issue withthe older kernel, and
I'm not sure what the issue was with the newer one; but it's humming
along happily now.

    - Vlad

Hi Vlad,

That's good to hear..

Say what git checkout did you use? default .config?

I'm having a hard time finding a working checkout with framebuffer
support that builds in debian..

although my build machine just finished, should upload in a minute or
two.. (2.6.26) it's completely untested.. (its pretty late, so i
won't be able to actually test it in the morning)

http://www.rcn-ee.com/code/beagle/debian/

if your interested.. (usb ethernet and some wifi is enabled in-kernel)