Welcome! Log In Create A New Profile

Advanced

STORA MS 2000 Issues after resetenv

Posted by colibri 
STORA MS 2000 Issues after resetenv
January 09, 2025 08:50AM
Hello everybody.
I follow the guide here, but i've some problems with tfpt.
So i did resetenv. Now the machine doesnt' work. If i do printenv the result are a grey squares.

Are there any solution?
Thanks
Re: STORA MS 2000 Issues after resetenv
January 09, 2025 01:50PM
colibri,

Some of the Stora models has this issue with envs. When you do resetenv and saveenv, you have written the internal envs to flash. But if you only did resetenv without saving it, then it should have not written anything to flash.

Have you recylced the power or reset u-boot? I'm not suggesting you doing these steps, just want to know exactly what the situation is.

=======

We install Debian and u-boot for this box manually here. Use the 2nd link in the Wiki: Boot Kirkwood rootfs with stock u-boot[

Wiki thread

Quote

Kirkwood plugs

Basic steps to install Debian and new u-boot on Kirkwood boxes
Boot Kirkwood rootfs with stock u-boot

After you can run Debian on USB rootfs, consider installing new u-boot (Basic steps to install Debian and new u-boot on Kirkwood boxes).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: STORA MS 2000 Issues after resetenv
January 10, 2025 02:40AM
Hi Bodhi
i typed RESENTEV and later RESET.
After writing RESENTEV i didn't typed SAVEENV.

The stora give me back this screen:
1 screen
2 screen

Will I proceed with 2nd link in the Wiki: Boot Kirkwood rootfs with stock u-boot?


Thank you with all my heart for the answer, I was very worried that I had damaged the system
Re: STORA MS 2000 Issues after resetenv
January 10, 2025 02:05PM
colibri,

This is a known problem with some of the Stora models (it seems there are variations of this Stora, and for some, u-boot is buggy).

> Will I proceed with 2nd link in the Wiki: Boot
> Kirkwood rootfs with stock u-boot?

Yes, don't do any saveenv, just enter the envs to boot into USB Debian rootfs.

To prepare the rootfs Debian-6.5.7-kirkwood-tld-1-rootfs-bodhi.tar.bz2, you will need a Linux system and can become root user. Using Linux VM is fine.

Once you booted into Debian, the envs can be fixed.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: STORA MS 2000 Issues after resetenv
January 12, 2025 04:39AM
.



Edited 1 time(s). Last edit at 01/12/2025 04:52AM by colibri.
Re: STORA MS 2000 Issues after resetenv
January 13, 2025 09:18AM
Hi body
i follow your steps but i had problems.

https://forum.doozan.com/read.php?2,12096 - Updated 01 Nov 2023:

In sudo mode (root user) i had format a new USB drive with a single Ext3 partition, and label it rootfs.
mkfs.ext3 /dev/sdb1
e2label /dev/sdb1 rootfs

i copyed Debian-6.5.7-kirkwood-tld-1-rootfs-bodhi.tar.bz2 from my download folder on /media/colibri/rootfs/
cp Debian-6.5.7-kirkwood-tld-1-rootfs-bodhi.tar.bz2 /media/colibri/rootfs/
now i unziped the file Debian-6.5.7-kirkwood-tld-1-rootfs-bodhi.tar.bz2
cd /media/colibri/rootfs/
tar xjf Debian-6.5.7-kirkwood-tld-1-rootfs-bodhi.tar.bz2
i deleted the file Debian-6.5.7-kirkwood-tld-1-rootfs-bodhi.tar.bz2 from usb drive
rm Debian-6.5.7-kirkwood-tld-1-rootfs-bodhi.tar.bz2

Later i followed your steps. kirkwood-goflexnet was wright.
cd /media/sdb1/boot
cp -a zImage-6.5.7-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-6.5.7-kirkwood-tld-1 -d zImage.fdt  uImage
sync

I put the pen drive usb on stora's usb port.

i typed:
setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'
setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage'
setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd'
setenv usb_boot 'mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000'
setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot'
setenv bootcmd 'usb reset; run usb_bootcmd; usb stop; reset'

the answer was:
setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage'
## Error: environment overflow, "load_uimage" deleted


Same errors on the other commands.

What went wrong?



Edited 1 time(s). Last edit at 01/13/2025 09:21AM by colibri.
Re: STORA MS 2000 Issues after resetenv
January 13, 2025 02:21PM
colibri,

> In sudo mode (root user)

Make sure you become root first, like:
sudo -

> ## Error: environment overflow, "load_uimage" deleted
> What went wrong?

This stock u-boot has a bug that overflow the envs area.

So let try the kwboot approach.

Download the new u-boot for this box from the release thread

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

Quote

https://www.dropbox.com/s/2hrhrwxn9v0892u/uboot.2017.07-tld-1.netgear_ms2110.bodhi.tar
md5
1b09317e896ad928104a1edce459a9f5
sha256
8f5e8b5b33e3979b05698a09a92f99cd41ed04121993058f9b2469122fd280a7

Use the image uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb in the tarball to run kwboot. See the following example:

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

And kwboot must be run from another Linux system. So basically the same Linux host that you run serial console. This Linux host should have the kwboot command.

Once kwboot has loaded the u-boot image to the Stora and run it, you can just let it boot automatically into the USB rootfs.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: STORA MS 2000 Issues after resetenv
January 14, 2025 03:17AM
Hi Bodhi

i downloaded https://www.dropbox.com/s/2hrhrwxn9v0892u/uboot.2017.07-tld-1.netgear_ms2110.bodhi.tar

sudo -i

unziped the file and deleted .tar file
tar -xvf uboot.2017.07-tld-1.netgear_ms2110.bodhi.tar
rm uboot.2017.07-tld-1.netgear_ms2110.bodhi.tar

i was here:
root@colibri-virtualbox:/home/colibri/scaricati#

Nas turned off.
kwboot  -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.nsa210s.mtd0.kwb  -p
the answer was
kwboot version 2024.01
Detected kwbimage v0 with NAND boot signature
Patching image boot signature to UART
Sending boot message. Please reboot the target  (\ | / the cursor was moving)
I turned on the nas.
The led tx/rx on serial port blink but the screen wasnt' change.

second try:
Nas turned on.
Nothing was change.

where am I going wrong?



Edited 1 time(s). Last edit at 01/14/2025 11:48AM by colibri.
Re: STORA MS 2000 Issues after resetenv
January 14, 2025 01:55PM
colibri,

> i downloaded
> https://www.dropbox.com/s/2hrhrwxn9v0892u/uboot.2017.07-tld-1.netgear_ms2110.bodhi.tar

> kwboot -t -B 115200 /dev/ttyUSB0 -b
> uboot.2017.07-tld-1.nsa210s.mtd0.kwb -p

Was it a typo, or you run a wrong binary? should be uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: STORA MS 2000 Issues after resetenv
January 14, 2025 02:58PM
on linux i typed correct:
uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb

On forum i typed wrong. Sorry
Re: STORA MS 2000 Issues after resetenv
January 14, 2025 04:44PM
colibri,

OK. It seems you are running kwboot from a x86-64 based PC and the Linux VM is Virtuallbox?

I'll upload another new kwboot built for x86-64. Hope it will be better.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: STORA MS 2000 Issues after resetenv
January 14, 2025 07:18PM
I've uploaded the x86-64 version for kwboot in the tools thread U-Boot flashing utilities and kwboot binary

Quote

Update Jan 14, 2025

1 . If you are installing u-boot and Debian rootfs on Kirkwood boxes for the first time, you can use the latest flashing utilities on the rootfs itself. No need to download the binpack. But if you'd prefer to have a tool box just in case, then the binaries in the binpack will be handy to have. For kwboot, please download the latest kwboot binaries attached to this post.

2. I've attached the 2025.01-rc1 kwboot static binary (x86-64) to this post:
kwboot_2025.01-rc1_x86-64.tar.bz2
(kwboot version u-boot version 2025.01-rc1-ge61ea9f2e5d2-dirty)
sha256:
a63e93d76bafa01605dbed5e0d786e689187d3a85b8bcda153847406580e1f8d

After downloaded, you can extract and rename kwboot_2025.01-rc1_x86-64 to just kwboot.


Dowload and extract the binary to the Virtualbox and run it directly

./kwboot  -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: STORA MS 2000 Issues after resetenv
January 15, 2025 06:36AM
Hi Bodhi
thank you so much for your help, patience and kindness.

Yes, i'm working with a VM (lubuntu distro) on my mac.

I downloaded kwboot_2025.01-rc1_x86-64.tar.bz2 on the same folder of uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb (download folder)

on terminal

sudo -i
tar -jxvf kwboot_2025.01-rc1_x86-64.tar.bz2
rm kwboot_2025.01-rc1_x86-64.tar.bz2

later i renamed the file
mv kwboot_2025.01-rc1_x86-64 kwboot

i runned kwboot.
Nas off.
./kwboot  -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb
The answer:
root@colibri-virtualbox:/home/colibri/Scaricati# ./kwboot  -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.netgear_ms2110.mtd0.kwb
kwboot version 2025.01-rc1-ge61ea9f2e5d2-dirty
Detected kwbimage v0 with NAND boot signature
Patching image boot signature to UART
Sending boot message. Please reboot the target  (\ | / the cursor was moving)

I tryed with NAS switch on but the answer was the same.

I installed lubuntu in my windows laptot (dual boot mode).
Same error.
Sending boot message. Please reboot the target  (\ | / the cursor was moving)

If I type screen /dev/ttyUSB0 115200, it works. Is not a problem of serial port (i think)

So, i'm a unlucky man or i incapace?
Re: STORA MS 2000 Issues after resetenv
January 15, 2025 01:58PM
colibri,

> So, i'm a unlucky man or i incapace?

You're an unlucky man :) most Stora models work with kwboot, but some don't.

Ok we should take it slow because without UART booting using kwboot, if you accidentally brick the box then you will need to install JTAG (soldering required), and it is the last resort.

Connect serial console with minicom/picocom on your Linux host, power up, interrupt u-boot countdown, and

md ff00003c
printenv

And then post the entire log here.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: STORA MS 2000 Issues after resetenv
January 15, 2025 02:46PM
Hi Bodhi

sudo -i
screen /dev/ttyUSB0 115200
md ff00003c
printenv

I recorded a video so you can see the log like if you was here
https://youtu.be/z_iBoe9akl4



Edited 1 time(s). Last edit at 01/15/2025 02:46PM by colibri.
Re: STORA MS 2000 Issues after resetenv
January 15, 2025 03:08PM
colibri,

> I recorded a video so you can see the log like if
> you was here

Please do not post video. Just copy/paste the text log here. It is for searching, copy/paste again.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: STORA MS 2000 Issues after resetenv
January 16, 2025 03:19AM
Ok Bodhi :)
Excuse me but I'm a novice in this world.

sudo -i
screen /dev/ttyUSB0 115200
I powerup my NAS. There is not countdown.

I copy and paste here the text log, with md ff00003c and printenv
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: RD-88F6281A LE
 
U-Boot 1.1.4 (Sep  4 2009 - 09:36:11) 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
CRC in Flash: ffffffff, Calculated CRC: 619d86db
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++Checksum Error!++++++++++++++++++++++++++++++
## Error: environment overflow, "stdin" deleted
## Error: environment overflow, "stdout" deleted
## Error: environment overflow, "stderr" deleted
 
CPU : Marvell Feroceon (Rev 1)
## Error: environment overflow, "console" deleted
## Error: environment overflow, "mainlineLinux" deleted
## Error: environment overflow, "CASset" deleted
## Error: environment overflow, "enaMonExt" deleted
## Error: environment overflow, "enaCpuStream" deleted
## Error: environment overflow, "enaWrAllo" deleted
## Error: environment overflow, "pexMode" deleted
## Error: environment overflow, "disL2Cache" deleted
## Error: environment overflow, "setL2CacheWT" deleted
## Error: environment overflow, "disL2Prefetch" deleted
## Error: environment overflow, "enaICPref" deleted
## Error: environment overflow, "enaDCPref" deleted
## Error: environment overflow, "sata_dma_mode" deleted
## Error: environment overflow, "MALLOC_len" deleted
## Error: environment overflow, "ethprime" deleted
## Error: environment overflow, "netbsd_en" deleted
## Error: environment overflow, "vxworks_en" deleted
## Error: environment overflow, "bootargs_root" deleted
## Error: environment overflow, "bootargs_end" deleted
## Error: environment overflow, "image_name" deleted
## Error: environment overflow, "bootcmd" deleted
## Error: environment overflow, "standalone" deleted
## Error: environment overflow, "bootdelay" deleted
## Error: environment overflow, "disaMvPnp" deleted
## Error: environment overflow, "disaMvPnp" deleted
## Error: environment overflow, "ethaddr" deleted
## Error: environment overflow, "ethmtu" deleted
## Error: environment overflow, "eth1addr" deleted
## Error: environment overflow, "eth1mtu" deleted
## Error: environment overflow, "mvPhoneConfig" deleted
## Error: environment overflow, "mvNetConfig" deleted
## Error: environment overflow, "usb0Mode" deleted
## Error: environment overflow, "yuk_ethaddr" deleted
## Error: environment overflow, "nandEcc" deleted
## Error: environment overflow, "hddPowerCtrl" deleted
## Error: environment overflow, "netretry" deleted
## Error: environment overflow, "rcvrip" deleted
## Error: environment overflow, "loadaddr" deleted
## Error: environment overflow, "autoload" deleted
## Error: environment overflow, "enaAutoRecovery" deleted
 
Streaming disabled
Write allocate disabled
 
Module 0 is RGMII
Module 1 is TDM
 
USB 0: device mode
PEX 0: interface detected no Link.
Net:   ## Error: environment overflow, "ethact" deleted
egiga0, egiga1## Error: environment overflow, "ethact" deleted
 
USB:   scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
Aquiring an IP address using DHCP...
## Error: environment overflow, "ethact" deleted
egiga0 no link
## Error: environment overflow, "ethact" deleted
egiga1 no link
## Error: environment overflow, "ethact" deleted
*** ERROR: `ethaddr' not set
## Error: environment overflow, "ethact" deleted
egiga1 no link
## Error: environment overflow, "ethact" deleted
egiga0 no link
## Error: environment overflow, "ethact" deleted
## Error: environment overflow, "ethact" deleted
egiga1 no link
## Error: environment overflow, "ethact" deleted
egiga0 no link
## Error: environment overflow, "ethact" deleted
*** ERROR: `eth1addr' not set
## Error: environment overflow, "ethact" deleted
egiga0 no link
## Error: environment overflow, "ethact" deleted
egiga1 no link
## Error: environment overflow, "ethact" deleted
## Error: environment overflow, "ethact" deleted
egiga0 no link
## Error: environment overflow, "ethact" deleted
egiga1 no link
## Error: environment overflow, "ethact" deleted
*** ERROR: `ethaddr' not set
## Error: environment overflow, "ethact" deleted
egiga1 no link
## Error: environment overflow, "ethact" deleted
egiga0 no link
## Error: environment overflow, "ethact" deleted
Failed to retreive an IP address assuming default (<NULL>)!
Starting the Recovery process to retreive the file...
## Error: environment overflow, "ethact" deleted
egiga1 no link
## Error: environment overflow, "ethact" deleted
egiga0 no link
## Error: environment overflow, "ethact" deleted
*** ERROR: `eth1addr' not set
## Error: environment overflow, "ethact" deleted
egiga0 no link
## Error: environment overflow, "ethact" deleted
egiga1 no link
## Error: environment overflow, "ethact" deleted
Failed
Power Button is pressed!
MPP Sel: 00000530, Data IN Enable: 00020058, Data In Polarity: 00000040, Data In: 00000011
Power Button is released!
MAC: 00:01:97:1E:27:3F, IP: 10.30.39.63
## Error: environment overflow, "ethaddr" deleted
## Error: environment overflow, "ipaddr" deleted
## Error: environment overflow, "serverip" deleted
## Error: environment overflow, "netmask" deleted
## Error: environment overflow, "image_name" deleted
## Error: environment overflow, "console" deleted
## Error: environment overflow, "bootargs_root" deleted
## Error: environment overflow, "rootpath" deleted
## Error: environment overflow, "ethact" deleted
egiga0 no link
## Error: environment overflow, "ethact" deleted
egiga1 no link
## Error: environment overflow, "ethact" deleted
*** ERROR: `serverip' not set
## Error: environment overflow, "bootargs" deleted
## Booting image at 00800000 ...
Bad Magic Number
Marvell>> md ff00003c
md ff00003c
ff00003c: 00000111 e3a00000 e59f222c e5921000    ........,"......
ff00004c: e2013008 e3530000 1a000002 e3811008    .0....S.........
ff00005c: e5821000 e5921000 e3a03000 ee2f3f1b    .........0...?/.
ff00006c: e59f2208 e5921000 e3c11cff e3c110ff    ."..............
ff00007c: e3710801 1a000003 e5921000 e3c114ff    ..q.............
ff00008c: e3c118ff e5821000 e59f21e0 e5922000    .........!... ..
ff00009c: e3a01902 e0112002 0a00000b e59f21d0    ..... .......!..
ff0000ac: e5921000 e3c11080 e5821000 e59f21c4    .............!..
ff0000bc: e5921000 e3c11080 e5821000 e59f21b8    .............!..
ff0000cc: e5921000 e3c1120f e5821000 e10f5000    .............P..
ff0000dc: e3c5501f e38550d3 e121f005 e3a05000    .P...P....!..P..
ff0000ec: ee075f17 ee075f16 ee075f15 ee085f17    ._..._..._..._..
ff0000fc: e59f2174 e3a03010 e5924000 e1c44003    t!...0...@...@..
ff00010c: e5824000 ee3f1f11 e3811505 ee2f1f11    .@....?......./.
ff00011c: e3a04003 ee034f10 e59f4160 ee024f10    .@...O..`A...O..
ff00012c: e3a03601 e3a02000 e3a01d06 e59f0150    .6... ......P...
Marvell>>Marvell>> printenv
printenv
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                                                                                                                                          ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒                                                                                                             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
Environment size: 131069/131068 bytes
Marvell>>

When i typed printenv the machine gave me back a lot or rows ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒.
The forum has cut the others ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒.



Edited 2 time(s). Last edit at 01/16/2025 03:24AM by colibri.
Re: STORA MS 2000 Issues after resetenv
January 16, 2025 03:25PM
colibri,

With the USB rootfs attached, run serial console as you did. But this time let it boot automatically. Please post the log.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: STORA MS 2000 Issues after resetenv
January 17, 2025 08:44AM
Hi Bodhi
i did it!!! I'm so happy!!
I followed the instructions of Stormy (here): https://forum.doozan.com/read.php?3,104929,105219#msg-105219

1) I renamed your kwboot_2025.01-rc1_x86-64 in flashware.img on my pen drive (formated in ext2)
2) attached usb drive to Netgear Stora
e) powered on Stora
4) left the corrupted u-boot to did his thing until I got this message
## Booting image at 00800000 ...
Bad Magic Number
Marvell>>

later i typed:
nand erase 0xA0000 0x60000

nand write 0xA0000 0xA0000 0x60000

reset

Now it's working with U-Boot 1.1.4 (Sep 4 2009 - 09:36:11) Marvell version: 3.4.14.

Maybe rename kwboot_2025.01-rc1_x86-64 in flashware.img on my pen drive (formated in ext2) wans not necessary.

Now it is back to original firmware.

I followed the instrucions Linux Kernel 6.12.6 Kirkwood package and Debian rootfs: https://forum.doozan.com/read.php?2,12096 (Latest released rootfs: Debian-6.5.7-kirkwood-tld-1-rootfs-bodhi.tar.bz2 (01 Nov 2023).
It runs!!! Fantastic.

Now, do I need to do any updates? And can i install a gui (like lxde)?



Edited 2 time(s). Last edit at 01/17/2025 11:49AM by colibri.
Re: STORA MS 2000 Issues after resetenv
January 17, 2025 01:26PM
colibri,

> i did it!!! I'm so happy!!

Congrats!

> I followed the instructions of Stormy (here):
> https://forum.doozan.com/read.php?3,104929,105219#msg-105219

> 1) I renamed your kwboot_2025.01-rc1_x86-64 in
> flashware.img on my pen drive (formated in ext2)
> 2) attached usb drive to Netgear Stora
> e) powered on Stora
> 4) left the corrupted u-boot to did his thing
> until I got this message
>
> ## Booting image at 00800000 ...
> Bad Magic Number
> Marvell>>
>
>
> later i typed:
>
> nand erase 0xA0000 0x60000
> 
> nand write 0xA0000 0xA0000 0x60000
> 
> reset 
>

> Now it's working with U-Boot 1.1.4 (Sep 4 2009 -
> 09:36:11) Marvell version: 3.4.14.

Nice!

>
> Maybe rename kwboot_2025.01-rc1_x86-64 in
> flashware.img on my pen drive (formated in ext2)
> wans not necessary.

Right! it was for cosmetic purpose.

>
> Now it is back to original firmware.
>
> I followed the instrucions Linux Kernel 6.12.6
> Kirkwood package and Debian rootfs:
> https://forum.doozan.com/read.php?2,12096 (Latest
> released rootfs:
> Debian-6.5.7-kirkwood-tld-1-rootfs-bodhi.tar.bz2
> (01 Nov 2023).
> It runs!!! Fantastic.
>
> Now, do I need to do any updates? And can i
> install a gui (like lxde)?

Yes you can. See the Wiki thread for ideas and tutorials about what you want to install.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: STORA MS 2000 Issues after resetenv
January 18, 2025 01:10PM
Hi Bodhi
i've some problem with ethernet port on nas.
The leds are off, even with the ethernet cable connected.

When it's loading the system:
Cannot find device "eth0"
Failed to get interface index: No such device

I tryed with ifconfig and cat /etc/network/interfaces but nothing.
ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12  bytes 1710 (1.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1710 (1.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
root@debian:~# cat /etc/network/interfaces
cat /etc/network/interfaces
auto lo eth0
iface lo inet loopback
iface eth0 inet dhcp
root@debian:~#

Here, the total log.

 
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: RD-88F6281A LE
 
U-Boot 1.1.4 (Sep  4 2009 - 09:36:11) 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
CRC in Flash: ceb6707b, Calculated CRC: ceb6707b
 
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
....
.
......
............
.........................
...................................................
......................................................................................................
............................................................................................................................................................................................................
....
..................................................................................................................................................................................................
 
6235609 bytes read
....
.
......
............
.........................
...................................................
......................................................................................................
............................................................................................................................................................................................................
....
.......................................................................................................................................................
 
5791271 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-6.5.7-kirkwood-tld-1
   Created:      2025-01-17  17:33:45 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6235545 Bytes =  5.9 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000 ...
   Image Name:   initramfs-6.5.7-kirkwood-tld-1
   Created:      2023-10-31  22:53:55 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5791207 Bytes =  5.5 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
 
Starting kernel ...
 
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023
[    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: Seagate GoFlex Net
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    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, linear)
[    0.000000][    T0] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 102524K/131072K available (12288K kernel code, 1755K rwdata, 5416K rodata, 1024K init, 301K bss, 28548K reserved, 0K cma-reserved)
[    0.000000][    T0] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Tracing variant of 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] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000002][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008545][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015840][    T0] Console: colour dummy device 80x30
[    0.021111][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.032371][    T0] CPU: Testing write buffer coherency: ok
[    0.038103][    T0] pid_max: default: 32768 minimum: 301
[    0.053953][    T0] LSM: initializing lsm=capability,integrity
[    0.062713][    T0] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.070788][    T0] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.094313][    T1] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[    0.102584][    T1] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[    0.111493][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.118848][    T1] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.125176][    T1] rcu: Hierarchical SRCU implementation.
[    0.130772][    T1] rcu:     Max phase no-delay instances is 1000.
[    0.140284][    T1] devtmpfs: initialized
[    0.156482][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.167202][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.178171][    T1] prandom: seed boundary self test passed
[    0.188950][    T1] prandom: 100 self tests passed
[    0.193747][    T1] pinctrl core: initialized pinctrl subsystem
[    0.204318][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.212889][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.226937][    T1] audit: initializing netlink subsys (disabled)
[    0.235571][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.235841][   T19] audit: type=2000 audit(0.220:1): state=initialized audit_enabled=0 res=1
[    0.251078][    T1] cpuidle: using governor ladder
[    0.255963][    T1] cpuidle: using governor menu
[    0.261393][    T1] Feroceon L2: Enabling L2
[    0.265706][    T1] Feroceon L2: Cache support initialised.
[    0.283365][    T1] No ATAGs?
[    0.648566][    T1] raid6: int32x8  gen()    91 MB/s
[    0.988560][    T1] raid6: int32x4  gen()    88 MB/s
[    1.328598][    T1] raid6: int32x2  gen()   113 MB/s
[    1.668561][    T1] raid6: int32x1  gen()    82 MB/s
[    1.673522][    T1] raid6: using algorithm int32x2 gen() 113 MB/s
[    2.028566][    T1] raid6: .... xor() 72 MB/s, rmw enabled
[    2.034044][    T1] raid6: using intx1 recovery algorithm
[    2.050622][    T1] SCSI subsystem initialized
[    2.059237][    T1] usbcore: registered new interface driver usbfs
[    2.065539][    T1] usbcore: registered new interface driver hub
[    2.088651][    T1] usbcore: registered new device driver usb
[    2.094857][    T1] pps_core: LinuxPPS API ver. 1 registered
[    2.108565][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.118400][    T1] PTP clock support registered
[    2.151702][    T1] vgaarb: loaded
[    2.156148][    T1] clocksource: Switched to clocksource orion_clocksource
[    2.187624][    T1] VFS: Disk quotas dquot_6.6.0
[    2.192752][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.255167][    T1] NET: Registered PF_INET protocol family
[    2.266575][    T1] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    2.287633][    T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    2.306455][    T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    2.314902][    T1] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    2.336202][    T1] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    2.343952][    T1] TCP: Hash tables configured (established 1024 bind 1024)
[    2.367037][    T1] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    2.375221][    T1] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    2.406204][    T1] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    2.414913][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    2.437500][    T1] RPC: Registered named UNIX socket transport module.
[    2.444107][    T1] RPC: Registered udp transport module.
[    2.456179][    T1] RPC: Registered tcp transport module.
[    2.461568][    T1] RPC: Registered tcp-with-tls transport module.
[    2.486170][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.493306][    T1] PCI: CLS 0 bytes, default 32
[    2.509799][   T32] Trying to unpack rootfs image as initramfs...
[    3.692718][   T32] Freeing initrd memory: 5656K
[    4.705511][    T1] Initialise system trusted keyrings
[    4.712173][    T1] Key type blacklist registered
[    4.717431][    T1] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    4.724765][    T1] zbud: loaded
[    4.751086][    T1] NFS: Registering the id_resolver key type
[    4.756948][    T1] Key type id_resolver registered
[    4.761814][    T1] Key type id_legacy registered
[    4.766769][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    4.774158][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    4.784192][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    4.793027][    T1] fuse: init (API version 7.38)
[    4.799535][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    4.807129][    T1] orangefs_init: module version upstream loaded
[    4.813666][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    5.077314][    T1] xor: measuring software checksum speed
[    5.093456][    T1]    arm4regs        :   927 MB/sec
[    5.116227][    T1]    8regs           :   556 MB/sec
[    5.133749][    T1]    32regs          :   789 MB/sec
[    5.138806][    T1] xor: using function: arm4regs (927 MB/sec)
[    5.144634][    T1] async_tx: api initialized (async)
[    5.149715][    T1] Key type asymmetric registered
[    5.154494][    T1] Asymmetric key parser 'x509' registered
[    5.223718][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    5.232539][    T1] io scheduler bfq registered
[    5.464825][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    5.474930][    T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    5.486349][    T1] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    5.497882][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    5.569262][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    5.582955][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    5.649275][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    5.663441][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    5.673771][    T1] printk: console [ttyS0] disabled
[    5.679631][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A
[    5.689409][    T1] printk: console [ttyS0] enabled
[    5.689409][    T1] printk: console [ttyS0] enabled
[    5.699274][    T1] printk: bootconsole [earlycon0] disabled
[    5.699274][    T1] printk: bootconsole [earlycon0] disabled
[    5.732876][    T1] loop: module loaded
[    5.738094][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    5.749792][    T1] scsi host0: sata_mv
[    5.755592][    T1] scsi host1: sata_mv
[    5.760106][    T1] ata1: SATA max UDMA/133 irq 28
[    5.764938][    T1] ata2: SATA max UDMA/133 irq 28
[    5.771419][    T1] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda
[    5.778574][    T1] nand: Samsung NAND 256MiB 3,3V 8-bit
[    5.783920][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    5.792297][    T1] Scanning device for bad blocks
[    6.018053][    T1] 4 fixed-partitions partitions found on MTD device orion_nand
[    6.025540][    T1] Creating 4 MTD partitions on "orion_nand":
[    6.031474][    T1] 0x000000000000-0x000000100000 : "u-boot"
[    6.038267][    T1] 0x000000100000-0x000000500000 : "uImage"
[    6.044936][    T1] 0x000000500000-0x000002500000 : "pogoplug"
[    6.052097][    T1] 0x000002500000-0x00000fd00000 : "root"
[    6.060736][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    6.069402][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    6.085711][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 0 is missing.
[    6.094305][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    6.101924][   T52] ata1: SATA link down (SStatus 0 SControl F300)
[    6.110200][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    6.116655][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    6.125379][    T1] orion-ehci f1050000.ehci: irq 31, io mem 0xf1050000
[    6.156190][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    6.163375][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[    6.172438][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.180437][    T1] usb usb1: Product: EHCI Host Controller
[    6.186045][    T1] usb usb1: Manufacturer: Linux 6.5.7-kirkwood-tld-1 ehci_hcd
[    6.193421][    T1] usb usb1: SerialNumber: f1050000.ehci
[    6.200146][    T1] hub 1-0:1.0: USB hub found
[    6.204691][    T1] hub 1-0:1.0: 1 port detected
[    6.210715][    T1] usbcore: registered new interface driver usb-storage
[    6.218296][    T1] mousedev: PS/2 mouse device common for all mice
[    6.457921][   T54] ata2: SATA link down (SStatus 0 SControl F300)
[    6.496200][   T49] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    6.703388][   T49] usb 1-1: New USB device found, idVendor=0951, idProduct=1666, bcdDevice= 1.10
[    6.712381][   T49] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    6.720313][   T49] usb 1-1: Product: DataTraveler 3.0
[    6.725490][   T49] usb 1-1: Manufacturer: Kingston
[    6.730429][   T49] usb 1-1: SerialNumber: E0D55E628FEBE6B0284B017A
[    6.738058][   T49] usb-storage 1-1:1.0: USB Mass Storage device detected
[    6.745968][   T49] scsi host2: usb-storage 1-1:1.0
[    7.296207][    T1] rtc-mv f1010300.rtc: internal RTC not ticking
[    7.302682][    T1] i2c_dev: i2c /dev entries driver
[    7.309269][    T1] device-mapper: uevent: version 1.0.3
[    7.315349][    T1] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[    7.325373][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    7.332740][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    7.340145][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    7.347665][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    7.358924][    T1] ledtrig-cpu: registered to indicate activity on CPUs
[    7.365820][    T1] hid: raw HID events driver (C) Jiri Kosina
[    7.372264][    T1] drop_monitor: Initializing network drop monitor service
[    7.381239][    T1] NET: Registered PF_INET6 protocol family
[    7.389352][    T1] Segment Routing with IPv6
[    7.393755][    T1] RPL Segment Routing with IPv6
[    7.398713][    T1] In-situ OAM (IOAM) with IPv6
[    7.403546][    T1] NET: Registered PF_PACKET protocol family
[    7.409832][    T1] Key type dns_resolver registered
[    7.438194][    T1] registered taskstats version 1
[    7.443440][    T1] Loading compiled-in X.509 certificates
[    7.475871][    T1] Key type .fscrypt registered
[    7.480654][    T1] Key type fscrypt-provisioning registered
[    7.494333][    T1] Key type big_key registered
[    7.555083][    T1] Key type encrypted registered
[    7.691348][  T105] "cryptomgr_test" (105) uses obsolete ecb(arc4) skcipher
[    7.779575][   T18] scsi 2:0:0:0: Direct-Access     Kingston DataTraveler 3.0 PMAP PQ: 0 ANSI: 6
[    7.798565][   T10] sd 2:0:0:0: [sda] 120938496 512-byte logical blocks: (61.9 GB/57.7 GiB)
[    7.817180][   T10] sd 2:0:0:0: [sda] Write Protect is off
[    7.836209][   T10] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    7.862580][   T10]  sda: sda1
[    7.876518][   T10] sd 2:0:0:0: [sda] Attached SCSI removable disk
[   10.503198][    T1] clk: Disabling unused clocks
[   10.511975][    T1] Freeing unused kernel image (initmem) memory: 1024K
[   10.527111][    T1] Checked W+X mappings: passed, no W+X pages found
[   10.533530][    T1] Run /init as init process
Loading, please wait...
Starting systemd-udevd version 252.17-1~deb12u1
[   12.218366][  T154] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done[   22.896712][   T49] platform mv643xx_eth_port.0: deferred probe pending
.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.38.1
[/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1
rootfs: recovering journal
rootfs: clean, 20053/3784704 files, 520818/15117048 blocks
done.
[   23.640090][  T176] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   23.746913][  T176] EXT4-fs (sda1): mounted filesystem 88ced133-67e9-43e8-91cc-8f77ac0ff43c ro with ordered data mode. Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 3.06 booting
INIT: No inittab.d directory found
Using makefile-style concurrent boot in runlevel S.
Setting hostname to 'debian'...done.
Starting hotplug events dispatcher: systemd-udevd.
Synthesizing the initial hotplug events (subsystems)...done.
Synthesizing the initial hotplug events (devices)...done.
Waiting for /dev to be fully populated...[   27.849076][  T356] orion_wdt: Initial timeout 21 sec
[   28.674498][  T353] marvell-cesa f1030000.crypto: CESA device successfully registered
[   28.696399][  T359] sd 2:0:0:0: Attached scsi generic sg0 type 0
[   29.285538][   T58] random: crng init done
done.
Activating swap:.
[   31.047052][  T503] EXT4-fs (sda1): re-mounted 88ced133-67e9-43e8-91cc-8f77ac0ff43c r/w. Quota mode: none.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
Done checking file systems.
Log is being saved in /var/log/fsck/checkfs if that location is writable.
Cleaning up temporary files...Cleaning /tmp...done.
 /tmp.
Will now mount local filesystems:.
Will now activate swapfile swap, if any:done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
Starting Setting kernel variables: sysctl.
Initializing random number generator...done.
Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.3-P1
Copyright 2004-2022 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
 
Cannot find device "eth0"
Failed to get interface index: No such device
 
If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug.  These pages explain the proper
process and the information we find helpful for debugging.
 
exiting.
ifup: failed to bring up eth0
failed.
Starting RPC port mapper daemon: rpcbind.
Starting NFS common utilities: statd idmapd.
Cleaning up temporary files....
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Not starting NFS kernel daemon: no exports ... (warning).
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
982 (syslogd)
.
Starting system message bus: dbus.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting NTP server: ntpd1969-12-31T16:00:37 ntpd[1029]: INIT: ntpd ntpsec-1.2.2: Starting
1969-12-31T16:00:37 ntpd[1029]: INIT: Command line: /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 104:106
.
Starting NTP server: ntpd.
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1005 (klogd)
.
Starting OpenBSD Secure Shell server: sshd.
Running local boot scripts (/etc/rc.local)
.
 
Debian GNU/Linux 12 debian ttyS0
 
debian login: root
root
Password: root
 
Linux debian 6.5.7-kirkwood-tld-1 #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023 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.
Last login: Wed Dec 31 16:02:29 PST 1969 on ttyS0
debian
Seagate GoFlex Net
Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023
Debian 12.2
Wed Dec 31 16:01:26 PST 1969 up 1 minute
root@debian:~# ifconfig
ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12  bytes 1710 (1.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1710 (1.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
root@debian:~# cat /etc/network/interfaces
cat /etc/network/interfaces
auto lo eth0
iface lo inet loopback
iface eth0 inet dhcp
root@debian:~#
Re: STORA MS 2000 Issues after resetenv
January 18, 2025 01:34PM
colibri,

I did not notice that this step was wrong. You used the wrong DTB.

https://forum.doozan.com/read.php?2,138815,138838#msg-138838

Later i followed your steps. kirkwood-goflexnet was wright. 

cd /media/sdb1/boot
cp -a zImage-6.5.7-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-6.5.7-kirkwood-tld-1 -d zImage.fdt  uImage
sync

That should be

cat dts/kirkwood-netgear_stora_ms2000.dtb  >> zImage.fdt

So log in and repeat that step to recreate the uImage.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
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: