On Sun, 2012-10-07 at 11:31 -0700, Grant wrote:
> I've been using 3.1 on Gentoo and I'm trying to move to 3.6 but the
> Beaglebone hangs at "Starting kernel" and won't return a ping. I've
> been trying to solve this for days. I noticed CONFIG_CMDLINE isn't
> specified in configs/beaglebone (3.6) like it is with
> am335x_evm_defconfig (3.1). I tried filling it out and I tried
> changing uEnv.txt like this but it still hangs:
>
> bootargs=console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3
> rootwait ip=none
> boot
>
> Where is the kernel commandline supposed to come from in 3.6?
The kernel command line comes from the same place in both kernels, more
than likely (I haven't used 3.6 yet but I haven't heard of any changes
coming in the area).
If the output on the serial console says "Starting kernel" but you do
not see the next line:
Uncompressing Linux... done, booting the kernel.
then either the bootloader couldn't find the kernel or it couldn't be
uncompressed and/or copied into memory to run. None of the arguments
you specified in the bootargs should affect this. You're problem is
more likely the setup on your SD card.
> The following is from README.md and I didn't use the third command for 3.1:
>
> cd kernel
> make uImage
> make uImage-dtb.am335x-bone
Not sure if a dtb is needed for ARM devices. The BeagleBoard doesn't
use one. But I don't have a BeagleBone. I've only used DTB's on
PowerPC's.
> Do I need to do anything afterward other than copying
> arch/arm/boot/uImage to /boot?
The bootloader probably can't find /boot. For BeagleBoard's the first
partition on the SD card is a FAT partition and is where you store the
kernel image. I haven't used the BeagleBone yet so maybe this changed
with that board. You should probably check the BeagleBone pages on
elinux.org for clarification.
Hope this helps a little.
--
Michael J. Hammel <
mjha...@graphics-muse.org>