[U-Boot] uboot kernel rejects filesystem

2009-05-12 Thread Bharat Bhushan
Hi All, I am very new to u-boot. I have kernel image, which I loaded to NOR of my board and with bootm, control passes to kernel and it starts booting. There is panic in kernel: since it can not find the file-system. I am afraid, I did make trivial mistake. I have flashed squashfs filesystem ima

Re: [U-Boot] uboot kernel rejects filesystem

2009-05-12 Thread Detlev Zundel
Hi Bharat, > I am very new to u-boot. Welcome aboard! > I have kernel image, which I loaded to NOR of my board and with bootm, > control passes to kernel and it starts booting. > There is panic in kernel: since it can not find the file-system. I am > afraid, I did make trivial mistake. > > I hav

Re: [U-Boot] uboot kernel rejects filesystem

2009-05-12 Thread Detlev Zundel
Hi Bharat, [re-adding the mailing list as others may also profit from the discussion] > Thank you for the prompt reply. > > Unfortunately in linux tree, my board specific MTD partition info is not > preset. > > Is there any quick way round. Yep - thinking some more, I see two possible (quick) so

Re: [U-Boot] uboot kernel rejects filesystem

2009-05-14 Thread Bharat Bhushan
Hi Detlev, On Tue, May 12, 2009 at 9:10 PM, Detlev Zundel wrote: > Hi Bharat, > > [re-adding the mailing list as others may also profit from the > discussion] > > > Thank you for the prompt reply. > > > > Unfortunately in linux tree, my board specific MTD partition info is not > > preset. > > >

Re: [U-Boot] uboot kernel rejects filesystem

2009-05-14 Thread Wolfgang Denk
Dear Bharat Bhushan, In message you wrote: > > u-b>mtdparts > device nor0 , # parts =3D 5 > #: namesizeoffset mask_flags > 0: boot0x0004 0x 0 > 1: boot_config 0x0001 0x0004 0 > 2: bo

Re: [U-Boot] uboot kernel rejects filesystem

2009-05-15 Thread Detlev Zundel
Hi Bharat, > I have modified in kernel for mtd support. in U_BOOT following is the info: Apart from the things which Wolfgang pointed out - I do *not* see any MTD related info in your Linux kernel log. Are you sure yoiu have mtd support? For example when I boot a sequoia (440epx amcc) board, I

Re: [U-Boot] uboot kernel rejects filesystem

2009-05-15 Thread Bharat Bhushan
Hi Detlev, I have gone thru the kernel code. I could only figure out that m25p80 is spi driver which is register as spi-driver. Registration is done, which I could see from early printk's. But this module is never probed. Next, kernel iterates through the list of devices and tries to find out mtdp

Re: [U-Boot] uboot kernel rejects filesystem

2009-05-15 Thread Detlev Zundel
Hi Bharat, > I have gone thru the kernel code. I could only figure out that m25p80 > is spi driver which is register as spi-driver. Oh wow, an SPI NOR flash. In my opinion, this is a rare constellation, so you will probably need to debug MTD in Linux. > Registration is done, which I could see

Re: [U-Boot] uboot kernel rejects filesystem

2009-05-18 Thread Bharat Bhushan
Hi Detlev, Seems there was an issue with my kernel code that you correctly pointed out in previous mail. Now I could pass bootarg board='myboard'. For myboard, I have done relevent changes in kernel code, so kernel does init for my hardware. Earlier while choosing mips machine, it was choosing g

Re: [U-Boot] uboot kernel rejects filesystem

2009-05-19 Thread Detlev Zundel
Hi Bharat, > Seems there was an issue with my kernel code that you correctly > pointed out in previous mail. > > Now I could pass bootarg board='myboard'. For myboard, I have done > relevent changes in kernel code, so kernel does init for my hardware. > Earlier while choosing mips machine, it was