Login  Register

Re: Current state of Sheild recovery knowledge?

Posted by duanev on Jan 28, 2017; 11:38pm
URL: https://itus.accessinnov.com/Current-state-of-Sheild-recovery-knowledge-tp1249p1350.html

Browsing around I've found a few commands that give some results:

Octeon sff7000# mmc list
Octeon MMC/SD0: 1
Octeon sff7000#

Only 1 device is listed regardless of whether I've booted with an SD card in the slot or not.  I understand the SD card should appear as:

Octeon MMC/SD0: 1 
Octeon MMC/SD2: 2

but it does not.  This makes me suspect that the SD slot is not enabled or is broken.



On board flash however still appears to contains some files:

Octeon sff7000# mmc dev 1
mmc1(part 0) is current device
Octeon sff7000# fatls mmc 1 
            backup/
 40859016   itusrestoreimage 
            restore/
            updates/

1 file(s), 3 dir(s)
--------
Octeon sff7000# fatls mmc 1 backup
            ./
            ../
 27093426   bridge.tar.gz 
 49359310   gateway.tar.gz 

2 file(s), 2 dir(s)
--------
Octeon sff7000# fatls mmc 1 restore
            ./
            ../
 35862152   bridge.elf 
 58144392   router.elf 
 58078856   gateway.elf 
 27090234   bridge.tar.gz 
 49361121   router.tar.gz 
 49358939   gateway.tar.gz 

6 file(s), 2 dir(s)
--------
Octeon sff7000#


If I could get  u-boot-octeon_sff7000.bin  on that boot partition I think recovery could work.  Alas, I've had no luck with sz/rz.


Other boot loader commands show the three Linux partitions are intact:

Octeon sff7000# ext4ls mmc 1:3 /
<DIR>       4096 .
<DIR>       4096 ..
<DIR>      16384 lost+found
<DIR>       4096 opt
<DIR>       4096 rom
<DIR>       4096 www
<DIR>       4096 root
<SYM>          4 var
<DIR>       4096 lib
<DIR>       4096 sys
<DIR>       4096 overlay
<DIR>       4096 proc
<SYM>          3 lib64
<DIR>       4096 usr
<DIR>       4096 dev
<DIR>       4096 sbin
<DIR>       4096 tmp
<DIR>       4096 bin
<DIR>       4096 etc
<DIR>       4096 mnt
            1401 init
<DIR>       4096 include

All three paritions appear similar (likely one filesystem for bridge, router, and gateway modes), except partition 2 has four extra files:

...
               0 .fw_script_timer
              29 .do_date
               0 .do_upgrade
              74 HOTFIX_TEST.txt

indicating an upgrade was likely in progress.