Boot kernel from flash on CDPSC520 w/o BIOS!

Alexander Melichenko AlexanderM at lrpeople.com
Sat Apr 28 03:27:25 EDT 2001


On Friday, April 27, Vipin Malic wrote :


> Alexander Melichenko wrote:
>
> > Hello, Vipin!
> > To boot kernel from flash I do :
> > - reset the board (z).
> > - init it (yi).
> > - load lstart16.abs to it (ns lstart16.abs ff800, ns lstart16.abs
7ff800).
>
> Nope. You need to load the lstart16.abs file to the BIOS FLASH chip, NOT
to
> the FLASH bank0
>
> >
> > - load zImage to it with offset 0 (ns zImage 0).
>
> Where did you init the root fs? Whe  zFlashImage boots, it will look to
mount
> the root fs. Also you need to
> tell zFlah image what the root device is. See the HOWTO for more details.
>
> >
> > After that I reboot CDP, but nothing is happening.
> > What step is wrong?
>
> This is quite a complicated procedure. Make sure that you can read/write
the
> /mtd partitions. Read the HOWTO.
>

Hello, Vipin!
Are the next steps correct?
- put lstart16.abs to 29F040 flash with offset 40000 (ns lstart16.abs
40000);
- put zImage to 29LV017 bank0 with offset 0 (???).
- put zFlash (root file system) to 29LV017 bank1 with offset 0 (???).
- rdev /dev/mtdblock??  /dev/mtdblock??.
- rdev -R zImage 0.

I experimented with that and other options, but currently result is bad.

Thank You.
           Alexander.



To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org



More information about the linux-mtd mailing list