Welcome! Log In Create A New Profile

Advanced

Restore uboot for Synology DS414

Posted by bignellrp 
Restore uboot for Synology DS414
April 08, 2020 03:05PM
Please help!

I had a working uboot but somehow it now just gets stuck on Modules Detected.


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


U-Boot 2011.12-SYNO-d7bdf8d-2013-12-11 (Dec 11 2013 - 17:58:54) Marvell version: v2011.12 2013_Q1.2

Board: Synology AXP 78230 4-bay/2-bay
SoC: MV78230 B0
running 2 CPUs
Custom configuration
CPU: Marvell PJ4B (584) v7 (Rev 2) LE
CPU 0
CPU @ 1333 [MHz]
L2 @ 667 [MHz]
TClock @ 250 [MHz]
DDR @ 667 [MHz]
DDR 32Bit Width, FastPath Memory Access
DDR ECC Disabled
DRAM: 1 GiB

Map: Code: 0x3fefb000:0x3ff9f630
BSS: 0x3ffef33c
Stack: 0x3f9eaef8
Heap: 0x3f9eb000:0x3fefb000

MMC: MRVL_MMC: 0
SF: Detected M25P64 with page size 64 KiB, total 8 MiB
PEX 0.0(0): Root Complex Interface, Detected Link X4, GEN 1.1
PEX 1.0(1): Detected No Link.
PEX 1.1(2): Detected No Link.
PEX 1.2(3): Detected No Link.
FPU initialized to Run Fast Mode.
USB 0: Host Mode
USB 1: Host Mode
USB 2: Device Mode
Modules Detected:


I think i need to follow this guide i found to boot uboot over UART but i keep getting an error:

