Categories

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

SheevaPlug Debian booting from internal Flash

If you previosuly installed Debian on your internal flash and for some reasons your u-boot environment f**k you can simply restore it with this:

setenv mtdpartitions mtdparts=nand_mtd:0xa0000@0x0(u-boot),0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs)

setenv bootargs_root ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs

setenv bootargs_console console=ttyS0,115200

setenv bootcmd_nand ‘nand read.e 0x00800000 0x00100000 0x00400000’

setenv bootcmd ‘setenv bootargs $(bootargs_console) $(mtdpartitions) $(bootargs_root); run bootcmd_nand; bootm 0x00800000’

saveenv

This saved me, hope that can help you 😉

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

  

  

  

CAPTCHA

*