On 01/31/2011 11:57 AM, Avik Sil wrote:
- make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- modules_install
- cp arch/arm/boot/uImage /media/boot; sync
Everything went on smoothly. Then I put the SD card on BB and powered it on. I got a kernel panic: http://paste.ubuntu.com/560562
Please help me figuring out the problem. Is it because I didn't create uInitrd? If so, then how to create it for ARM?
I believe you're right. Is there a uInitrd file in your boot partition? At least, that's how things are in Ubuntu on ARM.... In this case, you also need some modules in the uInitrd file.
If you have such a file, you could manually update your uInitrd to include the modules for your kernel. You will find details on http://omappedia.org/wiki/Development_With_Ubuntu (that's how I was making experimental changes to Ubuntu's uInitrd files)
Another cleaner way could be to produce a new Debian package for your kernel, and run linaro-image-tools again, but that's a bit less straighforward.
I'm sure the other guys more familiar with the hardware packs will give you better advise.... I just shared what I know.