On Mon, Jun 11, 2012 at 11:44:33PM +0200, Luka Perkov wrote:
> On Mon, Jun 11, 2012 at 11:29:53PM +0200, Martin Mueller wrote:
> > Hi Luka,
> > 
> > On Mon, Jun 11, 2012 at 10:37:15PM +0200, Luka Perkov wrote:
> > > 
> > > Do you have printenv output from old uboot?
> > 
> > Yes, so everything is fine. After restoring my old environment the
> > dockstar boots it's old image again. I guess I was just confused by
> > the ubi-stuff.
> > 
> > > You should have uboot environment like above. Do you know how to do it 
> > > yourself
> > > or I need to write the commands?
> > 
> > No, the information, that just the environment needs to get readjusted
> > and the old image should be compatible was enough.
> 
> Can you share which uboot environment worked on new uboot?

I had to reset the bootargs and bootcmd values. Of course there is a
lot missing, as HW-address, tftp ip, netmask etc.

This is the minimal env, that works for me to boot the device from
nand:

DockStar> printenv
baudrate=115200
bootargs=console=ttyS0,115200 
mtdparts=orion_nand:1M(u-boot),4M@2M(kernel),32M@4M(rootfs),219M@37M(data) rw 
root=/dev/mtdblock2 rw rootfstype=jffs2
bootargs_root=ubi.mtd=1 root=ubi0:root rootfstype=ubifs ro
bootcmd=nand read 0x6400000 0x200000 0x400000; bootm 0x6400000;
bootdelay=3
console=console=ttyS0,115200
ethact=egiga0
initrd=/boot/uInitrd
kernel=/boot/uImage
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1m(uboot),-(root)
stderr=serial
stdin=serial
stdout=serial

bye
  MM
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to