• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: Can boot stock kernels off the USB, but booting with custom kernel fails :(  (Read 1050 times)
warpcore
Newbie
*

Karma: 0
Posts: 6


View Profile
« on: November 11, 2010, 12:37:27 AM »

Hi,
I have a working sheeva plug which works perfectly. It boots off the NAND as well as the USB. That way, I am able to test newer kernels off the USB which I am getting from http://sheeva.with-linux.com/sheeva/

But the moment I try to put my own custom built kernel over the USB and try to boot the same way I booted a custom built kernel, it panics and says that it can't find the rootfs. My custom kernels are built using the crosstool-ng generated arm toolchain and for simplicity I used a kernel with defconfig_kirkwood configuration, but that did not work either Sad



I am booting off the NAND with the following commands:

Quote
setenv bootargs console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs   
nand read.e 0x00800000 0x00100000 0x00400000 
bootm 0x00800000
     

And I am booting off the USB with the following commands:

Quote
setenv bootargs console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs)  ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs   
usb start                                           
fatload usb 0 0x800000 uImage       
bootm 0x00800000                           



Can anyne please help me ? Or provide any pointers if I am making any mistake here ? is there some support that I am not compiling-in in my kernel build ?

regards,
warpcore
Logged

warpcore
Newbie
*

Karma: 0
Posts: 6


View Profile
« Reply #1 on: November 11, 2010, 02:14:45 AM »

I solved it. UBIFS support was present as a module in my kernel. Changing it to static (replacing 'M' by '*') solved it. Now I can boot off my custom kernel without any glitch !

//warpcore
Logged

Pages: [1]
Print
Jump to: