Hello,

I've been trying to get a kernel build environment set up for my BBB. I've 
set up a cross compiler and I've followed the following steps.

git clone git://github.com/beagleboard/kernel.git
cd kernel
git checkout 3.8
./patch.sh
cp configs/beaglebone kernel/arch/arm/configs/beaglebone_defconfig
wget 
http://arago-project.org/git/projects/?p=am33x-cm3.git\;a=blob_plain\;f=bin/am335x-pm-firmware.bin\;hb=HEAD
 -O kernel/firmware/am335x-pm-firmware.bin
cd kernel
make ARCH=arm CROSS_COMPILE=${CC} beaglebone_defconfig -j4
make ARCH=arm CROSS_COMPILE=${CC} uImage dtbs LOADADDR=0x80008000 -j4
make ARCH=arm CROSS_COMPILE=${CC} uImage-dtb.am335x-boneblack 
LOADADDR=0x80008000 -j4


make ARCH=arm CROSS_COMPILE=${CC} modules -j4


I've moved the modules created into /lib/modules/<version> and copied the 
uImage into /boot in the second partition of the mmc.


When trying to boot the new kernel, this is the last output I receive over the 
serial port:


Booting from mmc ...

## Booting kernel from Legacy Image at 80007fc0 ...

   Image Name:   Linux-3.8.13+

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    4311374 Bytes = 4.1 MiB

   Load Address: 80008000

   Entry Point:  80008000

   Verifying Checksum ... OK

## Flattened Device Tree blob at 80f80000

   Booting using the fdt blob at 0x80f80000

   XIP Kernel Image ... OK

OK

   Using Device Tree in place at 80f80000, end 80f89133


Starting kernel ...


Uncompressing Linux... done, booting the kernel.


Then it just hangs with no led activity until I power cycle it.


I think that this indicates that uboot has finished and that the problem must 
lie with the kernel I've built. Perhaps I'm missing an option somewhere?


I've tried both using the beaglebone_defconfig and using the info from 
/proc/config.gz to build a kernel. I've tried two cross compiler tool chains 
and I've let the thing build natively overnight and still it hangs on "done, 
booting the kernel".


Does anyone have any idea what I may be doing wrong?


Thanks,

Dan


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to