pi@raspberrypi:~ $ kwboot -t -B 115200 /dev/ttyUSB0 -b uboot_DS414r1.bin -p
Sending boot message. Please reboot the target...-
Sending boot image...
0 % [+++++++++++++++++xmodem: Bad message
Re: Restore uboot for Synology DS414
April 08, 2020 05:18PM
bignellrp,


> pi@raspberrypi:~ $ kwboot -t -B 115200
> /dev/ttyUSB0 -b uboot_DS414r1.bin -p
> Sending boot message. Please reboot the
> target...-
> Sending boot image...
> 0 % [+++++++++++++++++xmodem: Bad message

That's actually a good sign. The handshake did not occur, but the box has attempted to.

As I said in your original post, this box is Armada XP, sp you need to use option -a.

kwboot -t -B 115200 /dev/ttyUSB0 -b uboot_DS414r1.bin -p -a

If you see "xmodem bad message" again, just recall the command and execute it right away. It might take several tries until the box BootROM handshake with kwboot.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Restore uboot for Synology DS414
April 09, 2020 07:08AM
Hmm... this gives a different error. Try and run it straight away and its just waits for reboot again.

Minicom then shows nothing until you reboot and its just back to how it was before hanging on Modules detected.

pi@raspberrypi:~ $ kwboot -t -B 115200 /dev/ttyUSB0 -b uboot_DS414r1.bin -p -a
Sending boot message. Please reboot the target...\
Sending boot image...
Booting from SPI flash
High speed PHY - Version: 2.1.2 (COM-PHY-V20)
Update PEX Device ID 0x78230
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver 4.5.0
DDR3 Training Sequence - Ended Successfully
Status = MV_OK
0 % [+xmodem: Protocol error
pi@raspberrypi:~ $ kwboot -t -B 115200 /dev/ttyUSB0 -b uboot_DS414r1.bin -p -a
Sending boot message. Please reboot the target...\^C
pi@raspberrypi:~ $ sudo minicom --device /dev/ttyUSB0

Welcome to minicom 2.7.1

OPTIONS: I18n
Compiled on Aug 13 2017, 15:25:34.
Port /dev/ttyUSB0, 13:05:12

Press CTRL-A Z for help on special keys




pi@raspberrypi:~ $ sudo minicom --device /dev/ttyUSB0

Welcome to minicom 2.7.1

OPTIONS: I18n
Compiled on Aug 13 2017, 15:25:34.
Port /dev/ttyUSB0, 13:05:22

Press CTRL-A Z for help on special keys


BootROM 1.20
Booting from SPI flash
High speed PHY - Version: 2.1.2 (COM-PHY-V20)
Update PEX Device ID 0x78230
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver 4.5.0
DDR3 Training Sequence - Ended Successfully
Status = MV_OK
BootROM: Image checksum verification PASSED

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


U-Boot 2011.12-SYNO-d7bdf8d-2013-12-11 (Dec 11 2013 - 17:58:54) Marvell version: v2011.12 2013_Q1.2

Board: Synology AXP 78230 4-bay/2-bay
SoC: MV78230 B0
running 2 CPUs
Custom configuration
CPU: Marvell PJ4B (584) v7 (Rev 2) LE
CPU 0
CPU @ 1333 [MHz]
L2 @ 667 [MHz]
TClock @ 250 [MHz]
DDR @ 667 [MHz]
DDR 32Bit Width, FastPath Memory Access
DDR ECC Disabled
DRAM: 1 GiB

Map: Code: 0x3fefb000:0x3ff9f630
BSS: 0x3ffef33c
Stack: 0x3f9eaef8
Heap: 0x3f9eb000:0x3fefb000

MMC: MRVL_MMC: 0
SF: Detected M25P64 with page size 64 KiB, total 8 MiB
PEX 0.0(0): Root Complex Interface, Detected Link X4, GEN 1.1
PEX 1.0(1): Detected No Link.
PEX 1.1(2): Detected No Link.
PEX 1.2(3): Detected No Link.
FPU initialized to Run Fast Mode.
USB 0: Host Mode
USB 1: Host Mode
USB 2: Device Mode
Modules Detected:

Synology Model: DS414r1
Fan Status: Not Good
Fan 1: Not Good
Fan 2: Not Good


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


U-Boot 2011.12-SYNO-d7bdf8d-2013-12-11 (Dec 11 2013 - 17:58:54) Marvell version: v2011.12 2013_Q1.2

Board: Synology AXP 78230 4-bay/2-bay
SoC: MV78230 B0
running 2 CPUs
Custom configuration
CPU: Marvell PJ4B (584) v7 (Rev 2) LE
CPU 0
CPU @ 1333 [MHz]
L2 @ 667 [MHz]
TClock @ 250 [MHz]
DDR @ 667 [MHz]
DDR 32Bit Width, FastPath Memory Access
DDR ECC Disabled
DRAM: 1 GiB

Map: Code: 0x3fefb000:0x3ff9f630
BSS: 0x3ffef33c
Stack: 0x3f9eaef8
Heap: 0x3f9eb000:0x3fefb000

MMC: MRVL_MMC: 0
SF: Detected M25P64 with page size 64 KiB, total 8 MiB
PEX 0.0(0): Root Complex Interface, Detected Link X4, GEN 1.1
PEX 1.0(1): Detected No Link.
PEX 1.1(2): Detected No Link.
PEX 1.2(3): Detected No Link.
FPU initialized to Run Fast Mode.
USB 0: Host Mode
USB 1: Host Mode
USB 2: Device Mode
Modules Detected:
Re: Restore uboot for Synology DS414
April 09, 2020 07:17AM
If i put the minicom command on the end of the line it just seems to be ignoring the kwboot and just trying to boot normally then hanging

pi@raspb
errypi:~ $ kwboot -t -B 115200 /dev/ttyUSB0 -b uboot_DS414r1.bin -p -a; sudo minicom --device /dev/ttyUSB0
Sending boot message. Please reboot the target...\
Sending boot image...
Booting from SPI flash
High speed PHY - Version: 2.1.2 (COM-PHY-V20) 
Update PEX Device ID 0x78230
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver 4.5.0 
DDR3 Training Sequence - Ended Successfully 
Status = MV_OK
  0 % [+xmodem: Protocol error


Welcome to minicom 2.7.1

OPTIONS: I18n 
Compiled on Aug 13 2017, 15:25:34.
Port /dev/ttyUSB0, 13:15:20

Press CTRL-A Z for help on special keys

 \___/ \__| 
 ** LOADER **


U-Boot 2011.12-SYNO-d7bdf8d-2013-12-11 (Dec 11 2013 - 17:58:54) Marvell version: v2011.12 2013_Q1.2

Board: Synology AXP 78230 4-bay/2-bay
SoC:   MV78230 B0
       running 2 CPUs
       Custom configuration
CPU:   Marvell PJ4B (584) v7 (Rev 2) LE
       CPU 0
       CPU    @ 1333 [MHz]
       L2     @ 667 [MHz]
       TClock @ 250 [MHz]
       DDR    @ 667 [MHz]
       DDR 32Bit Width, FastPath Memory Access
       DDR ECC Disabled
DRAM:  1 GiB

Map:   Code:            0x3fefb000:0x3ff9f630
       BSS:             0x3ffef33c
       Stack:           0x3f9eaef8
       Heap:            0x3f9eb000:0x3fefb000

MMC:   MRVL_MMC: 0
SF: Detected M25P64 with page size 64 KiB, total 8 MiB
PEX 0.0(0): Root Complex Interface, Detected Link X4, GEN 1.1
PEX 1.0(1): Detected No Link.
PEX 1.1(2): Detected No Link.
PEX 1.2(3): Detected No Link.
FPU initialized to Run Fast Mode.
USB 0: Host Mode
USB 1: Host Mode
USB 2: Device Mode
Modules Detected:

Synology Model: DS414r1
Fan Status: Not Good
Fan 1: Not Good
Fan 2: Not Good


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


U-Boot 2011.12-SYNO-d7bdf8d-2013-12-11 (Dec 11 2013 - 17:58:54) Marvell version: v2011.12 2013_Q1.2

Board: Synology AXP 78230 4-bay/2-bay
SoC:   MV78230 B0
       running 2 CPUs
       Custom configuration
CPU:   Marvell PJ4B (584) v7 (Rev 2) LE
       CPU 0
       CPU    @ 1333 [MHz]
       L2     @ 667 [MHz]
       TClock @ 250 [MHz]
       DDR    @ 667 [MHz]
       DDR 32Bit Width, FastPath Memory Access
       DDR ECC Disabled
DRAM:  1 GiB

Map:   Code:            0x3fefb000:0x3ff9f630
       BSS:             0x3ffef33c
       Stack:           0x3f9eaef8
       Heap:            0x3f9eb000:0x3fefb000

MMC:   MRVL_MMC: 0
SF: Detected M25P64 with page size 64 KiB, total 8 MiB
PEX 0.0(0): Root Complex Interface, Detected Link X4, GEN 1.1
PEX 1.0(1): Detected No Link.
PEX 1.1(2): Detected No Link.
PEX 1.2(3): Detected No Link.
FPU initialized to Run Fast Mode.
USB 0: Host Mode
USB 1: Host Mode
USB 2: Device Mode
Modules Detected:

====
Moderator edit: please use code tags (see Formatted code button above the box) to post logs.



Edited 1 time(s). Last edit at 04/09/2020 05:23PM by bodhi.
Re: Restore uboot for Synology DS414
April 09, 2020 05:36PM
bignellrp,

pi@raspberrypi:~ $ kwboot -t -B 115200 /dev/ttyUSB0 -b uboot_DS414r1.bin -p -a; sudo minicom --device /dev/ttyUSB0
Sending boot message. Please reboot the target...\
Sending boot image...


No other output coming out here?

Booting from SPI flash

The image you use was a flash ready image, it meant to be use in the normal case after it was flashed to SPI. Meaning the BootROM is going to find u-boot image in SPI flash

kwvboot is supposed to fix this image on the fly (option -p) to tell the box to load u-boot image from Serial, but apparently it did not happen here.

So you will need to find the image that was compiled with UART boot device option turned on in the config.

Let me see if I can compile a new u-boot for you to try. In the mean time, you can google that or search in the Synology website.

EDIT:
Looks like this stock u-boot was old enough that does not have SPL.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 04/09/2020 11:27PM by bodhi.
Re: Restore uboot for Synology DS414
April 09, 2020 06:53PM
bignellrp

Try the attched image.

kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-spl-2019.10-tld-1.ds114.kwb -a

-bodhi
===========================
Forum Wiki
bodhi's corner
Attachments:
open | download - u-boot-spl-2019.10-tld-1.ds114.kwb (680.3 KB)
Re: Restore uboot for Synology DS414
April 09, 2020 11:26PM
Thank you so much for helping.

Im getting further but still getting stuck. It booted but i couldnt load usb to fatload the image.

Can i compile a UART version of the attached DS414 version of uboot and restore it to flash?

Or any ideas why it wont recognise my fat usb stick?

pi@raspberrypi:~ $ kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-spl-2019.10-tld-1.ds114.kwb -a
Sending boot message. Please reboot the target...-
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
  2 % [......................................................................]
  3 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  7 % [......................................................................]
  9 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 12 % [...
U-Boot SPL 2019.10-tld-1 (Apr 09 2020 - 16:26:57 -0700)
High speed PHY - Version: 2.1.5 (COM-PHY-V20)
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver 5.7.4
DDR3 Training Sequence - Ended Successfully
...................................................................]
 14 % [......................................................................]
 15 % [......................................................................]
 16 % [......................................................................]
 18 % [......................................................................]
 19 % [......................................................................]
 20 % [......................................................................]
 21 % [......................................................................]
 23 % [......................................................................]
 24 % [......................................................................]
 25 % [......................................................................]
 27 % [......................................................................]
 28 % [......................................................................]
 29 % [......................................................................]
 30 % [......................................................................]
 32 % [......................................................................]
 33 % [......................................................................]
 34 % [......................................................................]
 36 % [......................................................................]
 37 % [......................................................................]
 38 % [......................................................................]
 39 % [......................................................................]
 41 % [......................................................................]
 42 % [......................................................................]
 43 % [......................................................................]
 45 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 48 % [......................................................................]
 50 % [......................................................................]
 51 % [......................................................................]
 52 % [......................................................................]
 54 % [......................................................................]
 55 % [......................................................................]
 56 % [......................................................................]
 57 % [......................................................................]
 59 % [......................................................................]
 60 % [......................................................................]
 61 % [......................................................................]
 63 % [......................................................................]
 64 % [......................................................................]
 65 % [......................................................................]
 66 % [......................................................................]
 68 % [......................................................................]
 69 % [......................................................................]
 70 % [......................................................................]
 72 % [......................................................................]
 73 % [......................................................................]
 74 % [......................................................................]
 75 % [......................................................................]
 77 % [......................................................................]
 78 % [......................................................................]
 79 % [......................................................................]
 81 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 84 % [......................................................................]
 86 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 90 % [......................................................................]
 91 % [......................................................................]
 92 % [......................................................................]
 93 % [......................................................................]
 95 % [......................................................................]
 96 % [......................................................................]
 97 % [......................................................................]
 99 % [.....................................................]
[Type Ctrl-\ + c to quit]


U-Boot 2019.10-tld-1 (Apr 09 2020 - 16:26:57 -0700)

SoC:   MV78230-B0 at 1333 MHz
I2C:   ready
DRAM:  1 GiB (667 MHz, 32-bit, ECC not enabled)
Loading Environment from SPI Flash... SF: Detected n25q064 with page size 256 Bytes, erase size 4 KiB, total 8 MiB
*** Warning - bad CRC, using default environment

In:    serial@12000
Out:   serial@12000
Err:   serial@12000
Model: Synology DS414
Board: DS414
Net:   
Warning: ethernet@70000 (eth0) using random MAC address - ca:91:b6:2d:22:41
eth0: ethernet@70000
Warning: ethernet@74000 (eth1) using random MAC address - 0e:93:f0:c0:df:b3
, eth1: ethernet@74000
starting USB...
Bus usb@50000: USB EHCI 1.00
scanning bus usb@50000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
SF: Detected n25q064 with page size 256 Bytes, erase size 4 KiB, total 8 MiB
Hit any key to stop autoboot:  0 
device 0 offset 0xd0000, size 0x700000
SF: 7340032 bytes @ 0xd0000 Read: OK
Wrong Image Format for bootm command
ERROR: can't get kernel image!
=> 
=> 
=> 
=> printenv 
baudrate=115200
bootargs=console=ttyS0,115200
bootcmd=sf read ${loadaddr} 0xd0000 0x700000; bootm
bootdelay=3
fdtcontroladdr=3fb4bb28
loadaddr=0x80000
preboot=usb start; sf probe
stderr=serial@12000
stdin=serial@12000
stdout=serial@12000

Environment size: 239/65532 bytes
=> usb start
=> fatload usb 0:1 2000000 zImage
=> fatload usb 0:1 8000000 rd.bin
=> bootm 0x2000000 0x8000000
Wrong Image Format for bootm command
ERROR: can't get kernel image!
=> usb
usb - USB sub-system

Usage:
usb start - start (scan) USB controller
usb reset - reset (rescan) USB controller
usb stop [f] - stop USB [f]=force stop
usb tree - show USB device tree
usb info [dev] - show available USB devices
usb test [dev] [port] [mode] - set USB 2.0 test mode
    (specify port 0 to indicate the device's upstream port)
    Available modes: J, K, S[E0_NAK], P[acket], F[orce_Enable]
usb storage - show details of USB storage devices
usb dev [dev] - show or set current USB storage device
usb part [dev] - print partition table of one or all USB storage    devices
usb read addr blk# cnt - read `cnt' blocks starting at block `blk#'
    to memory address `addr'
usb write addr blk# cnt - write `cnt' blocks starting at block `blk#'
    from memory address `addr'
=> usb start                     
=> usb reset
resetting USB...
Bus usb@50000: USB EHCI 1.00
scanning bus usb@50000 for devices... 
USB retry period from the environment: 0 second(s)
2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
=> usb start
=> fatload usb 0:1 2000000 zImage
** Unrecognized filesystem type **
=> 
=> 
=> 
=> usb info
1: Hub,  USB Revision 2.0
 - u-boot EHCI Host Controller 
 - Class: Hub
 - PacketSize: 64  Configurations: 1
 - Vendor: 0x0000  Product 0x0000 Version 1.0
   Configuration: 1
   - Interfaces: 1 Self Powered 0mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 1
     - Class Hub
     - Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms

2: Mass Storage,  USB Revision 2.0
 - LG USB Drive AA04012700025919
 - Class: (from Interface) Mass Storage
 - PacketSize: 64  Configurations: 1
 - Vendor: 0x090c  Product 0x1000 Version 17.0
   Configuration: 1
   - Interfaces: 1 Bus Powered 300mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 2
     - Class Mass Storage, Transp. SCSI, Bulk only
     - Endpoint 1 In Bulk MaxPacket 512
     - Endpoint 2 Out Bulk MaxPacket 512

=> fatload usb 2:1 2000000 zImage
=> fatload usb 2:1 8000000 rd.bin
=> bootm 0x2000000 0x8000000     
Wrong Image Format for bootm command
ERROR: can't get kernel image!
=> usb reset                     
resetting USB...
Bus usb@50000: USB EHCI 1.00
scanning bus usb@50000 for devices... 
USB retry period from the environment: 0 second(s)
2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
=> usb start                     
=> usb info                      
1: Hub,  USB Revision 2.0
 - u-boot EHCI Host Controller 
 - Class: Hub
 - PacketSize: 64  Configurations: 1
 - Vendor: 0x0000  Product 0x0000 Version 1.0
   Configuration: 1
   - Interfaces: 1 Self Powered 0mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 1
     - Class Hub
     - Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms

2: Mass Storage,  USB Revision 2.0
 - LG USB Drive AA04012700025919
 - Class: (from Interface) Mass Storage
 - PacketSize: 64  Configurations: 1
 - Vendor: 0x090c  Product 0x1000 Version 17.0
   Configuration: 1
   - Interfaces: 1 Bus Powered 300mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 2
     - Class Mass Storage, Transp. SCSI, Bulk only
     - Endpoint 1 In Bulk MaxPacket 512
     - Endpoint 2 Out Bulk MaxPacket 512

=> usb storage
  Device 0: Vendor: LG       Rev: 1100 Prod: USB Drive       
            Type: Removable Hard Disk
            Capacity: 967.5 MB = 0.9 GB (1981440 x 512)
=> usb part

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     1               4294967295      00000000-01     ee
=> fatload usb 0:1 2000000 zImage
** Unrecognized filesystem type **
=> fatls usb 0:1                 
** Unrecognized filesystem type **



Edited 1 time(s). Last edit at 04/09/2020 11:33PM by bignellrp.
Attachments:
open | download - uboot_DS414r1.bin (808.7 KB)
Re: Restore uboot for Synology DS414
April 10, 2020 06:22AM
bignellrp,

pi@raspberrypi:~ $ kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-spl-2019.10-tld-1.ds114.kwb -a
Sending boot message. Please reboot the target...-
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]

 12 % [...
U-Boot SPL 2019.10-tld-1 (Apr 09 2020 - 16:26:57 -0700)
High speed PHY - Version: 2.1.5 (COM-PHY-V20)
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver 5.7.4
DDR3 Training Sequence - Ended Successfully
...................................................................]
 14 % [......................................................................]
 15 % [......................................................................]
 16 % [......................................................................]


 99 % [.....................................................]
[Type Ctrl-\ + c to quit]


U-Boot 2019.10-tld-1 (Apr 09 2020 - 16:26:57 -0700)

SoC:   MV78230-B0 at 1333 MHz
I2C:   ready
DRAM:  1 GiB (667 MHz, 32-bit, ECC not enabled)
Loading Environment from SPI Flash... SF: Detected n25q064 with page size 256 Bytes, erase size 4 KiB, total 8 MiB
*** Warning - bad CRC, using default environment

In:    serial@12000
Out:   serial@12000
Err:   serial@12000
Model: Synology DS414
Board: DS414
Net:   
Warning: ethernet@70000 (eth0) using random MAC address - ca:91:b6:2d:22:41
eth0: ethernet@70000
Warning: ethernet@74000 (eth1) using random MAC address - 0e:93:f0:c0:df:b3
, eth1: ethernet@74000
starting USB...
Bus usb@50000: USB EHCI 1.00
scanning bus usb@50000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
SF: Detected n25q064 with page size 256 Bytes, erase size 4 KiB, total 8 MiB
Hit any key to stop autoboot:  0

Cool! once you got to this u-boot prompt, you've unbricked the box.

> Can i compile a UART version of the attached DS414
> version of uboot and restore it to flash?

You could compile the UART version using Synology GPL source. But it should not be flashed to SPI (it will not work). However, you can flash your uboot_DS414r1.bin if you're sure that it is the flash-ready version (either you did this backup yourself or it was from a good source).

> Or any ideas why it wont recognise my fat usb
> stick?

> => usb reset
> resetting USB...
> Bus usb@50000: USB EHCI 1.00
> scanning bus usb@50000 for devices...
> USB retry period from the environment: 0
> second(s)
> 2 USB Device(s) found
> scanning usb for storage devices... 1
> Storage Device(s) found

It did find your USB drive as shown above.

At this point, it is best to print out the envs so I can see what are pre-defined (useful for trying to boot the rootfs in USB or NAND/SPI flash)

printenv


> => fatload usb 0:1 2000000 zImage

The USB drive is preferred to be formatted as EXT2 or EXT3. And then use ext2load to load the kernel file, like this:

ext2load usb 0:1 2000000 zImage


> => bootm 0x2000000 0x8000000

Since you've loaded zImage, the command should be bootz

bootz 0x2000000 0x8000000

See if it boots further.

And please post the entire serial console log here.

===========

It is probably easier for you to reflash stock u-boot image in serial console. Because you were stuck before stock FW env loaded.

But let's see the serial console log first before I have a new suggestion.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 04/10/2020 06:26AM by bodhi.
Re: Restore uboot for Synology DS414
April 10, 2020 12:56PM
What am i doing wrong :(

usb reset keeps crashing the device so i tried tftpboot instead. It was looking good until i tried booting. Bad crc

So i tried copying the rd.bin again and that crashed too.

I want to try a build a Synology uboot with UART and try that but how do i know which one is for a DS414r1 and whats the process?

https://sourceforge.net/projects/dsgpl/files/

Or would it be easier to try and tftp the uboot bin i have from the synology website (attached above) and write that to flash? What would be the commands to tftpboot the uboot bin and write it?




=> tftpboot 2000000 zImage
Using ethernet@70000 device
TFTP from server 192.168.0.23; our IP address is 192.168.0.205
Filename 'zImage'.
Load address: 0x2000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #########################
         324.2 KiB/s
done
Bytes transferred = 2123952 (2068b0 hex)
=> tftpboot 8000000 rd.bin
Using ethernet@70000 device
TFTP from server 192.168.0.23; our IP address is 192.168.0.205
Filename 'rd.bin'.
Load address: 0x8000000
Loading: #################################################################
         #################################################################
         ##################################################################
         #################################################################
         #################################################################
         #############################T ####################################
         #################################################################
         ######################T ###########################################
         #################################################################
         #################################################################
         #################################################################
         ###T #####
         11.7 KiB/s
done
Bytes transferred = 3698039 (386d77 hex)
=> bootm 0x2000000 0x8000000
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-3.2.40
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2123888 Bytes = 2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!
=> 
=> bootz 0x2000000 0x8000000
Unknown command 'bootz' - try 'help'
=> bootm 0x2000000 0x8000000
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-3.2.40
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2123888 Bytes = 2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!
=> 
=> 
=> bootm
## Booting kernel from Legacy Image at 08000000 ...
   Image Name:   synology_armadaxp_ds414 24922
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    3697975 Bytes = 3.5 MiB
   Load Address: 08000000
   Entry Point:  08000000
   Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!
=> 
=> tftpboot 8000000 rd.bin  
data abort
pc : [<3ff7f3c8>]          lr : [<3ff7f3f4>]
reloc pc : [<0081e3c8>]    lr : [<0081e3f4>]
sp : 3fb4b148  ip : fbfffdff     fp : 3ff7c258
r10: 3ffed66c  r9 : 3fb50ec8     r8 : 00000000
r7 : 3ffef4d0  r6 : 3fb4b164     r5 : 00000000  r4 : 0000001b
r3 : fbfffdef  r2 : 3fb50f24     r1 : fbfffdef  r0 : 0000001b
Flags: Nzcv  IRQs off  FIQs off  Mode SVC_32
Code: e1510000 0afffff9 e24c3010 e1a01003 (e5b1c010) 
Resetting CPU ...

resetting ...

Re: Restore uboot for Synology DS414
April 10, 2020 01:28PM
I think there must be something wrong with the hardware.

I tried the tftp again and it started to boot and froze again. Plus with all the crashing im starting to think its the board

I still would like to try copying the uboot bin i have via tftp but i need some help with the commands:

Something along the lines of:

tftpboot xxxxxxx uboot_DS414r1.bin
sf probe 0
sf erase 0xxxxxxxx
sf write 0xxxxxxx

But how do i find the value of xxxxxx?





 90 % [......................................................................]
 91 % [......................................................................]
 92 % [......................................................................]
 93 % [......................................................................]
 95 % [......................................................................]
 96 % [......................................................................]
 97 % [......................................................................]
 99 % [.....................................................]
[Type Ctrl-\ + c to quit]


U-Boot 2019.10-tld-1 (Apr 09 2020 - 16:26:57 -0700)

SoC:   MV78230-B0 at 1333 MHz
I2C:   ready
DRAM:  1 GiB (667 MHz, 32-bit, ECC not enabled)
Loading Environment from SPI Flash... SF: Detected n25q064 with page size 256 Bytes, erase size 4 KiB, total 8 MiB
*** Warning - bad CRC, using default environment

In:    serial@12000
Out:   serial@12000
Err:   serial@12000
Model: Synology DS414
Board: DS414
Net:   
Warning: ethernet@70000 (eth0) using random MAC address - 16:42:63:f7:19:2e
eth0: ethernet@70000
Warning: ethernet@74000 (eth1) using random MAC address - 5e:b6:30:4f:5a:30
, eth1: ethernet@74000
starting USB...
Bus usb@50000: USB EHCI 1.00
scanning bus usb@50000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
SF: Detected n25q064 with page size 256 Bytes, erase size 4 KiB, total 8 MiB
Hit any key to stop autoboot:  0 
device 0 offset 0xd0000, size 0x700000
SF: 7340032 bytes @ 0xd0000 Read: OK
Wrong Image Format for bootm command
ERROR: can't get kernel image!
=> setenv ipaddr 192.168.0.205
=> setenv netmask 255.255.255.0
=> setenv serverip 192.168.0.23
=> tftpboot 8000000 rd.bin
ethernet@70000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
ethernet@70000: No link.
ethernet@74000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
ethernet@74000: No link.
=> tftpboot 8000000 rd.bin
ethernet@70000 Waiting for PHY auto negotiation to complete....... done
Using ethernet@70000 device
TFTP from server 192.168.0.23; our IP address is 192.168.0.205
Filename 'rd.bin'.
Load address: 0x8000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ########
         2.8 MiB/s
done
Bytes transferred = 3698039 (386d77 hex)
=> tftpboot 2000000 zImage
Using ethernet@70000 device
TFTP from server 192.168.0.23; our IP address is 192.168.0.205
Filename 'zImage'.
Load address: 0x2000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #########################
         5.1 MiB/s
done
Bytes transferred = 2123952 (2068b0 hex)
=> bootm 0x2000000 0x8000000
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-3.2.40
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2123888 Bytes = 2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 08000000 ...
   Image Name:   synology_armadaxp_ds414 24922
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    3697975 Bytes = 3.5 MiB
   Load Address: 08000000
   Entry Point:  08000000
   Verifying Checksum ... OK
   Loading Kernel Image
   Loading Ramdisk to 3f7c3000, end 3fb49d37 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

----HANGS----



Re: Restore uboot for Synology DS414
April 10, 2020 02:01PM
PS

This was the printenv from the device when the original uboot was still loading. Does it give any clue what memory address to load the uboot bin file? I cant believe there isnt a way to set uboot back to its default settings :(

I think i also see why its wasnt booting originally:

bootcmd=bootm 0xf40d0000 0xf43a0000 should have been bootcmd=bootm 0x2000000 0x8000000


Marvell>> printenv                    
CASset=min
MALLOC_len=5
MPmode=smp
amp_enable=no
autoload=no
baudrate=115200
boot_order=hd_scr hd_img pxe net_img net_scr
bootargs=console=ttyS0,115200 ip=off initrd=0x8000040,8M root=/dev/md0 rw syno_hw_version=DS414r1 ihd_num=4 netif_num=2 flash_size=8 SataLedSpecial=1 HddHotplug=1
bootargs_dflt=$console $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel
bootargs_end=:10.4.50.254:255.255.255.0:DSMP:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd=bootm 0xf40d0000 0xf43a0000
bootcmd_auto=stage_boot $boot_order
bootcmd_lgcy=tftpboot 0x2000000 $image_name; setenv bootargs $bootargs_dflt; bootm 0x2000000; 
bootdelay=3
cacheShare=no
console=console=ttyS0,115200
device_partition=0:1
disL2Cache=yes
disL2Prefetch=yes
disaMvPnp=no
eeeEnable=no
enaAutoRecovery=yes
enaClockGating=no
enaCpuStream=no
enaDCPref=yes
enaFPU=yes
enaICPref=yes
enaLPAE=no
enaWrAllo=no
eth1addr=00:50:43:02:00:00
eth1mtu=1500
eth2addr=00:50:43:00:00:02
eth2mtu=1500
eth3addr=00:50:43:00:02:02
eth3mtu=1500
ethact=egiga0
ethaddr=00:50:43:02:02:00
ethmtu=1500
ethprime=egiga0
fdt_addr=2040000
ide_path=/
image_name=uImage
initrd_name=uInitrd
ipaddr=192.168.0.205
kernel_addr_r=2080000
lcd0_enable=0
lcd0_params=640x480-16@60
lcd_panel=0
loadaddr=0x02000000
loads_echo=0
mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500
mv_pon_addr=00:50:43:00:00:02
netbsd_en=no
netmask=255.255.255.0
netretry=no
pcieTune=no
pexMode=rc
pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
ramdisk_addr_r=2880000
rcvrip=169.254.100.100
rootpath=/srv/nfs/
sata_delay_reset=0
sata_dma_mode=yes
script_addr_r=3000000
script_name=boot.scr
serverip=192.168.0.18
setL2CacheWT=no
standalone=fsload 0x2000000 $image_name;setenv bootargs $console $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000;
stderr=serial
stdin=serial
stdout=serial
usb0Mode=host
usb1Mode=host
usb2Mode=device
usbActive=0
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81

Environment size: 2276/65532 bytes



Re: Restore uboot for Synology DS414
April 10, 2020 02:03PM
serial console log ?
Re: Restore uboot for Synology DS414
April 10, 2020 05:46PM
bignellrp,

1. Regarding kernel booting.

> I tried the tftp again and it started to boot and
> froze again. Plus with all the crashing im
> starting to think its the board

Quote

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Not hardware. You got a little bit further. At this point, the kernel has loaded and try to boot. I've asked above for more information:

https://forum.doozan.com/read.php?3,99414,99554#msg-99554

Quote

U-Boot 2019.10-tld-1 (Apr 09 2020 - 16:26:57 -0700)
....

Hit any key to stop autoboot: 0

At this point interrupt serial console and,
printenv
help
sf probe

What you did above was good (if USB causing too much problem, load with tftp).

But please always give me the info I asked for. Because like peeling the onion, I need to see where you are before I can help you to get further.

If you can boot with my u-boot build u-boot-spl-2019.10-tld-1.ds114.kwb and my rootfs Debian-5.2.9-mvebu-tld-1-rootfs-bodhi.tar.bz2, then it is all unbricked, and you got the chance to run the latest Debian system, if you decide to do that.

And then inside Debian, you can restore stock uboot to SPI flash easily.

2. Regarding restoring u-boot.

Let me look at the stock envs and then come back and show you how to flash u-boot bin that you have, from u-boot prompt. Is it a back up somewhere you got? or is it your own backup?

If you are sure that is the stock u-boot bin then flash it. If you are not sure, then don't use it.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 2 time(s). Last edit at 04/10/2020 05:57PM by bodhi.
Re: Restore uboot for Synology DS414
April 11, 2020 02:43AM
bodhi Wrote:
-------------------------------------------------------
> bignellrp,
>
>
> pi@raspberrypi:~ $ kwboot -t -B 115200
> /dev/ttyUSB0 -b u-boot-spl-2019.10-tld-1.ds114.kwb
> -a
> Sending boot message. Please reboot the
> target...-
> Sending boot image...
>   0 %
> [......................................................................]
>   1 %
> [......................................................................]
> 
>  12 % [...
> U-Boot SPL 2019.10-tld-1 (Apr 09 2020 - 16:26:57
> -0700)
> High speed PHY - Version: 2.1.5 (COM-PHY-V20)
> High speed PHY - Ended Successfully
> DDR3 Training Sequence - Ver 5.7.4
> DDR3 Training Sequence - Ended Successfully
> ...................................................................]
>  14 %
> [......................................................................]
>  15 %
> [......................................................................]
>  16 %
> [......................................................................]
> 
> 
>  99 %
> [.....................................................]
> [Type Ctrl-\ + c to quit]
> 
> 
> U-Boot 2019.10-tld-1 (Apr 09 2020 - 16:26:57
> -0700)
> 
> SoC:   MV78230-B0 at 1333 MHz
> I2C:   ready
> DRAM:  1 GiB (667 MHz, 32-bit, ECC not enabled)
> Loading Environment from SPI Flash... SF: Detected
> n25q064 with page size 256 Bytes, erase size 4
> KiB, total 8 MiB
> *** Warning - bad CRC, using default environment
> 
> In:    serial@12000
> Out:   serial@12000
> Err:   serial@12000
> Model: Synology DS414
> Board: DS414
> Net:   
> Warning: ethernet@70000 (eth0) using random MAC
> address - ca:91:b6:2d:22:41
> eth0: ethernet@70000
> Warning: ethernet@74000 (eth1) using random MAC
> address - 0e:93:f0:c0:df:b3
> , eth1: ethernet@74000
> starting USB...
> Bus usb@50000: USB EHCI 1.00
> scanning bus usb@50000 for devices... 1 USB
> Device(s) found
>        scanning usb for storage devices... 0
> Storage Device(s) found
> SF: Detected n25q064 with page size 256 Bytes,
> erase size 4 KiB, total 8 MiB
> Hit any key to stop autoboot:  0
>
>
> Cool! once you got to this u-boot prompt, you've
> unbricked the box.
>
> > Can i compile a UART version of the attached
> DS414
> > version of uboot and restore it to flash?
>
> You could compile the UART version using Synology
> GPL source. But it should not be flashed to SPI
> (it will not work). However, you can flash your
> uboot_DS414r1.bin if you're sure that it is the
> flash-ready version (either you did this backup
> yourself or it was from a good source).
>
> > Or any ideas why it wont recognise my fat usb
> > stick?
>
> > => usb reset
> > resetting USB...
> > Bus usb@50000: USB EHCI 1.00
> > scanning bus usb@50000 for devices...
> > USB retry period from the environment: 0
> > second(s)
> > 2 USB Device(s) found
> > scanning usb for storage devices... 1
> > Storage Device(s) found
>
> It did find your USB drive as shown above.
>
> At this point, it is best to print out the envs so
> I can see what are pre-defined (useful for trying
> to boot the rootfs in USB or NAND/SPI flash)
>
>
> printenv
>
>
>
> > => fatload usb 0:1 2000000 zImage
>
> The USB drive is preferred to be formatted as EXT2
> or EXT3. And then use ext2load to load the kernel
> file, like this:
>
>
> ext2load usb 0:1 2000000 zImage
>
>
>
> > => bootm 0x2000000 0x8000000
>
> Since you've loaded zImage, the command should be
> bootz
>
>
> bootz 0x2000000 0x8000000
>
>
> See if it boots further.
>
> And please post the entire serial console log
> here.
>
> ===========
>
> It is probably easier for you to reflash stock
> u-boot image in serial console. Because you were
> stuck before stock FW env loaded.
>
> But let's see the serial console log first before
> I have a new suggestion.


Ah yes, i can see my replies are not answering all your questions in order and are very disjointed. Sorry about that. Lets go back a step and try and answer them in order. bootz is command not found and usb reset crashes the box (crash logs shown in posts above) so i've substituted ex2load with tftpboot






Last login: Sat Apr 11 08:17:27 2020 from 192.168.0.23
pi@raspberrypi:~ $ kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-spl-2019.10-tld-1.ds114.kwb -a
Sending boot message. Please reboot the target...\
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
  2 % [......................................................................]
  3 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  7 % [......................................................................]
  9 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 12 % [...
U-Boot SPL 2019.10-tld-1 (Apr 09 2020 - 16:26:57 -0700)
High speed PHY - Version: 2.1.5 (COM-PHY-V20)
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver 5.7.4
DDR3 Training Sequence - Ended Successfully
...................................................................]
 14 % [......................................................................]
 15 % [......................................................................]
 16 % [......................................................................]
 18 % [......................................................................]
 19 % [......................................................................]
 20 % [......................................................................]
 21 % [......................................................................]
 23 % [......................................................................]
 24 % [......................................................................]
 25 % [......................................................................]
 27 % [......................................................................]
 28 % [......................................................................]
 29 % [......................................................................]
 30 % [......................................................................]
 32 % [......................................................................]
 33 % [......................................................................]
 34 % [......................................................................]
 36 % [......................................................................]
 37 % [......................................................................]
 38 % [......................................................................]
 39 % [......................................................................]
 41 % [......................................................................]
 42 % [......................................................................]
 43 % [......................................................................]
 45 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 48 % [......................................................................]
 50 % [......................................................................]
 51 % [......................................................................]
 52 % [......................................................................]
 54 % [......................................................................]
 55 % [......................................................................]
 56 % [......................................................................]
 57 % [......................................................................]
 59 % [......................................................................]
 60 % [......................................................................]
 61 % [......................................................................]
 63 % [......................................................................]
 64 % [......................................................................]
 65 % [......................................................................]
 66 % [......................................................................]
 68 % [......................................................................]
 69 % [......................................................................]
 70 % [......................................................................]
 72 % [......................................................................]
 73 % [......................................................................]
 74 % [......................................................................]
 75 % [......................................................................]
 77 % [......................................................................]
 78 % [......................................................................]
 79 % [......................................................................]
 81 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 84 % [......................................................................]
 86 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 90 % [......................................................................]
 91 % [......................................................................]
 92 % [......................................................................]
 93 % [......................................................................]
 95 % [......................................................................]
 96 % [......................................................................]
 97 % [......................................................................]
 99 % [.....................................................]
[Type Ctrl-\ + c to quit]


U-Boot 2019.10-tld-1 (Apr 09 2020 - 16:26:57 -0700)

SoC:   MV78230-B0 at 1333 MHz
I2C:   ready
DRAM:  1 GiB (667 MHz, 32-bit, ECC not enabled)
Loading Environment from SPI Flash... SF: Detected n25q064 with page size 256 Bytes, erase size 4 KiB, total 8 MiB
*** Warning - bad CRC, using default environment

In:    serial@12000
Out:   serial@12000
Err:   serial@12000
Model: Synology DS414
Board: DS414
Net:   
Warning: ethernet@70000 (eth0) using random MAC address - fe:7c:90:87:38:33
eth0: ethernet@70000
Warning: ethernet@74000 (eth1) using random MAC address - 26:d0:c2:36:4a:ef
, eth1: ethernet@74000
starting USB...
Bus usb@50000: USB EHCI 1.00
scanning bus usb@50000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
SF: Detected n25q064 with page size 256 Bytes, erase size 4 KiB, total 8 MiB
Hit any key to stop autoboot:  0 
device 0 offset 0xd0000, size 0x700000
SF: 7340032 bytes @ 0xd0000 Read: OK
Wrong Image Format for bootm command
ERROR: can't get kernel image!
=> setenv ipaddr 192.168.0.205
=> setenv netmask 255.255.255.0
=> setenv serverip 192.168.0.23
=> setenv serverip 192.168.0.39
=> tftpboot 8000000 rd.bin
ethernet@70000 Waiting for PHY auto negotiation to complete....... done
Using ethernet@70000 device
TFTP from server 192.168.0.39; our IP address is 192.168.0.205
Filename 'rd.bin'.
Load address: 0x8000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ########
         284.2 KiB/s
done
Bytes transferred = 3698039 (386d77 hex)
=> tftpboot 2000000 zImage
Using ethernet@70000 device
TFTP from server 192.168.0.39; our IP address is 192.168.0.205
Filename 'zImage'.
Load address: 0x2000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #########################
         301.8 KiB/s
done
Bytes transferred = 2123952 (2068b0 hex)
=> printenv
baudrate=115200
bootargs=console=ttyS0,115200
bootcmd=sf read ${loadaddr} 0xd0000 0x700000; bootm
bootdelay=3
ethact=ethernet@70000
fdtcontroladdr=3fb4bb28
fileaddr=2000000
filesize=2068b0
ipaddr=192.168.0.205
loadaddr=0x80000
netmask=255.255.255.0
preboot=usb start; sf probe
serverip=192.168.0.39
stderr=serial@12000
stdin=serial@12000
stdout=serial@12000

Environment size: 359/65532 bytes
=> bootz 0x2000000 0x8000000
Unknown command 'bootz' - try 'help'
=> help
?         - alias for 'help'
base      - print or set address offset
bdinfo    - print Board Info structure
blkcache  - block cache diagnostics and control
boot      - boot default, i.e., run 'bootcmd'
bootd     - boot default, i.e., run 'bootcmd'
bootefi   - Boots an EFI payload from memory
bootelf   - Boot from an ELF image in memory
bootm     - boot application image from memory
bootp     - boot image via network using BOOTP/TFTP protocol
bootvx    - Boot vxWorks from an ELF image
chpart    - change active partition
cmp       - memory compare
coninfo   - print console devices and information
cp        - memory copy
crc32     - checksum calculation
dhcp      - boot image via network using DHCP/TFTP protocol
dm        - Driver model low level access
echo      - echo args to console
editenv   - edit environment variable
env       - environment handling commands
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 /)
fatsize   - determine a file's size
fdt       - flattened device tree utility commands
fsinfo    - print information about jffs filesystems
fsload    - load binary file from a jffs filesystem image
fsls      - list jffs files in a directory (default /)
fstype    - Look up a filesystem type
go        - start application at address 'addr'
help      - print command description/usage
i2c       - I2C sub-system
iminfo    - print header information for application image
imxtract  - extract a part of a multi-image
itest     - return true/false on integer compare
ln        - Create a symbolic link
load      - load binary file from a filesystem
loadb     - load binary file over serial line (kermit mode)
loads     - load S-Record file over serial line
loadx     - load binary file over serial line (xmodem mode)
loady     - load binary file over serial line (ymodem mode)
loop      - infinite loop on address range
ls        - list files in a directory (default /)
md        - memory display
mdio      - MDIO utility commands
mii       - MII utility commands
mm        - memory modify (auto-incrementing address)
mtdparts  - define flash/nand partitions
mw        - memory write (fill)
nfs       - boot image via network using NFS protocol
nm        - memory modify (constant address)
pci       - list and access PCI Configuration Space
ping      - send ICMP ECHO_REQUEST to network host
printenv  - print environment variables
random    - fill memory with random pattern
reset     - Perform RESET of the CPU
run       - run commands in an environment variable
save      - save file to a filesystem
saveenv   - save environment variables to persistent storage
setenv    - set environment variables
sf        - SPI flash sub-system
size      - determine a file's size
sleep     - delay execution for some time
source    - run script from memory
sspi      - SPI utility command
syno      - Synology specific commands
tftpboot  - boot image via network using TFTP protocol
tftpput   - TFTP put command, for uploading files to a server
time      - run commands and summarize execution time
ubi       - ubi commands
ubifsload - load file from an UBIFS filesystem
ubifsls   - list files in a directory
ubifsmount- mount UBIFS volume
ubifsumount- unmount UBIFS volume
usb       - USB sub-system
usbboot   - boot from USB device
version   - print monitor, compiler and linker version
=> sf probe
SF: Detected n25q064 with page size 256 Bytes, erase size 4 KiB, total 8 MiB

Re: Restore uboot for Synology DS414
April 11, 2020 02:52AM
Quote


> At this point interrupt serial console and,

> printenv
> help
> sf probe

See above.

Quote

> What you did above was good (if USB causing too
> much problem, load with tftp).
>
> But please always give me the info I asked for.
> Because like peeling the onion, I need to see
> where you are before I can help you to get
> further.

Yes, apologies again. I've tried to include these above in order and shown the whole log.


Quote


> If you can boot with my u-boot build
> u-boot-spl-2019.10-tld-1.ds114.kwb and my rootfs
> Debian-5.2.9-mvebu-tld-1-rootfs-bodhi.tar.bz2,
> then it is all unbricked, and you got the chance
> to run the latest Debian system, if you decide to
> do that.
>
> And then inside Debian, you can restore stock
> uboot to SPI flash easily.
>

Sounds good. I'll give this a try but i would also like to continue trying to load the DS image as i feel we are really close.

Quote


> 2. Regarding restoring u-boot.
>
> Let me look at the stock envs and then come back
> and show you how to flash u-boot bin that you
> have, from u-boot prompt. Is it a back up
> somewhere you got? or is it your own backup?
>
> If you are sure that is the stock u-boot bin then
> flash it. If you are not sure, then don't use it.

I dont have a backup unfortunately. The uboot image i have is from the Synology downloads website. The pat file is what is normally used to upgrade or restore DS officially so it should be a "good" source.

"DSM is the operating system of DS414. The update includes the latest features and enhancements."

https://www.synology.com/en-uk/support/download/DS414#firmware

Thats where i got my zImage and rd.bin from too.
Re: Restore uboot for Synology DS414
April 11, 2020 03:58AM
Quote

If you can boot with my u-boot build u-boot-spl-2019.10-tld-1.ds114.kwb and my rootfs Debian-5.2.9-mvebu-tld-1-rootfs-bodhi.tar.bz2, then it is all unbricked, and you got the chance to run the latest Debian system, if you decide to do that.

And then inside Debian, you can restore stock uboot to SPI flash easily.

I had a go but kernel panic doesnt look good :(



pi@raspberrypi:~ $ sudo su -
root@raspberrypi:~# 
root@raspberrypi:~# 
root@raspberrypi:~# mkdir uimage
root@raspberrypi:~# cd uimage/
root@raspberrypi:~/uimage# ls -la
total 8
drwxr-xr-x 2 root root 4096 Apr 11 08:27 .
drwx------ 3 root root 4096 Apr 11 08:27 ..
root@raspberrypi:~/uimage# ls -la ../
total 24
drwx------  3 root root 4096 Apr 11 08:27 .
drwxr-xr-x 21 root root 4096 Nov 13  2018 ..
-rw-r--r--  1 root root  570 Mar 12  2018 .bashrc
-rw-r--r--  1 root root  204 Apr 10 16:52 minicom.log
-rw-r--r--  1 root root  148 Mar 12  2018 .profile
drwxr-xr-x  2 root root 4096 Apr 11 08:27 uimage
root@raspberrypi:~/uimage# tar -xjf /home/pi/Debian-5.2.9-mvebu-tld-1-rootfs-bodhi.tar.bz2
root@raspberrypi:~/uimage# cd boot/
root@raspberrypi:~/uimage/boot# cp -a zImage-5.2.9-mvebu-tld-1 zImage.fdt
root@raspberrypi:~/uimage/boot# ls
config-5.2.9-mvebu-tld-1  dts  initrd.img-5.2.9-mvebu-tld-1  linux-headers-5.2.9-mvebu-tld-1_1.0_armhf.deb  System.map-5.2.9-mvebu-tld-1  uInitrd  vmlinuz-5.2.9-mvebu-tld-1  zImage  zImage-5.2.9-mvebu-tld-1  zImage.fdt
root@raspberrypi:~/uimage/boot# cat 
config-5.2.9-mvebu-tld-1                       initrd.img-5.2.9-mvebu-tld-1                   System.map-5.2.9-mvebu-tld-1                   vmlinuz-5.2.9-mvebu-tld-1                      zImage-5.2.9-mvebu-tld-1
dts/                                           linux-headers-5.2.9-mvebu-tld-1_1.0_armhf.deb  uInitrd                                        zImage                                         zImage.fdt
root@raspberrypi:~/uimage/boot# cat dts/
armada-370-db.dtb                           armada-380-zyxel-nas326.dtb                 armada-388-clearfog-base.dtb                armada-xp-db-xc3-24g4xg.dtb                 dove-chip-lxd8941.dtb
armada-370-dlink-dns327l.dtb                armada-385-db-88f6820-amc.dtb               armada-388-clearfog.dtb                     armada-xp-gp.dtb                            dove-cubox.dtb
armada-370-mirabox.dtb                      armada-385-db-ap.dtb                        armada-388-clearfog-pro.dtb                 armada-xp-lenovo-ix4-300d.dtb               dove-cubox-es.dtb
armada-370-netgear-rn102.dtb                armada-385-linksys-caiman.dtb               armada-388-db.dtb                           armada-xp-linksys-mamba.dtb                 dove-d2plug.dtb
armada-370-netgear-rn104.dtb                armada-385-linksys-cobra.dtb                armada-388-gp.dtb                           armada-xp-matrix.dtb                        dove-d3plug.dtb
armada-370-rd.dtb                           armada-385-linksys-rango.dtb                armada-388-helios4.dtb                      armada-xp-netgear-rn2120.dtb                dove-dove-db.dtb
armada-370-seagate-nas-2bay.dtb             armada-385-linksys-shelby.dtb               armada-388-rd.dtb                           armada-xp-openblocks-ax3-4.dtb              dove-hp-t5335z.dtb
armada-370-seagate-nas-4bay.dtb             armada-385-synology-ds116.dtb               armada-388-wd-ex4100.dtb                    armada-xp-synology-ds414.dtb                dove-sbc-a510.dtb
armada-370-seagate-personal-cloud-2bay.dtb  armada-385-synology-rs816.dtb               armada-398-db.dtb                           berlin2cd-google-chromecast.dtb             dove-wyse-t50.dtb
armada-370-seagate-personal-cloud.dtb       armada-385-thecus-n2350.dtb                 armada-xp-axpwifiap.dtb                     berlin2cd-valve-steamlink.dtb               
armada-370-synology-ds213j.dtb              armada-385-turris-omnia.dtb                 armada-xp-db.dtb                            berlin2q-marvell-dmp.dtb                    
armada-375-db.dtb                           armada-385-wd-ex2100.dtb                    armada-xp-db-dxbc2.dtb                      berlin2-sony-nsz-gs7.dtb                    
root@raspberrypi:~/uimage/boot# cat dts/armada-xp-synology-ds414.dtb >> zImage.fdt
root@raspberrypi:~/uimage/boot# mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.2.9-mvebu-tld-1 -d zImage.fdt uImage
Image Name:   Linux-5.2.9-mvebu-tld-1
Created:      Sat Apr 11 08:54:14 2020
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    5074784 Bytes = 4955.84 kB = 4.84 MB
Load Address: 00008000
Entry Point:  00008000
root@raspberrypi:~/uimage/boot# ls -la
total 56104
drwxr-xr-x  3 root root    4096 Apr 11 08:54 .
drwxrwxrwx 21 root root    4096 Jan 20  2017 ..
-rw-r--r--  1 root root  183639 Aug 19  2019 config-5.2.9-mvebu-tld-1
drwxr-xr-x  2 root root    4096 Aug 19  2019 dts
-rw-r--r--  1 root root 9488554 Aug 26  2019 initrd.img-5.2.9-mvebu-tld-1
-rw-r--r--  1 root root 9676808 Aug 19  2019 linux-headers-5.2.9-mvebu-tld-1_1.0_armhf.deb
-rw-------  1 root root 3266081 Aug 19  2019 System.map-5.2.9-mvebu-tld-1
-rw-r--r--  1 root root 5074848 Apr 11 08:54 uImage
-rw-r--r--  1 root root 9488618 Aug 26  2019 uInitrd
-rw-------  1 root root 5057632 Aug 19  2019 vmlinuz-5.2.9-mvebu-tld-1
-rwxr-xr-x  1 root root 5057632 Aug 19  2019 zImage
-rwxr-xr-x  1 root root 5057632 Aug 19  2019 zImage-5.2.9-mvebu-tld-1
-rwxr-xr-x  1 root root 5074784 Apr 11 08:54 zImage.fdt
root@raspberrypi:~/uimage/boot# ls -lah
total 55M
drwxr-xr-x  3 root root 4.0K Apr 11 08:54 .
drwxrwxrwx 21 root root 4.0K Jan 20  2017 ..
-rw-r--r--  1 root root 180K Aug 19  2019 config-5.2.9-mvebu-tld-1
drwxr-xr-x  2 root root 4.0K Aug 19  2019 dts
-rw-r--r--  1 root root 9.1M Aug 26  2019 initrd.img-5.2.9-mvebu-tld-1
-rw-r--r--  1 root root 9.3M Aug 19  2019 linux-headers-5.2.9-mvebu-tld-1_1.0_armhf.deb
-rw-------  1 root root 3.2M Aug 19  2019 System.map-5.2.9-mvebu-tld-1
-rw-r--r--  1 root root 4.9M Apr 11 08:54 uImage
-rw-r--r--  1 root root 9.1M Aug 26  2019 uInitrd
-rw-------  1 root root 4.9M Aug 19  2019 vmlinuz-5.2.9-mvebu-tld-1
-rwxr-xr-x  1 root root 4.9M Aug 19  2019 zImage
-rwxr-xr-x  1 root root 4.9M Aug 19  2019 zImage-5.2.9-mvebu-tld-1
-rwxr-xr-x  1 root root 4.9M Apr 11 08:54 zImage.fdt
root@raspberrypi:~/uimage/boot# cp uImage /home/pi/tftp/

Linux raspberrypi 4.19.66+ #1253 Thu Aug 15 11:37:30 BST 2019 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Apr 11 08:29:31 2020 from 192.168.0.23
pi@raspberrypi:~ $ kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-spl-2019.10-tld-1.ds114.kwb -a
Sending boot message. Please reboot the target...-^C
pi@raspberrypi:~ $ mv u-boot-spl-2019.10-tld-1.ds114.kwb u-boot-spl-2019.10-tld-1.ds414.kwb    
pi@raspberrypi:~ $ kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-spl-2019.10-tld-1.ds414.kwb -a   
Sending boot message. Please reboot the target...-
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
  2 % [......................................................................]
  3 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  7 % [......................................................................]
  9 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 12 % [...
U-Boot SPL 2019.10-tld-1 (Apr 09 2020 - 16:26:57 -0700)
High speed PHY - Version: 2.1.5 (COM-PHY-V20)
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver 5.7.4
DDR3 Training Sequence - Ended Successfully
...................................................................]
 14 % [......................................................................]
 15 % [......................................................................]
 16 % [......................................................................]
 18 % [......................................................................]
 19 % [......................................................................]
 20 % [......................................................................]
 21 % [......................................................................]
 23 % [......................................................................]
 24 % [......................................................................]
 25 % [......................................................................]
 27 % [......................................................................]
 28 % [......................................................................]
 29 % [......................................................................]
 30 % [......................................................................]
 32 % [......................................................................]
 33 % [......................................................................]
 34 % [......................................................................]
 36 % [......................................................................]
 37 % [......................................................................]
 38 % [......................................................................]
 39 % [......................................................................]
 41 % [......................................................................]
 42 % [......................................................................]
 43 % [......................................................................]
 45 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 48 % [......................................................................]
 50 % [......................................................................]
 51 % [......................................................................]
 52 % [......................................................................]
 54 % [......................................................................]
 55 % [......................................................................]
 56 % [......................................................................]
 57 % [......................................................................]
 59 % [......................................................................]
 60 % [......................................................................]
 61 % [......................................................................]
 63 % [......................................................................]
 64 % [......................................................................]
 65 % [......................................................................]
 66 % [......................................................................]
 68 % [......................................................................]
 69 % [......................................................................]
 70 % [......................................................................]
 72 % [......................................................................]
 73 % [......................................................................]
 74 % [......................................................................]
 75 % [......................................................................]
 77 % [......................................................................]
 78 % [......................................................................]
 79 % [......................................................................]
 81 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 84 % [......................................................................]
 86 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 90 % [......................................................................]
 91 % [......................................................................]
 92 % [......................................................................]
 93 % [......................................................................]
 95 % [......................................................................]
 96 % [......................................................................]
 97 % [......................................................................]
 99 % [.....................................................]
[Type Ctrl-\ + c to quit]


U-Boot 2019.10-tld-1 (Apr 09 2020 - 16:26:57 -0700)

SoC:   MV78230-B0 at 1333 MHz
I2C:   ready
DRAM:  1 GiB (667 MHz, 32-bit, ECC not enabled)
Loading Environment from SPI Flash... SF: Detected n25q064 with page size 256 Bytes, erase size 4 KiB, total 8 MiB
*** Warning - bad CRC, using default environment

In:    serial@12000
Out:   serial@12000
Err:   serial@12000
Model: Synology DS414
Board: DS414
Net:   
Warning: ethernet@70000 (eth0) using random MAC address - 1a:de:3c:37:5e:cd
eth0: ethernet@70000
Warning: ethernet@74000 (eth1) using random MAC address - c2:38:b0:45:e4:91
, eth1: ethernet@74000
starting USB...
Bus usb@50000: USB EHCI 1.00
scanning bus usb@50000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
SF: Detected n25q064 with page size 256 Bytes, erase size 4 KiB, total 8 MiB
Hit any key to stop autoboot:  0 
=> setenv ipaddr 192.168.0.205
=> setenv netmask 255.255.255.0
=> setenv serverip 192.168.0.39
=> tftpboot 2000000 uImage
ethernet@70000 Waiting for PHY auto negotiation to complete....... done
Using ethernet@70000 device
TFTP from server 192.168.0.39; our IP address is 192.168.0.205
Filename 'uImage'.
Load address: 0x2000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################
         469.7 KiB/s
done
Bytes transferred = 5074848 (4d6fa0 hex)
=> bootm 0x2000000
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-5.2.9-mvebu-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5074784 Bytes = 4.8 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.2.9-mvebu-tld-1 (root@tldDebianVM) (gcc version 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1)) #1 SMP PREEMPT Mon Aug 19 12:47:39 PDT 2019
[    0.000000][    T0] CPU: ARMv7 Processor [562f5842] revision 2 (ARMv7), cr=10c5387d
[    0.000000][    T0] CPU: div instructions available: patching division code
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Synology DS414
[    0.000000][    T0] Memory policy: Data cache writealloc
[    0.000000][    T0] percpu: Embedded 21 pages/cpu s55244 r8192 d22580 u86016
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 260608
[    0.000000][    T0] Kernel command line: console=ttyS0,115200
[    0.000000][    T0] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000][    T0] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000][    T0] Memory: 1023808K/1048576K available (10240K kernel code, 833K rwdata, 2724K rodata, 1024K init, 343K bss, 24768K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000][    T0] random: get_random_u32 called from cache_alloc_refill+0x30c/0x830 with crng_init=0
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000][    T0]  Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] L2C: DT/platform modifies aux control register: 0x1a096b00 -> 0x1a096b02
[    0.000000][    T0] Aurora cache controller enabled, 16 ways, 1024 kB
[    0.000000][    T0] Aurora: CACHE_ID 0x00000100, AUX_CTRL 0x1a096b02
[    0.000000][    T0] Switching to timer-based delay loop, resolution 40ns
[    0.000005][    T0] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.000018][    T0] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.000670][    T0] Console: colour dummy device 80x30
[    0.000700][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.000713][    T0] pid_max: default: 32768 minimum: 301
[    0.000845][    T0] LSM: Security Framework initializing
[    0.000912][    T0] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000925][    T0] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001425][    T0] *** VALIDATE proc ***
[    0.001582][    T0] *** VALIDATE cgroup1 ***
[    0.001593][    T0] *** VALIDATE cgroup2 ***
[    0.001638][    T0] CPU: Testing write buffer coherency: ok
[    0.001850][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.060108][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.060374][    T1] mvebu-soc-id: MVEBU SoC ID=0x7823, Rev=0x2
[    0.060476][    T1] mvebu-pmsu: Initializing Power Management Service Unit
[    0.080072][    T1] rcu: Hierarchical SRCU implementation.
[    0.120071][    T1] smp: Bringing up secondary CPUs ...
[    0.200179][    T1] Booting CPU 1
[    0.200606][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.210696][    T1] smp: Brought up 1 node, 2 CPUs
[    0.210709][    T1] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.210716][    T1] CPU: All CPU(s) started in SVC mode.
[    0.211330][    T1] devtmpfs: initialized
[    0.214379][    T1] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
[    0.214820][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.214841][    T1] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.215003][    T1] xor: measuring software checksum speed
[    0.310060][    T1]    arm4regs  :  1290.400 MB/sec
[    0.410064][    T1]    8regs     :   810.000 MB/sec
[    0.510058][    T1]    32regs    :  1146.400 MB/sec
[    0.510067][    T1] xor: using function: arm4regs (1290.400 MB/sec)
[    0.510079][    T1] prandom: seed boundary self test passed
[    0.512393][    T1] prandom: 100 self tests passed
[    0.512401][    T1] pinctrl core: initialized pinctrl subsystem
[    0.513722][    T1] NET: Registered protocol family 16
[    0.513948][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.514500][    T1] audit: initializing netlink subsys (disabled)
[    0.514649][   T33] audit: type=2000 audit(0.510:1): state=initialized audit_enabled=0 res=1
[    0.520132][    T1] cpuidle: using governor ladder
[    0.520169][    T1] cpuidle: using governor menu
[    0.520266][   T12] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 0
[    0.520275][   T12] hw-breakpoint: CPU 0 failed to disable vector catch
[    0.520307][   T13] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 1
[    0.730271][    T1] raid6: int32x8  gen()   227 MB/s
[    0.900318][    T1] raid6: int32x8  xor()   134 MB/s
[    1.070268][    T1] raid6: int32x4  gen()   206 MB/s
[    1.240166][    T1] raid6: int32x4  xor()   163 MB/s
[    1.410304][    T1] raid6: int32x2  gen()   197 MB/s
[    1.580065][    T1] raid6: int32x2  xor()   210 MB/s
[    1.750135][    T1] raid6: int32x1  gen()   135 MB/s
[    1.920069][    T1] raid6: int32x1  xor()   184 MB/s
[    1.920078][    T1] raid6: using algorithm int32x8 gen() 227 MB/s
[    1.920085][    T1] raid6: .... xor() 134 MB/s, rmw enabled
[    1.920091][    T1] raid6: using intx1 recovery algorithm
[    1.921347][    T1] vgaarb: loaded
[    1.921976][    T1] SCSI subsystem initialized
[    1.922869][    T1] usbcore: registered new interface driver usbfs
[    1.922987][    T1] usbcore: registered new interface driver hub
[    1.923118][    T1] usbcore: registered new device driver usb
[    1.923769][    T1] media: Linux media interface: v0.10
[    1.923871][    T1] videodev: Linux video capture interface: v2.00
[    1.924250][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.924260][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.924342][    T1] PTP clock support registered
[    1.925973][    T1] clocksource: Switched to clocksource armada_370_xp_clocksource
[    2.471047][    T1] VFS: Disk quotas dquot_6.6.0
[    2.471114][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.485247][    T1] NET: Registered protocol family 2
[    2.485800][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    2.485822][    T1] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    2.485886][    T1] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    2.485947][    T1] TCP: Hash tables configured (established 8192 bind 8192)
[    2.486068][    T1] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    2.486097][    T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    2.486319][    T1] NET: Registered protocol family 1
[    2.486790][    T1] RPC: Registered named UNIX socket transport module.
[    2.486800][    T1] RPC: Registered udp transport module.
[    2.486807][    T1] RPC: Registered tcp transport module.
[    2.486814][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.486825][    T1] PCI: CLS 0 bytes, default 64
[    2.487052][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    2.487270][    T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    2.489725][    T1] Initialise system trusted keyrings
[    2.489764][    T1] Key type blacklist registered
[    2.489886][    T1] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    2.490009][    T1] zbud: loaded
[    2.490674][    T1] NFS: Registering the id_resolver key type
[    2.490693][    T1] Key type id_resolver registered
[    2.490701][    T1] Key type id_legacy registered
[    2.490715][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.490728][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    2.490953][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    2.491388][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    2.491529][    T1] orangefs_init: module version upstream loaded
[    2.493184][    T1] async_tx: api initialized (async)
[    2.493196][    T1] Key type asymmetric registered
[    2.493204][    T1] Asymmetric key parser 'x509' registered
[    2.493253][    T1] bounce: pool size: 64 pages
[    2.493356][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    2.496105][    T1] armada-xp-pinctrl f1018000.pin-ctrl: registered pinctrl driver
[    2.499173][    T1] mvebu-pcie soc:pcie@82000000: PCI host bridge to bus 0000:00
[    2.499191][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    2.499202][    T1] pci_bus 0000:00: root bus resource [mem 0xf8000000-0xffdfffff]
[    2.499212][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    2.499312][    T1] pci 0000:00:01.0: [11ab:7823] type 01 class 0x060400
[    2.499344][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    2.499765][    T1] pci 0000:00:05.0: [11ab:7823] type 01 class 0x060400
[    2.499793][    T1] pci 0000:00:05.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    2.500969][    T1] PCI: bus0: Fast back to back transfers disabled
[    2.500990][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    2.501011][    T1] pci 0000:00:05.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    2.501214][    T1] pci 0000:01:00.0: [11ab:7042] type 00 class 0x010000
[    2.501253][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x14000000-0x140fffff 64bit]
[    2.501270][    T1] pci 0000:01:00.0: reg 0x18: [io  0x0000-0x00ff]
[    2.501589][    T1] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    2.502672][    T1] PCI: bus1: Fast back to back transfers disabled
[    2.502691][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    2.502898][    T1] pci 0000:02:00.0: [1b6f:7023] type 00 class 0x0c0330
[    2.502939][    T1] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x00007fff 64bit]
[    2.502984][    T1] pci 0000:02:00.0: enabling Extended Tags
[    2.503061][    T1] pci 0000:02:00.0: supports D1 D2
[    2.503071][    T1] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot
[    2.503351][    T1] pci 0000:00:05.0: ASPM: current common clock configuration is broken, reconfiguring
[    2.527071][    T1] PCI: bus2: Fast back to back transfers disabled
[    2.527092][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    2.527147][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xf8000000-0xf80fffff]
[    2.527160][    T1] pci 0000:00:05.0: BAR 14: assigned [mem 0xf8100000-0xf81fffff]
[    2.527171][    T1] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    2.527182][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xf8200000-0xf82007ff pref]
[    2.527194][    T1] pci 0000:00:05.0: BAR 6: assigned [mem 0xf8300000-0xf83007ff pref]
[    2.527208][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xf8000000-0xf80fffff 64bit]
[    2.527227][    T1] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x100ff]
[    2.527239][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    2.527250][    T1] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    2.527262][    T1] pci 0000:00:01.0:   bridge window [mem 0xf8000000-0xf80fffff]
[    2.527279][    T1] pci 0000:02:00.0: BAR 0: assigned [mem 0xf8100000-0xf8107fff 64bit]
[    2.527296][    T1] pci 0000:00:05.0: PCI bridge to [bus 02]
[    2.527307][    T1] pci 0000:00:05.0:   bridge window [mem 0xf8100000-0xf81fffff]
[    2.527401][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    2.527504][    T1] pcieport 0000:00:05.0: enabling device (0140 -> 0142)
[    2.527575][    T1] pci 0000:02:00.0: enabling device (0140 -> 0142)
[    2.528376][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    2.586734][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    2.588471][    T1] mv_xor f10f0900.xor: Marvell shared XOR driver
[    2.646663][    T1] mv_xor f10f0900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    2.703093][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    2.705275][    T1] printk: console [ttyS0] disabled
[    2.725749][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 19, base_baud = 15625000) is a 16550A
[    3.872904][    T1] printk: console [ttyS0] enabled
[    3.898867][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 20, base_baud = 15625000) is a 16550A
[    3.910419][    T1] sata_mv 0000:01:00.0: enabling device (0140 -> 0143)
[    3.917289][    T1] sata_mv 0000:01:00.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
[    3.928258][    T1] scsi host0: sata_mv
[    3.932675][    T1] scsi host1: sata_mv
[    3.937075][    T1] scsi host2: sata_mv
[    3.941440][    T1] scsi host3: sata_mv
[    3.945619][    T1] ata1: SATA max UDMA/133 mmio m1048576@0xf8000000 port 0xf8022000 irq 41
[    3.954031][    T1] ata2: SATA max UDMA/133 mmio m1048576@0xf8000000 port 0xf8024000 irq 41
[    3.962423][    T1] ata3: SATA max UDMA/133 mmio m1048576@0xf8000000 port 0xf8026000 irq 41
[    3.970814][    T1] ata4: SATA max UDMA/133 mmio m1048576@0xf8000000 port 0xf8028000 irq 41
[    3.980981][    T1] m25p80 spi0.0: n25q064 (8192 Kbytes)
[    3.986380][    T1] 6 fixed-partitions partitions found on MTD device spi0.0
[    3.993449][    T1] Creating 6 MTD partitions on "spi0.0":
[    3.998968][    T1] 0x000000000000-0x0000000d0000 : "RedBoot"
[    4.005787][    T1] 0x0000000d0000-0x0000003a0000 : "zImage"
[    4.012541][    T1] 0x0000003a0000-0x0000007d0000 : "rd.gz"
[    4.019153][    T1] 0x0000007d0000-0x0000007e0000 : "vendor"
[    4.025836][    T1] 0x0000007e0000-0x0000007f0000 : "RedBoot config"
[    4.033237][    T1] 0x0000007f0000-0x000000800000 : "FIS directory"
[    4.041503][    T1] libphy: Fixed MDIO Bus: probed
[    4.046951][    T1] libphy: orion_mdio_bus: probed
[    4.054734][    T1] mvneta f1070000.ethernet eth0: Using hardware mac address 1a:de:3c:37:5e:cd
[    4.065145][    T1] mvneta f1074000.ethernet eth1: Using hardware mac address c2:38:b0:45:e4:91
[    4.074207][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.081490][    T1] ehci-pci: EHCI PCI platform driver
[    4.086779][    T1] ehci-orion: EHCI orion driver
[    4.091634][    T1] orion-ehci f1050000.usb: EHCI Host Controller
[    4.097789][    T1] orion-ehci f1050000.usb: new USB bus registered, assigned bus number 1
[    4.106232][    T1] orion-ehci f1050000.usb: irq 26, io mem 0xf1050000
[    4.136009][    T1] orion-ehci f1050000.usb: USB 2.0 started, EHCI 1.00
[    4.142855][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[    4.151869][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.159826][    T1] usb usb1: Product: EHCI Host Controller
[    4.165417][    T1] usb usb1: Manufacturer: Linux 5.2.9-mvebu-tld-1 ehci_hcd
[    4.172498][    T1] usb usb1: SerialNumber: f1050000.usb
[    4.178290][    T1] hub 1-0:1.0: USB hub found
[    4.182785][    T1] hub 1-0:1.0: 1 port detected
[    4.188056][    T1] xhci_hcd 0000:02:00.0: xHCI Host Controller
[    4.194009][    T1] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 2
[    4.202255][    T1] xhci_hcd 0000:02:00.0: hcc params 0x040040a5 hci version 0x100 quirks 0x0000000000080490
[    4.212610][    T1] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[    4.221623][    T1] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.229581][    T1] usb usb2: Product: xHCI Host Controller
[    4.235171][    T1] usb usb2: Manufacturer: Linux 5.2.9-mvebu-tld-1 xhci-hcd
[    4.242285][    T1] usb usb2: SerialNumber: 0000:02:00.0
[    4.248041][    T1] hub 2-0:1.0: USB hub found
[    4.252536][    T1] hub 2-0:1.0: 2 ports detected
[    4.257682][    T1] xhci_hcd 0000:02:00.0: xHCI Host Controller
[    4.263632][    T1] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 3
[    4.271786][    T1] xhci_hcd 0000:02:00.0: Host supports USB 3.0 SuperSpeed
[    4.278853][    T1] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.287809][    T1] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.02
[    4.297106][    T1] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.305049][    T1] usb usb3: Product: xHCI Host Controller
[    4.307485][ T1221] ata1: SATA link down (SStatus 0 SControl 300)
[    4.310661][    T1] usb usb3: Manufacturer: Linux 5.2.9-mvebu-tld-1 xhci-hcd
[    4.323873][    T1] usb usb3: SerialNumber: 0000:02:00.0
[    4.329736][    T1] hub 3-0:1.0: USB hub found
[    4.334230][    T1] hub 3-0:1.0: 2 ports detected
[    4.340136][    T1] usbcore: registered new interface driver usblp
[    4.346515][    T1] usbcore: registered new interface driver usb-storage
[    4.353700][    T1] mousedev: PS/2 mouse device common for all mice
[    4.361017][    T1] i2c /dev entries driver
[    4.647516][ T1225] ata2: SATA link down (SStatus 0 SControl 300)
[    4.886381][    T1] rtc-s35390a 0-0030: registered as rtc0
[    4.977444][ T1229] ata3: SATA link down (SStatus 0 SControl 300)
[    4.994563][    T1] watchdog: f1020300.watchdog: driver supplied timeout (4294967295) out of range
[    5.003578][    T1] watchdog: f1020300.watchdog: falling back to default timeout (171)
[    5.011871][    T1] orion_wdt: Initial timeout 171 sec
[    5.017637][    T1] device-mapper: uevent: version 1.0.3
[    5.023195][    T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[    5.032675][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    5.039944][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    5.047315][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    5.054677][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    5.061510][    T1] device-mapper: raid: Loading target version 1.14.0
[    5.073412][    T1] marvell-cesa f1090000.crypto: CESA device successfully registered
[    5.081720][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[    5.088365][    T1] usbcore: registered new interface driver usbhid
[    5.094654][    T1] usbhid: USB HID core driver
[    5.099705][    T1] drop_monitor: Initializing network drop monitor service
[    5.107093][    T1] NET: Registered protocol family 10
[    5.113154][    T1] Segment Routing with IPv6
[    5.117613][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    5.125606][    T1] NET: Registered protocol family 17
[    5.130955][    T1] 8021q: 802.1Q VLAN Support v1.8
[    5.135886][    T1] Key type dns_resolver registered
[    5.140960][    T1] ThumbEE CPU extension supported.
[    5.145946][    T1] Registering SWP/SWPB emulation handler
[    5.152205][    T1] registered taskstats version 1
[    5.157038][    T1] Loading compiled-in X.509 certificates
[    5.162605][    T1] zswap: loaded using pool lzo/zbud
[    5.169737][    T1] Key type big_key registered
[    5.174951][    T1] Key type encrypted registered
[    5.317881][ T1233] ata4: SATA link down (SStatus 0 SControl 300)
[   26.087698][    T1] rtc-s35390a 0-0030: setting system clock to 2020-04-11T08:36:18 UTC (1586594178)
[   26.097679][    T1] md: Waiting for all devices to be available before autodetect
[   26.105195][    T1] md: If you don't use raid, use raid=noautodetect
[   26.112454][    T1] md: Autodetecting RAID arrays.
[   26.117341][    T1] md: autorun ...
[   26.120856][    T1] md: ... autorun DONE.
[   26.125086][    T1] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[   26.133348][    T1] Please append a correct "root=" boot option; here are the available partitions:
[   26.142542][    T1] 1f00             832 mtdblock0 
[   26.142546][    T1]  (driver?)
[   26.150583][    T1] 1f01            2880 mtdblock1 
[   26.150587][    T1]  (driver?)
[   26.158626][    T1] 1f02            4288 mtdblock2 
[   26.158630][    T1]  (driver?)
[   26.166640][    T1] 1f03              64 mtdblock3 
[   26.166645][    T1]  (driver?)
[   26.174604][    T1] 1f04              64 mtdblock4 
[   26.174606][    T1]  (driver?)
[   26.182618][    T1] 1f05              64 mtdblock5 
[   26.182622][    T1]  (driver?)
[   26.190630][    T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   26.199629][    T1] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.2.9-mvebu-tld-1 #1
[   26.207231][    T1] Hardware name: Marvell Armada 370/XP (Device Tree)
[   26.213801][    T1] [<c0117684>] (unwind_backtrace) from [<c0112034>] (show_stack+0x10/0x14)
[   26.222283][    T1] [<c0112034>] (show_stack) from [<c0a258a8>] (dump_stack+0x70/0x8c)
[   26.230249][    T1] [<c0a258a8>] (dump_stack) from [<c0127104>] (panic+0xf0/0x300)
[   26.237866][    T1] [<c0127104>] (panic) from [<c0e016ac>] (mount_block_root+0x19c/0x284)
[   26.246091][    T1] [<c0e016ac>] (mount_block_root) from [<c0e0187c>] (mount_root+0xe8/0x150)
[   26.254648][    T1] [<c0e0187c>] (mount_root) from [<c0e01a2c>] (prepare_namespace+0x148/0x188)
[   26.263390][    T1] [<c0e01a2c>] (prepare_namespace) from [<c0e01270>] (kernel_init_freeable+0x350/0x3bc)
[   26.273007][    T1] [<c0e01270>] (kernel_init_freeable) from [<c0a3af7c>] (kernel_init+0x8/0x10c)
[   26.281929][    T1] [<c0a3af7c>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[   26.290230][    T1] Exception stack(0xef0b1fb0 to 0xef0b1ff8)
[   26.296000][    T1] 1fa0:                                     00000000 00000000 00000000 00000000
[   26.304910][    T1] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   26.313823][    T1] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[   26.321207][    C0] CPU0: stopping
[   26.324636][    C0] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.2.9-mvebu-tld-1 #1
[   26.332227][    C0] Hardware name: Marvell Armada 370/XP (Device Tree)
[   26.338792][    C0] [<c0117684>] (unwind_backtrace) from [<c0112034>] (show_stack+0x10/0x14)
[   26.347259][    C0] [<c0112034>] (show_stack) from [<c0a258a8>] (dump_stack+0x70/0x8c)
[   26.355207][    C0] [<c0a258a8>] (dump_stack) from [<c0115338>] (handle_IPI+0x2b8/0x3d4)
[   26.363327][    C0] [<c0115338>] (handle_IPI) from [<c05a2024>] (armada_370_xp_handle_irq+0x8c/0xa0)
[   26.372491][    C0] [<c05a2024>] (armada_370_xp_handle_irq) from [<c01021cc>] (__irq_svc+0x6c/0xa8)
[   26.381562][    C0] Exception stack(0xc0f01eb8 to 0xc0f01f00)
[   26.387326][    C0] 1ea0:                                                       00000000 00000006
[   26.396226][    C0] 1ec0: 000a9740 00000000 ef7cce70 00000001 c0faed2c 00000006 c0f9517c c0f951dc
[   26.405126][    C0] 1ee0: c0d04d83 20dd7e28 fffffff5 c0f01f08 c0153e50 c08546a4 20000153 ffffffff
[   26.414033][    C0] [<c01021cc>] (__irq_svc) from [<c08546a4>] (cpuidle_enter_state+0x338/0x56c)
[   26.422849][    C0] [<c08546a4>] (cpuidle_enter_state) from [<c0854914>] (cpuidle_enter+0x28/0x38)
[   26.431840][    C0] [<c0854914>] (cpuidle_enter) from [<c01540c8>] (do_idle+0x1d4/0x270)
[   26.439957][    C0] [<c01540c8>] (do_idle) from [<c01543f8>] (cpu_startup_entry+0x18/0x1c)
[   26.448250][    C0] [<c01543f8>] (cpu_startup_entry) from [<c0e00e70>] (start_kernel+0x434/0x4e4)
[   26.457151][    C0] [<c0e00e70>] (start_kernel) from [<00000000>] (0x0)
[   26.463802][    T1] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---



Re: Restore uboot for Synology DS414
April 11, 2020 04:18AM
bignellrp,

I'm composing the below post while you were making a lot of progress :). I should post it any way and then make a new post.


> I dont have a backup unfortunately. The uboot
> image i have is from the Synology downloads
> website. The pat file is what is normally used to
> upgrade or restore DS officially so it should be a
> "good" source.

Sounds good. That should be the flash-ready version of u-boot.


=============

So now we would have to proceed to either one of these 3 methods. Methods 2 and 3 can be tried if we are not successful with method 1.

1). Try booting stock FW after running new u-boot from UART.

2). Try to boot Debian rootfs on USB using Debian-5.2.9-mvebu-tld-1-rootfs-bodhi.tar.bz2. This approach is to continue booting with kwboot using u-boot-spl-2019.10-tld-1.ds114.kwb. And then set up some envs to continue booting into the Debian USB rootfs.

3). Try to reflash stock u-boot back to SPI flash. And then boot as stock was booting.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Restore uboot for Synology DS414
April 11, 2020 04:30AM
bignellrp,

Quote

> [ 0.000000][ T0] Booting Linux on physical
> CPU 0x0
> [ 0.000000][ T0] Linux version
> 5.2.9-mvebu-tld-1 (root@tldDebianVM) (gcc version
> 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1)) #1
> SMP PREEMPT Mon Aug 19 12:47:39 PDT 2019
> [ 0.000000][ T0] CPU: ARMv7 Processor
> [562f5842] revision 2 (ARMv7), cr=10c5387d
> [ 0.000000][ T0] CPU: div instructions
> available: patching division code
> [ 0.000000][ T0] CPU: PIPT / VIPT
> nonaliasing data cache, PIPT instruction cache
> [ 0.000000][ T0] OF: fdt: Machine model:
> Synology DS414

Impressive :)

Now we are very close. At this point, the kernel is trying to find the rootfs, but did not find it. So we need to specify that in the bootargs.

Repeat the kwboot command, interrupt serial console and set the bootargs

setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'

and then do the same tftp setup you did, and boot. This time the kernel will find the rootfs and mount it.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Restore uboot for Synology DS414
April 11, 2020 10:09AM
I did some research into the error and it seems it needs the ram disk but when i add rd.bin it just hangs again



## Loading init Ramdisk from Legacy Image at 08000000 ...
   Image Name:   synology_armadaxp_ds414 24922
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    3697975 Bytes = 3.5 MiB
   Load Address: 08000000
   Entry Point:  08000000
   Verifying Checksum ... OK
   Loading Kernel Image
   Loading Ramdisk to 3f7c3000, end 3fb49d37 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

---HANGS---



Edited 1 time(s). Last edit at 04/11/2020 10:29AM by bignellrp.
Re: Restore uboot for Synology DS414
April 11, 2020 10:28AM
Also tried with the ramdisk from the guide but still hangs:





pi@raspberrypi:~ $ sudo su -
root@raspberrypi:~# 
root@raspberrypi:~# 
root@raspberrypi:~# 
root@raspberrypi:~# cd uimage/
root@raspberrypi:~/uimage# ls
bin  boot  dev  etc  home  lib  lost+found  media  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var
root@raspberrypi:~/uimage# cd boot/
root@raspberrypi:~/uimage/boot# mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-5.2.9-mvebu-tld-1 -d initrd.img-5.2.9-mvebu-tld-1 uInitrd
Image Name:   initramfs-5.2.9-mvebu-tld-1
Created:      Sat Apr 11 16:15:25 2020
Image Type:   ARM Linux RAMDisk Image (gzip compressed)
Data Size:    9488554 Bytes = 9266.17 kB = 9.05 MB
Load Address: 00000000
Entry Point:  00000000
root@raspberrypi:~/uimage/boot# sync
root@raspberrypi:~/uimage/boot# cp uInitrd /home/pi/tftp/

 90 % [......................................................................]
 91 % [......................................................................]
 92 % [......................................................................]
 93 % [......................................................................]
 95 % [......................................................................]
 96 % [......................................................................]
 97 % [......................................................................]
 99 % [.....................................................]
[Type Ctrl-\ + c to quit]


U-Boot 2019.10-tld-1 (Apr 09 2020 - 16:26:57 -0700)

SoC:   MV78230-B0 at 1333 MHz
I2C:   ready
DRAM:  1 GiB (667 MHz, 32-bit, ECC not enabled)
Loading Environment from SPI Flash... SF: Detected n25q064 with page size 256 Bytes, erase size 4 KiB, total 8 MiB
*** Warning - bad CRC, using default environment

In:    serial@12000
Out:   serial@12000
Err:   serial@12000
Model: Synology DS414
Board: DS414
Net:   
Warning: ethernet@70000 (eth0) using random MAC address - 62:68:99:f9:43:29
eth0: ethernet@70000
Warning: ethernet@74000 (eth1) using random MAC address - b2:1c:b5:85:b0:c2
, eth1: ethernet@74000
starting USB...
Bus usb@50000: USB EHCI 1.00
scanning bus usb@50000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
SF: Detected n25q064 with page size 256 Bytes, erase size 4 KiB, total 8 MiB
Hit any key to stop autoboot:  0 
device 0 offset 0xd0000, size 0x700000
SF: 7340032 bytes @ 0xd0000 Read: OK
Wrong Image Format for bootm command
ERROR: can't get kernel image!
=> setenv ipaddr 192.168.0.205
=> setenv netmask 255.255.255.0
=> setenv serverip 192.168.0.39
=> tftpboot 8000000 uInitrd
ethernet@70000 Waiting for PHY auto negotiation to complete....... done
Using ethernet@70000 device
TFTP from server 192.168.0.39; our IP address is 192.168.0.205
Filename 'uInitrd'.
Load address: 0x8000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##################################
         482.4 KiB/s
done
Bytes transferred = 9488618 (90c8ea hex)
=> tftpboot 2000000 uImage
Using ethernet@70000 device
TFTP from server 192.168.0.39; our IP address is 192.168.0.205
Filename 'uImage'.
Load address: 0x2000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################
         500 KiB/s
done
Bytes transferred = 5074848 (4d6fa0 hex)
=> setenv bootargs "console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts earlyprintk=serial init=/bin/systemd"
=> printenv
baudrate=115200
bootargs="console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts earlyprintk=serial init=/bin/systemd"
bootcmd=sf read ${loadaddr} 0xd0000 0x700000; bootm
bootdelay=3
ethact=ethernet@70000
fdtcontroladdr=3fb4bb28
fileaddr=2000000
filesize=4d6fa0
ipaddr=192.168.0.205
loadaddr=0x80000
netmask=255.255.255.0
preboot=usb start; sf probe
serverip=192.168.0.39
stderr=serial@12000
stdin=serial@12000
stdout=serial@12000

Environment size: 439/65532 bytes
=> bootm 0x2000000 0x8000000
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-5.2.9-mvebu-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5074784 Bytes = 4.8 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 08000000 ...
   Image Name:   initramfs-5.2.9-mvebu-tld-1
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9488554 Bytes = 9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image
   Loading Ramdisk to 3f23d000, end 3fb498aa ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

--HANGS--

Re: Restore uboot for Synology DS414
April 11, 2020 10:42AM
Quote


Impressive :)

Now we are very close. At this point, the kernel is trying to find the rootfs, but did not find it. So we need to specify that in the bootargs.

Repeat the kwboot command, interrupt serial console and set the bootargs

setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'

and then do the same tftp setup you did, and boot. This time the kernel will find the rootfs and mount it.



Thank you for sticking with me on this. It does feel like im getting closer and i really cant give up after coming this far.

Did i do the setenv wrong? It waited 10 seconds but i couldnt see it mounting a ramdisk.






pi@raspberrypi:~ $ kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-spl-2019.10-tld-1.ds414.kwb -a
Sending boot message. Please reboot the target...-
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
  2 % [......................................................................]
  3 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  7 % [......................................................................]
  9 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 12 % [...
U-Boot SPL 2019.10-tld-1 (Apr 09 2020 - 16:26:57 -0700)
High speed PHY - Version: 2.1.5 (COM-PHY-V20)
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver 5.7.4
DDR3 Training Sequence - Ended Successfully
...................................................................]
 14 % [......................................................................]
 15 % [......................................................................]
 16 % [......................................................................]
 18 % [......................................................................]
 19 % [......................................................................]
 20 % [......................................................................]
 21 % [......................................................................]
 23 % [......................................................................]
 24 % [......................................................................]
 25 % [......................................................................]
 27 % [......................................................................]
 28 % [......................................................................]
 29 % [......................................................................]
 30 % [......................................................................]
 32 % [......................................................................]
 33 % [......................................................................]
 34 % [......................................................................]
 36 % [......................................................................]
 37 % [......................................................................]
 38 % [......................................................................]
 39 % [......................................................................]
 41 % [......................................................................]
 42 % [......................................................................]
 43 % [......................................................................]
 45 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 48 % [......................................................................]
 50 % [......................................................................]
 51 % [......................................................................]
 52 % [......................................................................]
 54 % [......................................................................]
 55 % [......................................................................]
 56 % [......................................................................]
 57 % [......................................................................]
 59 % [......................................................................]
 60 % [......................................................................]
 61 % [......................................................................]
 63 % [......................................................................]
 64 % [......................................................................]
 65 % [......................................................................]
 66 % [......................................................................]
 68 % [......................................................................]
 69 % [......................................................................]
 70 % [......................................................................]
 72 % [......................................................................]
 73 % [......................................................................]
 74 % [......................................................................]
 75 % [......................................................................]
 77 % [......................................................................]
 78 % [......................................................................]
 79 % [......................................................................]
 81 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 84 % [......................................................................]
 86 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 90 % [......................................................................]
 91 % [......................................................................]
 92 % [......................................................................]
 93 % [......................................................................]
 95 % [......................................................................]
 96 % [......................................................................]
 97 % [......................................................................]
 99 % [.....................................................]
[Type Ctrl-\ + c to quit]


U-Boot 2019.10-tld-1 (Apr 09 2020 - 16:26:57 -0700)

SoC:   MV78230-B0 at 1333 MHz
I2C:   ready
DRAM:  1 GiB (667 MHz, 32-bit, ECC not enabled)
Loading Environment from SPI Flash... SF: Detected n25q064 with page size 256 Bytes, erase size 4 KiB, total 8 MiB
*** Warning - bad CRC, using default environment

In:    serial@12000
Out:   serial@12000
Err:   serial@12000
Model: Synology DS414
Board: DS414
Net:   
Warning: ethernet@70000 (eth0) using random MAC address - 86:6f:da:bc:bc:bd
eth0: ethernet@70000
Warning: ethernet@74000 (eth1) using random MAC address - b2:1c:b5:85:b0:c2
, eth1: ethernet@74000
starting USB...
Bus usb@50000: USB EHCI 1.00
scanning bus usb@50000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
SF: Detected n25q064 with page size 256 Bytes, erase size 4 KiB, total 8 MiB
Hit any key to stop autoboot:  0 
=> setenv ipaddr 192.168.0.205
=> setenv netmask 255.255.255.0
=> setenv serverip 192.168.0.39
=> tftpboot 2000000 uImage
ethernet@70000 Waiting for PHY auto negotiation to complete....... done
Using ethernet@70000 device
TFTP from server 192.168.0.39; our IP address is 192.168.0.205
Filename 'uImage'.
Load address: 0x2000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################
         479.5 KiB/s
done
Bytes transferred = 5074848 (4d6fa0 hex)
=> setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'
=> printenv
baudrate=115200
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
bootcmd=sf read ${loadaddr} 0xd0000 0x700000; bootm
bootdelay=3
ethact=ethernet@70000
fdtcontroladdr=3fb4bb28
fileaddr=2000000
filesize=4d6fa0
ipaddr=192.168.0.205
loadaddr=0x80000
netmask=255.255.255.0
preboot=usb start; sf probe
serverip=192.168.0.39
stderr=serial@12000
stdin=serial@12000
stdout=serial@12000

Environment size: 409/65532 bytes
=> bootm 0x2000000
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-5.2.9-mvebu-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5074784 Bytes = 4.8 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.2.9-mvebu-tld-1 (root@tldDebianVM) (gcc version 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1)) #1 SMP PREEMPT Mon Aug 19 12:47:39 PDT 2019
[    0.000000][    T0] CPU: ARMv7 Processor [562f5842] revision 2 (ARMv7), cr=10c5387d
[    0.000000][    T0] CPU: div instructions available: patching division code
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Synology DS414
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writealloc
[    0.000000][    T0] percpu: Embedded 21 pages/cpu s55244 r8192 d22580 u86016
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 260608
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
[    0.000000][    T0] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000][    T0] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000][    T0] Memory: 1023808K/1048576K available (10240K kernel code, 833K rwdata, 2724K rodata, 1024K init, 343K bss, 24768K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000][    T0] random: get_random_u32 called from cache_alloc_refill+0x30c/0x830 with crng_init=0
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000][    T0]  Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] L2C: DT/platform modifies aux control register: 0x1a096b00 -> 0x1a096b02
[    0.000000][    T0] Aurora cache controller enabled, 16 ways, 1024 kB
[    0.000000][    T0] Aurora: CACHE_ID 0x00000100, AUX_CTRL 0x1a096b02
[    0.000000][    T0] Switching to timer-based delay loop, resolution 40ns
[    0.000005][    T0] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.008556][    T0] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.020795][    T0] Console: colour dummy device 80x30
[    0.025969][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.037073][    T0] pid_max: default: 32768 minimum: 301
[    0.042533][    T0] LSM: Security Framework initializing
[    0.047920][    T0] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.055266][    T0] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.063493][    T0] *** VALIDATE proc ***
[    0.067659][    T0] *** VALIDATE cgroup1 ***
[    0.071957][    T0] *** VALIDATE cgroup2 ***
[    0.076284][    T0] CPU: Testing write buffer coherency: ok
[    0.082084][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.140232][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.147382][    T1] mvebu-soc-id: MVEBU SoC ID=0x7823, Rev=0x2
[    0.153365][    T1] mvebu-pmsu: Initializing Power Management Service Unit
[    0.180196][    T1] rcu: Hierarchical SRCU implementation.
[    0.220195][    T1] smp: Bringing up secondary CPUs ...
[    0.280298][    T1] Booting CPU 1
[    0.284040][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.294136][    T1] smp: Brought up 1 node, 2 CPUs
[    0.305347][    T1] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.312340][    T1] CPU: All CPU(s) started in SVC mode.
[    0.318364][    T1] devtmpfs: initialized
[    0.325653][    T1] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
[    0.334528][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.345109][    T1] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.352081][    T1] xor: measuring software checksum speed
[    0.450184][    T1]    arm4regs  :  1290.800 MB/sec
[    0.550185][    T1]    8regs     :   810.000 MB/sec
[    0.650184][    T1]    32regs    :  1146.400 MB/sec
[    0.655076][    T1] xor: using function: arm4regs (1290.800 MB/sec)
[    0.661372][    T1] prandom: seed boundary self test passed
[    0.669266][    T1] prandom: 100 self tests passed
[    0.674081][    T1] pinctrl core: initialized pinctrl subsystem
[    0.681364][    T1] NET: Registered protocol family 16
[    0.686831][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.694991][    T1] audit: initializing netlink subsys (disabled)
[    0.701283][   T33] audit: type=2000 audit(0.680:1): state=initialized audit_enabled=0 res=1
[    0.710234][    T1] cpuidle: using governor ladder
[    0.715066][    T1] cpuidle: using governor menu
[    0.719869][   T12] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 0
[    0.729636][   T12] hw-breakpoint: CPU 0 failed to disable vector catch
[    0.736329][   T13] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 1
[    0.950372][    T1] raid6: int32x8  gen()   227 MB/s
[    1.120376][    T1] raid6: int32x8  xor()   134 MB/s
[    1.290247][    T1] raid6: int32x4  gen()   206 MB/s
[    1.460205][    T1] raid6: int32x4  xor()   163 MB/s
[    1.630371][    T1] raid6: int32x2  gen()   197 MB/s
[    1.800199][    T1] raid6: int32x2  xor()   210 MB/s
[    1.970262][    T1] raid6: int32x1  gen()   135 MB/s
[    2.140255][    T1] raid6: int32x1  xor()   182 MB/s
[    2.145234][    T1] raid6: using algorithm int32x8 gen() 227 MB/s
[    2.151355][    T1] raid6: .... xor() 134 MB/s, rmw enabled
[    2.156941][    T1] raid6: using intx1 recovery algorithm
[    2.163183][    T1] vgaarb: loaded
[    2.166970][    T1] SCSI subsystem initialized
[    2.171834][    T1] usbcore: registered new interface driver usbfs
[    2.178072][    T1] usbcore: registered new interface driver hub
[    2.184261][    T1] usbcore: registered new device driver usb
[    2.190273][    T1] media: Linux media interface: v0.10
[    2.195547][    T1] videodev: Linux video capture interface: v2.00
[    2.201861][    T1] pps_core: LinuxPPS API ver. 1 registered
[    2.207537][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.217427][    T1] PTP clock support registered
[    2.231289][    T1] clocksource: Switched to clocksource armada_370_xp_clocksource
[    2.783793][    T1] VFS: Disk quotas dquot_6.6.0
[    2.788481][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.806135][    T1] NET: Registered protocol family 2
[    2.811866][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    2.820253][    T1] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    2.828243][    T1] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    2.835570][    T1] TCP: Hash tables configured (established 8192 bind 8192)
[    2.842736][    T1] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    2.849385][    T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    2.856688][    T1] NET: Registered protocol family 1
[    2.862284][    T1] RPC: Registered named UNIX socket transport module.
[    2.868917][    T1] RPC: Registered udp transport module.
[    2.874416][    T1] RPC: Registered tcp transport module.
[    2.879829][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.887001][    T1] PCI: CLS 0 bytes, default 64
[    2.891957][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    2.899416][    T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    2.909623][    T1] Initialise system trusted keyrings
[    2.914843][    T1] Key type blacklist registered
[    2.919677][    T1] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    2.927005][    T1] zbud: loaded
[    2.930890][    T1] NFS: Registering the id_resolver key type
[    2.936739][    T1] Key type id_resolver registered
[    2.941648][    T1] Key type id_legacy registered
[    2.946374][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.953808][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    2.961097][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    2.969266][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    2.976579][    T1] orangefs_init: module version upstream loaded
[    2.984412][    T1] async_tx: api initialized (async)
[    2.989482][    T1] Key type asymmetric registered
[    2.994313][    T1] Asymmetric key parser 'x509' registered
[    2.999939][    T1] bounce: pool size: 64 pages
[    3.004537][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    3.014457][    T1] armada-xp-pinctrl f1018000.pin-ctrl: registered pinctrl driver
[    3.024147][    T1] mvebu-pcie soc:pcie@82000000: PCI host bridge to bus 0000:00
[    3.031678][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    3.037880][    T1] pci_bus 0000:00: root bus resource [mem 0xf8000000-0xffdfffff]
[    3.045496][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    3.052594][    T1] pci 0000:00:01.0: [11ab:7823] type 01 class 0x060400
[    3.059337][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    3.067126][    T1] pci 0000:00:05.0: [11ab:7823] type 01 class 0x060400
[    3.073883][    T1] pci 0000:00:05.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    3.082412][    T1] PCI: bus0: Fast back to back transfers disabled
[    3.088707][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.097461][    T1] pci 0000:00:05.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.106327][    T1] pci 0000:01:00.0: [11ab:7042] type 00 class 0x010000
[    3.113093][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x14000000-0x140fffff 64bit]
[    3.120604][    T1] pci 0000:01:00.0: reg 0x18: [io  0x0000-0x00ff]
[    3.127148][    T1] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    3.138976][    T1] PCI: bus1: Fast back to back transfers disabled
[    3.145320][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    3.152808][    T1] pci 0000:02:00.0: [1b6f:7023] type 00 class 0x0c0330
[    3.159559][    T1] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x00007fff 64bit]
[    3.167127][    T1] pci 0000:02:00.0: enabling Extended Tags
[    3.172886][    T1] pci 0000:02:00.0: supports D1 D2
[    3.177866][    T1] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot
[    3.184816][    T1] pci 0000:00:05.0: ASPM: current common clock configuration is broken, reconfiguring
[    3.222394][    T1] PCI: bus2: Fast back to back transfers disabled
[    3.228689][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    3.236098][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xf8000000-0xf80fffff]
[    3.243712][    T1] pci 0000:00:05.0: BAR 14: assigned [mem 0xf8100000-0xf81fffff]
[    3.251319][    T1] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    3.258390][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xf8200000-0xf82007ff pref]
[    3.266343][    T1] pci 0000:00:05.0: BAR 6: assigned [mem 0xf8300000-0xf83007ff pref]
[    3.274300][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xf8000000-0xf80fffff 64bit]
[    3.282348][    T1] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x100ff]
[    3.289333][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    3.295022][    T1] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    3.302019][    T1] pci 0000:00:01.0:   bridge window [mem 0xf8000000-0xf80fffff]
[    3.309531][    T1] pci 0000:02:00.0: BAR 0: assigned [mem 0xf8100000-0xf8107fff 64bit]
[    3.317579][    T1] pci 0000:00:05.0: PCI bridge to [bus 02]
[    3.323270][    T1] pci 0000:00:05.0:   bridge window [mem 0xf8100000-0xf81fffff]
[    3.330854][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    3.337773][    T1] pcieport 0000:00:05.0: enabling device (0140 -> 0142)
[    3.344663][    T1] pci 0000:02:00.0: enabling device (0140 -> 0142)
[    3.351530][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    3.411994][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    3.421803][    T1] mv_xor f10f0900.xor: Marvell shared XOR driver
[    3.481985][    T1] mv_xor f10f0900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    3.551464][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.561046][    T1] printk: console [ttyS0] disabled
[    3.586811][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 19, base_baud = 15625000) is a 16550A
[    3.596554][    T1] printk: console [ttyS0] enabled
[    3.596554][    T1] printk: console [ttyS0] enabled
[    3.606351][    T1] printk: bootconsole [earlycon0] disabled
[    3.606351][    T1] printk: bootconsole [earlycon0] disabled
[    3.638551][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 20, base_baud = 15625000) is a 16550A
[    3.649575][    T1] sata_mv 0000:01:00.0: enabling device (0140 -> 0143)
[    3.656431][    T1] sata_mv 0000:01:00.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
[    3.666715][    T1] scsi host0: sata_mv
[    3.671037][    T1] scsi host1: sata_mv
[    3.675306][    T1] scsi host2: sata_mv
[    3.679600][    T1] scsi host3: sata_mv
[    3.683693][    T1] ata1: SATA max UDMA/133 mmio m1048576@0xf8000000 port 0xf8022000 irq 41
[    3.692091][    T1] ata2: SATA max UDMA/133 mmio m1048576@0xf8000000 port 0xf8024000 irq 41
[    3.700468][    T1] ata3: SATA max UDMA/133 mmio m1048576@0xf8000000 port 0xf8026000 irq 41
[    3.708856][    T1] ata4: SATA max UDMA/133 mmio m1048576@0xf8000000 port 0xf8028000 irq 41
[    3.719087][    T1] m25p80 spi0.0: n25q064 (8192 Kbytes)
[    3.724491][    T1] 6 fixed-partitions partitions found on MTD device spi0.0
[    3.731599][    T1] Creating 6 MTD partitions on "spi0.0":
[    3.737105][    T1] 0x000000000000-0x0000000d0000 : "RedBoot"
[    3.743993][    T1] 0x0000000d0000-0x0000003a0000 : "zImage"
[    3.750707][    T1] 0x0000003a0000-0x0000007d0000 : "rd.gz"
[    3.757352][    T1] 0x0000007d0000-0x0000007e0000 : "vendor"
[    3.764090][    T1] 0x0000007e0000-0x0000007f0000 : "RedBoot config"
[    3.771550][    T1] 0x0000007f0000-0x000000800000 : "FIS directory"
[    3.779834][    T1] libphy: Fixed MDIO Bus: probed
[    3.785293][    T1] libphy: orion_mdio_bus: probed
[    3.793182][    T1] mvneta f1070000.ethernet eth0: Using hardware mac address 86:6f:da:bc:bc:bd
[    3.803497][    T1] mvneta f1074000.ethernet eth1: Using hardware mac address b2:1c:b5:85:b0:c2
[    3.812606][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.819869][    T1] ehci-pci: EHCI PCI platform driver
[    3.825140][    T1] ehci-orion: EHCI orion driver
[    3.829993][    T1] orion-ehci f1050000.usb: EHCI Host Controller
[    3.836150][    T1] orion-ehci f1050000.usb: new USB bus registered, assigned bus number 1
[    3.844593][    T1] orion-ehci f1050000.usb: irq 26, io mem 0xf1050000
[    3.871309][    T1] orion-ehci f1050000.usb: USB 2.0 started, EHCI 1.00
[    3.878154][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[    3.887167][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.895160][    T1] usb usb1: Product: EHCI Host Controller
[    3.900752][    T1] usb usb1: Manufacturer: Linux 5.2.9-mvebu-tld-1 ehci_hcd
[    3.907834][    T1] usb usb1: SerialNumber: f1050000.usb
[    3.913620][    T1] hub 1-0:1.0: USB hub found
[    3.918112][    T1] hub 1-0:1.0: 1 port detected
[    3.923386][    T1] xhci_hcd 0000:02:00.0: xHCI Host Controller
[    3.929340][    T1] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 2
[    3.937587][    T1] xhci_hcd 0000:02:00.0: hcc params 0x040040a5 hci version 0x100 quirks 0x0000000000080490
[    3.947936][    T1] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[    3.956949][    T1] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.964905][    T1] usb usb2: Product: xHCI Host Controller
[    3.970496][    T1] usb usb2: Manufacturer: Linux 5.2.9-mvebu-tld-1 xhci-hcd
[    3.977611][    T1] usb usb2: SerialNumber: 0000:02:00.0
[    3.983375][    T1] hub 2-0:1.0: USB hub found
[    3.987869][    T1] hub 2-0:1.0: 2 ports detected
[    3.993007][    T1] xhci_hcd 0000:02:00.0: xHCI Host Controller
[    3.998956][    T1] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 3
[    4.007112][    T1] xhci_hcd 0000:02:00.0: Host supports USB 3.0 SuperSpeed
[    4.014185][    T1] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.023140][    T1] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.02
[    4.032467][    T1] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.040411][    T1] usb usb3: Product: xHCI Host Controller
[    4.042806][ T1221] ata1: SATA link down (SStatus 0 SControl 300)
[    4.046023][    T1] usb usb3: Manufacturer: Linux 5.2.9-mvebu-tld-1 xhci-hcd
[    4.059185][    T1] usb usb3: SerialNumber: 0000:02:00.0
[    4.064949][    T1] hub 3-0:1.0: USB hub found
[    4.069447][    T1] hub 3-0:1.0: 2 ports detected
[    4.074981][    T1] usbcore: registered new interface driver usblp
[    4.081300][    T1] usbcore: registered new interface driver usb-storage
[    4.088325][    T1] mousedev: PS/2 mouse device common for all mice
[    4.095100][    T1] i2c /dev entries driver
[    4.102217][    T1] rtc-s35390a 0-0030: registered as rtc0
[    4.210072][    T1] watchdog: f1020300.watchdog: driver supplied timeout (4294967295) out of range
[    4.219091][    T1] watchdog: f1020300.watchdog: falling back to default timeout (171)
[    4.227400][    T1] orion_wdt: Initial timeout 171 sec
[    4.233145][    T1] device-mapper: uevent: version 1.0.3
[    4.238707][    T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[    4.248178][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    4.255447][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    4.262793][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    4.270154][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    4.276984][    T1] device-mapper: raid: Loading target version 1.14.0
[    4.288855][    T1] marvell-cesa f1090000.crypto: CESA device successfully registered
[    4.297171][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[    4.303859][    T1] usbcore: registered new interface driver usbhid
[    4.310176][    T1] usbhid: USB HID core driver
[    4.315209][    T1] drop_monitor: Initializing network drop monitor service
[    4.322591][    T1] NET: Registered protocol family 10
[    4.328656][    T1] Segment Routing with IPv6
[    4.333208][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    4.341219][    T1] NET: Registered protocol family 17
[    4.346585][    T1] 8021q: 802.1Q VLAN Support v1.8
[    4.351561][    T1] Key type dns_resolver registered
[    4.356721][    T1] ThumbEE CPU extension supported.
[    4.361751][    T1] Registering SWP/SWPB emulation handler
[    4.368019][    T1] registered taskstats version 1
[    4.372871][    T1] Loading compiled-in X.509 certificates
[    4.378463][    T1] zswap: loaded using pool lzo/zbud
[    4.385590][    T1] Key type big_key registered
[    4.390828][    T1] Key type encrypted registered
[    4.395615][ T1225] ata2: SATA link down (SStatus 0 SControl 300)
[    4.744022][ T1229] ata3: SATA link down (SStatus 0 SControl 300)
[    5.084027][ T1233] ata4: SATA link down (SStatus 0 SControl 300)
[   25.463290][    T1] rtc-s35390a 0-0030: setting system clock to 2020-04-11T15:38:02 UTC (1586619482)
[   25.473210][    T1] Waiting 10 sec before mounting root device...
[   35.701580][    T1] md: Waiting for all devices to be available before autodetect
[   35.709096][    T1] md: If you don't use raid, use raid=noautodetect
[   35.716511][    T1] md: Autodetecting RAID arrays.
[   35.721402][    T1] md: autorun ...
[   35.724909][    T1] md: ... autorun DONE.
[   35.729121][    T1] VFS: Cannot open root device "LABEL=rootfs" or unknown-block(0,0): error -6
[   35.737902][    T1] Please append a correct "root=" boot option; here are the available partitions:
[   35.747037][    T1] 1f00             832 mtdblock0 
[   35.747041][    T1]  (driver?)
[   35.755053][    T1] 1f01            2880 mtdblock1 
[   35.755056][    T1]  (driver?)
[   35.763130][    T1] 1f02            4288 mtdblock2 
[   35.763135][    T1]  (driver?)
[   35.771098][    T1] 1f03              64 mtdblock3 
[   35.771100][    T1]  (driver?)
[   35.779137][    T1] 1f04              64 mtdblock4 
[   35.779141][    T1]  (driver?)
[   35.787166][    T1] 1f05              64 mtdblock5 
[   35.787169][    T1]  (driver?)
[   35.795179][    T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   35.804178][    T1] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.2.9-mvebu-tld-1 #1
[   35.811782][    T1] Hardware name: Marvell Armada 370/XP (Device Tree)
[   35.818352][    T1] [<c0117684>] (unwind_backtrace) from [<c0112034>] (show_stack+0x10/0x14)
[   35.826835][    T1] [<c0112034>] (show_stack) from [<c0a258a8>] (dump_stack+0x70/0x8c)
[   35.834801][    T1] [<c0a258a8>] (dump_stack) from [<c0127104>] (panic+0xf0/0x300)
[   35.842418][    T1] [<c0127104>] (panic) from [<c0e016ac>] (mount_block_root+0x19c/0x284)
[   35.850628][    T1] [<c0e016ac>] (mount_block_root) from [<c0e0187c>] (mount_root+0xe8/0x150)
[   35.859196][    T1] [<c0e0187c>] (mount_root) from [<c0e01a2c>] (prepare_namespace+0x148/0x188)
[   35.867942][    T1] [<c0e01a2c>] (prepare_namespace) from [<c0e01270>] (kernel_init_freeable+0x350/0x3bc)
[   35.877561][    T1] [<c0e01270>] (kernel_init_freeable) from [<c0a3af7c>] (kernel_init+0x8/0x10c)
[   35.886482][    T1] [<c0a3af7c>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[   35.894784][    T1] Exception stack(0xef0b1fb0 to 0xef0b1ff8)
[   35.900552][    T1] 1fa0:                                     00000000 00000000 00000000 00000000
[   35.909462][    T1] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   35.918374][    T1] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[   35.925760][    C1] CPU1: stopping
[   35.929188][    C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.2.9-mvebu-tld-1 #1
[   35.936778][    C1] Hardware name: Marvell Armada 370/XP (Device Tree)
[   35.943344][    C1] [<c0117684>] (unwind_backtrace) from [<c0112034>] (show_stack+0x10/0x14)
[   35.951812][    C1] [<c0112034>] (show_stack) from [<c0a258a8>] (dump_stack+0x70/0x8c)
[   35.959758][    C1] [<c0a258a8>] (dump_stack) from [<c0115338>] (handle_IPI+0x2b8/0x3d4)
[   35.967879][    C1] [<c0115338>] (handle_IPI) from [<c05a2024>] (armada_370_xp_handle_irq+0x8c/0xa0)
[   35.977043][    C1] [<c05a2024>] (armada_370_xp_handle_irq) from [<c01021cc>] (__irq_svc+0x6c/0xa8)
[   35.986113][    C1] Exception stack(0xef0cff08 to 0xef0cff50)
[   35.991879][    C1] ff00:                   00000001 00000008 018c2750 00000000 ef7e1e70 00000001
[   36.000779][    C1] ff20: c0faed2c 00000008 c0f9517c c0f951dc c0d04d83 5d5752c8 fffffff5 ef0cff58
[   36.009677][    C1] ff40: c0153e50 c08546a4 20000153 ffffffff
[   36.015449][    C1] [<c01021cc>] (__irq_svc) from [<c08546a4>] (cpuidle_enter_state+0x338/0x56c)
[   36.024266][    C1] [<c08546a4>] (cpuidle_enter_state) from [<c0854914>] (cpuidle_enter+0x28/0x38)
[   36.033256][    C1] [<c0854914>] (cpuidle_enter) from [<c01540c8>] (do_idle+0x1d4/0x270)
[   36.041375][    C1] [<c01540c8>] (do_idle) from [<c01543f8>] (cpu_startup_entry+0x18/0x1c)
[   36.049665][    C1] [<c01543f8>] (cpu_startup_entry) from [<00102d6c>] (0x102d6c)
[   36.057185][    T1] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---


Re: Restore uboot for Synology DS414
April 11, 2020 10:49AM
bodhi Wrote:
-------------------------------------------------------
> bignellrp,
>
> I'm composing the below post while you were making
> a lot of progress :). I should post it any way and
> then make a new post.
>
>
> > I dont have a backup unfortunately. The uboot
> > image i have is from the Synology downloads
> > website. The pat file is what is normally used
> to
> > upgrade or restore DS officially so it should be
> a
> > "good" source.
>
> Sounds good. That should be the flash-ready
> version of u-boot.
>
>
> =============
>
> So now we would have to proceed to either one of
> these 3 methods. Methods 2 and 3 can be tried if
> we are not successful with method 1.
>
> 1). Try booting stock FW after running new u-boot
> from UART.
>
> 2). Try to boot Debian rootfs on USB using
> Debian-5.2.9-mvebu-tld-1-rootfs-bodhi.tar.bz2.
> This approach is to continue booting with kwboot
> using u-boot-spl-2019.10-tld-1.ds114.kwb. And then
> set up some envs to continue booting into the
> Debian USB rootfs.
>
> 3). Try to reflash stock u-boot back to SPI flash.
> And then boot as stock was booting.


Option 3 sounds good. How can i find what memory address to tftpboot it to and the sf commands to run?
Re: Restore uboot for Synology DS414
April 11, 2020 10:53AM
Quote

> 1). Try booting stock FW after running new u-boot
> from UART.

Option 1 if i understand correctly sounds good but where do a get the "new" uboot that works with UART? Compile a new one from source?

https://sourceforge.net/projects/dsgpl/files/Synology%20NAS%20GPL%20Source/

I would need some guidance on that as i have no idea which version to choose.
Re: Restore uboot for Synology DS414
April 11, 2020 04:55PM
bignellrp,

I'd like to try this some more before looking at the other 2 options.

Quote

[ 35.701580][ T1] md: Waiting for all devices to be available before autodetect
[ 35.709096][ T1] md: If you don't use raid, use raid=noautodetect
[ 35.716511][ T1] md: Autodetecting RAID arrays.
[ 35.721402][ T1] md: autorun ...
[ 35.724909][ T1] md: ... autorun DONE.
[ 35.729121][ T1] VFS: Cannot open root device "LABEL=rootfs" or unknown-block(0,0): error -6


1. If you have an HDD in the slot. Remove it.

2. Did you check the USB rootfs to make sure you do all required steps exactly as instructed? single Ext3 partition, label rootfs, and creating the rootfs while being root.

3. After you have done 1 and 2 and it still cannot mount the rootfs, modifying the bootargs during kwboot as followed:

setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 raid=noautodetect  earlyprintk=serial'

========

One question that I have not asked you: when you plug in the USB drive, did you use the front USB 2.0 port?

Looking back to previous post:

Quote

starting USB...
Bus usb@50000: USB EHCI 1.00
scanning bus usb@50000 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found

It is saying there is no USB drive plugged to the front port.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 04/11/2020 04:59PM by bodhi.
Re: Restore uboot for Synology DS414
April 12, 2020 04:33AM
Ah yes.

Well spotted. I was having problems with usb loading so i thought i didnt need it if i was using tftpboot.

It still complains that i dont have ext3ls or ext3load and ext2load or ext2ls says its in the wrong format.


starting USB...
Bus usb@50000: USB EHCI 1.00
scanning bus usb@50000 for devices... 
USB retry period from the environment: 0 second(s)
2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
SF: Detected n25q064 with page size 256 Bytes, erase size 4 KiB, total 8 MiB
Hit any key to stop autoboot:  0 
device 0 offset 0xd0000, size 0x700000
SF: 7340032 bytes @ 0xd0000 Read: OK
Wrong Image Format for bootm command
ERROR: can't get kernel image!
=> ext3load 0:1 2000000 uImage
Unknown command 'ext3load' - try 'help'
=> help                       
?         - alias for 'help'
base      - print or set address offset
bdinfo    - print Board Info structure
blkcache  - block cache diagnostics and control
boot      - boot default, i.e., run 'bootcmd'
bootd     - boot default, i.e., run 'bootcmd'
bootefi   - Boots an EFI payload from memory
bootelf   - Boot from an ELF image in memory
bootm     - boot application image from memory
bootp     - boot image via network using BOOTP/TFTP protocol
bootvx    - Boot vxWorks from an ELF image
chpart    - change active partition
cmp       - memory compare
coninfo   - print console devices and information
cp        - memory copy
crc32     - checksum calculation
dhcp      - boot image via network using DHCP/TFTP protocol
dm        - Driver model low level access
echo      - echo args to console
editenv   - edit environment variable
env       - environment handling commands
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 /)
fatsize   - determine a file's size
fdt       - flattened device tree utility commands
fsinfo    - print information about jffs filesystems
fsload    - load binary file from a jffs filesystem image
fsls      - list jffs files in a directory (default /)
fstype    - Look up a filesystem type
go        - start application at address 'addr'
help      - print command description/usage
i2c       - I2C sub-system
iminfo    - print header information for application image
imxtract  - extract a part of a multi-image
itest     - return true/false on integer compare
ln        - Create a symbolic link
load      - load binary file from a filesystem
loadb     - load binary file over serial line (kermit mode)
loads     - load S-Record file over serial line
loadx     - load binary file over serial line (xmodem mode)
loady     - load binary file over serial line (ymodem mode)
loop      - infinite loop on address range
ls        - list files in a directory (default /)
md        - memory display
mdio      - MDIO utility commands
mii       - MII utility commands
mm        - memory modify (auto-incrementing address)
mtdparts  - define flash/nand partitions
mw        - memory write (fill)
nfs       - boot image via network using NFS protocol
nm        - memory modify (constant address)
pci       - list and access PCI Configuration Space
ping      - send ICMP ECHO_REQUEST to network host
printenv  - print environment variables
random    - fill memory with random pattern
reset     - Perform RESET of the CPU
run       - run commands in an environment variable
save      - save file to a filesystem
saveenv   - save environment variables to persistent storage
setenv    - set environment variables
sf        - SPI flash sub-system
size      - determine a file's size
sleep     - delay execution for some time
source    - run script from memory
sspi      - SPI utility command
syno      - Synology specific commands
tftpboot  - boot image via network using TFTP protocol
tftpput   - TFTP put command, for uploading files to a server
time      - run commands and summarize execution time
ubi       - ubi commands
ubifsload - load file from an UBIFS filesystem
ubifsls   - list files in a directory
ubifsmount- mount UBIFS volume
ubifsumount- unmount UBIFS volume
usb       - USB sub-system
usbboot   - boot from USB device
version   - print monitor, compiler and linker version
=> usbboot 0:1 2000000 uImage 
usbboot - boot from USB device

Usage:
usbboot loadAddr dev:part
=> usbboot 0x2000000 0:1     

Loading from usb device 0, partition 1: Name: usbda1  Type: U-Boot
** Unknown image type
=> usbboot 0x2000000 0:1 uImage
usbboot - boot from USB device

Usage:
usbboot loadAddr dev:part
=> setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'
=> bootm
Wrong Image Format for bootm command
ERROR: can't get kernel image!
=> ext2load 0:1 2000000 uImage                                                             
=> ext2load 0:1 2000000 boot/uImage
=> bootm 0x2000000                                                                         
Wrong Image Format for bootm command
ERROR: can't get kernel image!
=> usb
usb - USB sub-system

Usage:
usb start - start (scan) USB controller
usb reset - reset (rescan) USB controller
usb stop [f] - stop USB [f]=force stop
usb tree - show USB device tree
usb info [dev] - show available USB devices
usb test [dev] [port] [mode] - set USB 2.0 test mode
    (specify port 0 to indicate the device's upstream port)
    Available modes: J, K, S[E0_NAK], P[acket], F[orce_Enable]
usb storage - show details of USB storage devices
usb dev [dev] - show or set current USB storage device
usb part [dev] - print partition table of one or all USB storage    devices
usb read addr blk# cnt - read `cnt' blocks starting at block `blk#'
    to memory address `addr'
usb write addr blk# cnt - write `cnt' blocks starting at block `blk#'
    from memory address `addr'
=> usb info
1: Hub,  USB Revision 2.0
 - u-boot EHCI Host Controller 
 - Class: Hub
 - PacketSize: 64  Configurations: 1
 - Vendor: 0x0000  Product 0x0000 Version 1.0
   Configuration: 1
   - Interfaces: 1 Self Powered 0mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 1
     - Class Hub
     - Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms

2: Mass Storage,  USB Revision 2.0
 - Verbatim STORE N GO 07B21107CD4F328B
 - Class: (from Interface) Mass Storage
 - PacketSize: 64  Configurations: 1
 - Vendor: 0x18a5  Product 0x0240 Version 1.0
   Configuration: 1
   - Interfaces: 1 Bus Powered 300mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 2
     - Class Mass Storage, Transp. SCSI, Bulk only
     - Endpoint 1 In Bulk MaxPacket 512
     - Endpoint 2 Out Bulk MaxPacket 512

=> usb tree
USB device tree:
  1  Hub (480 Mb/s, 0mA)
  |  u-boot EHCI Host Controller 
  |
  +-2  Mass Storage (480 Mb/s, 300mA)
       Verbatim STORE N GO 07B21107CD4F328B
     
=> usb part 0:1

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     1               4294967295      00000000-01     ee
=> fatload 0:1 2000000 boot/uImage 
=> ext2ls usb 0:1
** Unrecognized filesystem type **
=> ext3ls usb 0:1
Unknown command 'ext3ls' - try 'help'
=> 
=> 
=> setenv ipaddr 192.168.0.205
=> setenv netmask 255.255.255.0
=> setenv serverip 192.168.0.39
=> printenv
baudrate=115200
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
bootcmd=sf read ${loadaddr} 0xd0000 0x700000; bootm
bootdelay=3
fdtcontroladdr=3fb4bb28
ipaddr=192.168.0.205
loadaddr=0x80000
netmask=255.255.255.0
preboot=usb start; sf probe
serverip=192.168.0.39
stderr=serial@12000
stdin=serial@12000
stdout=serial@12000



So the usb is now loaded as described but i used tftpboot to load the uImage but i get the same error.


 78 % [......................................................................]
 79 % [......................................................................]
 81 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 84 % [......................................................................]
 86 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 90 % [......................................................................]
 91 % [......................................................................]
 92 % [......................................................................]
 93 % [......................................................................]
 95 % [......................................................................]
 96 % [......................................................................]
 97 % [......................................................................]
 99 % [.....................................................]
[Type Ctrl-\ + c to quit]


U-Boot 2019.10-tld-1 (Apr 09 2020 - 16:26:57 -0700)

SoC:   MV78230-B0 at 1333 MHz
I2C:   ready
DRAM:  1 GiB (667 MHz, 32-bit, ECC not enabled)
Loading Environment from SPI Flash... SF: Detected n25q064 with page size 256 Bytes, erase size 4 KiB, total 8 MiB
*** Warning - bad CRC, using default environment

In:    serial@12000
Out:   serial@12000
Err:   serial@12000
Model: Synology DS414
Board: DS414
Net:   
Warning: ethernet@70000 (eth0) using random MAC address - 62:68:99:f9:43:29
eth0: ethernet@70000
Warning: ethernet@74000 (eth1) using random MAC address - b2:1c:b5:85:b0:c2
, eth1: ethernet@74000
starting USB...
Bus usb@50000: USB EHCI 1.00
scanning bus usb@50000 for devices... 
USB retry period from the environment: 0 second(s)
2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
SF: Detected n25q064 with page size 256 Bytes, erase size 4 KiB, total 8 MiB
Hit any key to stop autoboot:  0 
device 0 offset 0xd0000, size 0x700000
SF: 7340032 bytes @ 0xd0000 Read: OK
Wrong Image Format for bootm command
ERROR: can't get kernel image!
=> setenv ipaddr 192.168.0.205
=> setenv netmask 255.255.255.0
=> setenv serverip 192.168.0.39
=> setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'
=> printenv
baudrate=115200
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
bootcmd=sf read ${loadaddr} 0xd0000 0x700000; bootm
bootdelay=3
fdtcontroladdr=3fb4bb28
ipaddr=192.168.0.205
loadaddr=0x80000
netmask=255.255.255.0
preboot=usb start; sf probe
serverip=192.168.0.39
stderr=serial@12000
stdin=serial@12000
stdout=serial@12000

Environment size: 354/65532 bytes
=> tftpboot 2000000 uImage
ethernet@70000 Waiting for PHY auto negotiation to complete....... done
Using ethernet@70000 device
TFTP from server 192.168.0.39; our IP address is 192.168.0.205
Filename 'uImage'.
Load address: 0x2000000
Loading: *
TFTP server died; starting again
=> tftpboot 2000000 uImage
Using ethernet@70000 device
TFTP from server 192.168.0.39; our IP address is 192.168.0.205
Filename 'uImage'.
Load address: 0x2000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################
         488.3 KiB/s
done
Bytes transferred = 5074848 (4d6fa0 hex)
=> bootm 0x2000000
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-5.2.9-mvebu-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5074784 Bytes = 4.8 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.2.9-mvebu-tld-1 (root@tldDebianVM) (gcc version 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1)) #1 SMP PREEMPT Mon Aug 19 12:47:39 PDT 2019
[    0.000000][    T0] CPU: ARMv7 Processor [562f5842] revision 2 (ARMv7), cr=10c5387d
[    0.000000][    T0] CPU: div instructions available: patching division code
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Synology DS414
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writealloc
[    0.000000][    T0] percpu: Embedded 21 pages/cpu s55244 r8192 d22580 u86016
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 260608
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
[    0.000000][    T0] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000][    T0] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000][    T0] Memory: 1023808K/1048576K available (10240K kernel code, 833K rwdata, 2724K rodata, 1024K init, 343K bss, 24768K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000][    T0] random: get_random_u32 called from cache_alloc_refill+0x30c/0x830 with crng_init=0
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000][    T0]  Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] L2C: DT/platform modifies aux control register: 0x1a096b00 -> 0x1a096b02
[    0.000000][    T0] Aurora cache controller enabled, 16 ways, 1024 kB
[    0.000000][    T0] Aurora: CACHE_ID 0x00000100, AUX_CTRL 0x1a096b02
[    0.000000][    T0] Switching to timer-based delay loop, resolution 40ns
[    0.000005][    T0] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.008557][    T0] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.020795][    T0] Console: colour dummy device 80x30
[    0.025969][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.037074][    T0] pid_max: default: 32768 minimum: 301
[    0.042535][    T0] LSM: Security Framework initializing
[    0.047921][    T0] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.055267][    T0] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.063494][    T0] *** VALIDATE proc ***
[    0.067659][    T0] *** VALIDATE cgroup1 ***
[    0.071958][    T0] *** VALIDATE cgroup2 ***
[    0.076285][    T0] CPU: Testing write buffer coherency: ok
[    0.082085][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.140233][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.147382][    T1] mvebu-soc-id: MVEBU SoC ID=0x7823, Rev=0x2
[    0.153364][    T1] mvebu-pmsu: Initializing Power Management Service Unit
[    0.180197][    T1] rcu: Hierarchical SRCU implementation.
[    0.220196][    T1] smp: Bringing up secondary CPUs ...
[    0.280297][    T1] Booting CPU 1
[    0.284040][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.294136][    T1] smp: Brought up 1 node, 2 CPUs
[    0.305346][    T1] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.312340][    T1] CPU: All CPU(s) started in SVC mode.
[    0.318363][    T1] devtmpfs: initialized
[    0.325651][    T1] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
[    0.334506][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.345085][    T1] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.352056][    T1] xor: measuring software checksum speed
[    0.450184][    T1]    arm4regs  :  1290.800 MB/sec
[    0.550185][    T1]    8regs     :   810.000 MB/sec
[    0.650184][    T1]    32regs    :  1146.400 MB/sec
[    0.655076][    T1] xor: using function: arm4regs (1290.800 MB/sec)
[    0.661373][    T1] prandom: seed boundary self test passed
[    0.669267][    T1] prandom: 100 self tests passed
[    0.674082][    T1] pinctrl core: initialized pinctrl subsystem
[    0.681371][    T1] NET: Registered protocol family 16
[    0.686840][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.694999][    T1] audit: initializing netlink subsys (disabled)
[    0.701292][   T33] audit: type=2000 audit(0.680:1): state=initialized audit_enabled=0 res=1
[    0.710234][    T1] cpuidle: using governor ladder
[    0.715066][    T1] cpuidle: using governor menu
[    0.719868][   T12] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 0
[    0.729635][   T12] hw-breakpoint: CPU 0 failed to disable vector catch
[    0.736327][   T13] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 1
[    0.960456][    T1] raid6: int32x8  gen()   227 MB/s
[    1.130362][    T1] raid6: int32x8  xor()   134 MB/s
[    1.300422][    T1] raid6: int32x4  gen()   206 MB/s
[    1.470241][    T1] raid6: int32x4  xor()   163 MB/s
[    1.640438][    T1] raid6: int32x2  gen()   197 MB/s
[    1.810187][    T1] raid6: int32x2  xor()   210 MB/s
[    1.980254][    T1] raid6: int32x1  gen()   135 MB/s
[    2.150380][    T1] raid6: int32x1  xor()   182 MB/s
[    2.155372][    T1] raid6: using algorithm int32x8 gen() 227 MB/s
[    2.161482][    T1] raid6: .... xor() 134 MB/s, rmw enabled
[    2.167077][    T1] raid6: using intx1 recovery algorithm
[    2.173704][    T1] vgaarb: loaded
[    2.177749][    T1] SCSI subsystem initialized
[    2.183120][    T1] usbcore: registered new interface driver usbfs
[    2.189448][    T1] usbcore: registered new interface driver hub
[    2.195621][    T1] usbcore: registered new device driver usb
[    2.202021][    T1] media: Linux media interface: v0.10
[    2.207374][    T1] videodev: Linux video capture interface: v2.00
[    2.213948][    T1] pps_core: LinuxPPS API ver. 1 registered
[    2.219652][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.229604][    T1] PTP clock support registered
[    2.235966][    T1] clocksource: Switched to clocksource armada_370_xp_clocksource
[    2.788484][    T1] VFS: Disk quotas dquot_6.6.0
[    2.793174][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.814043][    T1] NET: Registered protocol family 2
[    2.819674][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    2.828094][    T1] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    2.835913][    T1] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    2.843142][    T1] TCP: Hash tables configured (established 8192 bind 8192)
[    2.850298][    T1] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    2.856969][    T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    2.864248][    T1] NET: Registered protocol family 1
[    2.869824][    T1] RPC: Registered named UNIX socket transport module.
[    2.876489][    T1] RPC: Registered udp transport module.
[    2.881902][    T1] RPC: Registered tcp transport module.
[    2.887328][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.894487][    T1] PCI: CLS 0 bytes, default 64
[    2.899442][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    2.906925][    T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    2.918203][    T1] Initialise system trusted keyrings
[    2.923388][    T1] Key type blacklist registered
[    2.928291][    T1] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    2.935552][    T1] zbud: loaded
[    2.939475][    T1] NFS: Registering the id_resolver key type
[    2.945249][    T1] Key type id_resolver registered
[    2.950167][    T1] Key type id_legacy registered
[    2.954893][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.962328][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    2.969646][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    2.977853][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    2.985141][    T1] orangefs_init: module version upstream loaded
[    2.992962][    T1] async_tx: api initialized (async)
[    2.998059][    T1] Key type asymmetric registered
[    3.002863][    T1] Asymmetric key parser 'x509' registered
[    3.008503][    T1] bounce: pool size: 64 pages
[    3.013144][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    3.023972][    T1] armada-xp-pinctrl f1018000.pin-ctrl: registered pinctrl driver
[    3.034629][    T1] mvebu-pcie soc:pcie@82000000: PCI host bridge to bus 0000:00
[    3.042082][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    3.048298][    T1] pci_bus 0000:00: root bus resource [mem 0xf8000000-0xffdfffff]
[    3.055889][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    3.062975][    T1] pci 0000:00:01.0: [11ab:7823] type 01 class 0x060400
[    3.069739][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    3.077614][    T1] pci 0000:00:05.0: [11ab:7823] type 01 class 0x060400
[    3.084352][    T1] pci 0000:00:05.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    3.092946][    T1] PCI: bus0: Fast back to back transfers disabled
[    3.099266][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.108014][    T1] pci 0000:00:05.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.116942][    T1] pci 0000:01:00.0: [11ab:7042] type 00 class 0x010000
[    3.123691][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x14000000-0x140fffff 64bit]
[    3.131227][    T1] pci 0000:01:00.0: reg 0x18: [io  0x0000-0x00ff]
[    3.137839][    T1] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    3.149673][    T1] PCI: bus1: Fast back to back transfers disabled
[    3.155986][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    3.163528][    T1] pci 0000:02:00.0: [1b6f:7023] type 00 class 0x0c0330
[    3.170302][    T1] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x00007fff 64bit]
[    3.177858][    T1] pci 0000:02:00.0: enabling Extended Tags
[    3.183602][    T1] pci 0000:02:00.0: supports D1 D2
[    3.188596][    T1] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot
[    3.195583][    T1] pci 0000:00:05.0: ASPM: current common clock configuration is broken, reconfiguring
[    3.227084][    T1] PCI: bus2: Fast back to back transfers disabled
[    3.233378][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    3.240779][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xf8000000-0xf80fffff]
[    3.248391][    T1] pci 0000:00:05.0: BAR 14: assigned [mem 0xf8100000-0xf81fffff]
[    3.255996][    T1] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    3.263067][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xf8200000-0xf82007ff pref]
[    3.271020][    T1] pci 0000:00:05.0: BAR 6: assigned [mem 0xf8300000-0xf83007ff pref]
[    3.278977][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xf8000000-0xf80fffff 64bit]
[    3.287024][    T1] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x100ff]
[    3.294009][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    3.299698][    T1] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    3.306694][    T1] pci 0000:00:01.0:   bridge window [mem 0xf8000000-0xf80fffff]
[    3.314207][    T1] pci 0000:02:00.0: BAR 0: assigned [mem 0xf8100000-0xf8107fff 64bit]
[    3.322254][    T1] pci 0000:00:05.0: PCI bridge to [bus 02]
[    3.327944][    T1] pci 0000:00:05.0:   bridge window [mem 0xf8100000-0xf81fffff]
[    3.335524][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    3.342448][    T1] pcieport 0000:00:05.0: enabling device (0140 -> 0142)
[    3.349337][    T1] pci 0000:02:00.0: enabling device (0140 -> 0142)
[    3.356521][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    3.416642][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    3.426555][    T1] mv_xor f10f0900.xor: Marvell shared XOR driver
[    3.486643][    T1] mv_xor f10f0900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    3.576498][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.585754][    T1] printk: console [ttyS0] disabled
[    3.610881][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 19, base_baud = 15625000) is a 16550A
[    3.620658][    T1] printk: console [ttyS0] enabled
[    3.620658][    T1] printk: console [ttyS0] enabled
[    3.630458][    T1] printk: bootconsole [earlycon0] disabled
[    3.630458][    T1] printk: bootconsole [earlycon0] disabled
[    3.662872][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 20, base_baud = 15625000) is a 16550A
[    3.674396][    T1] sata_mv 0000:01:00.0: enabling device (0140 -> 0143)
[    3.681255][    T1] sata_mv 0000:01:00.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
[    3.692266][    T1] scsi host0: sata_mv
[    3.696710][    T1] scsi host1: sata_mv
[    3.701087][    T1] scsi host2: sata_mv
[    3.705469][    T1] scsi host3: sata_mv
[    3.709686][    T1] ata1: SATA max UDMA/133 mmio m1048576@0xf8000000 port 0xf8022000 irq 41
[    3.718092][    T1] ata2: SATA max UDMA/133 mmio m1048576@0xf8000000 port 0xf8024000 irq 41
[    3.726484][    T1] ata3: SATA max UDMA/133 mmio m1048576@0xf8000000 port 0xf8026000 irq 41
[    3.734861][    T1] ata4: SATA max UDMA/133 mmio m1048576@0xf8000000 port 0xf8028000 irq 41
[    3.745013][    T1] m25p80 spi0.0: n25q064 (8192 Kbytes)
[    3.750416][    T1] 6 fixed-partitions partitions found on MTD device spi0.0
[    3.757508][    T1] Creating 6 MTD partitions on "spi0.0":
[    3.763018][    T1] 0x000000000000-0x0000000d0000 : "RedBoot"
[    3.769847][    T1] 0x0000000d0000-0x0000003a0000 : "zImage"
[    3.776595][    T1] 0x0000003a0000-0x0000007d0000 : "rd.gz"
[    3.783184][    T1] 0x0000007d0000-0x0000007e0000 : "vendor"
[    3.789885][    T1] 0x0000007e0000-0x0000007f0000 : "RedBoot config"
[    3.797286][    T1] 0x0000007f0000-0x000000800000 : "FIS directory"
[    3.805528][    T1] libphy: Fixed MDIO Bus: probed
[    3.811091][    T1] libphy: orion_mdio_bus: probed
[    3.818896][    T1] mvneta f1070000.ethernet eth0: Using hardware mac address 62:68:99:f9:43:29
[    3.829112][    T1] mvneta f1074000.ethernet eth1: Using hardware mac address b2:1c:b5:85:b0:c2
[    3.838184][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.845447][    T1] ehci-pci: EHCI PCI platform driver
[    3.850698][    T1] ehci-orion: EHCI orion driver
[    3.855551][    T1] orion-ehci f1050000.usb: EHCI Host Controller
[    3.861707][    T1] orion-ehci f1050000.usb: new USB bus registered, assigned bus number 1
[    3.870106][    T1] orion-ehci f1050000.usb: irq 26, io mem 0xf1050000
[    3.915986][    T1] orion-ehci f1050000.usb: USB 2.0 started, EHCI 1.00
[    3.922829][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[    3.931844][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.939800][    T1] usb usb1: Product: EHCI Host Controller
[    3.945390][    T1] usb usb1: Manufacturer: Linux 5.2.9-mvebu-tld-1 ehci_hcd
[    3.952471][    T1] usb usb1: SerialNumber: f1050000.usb
[    3.958268][    T1] hub 1-0:1.0: USB hub found
[    3.962761][    T1] hub 1-0:1.0: 1 port detected
[    3.968032][    T1] xhci_hcd 0000:02:00.0: xHCI Host Controller
[    3.973984][    T1] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 2
[    3.982225][    T1] xhci_hcd 0000:02:00.0: hcc params 0x040040a5 hci version 0x100 quirks 0x0000000000080490
[    3.992566][    T1] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[    4.001611][    T1] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.009570][    T1] usb usb2: Product: xHCI Host Controller
[    4.015161][    T1] usb usb2: Manufacturer: Linux 5.2.9-mvebu-tld-1 xhci-hcd
[    4.022242][    T1] usb usb2: SerialNumber: 0000:02:00.0
[    4.027988][    T1] hub 2-0:1.0: USB hub found
[    4.032483][    T1] hub 2-0:1.0: 2 ports detected
[    4.037635][    T1] xhci_hcd 0000:02:00.0: xHCI Host Controller
[    4.043585][    T1] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 3
[    4.051735][    T1] xhci_hcd 0000:02:00.0: Host supports USB 3.0 SuperSpeed
[    4.058802][    T1] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.067451][ T1221] ata1: SATA link down (SStatus 0 SControl 300)
[    4.067765][    T1] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.02
[    4.082838][    T1] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.090804][    T1] usb usb3: Product: xHCI Host Controller
[    4.096409][    T1] usb usb3: Manufacturer: Linux 5.2.9-mvebu-tld-1 xhci-hcd
[    4.103479][    T1] usb usb3: SerialNumber: 0000:02:00.0
[    4.109345][    T1] hub 3-0:1.0: USB hub found
[    4.113846][    T1] hub 3-0:1.0: 2 ports detected
[    4.119792][    T1] usbcore: registered new interface driver usblp
[    4.126172][    T1] usbcore: registered new interface driver usb-storage
[    4.133347][    T1] mousedev: PS/2 mouse device common for all mice
[    4.140664][    T1] i2c /dev entries driver
[    4.148734][    T1] rtc-s35390a 0-0030: registered as rtc0
[    4.257106][    T1] watchdog: f1020300.watchdog: driver supplied timeout (4294967295) out of range
[    4.266208][    T1] watchdog: f1020300.watchdog: falling back to default timeout (171)
[    4.274502][    T1] orion_wdt: Initial timeout 171 sec
[    4.280256][    T1] device-mapper: uevent: version 1.0.3
[    4.285824][    T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[    4.295312][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    4.302587][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    4.309932][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    4.317304][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    4.324113][    T1] device-mapper: raid: Loading target version 1.14.0
[    4.336007][   T23] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    4.341632][    T1] marvell-cesa f1090000.crypto: CESA device successfully registered
[    4.351728][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[    4.358564][    T1] usbcore: registered new interface driver usbhid
[    4.364880][    T1] usbhid: USB HID core driver
[    4.369907][    T1] drop_monitor: Initializing network drop monitor service
[    4.377286][    T1] NET: Registered protocol family 10
[    4.383370][    T1] Segment Routing with IPv6
[    4.387886][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    4.395908][    T1] NET: Registered protocol family 17
[    4.406209][ T1225] ata2: SATA link down (SStatus 0 SControl 300)
[    4.412364][    T1] 8021q: 802.1Q VLAN Support v1.8
[    4.417321][    T1] Key type dns_resolver registered
[    4.422978][    T1] ThumbEE CPU extension supported.
[    4.428031][    T1] Registering SWP/SWPB emulation handler
[    4.434342][    T1] registered taskstats version 1
[    4.439177][    T1] Loading compiled-in X.509 certificates
[    4.444748][    T1] zswap: loaded using pool lzo/zbud
[    4.451845][    T1] Key type big_key registered
[    4.457232][    T1] Key type encrypted registered
[    4.558265][   T23] usb 1-1: New USB device found, idVendor=18a5, idProduct=0240, bcdDevice= 1.00
[    4.567196][   T23] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.575053][   T23] usb 1-1: Product: STORE N GO
[    4.579727][   T23] usb 1-1: Manufacturer: Verbatim
[    4.584629][   T23] usb 1-1: SerialNumber: 07B21107CD4F328B
[    4.590894][   T23] usb-storage 1-1:1.0: USB Mass Storage device detected
[    4.598127][   T23] scsi host4: usb-storage 1-1:1.0
[    4.757869][ T1229] ata3: SATA link down (SStatus 0 SControl 300)
[    5.098713][ T1233] ata4: SATA link down (SStatus 0 SControl 300)
[    5.637550][ T1237] scsi 4:0:0:0: Direct-Access     Verbatim STORE N GO       PMAP PQ: 0 ANSI: 0 CCS
[    5.650117][   T20] sd 4:0:0:0: [sda] 15646720 512-byte logical blocks: (8.01 GB/7.46 GiB)
[    5.659054][   T20] sd 4:0:0:0: [sda] Write Protect is off
[    5.665052][   T20] sd 4:0:0:0: [sda] No Caching mode page found
[    5.671167][   T20] sd 4:0:0:0: [sda] Assuming drive cache: write through
[    5.724442][   T20]  sda: sda1
[    5.731304][   T20] sd 4:0:0:0: [sda] Attached SCSI removable disk
[   25.478257][    T1] rtc-s35390a 0-0030: setting system clock to 2020-04-12T09:19:41 UTC (1586683181)
[   25.488179][    T1] Waiting 10 sec before mounting root device...
[   35.716257][    T1] md: Waiting for all devices to be available before autodetect
[   35.723773][    T1] md: If you don't use raid, use raid=noautodetect
[   35.731434][    T1] md: Autodetecting RAID arrays.
[   35.736312][    T1] md: autorun ...
[   35.739819][    T1] md: ... autorun DONE.
[   35.744039][    T1] VFS: Cannot open root device "LABEL=rootfs" or unknown-block(0,0): error -6
[   35.752819][    T1] Please append a correct "root=" boot option; here are the available partitions:
[   35.761953][    T1] 1f00             832 mtdblock0 
[   35.761957][    T1]  (driver?)
[   35.769969][    T1] 1f01            2880 mtdblock1 
[   35.769972][    T1]  (driver?)
[   35.777983][    T1] 1f02            4288 mtdblock2 
[   35.777986][    T1]  (driver?)
[   35.785946][    T1] 1f03              64 mtdblock3 
[   35.785948][    T1]  (driver?)
[   35.793973][    T1] 1f04              64 mtdblock4 
[   35.793977][    T1]  (driver?)
[   35.801993][    T1] 1f05              64 mtdblock5 
[   35.801996][    T1]  (driver?)
[   35.810005][    T1] 0800         7823360 sda 
[   35.810009][    T1]  driver: sd
[   35.817581][    T1]   0801         7822319 sda1 e5a4a401-5b0f-4b62-9ddc-f6e747963cb2
[   35.817585][    T1] 
[   35.827599][    T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   35.836603][    T1] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.2.9-mvebu-tld-1 #1
[   35.844196][    T1] Hardware name: Marvell Armada 370/XP (Device Tree)
[   35.850773][    T1] [<c0117684>] (unwind_backtrace) from [<c0112034>] (show_stack+0x10/0x14)
[   35.859260][    T1] [<c0112034>] (show_stack) from [<c0a258a8>] (dump_stack+0x70/0x8c)
[   35.867226][    T1] [<c0a258a8>] (dump_stack) from [<c0127104>] (panic+0xf0/0x300)
[   35.874829][    T1] [<c0127104>] (panic) from [<c0e016ac>] (mount_block_root+0x19c/0x284)
[   35.883050][    T1] [<c0e016ac>] (mount_block_root) from [<c0e0187c>] (mount_root+0xe8/0x150)
[   35.891622][    T1] [<c0e0187c>] (mount_root) from [<c0e01a2c>] (prepare_namespace+0x148/0x188)
[   35.900368][    T1] [<c0e01a2c>] (prepare_namespace) from [<c0e01270>] (kernel_init_freeable+0x350/0x3bc)
[   35.909986][    T1] [<c0e01270>] (kernel_init_freeable) from [<c0a3af7c>] (kernel_init+0x8/0x10c)
[   35.918907][    T1] [<c0a3af7c>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[   35.927209][    T1] Exception stack(0xef0b1fb0 to 0xef0b1ff8)
[   35.932978][    T1] 1fa0:                                     00000000 00000000 00000000 00000000
[   35.941888][    T1] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   35.950801][    T1] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[   35.958185][    C1] CPU1: stopping
[   35.961613][    C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.2.9-mvebu-tld-1 #1
[   35.969203][    C1] Hardware name: Marvell Armada 370/XP (Device Tree)
[   35.975768][    C1] [<c0117684>] (unwind_backtrace) from [<c0112034>] (show_stack+0x10/0x14)
[   35.984236][    C1] [<c0112034>] (show_stack) from [<c0a258a8>] (dump_stack+0x70/0x8c)
[   35.992181][    C1] [<c0a258a8>] (dump_stack) from [<c0115338>] (handle_IPI+0x2b8/0x3d4)
[   36.000302][    C1] [<c0115338>] (handle_IPI) from [<c05a2024>] (armada_370_xp_handle_irq+0x8c/0xa0)
[   36.009465][    C1] [<c05a2024>] (armada_370_xp_handle_irq) from [<c01021cc>] (__irq_svc+0x6c/0xa8)
[   36.018536][    C1] Exception stack(0xef0cff08 to 0xef0cff50)
[   36.024302][    C1] ff00:                   00000001 00000008 018c2818 00000000 ef7e1e70 00000001
[   36.033202][    C1] ff20: c0faed2c 00000008 c0f9517c c0f951dc c0d04d83 5f461858 fffffff5 ef0cff58
[   36.042100][    C1] ff40: c0153e50 c08546a4 20000153 ffffffff
[   36.047872][    C1] [<c01021cc>] (__irq_svc) from [<c08546a4>] (cpuidle_enter_state+0x338/0x56c)
[   36.056689][    C1] [<c08546a4>] (cpuidle_enter_state) from [<c0854914>] (cpuidle_enter+0x28/0x38)
[   36.065678][    C1] [<c0854914>] (cpuidle_enter) from [<c01540c8>] (do_idle+0x1d4/0x270)
[   36.073796][    C1] [<c01540c8>] (do_idle) from [<c01543f8>] (cpu_startup_entry+0x18/0x1c)
[   36.082086][    C1] [<c01543f8>] (cpu_startup_entry) from [<00102d6c>] (0x102d6c)
[   36.089606][    T1] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---


I can see its finding the usb under sda but doesnt see its label. My first attempt was in rufus from windows so maybe it doesnt like it. I'll try in linux on the raspberrypi and i'll post the commands im using.

https://pasteboard.co/J3rEAEg.png
Re: Restore uboot for Synology DS414
April 12, 2020 04:49AM
bignellrp,

Yes. This is what it should be:

starting USB...
Bus usb@50000: USB EHCI 1.00
scanning bus usb@50000 for devices... 
USB retry period from the environment: 0 second(s)
2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found


=> usb part 0:1

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     1               4294967295      00000000-01     ee

Now the problem is in the pic it shows that you are using GPT for this USB drive. It should be MBR partition. This u-boot image is quite basic, I have not really configured all the options (just enough so you can boot with UART). So I don't think it supports GPT.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Restore uboot for Synology DS414
April 12, 2020 06:23AM
I've loaded the usb again as ext2 and now ext2ls works without crashing.

Here are the settings i used:

https://pasteboard.co/J3v5bGn.png


But it still doesnt seem to like the label

 93 % [......................................................................]
 95 % [......................................................................]
 96 % [......................................................................]
 97 % [......................................................................]
 99 % [.....................................................]
[Type Ctrl-\ + c to quit]


U-Boot 2019.10-tld-1 (Apr 09 2020 - 16:26:57 -0700)

SoC:   MV78230-B0 at 1333 MHz
I2C:   ready
DRAM:  1 GiB (667 MHz, 32-bit, ECC not enabled)
Loading Environment from SPI Flash... SF: Detected n25q064 with page size 256 Bytes, erase size 4 KiB, total 8 MiB
*** Warning - bad CRC, using default environment

In:    serial@12000
Out:   serial@12000
Err:   serial@12000
Model: Synology DS414
Board: DS414
Net:   
Warning: ethernet@70000 (eth0) using random MAC address - 62:22:ac:64:34:8c
eth0: ethernet@70000
Warning: ethernet@74000 (eth1) using random MAC address - 1e:8b:3f:96:a3:e7
, eth1: ethernet@74000
starting USB...
Bus usb@50000: USB EHCI 1.00
scanning bus usb@50000 for devices... 
USB retry period from the environment: 0 second(s)
2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
SF: Detected n25q064 with page size 256 Bytes, erase size 4 KiB, total 8 MiB
Hit any key to stop autoboot:  0 
device 0 offset 0xd0000, size 0x700000
SF: 7340032 bytes @ 0xd0000 Read: OK
Wrong Image Format for bootm command
ERROR: can't get kernel image!
=> setenv ipaddr 192.168.0.205
=> setenv netmask 255.255.255.0
=> setenv serverip 192.168.0.39
=> setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'
=> printenv
baudrate=115200
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
bootcmd=sf read ${loadaddr} 0xd0000 0x700000; bootm
bootdelay=3
fdtcontroladdr=3fb4bb28
ipaddr=192.168.0.205
loadaddr=0x80000
netmask=255.255.255.0
preboot=usb start; sf probe
serverip=192.168.0.39
stderr=serial@12000
stdin=serial@12000
stdout=serial@12000

Environment size: 354/65532 bytes
=> ext2ls usb 0:1
<DIR>       4096 .
<DIR>       4096 ..
<DIR>       4096 lost+found
<DIR>       4096 etc
<DIR>       4096 mnt
<DIR>       4096 sbin
<DIR>       4096 root
<DIR>       4096 dev
<DIR>       4096 usr
<DIR>       4096 srv
<DIR>       4096 boot
<DIR>       4096 media
<DIR>       4096 proc
<DIR>       4096 var
<DIR>       4096 run
<DIR>       4096 bin
<DIR>       4096 opt
<DIR>       4096 tmp
<DIR>       4096 lib
<DIR>       4096 home
<DIR>       4096 sys
=> usb info
1: Hub,  USB Revision 2.0
 - u-boot EHCI Host Controller 
 - Class: Hub
 - PacketSize: 64  Configurations: 1
 - Vendor: 0x0000  Product 0x0000 Version 1.0
   Configuration: 1
   - Interfaces: 1 Self Powered 0mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 1
     - Class Hub
     - Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms

2: Mass Storage,  USB Revision 2.0
 - Verbatim STORE N GO 07B21107CD4F328B
 - Class: (from Interface) Mass Storage
 - PacketSize: 64  Configurations: 1
 - Vendor: 0x18a5  Product 0x0240 Version 1.0
   Configuration: 1
   - Interfaces: 1 Bus Powered 300mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 2
     - Class Mass Storage, Transp. SCSI, Bulk only
     - Endpoint 1 In Bulk MaxPacket 512
     - Endpoint 2 Out Bulk MaxPacket 512

=> ext2load 
ext2load - load binary file from a Ext2 filesystem

Usage:
ext2load <interface> [<dev[:part]> [addr [filename [bytes [pos]]]]]
    - load binary file 'filename' from 'dev' on 'interface'
      to address 'addr' from ext2 filesystem.
=> ext2load usb 0:1 2000000 boot/uImage
5074848 bytes read in 226 ms (21.4 MiB/s)
=> bootm 0x2000000
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-5.2.9-mvebu-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5074784 Bytes = 4.8 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.2.9-mvebu-tld-1 (root@tldDebianVM) (gcc version 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1)) #1 SMP PREEMPT Mon Aug 19 12:47:39 PDT 2019
[    0.000000][    T0] CPU: ARMv7 Processor [562f5842] revision 2 (ARMv7), cr=10c5387d
[    0.000000][    T0] CPU: div instructions available: patching division code
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Synology DS414
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writealloc
[    0.000000][    T0] percpu: Embedded 21 pages/cpu s55244 r8192 d22580 u86016
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 260608
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
[    0.000000][    T0] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000][    T0] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000][    T0] Memory: 1023808K/1048576K available (10240K kernel code, 833K rwdata, 2724K rodata, 1024K init, 343K bss, 24768K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000][    T0] random: get_random_u32 called from cache_alloc_refill+0x30c/0x830 with crng_init=0
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000][    T0]  Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] L2C: DT/platform modifies aux control register: 0x1a096b00 -> 0x1a096b02
[    0.000000][    T0] Aurora cache controller enabled, 16 ways, 1024 kB
[    0.000000][    T0] Aurora: CACHE_ID 0x00000100, AUX_CTRL 0x1a096b02
[    0.000000][    T0] Switching to timer-based delay loop, resolution 40ns
[    0.000005][    T0] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.008556][    T0] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.020795][    T0] Console: colour dummy device 80x30
[    0.025970][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.037074][    T0] pid_max: default: 32768 minimum: 301
[    0.042534][    T0] LSM: Security Framework initializing
[    0.047920][    T0] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.055266][    T0] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.063494][    T0] *** VALIDATE proc ***
[    0.067661][    T0] *** VALIDATE cgroup1 ***
[    0.071959][    T0] *** VALIDATE cgroup2 ***
[    0.076286][    T0] CPU: Testing write buffer coherency: ok
[    0.082087][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.140232][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.147382][    T1] mvebu-soc-id: MVEBU SoC ID=0x7823, Rev=0x2
[    0.153364][    T1] mvebu-pmsu: Initializing Power Management Service Unit
[    0.180196][    T1] rcu: Hierarchical SRCU implementation.
[    0.220195][    T1] smp: Bringing up secondary CPUs ...
[    0.280297][    T1] Booting CPU 1
[    0.284039][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.294136][    T1] smp: Brought up 1 node, 2 CPUs
[    0.305346][    T1] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.312339][    T1] CPU: All CPU(s) started in SVC mode.
[    0.318361][    T1] devtmpfs: initialized
[    0.325649][    T1] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
[    0.334523][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.345104][    T1] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.352079][    T1] xor: measuring software checksum speed
[    0.450184][    T1]    arm4regs  :  1290.800 MB/sec
[    0.550185][    T1]    8regs     :   810.000 MB/sec
[    0.650184][    T1]    32regs    :  1146.400 MB/sec
[    0.655076][    T1] xor: using function: arm4regs (1290.800 MB/sec)
[    0.661373][    T1] prandom: seed boundary self test passed
[    0.669267][    T1] prandom: 100 self tests passed
[    0.674081][    T1] pinctrl core: initialized pinctrl subsystem
[    0.681367][    T1] NET: Registered protocol family 16
[    0.686834][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.694991][    T1] audit: initializing netlink subsys (disabled)
[    0.701284][   T33] audit: type=2000 audit(0.680:1): state=initialized audit_enabled=0 res=1
[    0.710233][    T1] cpuidle: using governor ladder
[    0.715065][    T1] cpuidle: using governor menu
[    0.719870][   T12] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 0
[    0.729637][   T12] hw-breakpoint: CPU 0 failed to disable vector catch
[    0.736330][   T13] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 1
[    0.960396][    T1] raid6: int32x8  gen()   227 MB/s
[    1.130321][    T1] raid6: int32x8  xor()   134 MB/s
[    1.300425][    T1] raid6: int32x4  gen()   206 MB/s
[    1.470235][    T1] raid6: int32x4  xor()   163 MB/s
[    1.640402][    T1] raid6: int32x2  gen()   197 MB/s
[    1.810205][    T1] raid6: int32x2  xor()   210 MB/s
[    1.980254][    T1] raid6: int32x1  gen()   135 MB/s
[    2.150332][    T1] raid6: int32x1  xor()   183 MB/s
[    2.155325][    T1] raid6: using algorithm int32x8 gen() 227 MB/s
[    2.161434][    T1] raid6: .... xor() 134 MB/s, rmw enabled
[    2.167029][    T1] raid6: using intx1 recovery algorithm
[    2.173656][    T1] vgaarb: loaded
[    2.177703][    T1] SCSI subsystem initialized
[    2.183051][    T1] usbcore: registered new interface driver usbfs
[    2.189381][    T1] usbcore: registered new interface driver hub
[    2.195548][    T1] usbcore: registered new device driver usb
[    2.201950][    T1] media: Linux media interface: v0.10
[    2.207307][    T1] videodev: Linux video capture interface: v2.00
[    2.213881][    T1] pps_core: LinuxPPS API ver. 1 registered
[    2.219578][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.229528][    T1] PTP clock support registered
[    2.235893][    T1] clocksource: Switched to clocksource armada_370_xp_clocksource
[    2.788363][    T1] VFS: Disk quotas dquot_6.6.0
[    2.793049][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.813902][    T1] NET: Registered protocol family 2
[    2.819530][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    2.827949][    T1] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    2.835768][    T1] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    2.842998][    T1] TCP: Hash tables configured (established 8192 bind 8192)
[    2.850156][    T1] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    2.856828][    T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    2.864110][    T1] NET: Registered protocol family 1
[    2.869672][    T1] RPC: Registered named UNIX socket transport module.
[    2.876336][    T1] RPC: Registered udp transport module.
[    2.881749][    T1] RPC: Registered tcp transport module.
[    2.887177][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.894335][    T1] PCI: CLS 0 bytes, default 64
[    2.899286][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    2.906763][    T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    2.918044][    T1] Initialise system trusted keyrings
[    2.923230][    T1] Key type blacklist registered
[    2.928141][    T1] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    2.935405][    T1] zbud: loaded
[    2.939320][    T1] NFS: Registering the id_resolver key type
[    2.945094][    T1] Key type id_resolver registered
[    2.950012][    T1] Key type id_legacy registered
[    2.954737][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.962172][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    2.969490][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    2.977692][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    2.984975][    T1] orangefs_init: module version upstream loaded
[    2.992819][    T1] async_tx: api initialized (async)
[    2.997918][    T1] Key type asymmetric registered
[    3.002723][    T1] Asymmetric key parser 'x509' registered
[    3.008364][    T1] bounce: pool size: 64 pages
[    3.013006][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    3.023833][    T1] armada-xp-pinctrl f1018000.pin-ctrl: registered pinctrl driver
[    3.034485][    T1] mvebu-pcie soc:pcie@82000000: PCI host bridge to bus 0000:00
[    3.041937][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    3.048153][    T1] pci_bus 0000:00: root bus resource [mem 0xf8000000-0xffdfffff]
[    3.055744][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    3.062830][    T1] pci 0000:00:01.0: [11ab:7823] type 01 class 0x060400
[    3.069588][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    3.077465][    T1] pci 0000:00:05.0: [11ab:7823] type 01 class 0x060400
[    3.084203][    T1] pci 0000:00:05.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    3.092805][    T1] PCI: bus0: Fast back to back transfers disabled
[    3.099125][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.107874][    T1] pci 0000:00:05.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.116801][    T1] pci 0000:01:00.0: [11ab:7042] type 00 class 0x010000
[    3.123550][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x14000000-0x140fffff 64bit]
[    3.131093][    T1] pci 0000:01:00.0: reg 0x18: [io  0x0000-0x00ff]
[    3.137708][    T1] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    3.149542][    T1] PCI: bus1: Fast back to back transfers disabled
[    3.155837][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    3.163402][    T1] pci 0000:02:00.0: [1b6f:7023] type 00 class 0x0c0330
[    3.170178][    T1] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x00007fff 64bit]
[    3.177734][    T1] pci 0000:02:00.0: enabling Extended Tags
[    3.183479][    T1] pci 0000:02:00.0: supports D1 D2
[    3.188474][    T1] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot
[    3.195464][    T1] pci 0000:00:05.0: ASPM: current common clock configuration is broken, reconfiguring
[    3.227006][    T1] PCI: bus2: Fast back to back transfers disabled
[    3.233301][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    3.240702][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xf8000000-0xf80fffff]
[    3.248314][    T1] pci 0000:00:05.0: BAR 14: assigned [mem 0xf8100000-0xf81fffff]
[    3.255920][    T1] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    3.262991][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xf8200000-0xf82007ff pref]
[    3.270944][    T1] pci 0000:00:05.0: BAR 6: assigned [mem 0xf8300000-0xf83007ff pref]
[    3.278901][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xf8000000-0xf80fffff 64bit]
[    3.286949][    T1] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x100ff]
[    3.293935][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    3.299624][    T1] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    3.306620][    T1] pci 0000:00:01.0:   bridge window [mem 0xf8000000-0xf80fffff]
[    3.314132][    T1] pci 0000:02:00.0: BAR 0: assigned [mem 0xf8100000-0xf8107fff 64bit]
[    3.322179][    T1] pci 0000:00:05.0: PCI bridge to [bus 02]
[    3.327870][    T1] pci 0000:00:05.0:   bridge window [mem 0xf8100000-0xf81fffff]
[    3.335449][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    3.342375][    T1] pcieport 0000:00:05.0: enabling device (0140 -> 0142)
[    3.349265][    T1] pci 0000:02:00.0: enabling device (0140 -> 0142)
[    3.356432][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    3.416573][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    3.426506][    T1] mv_xor f10f0900.xor: Marvell shared XOR driver
[    3.486595][    T1] mv_xor f10f0900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    3.576411][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.585667][    T1] printk: console [ttyS0] disabled
[    3.610792][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 19, base_baud = 15625000) is a 16550A
[    3.620570][    T1] printk: console [ttyS0] enabled
[    3.620570][    T1] printk: console [ttyS0] enabled
[    3.630371][    T1] printk: bootconsole [earlycon0] disabled
[    3.630371][    T1] printk: bootconsole [earlycon0] disabled
[    3.662774][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 20, base_baud = 15625000) is a 16550A
[    3.674293][    T1] sata_mv 0000:01:00.0: enabling device (0140 -> 0143)
[    3.681158][    T1] sata_mv 0000:01:00.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
[    3.692155][    T1] scsi host0: sata_mv
[    3.696573][    T1] scsi host1: sata_mv
[    3.700945][    T1] scsi host2: sata_mv
[    3.705324][    T1] scsi host3: sata_mv
[    3.709535][    T1] ata1: SATA max UDMA/133 mmio m1048576@0xf8000000 port 0xf8022000 irq 41
[    3.717940][    T1] ata2: SATA max UDMA/133 mmio m1048576@0xf8000000 port 0xf8024000 irq 41
[    3.726331][    T1] ata3: SATA max UDMA/133 mmio m1048576@0xf8000000 port 0xf8026000 irq 41
[    3.734706][    T1] ata4: SATA max UDMA/133 mmio m1048576@0xf8000000 port 0xf8028000 irq 41
[    3.744976][    T1] m25p80 spi0.0: n25q064 (8192 Kbytes)
[    3.750380][    T1] 6 fixed-partitions partitions found on MTD device spi0.0
[    3.757465][    T1] Creating 6 MTD partitions on "spi0.0":
[    3.762975][    T1] 0x000000000000-0x0000000d0000 : "RedBoot"
[    3.769840][    T1] 0x0000000d0000-0x0000003a0000 : "zImage"
[    3.776601][    T1] 0x0000003a0000-0x0000007d0000 : "rd.gz"
[    3.783192][    T1] 0x0000007d0000-0x0000007e0000 : "vendor"
[    3.789894][    T1] 0x0000007e0000-0x0000007f0000 : "RedBoot config"
[    3.797288][    T1] 0x0000007f0000-0x000000800000 : "FIS directory"
[    3.805541][    T1] libphy: Fixed MDIO Bus: probed
[    3.811111][    T1] libphy: orion_mdio_bus: probed
[    3.818978][    T1] mvneta f1070000.ethernet eth0: Using hardware mac address 62:22:ac:64:34:8c
[    3.829198][    T1] mvneta f1074000.ethernet eth1: Using hardware mac address 1e:8b:3f:96:a3:e7
[    3.838332][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.845594][    T1] ehci-pci: EHCI PCI platform driver
[    3.850826][    T1] ehci-orion: EHCI orion driver
[    3.855679][    T1] orion-ehci f1050000.usb: EHCI Host Controller
[    3.861874][    T1] orion-ehci f1050000.usb: new USB bus registered, assigned bus number 1
[    3.870274][    T1] orion-ehci f1050000.usb: irq 26, io mem 0xf1050000
[    3.905913][    T1] orion-ehci f1050000.usb: USB 2.0 started, EHCI 1.00
[    3.912754][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[    3.921769][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.929728][    T1] usb usb1: Product: EHCI Host Controller
[    3.935319][    T1] usb usb1: Manufacturer: Linux 5.2.9-mvebu-tld-1 ehci_hcd
[    3.942401][    T1] usb usb1: SerialNumber: f1050000.usb
[    3.948199][    T1] hub 1-0:1.0: USB hub found
[    3.952697][    T1] hub 1-0:1.0: 1 port detected
[    3.957966][    T1] xhci_hcd 0000:02:00.0: xHCI Host Controller
[    3.963918][    T1] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 2
[    3.972178][    T1] xhci_hcd 0000:02:00.0: hcc params 0x040040a5 hci version 0x100 quirks 0x0000000000080490
[    3.982526][    T1] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[    3.991538][    T1] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.999528][    T1] usb usb2: Product: xHCI Host Controller
[    4.005120][    T1] usb usb2: Manufacturer: Linux 5.2.9-mvebu-tld-1 xhci-hcd
[    4.012210][    T1] usb usb2: SerialNumber: 0000:02:00.0
[    4.017958][    T1] hub 2-0:1.0: USB hub found
[    4.022452][    T1] hub 2-0:1.0: 2 ports detected
[    4.027596][    T1] xhci_hcd 0000:02:00.0: xHCI Host Controller
[    4.033544][    T1] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 3
[    4.041694][    T1] xhci_hcd 0000:02:00.0: Host supports USB 3.0 SuperSpeed
[    4.048760][    T1] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.057718][    T1] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.02
[    4.066808][    T1] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.067395][ T1221] ata1: SATA link down (SStatus 0 SControl 300)
[    4.074752][    T1] usb usb3: Product: xHCI Host Controller
[    4.086519][    T1] usb usb3: Manufacturer: Linux 5.2.9-mvebu-tld-1 xhci-hcd
[    4.093591][    T1] usb usb3: SerialNumber: 0000:02:00.0
[    4.099468][    T1] hub 3-0:1.0: USB hub found
[    4.103962][    T1] hub 3-0:1.0: 2 ports detected
[    4.109847][    T1] usbcore: registered new interface driver usblp
[    4.116287][    T1] usbcore: registered new interface driver usb-storage
[    4.123467][    T1] mousedev: PS/2 mouse device common for all mice
[    4.130778][    T1] i2c /dev entries driver
[    4.138841][    T1] rtc-s35390a 0-0030: registered as rtc0
[    4.246890][    T1] watchdog: f1020300.watchdog: driver supplied timeout (4294967295) out of range
[    4.255878][    T1] watchdog: f1020300.watchdog: falling back to default timeout (171)
[    4.264288][    T1] orion_wdt: Initial timeout 171 sec
[    4.280135][    T1] device-mapper: uevent: version 1.0.3
[    4.285705][    T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[    4.315232][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    4.322501][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    4.329847][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    4.337208][   T23] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    4.341444][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    4.351507][    T1] device-mapper: raid: Loading target version 1.14.0
[    4.363034][    T1] marvell-cesa f1090000.crypto: CESA device successfully registered
[    4.371259][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[    4.377971][    T1] usbcore: registered new interface driver usbhid
[    4.384287][    T1] usbhid: USB HID core driver
[    4.389327][    T1] drop_monitor: Initializing network drop monitor service
[    4.396731][    T1] NET: Registered protocol family 10
[    4.402746][    T1] Segment Routing with IPv6
[    4.407226][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    4.415221][    T1] NET: Registered protocol family 17
[    4.420573][    T1] 8021q: 802.1Q VLAN Support v1.8
[    4.425008][ T1225] ata2: SATA link down (SStatus 0 SControl 300)
[    4.425522][    T1] Key type dns_resolver registered
[    4.437273][    T1] ThumbEE CPU extension supported.
[    4.442285][    T1] Registering SWP/SWPB emulation handler
[    4.448646][    T1] registered taskstats version 1
[    4.453455][    T1] Loading compiled-in X.509 certificates
[    4.459047][    T1] zswap: loaded using pool lzo/zbud
[    4.465997][    T1] Key type big_key registered
[    4.471214][    T1] Key type encrypted registered
[    4.568183][   T23] usb 1-1: New USB device found, idVendor=18a5, idProduct=0240, bcdDevice= 1.00
[    4.577109][   T23] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.584966][   T23] usb 1-1: Product: STORE N GO
[    4.589640][   T23] usb 1-1: Manufacturer: Verbatim
[    4.594541][   T23] usb 1-1: SerialNumber: 07B21107CD4F328B
[    4.600810][   T23] usb-storage 1-1:1.0: USB Mass Storage device detected
[    4.607963][   T23] scsi host4: usb-storage 1-1:1.0
[    4.767777][ T1229] ata3: SATA link down (SStatus 0 SControl 300)
[    5.098640][ T1233] ata4: SATA link down (SStatus 0 SControl 300)
[    5.637466][ T1237] scsi 4:0:0:0: Direct-Access     Verbatim STORE N GO       PMAP PQ: 0 ANSI: 0 CCS
[    5.649684][    T7] sd 4:0:0:0: [sda] 15646720 512-byte logical blocks: (8.01 GB/7.46 GiB)
[    5.658727][    T7] sd 4:0:0:0: [sda] Write Protect is off
[    5.664720][    T7] sd 4:0:0:0: [sda] No Caching mode page found
[    5.670827][    T7] sd 4:0:0:0: [sda] Assuming drive cache: write through
[    5.687709][    T7]  sda: sda1
[    5.694351][    T7] sd 4:0:0:0: [sda] Attached SCSI removable disk
[   25.478089][    T1] rtc-s35390a 0-0030: setting system clock to 2020-04-12T11:19:32 UTC (1586690372)
[   25.488018][    T1] Waiting 10 sec before mounting root device...
[   35.716182][    T1] md: Waiting for all devices to be available before autodetect
[   35.723698][    T1] md: If you don't use raid, use raid=noautodetect
[   35.731352][    T1] md: Autodetecting RAID arrays.
[   35.736231][    T1] md: autorun ...
[   35.739737][    T1] md: ... autorun DONE.
[   35.743954][    T1] VFS: Cannot open root device "LABEL=rootfs" or unknown-block(0,0): error -6
[   35.752735][    T1] Please append a correct "root=" boot option; here are the available partitions:
[   35.761869][    T1] 1f00             832 mtdblock0 
[   35.761874][    T1]  (driver?)
[   35.769886][    T1] 1f01            2880 mtdblock1 
[   35.769889][    T1]  (driver?)
[   35.777900][    T1] 1f02            4288 mtdblock2 
[   35.777904][    T1]  (driver?)
[   35.785863][    T1] 1f03              64 mtdblock3 
[   35.785865][    T1]  (driver?)
[   35.793892][    T1] 1f04              64 mtdblock4 
[   35.793895][    T1]  (driver?)
[   35.801908][    T1] 1f05              64 mtdblock5 
[   35.801912][    T1]  (driver?)
[   35.809921][    T1] 0800         7823360 sda 
[   35.809925][    T1]  driver: sd
[   35.817496][    T1]   0801         7822336 sda1 00000000-01
[   35.817501][    T1] 
[   35.825288][    T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   35.834285][    T1] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.2.9-mvebu-tld-1 #1
[   35.841888][    T1] Hardware name: Marvell Armada 370/XP (Device Tree)
[   35.848468][    T1] [<c0117684>] (unwind_backtrace) from [<c0112034>] (show_stack+0x10/0x14)
[   35.856954][    T1] [<c0112034>] (show_stack) from [<c0a258a8>] (dump_stack+0x70/0x8c)
[   35.864904][    T1] [<c0a258a8>] (dump_stack) from [<c0127104>] (panic+0xf0/0x300)
[   35.872517][    T1] [<c0127104>] (panic) from [<c0e016ac>] (mount_block_root+0x19c/0x284)
[   35.880741][    T1] [<c0e016ac>] (mount_block_root) from [<c0e0187c>] (mount_root+0xe8/0x150)
[   35.889314][    T1] [<c0e0187c>] (mount_root) from [<c0e01a2c>] (prepare_namespace+0x148/0x188)
[   35.898061][    T1] [<c0e01a2c>] (prepare_namespace) from [<c0e01270>] (kernel_init_freeable+0x350/0x3bc)
[   35.907679][    T1] [<c0e01270>] (kernel_init_freeable) from [<c0a3af7c>] (kernel_init+0x8/0x10c)
[   35.916600][    T1] [<c0a3af7c>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[   35.924891][    T1] Exception stack(0xef0b1fb0 to 0xef0b1ff8)
[   35.930666][    T1] 1fa0:                                     00000000 00000000 00000000 00000000
[   35.939580][    T1] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   35.948492][    T1] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[   35.955874][    C1] CPU1: stopping
[   35.959303][    C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.2.9-mvebu-tld-1 #1
[   35.966894][    C1] Hardware name: Marvell Armada 370/XP (Device Tree)
[   35.973459][    C1] [<c0117684>] (unwind_backtrace) from [<c0112034>] (show_stack+0x10/0x14)
[   35.981927][    C1] [<c0112034>] (show_stack) from [<c0a258a8>] (dump_stack+0x70/0x8c)
[   35.989873][    C1] [<c0a258a8>] (dump_stack) from [<c0115338>] (handle_IPI+0x2b8/0x3d4)
[   35.997993][    C1] [<c0115338>] (handle_IPI) from [<c05a2024>] (armada_370_xp_handle_irq+0x8c/0xa0)
[   36.007156][    C1] [<c05a2024>] (armada_370_xp_handle_irq) from [<c01021cc>] (__irq_svc+0x6c/0xa8)
[   36.016226][    C1] Exception stack(0xef0cff08 to 0xef0cff50)
[   36.021992][    C1] ff00:                   00000001 00000008 018c2a48 00000000 ef7e1e70 00000001
[   36.030893][    C1] ff20: c0faed2c 00000008 c0f9517c c0f951dc c0d04d83 5f22d708 fffffff5 ef0cff58
[   36.039791][    C1] ff40: c0153e50 c08546a4 20000153 ffffffff
[   36.045564][    C1] [<c01021cc>] (__irq_svc) from [<c08546a4>] (cpuidle_enter_state+0x338/0x56c)
[   36.054380][    C1] [<c08546a4>] (cpuidle_enter_state) from [<c0854914>] (cpuidle_enter+0x28/0x38)
[   36.063369][    C1] [<c0854914>] (cpuidle_enter) from [<c01540c8>] (do_idle+0x1d4/0x270)
[   36.071487][    C1] [<c01540c8>] (do_idle) from [<c01543f8>] (cpu_startup_entry+0x18/0x1c)
[   36.079776][    C1] [<c01543f8>] (cpu_startup_entry) from [<00102d6c>] (0x102d6c)
[   36.087292][    T1] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---


Is this the label its reading? 00000000-01 Can i set this in the setenv?



Edited 1 time(s). Last edit at 04/12/2020 01:16PM by bignellrp.
Re: Restore uboot for Synology DS414
April 12, 2020 07:48AM
YAY! It booted. I set the root to root=/dev/sda1

Whats the default username/pass?

 95 % [......................................................................]
 96 % [......................................................................]
 97 % [......................................................................]
 99 % [.....................................................]
[Type Ctrl-\ + c to quit]


U-Boot 2019.10-tld-1 (Apr 09 2020 - 16:26:57 -0700)

SoC:   MV78230-B0 at 1333 MHz
I2C:   ready
DRAM:  1 GiB (667 MHz, 32-bit, ECC not enabled)
Loading Environment from SPI Flash... SF: Detected n25q064 with page size 256 Bytes, erase size 4 KiB, total 8 MiB
*** Warning - bad CRC, using default environment

In:    serial@12000
Out:   serial@12000
Err:   serial@12000
Model: Synology DS414
Board: DS414
Net:   
Warning: ethernet@70000 (eth0) using random MAC address - a6:81:c5:9b:83:a2
eth0: ethernet@70000
Warning: ethernet@74000 (eth1) using random MAC address - f2:6b:64:9f:81:95
, eth1: ethernet@74000
starting USB...
Bus usb@50000: USB EHCI 1.00
scanning bus usb@50000 for devices... 
USB retry period from the environment: 0 second(s)
2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
SF: Detected n25q064 with page size 256 Bytes, erase size 4 KiB, total 8 MiB
Hit any key to stop autoboot:  0 
device 0 offset 0xd0000, size 0x700000
SF: 7340032 bytes @ 0xd0000 Read: OK
Wrong Image Format for bootm command
ERROR: can't get kernel image!
=> setenv bootargs 'console=ttyS0,115200 root=/dev/sda1 rootdelay=10 earlyprintk=serial'
=> ext2load usb 0:1 2000000 boot/uImage
5074848 bytes read in 227 ms (21.3 MiB/s)
=> bootm 0x2000000
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-5.2.9-mvebu-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5074784 Bytes = 4.8 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.2.9-mvebu-tld-1 (root@tldDebianVM) (gcc version 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1)) #1 SMP PREEMPT Mon Aug 19 12:47:39 PDT 2019
[    0.000000][    T0] CPU: ARMv7 Processor [562f5842] revision 2 (ARMv7), cr=10c5387d
[    0.000000][    T0] CPU: div instructions available: patching division code
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: Synology DS414
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writealloc
[    0.000000][    T0] percpu: Embedded 21 pages/cpu s55244 r8192 d22580 u86016
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 260608
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=/dev/sda1 rootdelay=10 earlyprintk=serial
[    0.000000][    T0] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000][    T0] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000][    T0] Memory: 1023808K/1048576K available (10240K kernel code, 833K rwdata, 2724K rodata, 1024K init, 343K bss, 24768K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000][    T0] random: get_random_u32 called from cache_alloc_refill+0x30c/0x830 with crng_init=0
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000][    T0]  Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] L2C: DT/platform modifies aux control register: 0x1a096b00 -> 0x1a096b02
[    0.000000][    T0] Aurora cache controller enabled, 16 ways, 1024 kB
[    0.000000][    T0] Aurora: CACHE_ID 0x00000100, AUX_CTRL 0x1a096b02
[    0.000000][    T0] Switching to timer-based delay loop, resolution 40ns
[    0.000005][    T0] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.008556][    T0] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.020795][    T0] Console: colour dummy device 80x30
[    0.025969][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.037074][    T0] pid_max: default: 32768 minimum: 301
[    0.042534][    T0] LSM: Security Framework initializing
[    0.047921][    T0] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.055268][    T0] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.063496][    T0] *** VALIDATE proc ***
[    0.067662][    T0] *** VALIDATE cgroup1 ***
[    0.071960][    T0] *** VALIDATE cgroup2 ***
[    0.076286][    T0] CPU: Testing write buffer coherency: ok
[    0.082087][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.140232][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.147382][    T1] mvebu-soc-id: MVEBU SoC ID=0x7823, Rev=0x2
[    0.153364][    T1] mvebu-pmsu: Initializing Power Management Service Unit
[    0.180196][    T1] rcu: Hierarchical SRCU implementation.
[    0.220196][    T1] smp: Bringing up secondary CPUs ...
[    0.280297][    T1] Booting CPU 1
[    0.284040][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.294135][    T1] smp: Brought up 1 node, 2 CPUs
[    0.305345][    T1] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.312339][    T1] CPU: All CPU(s) started in SVC mode.
[    0.318361][    T1] devtmpfs: initialized
[    0.325656][    T1] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
[    0.334508][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.345086][    T1] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.352057][    T1] xor: measuring software checksum speed
[    0.450184][    T1]    arm4regs  :  1290.800 MB/sec
[    0.550185][    T1]    8regs     :   810.000 MB/sec
[    0.650184][    T1]    32regs    :  1146.400 MB/sec
[    0.655075][    T1] xor: using function: arm4regs (1290.800 MB/sec)
[    0.661372][    T1] prandom: seed boundary self test passed
[    0.669266][    T1] prandom: 100 self tests passed
[    0.674080][    T1] pinctrl core: initialized pinctrl subsystem
[    0.681365][    T1] NET: Registered protocol family 16
[    0.686834][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.694989][    T1] audit: initializing netlink subsys (disabled)
[    0.701280][   T33] audit: type=2000 audit(0.680:1): state=initialized audit_enabled=0 res=1
[    0.710234][    T1] cpuidle: using governor ladder
[    0.715067][    T1] cpuidle: using governor menu
[    0.719870][   T12] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 0
[    0.729637][   T12] hw-breakpoint: CPU 0 failed to disable vector catch
[    0.736329][   T13] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 1
[    0.960382][    T1] raid6: int32x8  gen()   227 MB/s
[    1.130411][    T1] raid6: int32x8  xor()   134 MB/s
[    1.300481][    T1] raid6: int32x4  gen()   206 MB/s
[    1.470280][    T1] raid6: int32x4  xor()   163 MB/s
[    1.640423][    T1] raid6: int32x2  gen()   197 MB/s
[    1.810209][    T1] raid6: int32x2  xor()   210 MB/s
[    1.980254][    T1] raid6: int32x1  gen()   135 MB/s
[    2.150224][    T1] raid6: int32x1  xor()   183 MB/s
[    2.155216][    T1] raid6: using algorithm int32x8 gen() 227 MB/s
[    2.161326][    T1] raid6: .... xor() 134 MB/s, rmw enabled
[    2.166920][    T1] raid6: using intx1 recovery algorithm
[    2.173562][    T1] vgaarb: loaded
[    2.177616][    T1] SCSI subsystem initialized
[    2.182981][    T1] usbcore: registered new interface driver usbfs
[    2.189309][    T1] usbcore: registered new interface driver hub
[    2.195483][    T1] usbcore: registered new device driver usb
[    2.201883][    T1] media: Linux media interface: v0.10
[    2.207237][    T1] videodev: Linux video capture interface: v2.00
[    2.213809][    T1] pps_core: LinuxPPS API ver. 1 registered
[    2.219513][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.229462][    T1] PTP clock support registered
[    2.235835][    T1] clocksource: Switched to clocksource armada_370_xp_clocksource
[    2.788219][    T1] VFS: Disk quotas dquot_6.6.0
[    2.792906][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.814749][    T1] NET: Registered protocol family 2
[    2.820376][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    2.828792][    T1] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    2.836629][    T1] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    2.843836][    T1] TCP: Hash tables configured (established 8192 bind 8192)
[    2.850989][    T1] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    2.857658][    T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    2.864938][    T1] NET: Registered protocol family 1
[    2.870498][    T1] RPC: Registered named UNIX socket transport module.
[    2.877159][    T1] RPC: Registered udp transport module.
[    2.882572][    T1] RPC: Registered tcp transport module.
[    2.887997][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.895156][    T1] PCI: CLS 0 bytes, default 64
[    2.900107][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    2.907582][    T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    2.918857][    T1] Initialise system trusted keyrings
[    2.924036][    T1] Key type blacklist registered
[    2.928933][    T1] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    2.936225][    T1] zbud: loaded
[    2.940119][    T1] NFS: Registering the id_resolver key type
[    2.945920][    T1] Key type id_resolver registered
[    2.950811][    T1] Key type id_legacy registered
[    2.955535][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.962970][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    2.970285][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    2.978494][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    2.985777][    T1] orangefs_init: module version upstream loaded
[    2.993613][    T1] async_tx: api initialized (async)
[    2.998710][    T1] Key type asymmetric registered
[    3.003515][    T1] Asymmetric key parser 'x509' registered
[    3.009155][    T1] bounce: pool size: 64 pages
[    3.013798][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    3.024617][    T1] armada-xp-pinctrl f1018000.pin-ctrl: registered pinctrl driver
[    3.035301][    T1] mvebu-pcie soc:pcie@82000000: PCI host bridge to bus 0000:00
[    3.042757][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    3.048972][    T1] pci_bus 0000:00: root bus resource [mem 0xf8000000-0xffdfffff]
[    3.056576][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    3.063650][    T1] pci 0000:00:01.0: [11ab:7823] type 01 class 0x060400
[    3.070415][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    3.078291][    T1] pci 0000:00:05.0: [11ab:7823] type 01 class 0x060400
[    3.085028][    T1] pci 0000:00:05.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    3.093620][    T1] PCI: bus0: Fast back to back transfers disabled
[    3.099939][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.108688][    T1] pci 0000:00:05.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.117615][    T1] pci 0000:01:00.0: [11ab:7042] type 00 class 0x010000
[    3.124364][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x14000000-0x140fffff 64bit]
[    3.131900][    T1] pci 0000:01:00.0: reg 0x18: [io  0x0000-0x00ff]
[    3.138511][    T1] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    3.150345][    T1] PCI: bus1: Fast back to back transfers disabled
[    3.156659][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    3.164196][    T1] pci 0000:02:00.0: [1b6f:7023] type 00 class 0x0c0330
[    3.170969][    T1] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x00007fff 64bit]
[    3.178524][    T1] pci 0000:02:00.0: enabling Extended Tags
[    3.184267][    T1] pci 0000:02:00.0: supports D1 D2
[    3.189261][    T1] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot
[    3.196266][    T1] pci 0000:00:05.0: ASPM: current common clock configuration is broken, reconfiguring
[    3.226956][    T1] PCI: bus2: Fast back to back transfers disabled
[    3.233251][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    3.240652][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xf8000000-0xf80fffff]
[    3.248264][    T1] pci 0000:00:05.0: BAR 14: assigned [mem 0xf8100000-0xf81fffff]
[    3.255871][    T1] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    3.262942][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xf8200000-0xf82007ff pref]
[    3.270896][    T1] pci 0000:00:05.0: BAR 6: assigned [mem 0xf8300000-0xf83007ff pref]
[    3.278853][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xf8000000-0xf80fffff 64bit]
[    3.286901][    T1] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x100ff]
[    3.293886][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    3.299575][    T1] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    3.306572][    T1] pci 0000:00:01.0:   bridge window [mem 0xf8000000-0xf80fffff]
[    3.314084][    T1] pci 0000:02:00.0: BAR 0: assigned [mem 0xf8100000-0xf8107fff 64bit]
[    3.322131][    T1] pci 0000:00:05.0: PCI bridge to [bus 02]
[    3.327821][    T1] pci 0000:00:05.0:   bridge window [mem 0xf8100000-0xf81fffff]
[    3.335401][    T1] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    3.342326][    T1] pcieport 0000:00:05.0: enabling device (0140 -> 0142)
[    3.349216][    T1] pci 0000:02:00.0: enabling device (0140 -> 0142)
[    3.356389][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    3.416495][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    3.426409][    T1] mv_xor f10f0900.xor: Marvell shared XOR driver
[    3.486551][    T1] mv_xor f10f0900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    3.581201][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.590634][    T1] printk: console [ttyS0] disabled
[    3.615877][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 19, base_baud = 15625000) is a 16550A
[    3.625602][    T1] printk: console [ttyS0] enabled
[    3.625602][    T1] printk: console [ttyS0] enabled
[    3.635399][    T1] printk: bootconsole [earlycon0] disabled
[    3.635399][    T1] printk: bootconsole [earlycon0] disabled
[    3.667982][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 20, base_baud = 15625000) is a 16550A
[    3.679587][    T1] sata_mv 0000:01:00.0: enabling device (0140 -> 0143)
[    3.686448][    T1] sata_mv 0000:01:00.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
[    3.697404][    T1] scsi host0: sata_mv
[    3.701777][    T1] scsi host1: sata_mv
[    3.706189][    T1] scsi host2: sata_mv
[    3.710567][    T1] scsi host3: sata_mv
[    3.714754][    T1] ata1: SATA max UDMA/133 mmio m1048576@0xf8000000 port 0xf8022000 irq 41
[    3.723159][    T1] ata2: SATA max UDMA/133 mmio m1048576@0xf8000000 port 0xf8024000 irq 41
[    3.731549][    T1] ata3: SATA max UDMA/133 mmio m1048576@0xf8000000 port 0xf8026000 irq 41
[    3.739936][    T1] ata4: SATA max UDMA/133 mmio m1048576@0xf8000000 port 0xf8028000 irq 41
[    3.750094][    T1] m25p80 spi0.0: n25q064 (8192 Kbytes)
[    3.755468][    T1] 6 fixed-partitions partitions found on MTD device spi0.0
[    3.762566][    T1] Creating 6 MTD partitions on "spi0.0":
[    3.768089][    T1] 0x000000000000-0x0000000d0000 : "RedBoot"
[    3.774919][    T1] 0x0000000d0000-0x0000003a0000 : "zImage"
[    3.781773][    T1] 0x0000003a0000-0x0000007d0000 : "rd.gz"
[    3.788423][    T1] 0x0000007d0000-0x0000007e0000 : "vendor"
[    3.795135][    T1] 0x0000007e0000-0x0000007f0000 : "RedBoot config"
[    3.802563][    T1] 0x0000007f0000-0x000000800000 : "FIS directory"
[    3.810883][    T1] libphy: Fixed MDIO Bus: probed
[    3.816392][    T1] libphy: orion_mdio_bus: probed
[    3.824244][    T1] mvneta f1070000.ethernet eth0: Using hardware mac address a6:81:c5:9b:83:a2
[    3.834507][    T1] mvneta f1074000.ethernet eth1: Using hardware mac address f2:6b:64:9f:81:95
[    3.843584][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.850867][    T1] ehci-pci: EHCI PCI platform driver
[    3.856088][    T1] ehci-orion: EHCI orion driver
[    3.860939][    T1] orion-ehci f1050000.usb: EHCI Host Controller
[    3.867095][    T1] orion-ehci f1050000.usb: new USB bus registered, assigned bus number 1
[    3.875480][    T1] orion-ehci f1050000.usb: irq 26, io mem 0xf1050000
[    3.905856][    T1] orion-ehci f1050000.usb: USB 2.0 started, EHCI 1.00
[    3.912695][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[    3.921711][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.929684][    T1] usb usb1: Product: EHCI Host Controller
[    3.935274][    T1] usb usb1: Manufacturer: Linux 5.2.9-mvebu-tld-1 ehci_hcd
[    3.942357][    T1] usb usb1: SerialNumber: f1050000.usb
[    3.948159][    T1] hub 1-0:1.0: USB hub found
[    3.952656][    T1] hub 1-0:1.0: 1 port detected
[    3.957944][    T1] xhci_hcd 0000:02:00.0: xHCI Host Controller
[    3.963896][    T1] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 2
[    3.972141][    T1] xhci_hcd 0000:02:00.0: hcc params 0x040040a5 hci version 0x100 quirks 0x0000000000080490
[    3.982485][    T1] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[    3.991498][    T1] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.999456][    T1] usb usb2: Product: xHCI Host Controller
[    4.005047][    T1] usb usb2: Manufacturer: Linux 5.2.9-mvebu-tld-1 xhci-hcd
[    4.012161][    T1] usb usb2: SerialNumber: 0000:02:00.0
[    4.017927][    T1] hub 2-0:1.0: USB hub found
[    4.022422][    T1] hub 2-0:1.0: 2 ports detected
[    4.027567][    T1] xhci_hcd 0000:02:00.0: xHCI Host Controller
[    4.033516][    T1] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 3
[    4.041670][    T1] xhci_hcd 0000:02:00.0: Host supports USB 3.0 SuperSpeed
[    4.048739][    T1] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.057697][    T1] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.02
[    4.066789][    T1] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.074730][    T1] usb usb3: Product: xHCI Host Controller
[    4.077347][ T1221] ata1: SATA link down (SStatus 0 SControl 300)
[    4.080342][    T1] usb usb3: Manufacturer: Linux 5.2.9-mvebu-tld-1 xhci-hcd
[    4.093537][    T1] usb usb3: SerialNumber: 0000:02:00.0
[    4.099414][    T1] hub 3-0:1.0: USB hub found
[    4.103914][    T1] hub 3-0:1.0: 2 ports detected
[    4.109804][    T1] usbcore: registered new interface driver usblp
[    4.116238][    T1] usbcore: registered new interface driver usb-storage
[    4.123437][    T1] mousedev: PS/2 mouse device common for all mice
[    4.130757][    T1] i2c /dev entries driver
[    4.138880][    T1] rtc-s35390a 0-0030: registered as rtc0
[    4.246972][    T1] watchdog: f1020300.watchdog: driver supplied timeout (4294967295) out of range
[    4.256074][    T1] watchdog: f1020300.watchdog: falling back to default timeout (171)
[    4.264395][    T1] orion_wdt: Initial timeout 171 sec
[    4.280157][    T1] device-mapper: uevent: version 1.0.3
[    4.285737][    T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[    4.315276][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    4.322543][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    4.329905][   T23] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    4.331229][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    4.344731][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    4.351601][    T1] device-mapper: raid: Loading target version 1.14.0
[    4.363086][    T1] marvell-cesa f1090000.crypto: CESA device successfully registered
[    4.371290][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[    4.377947][    T1] usbcore: registered new interface driver usbhid
[    4.384235][    T1] usbhid: USB HID core driver
[    4.389272][    T1] drop_monitor: Initializing network drop monitor service
[    4.396648][    T1] NET: Registered protocol family 10
[    4.402700][    T1] Segment Routing with IPv6
[    4.407157][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    4.415166][    T1] NET: Registered protocol family 17
[    4.420510][    T1] 8021q: 802.1Q VLAN Support v1.8
[    4.423786][ T1225] ata2: SATA link down (SStatus 0 SControl 300)
[    4.425442][    T1] Key type dns_resolver registered
[    4.437215][    T1] ThumbEE CPU extension supported.
[    4.442231][    T1] Registering SWP/SWPB emulation handler
[    4.448504][    T1] registered taskstats version 1
[    4.453313][    T1] Loading compiled-in X.509 certificates
[    4.458904][    T1] zswap: loaded using pool lzo/zbud
[    4.465801][    T1] Key type big_key registered
[    4.471051][    T1] Key type encrypted registered
[    4.548140][   T23] usb 1-1: New USB device found, idVendor=18a5, idProduct=0240, bcdDevice= 1.00
[    4.557074][   T23] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.564932][   T23] usb 1-1: Product: STORE N GO
[    4.569607][   T23] usb 1-1: Manufacturer: Verbatim
[    4.574509][   T23] usb 1-1: SerialNumber: 07B21107CD4F328B
[    4.580888][   T23] usb-storage 1-1:1.0: USB Mass Storage device detected
[    4.588120][   T23] scsi host4: usb-storage 1-1:1.0
[    4.767716][ T1229] ata3: SATA link down (SStatus 0 SControl 300)
[    5.108586][ T1233] ata4: SATA link down (SStatus 0 SControl 300)
[    5.637426][ T1237] scsi 4:0:0:0: Direct-Access     Verbatim STORE N GO       PMAP PQ: 0 ANSI: 0 CCS
[    5.649892][   T51] sd 4:0:0:0: [sda] 15646720 512-byte logical blocks: (8.01 GB/7.46 GiB)
[    5.658809][   T51] sd 4:0:0:0: [sda] Write Protect is off
[    5.664805][   T51] sd 4:0:0:0: [sda] No Caching mode page found
[    5.670923][   T51] sd 4:0:0:0: [sda] Assuming drive cache: write through
[    5.687791][   T51]  sda: sda1
[    5.694432][   T51] sd 4:0:0:0: [sda] Attached SCSI removable disk
[   25.478137][    T1] rtc-s35390a 0-0030: setting system clock to 2020-04-12T12:44:44 UTC (1586695484)
[   25.488056][    T1] Waiting 10 sec before mounting root device...
[   35.716130][    T1] md: Waiting for all devices to be available before autodetect
[   35.723646][    T1] md: If you don't use raid, use raid=noautodetect
[   35.731220][    T1] md: Autodetecting RAID arrays.
[   35.736095][    T1] md: autorun ...
[   35.739602][    T1] md: ... autorun DONE.
[   35.770189][    T1] EXT4-fs (sda1): mounted filesystem without journal. Opts: (null)
[   35.778158][    T1] VFS: Mounted root (ext4 filesystem) readonly on device 8:1.
[   35.792705][    C0] random: fast init done
[   35.814129][    T1] devtmpfs: mounted
[   35.819775][    T1] Freeing unused kernel memory: 1024K
[   35.837575][    T1] Checked W+X mappings: passed, no W+X pages found
[   35.844001][    T1] Run /sbin/init as init process
INIT: version 2.93 booting
[info] Using makefile-style concurrent boot in runlevel S.
ERROR: could not open /proc/stat: No such file or directory
findfs: unable to resolve 'LABEL=rootfs'
[warn] Files under mount point '/run' will be hidden. ... (warning).
[ ok ] Starting hotplug events dispatcher: systemd-udevd.
[ ok ] Synthesizing the initial hotplug events (subsystems)...done.
[ ok ] Synthesizing the initial hotplug events (devices)...done.
[....] Waiting for /dev to be fully populated...[   39.192448][ T1735] systemd-udevd[1735]: Using default interface naming scheme 'v240'.
[   39.236633][ T1732] systemd-udevd[1732]: Using default interface naming scheme 'v240'.
[   39.291612][ T1732] systemd-udevd[1732]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[   39.326641][ T1735] systemd-udevd[1735]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[   39.344517][ T1733] systemd-udevd[1733]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[   39.363023][ T1729] systemd-udevd[1729]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[   39.378412][ T1733] systemd-udevd[1733]: Could not generate persistent MAC address for ip6tnl0: No such file or directory
[   39.379488][ T1753] systemd-udevd[1753]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[   39.570127][ T1743] usbcore: registered new interface driver uas
[   39.695087][ T1753] sd 4:0:0:0: Attached scsi generic sg0 type 0
done.
[ ok ] Setting hostname to 'debian'...done.
[ ok ] Activating swap:.
[   50.678560][ T1948] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Will now check root file system:fsck from util-linux 2.33.1
[/sbin/fsck.ext2 (1) -- /] fsck.ext2 -y -C0 /dev/sda1 
e2fsck 1.44.5 (15-Dec-2018)
rootfs: clean, 24099/244800 files, 189859/1955584 blocks
. ok 
[   51.125538][ T1974] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[info] Will now check all file systems.
fsck from util-linux 2.33.1
Checking all file systems.
LABEL=rootfs is mounted
[ ok ] Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that location is writable..
[   52.285312][    C0] random: crng init done
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[ ok ] Will now mount local filesystems:.
[ ok ] Will now activate swapfile swap:done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Starting Setting kernel variables: sysctl.
[ ok ] Initializing random number generator...done.
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

[   55.352942][ T2505] mvneta f1070000.ethernet eth0: PHY [f1072004.mdio-mii:01] driver [Marvell 88E1510]
[   55.362781][ T2505] mvneta f1070000.ethernet eth0: configuring for phy/rgmii-id link mode
Listening on LPF/eth0/a6:81:c5:9b:83:a2
Sending on   LPF/eth0/a6:81:c5:9b:83:a2
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
[   59.556898][   T49] mvneta f1070000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   59.565478][   T49] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPOFFER of 192.168.0.37 from 192.168.0.1
DHCPREQUEST for 192.168.0.37 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.0.37 from 192.168.0.1
bound to 192.168.0.37 -- renewal in 259745 seconds.
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
2725 (syslogd)
. ok 
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
2752 (klogd)
. ok 
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting periodic command scheduler: cron.
[ ok ] Starting system message bus: dbus.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[....] Running local boot scripts (/etc/rc.local)Warning: Bad CRC, using default environment
Warning: Bad CRC, using default environment
[   92.861692][ T2959] Setting Persistent MAC address to 00:00:11:22:33:44
<13>Apr 12 05:45:51 root[2966]: Setting Persistent MAC address to 00:00:11:22:33:44
Killed old client process
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/a6:81:c5:9b:83:a2
Sending on   LPF/eth0/a6:81:c5:9b:83:a2
Sending on   Socket/fallback
DHCPRELEASE of 192.168.0.37 on eth0 to 192.168.0.1 port 67
[   94.694391][   T49] mvneta f1070000.ethernet eth0: Link is Down
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

[   94.898250][ T3003] mvneta f1070000.ethernet eth0: PHY [f1072004.mdio-mii:01] driver [Marvell 88E1510]
[   94.907910][ T3003] mvneta f1070000.ethernet eth0: configuring for phy/rgmii-id link mode
Listening on LPF/eth0/00:00:11:22:33:44
Sending on   LPF/eth0/00:00:11:22:33:44
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
[   99.081119][   T23] mvneta f1070000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   99.089699][   T23] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 18
DHCPOFFER of 192.168.0.37 from 192.168.0.1
DHCPREQUEST for 192.168.0.37 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.0.37 from 192.168.0.1
bound to 192.168.0.37 -- renewal in 254081 seconds.
. ok 

Debian GNU/Linux 10 debian ttyS0

debian login: root
Password: 

Login incorrect
debian login: 
Re: Restore uboot for Synology DS414
April 12, 2020 07:54AM
GOT IT!!! I 100% owe you a beer. I will certainly be donating to the charity from your link. (https://www.doctorswithoutborders.org/)

Can you help me from here to restore the stock uboot bin to the flash?


debian login: root
Password: 
Last login: Thu Sep  5 01:58:44 PDT 2019 from 192.168.0.100 on pts/0
Linux debian 5.2.9-mvebu-tld-1 #1 SMP PREEMPT Mon Aug 19 12:47:39 PDT 2019 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
debian
192.168.0.37 
Synology DS414
Linux version 5.2.9-mvebu-tld-1 (root@tldDebianVM) (gcc version 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1)) #1 SMP PREEMPT Mon Aug 19 12:47:39 PDT 2019
Debian 10.0
Sun Apr 12 05:48:40 PDT 2020 up 4 minutes
root@debian:~# 
root@debian:~# 
root@debian:~# 
Re: Restore uboot for Synology DS414
April 12, 2020 10:23AM
I’ve been read another one of your posts on restoring a Synology to stock and it suggested you might need the following printouts:

https://forum.doozan.com/read.php?2,76314,page=18


root@debian:~# fw_printenv
Warning: Bad CRC, using default environment
bootcmd=run distro_bootcmd
bootdelay=2
baudrate=115200
stdin=serial,cros-ec-keyb,usbkbd
stdout=serial,vidconsole
stderr=serial,vidconsole
ethaddr=00:00:11:22:33:44
eth1addr=00:00:11:22:33:45
eth3addr=00:00:11:22:33:46
eth5addr=00:00:11:22:33:47
ipaddr=1.2.3.4
host_boot=if host dev ${devnum}; then setenv devtype host; run scan_dev_for_boot_part; fi
sata_boot=if sata dev ${devnum}; then setenv devtype sata; run scan_dev_for_boot_part; fi
scsi_init=if ${scsi_need_init}; then setenv scsi_need_init false; scsi scan; fi
scsi_boot=run scsi_init; if scsi dev ${devnum}; then setenv devtype scsi; run scan_dev_for_boot_part; fi
virtio_boot=if virtio dev ${devnum}; then setenv devtype virtio; run scan_dev_for_boot_part; fi
boot_prefixes=/ /boot/
boot_scripts=boot.scr.uimg boot.scr
boot_script_dhcp=boot.scr.uimg
boot_targets=host1 host0 
boot_syslinux_conf=extlinux/extlinux.conf
boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}${boot_syslinux_conf}
scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${boot_syslinux_conf}; then echo Found ${prefix}${boot_syslinux_conf}; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi
boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done
scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;
scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done
bootcmd_host1=setenv devnum 1; run host_boot
bootcmd_host0=setenv devnum 0; run host_boot
distro_bootcmd=setenv scsi_need_init; for target in ${boot_targets}; do run bootcmd_${target}; done
bootm_size=0x10000000
kernel_addr_r=0x1000000
fdt_addr_r=0xc00000
ramdisk_addr_r=0x2000000
scriptaddr=0x1000
pxefile_addr_r=0x2000

root@debian:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 000d0000 00001000 "RedBoot"
mtd1: 002d0000 00001000 "zImage"
mtd2: 00430000 00001000 "rd.gz"
mtd3: 00010000 00001000 "vendor"
mtd4: 00010000 00001000 "RedBoot config"
mtd5: 00010000 00001000 "FIS directory"
root@debian:~#

root@debian:~# hwinfo --short
cpu:                                                            
                       CPU
                       CPU
keyboard:
  /dev/ttyS0           serial console
storage:
                       Marvell 88SX7042 PCI-e 4-port SATA-II
network:
  eth1                 ARM Ethernet controller
  eth0                 ARM Ethernet controller
network interface:
  sit0                 Network Interface
  ip6tnl0              Network Interface
  eth0                 Ethernet network interface
  lo                   Loopback network interface
  eth1                 Ethernet network interface
disk:
  /dev/mtdblock4       Disk
  /dev/mtdblock2       Disk
  /dev/mtdblock0       Disk
  /dev/mtdblock5       Disk
  /dev/mtdblock3       Disk
  /dev/mtdblock1       Disk
  /dev/sda             Verbatim STORE N GO
partition:
  /dev/sda1            Partition
usb controller:
                       Etron EJ168 USB 3.0 Host Controller
                       ARM USB controller
bridge:
                       Marvell MV78230 [Armada XP] ARM SoC
                       Marvell MV78230 [Armada XP] ARM SoC
hub:
                       Linux Foundation 3.0 root hub
                       Linux Foundation 2.0 root hub
                       Linux Foundation 2.0 root hub
memory:
                       Main Memory
unknown:
                       PS/2 Controller
root@debian:~# free
              total        used        free      shared  buff/cache   available
Mem:        1024832       39556      850800        1348      134476      799360
Swap:             0           0           0



Edited 2 time(s). Last edit at 04/12/2020 01:20PM by bignellrp.
Author:

Your Email:


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: