Page 1 of 1

Problem after upgrade ... need help

Posted: Tue Oct 20, 2015 8:12 am
by newbie
Hi
I have a problem with my wink. I have console acces but here is the output.
Please someone help me

Thanks

Loading file 'DO_UPDATE' to addr 0x42000000 with size 1 (0x00000001)...
Done
word at 0x42000000 (0x31) != word at 0x42000004 (0x30)
Total of 0 word(s) were the same

NAND read: device 0 offset 0x300000, size 0x300000
3145728 bytes read: OK
Wrong Image Format for bootm command
ERROR: can't get kernel image!

NAND read: device 0 offset 0x2b00000, size 0x400000
4194304 bytes read: OK
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Falling back to updater...

NAND read: device 0 offset 0x300000, size 0x300000
3145728 bytes read: OK
Wrong Image Format for bootm command
ERROR: can't get kernel image!

NAND read: device 0 offset 0x2b00000, size 0x400000
4194304 bytes read: OK
Wrong Image Format for bootm command
ERROR: can't get kernel image!
=> printenv
app_boot=run appboot_args && nand read ${loadaddr} app-kernel 0x00400000 && boot m ${loadaddr}
app_boot_bad=run updater_args; setenv bootargs ${bootargs} badapp; nand read ${l oadaddr} updater-kernel 0x00300000; bootm ${loadaddr}
appboot_args=setenv bootargs 'noinitrd console=ttyAM0,115200 rootfstype=ubifs ub i.mtd=5 root=ubi0:rootfs rw gpmi';
baudrate=115200
bd_addr=0021CC0892FA
boot_app=run app_boot || run app_boot_bad
boot_getflag=mtdparts default && ubi part database && ubifsmount ubi0:database & & mw 42000000 0 8 && ubifsload 42000000 DO_UPDATE 1 && run boot_logic
boot_logic=mw 42000004 30; if cmp 42000000 42000004 1; then run boot_app; else r un boot_updater; fi;
boot_updater=run updater_boot || run updater_boot_bad
bootargs=noinitrd console=ttyAM0,115200 rootfstype=ubifs ubi.mtd=5 root=ubi0:roo tfs rw gpmi badupdater
bootcmd=mtdparts default; run boot_getflag || echo Falling back to updater...; r un boot_updater
bootdelay=0
bootfile=uImage
ethact=FEC0
ethaddr=00:04:00:00:00:00
ethprime=FEC0
filesize=1
loadaddr=0x42000000
mtddevname=u-boot
mtddevnum=0
mtdids=nand0=gpmi-nand
mtdparts=mtdparts=gpmi-nand:3m(u-boot),4m(updater-kernel),28m(updater-rootfs),8m (database),8m(app-kernel),-(app-rootfs)
partition=nand0,0
serialno=152201021WZD1
stderr=serial
stdin=serial
stdout=serial
updater_args=setenv bootargs 'noinitrd console=ttyAM0,115200 rootfstype=ubifs ub i.mtd=2 root=ubi0:rootfs rw gpmi';
updater_boot=run updater_args && nand read ${loadaddr} updater-kernel 0x00300000 && bootm ${loadaddr}
updater_boot_bad=run appboot_args; setenv bootargs ${bootargs} badupdater; nand read ${loadaddr} app-kernel 0x00400000; bootm ${loadaddr}
ver=U-Boot 2014.01-14400-gda781c6-dirty (Apr 30 2014 - 22:35:38)

Re: Problem after upgrade ... need help

Posted: Tue Oct 20, 2015 9:16 am
by newbie
Hi

I think that i formatted mtd1 and mtd4 and my copy didnt worked.. REBOOTED and now nothing...
Can someone guide me to restore mtd1 and mtd4.

Thanks