Welcome! Log In Create A New Profile

Advanced

IX2 IOMEGA\LENOVO 88F6282A Erase bootloader u-boot

Posted by gadjie@mail.ru 
IX2 IOMEGA\LENOVO 88F6282A Erase bootloader u-boot
July 20, 2021 03:50PM
Hi friends!
I need your help. I was trying to update my u-boot on Iomega / Lenovo ix2 NAS device and accidentally erased the u-boot using the next command:
sf erase all


Please tell me what to do to restore my device?


About my system

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__|

** ix2-spi ** ** uboot_ver:0.0.8 **

 ** MARVELL BOARD: DB-88F6282A-BP LE 

U-Boot 1.1.4 (Oct 28 2011 - 15:18:22) Marvell version: 3.6.1 - EMC

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CD5A0

Soc: 88F6282 A1 CPU running @ 1600Mhz L2 running @ 800Mhz
SysClock = 533Mhz , TClock = 200Mhz 

DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7
DRAM CS[0] base 0x00000000   size 256MB 
DRAM Total size 256MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
Found ADT7473, program PWM1 ... OK
[1024kB@f8000000] Flash:  1 MB

Marvell Serial ATA Adapter
Integrated Sata device found


CPU : Marvell Feroceon (Rev 1)

Streaming disabled 
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
what I've done.
Marvell>> sf erase all
Marvell>> sflash info

Flash Base Address  : 0xf8000000
Flash Model         : MXIC MX25L8006E
Manufacturer ID     : 0xc2
Device Id           : 0x2014
Sector Size         : 4K
Number of sectors   : 256
Page Size           : 256
Write Protection    : Off



Help me, please!

Best wishes, Gadjie!



Edited 3 time(s). Last edit at 07/20/2021 04:38PM by gadjie@mail.ru.
Re: ix2 iomega erase u-boot
July 20, 2021 04:25PM
Gadjie,

To recover from this situation, try booting with UART using kwboot. Here is an example for the NSA320S.

https://forum.doozan.com/read.php?3,51739,51919#msg-51919

Basically, you need to either find the mtd0 backup (where u-boot image is) someone has made for this this box (using dd). This would be the best image to use. You probably can find the stock u-boot image somewhere in the FW upgrade or recovery image from Iomage/Lenovo website.


Or if you cannot find the Iomega IX2 u-boot, then use an u-boot image for another box that is is close to this one.

Your box is similar to the NSA325 in term of the SoC and memory. So try that image.

https://forum.doozan.com/read.php?3,12381

Download uboot.2017.07-tld-1.nsa325.bodhi.tar. And untar it to get uboot.2017.07-tld-1.nsa325.mtd0.kwb

You can use the kwboot binary that comes with the Linux host that you are using to connect serial console.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: ix2 iomega erase u-boot
July 20, 2021 04:47PM
Hi,
Thank you for your forum and quick response.

I enter the following commands and nothing happens, how long do I have to wait?
sudo kwboot -t -B 115200 /dev/ttyUSB0 -b ./kwboot-tool/u-boot.kwb -p
Sending boot message. Please reboot the target...\
I got this file from the next link
http://ftp.debian.org/debian/dists/stable/main/installer-armel/current/images/kirkwood/u-boot/sheevaplug/u-boot.kwb.



AND
sudo kwboot -t -B 115200 /dev/ttyUSB0 -b ./uboot.2017.07-tld-1.nsa325.mtd0.kwb -p
Sending boot message. Please reboot the target...|

But the commands does not work, I waited 20 minutes and no action.



Edited 6 time(s). Last edit at 07/20/2021 05:02PM by gadjie@mail.ru.
Attachments:
open | download - photo_2021-07-21_01-17-50.jpg (189.5 KB)
open | download - photo_2021-07-21_01-18-01.jpg (49.2 KB)
Re: ix2 iomega erase u-boot
July 20, 2021 09:21PM
gadjie,

> Thank you for your forum and quick response.

The forum is hosted by Jeff Doozan, the pioneer who created this forum and provided hacking instruction in the early days that we have been building upon!

> I enter the following commands and nothing
> happens, how long do I have to wait?

> sudo kwboot -t -B 115200 /dev/ttyUSB0 -b
> ./kwboot-tool/u-boot.kwb -p
> Sending boot message. Please reboot the
> target...\

Some Kirkwood boxes do not have UART booting capability. I hope that your box does, but try searching the forum (use Advanced search to include all dates) to see if anybody has tried this for the IX2.

> I got this file from the next link
> http://ftp.debian.org/debian/dists/stable/main/installer-armel/current/images/kirkwood/u-boot/sheevaplug/u-boot.kwb.

The Sheevaplug probably not a good image to use. It has 512MB RAM and is a 6281 SoC. Your box is 6282 and has 256MB RAM.

However, as long as it is a Kirkwood SoC u-boot image, at least it will start and then stops if the mismatch is too important (i.e. such as RAM). And we will get a u-boot banner output to the console.

Also try the T5235 u-boot:

https://forum.doozan.com/read.php?3,26562

uboot.2017.07-tld-1.t5325.mtd0.kwb

The T5325 is 6281 SoC with 512MB RAM, but it has SPI flash like your box.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Author:

Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: