General NAS-Central Forums

Welcome to the NAS community
It is currently Sat Nov 25, 2017 1:48 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Thu Jul 13, 2017 8:03 am 
Offline

Joined: Thu Jul 13, 2017 7:30 am
Posts: 1
Hello,

Becuase I had problem with Lenovo ix2-ng I tied reinstall firmware. I bought it without hard disks and and on device was red diode. After some operation using serial console next day I can't login to device using TTL, nothinkg happend and not showing any running Marvell information. Below I attached history my last operation with device:
After this operation not I don't see any information on my serial console. Could you help me ? What I can do?

Code:
switchRegRead   - Read switch register
switchRegWrite  - Write switch register
Temp    - read chip Tj temp
tftpboot- boot image via network using TFTP protocol
usb     - USB sub-system
usbboot - boot from USB device
version - print monitor version
Marvell>> tftpboot 0x2000000 zImage
Using egiga0 device
TFTP from server 192.168.32.4; our IP address is 192.168.1.2; sending through ga
teway 192.168.1.1
Filename 'zImage'.
Load address: 0x2000000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
Marvell>> set serverip 192.168.1.100
Marvell>> tftpboot 0x2000000 zImage
Using egiga0 device
TFTP from server 192.168.1.100; our IP address is 192.168.1.2
Filename 'zImage'.
Load address: 0x2000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##################################
done
Bytes transferred = 2502648 (262ff8 hex)
Marvell>> tftpboot 0x5400000 initrd
Using egiga0 device
TFTP from server 192.168.1.100; our IP address is 192.168.1.2
Filename 'initrd'.
Load address: 0x5400000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###############################################################
done
Bytes transferred = 2983446 (2d8616 hex)
Marvell>> nand write.e 0x2000000 0x100000 0x300000

NAND write: device 0 offset 0x100000, size 0x300000

Failed write verify, nand offset 0x00100000. Suggest to erase block and repeat w
rite operation!
 If problem persists suggest marking block as bad (nand markbad <offset>) and re
peating the operation!
writing NAND page at offset 0x100000 failed
Data did not fit into device, due to bad blocks
 3145728 bytes written: ERROR
Marvell>> help
?       - alias for 'help'
SatR - sample at reset sub-system, relevent for DB only
base    - print or set address offset
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootext2    dev:boot_part1,boot_part2 addr boot_image linux_dev_name
bootm   - boot application image from memory
bootp   - boot image via network using BootP/TFTP protocol
bubt    - Burn an image on the Boot Nand Flash.
chpart  - change active partition
cmp     - memory compare
cmpm    - Compare Memory
cp      - memory copy
cpumap - Display CPU memory mapping settings.
crc32   - checksum calculation
date    - get/set/reset date & time
dclk    - Display the MV device CLKs.
dhcp    - invoke DHCP client to obtain IP/boot params
diskboot- boot from IDE device
echo    - echo args to console
eeprom  - EEPROM sub-system
erase   - erase FLASH memory
ext2load- load binary file from a Ext2 filesystem
ext2ls  - list files in a directory (default /)
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls   - list files in a directory (default /)
fi      - Find value in the memory.
flinfo  - print FLASH memory information
fsinfo  - print information about filesystems
fsload  - load binary file from a filesystem image
g       - start application at cached address 'addr'(default addr 0x40000)
go      - start application at address 'addr'
help    - print online help
icrc32  - checksum calculation
ide     - IDE sub-system
iloop   - infinite loop on address range
imd     - i2c memory display
iminfo  - print header information for application image
imm[.b, .s, .w, .l]     - i2c memory modify (auto-incrementing)
imw     - memory write (fill)
inm     - memory modify (constant address)
iprobe  - probe to discover valid I2C chip addresses
ir      - reading and changing MV internal register values.
loop    - infinite loop on address range
ls      - list files in a directory (default /)
map     - Diasplay address decode windows
md      - memory display
me      - PCI master enable
mm      - memory modify (auto-incrementing)
mmcinit - init mmc card
mp      - map PCI BAR
mtdparts- define flash/nand partitions
mtest   - simple RAM test
mw      - memory write (fill)
nand                   - NAND sub-system
nboot   - boot from NAND device
nbubt   - Burn a boot loader image on the Boot Nand Flash.
nm      - memory modify (constant address)
pci     - list and access PCI Configuration Space
phyRead - Read PCI-E Phy register
pciePhyWrite    - Write PCI-E Phy register
phyRead - Read Phy register
phyWrite        - Write Phy register
ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
rcvr    - Satrt recovery process (Distress Beacon with TFTP server)
reset   - Perform RESET of the CPU
resetenv        - Return all environment variable to default.
run     - run commands in an environment variable
saveenv - save environment variables to persistent storage
se      - PCI Slave enable
setenv  - set environment variables
sflash  - read, write or erase the external SPI Flash.
sg      - scanning the PHYs status
sp      - Scan PCI bus.
switchRegRead   - Read switch register
switchRegWrite  - Write switch register
Temp    - read chip Tj temp
tftpboot- boot image via network using TFTP protocol
usb     - USB sub-system
usbboot - boot from USB device
version - print monitor version
Marvell>> nand
Usage:
nand                   - NAND sub-system

Marvell>> erase
Usage:
erase   - erase FLASH memory

Marvell>> nand erease 0x100000
Usage:
nand                   - NAND sub-system

Marvell>> nand write.e 0x2000000 0x100000 0x300000

NAND write: device 0 offset 0x100000, size 0x300000

Failed write verify, nand offset 0x00100000. Suggest to erase block and repeat w
rite operation!
 If problem persists suggest marking block as bad (nand markbad <offset>) and re
peating the operation!
writing NAND page at offset 0x100000 failed
Data did not fit into device, due to bad blocks
 3145728 bytes written: ERROR
Marvell>> nand markbad 0x00100000
block 0x00100000 NOT marked as bad! ERROR -5
Marvell>> nand erase 0x00100000
Unknown command 'nand' - try 'help'
Marvell>> erase nand 0x00100000
Bad address format
Marvell>> nand erase 0x00100000
Unknown command 'nand' - try 'help'
Marvell>> erase nand 0x100000
Unknown command 'erase' - try 'help'
Marvell>> nand erase 0x100000 0x300000

NAND erase: device 0 offset 0x100000, size 0x300000
Skipping bad block at  0x00100000
Erasing at 0x3e0000 -- 100% complete.
OK
Marvell>> nand erase 0x540000 0x300000

NAND erase: device 0 offset 0x540000, size 0x300000
Erasing at 0x820000 -- 100% complete.
OK
Marvell>> nand write.e 0x2000000 0x100000 0x300000

NAND write: device 0 offset 0x100000, size 0x300000

Bad block at 0x100000 in erase block from 0x100000 will be skipped
Writing data at 0x3f9800 --  95% complete.Failed write verify, nand offset 0x004
00000. Suggest to erase block and repeat write operation!
 If problem persists suggest marking block as bad (nand markbad <offset>) and re
peating the operation!
writing NAND page at offset 0x400000 failed
Data did not fit into device, due to bad blocks
 3145728 bytes written: ERROR
Marvell>> nand erase 0x100000 0x300000

NAND erase: device 0 offset 0x100000, size 0x300000
Skipping bad block at  0x00100000
Erasing at 0x3e0000 -- 100% complete.
OK
Marvell>> nand write.e 0x2000000 0x100000 0x300000

NAND write: device 0 offset 0x100000, size 0x300000

Bad block at 0x100000 in erase block from 0x100000 will be skipped
Writing data at 0x3f9800 --  95% complete.Failed write verify, nand offset 0x004
00000. Suggest to erase block and repeat write operation!
 If problem persists suggest marking block as bad (nand markbad <offset>) and re
peating the operation!
writing NAND page at offset 0x400000 failed
Data did not fit into device, due to bad blocks
 3145728 bytes written: ERROR
Marvell>> nand markbad 0x00400000
block 0x00400000 NOT marked as bad! ERROR -5
Marvell>> nand write.e 0x5400000 0x540000 0x300000

NAND write: device 0 offset 0x540000, size 0x300000

Writing data at 0x83f800 -- 100% complete.
 3145728 bytes written: OK
Marvell>> boot

NAND read: device 0 offset 0x100000, size 0x300000

Bad block at 0x100000 in erase block from 0x100000 will be skipped
Bad block at 0x400000 in erase block from 0x400000 will be skipped
Reading data from 0x43f800 -- 100% complete.
 3145728 bytes read: OK

NAND read: device 0 offset 0x400000, size 0x300000

Bad block at 0x400000 in erase block from 0x400000 will be skipped
Reading data from 0x71f800 -- 100% complete.
 3145728 bytes read: OK
## Booting image at 00040000 ...
   Image Name:   Linux-2.6.31.8
   Created:      2016-03-25  13:21:27 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2502584 Bytes =  2.4 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 00900000 ...
Bad Magic Number
1024 MB
Found ADT7473, program PWM1 ... OK
Flash:  0 kB

Marvell Serial ATA Adapter
Integrated Sata device found


CPU : Marvell Feroceon (Rev 1)
Found kernel at 0x120000
Found initrd at 0x420000

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x120000, size 0x300000

Bad block at 0x400000 in erase block from 0x400000 will be skipped
Reading data from 0x43f800 -- 100% complete.
 3145728 bytes read: OK

NAND read: device 0 offset 0x420000, size 0x300000

Reading data from 0x71f800 -- 100% complete.
 3145728 bytes read: OK
## Booting image at 00040000 ...
   Image Name:   Linux-2.6.31.8
   Created:      2016-03-25  13:21:27 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2502584 Bytes =  2.4 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 00900000 ...
Bad Magic Number
1024 MB
Found ADT7473, program PWM1 ... OK
Flash:  0 kB

Marvell Serial ATA Adapter
Integrated Sata device found


CPU : Marvell Feroceon (Rev 1)
Found kernel at 0x120000
Found initrd at 0x420000

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0
Marvell>> nand erase 0x100000 0x300000

NAND erase: device 0 offset 0x100000, size 0x300000
Skipping bad block at  0x00100000
Erasing at 0x3e0000 -- 100% complete.
OK
Marvell>> nand unmarbad 0x00100000
Usage:
nand                   - NAND sub-system

Marvell>> nand erase 0x100000 0x300000

NAND erase: device 0 offset 0x100000, size 0x300000
Skipping bad block at  0x00100000
Erasing at 0x3e0000 -- 100% complete.
OK
Marvell>> nand bad

Device 0 bad blocks:
  00100000
  00400000
Marvell>> nad info
Unknown command 'nad' - try 'help'
Marvell>> nand info

Device 0: NAND 1GB 3,3V 8-bit, sector size 128 KB
Marvell>> nand scrub

NAND scrub: device 0 whole chip
Warning: scrub option will erase all factory set bad blocks!
         There is no reliable way to recover them.
         Use this command only for testing purposes if you
         are sure of what you are doing!

Really scrub this NAND flash? <y/N>
scrub aborted
Marvell>> nand write.e 0x2000000 0x100000 0x300000

NAND write: device 0 offset 0x100000, size 0x300000

Bad block at 0x100000 in erase block from 0x100000 will be skipped
Bad block at 0x400000 in erase block from 0x400000 will be skipped
Failed write verify, nand offset 0x00420000. Suggest to erase block and repeat w
rite operation!
 If problem persists suggest marking block as bad (nand markbad <offset>) and re
peating the operation!
writing NAND page at offset 0x420000 failed
Data did not fit into device, due to bad blocks
 3145728 bytes written: ERROR
Marvell>> nand write.e 0x5400000 0x540000 0x300000

NAND write: device 0 offset 0x540000, size 0x300000

Failed write verify, nand offset 0x00540000. Suggest to erase block and repeat w
rite operation!
 If problem persists suggest marking block as bad (nand markbad <offset>) and re
peating the operation!
writing NAND page at offset 0x540000 failed
Data did not fit into device, due to bad blocks
 3145728 bytes written: ERROR
Marvell>> nand erase 0x100000 0x300000

NAND erase: device 0 offset 0x100000, size 0x300000
Skipping bad block at  0x00100000
Erasing at 0x3e0000 -- 100% complete.
OK
Marvell>> nand erase 0x540000 0x30000

NAND erase: device 0 offset 0x540000, size 0x30000
Erasing at 0x560000 -- 133% complete.
OK
Marvell>> nand erase 0x540000 0x300000

NAND erase: device 0 offset 0x540000, size 0x300000
Erasing at 0x820000 -- 100% complete.
OK
Marvell>> nand info

Device 0: NAND 1GB 3,3V 8-bit, sector size 128 KB
Marvell>> nand bad

Device 0 bad blocks:
  00100000
  00400000
Marvell>> nand markbad off 0x00100000
block 0x00000000 NOT marked as bad! ERROR -5
Marvell>> nand markbad 0x00100000
block 0x00100000 successfully marked as bad
Marvell>> nand markbad 0x00400000
block 0x00400000 successfully marked as bad
Marvell>> nand bad

Device 0 bad blocks:
  00000000
  00100000
  00400000
Marvell>> nand write.e 0x2000000 0x100000 0x300000

NAND write: device 0 offset 0x100000, size 0x300000

Bad block at 0x100000 in erase block from 0x100000 will be skipped
Bad block at 0x400000 in erase block from 0x400000 will be skipped
Failed write verify, nand offset 0x00420000. Suggest to erase block and repeat w
rite operation!
 If problem persists suggest marking block as bad (nand markbad <offset>) and re
peating the operation!
writing NAND page at offset 0x420000 failed
Data did not fit into device, due to bad blocks
 3145728 bytes written: ERROR
Marvell>> nand markbad 0x00420000
block 0x00420000 NOT marked as bad! ERROR -5
Marvell>>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group