Welcome! Log In Create A New Profile

Advanced

Help booting Netgear Stora

Posted by Martin 
Martin
Help booting Netgear Stora
February 29, 2020 02:50PM
Hi guys!

What have a done wrong when i get this?

** Bad partition 1 **
** Bad partition 1 **
## Booting image at 00200000 ...
Bad Magic Number


__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** MARVELL BOARD: RD-88F6281A LE

U-Boot 1.1.4 (Aug 19 2009 - 19:25:43) Marvell version: 3.4.14

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

Soc: 88F6281 A0 (DDR2)
CPU running @ 1000Mhz L2 running @ 333Mhz
SysClock = 333Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000 size 64MB
DRAM CS[1] base 0x04000000 size 64MB
DRAM Total size 128MB 16bit width
Flash: 0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:256 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled

Module 0 is RGMII
Module 1 is TDM

USB 0: host mode
PEX 0: interface detected no Link.
Net: egiga0, egiga1 [PRIME]
Hit any key to stop autoboot: 0
(Re)start USB...
USB: scanning bus for devices... 2 USB Device(s) found
scanning bus for storage devices... 1 Storage Device(s) found
** Bad partition 1 **
** Bad partition 1 **
## Booting image at 00200000 ...
Bad Magic Number
Marvell>>


I have read this post: "Linux Kernel 5.5.1 Kirkwood package and Debian rootfs" and created a USB as described in the post 25 aug 2019.

/Martin

=====
moderator edit: change subject title to be more specific



Edited 2 time(s). Last edit at 03/01/2020 04:54AM by bodhi.
Re: Help booting
February 29, 2020 03:00PM
Martin,

Please post your problem in this thread.

Which box is this?

Power up, Interrupt serial console and

ver
printenv

And post the entire serial console log here.

-bodhi
===========================
Forum Wiki
bodhi's corner
Martin
Re: Help booting
February 29, 2020 03:08PM
It's a Netgear Stora MS2110


__  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: RD-88F6281A LE

U-Boot 1.1.4 (Aug 19 2009 - 19:25:43) Marvell version: 3.4.14

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

Soc: 88F6281 A0 (DDR2)
CPU running @ 1000Mhz L2 running @ 333Mhz
SysClock = 333Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size  64MB
DRAM CS[1] base 0x04000000   size  64MB
DRAM Total size 128MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:256 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled

Module 0 is RGMII
Module 1 is TDM

USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0, egiga1 [PRIME]
Hit any key to stop autoboot:  0
Marvell>> ver

U-Boot 1.1.4 (Aug 19 2009 - 19:25:43) Marvell version: 3.4.14
Marvell>> printenv
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
CASset=min
MALLOC_len=1
ethprime=egiga1
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImcge
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
eth1addr=00:50:43:00:02:02
eth1mtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loidaddr=0x02000000
autoload=no
enaICPr%f=yes
fw_up=disable
bootargs_root=ubi.mtd=2,2048 root=ubi0:rootfs rootfstype=ubifs init=/linuxrc
console=console=ttyS0,115200
ethaddr=00:26:F2:0B:E1:CC
loadaddr=0x02000000
arcNumber=2743
ipaddr=192.168.1.26
serverip=192.168.1.21
bootargs=console=ttyS0,115200n8 base-installer/initramfs-tools/driver-policy=most
bootcmd_usb=usb reset; ext2load usb 0 0x200l00 /boot/uImage; ext2load usb 0 0x80ootcmd=setenv bootargs $(console) root=LABEL=root rootdelay=8; run bootcmd_usb; bootm 0x200000 0x800000
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=yes
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
hddPowerCtrl=no
enaAutoRecovery=no
ethact=egiga1

Environment size: 1863/131068 bytes
Marvell>>



/Martin

=========
moderator edit: please use code tags to post log.



Edited 1 time(s). Last edit at 02/29/2020 03:45PM by bodhi.
Re: Help booting
February 29, 2020 03:49PM
bootcmd_usb=usb reset; ext2load usb 0 0x200l00 /boot/uImage; ext2load usb 0 0x80ootcmd=setenv bootargs $(console) root=LABEL=root rootdelay=8; run bootcmd_usb; bootm 0x200000 0x800000


Your bootcmd was messed up. Should be:

bootcmd_usb=usb reset; ext2load usb 0 0x200000 /boot/uImage; ext2load usb 0 0x800000  /boot/uInitrd
bootcmd=setenv bootargs $(console) root=LABEL=root rootdelay=8; run bootcmd_usb; bootm 0x200000 0x800000

Also, the load adresses should be change to 0x800000 and 0x2100000

bootcmd_usb=usb reset; ext2load usb 0 0x800000 /boot/uImage; ext2load usb 0 0x2100000  /boot/uInitrd
bootcmd=setenv bootargs $(console) root=LABEL=root rootdelay=8; run bootcmd_usb; bootm 0x800000 0x2100000

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Help booting
February 29, 2020 04:51PM
One step closer i think, now its something with:

## Booting image at 00800000 ...
Bad Magic Number


But why reset? what i have copied from your post some days ago, it said "usb start"?


26Feb2020

Adjust the envs:

setenv bootcmd_usb 'usb start; ext2load usb 0:1 0x800000 /boot/uImage; ext2load usb 0:1 0x2100000 /boot/uInitrd'
setenv bootcmd 'setenv bootargs $(console) root=LABEL=rootfs rootdelay=10 earlyprintk=serial; run bootcmd_usb; bootm 0x800000 0x2100000; reset'
setenv console 'console=ttyS0,115200 mtdparts=orion_nand:0x100000@0(uboot),0xff00000@0x100000(root)'


        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: RD-88F6281A LE

U-Boot 1.1.4 (Aug 19 2009 - 19:25:43) Marvell version: 3.4.14

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

Soc: 88F6281 A0 (DDR2)
CPU running @ 1000Mhz L2 running @ 333Mhz
SysClock = 333Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size  64MB
DRAM CS[1] base 0x04000000   size  64MB
DRAM Total size 128MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:256 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled

Module 0 is RGMII
Module 1 is TDM

USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0, egiga1 [PRIME]
Hit any key to stop autoboot:  0
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
** Bad partition 1 **
** Bad partition 1 **
## Booting image at 00200000 ...
Bad Magic Number
Marvell>> printenv
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
CASset=min
MALLOC_len=1
ethprime=egiga1
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImcge
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
eth1addr=00:50:43:00:02:02
eth1mtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loidaddr=0x02000000
autoload=no
enaICPr%f=yes
fw_up=disable
bootargs_root=ubi.mtd=2,2048 root=ubi0:rootfs rootfstype=ubifs init=/linuxrc
console=console=ttyS0,115200
ethaddr=00:26:F2:0B:E1:CC
loadaddr=0x02000000
arcNumber=2743
ipaddr=192.168.1.26
serverip=192.168.1.21                                                                                 l
ootcmd=setenv bootargs $(console) root=LABEL=root rootdelay=8; run bootcmd_usb; bootm 0x200000 0x800000
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=yes
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
hddPowerCtrl=no
enaAutoRecovery=no
ethact=egiga1
bootargs=console=ttyS0,115200 root=LABEL=root rootdelay=8

Environment size: 1839/131068 bytes
Marvell>> setenv bootcmd_usb=usb reset; ext2load usb 0 0x800000 /boot/uImage; ext2load usb 0 0x2100000  /boot/uInitrd
** Bad partition 1 **
** Bad partition 1 **
Marvell>> setenv bootcmd=setenv bootargs $(console) root=LABEL=root rootdelay=8; run bootcmd_usb; bootm 0x800000 0x2100000
(Re)start USB...
USB:   scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
** Bad partition 1 **
** Bad partition 1 **
## Booting image at 00800000 ...
Bad Magic Number
Marvell>>

/Martin
Re: Help booting
February 29, 2020 05:09PM
Martin,

Your rootfs is bad. Recreate the USB rootfs and make sure you follow the instruction closely.

(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
** Bad partition 1 **
** Bad partition 1 **


"usb start" or "usb reset" is basically the same thing when you run it the 1st time.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Help booting
March 01, 2020 03:45PM
I cant put in these bootcmd you posted yesterday, was it ment to just be bootcmd or with setenv before?

I've tried to make a new rootfs but it must be something i'm missing or doing wrong, i have again followed the steps without success.


Quote

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

Updated 25 Aug 2019:

Basic Debian buster Kirkwood rootfs for most Kirwood plugs:

- tarball size: 209M
- install size: 536M
- The init system used in this rootfs is sysvinit . To boot with systemd, see note 2 below.
- Installed packages: nano, avahi, ntp, busybox-syslogd (log to RAM), htop, isc-dhcp-client, dialog, bzip2, nfs server/client, iperf, ethtool, sysvinit-core, sysvinit, sysvinit-utils, u-boot-tools, and mtd-utils.
- see LED controls in /etc/rc.local, and /etc/init.d/halt
- see some useful aliases in /root/.profile
- root password: root

Download at Dropbox:

Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2

md5:
cd8ad170aa1a9fdc2a0a1c43ab1c0721
sha256:
8ccbbced367b4c2bf3728262e882f8232aff0fecd1c0c767219a0cab49a0b9bf


And remember to check the hash of what you download, as always.

Installation:

Installation can be done on any Linux box, with a fresh USB drive (SD card or HDD would work fine too).

Note: all steps below must be done while logging in as root user (not sudo). If you are not the root user then don't continue, because the rootfs will not work.

1. Format a new USB drive with a single Ext3 partition, and label it rootfs. If you are running the latest U-Boot for Kirkwood then you can use Ext4.

2. Mount the drive on a Linux box. cd to top level directory and extract it. It is assuming the USB drive is mounted at /media/sdb1
cd /media/sdb1
tar -xjf Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2

3. Adjust fstab (optional).

Edit /media/sdb1/etc/fstab entry for root device to match the rootfstype of your rootfstype if you use Ext4 or Ext2. However, you can keep it as is without problem in booting since the kernel will figure out which file system the rootfs was formatted.

LABEL=rootfs / ext3 noatime,errors=remount-ro 0 1

4. Create uImage with embedded DTB for booting with older u-boots (2012 or earlier). Do not do this step if you have installed the latest U-Boot for Kirkwood (or are installing this u-boot at the same time).

Please replace kirkwood-goflexnet.dtb below with the correct DTB name for your box (see the folder /media/sdb1/boot/dts for the exact spelling of your Kirkwood box name).

Generate the uImage with DTB embedded inside:
cd /media/sdb1/boot
cp -a zImage-5.2.9-kirkwood-tld-1 zImage.fdt
cat dts/kirkwood-goflexnet.dtb >> zImage.fdt
mv uImage uImage.orig
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.2.9-kirkwood-tld-1 -d zImage.fdt uImage
sync

If your Linux box does not have mkimage, then install it

apt-get install u-boot-tools

5. Done. Take this USB rootfs to your plug and cold start. After booted into Debian, see Note1 and Note2 below. It is very important that you do Note1 steps to secure your box.

And the lates test i used another usb disk but with the same resault.

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: RD-88F6281A LE

U-Boot 1.1.4 (Aug 19 2009 - 19:25:43) Marvell version: 3.4.14

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

Soc: 88F6281 A0 (DDR2)
CPU running @ 1000Mhz L2 running @ 333Mhz
SysClock = 333Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size  64MB
DRAM CS[1] base 0x04000000   size  64MB
DRAM Total size 128MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:256 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled

Module 0 is RGMII
Module 1 is TDM

USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0, egiga1 [PRIME]
Hit any key to stop autoboot:  0
Marvell>> printenv
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
CASset=min
MALLOC_len=1
ethprime=egiga1
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImcge
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
eth1addr=00:50:43:00:02:02
eth1mtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loidaddr=0x02000000
autoload=no
enaICPr%f=yes
fw_up=disable
bootargs_root=ubi.mtd=2,2048 root=ubi0:rootfs rootfstype=ubifs init=/linuxrc
console=console=ttyS0,115200
ethaddr=00:26:F2:0B:E1:CC
loadaddr=0x02000000
arcNumber=2743
ipaddr=192.168.1.26
serverip=192.168.1.21
bootargs=console=ttyS0,115200n8 base-installer/initramfs-tools/driver-policy=most
bootcmd=setenv=bootargs console=ttyS0,115200 root=LABEL=root rootdelay=8
bootcmd_usb=usbresett; ext2load usb 0:1 0x800000 /boot/uImage; ext2load usb 0:1 0x2100000 /boot/uInitrd
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=yes
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
hddPowerCtrl=no
enaAutoRecovery=no
ethact=egiga1

Environment size: 1742/131068 bytes
Marvell>>
>

How do i resoleve my messup with this bootcmd=setenv bootargs?

Marvell>> reset

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: RD-88F6281A LE

U-Boot 1.1.4 (Aug 19 2009 - 19:25:43) Marvell version: 3.4.14

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

Soc: 88F6281 A0 (DDR2)
CPU running @ 1000Mhz L2 running @ 333Mhz
SysClock = 333Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size  64MB
DRAM CS[1] base 0x04000000   size  64MB
DRAM Total size 128MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:256 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled

Module 0 is RGMII
Module 1 is TDM

USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0, egiga1 [PRIME]
Hit any key to stop autoboot:  0
Unknown command 'setenv=bootargs' - try 'help'
Marvell>>


thanks for the hepl!
Re: Help booting
March 01, 2020 05:05PM
Martin,

There were 2 typos here:

bootcmd=setenv=bootargs console=ttyS0,115200 root=LABEL=root rootdelay=8

At serial console correct it:

setenv bootcmd 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=8'

And then

boot
And post the entire serial log here.

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



Edited 1 time(s). Last edit at 03/01/2020 05:16PM by bodhi.
Re: Help booting Netgear Stora
March 01, 2020 05:29PM
Did a remake of rootfs again, erased all on disk and made it ext3 and primary, i think maybe the other ones was logical partition type.

then i used
setenv bootcmd_usb 'usb start; ext2load usb 0:1 0x800000 /boot/uImage; ext2load usb 0:1 0x2100000 /boot/uInitrd'
setenv bootcmd 'setenv bootargs $(console) root=LABEL=rootfs rootdelay=10 earlyprintk=serial; run bootcmd_usb; bootm 0x800000 0x2100000; reset'


Marvell>> reset

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: RD-88F6281A LE

U-Boot 1.1.4 (Aug 19 2009 - 19:25:43) Marvell version: 3.4.14

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

Soc: 88F6281 A0 (DDR2)
CPU running @ 1000Mhz L2 running @ 333Mhz
SysClock = 333Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size  64MB
DRAM CS[1] base 0x04000000   size  64MB
DRAM Total size 128MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:256 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled

Module 0 is RGMII
Module 1 is TDM

USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0, egiga1 [PRIME]
Hit any key to stop autoboot:  0
Unknown command 'setenv=bootargs' - try 'help'
Marvell>> setenv bootcmd_usb 'usb start; ext2load usb 0:1 0x800000 /boot/uImage; ext2load usb 0:1 0x2100000 /boot/uInitrd
Marvell>> setenv bootcmd 'setenv bootargs $(console) root=LABEL=rootfs rootdelay=10 earlyprintk=serial; run bootcmd_usb; bootm 0x800000 0x2100000; reset'
Marvell>> boot
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
....
.
......
............
.........................
...................................................
......................................................................................................
............................................................................................................................................................................................................
....
.......................................................................

4975179 bytes read
....
.
...................
.........................
...................................................
...................................................................................................................................................................................................................................................................................................................
....
....................................................................................................................................................................................................................................................................................................................................................................................................................
....
............................................................................................................................

9713936 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-5.2.9-kirkwood-tld-1
   Created:      2020-03-01  22:34:58 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4975115 Bytes =  4.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000 ...
   Image Name:   initramfs-5.2.9-kirkwood-tld-1
   Created:      2019-08-25   2:22:50 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9713872 Bytes =  9.3 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

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-kirkwood-tld-1 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: NETGEAR MS2000 / MS2110 aka Stora
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
[    0.000000][    T0] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000][    T0] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000][    T0] Memory: 104832K/131072K available (9216K kernel code, 868K rwdata, 3400K rodata, 1024K init, 301K bss, 26240K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from cache_alloc_refill+0x38c/0x928 with crng_init=0
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000011][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008526][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015991][    T0] Console: colour dummy device 80x30
[    0.021211][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032439][    T0] pid_max: default: 32768 minimum: 301
[    0.038165][    T0] LSM: Security Framework initializing
[    0.043722][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.051070][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.059824][    T0] *** VALIDATE proc ***
[    0.064113][    T0] *** VALIDATE cgroup1 ***
[    0.068387][    T0] *** VALIDATE cgroup2 ***
[    0.072795][    T0] CPU: Testing write buffer coherency: ok
[    0.080361][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.087545][    T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.093742][    T1] rcu: Hierarchical SRCU implementation.
[    0.103124][    T1] devtmpfs: initialized
[    0.113879][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.124465][    T1] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.131615][    T1] xor: measuring software checksum speed
[    0.228553][    T1]    arm4regs  :   848.000 MB/sec
[    0.328561][    T1]    8regs     :   542.000 MB/sec
[    0.428552][    T1]    32regs    :   787.600 MB/sec
[    0.433416][    T1] xor: using function: arm4regs (848.000 MB/sec)
[    0.439620][    T1] prandom: seed boundary self test passed
[    0.450244][    T1] prandom: 100 self tests passed
[    0.455023][    T1] pinctrl core: initialized pinctrl subsystem
[    0.462682][    T1] NET: Registered protocol family 16
[    0.468458][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.477046][    T1] audit: initializing netlink subsys (disabled)
[    0.484623][   T14] audit: type=2000 audit(0.470:1): state=initialized audit_enabled=0 res=1
[    0.493204][    T1] cpuidle: using governor ladder
[    0.498072][    T1] cpuidle: using governor menu
[    0.503366][    T1] Feroceon L2: Enabling L2
[    0.507663][    T1] Feroceon L2: Cache support initialised.
[    0.520433][    T1] No ATAGs?
[    2.568534][    C0] random: fast init done
[    7.678828][   T71] alg: No test for lzo-rle (lzo-rle-generic)
[    7.685064][   T73] alg: No test for lzo-rle (lzo-rle-scomp)
[    7.869310][    T1] raid6: int32x8  gen()   106 MB/s
[    8.038913][    T1] raid6: int32x8  xor()    72 MB/s
[    8.208942][    T1] raid6: int32x4  gen()   107 MB/s
[    8.378713][    T1] raid6: int32x4  xor()    69 MB/s
[    8.548767][    T1] raid6: int32x2  gen()   109 MB/s
[    8.718618][    T1] raid6: int32x2  xor()    78 MB/s
[    8.889009][    T1] raid6: int32x1  gen()    83 MB/s
[    9.058679][    T1] raid6: int32x1  xor()    57 MB/s
[    9.063622][    T1] raid6: using algorithm int32x2 gen() 109 MB/s
[    9.069705][    T1] raid6: .... xor() 78 MB/s, rmw enabled
[    9.075164][    T1] raid6: using intx1 recovery algorithm
[    9.080850][    T1] vgaarb: loaded
[    9.084851][    T1] SCSI subsystem initialized
[    9.089902][    T1] usbcore: registered new interface driver usbfs
[    9.096117][    T1] usbcore: registered new interface driver hub
[    9.102252][    T1] usbcore: registered new device driver usb
[    9.108178][    T1] pps_core: LinuxPPS API ver. 1 registered
[    9.113839][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    9.123662][    T1] PTP clock support registered
[    9.129845][    T1] clocksource: Switched to clocksource orion_clocksource
[   10.381871][    T1] VFS: Disk quotas dquot_6.6.0
[   10.386565][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   10.406096][    T1] NET: Registered protocol family 2
[   10.412157][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[   10.420584][    T1] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[   10.428223][    T1] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[   10.435317][    T1] TCP: Hash tables configured (established 1024 bind 1024)
[   10.442494][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   10.449012][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   10.456252][    T1] NET: Registered protocol family 1
[   10.462079][    T1] RPC: Registered named UNIX socket transport module.
[   10.468667][    T1] RPC: Registered udp transport module.
[   10.474138][    T1] RPC: Registered tcp transport module.
[   10.479519][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   10.486655][    T1] PCI: CLS 0 bytes, default 32
[   10.491556][    T1] Trying to unpack rootfs image as initramfs...
[   11.503722][    T1] Freeing initrd memory: 9488K
[   11.508532][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[   11.517267][    T1] Initialise system trusted keyrings
[   11.522521][    T1] Key type blacklist registered
[   11.527448][    T1] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[   11.534765][    T1] zbud: loaded
[   11.539304][    T1] NFS: Registering the id_resolver key type
[   11.545154][    T1] Key type id_resolver registered
[   11.550074][    T1] Key type id_legacy registered
[   11.554776][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[   11.562172][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   11.569540][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[   11.577557][    T1] fuse: init (API version 7.31)
[   11.582740][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[   11.590092][    T1] orangefs_init: module version upstream loaded
[   11.596162][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[   11.625425][    T1] async_tx: api initialized (async)
[   11.630607][    T1] Key type asymmetric registered
[   11.635379][    T1] Asymmetric key parser 'x509' registered
[   11.641078][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[   11.650997][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[   11.661398][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[   11.669638][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[   11.675889][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[   11.683488][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[   11.690575][    T1] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400
[   11.697283][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[   11.706299][    T1] PCI: bus0: Fast back to back transfers disabled
[   11.712598][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[   11.722814][    T1] PCI: bus1: Fast back to back transfers enabled
[   11.728985][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[   11.736526][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe00007ff pref]
[   11.744445][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[   11.750840][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[   11.820853][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[   11.831274][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[   11.900844][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[   11.911608][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   11.920235][    T1] printk: console [ttyS0] disabled
[   11.925251][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[   11.934988][    T1] printk: console [ttyS0] enabled
[   11.934988][    T1] printk: console [ttyS0] enabled
[   11.944853][    T1] printk: bootconsole [earlycon0] disabled
[   11.944853][    T1] printk: bootconsole [earlycon0] disabled
[   11.965569][    T1] loop: module loaded
[   11.970182][    T1] sata_mv f1080000.sata: slots 32 ports 2
[   11.979158][    T1] scsi host0: sata_mv
[   11.983799][    T1] scsi host1: sata_mv
[   11.988019][    T1] ata1: SATA max UDMA/133 irq 33
[   11.992910][    T1] ata2: SATA max UDMA/133 irq 33
[   11.998877][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda
[   12.006111][    T1] nand: Samsung NAND 256MiB 3,3V 8-bit
[   12.011490][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[   12.019804][    T1] Scanning device for bad blocks
[   12.220046][    T1] Bad eraseblock 1824 at 0x00000e400000
[   12.225559][    T1] Bad eraseblock 1825 at 0x00000e420000
[   12.254896][    T1] 3 fixed-partitions partitions found on MTD device orion_nand
[   12.262379][    T1] Creating 3 MTD partitions on "orion_nand":
[   12.268280][    T1] 0x000000000000-0x000000100000 : "u-boot"
[   12.275662][    T1] 0x000000100000-0x000000700000 : "uImage"
[   12.282994][    T1] 0x000000700000-0x000010000000 : "root"
[   12.292626][    T1] libphy: Fixed MDIO Bus: probed
[   12.298451][    T1] libphy: orion_mdio_bus: probed
[   12.303377][    T1] [Firmware Warn]: /ocp@f1000000/mdio-bus@72004/ethernet-phy@8: Whitelisted compatible string. Please remove
[   12.330204][  T112] ata1: SATA link down (SStatus 0 SControl F300)
[   12.338287][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   12.346501][    T1] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set
[   12.681520][  T114] ata2: SATA link down (SStatus 0 SControl F300)
[   13.070582][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:26:f2:0b:e1:cc
[   13.080238][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   13.087524][    T1] ehci-pci: EHCI PCI platform driver
[   13.092791][    T1] ehci-orion: EHCI orion driver
[   13.097750][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[   13.104054][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[   13.112737][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[   13.140028][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[   13.147092][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[   13.156137][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   13.164119][    T1] usb usb1: Product: EHCI Host Controller
[   13.169727][    T1] usb usb1: Manufacturer: Linux 5.2.9-kirkwood-tld-1 ehci_hcd
[   13.177092][    T1] usb usb1: SerialNumber: f1050000.ehci
[   13.183279][    T1] hub 1-0:1.0: USB hub found
[   13.187796][    T1] hub 1-0:1.0: 1 port detected
[   13.193339][    T1] usbcore: registered new interface driver usb-storage
[   13.200587][    T1] mousedev: PS/2 mouse device common for all mice
[   13.559890][   T15] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   13.762371][   T15] usb 1-1: New USB device found, idVendor=174c, idProduct=1053, bcdDevice= 1.00
[   13.771330][   T15] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[   13.779229][   T15] usb 1-1: Product: USB3.0 Device
[   13.784163][   T15] usb 1-1: Manufacturer: Generic
[   13.788977][   T15] usb 1-1: SerialNumber: AC0000000001
[   14.249889][    T1] rtc-mv f1010300.rtc: internal RTC not ticking
[   14.256227][    T1] i2c /dev entries driver
[   14.267566][    T1] rtc-pcf8563 0-0051: registered as rtc0
[   14.274954][    T1] device-mapper: uevent: version 1.0.3
[   14.280702][    T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[   14.290425][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[   14.297692][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[   14.305119][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[   14.312605][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[   14.319432][    T1] device-mapper: raid: Loading target version 1.14.0
[   14.328090][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[   14.334664][    T1] drop_monitor: Initializing network drop monitor service
[   14.342063][    T1] NET: Registered protocol family 17
[   14.347541][    T1] Key type dns_resolver registered
[   14.353584][    T1] registered taskstats version 1
[   14.358398][    T1] Loading compiled-in X.509 certificates
[   14.364043][    T1] zswap: loaded using pool lzo/zbud
[   14.479303][    T1] Key type big_key registered
[   14.534015][    T1] Key type encrypted registered
[   14.542789][    T1] rtc-pcf8563 0-0051: setting system clock to 2020-03-02T04:18:06 UTC (1583122686)
[   14.556525][    T1] Freeing unused kernel memory: 1024K
[   14.570547][    T1] Checked W+X mappings: passed, no W+X pages found
[   14.576941][    T1] Run /init as init process
Loading, please wait...
Starting version 241
[   15.733039][  T163] scsi host2: uas
[   15.738576][   T23] scsi 2:0:0:0: Direct-Access     ASMT     2105             0    PQ: 0 ANSI: 6
[   15.755350][  T163] usbcore: registered new interface driver uas
[   15.765165][    T7] sd 2:0:0:0: [sda] 117231408 512-byte logical blocks: (60.0 GB/55.9 GiB)
[   15.780543][    T7] sd 2:0:0:0: [sda] Write Protect is off
[   15.792295][    T7] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   15.813547][    T7] sd 2:0:0:0: [sda] Optimal transfer size 33553920 bytes
[   15.832836][    T7]  sda: sda1
[   15.843283][    T7] sd 2:0:0:0: [sda] Attached SCSI disk
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.33.1
[/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1
rootfs: clean, 15076/7340032 files, 422032/14653440 blocks
done.
[   26.523564][  T192] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   26.619342][  T192] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.93 booting
[info] Using makefile-style concurrent boot in runlevel S.
[ ok ] Starting hotplug events dispatcher: systemd-udevd.
[ ok ] Synthesizing the initial hotplug events (subsystems)...done.
[....] Synthesizing the initial hotplug events (devices)...[   29.367268][  T373] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ ok                                                       done.
[....] Waiting for /dev to be fully populated...[   29.533621][  T372] systemd-udevd[372]: Using default interface naming scheme 'v240'.
[   29.683812][  T372] systemd-udevd[372]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[   29.817476][  T375] lm75 0-0048: hwmon0: sensor 'lm75'
[   29.869512][  T409] watchdog: f1020300.watchdog-timer: driver supplied timeout (4294967295) out of range
[   30.039968][  T409] watchdog: f1020300.watchdog-timer: falling back to default timeout (21)
[   30.180082][  T372] sd 2:0:0:0: Attached scsi generic sg0 type 0
[   30.188932][  T409] orion_wdt: Initial timeout 21 sec
[   30.386938][  T373] marvell-cesa f1030000.crypto: CESA device successfully registered
[   30.411804][    C0] random: crng init done
[   30.551786][  T398] systemd-udevd[398]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
done.
[ ok ] Setting hostname to 'debian'...done.
[ ok ] Activating swap:.
[   31.981277][  T591] 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..
[ 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/

Listening on LPF/eth0/00:26:f2:0b:e1:cc
Sending on   LPF/eth0/00:26:f2:0b:e1:cc
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
[   38.010032][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPOFFER of 192.168.1.61 from 192.168.1.1
DHCPREQUEST for 192.168.1.61 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.61 from 192.168.1.1
bound to 192.168.1.61 -- renewal in 37895 seconds.
[   43.840312][ T1146] NET: Registered protocol family 10
[   43.850280][ T1146] Segment Routing with IPv6
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...
1341 (syslogd)
. ok
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1368 (klogd)
. ok
[ ok ] Starting system message bus: dbus.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting NFS common utilities: statd idmapd.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 10 debian ttyS0

debian login: root
Password:
Last login: Wed Dec 31 16:02:34 PST 1969 from 192.168.0.100 on pts/0
Linux debian 5.2.9-kirkwood-tld-1 #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019 armv5tel

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.
root@debian:~#
implement NOTE1

root@debian:~# rm /etc/ssh/ssh_host*
root@debian:~# ssh-keygen -A
ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519
root@debian:~# apt-get update
Get:1 http://security.debian.org buster/updates InRelease [65.4 kB]
Get:2 http://cdn-fastly.deb.debian.org/debian buster-updates InRelease [49.3 kB]
Get:3 http://ftp.us.debian.org/debian buster InRelease [122 kB]
Get:4 http://security.debian.org buster/updates/main Sources [105 kB]
Get:5 http://security.debian.org buster/updates/non-free Sources [688 B]
Get:6 http://security.debian.org buster/updates/main armel Packages [159 kB]
Get:7 http://security.debian.org buster/updates/main Translation-en [95.8 kB]
Get:8 http://security.debian.org buster/updates/non-free Translation-en [344 B]
Get:9 http://cdn-fastly.deb.debian.org/debian buster-updates/main Sources.diff/Index [2212 B]
Ign:9 http://cdn-fastly.deb.debian.org/debian buster-updates/main Sources.diff/Index
Get:10 http://cdn-fastly.deb.debian.org/debian buster-updates/main armel Packages.diff/Index [2212 B]
Ign:10 http://cdn-fastly.deb.debian.org/debian buster-updates/main armel Packages.diff/Index
Get:11 http://cdn-fastly.deb.debian.org/debian buster-updates/main Translation-en.diff/Index [2212 B]
Get:12 http://cdn-fastly.deb.debian.org/debian buster-updates/main Sources [3088 B]
Get:13 http://cdn-fastly.deb.debian.org/debian buster-updates/main armel Packages [7368 B]
Get:14 http://cdn-fastly.deb.debian.org/debian buster-updates/main Translation-en 2019-09-18-2012.01.pdiff [1820 B]
Get:15 http://cdn-fastly.deb.debian.org/debian buster-updates/main Translation-en 2019-09-23-0812.44.pdiff [1379 B]
Get:16 http://cdn-fastly.deb.debian.org/debian buster-updates/main Translation-en 2020-02-23-2017.41.pdiff [1700 B]
Get:16 http://cdn-fastly.deb.debian.org/debian buster-updates/main Translation-en 2020-02-23-2017.41.pdiff [1700 B]
Get:17 http://ftp.us.debian.org/debian buster/main Sources [7832 kB]
Get:18 http://ftp.us.debian.org/debian buster/main armel Packages [7628 kB]
Get:19 http://ftp.us.debian.org/debian buster/main Translation-en [5970 kB]
Fetched 22.0 MB in 48s (455 kB/s)
Reading package lists... Done
N: Repository 'http://ftp.us.debian.org/debian buster InRelease' changed its 'Version' value from '10.0' to '10.3'
root@debian:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  base-files bzip2 dirmngr e2fslibs e2fsprogs gnupg gnupg-l10n gnupg-utils gpg
  gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv initramfs-tools
  initramfs-tools-core libbz2-1.0 libcom-err2 libcomerr2 libexpat1 libext2fs2
  libgnutls30 libidn2-0 libldap-2.4-2 libldap-common libncurses5 libncurses6
  libncursesw5 libncursesw6 libsasl2-2 libsasl2-modules-db libss2 libssl1.1
  libsystemd0 libtinfo5 libtinfo6 libudev1 ncurses-base ncurses-bin
  openssh-client openssh-server openssh-sftp-server rpcbind tzdata udev
46 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 16.0 MB of archives.
After this operation, 41.0 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://ftp.us.debian.org/debian buster/main armel base-files armel 10.3+deb10u3 [69.8 kB]
Get:2 http://ftp.us.debian.org/debian buster/main armel ncurses-bin armel 6.1+20181013-2+deb10u2 [400 kB]
Get:3 http://ftp.us.debian.org/debian buster/main armel ncurses-base all 6.1+20181013-2+deb10u2 [258 kB]
Get:4 http://ftp.us.debian.org/debian buster/main armel libsystemd0 armel 241-7~deb10u3 [304 kB]
Get:5 http://ftp.us.debian.org/debian buster/main armel initramfs-tools-core all 0.133+deb10u1 [99.2 kB]
Get:6 http://ftp.us.debian.org/debian buster/main armel initramfs-tools all 0.133+deb10u1 [69.7 kB]
Get:7 http://ftp.us.debian.org/debian buster/main armel libext2fs2 armel 1.44.5-1+deb10u3 [206 kB]
Get:8 http://ftp.us.debian.org/debian buster/main armel e2fsprogs armel 1.44.5-1+deb10u3 [546 kB]
Get:9 http://ftp.us.debian.org/debian buster/main armel udev armel 241-7~deb10u3 [1248 kB]
Get:10 http://ftp.us.debian.org/debian buster/main armel libudev1 armel 241-7~deb10u3 [143 kB]
Get:11 http://ftp.us.debian.org/debian buster/main armel bzip2 armel 1.0.6-9.2~deb10u1 [48.1 kB]
Get:12 http://ftp.us.debian.org/debian buster/main armel libbz2-1.0 armel 1.0.6-9.2~deb10u1 [44.7 kB]
Get:13 http://ftp.us.debian.org/debian buster/main armel gpgv armel 2.2.12-1+deb10u1 [552 kB]
Get:14 http://ftp.us.debian.org/debian buster/main armel libidn2-0 armel 2.0.5-1+deb10u1 [73.9 kB]
Get:15 http://ftp.us.debian.org/debian buster/main armel libgnutls30 armel 3.6.7-4+deb10u2 [1048 kB]
Get:16 http://ftp.us.debian.org/debian buster/main armel libncurses6 armel 6.1+20181013-2+deb10u2 [80.6 kB]
Get:17 http://ftp.us.debian.org/debian buster/main armel libtinfo6 armel 6.1+20181013-2+deb10u2 [312 kB]
Get:18 http://ftp.us.debian.org/debian buster/main armel libncursesw6 armel 6.1+20181013-2+deb10u2 [105 kB]
Get:19 http://ftp.us.debian.org/debian buster/main armel tzdata all 2019c-0+deb10u1 [261 kB]
Get:20 http://ftp.us.debian.org/debian buster/main armel openssh-sftp-server armel 1:7.9p1-10+deb10u2 [38.7 kB]
Get:21 http://ftp.us.debian.org/debian buster/main armel libcom-err2 armel 1.44.5-1+deb10u3 [67.7 kB]
Get:22 http://ftp.us.debian.org/debian buster/main armel libssl1.1 armel 1.1.1d-0+deb10u2 [1269 kB]
Get:23 http://ftp.us.debian.org/debian buster/main armel openssh-server armel 1:7.9p1-10+deb10u2 [311 kB]
Get:24 http://ftp.us.debian.org/debian buster/main armel openssh-client armel 1:7.9p1-10+deb10u2 [690 kB]
Get:25 http://ftp.us.debian.org/debian buster/main armel gpgsm armel 2.2.12-1+deb10u1 [569 kB]
Get:26 http://ftp.us.debian.org/debian buster/main armel gpg-wks-server armel 2.2.12-1+deb10u1 [463 kB]
Get:27 http://ftp.us.debian.org/debian buster/main armel gpg-wks-client armel 2.2.12-1+deb10u1 [468 kB]
Get:28 http://ftp.us.debian.org/debian buster/main armel gnupg-utils armel 2.2.12-1+deb10u1 [778 kB]
Get:29 http://ftp.us.debian.org/debian buster/main armel gpg-agent armel 2.2.12-1+deb10u1 [575 kB]
Get:30 http://ftp.us.debian.org/debian buster/main armel gpg armel 2.2.12-1+deb10u1 [796 kB]
Get:31 http://ftp.us.debian.org/debian buster/main armel gnupg-l10n all 2.2.12-1+deb10u1 [1010 kB]
Get:32 http://ftp.us.debian.org/debian buster/main armel dirmngr armel 2.2.12-1+deb10u1 [667 kB]
Get:33 http://ftp.us.debian.org/debian buster/main armel gnupg all 2.2.12-1+deb10u1 [715 kB]
Get:34 http://ftp.us.debian.org/debian buster/main armel gpgconf armel 2.2.12-1+deb10u1 [491 kB]
Get:35 http://ftp.us.debian.org/debian buster/main armel libsasl2-modules-db armel 2.1.27+dfsg-1+deb10u1 [67.5 kB]
Get:36 http://ftp.us.debian.org/debian buster/main armel libsasl2-2 armel 2.1.27+dfsg-1+deb10u1 [98.6 kB]
Get:37 http://ftp.us.debian.org/debian buster/main armel libldap-common all 2.4.47+dfsg-3+deb10u1 [89.6 kB]
Get:38 http://ftp.us.debian.org/debian buster/main armel libldap-2.4-2 armel 2.4.47+dfsg-3+deb10u1 [201 kB]
Get:39 http://ftp.us.debian.org/debian buster/main armel e2fslibs armel 1.44.5-1+deb10u3 [64.2 kB]
Get:40 http://ftp.us.debian.org/debian buster/main armel libcomerr2 armel 1.44.5-1+deb10u3 [64.2 kB]
Get:41 http://ftp.us.debian.org/debian buster/main armel libexpat1 armel 2.2.6-2+deb10u1 [77.0 kB]
Get:42 http://ftp.us.debian.org/debian buster/main armel libncursesw5 armel 6.1+20181013-2+deb10u2 [96.3 kB]
Get:43 http://ftp.us.debian.org/debian buster/main armel libncurses5 armel 6.1+20181013-2+deb10u2 [77.3 kB]
Get:44 http://ftp.us.debian.org/debian buster/main armel libtinfo5 armel 6.1+20181013-2+deb10u2 [309 kB]
Get:45 http://ftp.us.debian.org/debian buster/main armel libss2 armel 1.44.5-1+deb10u3 [71.1 kB]
Get:46 http://ftp.us.debian.org/debian buster/main armel rpcbind armel 1.2.5-0.3+deb10u1 [42.2 kB]
Fetched 16.0 MB in 6s (2530 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 12995 files and directories currently installed.)
Preparing to unpack .../base-files_10.3+deb10u3_armel.deb ...
Unpacking base-files (10.3+deb10u3) over (10.3) ...
Setting up base-files (10.3+deb10u3) ...
Installing new version of config file /etc/debian_version ...
(Reading database ... 12995 files and directories currently installed.)
Preparing to unpack .../ncurses-bin_6.1+20181013-2+deb10u2_armel.deb ...
Unpacking ncurses-bin (6.1+20181013-2+deb10u2) over (6.1+20181013-2) ...
Setting up ncurses-bin (6.1+20181013-2+deb10u2) ...
(Reading database ... 12995 files and directories currently installed.)
Preparing to unpack .../ncurses-base_6.1+20181013-2+deb10u2_all.deb ...
Unpacking ncurses-base (6.1+20181013-2+deb10u2) over (6.1+20181013-2) ...
Setting up ncurses-base (6.1+20181013-2+deb10u2) ...
(Reading database ... 12995 files and directories currently installed.)
Preparing to unpack .../libsystemd0_241-7~deb10u3_armel.deb ...
Unpacking libsystemd0:armel (241-7~deb10u3) over (241-5) ...
Setting up libsystemd0:armel (241-7~deb10u3) ...
(Reading database ... 12995 files and directories currently installed.)
Preparing to unpack .../initramfs-tools-core_0.133+deb10u1_all.deb ...
Unpacking initramfs-tools-core (0.133+deb10u1) over (0.133) ...
Preparing to unpack .../initramfs-tools_0.133+deb10u1_all.deb ...
Unpacking initramfs-tools (0.133+deb10u1) over (0.133) ...
Preparing to unpack .../libext2fs2_1.44.5-1+deb10u3_armel.deb ...
Unpacking libext2fs2:armel (1.44.5-1+deb10u3) over (1.44.5-1) ...
Setting up libext2fs2:armel (1.44.5-1+deb10u3) ...
(Reading database ... 12995 files and directories currently installed.)
Preparing to unpack .../e2fsprogs_1.44.5-1+deb10u3_armel.deb ...
Unpacking e2fsprogs (1.44.5-1+deb10u3) over (1.44.5-1) ...
Preparing to unpack .../udev_241-7~deb10u3_armel.deb ...
Unpacking udev (241-7~deb10u3) over (241-5) ...
Preparing to unpack .../libudev1_241-7~deb10u3_armel.deb ...
Unpacking libudev1:armel (241-7~deb10u3) over (241-5) ...
Setting up libudev1:armel (241-7~deb10u3) ...
(Reading database ... 12995 files and directories currently installed.)
Preparing to unpack .../bzip2_1.0.6-9.2~deb10u1_armel.deb ...
Unpacking bzip2 (1.0.6-9.2~deb10u1) over (1.0.6-9.1) ...
Preparing to unpack .../libbz2-1.0_1.0.6-9.2~deb10u1_armel.deb ...
Unpacking libbz2-1.0:armel (1.0.6-9.2~deb10u1) over (1.0.6-9.1) ...
Setting up libbz2-1.0:armel (1.0.6-9.2~deb10u1) ...
(Reading database ... 12995 files and directories currently installed.)
Preparing to unpack .../gpgv_2.2.12-1+deb10u1_armel.deb ...
Unpacking gpgv (2.2.12-1+deb10u1) over (2.2.12-1) ...
Setting up gpgv (2.2.12-1+deb10u1) ...
(Reading database ... 12995 files and directories currently installed.)
Preparing to unpack .../libidn2-0_2.0.5-1+deb10u1_armel.deb ...
Unpacking libidn2-0:armel (2.0.5-1+deb10u1) over (2.0.5-1) ...
Setting up libidn2-0:armel (2.0.5-1+deb10u1) ...
(Reading database ... 12995 files and directories currently installed.)
Preparing to unpack .../libgnutls30_3.6.7-4+deb10u2_armel.deb ...
Unpacking libgnutls30:armel (3.6.7-4+deb10u2) over (3.6.7-4) ...
Setting up libgnutls30:armel (3.6.7-4+deb10u2) ...
(Reading database ... 12995 files and directories currently installed.)
Preparing to unpack .../libncurses6_6.1+20181013-2+deb10u2_armel.deb ...
Unpacking libncurses6:armel (6.1+20181013-2+deb10u2) over (6.1+20181013-2) ...
Preparing to unpack .../libtinfo6_6.1+20181013-2+deb10u2_armel.deb ...
Unpacking libtinfo6:armel (6.1+20181013-2+deb10u2) over (6.1+20181013-2) ...
Setting up libtinfo6:armel (6.1+20181013-2+deb10u2) ...
(Reading database ... 12995 files and directories currently installed.)
Preparing to unpack .../libncursesw6_6.1+20181013-2+deb10u2_armel.deb ...
Unpacking libncursesw6:armel (6.1+20181013-2+deb10u2) over (6.1+20181013-2) ...
Setting up libncursesw6:armel (6.1+20181013-2+deb10u2) ...
(Reading database ... 12995 files and directories currently installed.)
Preparing to unpack .../00-tzdata_2019c-0+deb10u1_all.deb ...
Unpacking tzdata (2019c-0+deb10u1) over (2019b-0+deb10u1) ...
Preparing to unpack .../01-openssh-sftp-server_1%3a7.9p1-10+deb10u2_armel.deb ...
Unpacking openssh-sftp-server (1:7.9p1-10+deb10u2) over (1:7.9p1-10) ...
Preparing to unpack .../02-libcom-err2_1.44.5-1+deb10u3_armel.deb ...
Unpacking libcom-err2:armel (1.44.5-1+deb10u3) over (1.44.5-1) ...
Preparing to unpack .../03-libssl1.1_1.1.1d-0+deb10u2_armel.deb ...
Unpacking libssl1.1:armel (1.1.1d-0+deb10u2) over (1.1.1c-1) ...
Preparing to unpack .../04-openssh-server_1%3a7.9p1-10+deb10u2_armel.deb ...
Unpacking openssh-server (1:7.9p1-10+deb10u2) over (1:7.9p1-10) ...
Preparing to unpack .../05-openssh-client_1%3a7.9p1-10+deb10u2_armel.deb ...
Unpacking openssh-client (1:7.9p1-10+deb10u2) over (1:7.9p1-10) ...
Preparing to unpack .../06-gpgsm_2.2.12-1+deb10u1_armel.deb ...
Unpacking gpgsm (2.2.12-1+deb10u1) over (2.2.12-1) ...
Preparing to unpack .../07-gpg-wks-server_2.2.12-1+deb10u1_armel.deb ...
Unpacking gpg-wks-server (2.2.12-1+deb10u1) over (2.2.12-1) ...
Preparing to unpack .../08-gpg-wks-client_2.2.12-1+deb10u1_armel.deb ...
Unpacking gpg-wks-client (2.2.12-1+deb10u1) over (2.2.12-1) ...
Preparing to unpack .../09-gnupg-utils_2.2.12-1+deb10u1_armel.deb ...
Unpacking gnupg-utils (2.2.12-1+deb10u1) over (2.2.12-1) ...
Preparing to unpack .../10-gpg-agent_2.2.12-1+deb10u1_armel.deb ...
Unpacking gpg-agent (2.2.12-1+deb10u1) over (2.2.12-1) ...
Preparing to unpack .../11-gpg_2.2.12-1+deb10u1_armel.deb ...
Unpacking gpg (2.2.12-1+deb10u1) over (2.2.12-1) ...
Preparing to unpack .../12-gnupg-l10n_2.2.12-1+deb10u1_all.deb ...
Unpacking gnupg-l10n (2.2.12-1+deb10u1) over (2.2.12-1) ...
Preparing to unpack .../13-dirmngr_2.2.12-1+deb10u1_armel.deb ...
Unpacking dirmngr (2.2.12-1+deb10u1) over (2.2.12-1) ...
Preparing to unpack .../14-gnupg_2.2.12-1+deb10u1_all.deb ...
Unpacking gnupg (2.2.12-1+deb10u1) over (2.2.12-1) ...
Preparing to unpack .../15-gpgconf_2.2.12-1+deb10u1_armel.deb ...
Unpacking gpgconf (2.2.12-1+deb10u1) over (2.2.12-1) ...
Preparing to unpack .../16-libsasl2-modules-db_2.1.27+dfsg-1+deb10u1_armel.deb ...
Unpacking libsasl2-modules-db:armel (2.1.27+dfsg-1+deb10u1) over (2.1.27+dfsg-1) ...
Preparing to unpack .../17-libsasl2-2_2.1.27+dfsg-1+deb10u1_armel.deb ...
Unpacking libsasl2-2:armel (2.1.27+dfsg-1+deb10u1) over (2.1.27+dfsg-1) ...
Preparing to unpack .../18-libldap-common_2.4.47+dfsg-3+deb10u1_all.deb ...
Unpacking libldap-common (2.4.47+dfsg-3+deb10u1) over (2.4.47+dfsg-3) ...
Preparing to unpack .../19-libldap-2.4-2_2.4.47+dfsg-3+deb10u1_armel.deb ...
Unpacking libldap-2.4-2:armel (2.4.47+dfsg-3+deb10u1) over (2.4.47+dfsg-3) ...
Preparing to unpack .../20-e2fslibs_1.44.5-1+deb10u3_armel.deb ...
Unpacking e2fslibs:armel (1.44.5-1+deb10u3) over (1.44.5-1) ...
Preparing to unpack .../21-libcomerr2_1.44.5-1+deb10u3_armel.deb ...
Unpacking libcomerr2:armel (1.44.5-1+deb10u3) over (1.44.5-1) ...
Preparing to unpack .../22-libexpat1_2.2.6-2+deb10u1_armel.deb ...
Unpacking libexpat1:armel (2.2.6-2+deb10u1) over (2.2.6-2) ...
Preparing to unpack .../23-libncursesw5_6.1+20181013-2+deb10u2_armel.deb ...
Unpacking libncursesw5:armel (6.1+20181013-2+deb10u2) over (6.1+20181013-2) ...
Preparing to unpack .../24-libncurses5_6.1+20181013-2+deb10u2_armel.deb ...
Unpacking libncurses5:armel (6.1+20181013-2+deb10u2) over (6.1+20181013-2) ...
Preparing to unpack .../25-libtinfo5_6.1+20181013-2+deb10u2_armel.deb ...
Unpacking libtinfo5:armel (6.1+20181013-2+deb10u2) over (6.1+20181013-2) ...
Preparing to unpack .../26-libss2_1.44.5-1+deb10u3_armel.deb ...
Unpacking libss2:armel (1.44.5-1+deb10u3) over (1.44.5-1) ...
Preparing to unpack .../27-rpcbind_1.2.5-0.3+deb10u1_armel.deb ...
Unpacking rpcbind (1.2.5-0.3+deb10u1) over (1.2.5-0.3) ...
Setting up libexpat1:armel (2.2.6-2+deb10u1) ...
Setting up e2fslibs:armel (1.44.5-1+deb10u3) ...
Setting up libssl1.1:armel (1.1.1d-0+deb10u2) ...
Setting up rpcbind (1.2.5-0.3+deb10u1) ...
[ ok ] Stopping RPC port mapper daemon: rpcbind.
[ ok ] Starting RPC port mapper daemon: rpcbind.
Setting up libcom-err2:armel (1.44.5-1+deb10u3) ...
Setting up bzip2 (1.0.6-9.2~deb10u1) ...
Setting up libldap-common (2.4.47+dfsg-3+deb10u1) ...
Setting up libsasl2-modules-db:armel (2.1.27+dfsg-1+deb10u1) ...
Setting up tzdata (2019c-0+deb10u1) ...

Current default time zone: 'SystemV/PST8PDT'
Local time is now:      Sun Mar  1 15:00:13 PST 2020.
Universal Time is now:  Sun Mar  1 23:00:13 UTC 2020.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up gnupg-l10n (2.2.12-1+deb10u1) ...
Setting up libncurses6:armel (6.1+20181013-2+deb10u2) ...
Setting up udev (241-7~deb10u3) ...
[ ok ] Stopping hotplug events dispatcher: systemd-udevd.
[ ok ] Starting hotplug events dispatcher: systemd-udevd.
update-initramfs: deferring update (trigger activated)
Setting up libss2:armel (1.44.5-1+deb10u3) ...
Setting up libsasl2-2:armel (2.1.27+dfsg-1+deb10u1) ...
Setting up libcomerr2:armel (1.44.5-1+deb10u3) ...
Setting up gpgconf (2.2.12-1+deb10u1) ...
Setting up libtinfo5:armel (6.1+20181013-2+deb10u2) ...
Setting up gpg (2.2.12-1+deb10u1) ...
Setting up gnupg-utils (2.2.12-1+deb10u1) ...
Setting up gpg-agent (2.2.12-1+deb10u1) ...
Setting up openssh-client (1:7.9p1-10+deb10u2) ...
Setting up gpgsm (2.2.12-1+deb10u1) ...
Setting up libldap-2.4-2:armel (2.4.47+dfsg-3+deb10u1) ...
Setting up e2fsprogs (1.44.5-1+deb10u3) ...
update-initramfs: deferring update (trigger activated)
Setting up libncurses5:armel (6.1+20181013-2+deb10u2) ...
Setting up dirmngr (2.2.12-1+deb10u1) ...
Setting up gpg-wks-server (2.2.12-1+deb10u1) ...
Setting up libncursesw5:armel (6.1+20181013-2+deb10u2) ...
Setting up initramfs-tools-core (0.133+deb10u1) ...
Setting up openssh-sftp-server (1:7.9p1-10+deb10u2) ...
Setting up initramfs-tools (0.133+deb10u1) ...
update-initramfs: deferring update (trigger activated)
Setting up gpg-wks-client (2.2.12-1+deb10u1) ...
Setting up openssh-server (1:7.9p1-10+deb10u2) ...
[ ok ] Restarting OpenBSD Secure Shell server: sshd.
Setting up gnupg (2.2.12-1+deb10u1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for ntp (1:4.2.8p12+dfsg-4) ...
[ ok ] Stopping NTP server: ntpd.
[ ok ] Starting NTP server: ntpd.
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for initramfs-tools (0.133+deb10u1) ...
root@debian:/boot# mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e
x00000000 -n initramfs-5.2.9-kirkwood-tld-1 -d initrd.img-5.2.9-kirkwood-tld-1
Initrd000 -n initramfs-5.2.9-kirkwood-tld-1 -d initrd.img-5.2.9-kirkwood-tld-1 uI
Image Name:   initramfs-5.2.9-kirkwood-tld-1
Created:      Sun Mar  1 15:04:27 2020
Image Type:   ARM Linux RAMDisk Image (gzip compressed)
Data Size:    9788423 Bytes = 9559.01 KiB = 9.33 MiB
Load Address: 00000000
Entry Point:  00000000
root@debian:/boot#
implement NOTE2

root@debian:/boot# fw_setenv set_bootargs 'setenv bootargs console=ttyS0,115200
root=LABEL=rootfs rootdelay=10 $mtdparts init=/etc/systemd'console=ttyS0,115200 r
Warning: Bad CRC, using default environment                console=ttyS0,115200 r
root@debian:/boot# cd
=LABEL=rootfs rootdelay=10 $mtdparts init=/etc/systemd'console=ttyS0,115200 root
root@debian:~#

IS this OK? and how do i proceed from here?

And back to the bootcmd, as i understand they are not saved now so will not debian boot if i restart?

My goal is to run motioneye, what more should i do before that you think?

/Martin
Re: Help booting Netgear Stora
March 02, 2020 01:22AM
Martin,

Every was OK until this point.

root@debian:/boot# mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e
x00000000 -n initramfs-5.2.9-kirkwood-tld-1 -d initrd.img-5.2.9-kirkwood-tld-1
Initrd000 -n initramfs-5.2.9-kirkwood-tld-1 -d initrd.img-5.2.9-kirkwood-tld-1 uI
Image Name:   initramfs-5.2.9-kirkwood-tld-1
Created:      Sun Mar  1 15:04:27 2020
Image Type:   ARM Linux RAMDisk Image (gzip compressed)
Data Size:    9788423 Bytes = 9559.01 KiB = 9.33 MiB
Load Address: 00000000
Entry Point:  00000000
root@debian:/boot#
implement NOTE2 

root@debian:/boot# fw_setenv set_bootargs 'setenv bootargs console=ttyS0,115200
root=LABEL=rootfs rootdelay=10 $mtdparts init=/etc/systemd'console=ttyS0,115200 r
Warning: Bad CRC, using default environment                console=ttyS0,115200 r
root@debian:/boot# cd
=LABEL=rootfs rootdelay=10 $mtdparts init=/etc/systemd'console=ttyS0,115200 root
root@debian:~#

Your log was cut off, so I cannot see clearly what's going on. Please repost the log from here

root@debian:/boot# mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e
x00000000 -n initramfs-5.2.9-kirkwood-tld-1 -d initrd.img-5.2.9-kirkwood-tld-1
Initrd000 -n initramfs-5.2.9-kirkwood-tld-1 -d initrd.img-5.2.9-kirkwood-tld-1 uI

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



Edited 1 time(s). Last edit at 03/02/2020 02:02AM by bodhi.
Re: Help booting Netgear Stora
March 02, 2020 03:08PM
I sniped my putty log but i don't know how to recreate log if it's possible? when i try typing the line and at the end it seams to copy all to the next row and then writing over that with the rest.

hope you understand my bad english :)

In the log you see at the left what i have copy/paste in,

In NOTE2 i have changed init=/bin/systemd to init=/etc/systemd because i search for systemd and found that folder under etc.

thanks again for the help

/Martin
Attachments:
open | download - Log.png (200.1 KB)
Re: Help booting Netgear Stora
March 02, 2020 05:38PM
Martin,

No, it did not help.

You need to highlight the log inside your Putty terminal and then Right-click-->Copy (or Control-C to copy). Go back to the forum and paste (Control-V) it to the post.


From your log above (except the part where I could not read at the end of NOTE1 and NOTE2). Everything is OK.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Help booting Netgear Stora
March 02, 2020 07:38PM
bodhi,

Ok, my log is messed up now so i made a reboot and now it will not boot again :(

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: RD-88F6281A LE

U-Boot 1.1.4 (Aug 19 2009 - 19:25:43) Marvell version: 3.4.14

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

Soc: 88F6281 A0 (DDR2)
CPU running @ 1000Mhz L2 running @ 333Mhz
SysClock = 333Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size  64MB
DRAM CS[1] base 0x04000000   size  64MB
DRAM Total size 128MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:256 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled

Module 0 is RGMII
Module 1 is TDM

USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0, egiga1 [PRIME]
Hit any key to stop autoboot:  0
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... Device NOT ready
   Request Sense returned 00 00 00
0 Storage Device(s) found
** Bad partition 1 **
** Bad partition 1 **
## Booting image at 00800000 ...
Bad Magic Number
Marvell>>  printenv
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
CASset=min
MALLOC_len=1
ethprime=egiga1
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImcge
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
eth1addr=00:50:43:00:02:02
eth1mtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loidaddr=0x02000000
autoload=no
enaICPr%f=yes
fw_up=disable
bootargs_root=ubi.mtd=2,2048 root=ubi0:rootfs rootfstype=ubifs init=/linuxrc
console=console=ttyS0,115200
ethaddr=00:26:F2:0B:E1:CC
loadaddr=0x02000000
arcNumber=2743
ipaddr=192.168.1.26
serverip=192.168.1.21
bootcmd_usb=usb reset; ext2load usb 0:1 0x800000 /boot/uImage; ext2load usb 0:1 0x2100000 /boot/uInitrd
bootcmd=setenv bootargs $(console) root=LABEL=rootfs rootdelay=8; run bootcmd_usb; bootm 0x800000 0x2100000
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=yes
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
hddPowerCtrl=no
enaAutoRecovery=no
ethact=egiga1
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=8

Environment size: 1438/131068 bytes
Marvell>>

/Martin
Re: Help booting Netgear Stora
March 03, 2020 12:22AM
Martin,

Your u-boot envs look OK. But the USB drive is bad again! You need to double check how you create the parttion, and tar the rootfs, and if you have sync it before unmount.

> (Re)start USB...
> USB: scanning bus for devices... 2 USB Device(s)
> found
> scanning bus for storage devices... Device
> NOT ready
> Request Sense returned 00 00 00
> 0 Storage Device(s) found
> ** Bad partition 1 **
> ** Bad partition 1 **

Which brand of the USB flash drive are you using? If you keep having problem similar to this, try switching to another USB flash. The best brand for a rootfs is Sandisk (based on my experience).

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Help booting Netgear Stora
March 03, 2020 02:12AM
At first i used a Corsair Flash Voyager® GTR 32GB USB Flash Drive then
i tried to use a Corsair SSD Force Series F60, 60GB and that was the one i manage to boot with the second time(created as Ext3, primary partition). I have one Sandisk 8gb that i will try.

Is it ment to just run debian with this usb or can i mount a sata disk and put debian there?

/Martin
Re: Help booting Netgear Stora
March 03, 2020 03:15AM
Re: Help booting Netgear Stora
March 05, 2020 03:25PM
Hi bodhi,

thanks for all the help,

I made a new rootfs on a Sandisk and it started, so now i can connect to it by ssh and reboot works fine.

Should i try to implement a new u boot or just leave it as it is? and why do i need a new u-boot?


/Martin
Re: Help booting Netgear Stora
March 05, 2020 06:13PM
Only if you need the features that new uboot provides:


Quote

These images support the following latest U-Boot features (among others):

- both FDT and non-FDT kernel booting
- supports EFI/GPT partition > 2TB (SATA and USB) either for booting or just attached.
- boot Ext4 rootfs
- SNTP (Simple NTP to set date time during U-Boot booting)
- bootz (boot with zImage).
- Ability to customize u-boot envs in a script (uEnv.txt) during boot, without committing changes to NAND (see section C for instruction). This feature also can be used for rescue purpose where the u-boot envs were messed up, or when the NAND envs block is bad.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Help booting Netgear Stora
March 06, 2020 05:08PM
Martin,

If you have serial console and can kwboot the new u-boot, then I'd say upgrade it now, instead of waiting untill you have to (i.e. want to use Ext4 or large HDD).

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Help booting Netgear Stora
March 12, 2020 02:24AM
Hi Bodhi!


Now something has gone wrong again :) i think i manage to flash the new uboot, and then i rebooted i got this,
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:38:05 -0700)
Netgear Stora MS2110

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
PHY reset timed out
88E1116 Initialized on egiga0
Using egiga0 device
host 192.168.1.21 is alive
Using egiga0 device
host 192.168.1.21 is alive
Using egiga0 device
host 192.168.1.21 is alive
Using egiga0 device
host 192.168.1.21 is alive
Using egiga0 device
host 192.168.1.21 is alive
Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.2.9-kirkwood-tld-1 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache
[    0.000000][    T0] OF: fdt: Machine model: NETGEAR MS2000 / MS2110 aka Stora
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000][    T0] Kernel command line: console=ttyS0,115200n8 earlyprintk
[    0.000000][    T0] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000][    T0] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000][    T0] Memory: 114320K/131072K available (9216K kernel code, 868K rwdata, 3400K rodata, 1024K init, 301K bss, 16752K reserved, 0K cma-reserved)
[    0.000000][    T0] random: get_random_u32 called from cache_alloc_refill+0x38c/0x928 with crng_init=0
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000012][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008614][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.016152][    T0] Console: colour dummy device 80x30
[    0.021419][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032760][    T0] pid_max: default: 32768 minimum: 301
[    0.038542][    T0] LSM: Security Framework initializing
[    0.044152][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.051572][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.060536][    T0] *** VALIDATE proc ***
[    0.064892][    T0] *** VALIDATE cgroup1 ***
[    0.069260][    T0] *** VALIDATE cgroup2 ***
[    0.073672][    T0] CPU: Testing write buffer coherency: ok
[    0.081391][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.088776][    T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.094955][    T1] rcu: Hierarchical SRCU implementation.
[    0.104388][    T1] devtmpfs: initialized
[    0.115039][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.125735][    T1] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.132963][    T1] xor: measuring software checksum speed
[    0.228646][    T1]    arm4regs  :   902.400 MB/sec
[    0.328650][    T1]    8regs     :   542.000 MB/sec
[    0.428647][    T1]    32regs    :   788.000 MB/sec
[    0.433558][    T1] xor: using function: arm4regs (902.400 MB/sec)
[    0.439822][    T1] prandom: seed boundary self test passed
[    0.450499][    T1] prandom: 100 self tests passed
[    0.455321][    T1] pinctrl core: initialized pinctrl subsystem
[    0.463066][    T1] NET: Registered protocol family 16
[    0.468878][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.477475][    T1] audit: initializing netlink subsys (disabled)
[    0.485155][   T14] audit: type=2000 audit(0.470:1): state=initialized audit_enabled=0 res=1
[    0.493821][    T1] cpuidle: using governor ladder
[    0.498800][    T1] cpuidle: using governor menu
[    0.504022][    T1] Feroceon L2: Enabling L2
[    0.508362][    T1] Feroceon L2: Cache support initialised.
[    0.521247][    T1] No ATAGs?
[    2.568623][    C0] random: fast init done
[    7.680083][   T71] alg: No test for lzo-rle (lzo-rle-generic)
[    7.686346][   T73] alg: No test for lzo-rle (lzo-rle-scomp)
[    7.869352][    T1] raid6: int32x8  gen()   106 MB/s
[    8.039051][    T1] raid6: int32x8  xor()    72 MB/s
[    8.209082][    T1] raid6: int32x4  gen()   107 MB/s
[    8.378810][    T1] raid6: int32x4  xor()    69 MB/s
[    8.548752][    T1] raid6: int32x2  gen()   110 MB/s
[    8.718707][    T1] raid6: int32x2  xor()    78 MB/s
[    8.889097][    T1] raid6: int32x1  gen()    83 MB/s
[    9.058766][    T1] raid6: int32x1  xor()    57 MB/s
[    9.063753][    T1] raid6: using algorithm int32x2 gen() 110 MB/s
[    9.069893][    T1] raid6: .... xor() 78 MB/s, rmw enabled
[    9.075402][    T1] raid6: using intx1 recovery algorithm
[    9.081142][    T1] vgaarb: loaded
[    9.085181][    T1] SCSI subsystem initialized
[    9.090282][    T1] usbcore: registered new interface driver usbfs
[    9.096557][    T1] usbcore: registered new interface driver hub
[    9.102751][    T1] usbcore: registered new device driver usb
[    9.108771][    T1] pps_core: LinuxPPS API ver. 1 registered
[    9.114460][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    9.124379][    T1] PTP clock support registered
[    9.130547][    T1] clocksource: Switched to clocksource orion_clocksource
[   10.382545][    T1] VFS: Disk quotas dquot_6.6.0
[   10.387284][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   10.406838][    T1] NET: Registered protocol family 2
[   10.412946][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[   10.421456][    T1] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[   10.429165][    T1] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[   10.436324][    T1] TCP: Hash tables configured (established 1024 bind 1024)
[   10.443570][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   10.450147][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   10.457450][    T1] NET: Registered protocol family 1
[   10.463336][    T1] RPC: Registered named UNIX socket transport module.
[   10.469984][    T1] RPC: Registered udp transport module.
[   10.475506][    T1] RPC: Registered tcp transport module.
[   10.480964][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   10.488136][    T1] PCI: CLS 0 bytes, default 32
[   10.493231][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[   10.501888][    T1] Initialise system trusted keyrings
[   10.507098][    T1] Key type blacklist registered
[   10.512151][    T1] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[   10.519413][    T1] zbud: loaded
[   10.524087][    T1] NFS: Registering the id_resolver key type
[   10.529882][    T1] Key type id_resolver registered
[   10.534919][    T1] Key type id_legacy registered
[   10.539664][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[   10.547132][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   10.554594][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[   10.562686][    T1] fuse: init (API version 7.31)
[   10.567877][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[   10.575313][    T1] orangefs_init: module version upstream loaded
[   10.581465][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[   10.593849][    T1] async_tx: api initialized (async)
[   10.598942][    T1] Key type asymmetric registered
[   10.603851][    T1] Asymmetric key parser 'x509' registered
[   10.609510][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[   10.619417][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[   10.629917][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[   10.638361][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[   10.644648][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[   10.652317][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[   10.659443][    T1] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400
[   10.666245][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[   10.675312][    T1] PCI: bus0: Fast back to back transfers disabled
[   10.681668][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[   10.691962][    T1] PCI: bus1: Fast back to back transfers enabled
[   10.698187][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[   10.705792][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe00007ff pref]
[   10.713781][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[   10.720211][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[   10.781537][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[   10.792114][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[   10.861559][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[   10.872441][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   10.881136][    T1] printk: console [ttyS0] disabled
[   10.886199][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[   10.896030][    T1] printk: console [ttyS0] enabled
[   10.896030][    T1] printk: console [ttyS0] enabled
[   10.905892][    T1] printk: bootconsole [earlycon0] disabled
[   10.905892][    T1] printk: bootconsole [earlycon0] disabled
[   10.926597][    T1] loop: module loaded
[   10.931225][    T1] sata_mv f1080000.sata: slots 32 ports 2
[   10.940222][    T1] scsi host0: sata_mv
[   10.944861][    T1] scsi host1: sata_mv
[   10.949086][    T1] ata1: SATA max UDMA/133 irq 33
[   10.953974][    T1] ata2: SATA max UDMA/133 irq 33
[   10.960018][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda
[   10.967207][    T1] nand: Samsung NAND 256MiB 3,3V 8-bit
[   10.972579][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[   10.980918][    T1] Scanning device for bad blocks
[   11.181121][    T1] Bad eraseblock 1824 at 0x00000e400000
[   11.186639][    T1] Bad eraseblock 1825 at 0x00000e420000
[   11.215974][    T1] 3 fixed-partitions partitions found on MTD device orion_nand
[   11.223462][    T1] Creating 3 MTD partitions on "orion_nand":
[   11.229362][    T1] 0x000000000000-0x000000100000 : "u-boot"
[   11.236701][    T1] 0x000000100000-0x000000700000 : "uImage"
[   11.244002][    T1] 0x000000700000-0x000010000000 : "root"
[   11.253614][    T1] libphy: Fixed MDIO Bus: probed
[   11.259463][    T1] libphy: orion_mdio_bus: probed
[   11.264385][    T1] [Firmware Warn]: /ocp@f1000000/mdio-bus@72004/ethernet-phy@8: Whitelisted compatible string. Please remove
[   11.277261][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   11.284877][  T112] ata1: SATA link down (SStatus 0 SControl F300)
[   11.291743][    T1] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set
[   11.632219][  T114] ata2: SATA link down (SStatus 0 SControl F300)
[   12.011335][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:00:11:22:33:44
[   12.020991][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   12.028279][    T1] ehci-pci: EHCI PCI platform driver
[   12.033548][    T1] ehci-orion: EHCI orion driver
[   12.038512][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[   12.044800][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[   12.053430][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[   12.080597][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[   12.087683][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.02
[   12.096860][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   12.104858][    T1] usb usb1: Product: EHCI Host Controller
[   12.110466][    T1] usb usb1: Manufacturer: Linux 5.2.9-kirkwood-tld-1 ehci_hcd
[   12.117841][    T1] usb usb1: SerialNumber: f1050000.ehci
[   12.124022][    T1] hub 1-0:1.0: USB hub found
[   12.128546][    T1] hub 1-0:1.0: 1 port detected
[   12.134103][    T1] usbcore: registered new interface driver usb-storage
[   12.141343][    T1] mousedev: PS/2 mouse device common for all mice
[   12.500593][   T15] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   12.701562][   T15] usb 1-1: New USB device found, idVendor=0781, idProduct=5571, bcdDevice= 1.26
[   12.710497][   T15] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   12.718415][   T15] usb 1-1: Product: Cruzer Fit
[   12.723087][   T15] usb 1-1: Manufacturer: SanDisk
[   12.727902][   T15] usb 1-1: SerialNumber: 4C530201901016123495
[   12.734789][   T15] usb-storage 1-1:1.0: USB Mass Storage device detected
[   12.742192][   T15] scsi host2: usb-storage 1-1:1.0
[   13.210594][    T1] rtc-mv f1010300.rtc: internal RTC not ticking
[   13.216922][    T1] i2c /dev entries driver
[   13.228333][    T1] rtc-pcf8563 0-0051: registered as rtc0
[   13.235738][    T1] device-mapper: uevent: version 1.0.3
[   13.241472][    T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com
[   13.251198][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[   13.258460][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[   13.265889][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[   13.273380][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[   13.280209][    T1] device-mapper: raid: Loading target version 1.14.0
[   13.288883][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[   13.295451][    T1] drop_monitor: Initializing network drop monitor service
[   13.302866][    T1] NET: Registered protocol family 17
[   13.308319][    T1] Key type dns_resolver registered
[   13.314293][    T1] registered taskstats version 1
[   13.319115][    T1] Loading compiled-in X.509 certificates
[   13.324756][    T1] zswap: loaded using pool lzo/zbud
[   13.348127][    T1] Key type big_key registered
[   13.356812][    T1] Key type encrypted registered
[   13.365534][    T1] rtc-pcf8563 0-0051: setting system clock to 2020-03-11T22:45:18 UTC (1583966718)
[   13.375957][    T1] md: Waiting for all devices to be available before autodetect
[   13.383580][    T1] md: If you don't use raid, use raid=noautodetect
[   13.390874][    T1] md: Autodetecting RAID arrays.
[   13.395693][    T1] md: autorun ...
[   13.399197][    T1] md: ... autorun DONE.
[   13.403521][    T1] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[   13.411804][    T1] Please append a correct "root=" boot option; here are the available partitions:
[   13.421001][    T1] 1f00            1024 mtdblock0
[   13.421006][    T1]  (driver?)
[   13.428974][    T1] 1f01            6144 mtdblock1
[   13.428978][    T1]  (driver?)
[   13.437012][    T1] 1f02          254976 mtdblock2
[   13.437016][    T1]  (driver?)
[   13.445037][    T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   13.454045][    T1] CPU: 0 PID: 1 Comm: swapper Not tainted 5.2.9-kirkwood-tld-1 #1
[   13.461737][    T1] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[   13.468764][    T1] [<c010f6ac>] (unwind_backtrace) from [<c010bb00>] (show_stack+0x10/0x14)
[   13.477262][    T1] [<c010bb00>] (show_stack) from [<c0119fa0>] (panic+0xe0/0x30c)
[   13.484883][    T1] [<c0119fa0>] (panic) from [<c0e01628>] (mount_block_root+0x1bc/0x2a4)
[   13.493107][    T1] [<c0e01628>] (mount_block_root) from [<c0e017f8>] (mount_root+0xe8/0x154)
[   13.501678][    T1] [<c0e017f8>] (mount_root) from [<c0e019b0>] (prepare_namespace+0x14c/0x18c)
[   13.510424][    T1] [<c0e019b0>] (prepare_namespace) from [<c0e011c8>] (kernel_init_freeable+0x270/0x2dc)
[   13.520047][    T1] [<c0e011c8>] (kernel_init_freeable) from [<c09dcee0>] (kernel_init+0x8/0x10c)
[   13.528973][    T1] [<c09dcee0>] (kernel_init) from [<c01010e0>] (ret_from_fork+0x14/0x34)
[   13.537272][    T1] Exception stack(0xc7881fb0 to 0xc7881ff8)
[   13.543048][    T1] 1fa0:                                     00000000 00000000 00000000 00000000
[   13.551962][    T1] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   13.560880][    T1] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[   13.568233][    T1] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---


And i dont know how to interrupt the autoboot when i power on, so i end up here and can't do anyting.


/Martin
Re: Help booting Netgear Stora
March 12, 2020 04:10AM
Martin,

1. You have set up netconsole. So the output was routed to netconsole when u-boot start.

host 192.168.1.21 is alive

Now open another terminal, and run netconsole and you will see the countdown there.

Or you can change the IP address of the box that you run serial console to make netconsole inactive (and all outout will be routed to serial console).

2. Now you are running the new uboot so you also need to adjust your rootfs to boot with separated DTB.

Mount your Sandisk USB rootfs on another Linux box, and restore the original uImage. Assuming it is mounted at /media/sdb1

Reverse uImage to the original.

cd /media/sdb1/boot
cp -a uImage uImage.with_dtb
cp -a uImage.orig uImage
sync

After that, unmount the USB rootfs and bring it back to the Stora and boot again.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Help booting Netgear Stora
March 15, 2020 09:10AM
Thanks bodhi

Now i'm back on track :)

and now i'm trying to install motioneye
pip install motioneye
and gets a Building wheel for pycurl (setup.py) ... error and Running setup.py install for pycurl ... error

root@debian:/# pip install motioneye
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Processing /root/.cache/pip/wheels/89/5a/74/d7e60f930c14b53b385d64b69080e1637a75f63c2c2cad2e72/motioneye-0.42-py2-none-any.whl
Requirement already satisfied: pillow in /usr/lib/python2.7/dist-packages (from motioneye) (5.4.1)
Requirement already satisfied: jinja2 in /usr/local/lib/python2.7/dist-packages (from motioneye) (2.11.1)
Collecting pycurl
  Using cached pycurl-7.43.0.5.tar.gz (216 kB)
Processing /root/.cache/pip/wheels/d8/83/af/e0dc6afbf3a2c51af8d6e3f9fbe790d0c581c2de05bc5d50f5/tornado-5.1.1-cp27-cp27mu-linux_armv5tel.whl
Requirement already satisfied: MarkupSafe>=0.23 in /usr/local/lib/python2.7/dist-packages (from jinja2->motioneye) (1.1.1)
Collecting backports-abc>=0.4
  Using cached backports_abc-0.5-py2.py3-none-any.whl (5.2 kB)
Collecting singledispatch
  Using cached singledispatch-3.4.0.3-py2.py3-none-any.whl (12 kB)
Collecting futures
  Using cached futures-3.3.0-py2-none-any.whl (16 kB)
Collecting six
  Using cached six-1.14.0-py2.py3-none-any.whl (10 kB)
Building wheels for collected packages: pycurl
  Building wheel for pycurl (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-HIuOzb/pycurl/setup.py'"'"'; __file__='"'"'/tmp/pip-install-HIuOzb/pycurl/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-xjWIjO
       cwd: /tmp/pip-install-HIuOzb/pycurl/
  Complete output (16 lines):
  Using curl-config (libcurl 7.64.0)
  Using SSL library: OpenSSL/LibreSSL/BoringSSL
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-armv5tel-2.7
  creating build/lib.linux-armv5tel-2.7/curl
  copying python/curl/__init__.py -> build/lib.linux-armv5tel-2.7/curl
  running build_ext
  building 'pycurl' extension
  creating build/temp.linux-armv5tel-2.7
  creating build/temp.linux-armv5tel-2.7/src
  arm-linux-gnueabi-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-2x1x1K/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DPYCURL_VERSION="7.43.0.5" -DHAVE_CURL_SSL=1 -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1 -I/usr/include/python2.7 -c src/docstrings.c -o build/temp.linux-armv5tel-2.7/src/docstrings.o
  unable to execute 'arm-linux-gnueabi-gcc': No such file or directory
  error: command 'arm-linux-gnueabi-gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for pycurl
  Running setup.py clean for pycurl
Failed to build pycurl
Installing collected packages: pycurl, backports-abc, six, singledispatch, futures, tornado, motioneye
    Running setup.py install for pycurl ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-HIuOzb/pycurl/setup.py'"'"'; __file__='"'"'/tmp/pip-install-HIuOzb/pycurl/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-7lXoOD/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python2.7/pycurl
         cwd: /tmp/pip-install-HIuOzb/pycurl/
    Complete output (16 lines):
    Using curl-config (libcurl 7.64.0)
    Using SSL library: OpenSSL/LibreSSL/BoringSSL
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-armv5tel-2.7
    creating build/lib.linux-armv5tel-2.7/curl
    copying python/curl/__init__.py -> build/lib.linux-armv5tel-2.7/curl
    running build_ext
    building 'pycurl' extension
    creating build/temp.linux-armv5tel-2.7
    creating build/temp.linux-armv5tel-2.7/src
    arm-linux-gnueabi-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-2x1x1K/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DPYCURL_VERSION="7.43.0.5" -DHAVE_CURL_SSL=1 -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1 -I/usr/include/python2.7 -c src/docstrings.c -o build/temp.linux-armv5tel-2.7/src/docstrings.o
    unable to execute 'arm-linux-gnueabi-gcc': No such file or directory
    error: command 'arm-linux-gnueabi-gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-HIuOzb/pycurl/setup.py'"'"'; __file__='"'"'/tmp/pip-install-HIuOzb/pycurl/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-7lXoOD/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python2.7/pycurl Check the logs for full command output.
root@debian:/# Building wheel for pycurl (setup.py) ... error^C
root@debian:/#

do you how to fix this?

/Martin
Re: Help booting Netgear Stora
March 15, 2020 11:01AM
I'm growing to dislike the python ecosystem/pip for exactly this type of issue.Some packages work like magic others will download 5gigs of libraries and spend 2 hours compiling only to throw an error because you're not running on a raspberrypi.

Fortunately, Debian provides packages for some of the common python libraries that are difficult to build on platforms like armel.

You should be able to save some trouble and use the Debian pycurl package
 apt-get install python-pycurl

Some other tips can be found here:
https://github.com/ccrisan/motioneye/issues/1562
Re: Help booting Netgear Stora
March 15, 2020 09:10PM
Martin,

> Now i'm back on track :)

Cool!

Now, let 10... help you with this motioneye issue. He is much more knowledgeable than I am re this.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Help booting Netgear Stora
March 15, 2020 10:08PM
Lol, i’m just knowledgable enough of Python to know the libraries I’ve written are pretty ugly... though they do get the job done.

I just installed motioneye on a Buster armel system (TS-XL) without much trouble:

apt-get install python3-pip python3-pil python3-pycurl
pip3 install motioneye
Re: Help booting Netgear Stora
March 15, 2020 11:02PM
apt-get install python3-pip python3-pil python3-pycurl 
pip3 install motioneye

That's way more than I know :)


@Martin,
In all cases, Debian repo should be used first. Unless you need something too new that is not avialable yet.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Help booting Netgear Stora
March 15, 2020 11:31PM
Thanks guys!

I installed Debian pycurl package and then I ran
Pip install motioneye
And that worked.

I tried the pip3 earlier and that didn’t work, but maybe I did it the wrong way.

many thanks again

/Martin
Re: Help booting Netgear Stora
March 16, 2020 11:25AM
Looking back, your original error might have been resolved by just installing GCC/etc:
apt-get install build-essential

I still prefer to use the Debian packaged versions in most cases. I usually try to avoid to avoid the extra space required for all the build dependencies and the hassle of building/compiling on these devices where possible.
Re: Help booting Netgear Stora
June 13, 2020 05:23PM
Dear Martin

Bodhi has been helping me with my distressed Netgear Stora which has corrupted environemnts / Bad Magic Number. He advises that I need a friendly Stora owner to send me the recovery image /flashware.img. Do you have it please? Please could you share it with me?

Thanks, Paul
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: