Welcome! Log In Create A New Profile

Advanced

Debian installation instructions for WD EX2100

Posted by hmartin 
Debian installation instructions for WD EX2100
February 12, 2018 01:29AM
Uart
Before we begin installation of Debian, you will need a working uart connection to the EX2100.

There are two possible methods to connect via uart:
1. solder a header to JP1 the PCB to expose Rx, Tx, and Gnd. This will require opening the enclosure and removing the PCB, which will void your warranty. Picture.
2. Using kapton tape, cover the 3.3V and Gnd pads on the front of the PCB. Use alligator clips to attach to the Tx contact and the Rx pad from JP1. This method is not as reliable as soldering a header to JP1, but does not require disassembly and soldering as the area can be accessed by opening the hard drive bay doors. Picture.

Test the connection by powering up the EX2100 with a USB to uart adapter or something like a Raspberry Pi. The uart operates at 115200n8.

You should immediately see output from u-boot. If you don’t see any output, check your connections and ensure that you have not reversed the uart Tx/Rx.

Uart output
BootROM - 1.73
Booting from NAND flash

General initialization - Version: 1.0.0
Detected Device ID 6820
High speed PHY - Version: 2.0

Load WD Yosemite Serdes Config:
board SerDes lanes topology details:
 | Lane #  | Speed |  Type       |
 --------------------------------
 |   0    |  06   |  SATA0    |
 |   1    |  05   |  PCIe0    |
 |   2    |  06   |  SATA1    |
 |   3    |  05   |  USB3 HOST1       |
 |   4    |  05   |  USB3 HOST0       |
 |   5    |  00   |  SGMII2   |
 --------------------------------
PCIe, Idx 0: detected no link
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver TIP-1.26.0
mvSysEnvGetTopologyUpdateInfo: TWSI Read failed
DDR3 Training Sequence - Switching XBAR Window to FastPath Window 
DDR3 Training Sequence - Ended Successfully
BootROM: Image checksum verification PASSED

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


U-Boot 2013.01_v1.08 (Jan 29 2015 - 10:18:06) Marvell version: 2014_T3.0p6

Board: Yosemite DB6820
SoC:   MV88F6820 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE

Prepare a USB with the Debian rootfs for mvebu
For this step you will need a USB mass storage device of at least 2GB. We will format the device, so ensure you do not have any important data on it. The device must be USB 2.0 as USB 3.0 is not supported in the EX2100 u-boot.

Format the device with a single ext3 partition. Double check the device before proceeding as parted will erase and format the device without confirmation!
sudo parted --script /dev/sdX \ mklabel msdos \ mkpart primary ext3 1MiB 100%
sudo mkfs.ext3 -L rootfs /dev/sdX1

Mount the new partition and extract the Debian rootfs.

Run these commands as root, or using sudo -i:
ROOTFSDIR=$(mktemp -d)
mount /dev/sdX1 $ROOTFSDIR
tar -C $ROOTFSDIR -jxvf Debian-4.12.4-mvebu-tld-1-rootfs-bodhi.tar.bz2

Download the latest kernel release (4.14.1-mvebu-tld-1 at this time). Extract the archive. The dtb files are located within another archive (linux-dtb-4.14.1-mvebu-tld-1.tar at the time of writing). Extract this archive in $ROOTFSDIR/boot/:

tar -C $ROOTFSDIR/boot/ -xvf linux-dtb-4.14.1-mvebu-tld-1.tar

Now append the dtb to the kernel image:

cd $ROOTFSDIR/boot/
cat zImage dts/armada-385-wd-ex2100.dtb > zImage.fdt
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-4.12.4-mvebu-tld-1 -d zImage.fdt uImage

You can also use the EX2100 dtb with your own custom kernel, or with another Linux distribution if you do not wish to run Debian. However, we can only provide basic support for custom configurations.

Download u-boot for the EX2100 from here. Extract the archive:
tar -zxvf u-boot-a38x-Yosemite_2014T3_PQ.tar.gz

Copy the file u-boot-a38x-Yosemite_2014T3_PQ-nand.bin to the rootfs:
cp u-boot-a38x-Yosemite_2014T3_PQ-nand.bin $ROOTFSDIR/root/

Unmount the USB device from your computer:
sudo umount $ROOTFSDIR

Put the USB device in the rear USB port on the EX2100. The front USB port cannot be used for booting as it is not powered during u-boot execution.

kwboot the EX2100
Now that you have a serial connection to the EX2100 and a USB device prepared with the Debian rootfs, mvebu kernel, and dtb for the EX2100 it’s time to start installing Debian.

You must use a modified version of kwboot to load u-boot to the EX2100 via uart. You can obtain the modified kwboot binary for amd64 from here, and kwboot for armhf from here.

You will be kwbooting a modified version of u-boot which can save environment variables.

With the EX2100 powered off and unplugged, execute kwboot (note this is one line):
./kwboot -f -t -B 115200 /dev/ttyUSB0 -b u-boot-a38x-Yosemite_2014T3_PQ-nand-uart.bin -s 0 -q 1

Plug the DC power into the EX2100. If the handshake is successful, kwboot should display a loading screen:
Sending boot message. Please reboot the target...-�$�"Ufw�$�"U����$
Dfw�$�"U�\�$�"U����$�DUf�$�"Uw��"U����$4"U���$�"Uw�$�"U���$�DUf|fD�&T���$�"U�E�$�"Df3DD�DU�E7$�"U����$4"U���$�"U�E�4"U�/7@� ��$DUw�$�"U����$�DUff�$�"D��fD$U��
Sending boot image...
  0 % [......................................................................]
If the handshake was unsuccessful, you will see normal u-boot output as you should have seen in the “Uart output” section above. Repeat the procedure until you see kwboot say “Sending boot image…” followed by loading u-boot via uart. This takes some time (~90 seconds).

After the u-boot image has been loaded via kwboot, it will boot normally (as you saw in “Uart output” section above).

When the uart output gets to the following section:
Enable HD1
Enable HD2

Begin pressing the 1 key to interrupt the automatic boot process. If you were successful you should now have a u-boot prompt:
Enable HD1
Enable HD2
Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |     0x00     |
| egiga1 |   RGMII   |   In-Band    |
| egiga2 |   SGMII   |     0x01     |
egiga0 [PRIME], egiga1, egiga2
Hit any key to stop autoboot:  0 
Marvell>> 1111

Set u-boot environment parameters
Delete any extra 1 characters and enter the following:
setenv bootdev usb
setenv device '0:1'
setenv load_initrd_addr 0x2900000
setenv load_image_addr 0x02000000
setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd'
setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage'
setenv usb_set_bootargs 'setenv bootargs "console=ttyS0,115200 root=/dev/sda1 rootdelay=10 $mtdparts earlyprintk=serial"'
setenv usb_bootcmd 'echo Booting from USB ...; setenv fdt_skip_update yes; usb start; run load_image; run load_initrd ; run usb_set_bootargs; bootm $load_image_addr $load_initrd_addr'
setenv bootcmd_usb 'usb start; run usb_set_bootargs; run usb_bootcmd; reset'
printenv
run bootcmd_usb

If you performed the previous steps correctly, the EX2100 should now boot Debian from the USB device attached to the rear USB port.

Make a backup of NAND flash
For the changes in u-boot to be persistent, we need to write the modified version of u-boot to NAND.

However, before we do this, we will make a backup of the contents of NAND before modifying it. When booted into Debian, run the following commands:
mkdir nand_backup
cd nand_backup
nanddump --noecc --omitoob -f mtd{0,7}.bin /dev/mtd{0,7}

Make sure you make a copy of these backups also in another location!!!

Installing the modified u-boot
Once you have taken a backup of the NAND contents, poweroff the EX2100. Remove the USB and copy the mtd backups you made to your computer for safekeeping.

When you have finished this, follow the instructions again in the “kwboot the EX2100” section but stop at the “Set u-boot environment parameters” section.

This time we will modify the u-boot environment:
setenv bootdev usb
setenv device '0:1'
setenv load_initrd_addr 0x2900000
setenv load_image_addr 0x02000000
setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd'
setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage'
setenv usb_set_bootargs 'setenv bootargs "console=ttyS0,115200 root=/dev/sda1 rootdelay=10 $mtdparts earlyprintk=serial"'
setenv usb_bootcmd 'echo Booting from USB ...; setenv fdt_skip_update yes; usb start; run load_image; run load_initrd ; run usb_set_bootargs; bootm $load_image_addr $load_initrd_addr'
setenv bootcmd_usb 'usb start; run usb_set_bootargs; run usb_bootcmd; reset'
saveenv
run bootcmd_usb

You will then proceed to boot Debian again.

Once in Debian, create /etc/fw_env.config:
echo “/dev/mtd0 0x100000 0x80000 0x20000 4” > /etc/fw_env.config

Check that fw_printenv is able to read the u-boot environment you just saved in the kwboot’d u-boot:
root@debian:~# fw_printenv
CASset=max
MALLOC_len=5
MPmode=SMP
autoload=no
baudrate=115200
boot_order=hd_scr usb_scr mmc_scr hd_img usb_img mmc_img pxe net_img net_scr
bootargs=root=/dev/ram console=ttyS0,115200
…

If you see the u-boot environment variables returned, then the modified u-boot successfully wrote the environment variables to 0x100000

Verify that you are able to write to the u-boot section of NAND (this should be enabled in the EX2100 dtb):
root@debian:~# mtd_debug info /dev/mtd0
mtd.type = MTD_NANDFLASH
mtd.flags = MTD_CAP_NANDFLASH
mtd.size = 5242880 (5M)
mtd.erasesize = 131072 (128K)
mtd.writesize = 2048 (2K)
mtd.oobsize = 64 
regions = 0

If instead you see “mtd.flags = MTD_CAP_ROM” then you cannot flash u-boot using the dtb you have booted with. The DTB shipped in 4.14.1-mvebu-tld-1 allows writing to the u-boot region. Otherwise you can download the dts from this post and build the dtb for your kernel.

If you saw MTD_CAP_NANDFLASH, then proceed to backup the u-boot environment variables to a file:
nanddump --noecc --omitoob -s 0x100000 -l 0x80000 -f ubootenv.bin /dev/mtd0

Erase the u-boot portion of NAND, flash the modified u-boot, and restore the environment variables:
flash_erase /dev/mtd0 0 8
nandwrite -p /dev/mtd0 u-boot-a38x-Yosemite_2014T3_PQ-nand.bin
nandwrite -p /dev/mtd0 -s 0x100000 ubootenv.bin

That’s it, you should be finished. Shutdown the EX2100 and exit kwboot. Using a standard serial console like screen or minicom, connect to the uart if you want to monitor the boot process.

Now when you power the EX2100 it should boot Debian from the USB device plugged into the rear USB port, if it is present. If the USB device is not present, u-boot will fall back to booting the WD firmware from internal flash.



Edited 1 time(s). Last edit at 02/13/2018 01:30AM by hmartin.
Re: Debian installation instructions for WD EX2100
February 12, 2018 01:29AM
Reserved.
Ray Carbuhn
Re: Debian installation instructions for WD EX2100
September 29, 2018 08:57PM
Is the EX4100 the same?
Thanks
Ray
Re: Debian installation instructions for WD EX2100
September 30, 2018 12:20AM
Ray Carbuhn Wrote:
-------------------------------------------------------
> Is the EX4100 the same?
> Thanks
> Ray

No, it is not the same.

See the working thread for EX4100 here:
https://forum.doozan.com/read.php?2,34103

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
D. Jeschke
Re: Debian installation instructions for WD EX2100
May 24, 2021 05:16AM
Hello everybody,
I came across this page earlier and wanted to equip my EX2100 with Debian too, so I bought a UART-> USB adapter and followed these instructions. However, as soon as I enter the line "./kwboot -f -t -B 115200 / dev / ttyUSB0 -b u-boot-a38x-Yosemite_2014T3_PQ-nand-uart.bin -s 0 -q 1", I get the error " 0% [++++++++++++ xmodem: Bad message ".

If someone could help me with this, I would be very grateful, even if this article is a bit older.

Greetings D.Jeschke
Re: Debian installation instructions for WD EX2100
May 24, 2021 04:23PM
D. Jeschke,

When you run kwboot with this box, make sure you do this:

- If possible, use shielded wires to connect serial console (e.g. CD audio cable). Or pay attention to avoid placing the wires too close to the power jack.

- When see "xmodem: Bad message", recall the kwboot command and execute again immediatley. For this box inparticular, it will take many tries to get a handshake (could be 30, 40 times).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
D. Jeschke
Re: Debian installation instructions for WD EX2100
May 25, 2021 02:37AM
Hello Bodhi,

thanks, that helped. Now the system only tells me in the middle that it could not load the file system, although I did all the steps as discussed above.

I once released a screenshot, you may see what the error is

Screenshoot
Re: Debian installation instructions for WD EX2100
May 25, 2021 02:41AM
D. Jeschke,

> I once released a screenshot, you may see what the
> error is
>
> Screenshoot

Plese copy the serial console boot log and post here.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
D. Jeschke
Re: Debian installation instructions for WD EX2100
May 25, 2021 02:55AM
Hy,

unfortunately this is not that easy as this runs on my laptop.
If the log is stored somewhere else, unfortunately I don't know where
Re: Debian installation instructions for WD EX2100
May 25, 2021 03:23AM
Hello again,

I've now also registered, D.Jeschke here ;-) I'm currently browsing my data on the NAS, but I don't know whether this is the right log file
Attachments:
open | download - kern.log (104.9 KB)
Re: Debian installation instructions for WD EX2100
May 25, 2021 03:45AM
sorgonas,


> I've now also registered, D.Jeschke here ;-) I'm
> currently browsing my data on the NAS, but I don't
> know whether this is the right log file

Not the right one. What you post is he stock kernel log (dmesg).

When you run kwboot, you must have run it from your laptop Linux terminal. So copy the text on the terminal (everything) and paste it inside a new post here.

In particular, this is what we call "serial console log". Whether you run kwboot or another binary such as minicom, picocom, or screen, they are on serial console connection.

===

The reason why the text log inside the post is preferred: so I can search the text, and other people who are looking for solution to the same problem can find it on the Intenet using search engine.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian installation instructions for WD EX2100
May 25, 2021 04:31AM
Hey,

so, have now put a desktop on my Linux machine so that i can copy the terminal as well.
So here is the result:
root@debian:~# ./kwboot -f -t -B 115200 /dev/ttyUSB0 -b u-boot-a38x-Yosemite_2014T3_PQ-nand-uart.bin -s 0 -q 1
Sending boot message. Please reboot the target...-DUfw�"3DUfw�"3DUfw�"3DUfw�"\DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"|DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"/DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"-DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf-�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf\�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf|�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUf/�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw�"3DUfw
Sending boot image...
  0 % [......................................................................]
  0 % [......................................................................]
  1 % [......................................................................]
  2 % [......................................................................]
  3 % [......................................................................]
  4 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  7 % [......................................................................]
  8 % [......................................................................]
  9 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 12 % [......................................................................]
 13 % [......................................................................]
 14 % [......................................................................]
 15 % [......................................................................]
 15 % [......................................................................]
 16 % [......................................................................]
 17 % [......................................................................]
 18 % [......................................................................]
 19 % [......................................................................]
 20 % [......................................................................]
 21 % [......................................................................]
 22 % [......................................................................]
 23 % [......................................................................]
 24 % [......................................................................]
 25 % [......................................................................]
 26 % [......................................................................]
 27 % [......................................................................]
 28 % [......................................................................]
 29 % [......................................................................]
 30 % [......................................................................]
 30 % [......................................................................]
 31 % [......................................................................]
 32 % [......................................................................]
 33 % [......................................................................]
 34 % [......................................................................]
 35 % [......................................................................]
 36 % [......................................................................]
 37 % [......................................................................]
 38 % [......................................................................]
 39 % [......................................................................]
 40 % [......................................................................]
 41 % [......................................................................]
 42 % [......................................................................]
 43 % [......................................................................]
 44 % [......................................................................]
 45 % [......................................................................]
 46 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 48 % [......................................................................]
 49 % [......................................................................]
 50 % [......................................................................]
 51 % [......................................................................]
 52 % [......................................................................]
 53 % [......................................................................]
 54 % [......................................................................]
 55 % [......................................................................]
 56 % [......................................................................]
 57 % [......................................................................]
 58 % [......................................................................]
 59 % [......................................................................]
 60 % [......................................................................]
 61 % [......................................................................]
 61 % [......................................................................]
 62 % [......................................................................]
 63 % [......................................................................]
 64 % [......................................................................]
 65 % [......................................................................]
 66 % [......................................................................]
 67 % [......................................................................]
 68 % [......................................................................]
 69 % [......................................................................]
 70 % [......................................................................]
 71 % [......................................................................]
 72 % [......................................................................]
 73 % [......................................................................]
 74 % [......................................................................]
 75 % [......................................................................]
 76 % [......................................................................]
 76 % [......................................................................]
 77 % [......................................................................]
 78 % [......................................................................]
 79 % [......................................................................]
 80 % [......................................................................]
 81 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 84 % [......................................................................]
 85 % [......................................................................]
 86 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 89 % [......................................................................]
 90 % [......................................................................]
 91 % [......................................................................]
 92 % [......................................................................]
 92 % [......................................................................]
 93 % [......................................................................]
 94 % [......................................................................]
 95 % [......................................................................]
 96 % [......................................................................]
 97 % [......................................................................]
 98 % [......................................................................]
 99 % [....................................]
[Type Ctrl-\ + c to quit]

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


U-Boot 2013.01_v1.08 (Aug 07 2017 - 19:59:54) hmartin version: 2014_T3.0p6

Board: Yosemite DB6820
SoC:   MV88F6820 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1332 [MHz]
       L2     @ 666 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 666 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  1 GiB

Map:   Code:                    0x3fece000:0x3ff95e20
       BSS:                     0x3ffef254
       Stack:                   0x3f9cdf20
       Heap:                    0x3f9ce000:0x3fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:      0x00000000:0x00080000 (NAND)

NAND:  ID: dcad ,512 MiB
MMC:   mv_sdh: 0
PCI-e 0: Detected No Link.
bootcmd: run bootcmd_custom; setenv bootargs root=/dev/ram console=ttyS0,115200; nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00001f500000-0x00001ff00000 : "mtd=7"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=7"
UBI: MTD device size:            10 MiB
UBI: number of good PEBs:        80
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             32
UBI: total number of reserved PEBs: 48
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 6/2
UBIFS: mounted UBI device 0, volume 0, name "reserve2"
UBIFS: mounted read-only
UBIFS: file system size:   4063232 bytes (3968 KiB, 3 MiB, 32 LEBs)
UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root:  200807 bytes (196 KiB)
Loading file '/mac_addr' to addr 0x02000000 with size 36 (0x00000024)...
Done
lan mac_addr :  00 90 a9 e1 05 e8
Set lan 0 WakeOnLan ok
Set lan 2 WakeOnLan ok
I run u-boot from kwboot!
Enable HD1
Enable HD2
Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |     0x00     |
| egiga1 |   RGMII   |   In-Band    |
| egiga2 |   SGMII   |     0x01     |
egiga0 [PRIME], egiga1, egiga2
Hit any key to stop autoboot:  0 
Marvell>> 1111
Unknown command '1111' - try 'help'
Marvell>> setenv bootdev usb
Marvell>> setenv device '0:1'
Marvell>> setenv load_initrd_addr 0x2900000
Marvell>> setenv load_image_addr 0x02000000
Marvell>> setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd'
Marvell>> setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage'
Marvell>> setenv usb_set_bootargs 'setenv bootargs "console=ttyS0,115200 root=/dev/sda1 rootdelay=10 $mtdparts earlyprintk=serial"'
Marvell>> setenv usb_bootcmd 'echo Booting from USB ...; setenv fdt_skip_update yes; usb start; run load_image; run load_initrd ; run usb_set_bootargs; bootm $load_image_addr $load_initrd_addr'
Marvell>> setenv bootcmd_usb 'usb start; run usb_set_bootargs; run usb_bootcmd; reset'
Marvell>> printenv
CASset=max
MALLOC_len=5
MPmode=SMP
autoload=no
baudrate=115200
boot_order=hd_scr usb_scr mmc_scr hd_img usb_img mmc_img pxe net_img net_scr
bootargs=root=/dev/ram console=ttyS0,115200
bootargs_dflt=$console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel
bootargs_end=:10.4.50.254:255.255.255.0:Armada38x:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd=run bootcmd_custom; setenv bootargs root=/dev/ram console=ttyS0,115200; nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000
bootcmd_auto=stage_boot $boot_order
bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_boot=tftpboot 0x2000000 $image_name; setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_edit=tftpboot $fdtaddr $fdtfile; fdt addr $fdtaddr; setenv bootcmd $bootcmd_fdt_boot
bootcmd_lgcy=tftpboot 0x2000000 $image_name; setenv bootargs $bootargs_dflt; bootm 0x2000000; 
bootcmd_usb=usb start; run usb_set_bootargs; run usb_bootcmd; reset
bootdelay=1
bootdev=usb
cacheShare=no
console=console=ttyS0,115200
device=0:1
device_partition=0:1
disaMvPnp=no
eeeEnable=no
enaClockGating=no
enaCpuStream=no
enaFPU=yes
enaMonExt=no
enaWrAllo=no
eth1addr=00:50:43:00:19:1a
eth1mtu=1500
eth2addr=00:50:43:00:00:1a
eth2mtu=1500
eth3addr=00:50:43:19:00:00
eth3mtu=1500
ethact=egiga0
ethaddr=00:50:43:00:19:1a
ethmtu=1500
ethprime=egiga0
fdt_addr=2040000
fdt_skip_update=no
fdtaddr=0x1000000
fdtfile=armada-38x-modular.dtb
filesize=24
ide_path=/
image_name=uImage
initrd_name=uInitrd
ipaddr=192.168.11.110
kernel_addr_r=2080000
lcd0_enable=0
lcd0_params=640x480-16@60
lcd_panel=0
load_image=echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage
load_image_addr=0x02000000
load_initrd=echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x2900000
loadaddr=0x02000000
loads_echo=0
mtddevname=u-boot
mtddevnum=0
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),441m@15m(image.cfs),15m@456m(rescue_fw),20m@471m(config),10m@491m(reserve1),10m@501m(reserve2)
mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500
mv_pon_addr=00:50:43:1a:00:00
nandEcc=nfcConfig=4bitecc
netbsd_en=no
netmask=255.255.255.0
netretry=no
partition=nand0,0
pcieTune=no
pexMode=RC
pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
ramdisk_addr_r=2880000
rootpath=/srv/nfs/
sata_delay_reset=0
sata_dma_mode=yes
script_addr_r=3000000
script_name=boot.scr
serverip=192.168.11.114
standalone=fsload 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000;
stderr=serial
stdin=serial
stdout=serial
usb0Mode=host
usbActive=0
usbType=3
usb_bootcmd=echo Booting from USB ...; setenv fdt_skip_update yes; usb start; run load_image; run load_initrd ; run usb_set_bootargs; bootm $load_image_addr $load_initrd_addr
usb_set_bootargs=setenv bootargs "console=ttyS0,115200 root=/dev/sda1 rootdelay=10 $mtdparts earlyprintk=serial"
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81

Environment size: 3919/524284 bytes
Marvell>> run bootcmd_usb
(Re)start USB...
USB0:   Port (usbActive) : 0    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
Booting from USB ...
(Re)start USB...
USB0:   Port (usbActive) : 0    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
loading Image ...
16383 bytes read in 183 ms (86.9 KiB/s)
loading uInitrd ...
** File not found /boot/uInitrd **
## Booting image at 02000000 ...
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-5.11.7-mvebu-tld-1
   Created:      2021-05-24   8:45:35 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    16319 Bytes = 15.9 KiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
### Ramdisk error, Loading Rescure Firmware from NAND Flash ###

NAND read: device 0 offset 0x1c800800, size 0xf00000
 15728640 bytes read: OK
## Booting image at 00a00000 ...
## Booting kernel from Legacy Image at 00a00000 ...
   Image Name:   Linux-388
   Created:      2014-12-29  12:52:19 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3934273 Bytes = 3.8 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 00e00000 ...
   Image Name:   Ramdisk
   Created:      2014-12-30   8:33:02 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6862567 Bytes = 6.5 MiB
   Load Address: 00e00000
   Entry Point:  00e00000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Initializing cgroup subsys cpuacct
Linux version 3.10.39 (kman@kmachine) (gcc version 4.6.4 (Linaro GCC branch-4.6.4. Marvell GCC Dev 201310-2126.3d181f66 64K MAXPAGESIZE ALIGN) ) #2 SMP Mon Dec 29 20:52:14 CST 2014 a388-2014T30p1 Build-002
CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Marvell Armada 380/385/388 (Device Tree), model: Marvell Armada 385 Development Board
bootconsole [earlycon0] enabled
Memory policy: ECC disabled, Data cache writealloc
PERCPU: Embedded 1 pages/cpu @c08c8000 s8192 r8192 d16384 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32743
Kernel command line: console=ttyS0,115200 root=/dev/sda1 rootdelay=10 mtdparts=armada-nand:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),441m@15m(image.cfs),15m@456m(rescue_fw),20m@471m(config),10m@491m(reserve1),10m@501m(reserve2) earlyprintk=serial
PID hash table entries: 4096 (order: -1, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 4, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 3, 262144 bytes)
Memory: 1024MB = 1024MB total
Memory: 1031712k/1031712k available, 16864k reserved, 254976K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff8000   (  32 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xf0800000 - 0xfff00000   ( 247 MB)
    lowmem  : 0xc0000000 - 0xf0700000   ( 775 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc06d24a0   (6954 kB)
      .init : 0xc06d8000 - 0xc071a000   ( 264 kB)
      .data : 0xc071a000 - 0xc0765aa0   ( 303 kB)
       .bss : 0xc0765aa0 - 0xc07abdb0   ( 281 kB)
Hierarchical RCU implementation.
        RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
NR_IRQS:16 nr_irqs:16 16

  LSP version: linux-3.10.39-2014_T3.0p1

sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x410054c9, AUX_CTRL 0x16070000, Cache size: 1048576 B
Console: colour dummy device 80x30
Calibrating delay loop... 2655.84 BogoMIPS (lpj=13279232)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 4096
Initializing cgroup subsys devices
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0xc0531788 - 0xc05317e0
mvebu-pmsu: Initializing Power Management Service Unit
Initializing CPU Reset module
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated (5311.69 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
xor: measuring software checksum speed
   arm4regs  :  1433.600 MB/sec
   8regs     :   966.400 MB/sec
   32regs    :   918.400 MB/sec
xor: using function: arm4regs (1433.600 MB/sec)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
irq: Cannot allocate irq_descs @ IRQ195, assuming pre-allocated
irq: Cannot allocate irq_descs @ IRQ227, assuming pre-allocated
Initializing Suspend to RAM
bio: create slab <bio-0> at 0
raid6: int32x1    355 MB/s
raid6: int32x2    346 MB/s
raid6: int32x4    446 MB/s
raid6: int32x8    384 MB/s
raid6: using algorithm int32x4 (446 MB/s)
raid6: using intx1 recovery algorithm
mvebu-pcie pcie-controller.3: PCIe0.0: link down
mvebu-pcie pcie-controller.3: PCIe1.0: link down
mvebu-pcie pcie-controller.3: PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe8000000]
pci_bus 0000:00: root bus resource [bus 00-ff]
PCI: bus0: Fast back to back transfers disabled
pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
PCI: bus1: Fast back to back transfers enabled
PCI: bus2: Fast back to back transfers enabled
pci 0000:00:01.0: PCI bridge to [bus 01]
pci 0000:00:02.0: PCI bridge to [bus 02]
PCI: enabling device 0000:00:01.0 (0140 -> 0143)
PCI: enabling device 0000:00:02.0 (0140 -> 0143)
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
Switching to clocksource armada_370_xp_clocksource
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 1, 65536 bytes)
TCP bind hash table entries: 8192 (order: 1, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 1024 (order: 0, 32768 bytes)
UDP-Lite hash table entries: 1024 (order: 0, 32768 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 6656K (c0e08000 - c1488000)
bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 8192 (order 0, 32768 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
fuse init (API version 7.22)
SGI XFS with security attributes, large block/inode numbers, no debug enabled
msgmni has been set to 1530
async_tx: api initialized (async)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
mv_xor f1060800.xor: Marvell shared XOR driver
mv_xor f1060800.xor: Marvell XOR: ( xor cpy intr )
mv_xor f1060800.xor: freeing 1 in use descriptors!
mv_xor f1060800.xor: Marvell XOR: ( crc32c )
mv_xor f1060900.xor: Marvell shared XOR driver
mv_xor f1060900.xor: Marvell XOR: ( xor cpy intr )
mv_xor f1060900.xor: freeing 1 in use descriptors!
mv_xor f1060900.xor: Marvell XOR: ( crc32c )
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 44) is a 16550A
console [ttyS0] enabled, bootconsole disabled
console [ttyS0] enabled, bootconsole disabled
f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 45) is a 16550A
brd: module loaded
loop: module loaded
ahci_mv f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
ahci_mv f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
scsi0 : ahci_mv_platform
scsi1 : ahci_mv_platform
ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 58
ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 58
armada-nand f10d0000.nand: Initialize HAL based NFC in 8bit mode with DMA Disabled using BCH 4bit ECC
NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit), 512MiB, page size: 2048, OOB size: 64
Bad block table found at page 262080, version 0x01
Bad block table found at page 262016, version 0x01
nand_read_bbt: bad block at 0x00001ea20000
8 cmdlinepart partitions found on MTD device armada-nand
Creating 8 MTD partitions on "armada-nand":
0x000000000000-0x000000500000 : "u-boot"
0x000000500000-0x000000a00000 : "kernel"
0x000000a00000-0x000000f00000 : "uRamdisk"
0x000000f00000-0x00001c800000 : "image.cfs"
0x00001c800000-0x00001d700000 : "rescue_fw"
0x00001d700000-0x00001eb00000 : "config"
0x00001eb00000-0x00001f500000 : "reserve1"
0x00001f500000-0x00001ff00000 : "reserve2"
  o 2 Giga ports supported
  o NETA acceleration mode 1
  o RX Queue support: 8 Queues * 128 Descriptors
  o TX Queue support: 8 Queues * 532 Descriptors
  o GSO supported
  o GRO supported
  o Receive checksum offload supported
  o Transmit checksum offload supported
  o Driver ERROR statistics enabled
  o Driver INFO statistics enabled
  o Driver DEBUG statistics enabled

port #0: is_sgmii=0, is_rgmii=1, phy_addr=0
  o Loading network interface(s) for port #0: cpu_mask=0x3, tx_csum_limit=9800

  o Port 0 is connected to Linux netdevice
    o egiga0, ifindex = 2, GbE port = 0
        giga p=0: mtu=1500, mac=00:50:43:02:02:01 (platform)

port #1: is_sgmii=1, is_rgmii=0, phy_addr=1
  o Loading network interface(s) for port #1: cpu_mask=0x3, tx_csum_limit=2048

  o Port 1 is connected to Linux netdevice
    o egiga1, ifindex = 3, GbE port = 1
        giga p=1: mtu=1500, mac=00:50:43:02:02:02 (platform)

libphy: orion_mdio_bus: probed
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ehci-orion: EHCI orion driver
orion-ehci f1058000.usb: EHCI Host Controller
orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
orion-ehci f1058000.usb: irq 50, io mem 0xf1058000
orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
xhci-hcd f10f0000.usb3: xHCI Host Controller
xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
xhci-hcd f10f0000.usb3: irq 48, io mem 0xf10f0000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
xhci-hcd f10f0000.usb3: xHCI Host Controller
xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
xhci-hcd f10f8000.usb3: xHCI Host Controller
xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
xhci-hcd f10f8000.usb3: irq 49, io mem 0xf10f8000
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 1 port detected
xhci-hcd f10f8000.usb3: xHCI Host Controller
xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
ata1.00: ATA-9: WDC WD20EFRX-68EUZN0, 82.00A82, max UDMA/133
ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
usb 2-1: new high-speed USB device number 2 using xhci-hcd
ata2.00: ATA-9: WDC WD20EFRX-68EUZN0, 82.00A82, max UDMA/133
ata2.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata1.00: configured for UDMA/133
ata2.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access     ATA      WDC WD20EFRX-68E 82.0 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
sd 0:0:0:0: [sda] 4096-byte physical blocks
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: Attached scsi generic sg0 type 0
scsi 1:0:0:0: Direct-Access     ATA      WDC WD20EFRX-68E 82.0 PQ: 0 ANSI: 5
sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
sd 1:0:0:0: Attached scsi generic sg1 type 0
sd 1:0:0:0: [sdb] 4096-byte physical blocks
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
usb-storage 2-1:1.0: USB Mass Storage device detected
scsi2 : usb-storage 2-1:1.0
 sda: sda1 sda2 sda3 sda4
sd 0:0:0:0: [sda] Attached SCSI disk
 sdb: sdb1 sdb2 sdb3 sdb4
sd 1:0:0:0: [sdb] Attached SCSI disk
mvebu-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
i2c /dev entries driver
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com
dm_crypt using the OCF package.
cpuidle: using governor ladder
armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: Total CESA HW channels supported 2
armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: CESA feature: chain(0)
mvCesaInit: channels=2, session=640, queue=64
armada-cesa-ocf f109d000.crypto: cesa_ocf_probe: CESA driver operate in ocf(0) mode
cesadev_init(c06f44b0)
TCP: cubic registered
NET: Registered protocol family 17
8021q: 802.1Q VLAN Support v1.8
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
mvebu-rtc f10a3800.rtc: setting system clock to 2021-05-25 09:27:31 UTC (1621934851)
Waiting 10sec before mounting root device...
scsi 2:0:0:0: Direct-Access              USB Flash Memory PMAP PQ: 0 ANSI: 0 CCS
sd 2:0:0:0: Attached scsi generic sg2 type 0
sd 2:0:0:0: [sdc] 7823360 512-byte logical blocks: (4.00 GB/3.73 GiB)
sd 2:0:0:0: [sdc] Write Protect is off
sd 2:0:0:0: [sdc] No Caching mode page found
sd 2:0:0:0: [sdc] Assuming drive cache: write through
sd 2:0:0:0: [sdc] No Caching mode page found
sd 2:0:0:0: [sdc] Assuming drive cache: write through
 sdc: sdc1
sd 2:0:0:0: [sdc] No Caching mode page found
sd 2:0:0:0: [sdc] Assuming drive cache: write through
sd 2:0:0:0: [sdc] Attached SCSI removable disk
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
RAMDISK: gzip image found at block 0
VFS: Mounted root (ext2 filesystem) on device 1:0.
linuxrc: applet not found
UDF-fs: warning (device sda1): udf_fill_super: No partition found (2)
List of all partitions:
0800      1953514584 sda  driver: sd
  0801         2097152 sda1 c42a6d49-8aa7-4abc-b287-353101f9fd1f
  0802      1949319168 sda2 b52a29d9-4da5-460d-952f-6d59781b76ed
  0803         1048647 sda3 34001424-0527-40f9-a5df-bfb2bfcfcfa5
  0804         1048576 sda4 2dfd9914-c3bd-4975-ba78-01897f6b3597
0810      1953514584 sdb  driver: sd
  0811         2097152 sdb1 a6828a85-c7bb-425e-998a-3b69602f7c9b
  0812      1949319168 sdb2 36f85095-0c70-4c44-adb6-116ac93489cf
  0813         1048647 sdb3 a2ae4e55-b257-4efa-89e3-1fb251f19ead
  0814         1048576 sdb4 8f1e1baa-5b32-433f-b06d-acf7e0989d85
0820         3911680 sdc  driver: sd
  0821         3910656 sdc1 e956d07e-01
No filesystem could mount root, tried:  ext3 ext2 ext4 squashfs vfat msdos iso9660 hfs fuseblk udf xfs
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1)
CPU1: stopping
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 3.10.39 #2
[<c0015130>] (unwind_backtrace+0x0/0xfc) from [<c0011768>] (show_stack+0x10/0x18)
[<c0011768>] (show_stack+0x10/0x18) from [<c0013908>] (handle_IPI+0x100/0x134)
[<c0013908>] (handle_IPI+0x100/0x134) from [<c0008624>] (gic_handle_irq+0x5c/0x64)
[<c0008624>] (gic_handle_irq+0x5c/0x64) from [<c000dd40>] (__irq_svc+0x40/0x50)
Exception stack(0xee0edfa0 to 0xee0edfe8)
dfa0: ffffffed 001b8000 c0727828 c0019b00 ee0ec000 c0726564 c0538bf4 c076599e
dfc0: c076599e 414fc091 00000001 00000000 01000000 ee0edfe8 c000f344 c000f330
dfe0: 60000013 ffffffff
[<c000dd40>] (__irq_svc+0x40/0x50) from [<c000f330>] (arch_cpu_idle+0x28/0x48)
[<c000f330>] (arch_cpu_idle+0x28/0x48) from [<c0054230>] (cpu_startup_entry+0x4c/0x11c)
[<c0054230>] (cpu_startup_entry+0x4c/0x11c) from [<005265c4>] (0x5265c4)


Re: Debian installation instructions for WD EX2100
May 25, 2021 05:21AM
sorgonas,

** File not found /boot/uInitrd **

Your USB rootfs was not created correctly. The 2 important things to keep in mind is

- you must be root the whole time when you untar the rootfs (see red bold line below)
- At the end you need to do at least one sync or two, to finalize the partition.

Quote

Prepare a USB with the Debian rootfs for mvebu
For this step you will need a USB mass storage device of at least 2GB. We will format the device, so ensure you do not have any important data on it. The device must be USB 2.0 as USB 3.0 is not supported in the EX2100 u-boot.

Format the device with a single ext3 partition. Double check the device before proceeding as parted will erase and format the device without confirmation!
sudo parted --script /dev/sdX \ mklabel msdos \ mkpart primary ext3 1MiB 100%
sudo mkfs.ext3 -L rootfs /dev/sdX1

Mount the new partition and extract the Debian rootfs.

Run these commands as root, or using sudo -i:
ROOTFSDIR=$(mktemp -d)
mount /dev/sdX1 $ROOTFSDIR
tar -C $ROOTFSDIR -jxvf Debian-4.12.4-mvebu-tld-1-rootfs-bodhi.tar.bz2

Download the latest kernel release (4.14.1-mvebu-tld-1 at this time). Extract the archive. The dtb files are located within another archive (linux-dtb-4.14.1-mvebu-tld-1.tar at the time of writing). Extract this archive in $ROOTFSDIR/boot/:

tar -C $ROOTFSDIR/boot/ -xvf linux-dtb-4.14.1-mvebu-tld-1.tar

At this point

sync
sync

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian installation instructions for WD EX2100
May 25, 2021 05:25AM
ok bodhi,

I will create a new usb and will do this again, I will let you know when I have finished the next run
Re: Debian installation instructions for WD EX2100
May 25, 2021 06:40AM
The next attempt is now through. This time it didn't stop, but in the end it started the system normally, and not Debian.

Here is the next log:

Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |     0x00     |
| egiga1 |   RGMII   |   In-Band    |
| egiga2 |   SGMII   |     0x01     |
egiga0 [PRIME], egiga1, egiga2
Hit any key to stop autoboot:  0 
Marvell>> 1111
Unknown command '1111' - try 'help'
Marvell>> setenv bootdev usb
Marvell>> setenv device '0:1'
Marvell>> setenv load_initrd_addr 0x2900000
Unknown command 'setenv' - try 'help'
Marvell>> setenv load_initrd_addr 0x2900000
Marvell>> setenv load_image_addr 0x02000000
Marvell>> setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd'
Marvell>> setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage'
Marvell>> setenv usb_set_bootargs 'setenv bootargs "console=ttyS0,115200 root=/dev/sda1 rootdelay=10 $mtdparts earlyprintk=serial"'
Marvell>> setenv usb_bootcmd 'echo Booting from USB ...; setenv fdt_skip_update yes; usb start; run load_image; run load_initrd ; run usb_set_bootargs; bootm $load_image_addr $load_initrd_addr'
Marvell>> setenv bootcmd_usb 'usb start; run usb_set_bootargs; run usb_bootcmd; reset'
Marvell>> printenv
CASset=max
MALLOC_len=5
MPmode=SMP
autoload=no
baudrate=115200
boot_order=hd_scr usb_scr mmc_scr hd_img usb_img mmc_img pxe net_img net_scr
bootargs=root=/dev/ram console=ttyS0,115200
bootargs_dflt=$console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel
bootargs_end=:10.4.50.254:255.255.255.0:Armada38x:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd=run bootcmd_custom; setenv bootargs root=/dev/ram console=ttyS0,115200; nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000
bootcmd_auto=stage_boot $boot_order
bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_boot=tftpboot 0x2000000 $image_name; setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_edit=tftpboot $fdtaddr $fdtfile; fdt addr $fdtaddr; setenv bootcmd $bootcmd_fdt_boot
bootcmd_lgcy=tftpboot 0x2000000 $image_name; setenv bootargs $bootargs_dflt; bootm 0x2000000; 
bootcmd_usb=usb start; run usb_set_bootargs; run usb_bootcmd; reset
bootdelay=1
bootdev=usb
cacheShare=no
console=console=ttyS0,115200
device=0:1
device_partition=0:1
disaMvPnp=no
eeeEnable=no
enaClockGating=no
enaCpuStream=no
enaFPU=yes
enaMonExt=no
enaWrAllo=no
eth1addr=00:50:43:00:19:1a
eth1mtu=1500
eth2addr=00:50:43:00:00:1a
eth2mtu=1500
eth3addr=00:50:43:19:00:00
eth3mtu=1500
ethact=egiga0
ethaddr=00:50:43:00:19:1a
ethmtu=1500
ethprime=egiga0
fdt_addr=2040000
fdt_skip_update=no
fdtaddr=0x1000000
fdtfile=armada-38x-modular.dtb
filesize=24
ide_path=/
image_name=uImage
initrd_name=uInitrd
ipaddr=192.168.11.110
kernel_addr_r=2080000
lcd0_enable=0
lcd0_params=640x480-16@60
lcd_panel=0
load_image=echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage
load_image_addr=0x02000000
load_initrd=echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x2900000
loadaddr=0x02000000
loads_echo=0
mtddevname=u-boot
mtddevnum=0
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),441m@15m(image.cfs),15m@456m(rescue_fw),20m@471m(config),10m@491m(reserve1),10m@501m(reserve2)
mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500
mv_pon_addr=00:50:43:1a:00:00
nandEcc=nfcConfig=4bitecc
netbsd_en=no
netmask=255.255.255.0
netretry=no
partition=nand0,0
pcieTune=no
pexMode=RC
pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
ramdisk_addr_r=2880000
rootpath=/srv/nfs/
sata_delay_reset=0
sata_dma_mode=yes
script_addr_r=3000000
script_name=boot.scr
serverip=192.168.11.114
standalone=fsload 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000;
stderr=serial
stdin=serial
stdout=serial
usb0Mode=host
usbActive=0
usbType=3
usb_bootcmd=echo Booting from USB ...; setenv fdt_skip_update yes; usb start; run load_image; run load_initrd ; run usb_set_bootargs; bootm $load_image_addr $load_initrd_addr
usb_set_bootargs=setenv bootargs "console=ttyS0,115200 root=/dev/sda1 rootdelay=10 $mtdparts earlyprintk=serial"
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81

Environment size: 3919/524284 bytes
Marvell>> run bootcmd_usb
(Re)start USB...
USB0:   Port (usbActive) : 0    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
Booting from USB ...
(Re)start USB...
USB0:   Port (usbActive) : 0    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
loading Image ...

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


U-Boot 2013.01_v1.08 (Aug 07 2017 - 19:59:54) hmartin version: 2014_T3.0p6

Board: Yosemite DB6820
SoC:   MV88F6820 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1332 [MHz]
       L2     @ 666 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 666 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  1 GiB

Map:   Code:                    0x3fece000:0x3ff95e20
       BSS:                     0x3ffef254
       Stack:                   0x3f9cdf20
       Heap:                    0x3f9ce000:0x3fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:      0x00000000:0x00080000 (NAND)

NAND:  ID: dcad ,512 MiB
MMC:   mv_sdh: 0
PCI-e 0: Detected No Link.
bootcmd: run bootcmd_custom; setenv bootargs root=/dev/ram console=ttyS0,115200; nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00001f500000-0x00001ff00000 : "mtd=7"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=7"
UBI: MTD device size:            10 MiB
UBI: number of good PEBs:        80
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             32
UBI: total number of reserved PEBs: 48
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 6/2
UBIFS: mounted UBI device 0, volume 0, name "reserve2"
UBIFS: mounted read-only
UBIFS: file system size:   4063232 bytes (3968 KiB, 3 MiB, 32 LEBs)
UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root:  200807 bytes (196 KiB)
Loading file '/mac_addr' to addr 0x02000000 with size 36 (0x00000024)...
Done
lan mac_addr :  00 90 a9 e1 05 e8
Set lan 0 WakeOnLan ok
Set lan 2 WakeOnLan ok
I run u-boot from kwboot!
Enable HD1
Enable HD2
Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |     0x00     |
| egiga1 |   RGMII   |   In-Band    |
| egiga2 |   SGMII   |     0x01     |
egiga0 [PRIME], egiga1, egiga2
Hit any key to stop autoboot:  0 
## Error: "bootcmd_custom" not defined

NAND read: device 0 offset 0x500000, size 0x500000
 5242880 bytes read: OK

NAND read: device 0 offset 0xa00000, size 0x500000
 5242880 bytes read: OK
## Booting image at 00a00000 ...
## Booting kernel from Legacy Image at 00a00000 ...
   Image Name:   Kernel
   Created:      2020-12-21   2:51:55 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2933136 Bytes = 2.8 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 00f00000 ...
   Image Name:   Ramdisk
   Created:      2021-04-28  10:38:19 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    2489526 Bytes = 2.4 MiB
   Load Address: 00e00000
   Entry Point:  00e00000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.22-armada-18.09.3 (kman@kmachine) (gcc version 8.3.0 (Debian 8.3.0-2)) #1 SMP Mon Dec 21 02:51:38 UTC 2020 ga-18.09.3 Build-23
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] OF: fdt: Machine model: WD RangerPeak
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 3 pages/cpu @efe60000 s65740 r8192 d24372 u98304
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32741
[    0.000000] Kernel command line: root=/dev/ram console=ttyS0,115200
[    0.000000] PID hash table entries: 4096 (order: -1, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 4, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 3, 262144 bytes)
[    0.000000] Memory: 1033216K/1048576K available (6144K kernel code, 467K rwdata, 1376K rodata, 1024K init, 756K bss, 15360K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff8000   (  32 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a74e68   ( 468 kB)
[    0.000000]        .bss : 0xc0a74e68 - 0xc0b32024   ( 757 kB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU event tracing is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000007] sched_clock: 64 bits at 666MHz, resolution 1ns, wraps every 4398046511103ns
[    0.000018] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x999999d70a, max_idle_ns: 440795225152 ns
[    0.000033] Switching to timer-based delay loop, resolution 1ns
[    0.000167] Ignoring duplicate/late registration of read_current_timer delay
[    0.000175] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.000492] Console: colour dummy device 80x30
[    0.000505] Calibrating delay loop (skipped), value calculated using timer frequency.. 1332.00 BogoMIPS (lpj=6660000)
[    0.000514] pid_max: default: 32768 minimum: 301
[    0.000646] Mount-cache hash table entries: 8192 (order: 0, 32768 bytes)
[    0.000656] Mountpoint-cache hash table entries: 8192 (order: 0, 32768 bytes)
[    0.001055] CPU: Testing write buffer coherency: ok
[    0.001069] CPU0: Spectre v2: using BPIALL workaround
[    0.001215] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001361] Setting up static identity map for 0x100000 - 0x100060
[    0.001436] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.001510] mvebu-pmsu: Initializing Power Management Service Unit
[    0.001565] Hierarchical SRCU implementation.
[    0.001794] smp: Bringing up secondary CPUs ...
[    0.001976] Booting CPU 1
[    0.002152] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.002155] CPU1: Spectre v2: using BPIALL workaround
[    0.002211] smp: Brought up 1 node, 2 CPUs
[    0.002216] SMP: Total of 2 processors activated (2664.00 BogoMIPS).
[    0.002219] CPU: All CPU(s) started in SVC mode.
[    0.004224] devtmpfs: initialized
[    0.005664] random: get_random_u32 called from bucket_table_alloc+0x100/0x230 with crng_init=0
[    0.005774] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.005871] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.005880] futex hash table entries: 512 (order: 0, 32768 bytes)
[    0.005973] pinctrl core: initialized pinctrl subsystem
[    0.006415] NET: Registered protocol family 16
[    0.007048] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.007140] random: fast init done
[    0.007640] cpuidle: using governor ladder
[    0.007704] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.007709] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.007814] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.007821] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.015739] v5.0-sata0: supplied by pwr_en_sata0
[    0.015970] v5.0-sata1: supplied by pwr_en_sata1
[    0.016269] SCSI subsystem initialized
[    0.016507] usbcore: registered new interface driver usbfs
[    0.016539] usbcore: registered new interface driver hub
[    0.016577] usbcore: registered new device driver usb
[    0.016688] pps_core: LinuxPPS API ver. 1 registered
[    0.016692] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.016703] PTP clock support registered
[    0.017221] clocksource: Switched to clocksource arm_global_timer
[    0.030266] VFS: Disk quotas dquot_6.6.0
[    0.030330] VFS: Dquot-cache hash table entries: 8192 (order 0, 32768 bytes)
[    0.034531] NET: Registered protocol family 2
[    0.034806] TCP established hash table entries: 8192 (order: 0, 32768 bytes)
[    0.034851] TCP bind hash table entries: 8192 (order: 1, 65536 bytes)
[    0.034927] TCP: Hash tables configured (established 8192 bind 8192)
[    0.034973] UDP hash table entries: 1024 (order: 0, 32768 bytes)
[    0.035025] UDP-Lite hash table entries: 1024 (order: 0, 32768 bytes)
[    0.035153] NET: Registered protocol family 1
[    0.035332] Trying to unpack rootfs image as initramfs...
[    0.035601] rootfs image is not initramfs (no cpio magic); looks like an initrd
[    0.040227] Freeing initrd memory: 2432K
[    0.040481] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.041283] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.041517] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.041523] fuse init (API version 7.26)
[    0.043552] bounce: pool size: 64 pages
[    0.043585] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.043591] io scheduler noop registered
[    0.043595] io scheduler deadline registered
[    0.043634] io scheduler cfq registered (default)
[    0.043638] io scheduler mq-deadline registered
[    0.043641] io scheduler kyber registered
[    0.044258] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    0.045511] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.107722] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    0.107887] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.187696] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    0.210258] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.211158] console [ttyS0] disabled
[    0.231256] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 22, base_baud = 12500000) is a 16550A
[    0.922245] console [ttyS0] enabled
[    0.946329] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 23, base_baud = 12500000) is a 16550A
[    0.956355] brd: module loaded
[    0.988785] loop: module loaded
[    0.992550] ahci-mvebu f10a8000.sata: masking port_map 0x3 -> 0x3
[    0.998737] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.007856] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    1.017423] scsi host0: ahci-mvebu
[    1.021025] scsi host1: ahci-mvebu
[    1.024539] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 42
[    1.032553] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 42
[    1.041250] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xdc
[    1.047656] nand: Hynix H27U4G8F2DTR-BC
[    1.051512] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.159132] marvell-nfc f10d0000.flash: Timeout on CMDD (NDSR: 0x00000080)
[    1.266051] marvell-nfc f10d0000.flash: Timeout on CMDD (NDSR: 0x00000280)
[    1.273166] Bad block table found at page 262080, version 0x01
[    1.279372] Bad block table found at page 262016, version 0x01
[    1.285427] nand_read_bbt: bad block at 0x00001ea20000
[    1.290624] 8 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.296748] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    1.302182] 0x000000000000-0x000000500000 : "U-Boot"
[    1.307667] 0x000000500000-0x000000a00000 : "uImage"
[    1.313078] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    1.318634] 0x000000f00000-0x00001c800000 : "image.cfs"
[    1.326420] 0x00001c800000-0x00001d700000 : "rescue fw"
[    1.332110] 0x00001d700000-0x00001eb00000 : "config"
[    1.337578] 0x00001eb00000-0x00001f500000 : "reserve1"
[    1.343166] 0x00001f500000-0x00001ff00000 : "reserve2"
[    1.348937] libphy: Fixed MDIO Bus: probed
[    1.353424] libphy: orion_mdio_bus: probed
[    1.359192] mvneta f1070000.ethernet egiga0: Using random mac address 1a:37:e6:0e:1e:c1
[    1.367979] mvneta f1034000.ethernet egiga1: Using random mac address f2:68:a6:f2:5d:5d
[    1.376198] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.382777] ehci-pci: EHCI PCI platform driver
[    1.387280] ehci-orion: EHCI orion driver
[    1.391567] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.396916] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 1
[    1.404559] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.413161] xhci-hcd f10f0000.usb3: irq 44, io mem 0xf10f0000
[    1.419317] hub 1-0:1.0: USB hub found
[    1.423106] hub 1-0:1.0: 1 port detected
[    1.427239] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.432585] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    1.440250] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.448702] hub 2-0:1.0: USB hub found
[    1.452489] hub 2-0:1.0: 1 port detected
[    1.456678] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.462040] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[    1.469675] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.478274] xhci-hcd f10f8000.usb3: irq 45, io mem 0xf10f8000
[    1.484408] hub 3-0:1.0: USB hub found
[    1.488236] hub 3-0:1.0: 1 port detected
[    1.492345] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.497704] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    1.505277] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.513700] hub 4-0:1.0: USB hub found
[    1.517502] hub 4-0:1.0: 1 port detected
[    1.521731] usbcore: registered new interface driver usb-storage
[    1.528300] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.535991] i2c /dev entries driver
[    1.537229] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    1.537250] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    1.537714] ata1.00: ATA-9: WDC WD20EFRX-68EUZN0, 82.00A82, max UDMA/133
[    1.537723] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    1.537741] ata2.00: ATA-9: WDC WD20EFRX-68EUZN0, 82.00A82, max UDMA/133
[    1.537744] ata2.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    1.538226] ata2.00: configured for UDMA/133
[    1.538260] ata1.00: configured for UDMA/133
[    1.538460] scsi 0:0:0:0: Direct-Access     ATA      WDC WD20EFRX-68E 0A82 PQ: 0 ANSI: 5
[    1.538979] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    1.538983] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    1.539008] sd 0:0:0:0: [sda] Write Protect is off
[    1.539052] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.539418] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    1.539880] scsi 1:0:0:0: Direct-Access     ATA      WDC WD20EFRX-68E 0A82 PQ: 0 ANSI: 5
[    1.540193] sd 1:0:0:0: Attached scsi generic sg1 type 0
[    1.540418] sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    1.540422] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[    1.540500] sd 1:0:0:0: [sdb] Write Protect is off
[    1.540546] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.578115]  sda: sda1 sda2 sda3 sda4
[    1.578387]  sdb: sdb1 sdb2 sdb3 sdb4
[    1.579500] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[    1.579698] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    1.719244] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[    1.731812] orion_wdt: Initial timeout 171 sec
[    1.737203] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.744549] usbcore: registered new interface driver usbhid
[    1.750160] usbhid: USB HID core driver
[    1.754227] NET: Registered protocol family 17
[    1.758720] 8021q: 802.1Q VLAN Support v1.8
[    1.762942] Key type dns_resolver registered
[    1.767264] ThumbEE CPU extension supported.
[    1.771558] Registering SWP/SWPB emulation handler
[    1.776637] registered taskstats version 1
[    1.781786] armada38x-rtc f10a3800.rtc: setting system clock to 2021-05-25 11:29:50 UTC (1621942190)
[    1.791311] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    1.798010] md: Waiting for all devices to be available before autodetect
[    1.804832] md: If you don't use raid, use raid=noautodetect
[    1.810830] md: Autodetecting RAID arrays.
[    1.814948] md: autorun ...
[    1.817768] md: ... autorun DONE.
[    1.821141] RAMDISK: gzip image found at block 0
[    1.978401] usb-storage 1-1:1.0: USB Mass Storage device detected
[    1.997479] scsi host2: usb-storage 1-1:1.0
[    2.107326] EXT4-fs (ram0): couldn't mount as ext3 due to feature incompatibilities
[    2.115607] EXT4-fs (ram0): mounted filesystem without journal. Opts: (null)
[    2.122734] VFS: Mounted root (ext4 filesystem) readonly on device 1:0.
[    2.129617] devtmpfs: mounted
[    2.133097] Freeing unused kernel memory: 1024K
starting pid 1369, tty '': '/etc/rc.sh'
[    2.149682] EXT4-fs (ram0): re-mounted. Opts: (null)
** Mounting /etc/fstab
umount: can't unmount /proc: Invalid argument
umount: can't unmount /usr/local/modules: Invalid argument
[    3.047536] scsi 2:0:0:0: Direct-Access     USB 2.0  Flash Disk       4.00 PQ: 0 ANSI: 2
[    3.056060] sd 2:0:0:0: Attached scsi generic sg2 type 0
[    3.061499] sd 2:0:0:0: [sdc] 1013887 2048-byte logical blocks: (2.08 GB/1.93 GiB)
[    3.069248] sd 2:0:0:0: [sdc] Write Protect is off
[    3.074184] sd 2:0:0:0: [sdc] Asking for cache data failed
[    3.079723] sd 2:0:0:0: [sdc] Assuming drive cache: write through
[    3.091508]  sdc: sdc1
[    3.094704] sd 2:0:0:0: [sdc] Attached SCSI removable disk
[    3.401416] ubi0: attaching mtd5
[    3.456192] ubi0: scanning is finished
[    3.464212] ubi0: attached mtd5 (name "config", size 20 MiB)
[    3.469957] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    3.476872] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    3.483708] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    3.490710] ubi0: good PEBs: 159, bad PEBs: 1, corrupted PEBs: 0
[    3.496747] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[    3.504010] ubi0: max/mean erase counter: 475/313, WL threshold: 4096, image sequence number: 382870006
[    3.513454] ubi0: available PEBs: 12, total reserved PEBs: 147, PEBs reserved for bad PEB handling: 19
[    3.522821] ubi0: background thread "ubi_bgt0d" started, PID 1399
UBI device number 0, total 159 LEBs (20189184 bytes, 19.3 MiB), available 12 LEBs (1523712 bytes, 1.5 MiB), LEB size 126976 bytes (124.0 KiB)
[    4.539948] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 1404
[    4.557919] UBIFS (ubi0:0): recovery needed
[    4.607584] UBIFS (ubi0:0): recovery completed
[    4.612089] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "config"
[    4.619538] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    4.629511] UBIFS (ubi0:0): FS size: 14475264 bytes (13 MiB, 114 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
[    4.639917] UBIFS (ubi0:0): reserved for root: 683702 bytes (667 KiB)
[    4.646392] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID 13C8314C-5EB9-4E6E-97FE-912C2B992752, small LPT model
No check first good block
image len = 126582784 , image checksum = 4207e2fb
dump image checksum=4207e2fb
mount cmd:busybox mount -t squashfs -o loop /usr/local/tmp/image.cfs /usr/local/modules
ln: /lib/./libwdhw.so: File exists
ln: /lib/./libwdhw.so.1: File exists
ldconfig: /lib/libpcre.so.3 is not a symbolic link

dev.raid.speed_limit_min = 20000
dev.raid.speed_limit_max = 20000
[   25.437205] raid6: int32x1  gen()   483 MB/s
[   25.607312] raid6: int32x1  xor()   175 MB/s
[   25.777199] raid6: int32x2  gen()   446 MB/s
[   25.947200] raid6: int32x2  xor()   252 MB/s
[   26.117277] raid6: int32x4  gen()   441 MB/s
[   26.287293] raid6: int32x4  xor()   262 MB/s
[   26.457222] raid6: int32x8  gen()   451 MB/s
[   26.627311] raid6: int32x8  xor()   254 MB/s
[   26.631602] raid6: using algorithm int32x1 gen() 483 MB/s
[   26.637026] raid6: .... xor() 175 MB/s, rmw enabled
[   26.641933] raid6: using intx1 recovery algorithm
[   26.658849] xor: measuring software checksum speed
[   26.757211]    arm4regs  :  1270.400 MB/sec
[   26.857217]    8regs     :   937.600 MB/sec
[   26.957200]    32regs    :  1107.200 MB/sec
[   26.961404] xor: using function: arm4regs (1270.400 MB/sec)
[   26.983325] async_tx: api initialized (async)
[   27.046901] RPC: Registered named UNIX socket transport module.
[   27.052889] RPC: Registered udp transport module.
[   27.057621] RPC: Registered tcp transport module.
[   27.062347] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   27.108920] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
[   27.436458] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   27.610599] SGI XFS with security attributes, no debug enabled
egiga0    Link encap:Ethernet  HWaddr 1A:37:E6:0E:1E:C1  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1024 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:37 

egiga1    Link encap:Ethernet  HWaddr F2:68:A6:F2:5D:5D  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1024 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:38 

Do Lan Port Switch
[   27.738488] mvneta f1070000.ethernet not_egiga0: renamed from egiga0
[   27.781477] mvneta f1034000.ethernet egiga0: renamed from egiga1
[   27.851199] mvneta f1070000.ethernet egiga1: renamed from not_egiga0
[   27.922726] jnl: loading out-of-tree module taints kernel.
[   27.929338] jnl: driver (UFSD_HEAD lke_9.7.0_b20) loaded at bfc98000
[   28.025793] ufsd: module license 'Commercial product' taints kernel.
[   28.032210] Disabling lock debugging due to kernel taint
[   28.047994] ufsd: driver (UFSD_HEAD lke_9.7.0_b20, acl, sd2(5), tr, car) loaded at bfcd8000
[   28.047994] NTFSJ support included
[   28.047994] exFAT support included
[   28.047994] Hfs+J support included
[   28.047994] Build_for__WD_Generic_k4.14.22_2020-07-27_lke_9.7.0_b20
[   28.072914] ufsd: PAGE_SIZE=32K, THREAD_SIZE=64k
[   28.077560] ufsd: Kernel .config hash: original 0xfec52e1d, current can't check.
[   28.084994] ufsd: Kernel .config hash: original 0xfec52e1d, current can't check
[   28.113716] tun: Universal TUN/TAP device driver, 1.6
lrwxrwxrwx    1 root     0               17 May 25 11:30 /usr/sbin//raid_config -> /usr/sbin/diskmgr
lrwxrwxrwx    1 root     0               17 May 25 11:30 /usr/sbin//raid_expand -> /usr/sbin/diskmgr
lrwxrwxrwx    1 root     0               17 May 25 11:30 /usr/sbin//raid_expand_disks -> /usr/sbin/diskmgr
lrwxrwxrwx    1 root     0               17 May 25 11:30 /usr/sbin//raid_update_info -> /usr/sbin/diskmgr
hardware init
change baudrate to 19200
Set 802.3az
mtd check v1.06.06032015
config mtd type is UBIFS
device = /usr/local/config
Total size     = 12384 Kbytes
Used size     = 288 Kbytes
Free size     = 12096 Kbytes
percentage = 2
/usr/local/config free size is 12386304
** copy config files
current fw ver1 = 5.13.115
current fw ver2 = 5.13.115.0428.2021
** set loopback interface
[   35.985921] ubi1: attaching mtd6
[   36.015347] ubi1: scanning is finished
[   36.023487] ubi1: attached mtd6 (name "reserve1", size 10 MiB)
[   36.029403] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[   36.036318] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[   36.043161] ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096
[   36.050163] ubi1: good PEBs: 80, bad PEBs: 0, corrupted PEBs: 0
[   36.056112] ubi1: user volume: 1, internal volumes: 1, max. volumes count: 128
[   36.063377] ubi1: max/mean erase counter: 7/3, WL threshold: 4096, image sequence number: 1464274168
[   36.072561] ubi1: available PEBs: 14, total reserved PEBs: 66, PEBs reserved for bad PEB handling: 28
[   36.081841] ubi1: background thread "ubi_bgt1d" started, PID 2975
UBI device number 1, total 80 LEBs (10158080 bytes, 9.7 MiB), available 14 LEBs (1777664 bytes, 1.7 MiB), LEB size 126976 bytes (124.0 KiB)
[   37.110202] UBIFS (ubi1:0): background thread "ubifs_bgt1_0" started, PID 2982
[   37.159480] UBIFS (ubi1:0): UBIFS: mounted UBI device 1, volume 0, name "reserve"
[   37.167005] UBIFS (ubi1:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   37.176978] UBIFS (ubi1:0): FS size: 3047424 bytes (2 MiB, 24 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
[   37.187121] UBIFS (ubi1:0): reserved for root: 143937 bytes (140 KiB)
[   37.193599] UBIFS (ubi1:0): media format: w4/r0 (latest is w5/r0), UUID 3F147905-44C5-4DDA-BB18-5A3DD73823DB, small LPT model
[   37.268802] UBIFS (ubi1:0): un-mount UBI device 1
[   37.273544] UBIFS (ubi1:0): background thread "ubifs_bgt1_0" stops
[   37.337636] ubi2: attaching mtd7
[   37.367007] ubi2: scanning is finished
[   37.375129] ubi2: attached mtd7 (name "reserve2", size 10 MiB)
[   37.381050] ubi2: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[   37.387993] ubi2: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[   37.394818] ubi2: VID header offset: 2048 (aligned 2048), data offset: 4096
[   37.401821] ubi2: good PEBs: 80, bad PEBs: 0, corrupted PEBs: 0
[   37.407775] ubi2: user volume: 1, internal volumes: 1, max. volumes count: 128
[   37.415034] ubi2: max/mean erase counter: 6/2, WL threshold: 4096, image sequence number: 102756252
[   37.424131] ubi2: available PEBs: 6, total reserved PEBs: 74, PEBs reserved for bad PEB handling: 28
[   37.433325] ubi2: background thread "ubi_bgt2d" started, PID 2992
UBI device number 2, total 80 LEBs (10158080 bytes, 9.7 MiB), available 6 LEBs (761856 bytes, 744.0 KiB), LEB size 126976 bytes (124.0 KiB)
mknod: /dev/mtd7: File exists
[   38.566189] UBIFS (ubi2:0): background thread "ubifs_bgt2_0" started, PID 3001
[   38.615613] UBIFS (ubi2:0): UBIFS: mounted UBI device 2, volume 0, name "reserve2"
[   38.623234] UBIFS (ubi2:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   38.633205] UBIFS (ubi2:0): FS size: 4063232 bytes (3 MiB, 32 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
[   38.643349] UBIFS (ubi2:0): reserved for root: 191915 bytes (187 KiB)
[   38.649828] UBIFS (ubi2:0): media format: w4/r0 (latest is w5/r0), UUID 9B283082-FC76-46F4-9769-421F96B58C5A, small LPT model
/dev/mtd7 mount ok(ubi)
[   38.818849] UBIFS (ubi2:0): un-mount UBI device 2
[   38.823939] UBIFS (ubi2:0): background thread "ubifs_bgt2_0" stops
mac1 = 00:90:A9:E1:05:E8
mac2 = 00:90:A9:E1:05:E9
lan0:ifconfig egiga0 hw ether 00:90:A9:E1:05:E8
lan0:ifconfig egiga1 hw ether 00:90:A9:E1:05:E9
[   39.007859] mvneta f1034000.ethernet egiga0: PHY [f1072004.mdio-mii:01] driver [Marvell 88E1510]
[   39.016904] mvneta f1034000.ethernet egiga0: configuring for phy/sgmii link mode
[   39.127943] mvneta f1070000.ethernet egiga1: PHY [f1072004.mdio-mii:00] driver [Marvell 88E1510]
[   39.136985] mvneta f1070000.ethernet egiga1: configuring for phy/rgmii-id link mode
set lan0 speed
set lan1 speed
[   39.200044] exFAT: file-system version 2.2.0-3arter97
hidden encryption: 0
Not support chk_sata
[   43.287731] mvneta f1034000.ethernet egiga0: Link is Up - 1Gbps/Full - flow control off
[   44.367668] NET: Registered protocol family 10
[   44.372726] Segment Routing with IPv6
[   44.409471] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
net.ipv6.conf.default.accept_dad = 2
net.ipv6.conf.egiga0.accept_dad = 2
net.ipv6.conf.default.dad_transmits = 1
net.ipv6.conf.egiga0.dad_transmits = 1
net.ipv6.conf.default.forwarding = 0
net.ipv6.conf.default.accept_redirects = 1
*** execute rc.init.sh
ip.sh bonding {1 restart}
bonding starting ...
insmod /usr/local/modules/driver/bonding.ko mode=1 miimon=500 use_carrier=1 downdelay=1000 updelay=1000
[   45.756318] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[   45.762748] MII link monitoring set to 500 ms
[   46.805952] 8021q: adding VLAN 0 to HW filter on device bond0
[   48.819335] mvneta f1034000.ethernet egiga0: Link is Down
[   48.927858] mvneta f1034000.ethernet egiga0: PHY [f1072004.mdio-mii:01] driver [Marvell 88E1510]
[   48.936883] mvneta f1034000.ethernet egiga0: configuring for phy/sgmii link mode
[   48.944527] bond0: Enslaving egiga0 as a backup interface with a down link
[   48.951465] mvneta f1034000.ethernet egiga0: Link is Up - 1Gbps/Full - flow control off
[   49.057632] mvneta f1070000.ethernet egiga1: PHY [f1072004.mdio-mii:00] driver [Marvell 88E1510]
[   49.066658] mvneta f1070000.ethernet egiga1: configuring for phy/rgmii-id link mode
[   49.074563] bond0: Enslaving egiga1 as a backup interface with a down link
[   49.347209] bond0: link status up for interface egiga0, enabling it in 0 ms
[   49.354240] bond0: link status definitely up for interface egiga0, 1000 Mbps full duplex
[   49.362381] bond0: making interface egiga0 the new active one
[   49.368304] bond0: first active interface up!
[   50.090713] mvneta f1034000.ethernet egiga0: Link is Down
[   50.387202] bond0: link status down for active interface egiga0, disabling it in 1000 ms
[   51.407222] bond0: link status definitely down for interface egiga0, disabling it
Waiting for bond0 ready...
Waiting for bond0 ready...
[   53.207582] mvneta f1034000.ethernet egiga0: Link is Up - 1Gbps/Full - flow control off
[   53.447206] bond0: link status up for interface egiga0, enabling it in 0 ms
[   53.454216] bond0: link status definitely up for interface egiga0, 1000 Mbps full duplex
[   53.462357] bond0: making interface egiga0 the new active one
[   53.468269] bond0: first active interface up!
udhcpc: started, v1.30.1
cat: can't open '/tmp/setip.0': No such file or directory
udhcpc: sending discover
killall: crond: no process killed
crond[3207]: crond (busybox 1.30.1) started, log level 8

udhcpc: sending select for 192.168.1.10
udhcpc: lease of 192.168.1.10 obtained, lease time 864000
deleting routers
route: SIOCDELRT: No such process
crond[3278]: crond (busybox 1.30.1) started, log level 8

Initializing UPnP Sdk with
        ipaddress = (null) port = 0
UPnP Initialized
        ipaddress= 192.168.1.10 port = 49152
Specifying the webserver root directory -- /etc/upnp
Registering the RootDevice
         with desc_doc_url: http://192.168.1.10:49152/nasdevicedesc.xml
RootDevice Registered
Initializing State Table
State Table Initialized
RTNETLINK answers: Operation not supported
RTNETLINK answers: Operation not supported
call load_module network
Stop rsyslog daemon:
Advertisements Sent
Starting rsyslog daemon:
*** Copy CacheVolume data from flash ****
*** set Time Zone ****
php-fpm is not running.
Tue May 25 13:30:45 CEST 2021
Stop rsyslog daemon:
Starting rsyslog daemon:
*** get Time from rtc and set it into system ****
rtc: RTC time = 2021/5/25 Tue 11:30:46
Tue May 25 13:30:46 CEST 2021

Module IPC SERVER Version:(1.00.20090706)

Set Date & time : sntp -K /dev/null -S -r de.pool.ntp.org
ads=0
sntp 4.2.8p12@1.3728-o (1)
2021-05-25 13:30:46.129608 (-0100) +0.989510 +/- 0.691299 de.pool.ntp.org 78.46.53.2 s2 no-leap
NTP Server connected successfully!!!
created mail daemon thread 0
0
990
POWER ON DEVICE!!
mdadm: /dev/sdb1 appears to be part of a raid array:
       level=raid1 devices=2 ctime=Tue May 25 11:02:04 2021
mdadm: Note: this array has metadata at the start and
    may not be suitable as a boot device.  If you plan to
    store '/boot' on this device please ensure that
    your boot-loader understands md/v1.x metadata, or use
    --metadata=0.90
mdadm: /dev/sda1 appears to be part of a raid array:
       level=raid1 devices=2 ctime=Tue May 25 11:02:04 2021
mdadm: size set to 2094080K
mdadm: creation continuing despite oddities due to --run
mdadm: Fail create md0 when using /sys/module/md_mod/parameters/new_array
mdadm: Defaulting to version 1.2 metadata
[   59.512554] md/raid1:md0: active with 2 out of 2 mirrors
[   59.536994] md0: detected capacity change from 0 to 2144337920
mdadm: array /dev/md0 started.
GPT fdisk (gdisk[   59.730092]  md0: p1 p2
) version 1.0.3

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): 
Command (? for help): 
Command (? for help): This option deletes all partitions and creates a new protective MBR.
Proceed? (Y/N): 
Command (? for help): Partition number (1-128, default 1): First sector (34-4188126, default = 2048) or {+-}size{KMGTP}: Last sector (2048-4188126, default = 4188126) or {+-}size{KMGTP}: Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300): Changed type of partition to 'Linux filesystem'

Command (? for help): Partition number (2-128, default 2): First sector (34-4188126, default = 616448) or {+-}size{KMGTP}: Last sector (616448-4188126, default = 4188126) or {+-}size{KMGTP}: Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300): Changed type of partition to 'Linux filesystem'

Command (? for help): 
Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N): OK; writing new GUID partition table (GPT) to /dev/md0.
[   60.846406]  md0: p1 p2
The operation has completed successfully.
mke2fs 1.44.5 (15-Dec-2018)
/dev/md0p1 contains a ext4 file system
[   61.944216] random: crng init done
        last mounted on Tue May 25 11:02:07 2021
Creating filesystem with 307200 1k blocks and 76912 inodes
Filesystem UUID: 99d2fe06-8552-456a-95be-581fe97f95ed
Superblock backups stored on blocks: 
        8193, 24577, 40961, 57345, 73729, 204801, 221185

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done 

[   62.527668] EXT4-fs (md0p1): mounted filesystem with ordered data mode. Opts: (null)
Setting up swapspace version 1, size = 1828666880 bytes
UUID=28819446-5df4-41ed-8699-89f88b9d80e7
[   62.580585] Adding 1785792k swap on /dev/md0p2.  Priority:-2 extents:1 across:1785792k 
mdadm: /dev/md0: no change requested
[   62.673498] EXT4-fs (sdb4): barriers disabled
[   62.689286] EXT4-fs (sdb4): recovery complete
[   62.693685] EXT4-fs (sdb4): mounted filesystem with ordered data mode. Opts: barrier=0,usrquota,grpquota
[   62.729787] EXT4-fs (sda4): barriers disabled
[   62.749715] EXT4-fs (sda4): recovery complete
[   62.754216] EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: barrier=0,usrquota,grpquota
--->isVolumeExist 0 
[   62.813844] md: md1 stopped.
[   62.822784] md1: detected capacity change from 0 to 3992205131776
[   71.506144] restart sysinfod...
[   73.453152] EXT4-fs (md1): barriers disabled
[   74.015861] EXT4-fs (md1): mounted filesystem with ordered data mode. Opts: barrier=0,usrquota,grpquota

Up_Send_Ctl : Can not find specified command "ErrStatus"
WD hwlib start..............
Starting system message bus
Starting wdtms
wdtms started
Loading x_tables.ko
Loading nf_conntrack.ko
[   79.845230] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
Loading xt_conntrack.ko
Loading xt_state.ko
Loading xt_tcpudp.ko
Loading xt_recent.ko
Loading xt_LOG.ko
Loading nf_log_common.ko
Loading xt_limit.ko
Loading ip_tables.ko
[   80.107985] ip_tables: (C) 2000-2006 Netfilter Core Team
Loading iptable_filter.ko
Loading nf_defrag_ipv4.ko
Loading nf_conntrack_ipv4.ko
Loading nf_log_ipv4.ko
Loading ip6_tables.ko
[   80.366189] ip6_tables: (C) 2000-2006 Netfilter Core Team
Loading ip6table_filter.ko
Loading nf_defrag_ipv6.ko
Loading nf_conntrack_ipv6.ko
Loading nf_log_ipv6.ko
PHY_LAN_NUMBER=2
BOND_ENABLE=1
VLAN0_ENABLE=0
VLAN1_ENABLE=0
**LLTD START**
LLTDIF0=bond0
Starting otaclient
otaclient started

 -------------use hwlib instead of fan_control b c------------- 
 4511 root      5504 S    avahi-daemon: running [NAS.local]
[ERROR] Unable to open (null)
[   84.562896] EXT4-fs (sdc1): mounting ext3 file system using the ext4 subsystem
[   84.636379] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null)
sh: incUpdateCount.pm: not found
Starting php-fpm
php-fpm started
chk_io
system daemon

Starting nasAdmin
nasAdmin started
[   92.535324] Loading iSCSI transport class v2.0-870.
[   92.641191] scandisk for power failure now.

*ERROR* main(): scandisk [-a] [(null)]

dev.raid.speed_limit_max = 200000
dumpe2fs 1.44.5 (15-Dec-2018)
[   92.796583] iscsi: registered transport (tcp)
Starting monit
New interface iface0 added
iface0 updated.
New interface iface1 added
iface1 updated.
New interface ifbond added
ifbond updated.
2021/05/25 13:31:22 nasAdmin starting, config file (use default config if none specified):/etc/nasAdmin.toml
2021/05/25 13:31:22 nasAdmin starting, log file: /var/log/nasAdmin.log
monit started
Set watchdog interval to 120
Current watchdog interval is 120
Reinitializing monit daemon

Please press Enter to activate this console. PIP is disabled, exiting.
sacndisk for power failure(fs_error_count=0)
[   97.031577] volume_stop.sh /mnt/HD/HD_a2...
option stop_uuid
iSCSI Module Disabled
[   97.370742] kill_process.sh /mnt/HD/HD_a2...
Stopping otaclient
                [   99.629653] kill_process.sh done.
     USER        PID ACCESS COMMAND
/mnt/HD/HD_a2:       root     kernel mount /mnt/HD/HD_a2
[  100.720078] volume_stop.sh done.
                     USER        PID ACCESS COMMAND
/mnt/HD/HD_a2:       root     kernel mount /mnt/HD/HD_a2
[  178.640481] EXT4-fs (md1): barriers disabled
[  179.203488] EXT4-fs (md1): mounted filesystem with ordered data mode. Opts: barrier=0,usrquota,grpquota
OPEN DEBUG MODE!!
volumeNum = 1
web cmd = 1
sdx3Flag = 0
raidMode = raid0
raidStatus = 0 
Volume is in Normal state 
fileType = ext4
size = 3837328472
usedSize = 197930372
freeSize = 3639398100
percentage = 0
devUsedStr = sdbsda
devSpareStr = -><- len 0
devMountStr = /dev/md1
devToRaid1 = 
devCombineDevice = /dev/sdb2 /dev/sda2 
scsiMapping = 0x3
devNum = 2
raidUuid = UUID=ae7e6b53:33d008a4:eb45304f:9db482af
isVolEncryption = 0
isVolAutoMount = 0
encryptionPasswd = 
mountStatus = 1
isRoaming = 0
hdSerialNumber[0] = sdb:WD-WCC4M4ETUXED
hdSerialNumber[1] = sda:WD-WCC4M7FD36C0

Up_Send_Ctl : Can not find specified command "ErrStatus"
call load_module
### create systemfile ###
### sata_reload_application start ###
Initializing UPnP Sdk with
        ipaddress = (null) port = 0
UPnP Initialized
        ipaddress= 192.168.1.10 port = 49152
Specifying the webserver root directory -- /etc/upnp
Registering the RootDevice
         with desc_doc_url: http://192.168.1.10:49152/nasdevicedesc.xml
RootDevice Registered
Initializing State Table
State Table Initialized
Advertisements Sent
Starting atopacctd
cannot switch on process accounting: Function not implemented
Starting atop system monitor  atop
atop started
MySQL Setting: status : 1
MySQL Setting: deny_remote_access : 1
MySQL Setting: blank : 0
killall: mysqld: no process killed
killall: mysqld_safe: no process killed
210525 13:33:04 mysqld_safe Logging to '/mnt/HD_a4/.@database@/NAS.err'.
210525 13:33:04 mysqld_safe Starting mysqld daemon with databases from /mnt/HD_a4/.@database@
MySQL DataPath: /mnt/HD_a4/.@database@
killall: smbd: no process killed
killall: smbd: no process killed
killall: chk_blockip: no process killed
killall: chk_blockip: no process killed
Can't load //.rnd into RNG
3062412688:error:2406F079:random number generator:RAND_load_file:Cannot open file:crypto/rand/randfile.c:98:Filename=//.rnd
Generating a RSA private key
.+++++
........+++++
writing new private key to '/etc/ssl/private/pure-ftpd.pem'
-----
killall: pure-ftp: no process killed
killall: pure-ftpd_s: no process killed
 4511 root      5504 S    avahi-daemon: running [NAS.local]
*** APKG Daemon is starting ... ***
Reinitializing monit daemon
[phpMyAdmin] init
stop phpMyAdmin: /mnt/HD/HD_a2/Nas_Prog/phpMyAdmin
[phpMyAdmin] start
Stopping otaclient
Starting otaclient
otaclient started
### sata_reload_application end ###
LED_POWER_ON

Re: Debian installation instructions for WD EX2100
May 25, 2021 04:37PM
sorgonas,

Marvell>> run bootcmd_usb
(Re)start USB...
USB0:   Port (usbActive) : 0    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
Booting from USB ...
(Re)start USB...
USB0:   Port (usbActive) : 0    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
loading Image ...

It crashed while loading the kernel image. And reset the box right here.

And booting automaticaly again.

> 
>  __   __                      _ _
> |  \/  | __ _ _ ____   _____| | |
> | |\/| |/ _` | '__\ \ / / _ \ | |
> | |  | | (_| | |   \ V /  __/ | |
> |_|  |_|\__,_|_|    \_/ \___|_|_|
>          _   _     ____              _
>         | | | |   | __ )  ___   ___ | |_ 
>         | | | |___|  _ \ / _ \ / _ \| __| 
>         | |_| |___| |_) | (_) | (_) | |_ 
>          \___/    |____/ \___/ \___/ \__| 
>  ** LOADER **
> 
> 
> U-Boot 2013.01_v1.08 (Aug 07 2017 - 19:59:54)
> hmartin version: 2014_T3.0p6
> 
> Board: Yosemite DB6820
> SoC:   MV88F6820 Rev A0
>        running 2 CPUs
> CPU:   ARM Cortex A9 MPCore (Rev 1) LE
>        CPU 0
>        CPU    @ 1332 [MHz]
>        L2     @ 666 [MHz]
>        TClock @ 200 [MHz]
>        DDR    @ 666 [MHz]
>        DDR 32 Bit Width, FastPath Memory Access,
> DLB Enabled, ECC Disabled
> DRAM:  1 GiB

So that's why it booted back to stock.

I suspect that your rootfs was still not done correctly. If you'd like, post log of the entire session when you created the rootfs here, perhaps you've missed something.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian installation instructions for WD EX2100
May 26, 2021 01:57AM
Hey Bodhi,

I have the new creation of the USB here, but there was no error, it looks like the last time.

The new start went like the last one and the system started normally. can it possibly be that this does not work, because my device had not loaded a firmware update too long ago?

./usr/lib/python2.7/encodings/iso2022_jp_3.py
./usr/lib/python2.7/encodings/cp720.pyc
./usr/lib/python2.7/encodings/cp1256.py
./usr/lib/python2.7/encodings/iso8859_3.pyc
./usr/lib/python2.7/encodings/ascii.py
./usr/lib/python2.7/encodings/hex_codec.pyc
./usr/lib/python2.7/encodings/euc_jis_2004.py
./usr/lib/python2.7/encodings/aliases.py
./usr/lib/python2.7/encodings/cp862.pyc
./usr/lib/python2.7/encodings/cp1254.pyc
./usr/lib/python2.7/encodings/cp1258.pyc
./usr/lib/python2.7/encodings/cp855.pyc
./usr/lib/python2.7/encodings/big5hkscs.py
./usr/lib/python2.7/encodings/iso8859_10.pyc
./usr/lib/python2.7/encodings/koi8_r.py
./usr/lib/python2.7/encodings/mac_greek.py
./usr/lib/python2.7/encodings/iso8859_14.py
./usr/lib/python2.7/encodings/iso8859_1.pyc
./usr/lib/python2.7/encodings/iso8859_7.py
./usr/lib/python2.7/encodings/koi8_u.pyc
./usr/lib/python2.7/encodings/cp1252.py
./usr/lib/python2.7/encodings/mac_iceland.pyc
./usr/lib/python2.7/encodings/cp500.pyc
./usr/lib/python2.7/encodings/cp1258.py
./usr/lib/python2.7/encodings/cp857.py
./usr/lib/python2.7/encodings/big5hkscs.pyc
./usr/lib/python2.7/encodings/utf_8.py
./usr/lib/python2.7/encodings/cp1140.py
./usr/lib/python2.7/encodings/utf_7.py
./usr/lib/python2.7/encodings/iso8859_6.pyc
./usr/lib/python2.7/encodings/iso8859_15.pyc
./usr/lib/python2.7/encodings/mac_croatian.pyc
./usr/lib/python2.7/encodings/mac_farsi.py
./usr/lib/python2.7/encodings/zlib_codec.pyc
./usr/lib/python2.7/encodings/iso2022_jp_2004.pyc
./usr/lib/python2.7/encodings/cp1251.py
./usr/lib/python2.7/encodings/iso2022_jp_2.py
./usr/lib/python2.7/encodings/cp856.pyc
./usr/lib/python2.7/encodings/cp864.py
./usr/lib/python2.7/encodings/iso8859_8.py
./usr/lib/python2.7/encodings/cp861.py
./usr/lib/python2.7/encodings/ascii.pyc
./usr/lib/python2.7/encodings/euc_jp.py
./usr/lib/python2.7/encodings/shift_jisx0213.py
./usr/lib/python2.7/encodings/rot_13.pyc
./usr/lib/python2.7/encodings/cp874.py
./usr/lib/python2.7/encodings/iso8859_16.py
./usr/lib/python2.7/encodings/iso8859_1.py
./usr/lib/python2.7/encodings/mac_romanian.pyc
./usr/lib/python2.7/encodings/mac_turkish.py
./usr/lib/python2.7/encodings/cp869.py
./usr/lib/python2.7/encodings/cp037.py
./usr/lib/python2.7/encodings/utf_7.pyc
./usr/lib/python2.7/encodings/iso8859_9.py
./usr/lib/python2.7/encodings/iso8859_14.pyc
./usr/lib/python2.7/encodings/euc_jp.pyc
./usr/lib/python2.7/encodings/iso8859_11.pyc
./usr/lib/python2.7/encodings/cp775.py
./usr/lib/python2.7/encodings/mac_cyrillic.py
./usr/lib/python2.7/encodings/idna.pyc
./usr/lib/python2.7/encodings/gbk.pyc
./usr/lib/python2.7/encodings/hp_roman8.py
./usr/lib/python2.7/encodings/cp1251.pyc
./usr/lib/python2.7/encodings/cp500.py
./usr/lib/python2.7/encodings/cp874.pyc
./usr/lib/python2.7/encodings/mac_roman.py
./usr/lib/python2.7/encodings/hz.py
./usr/lib/python2.7/encodings/palmos.pyc
./usr/lib/python2.7/encodings/utf_32_be.py
./usr/lib/python2.7/encodings/tis_620.pyc
./usr/lib/python2.7/encodings/mac_centeuro.pyc
./usr/lib/python2.7/encodings/cp424.py
./usr/lib/python2.7/encodings/cp866.py
./usr/lib/python2.7/encodings/cp1254.py
./usr/lib/python2.7/encodings/cp1026.py
./usr/lib/python2.7/encodings/utf_32_le.py
./usr/lib/python2.7/encodings/iso8859_3.py
./usr/lib/python2.7/encodings/mac_greek.pyc
./usr/lib/python2.7/encodings/unicode_internal.pyc
./usr/lib/python2.7/encodings/iso8859_7.pyc
./usr/lib/python2.7/encodings/utf_16_be.pyc
./usr/lib/python2.7/encodings/ptcp154.pyc
./usr/lib/python2.7/encodings/punycode.pyc
./usr/lib/python2.7/encodings/cp1026.pyc
./usr/lib/python2.7/encodings/quopri_codec.pyc
./usr/lib/python2.7/encodings/gb2312.pyc
./usr/lib/python2.7/encodings/cp863.py
./usr/lib/python2.7/encodings/utf_32_le.pyc
./usr/lib/python2.7/encodings/mbcs.py
./usr/lib/python2.7/encodings/mac_croatian.py
./usr/lib/python2.7/encodings/ptcp154.py
./usr/lib/python2.7/encodings/bz2_codec.py
./usr/lib/python2.7/encodings/koi8_r.pyc
./usr/lib/python2.7/encodings/utf_8.pyc
./usr/lib/python2.7/encodings/uu_codec.pyc
./usr/lib/python2.7/encodings/iso8859_13.pyc
./usr/lib/python2.7/encodings/__init__.py
./usr/lib/python2.7/encodings/cp775.pyc
./usr/lib/python2.7/encodings/mac_cyrillic.pyc
./usr/lib/python2.7/encodings/palmos.py
./usr/lib/python2.7/encodings/cp866.pyc
./usr/lib/python2.7/encodings/mac_roman.pyc
./usr/lib/python2.7/encodings/undefined.py
./usr/lib/python2.7/encodings/gb18030.pyc
./usr/lib/python2.7/encodings/iso2022_jp_1.py
./usr/lib/python2.7/encodings/cp1252.pyc
./usr/lib/python2.7/encodings/mac_centeuro.py
./usr/lib/python2.7/encodings/cp865.pyc
./usr/lib/python2.7/encodings/charmap.pyc
./usr/lib/python2.7/encodings/cp1253.pyc
./usr/lib/python2.7/encodings/gb2312.py
./usr/lib/python2.7/encodings/gbk.py
./usr/lib/python2.7/encodings/hz.pyc
./usr/lib/python2.7/encodings/utf_32.py
./usr/lib/python2.7/encodings/raw_unicode_escape.pyc
./usr/lib/python2.7/encodings/cp857.pyc
./usr/lib/python2.7/encodings/iso8859_11.py
./usr/lib/python2.7/encodings/cp1006.pyc
./usr/lib/python2.7/encodings/cp932.pyc
./usr/lib/python2.7/encodings/punycode.py
./usr/lib/python2.7/encodings/iso8859_2.py
./usr/lib/python2.7/encodings/euc_jisx0213.pyc
./usr/lib/python2.7/encodings/cp869.pyc
./usr/lib/python2.7/encodings/cp437.pyc
./usr/lib/python2.7/encodings/cp950.py
./usr/lib/python2.7/encodings/__init__.pyc
./usr/lib/python2.7/encodings/iso2022_kr.py
./usr/lib/python2.7/encodings/mbcs.pyc
./usr/lib/python2.7/encodings/shift_jisx0213.pyc
./usr/lib/python2.7/encodings/iso8859_10.py
./usr/lib/python2.7/encodings/cp861.pyc
./usr/lib/python2.7/encodings/iso8859_4.py
./usr/lib/python2.7/encodings/iso2022_jp_ext.pyc
./usr/lib/python2.7/encodings/utf_16_be.py
./usr/lib/python2.7/encodings/uu_codec.py
./usr/lib/python2.7/encodings/cp864.pyc
./usr/lib/python2.7/encodings/utf_32_be.pyc
./usr/lib/python2.7/encodings/zlib_codec.py
./usr/lib/python2.7/encodings/undefined.pyc
./usr/lib/python2.7/encodings/cp437.py
./usr/lib/python2.7/encodings/cp932.py
./usr/lib/python2.7/encodings/iso8859_6.py
./usr/lib/python2.7/encodings/iso2022_jp.pyc
./usr/lib/python2.7/encodings/unicode_escape.py
./usr/lib/python2.7/encodings/cp858.py
./usr/lib/python2.7/StringIO.py
./usr/lib/python2.7/hashlib.py
./usr/lib/python2.7/re.py
./usr/lib/python2.7/rexec.py
./usr/lib/python2.7/dircache.pyc
./usr/lib/python2.7/weakref.pyc
./usr/lib/python2.7/plat-arm-linux-gnueabihf/
./usr/lib/python2.7/plat-arm-linux-gnueabihf/DLFCN.py
./usr/lib/python2.7/plat-arm-linux-gnueabihf/_sysconfigdata_nd.py
./usr/lib/python2.7/plat-arm-linux-gnueabihf/TYPES.pyc
./usr/lib/python2.7/plat-arm-linux-gnueabihf/IN.pyc
./usr/lib/python2.7/plat-arm-linux-gnueabihf/CDROM.py
./usr/lib/python2.7/plat-arm-linux-gnueabihf/_sysconfigdata_nd.pyc
./usr/lib/python2.7/plat-arm-linux-gnueabihf/DLFCN.pyc
./usr/lib/python2.7/plat-arm-linux-gnueabihf/CDROM.pyc
./usr/lib/python2.7/plat-arm-linux-gnueabihf/TYPES.py
./usr/lib/python2.7/plat-arm-linux-gnueabihf/IN.py
./usr/lib/python2.7/getopt.py
./usr/lib/python2.7/socket.py
./usr/lib/python2.7/sched.py
./usr/lib/python2.7/fileinput.pyc
./usr/lib/python2.7/atexit.pyc
./usr/lib/python2.7/opcode.pyc
./usr/lib/python2.7/heapq.py
./usr/lib/python2.7/imghdr.pyc
./usr/lib/python2.7/ssl.pyc
./usr/lib/python2.7/HTMLParser.pyc
./usr/lib/python2.7/sunaudio.pyc
./usr/lib/python2.7/sndhdr.py
./usr/lib/python2.7/rlcompleter.py
./usr/lib/python2.7/fpformat.py
./usr/lib/python2.7/cgitb.py
./usr/lib/python2.7/email/
./usr/lib/python2.7/email/utils.py
./usr/lib/python2.7/email/feedparser.py
./usr/lib/python2.7/email/_parseaddr.py
./usr/lib/python2.7/email/base64mime.pyc
./usr/lib/python2.7/email/generator.pyc
./usr/lib/python2.7/email/generator.py
./usr/lib/python2.7/email/message.pyc
./usr/lib/python2.7/email/charset.py
./usr/lib/python2.7/email/parser.pyc
./usr/lib/python2.7/email/charset.pyc
./usr/lib/python2.7/email/iterators.py
./usr/lib/python2.7/email/errors.pyc
./usr/lib/python2.7/email/quoprimime.pyc
./usr/lib/python2.7/email/utils.pyc
./usr/lib/python2.7/email/message.py
./usr/lib/python2.7/email/feedparser.pyc
./usr/lib/python2.7/email/mime/
./usr/lib/python2.7/email/mime/text.pyc
./usr/lib/python2.7/email/mime/base.py
./usr/lib/python2.7/email/mime/text.py
./usr/lib/python2.7/email/mime/message.pyc
./usr/lib/python2.7/email/mime/base.pyc
./usr/lib/python2.7/email/mime/application.py
./usr/lib/python2.7/email/mime/image.pyc
./usr/lib/python2.7/email/mime/audio.py
./usr/lib/python2.7/email/mime/message.py
./usr/lib/python2.7/email/mime/application.pyc
./usr/lib/python2.7/email/mime/image.py
./usr/lib/python2.7/email/mime/audio.pyc
./usr/lib/python2.7/email/mime/nonmultipart.py
./usr/lib/python2.7/email/mime/nonmultipart.pyc
./usr/lib/python2.7/email/mime/multipart.pyc
./usr/lib/python2.7/email/mime/__init__.py
./usr/lib/python2.7/email/mime/multipart.py
./usr/lib/python2.7/email/mime/__init__.pyc
./usr/lib/python2.7/email/base64mime.py
./usr/lib/python2.7/email/_parseaddr.pyc
./usr/lib/python2.7/email/errors.py
./usr/lib/python2.7/email/header.py
./usr/lib/python2.7/email/encoders.py
./usr/lib/python2.7/email/header.pyc
./usr/lib/python2.7/email/__init__.py
./usr/lib/python2.7/email/iterators.pyc
./usr/lib/python2.7/email/quoprimime.py
./usr/lib/python2.7/email/encoders.pyc
./usr/lib/python2.7/email/__init__.pyc
./usr/lib/python2.7/email/parser.py
./usr/lib/python2.7/inspect.py
./usr/lib/python2.7/urllib2.pyc
./usr/lib/python2.7/threading.pyc
./usr/lib/python2.7/ssl.py
./usr/lib/python2.7/_LWPCookieJar.pyc
./usr/lib/python2.7/ConfigParser.pyc
./usr/lib/python2.7/Bastion.pyc
./usr/lib/python2.7/glob.py
./usr/lib/python2.7/statvfs.pyc
./usr/lib/python2.7/plistlib.pyc
./usr/lib/python2.7/htmllib.pyc
./usr/lib/python2.7/fpformat.pyc
./usr/lib/python2.7/commands.py
./usr/lib/python2.7/user.py
./usr/lib/python2.7/urlparse.py
./usr/lib/python2.7/code.py
./usr/lib/python2.7/HTMLParser.py
./usr/lib/python2.7/repr.pyc
./usr/lib/python2.7/modulefinder.pyc
./usr/lib/python2.7/multifile.py
./usr/lib/python2.7/rexec.pyc
./usr/lib/python2.7/MimeWriter.pyc
./usr/lib/python2.7/wsgiref/
./usr/lib/python2.7/wsgiref/util.py
./usr/lib/python2.7/wsgiref/util.pyc
./usr/lib/python2.7/wsgiref/simple_server.pyc
./usr/lib/python2.7/wsgiref/validate.pyc
./usr/lib/python2.7/wsgiref/validate.py
./usr/lib/python2.7/wsgiref/handlers.pyc
./usr/lib/python2.7/wsgiref/handlers.py
./usr/lib/python2.7/wsgiref/__init__.py
./usr/lib/python2.7/wsgiref/headers.py
./usr/lib/python2.7/wsgiref/headers.pyc
./usr/lib/python2.7/wsgiref/__init__.pyc
./usr/lib/python2.7/wsgiref/simple_server.py
./usr/lib/python2.7/os.pyc
./usr/lib/python2.7/shlex.py
./usr/lib/python2.7/platform.py
./usr/lib/python2.7/string.pyc
./usr/lib/python2.7/__phello__.foo.py
./usr/lib/python2.7/ConfigParser.py
./usr/lib/python2.7/shlex.pyc
./usr/lib/python2.7/mimetools.py
./usr/lib/python2.7/argparse.py
./usr/lib/python2.7/timeit.pyc
./usr/lib/python2.7/subprocess.py
./usr/lib/python2.7/posixpath.py
./usr/lib/python2.7/htmllib.py
./usr/lib/python2.7/pydoc_data/
./usr/lib/python2.7/pydoc_data/topics.py
./usr/lib/python2.7/pydoc_data/topics.pyc
./usr/lib/python2.7/pydoc_data/__init__.py
./usr/lib/python2.7/pydoc_data/__init__.pyc
./usr/lib/python2.7/dummy_thread.pyc
./usr/lib/python2.7/abc.pyc
./usr/lib/python2.7/smtpd.py
./usr/lib/python2.7/pprint.py
./usr/lib/python2.7/cgi.pyc
./usr/lib/python2.7/mailcap.pyc
./usr/lib/python2.7/xdrlib.py
./usr/lib/python2.7/pickletools.py
./usr/lib/python2.7/robotparser.py
./usr/lib/python2.7/ntpath.py
./usr/lib/python2.7/_strptime.py
./usr/lib/python2.7/ast.pyc
./usr/lib/python2.7/functools.py
./usr/lib/python2.7/weakref.py
./usr/lib/python2.7/cmd.pyc
./usr/lib/python2.7/webbrowser.py
./usr/lib/python2.7/logging/
./usr/lib/python2.7/logging/config.py
./usr/lib/python2.7/logging/handlers.pyc
./usr/lib/python2.7/logging/handlers.py
./usr/lib/python2.7/logging/__init__.py
./usr/lib/python2.7/logging/config.pyc
./usr/lib/python2.7/logging/__init__.pyc
./usr/lib/python2.7/urllib.pyc
./usr/lib/python2.7/mutex.pyc
./usr/lib/python2.7/dummy_thread.py
./usr/lib/python2.7/filecmp.pyc
./usr/lib/python2.7/runpy.py
./usr/lib/python2.7/fractions.pyc
./usr/lib/python2.7/this.pyc
./usr/lib/python2.7/symtable.pyc
./usr/lib/python2.7/hotshot/
./usr/lib/python2.7/hotshot/log.py
./usr/lib/python2.7/hotshot/stones.pyc
./usr/lib/python2.7/hotshot/stones.py
./usr/lib/python2.7/hotshot/log.pyc
./usr/lib/python2.7/hotshot/stats.pyc
./usr/lib/python2.7/hotshot/stats.py
./usr/lib/python2.7/hotshot/__init__.py
./usr/lib/python2.7/hotshot/__init__.pyc
./usr/lib/python2.7/cmd.py
./usr/lib/python2.7/pstats.pyc
./usr/lib/python2.7/pipes.py
./usr/lib/python2.7/importlib/
./usr/lib/python2.7/importlib/__init__.py
./usr/lib/python2.7/importlib/__init__.pyc
./usr/lib/python2.7/gzip.py
./usr/lib/python2.7/runpy.pyc
./usr/lib/python2.7/collections.py
./usr/lib/python2.7/mimify.py
./usr/lib/python2.7/numbers.py
./usr/lib/python2.7/pdb.doc
./usr/lib/python2.7/json/
./usr/lib/python2.7/json/encoder.pyc
./usr/lib/python2.7/json/scanner.pyc
./usr/lib/python2.7/json/encoder.py
./usr/lib/python2.7/json/tool.py
./usr/lib/python2.7/json/tool.pyc
./usr/lib/python2.7/json/decoder.py
./usr/lib/python2.7/json/scanner.py
./usr/lib/python2.7/json/decoder.pyc
./usr/lib/python2.7/json/__init__.py
./usr/lib/python2.7/json/__init__.pyc
./usr/lib/python2.7/multiprocessing/
./usr/lib/python2.7/multiprocessing/queues.py
./usr/lib/python2.7/multiprocessing/reduction.pyc
./usr/lib/python2.7/multiprocessing/queues.pyc
./usr/lib/python2.7/multiprocessing/util.py
./usr/lib/python2.7/multiprocessing/synchronize.pyc
./usr/lib/python2.7/multiprocessing/util.pyc
./usr/lib/python2.7/multiprocessing/heap.py
./usr/lib/python2.7/multiprocessing/reduction.py
./usr/lib/python2.7/multiprocessing/pool.pyc
./usr/lib/python2.7/multiprocessing/forking.py
./usr/lib/python2.7/multiprocessing/managers.py
./usr/lib/python2.7/multiprocessing/managers.pyc
./usr/lib/python2.7/multiprocessing/heap.pyc
./usr/lib/python2.7/multiprocessing/connection.pyc
./usr/lib/python2.7/multiprocessing/connection.py
./usr/lib/python2.7/multiprocessing/sharedctypes.py
./usr/lib/python2.7/multiprocessing/synchronize.py
./usr/lib/python2.7/multiprocessing/dummy/
./usr/lib/python2.7/multiprocessing/dummy/connection.pyc
./usr/lib/python2.7/multiprocessing/dummy/connection.py
./usr/lib/python2.7/multiprocessing/dummy/__init__.py
./usr/lib/python2.7/multiprocessing/dummy/__init__.pyc
./usr/lib/python2.7/multiprocessing/forking.pyc
./usr/lib/python2.7/multiprocessing/__init__.py
./usr/lib/python2.7/multiprocessing/__init__.pyc
./usr/lib/python2.7/multiprocessing/process.pyc
./usr/lib/python2.7/multiprocessing/process.py
./usr/lib/python2.7/multiprocessing/sharedctypes.pyc
./usr/lib/python2.7/multiprocessing/pool.py
./usr/lib/python2.7/subprocess.pyc
./usr/lib/python2.7/collections.pyc
./usr/lib/python2.7/threading.py
./usr/lib/python2.7/__future__.py
./usr/lib/python2.7/xmlrpclib.py
./usr/lib/python2.7/tempfile.py
./usr/lib/python2.7/warnings.py
./usr/lib/python2.7/_MozillaCookieJar.pyc
./usr/lib/python2.7/posixfile.pyc
./usr/lib/python2.7/rfc822.py
./usr/lib/python2.7/argparse.egg-info
./usr/lib/python2.7/pty.py
./usr/lib/python2.7/asynchat.py
./usr/lib/python2.7/new.pyc
./usr/lib/python2.7/stat.py
./usr/lib/python2.7/UserString.py
./usr/lib/python2.7/ihooks.py
./usr/lib/python2.7/io.pyc
./usr/lib/python2.7/csv.pyc
./usr/lib/python2.7/asyncore.py
./usr/lib/python2.7/bdb.pyc
./usr/lib/python2.7/difflib.py
./usr/lib/python2.7/chunk.pyc
./usr/lib/python2.7/sgmllib.py
./usr/lib/python2.7/macpath.pyc
./usr/lib/python2.7/shutil.pyc
./usr/lib/python2.7/markupbase.py
./usr/lib/python2.7/urlparse.pyc
./usr/lib/python2.7/cgi.py
./usr/lib/python2.7/pdb.py
./usr/lib/python2.7/sre_constants.pyc
./usr/lib/python2.7/formatter.pyc
./usr/lib/python2.7/fractions.py
./usr/lib/python2.7/trace.pyc
./usr/lib/python2.7/MimeWriter.py
./usr/lib/python2.7/pyclbr.pyc
./usr/lib/python2.7/poplib.pyc
./usr/lib/python2.7/posixpath.pyc
./usr/lib/python2.7/shelve.py
./usr/lib/python2.7/Bastion.py
./usr/lib/python2.7/bsddb/
./usr/lib/python2.7/bsddb/dbshelve.py
./usr/lib/python2.7/bsddb/db.py
./usr/lib/python2.7/bsddb/dbutils.pyc
./usr/lib/python2.7/bsddb/dbrecio.pyc
./usr/lib/python2.7/bsddb/dbtables.py
./usr/lib/python2.7/bsddb/db.pyc
./usr/lib/python2.7/bsddb/dbutils.py
./usr/lib/python2.7/bsddb/dbobj.py
./usr/lib/python2.7/bsddb/dbobj.pyc
./usr/lib/python2.7/bsddb/dbrecio.py
./usr/lib/python2.7/bsddb/dbshelve.pyc
./usr/lib/python2.7/bsddb/__init__.py
./usr/lib/python2.7/bsddb/dbtables.pyc
./usr/lib/python2.7/bsddb/__init__.pyc
./usr/lib/python2.7/stringold.pyc
./usr/lib/python2.7/locale.py
./usr/lib/python2.7/hmac.pyc
./usr/lib/python2.7/token.py
./usr/lib/python2.7/cProfile.py
./usr/lib/python2.7/_osx_support.pyc
./usr/lib/python2.7/user.pyc
./usr/lib/python2.7/calendar.py
./usr/lib/python2.7/platform.pyc
./usr/lib/python2.7/traceback.pyc
./usr/lib/python2.7/mimify.pyc
./usr/lib/python2.7/tarfile.pyc
./usr/lib/python2.7/tokenize.pyc
./usr/lib/python2.7/shutil.py
./usr/lib/python2.7/mimetypes.py
./usr/lib/python2.7/_strptime.pyc
./usr/lib/python2.7/keyword.py
./usr/lib/python2.7/Queue.pyc
./usr/lib/python2.7/token.pyc
./usr/lib/python2.7/Cookie.py
./usr/lib/python2.7/gettext.pyc
./usr/lib/python2.7/uu.pyc
./usr/lib/python2.7/pipes.pyc
./usr/lib/python2.7/compileall.py
./usr/lib/python2.7/base64.py
./usr/lib/python2.7/code.pyc
./usr/lib/python2.7/doctest.pyc
./usr/lib/python2.7/dis.py
./usr/lib/python2.7/asyncore.pyc
./usr/lib/python2.7/statvfs.py
./usr/lib/python2.7/stat.pyc
./usr/lib/python2.7/symbol.py
./usr/lib/python2.7/sre_compile.py
./usr/lib/python2.7/ftplib.py
./usr/lib/python2.7/sndhdr.pyc
./usr/lib/python2.7/aifc.pyc
./usr/lib/python2.7/pyclbr.py
./usr/lib/python2.7/SimpleXMLRPCServer.py
./usr/lib/python2.7/distutils/
./usr/lib/python2.7/distutils/log.py
./usr/lib/python2.7/distutils/msvc9compiler.pyc
./usr/lib/python2.7/distutils/sysconfig.pyc
./usr/lib/python2.7/distutils/ccompiler.pyc
./usr/lib/python2.7/distutils/util.py
./usr/lib/python2.7/distutils/dep_util.pyc
./usr/lib/python2.7/distutils/fancy_getopt.py
./usr/lib/python2.7/distutils/debug.pyc
./usr/lib/python2.7/distutils/versionpredicate.pyc
./usr/lib/python2.7/distutils/archive_util.pyc
./usr/lib/python2.7/distutils/unixccompiler.pyc
./usr/lib/python2.7/distutils/bcppcompiler.py
./usr/lib/python2.7/distutils/spawn.pyc
./usr/lib/python2.7/distutils/util.pyc
./usr/lib/python2.7/distutils/extension.py
./usr/lib/python2.7/distutils/cygwinccompiler.pyc
./usr/lib/python2.7/distutils/msvccompiler.pyc
./usr/lib/python2.7/distutils/dist.pyc
./usr/lib/python2.7/distutils/dep_util.py
./usr/lib/python2.7/distutils/cmd.pyc
./usr/lib/python2.7/distutils/log.pyc
./usr/lib/python2.7/distutils/cmd.py
./usr/lib/python2.7/distutils/errors.pyc
./usr/lib/python2.7/distutils/extension.pyc
./usr/lib/python2.7/distutils/file_util.py
./usr/lib/python2.7/distutils/core.pyc
./usr/lib/python2.7/distutils/versionpredicate.py
./usr/lib/python2.7/distutils/fancy_getopt.pyc
./usr/lib/python2.7/distutils/file_util.pyc
./usr/lib/python2.7/distutils/unixccompiler.py
./usr/lib/python2.7/distutils/archive_util.py
./usr/lib/python2.7/distutils/debug.py
./usr/lib/python2.7/distutils/bcppcompiler.pyc
./usr/lib/python2.7/distutils/config.py
./usr/lib/python2.7/distutils/spawn.py
./usr/lib/python2.7/distutils/filelist.py
./usr/lib/python2.7/distutils/version.pyc
./usr/lib/python2.7/distutils/dist.py
./usr/lib/python2.7/distutils/emxccompiler.pyc
./usr/lib/python2.7/distutils/errors.py
./usr/lib/python2.7/distutils/dir_util.py
./usr/lib/python2.7/distutils/core.py
./usr/lib/python2.7/distutils/emxccompiler.py
./usr/lib/python2.7/distutils/text_file.pyc
./usr/lib/python2.7/distutils/__init__.py
./usr/lib/python2.7/distutils/cygwinccompiler.py
./usr/lib/python2.7/distutils/msvccompiler.py
./usr/lib/python2.7/distutils/text_file.py
./usr/lib/python2.7/distutils/filelist.pyc
./usr/lib/python2.7/distutils/command/
./usr/lib/python2.7/distutils/command/build_py.pyc
./usr/lib/python2.7/distutils/command/command_template
./usr/lib/python2.7/distutils/command/bdist_rpm.py
./usr/lib/python2.7/distutils/command/sdist.py
./usr/lib/python2.7/distutils/command/clean.pyc
./usr/lib/python2.7/distutils/command/install_lib.py
./usr/lib/python2.7/distutils/command/install.pyc
./usr/lib/python2.7/distutils/command/build_py.py
./usr/lib/python2.7/distutils/command/register.pyc
./usr/lib/python2.7/distutils/command/install_scripts.pyc
./usr/lib/python2.7/distutils/command/bdist.py
./usr/lib/python2.7/distutils/command/bdist_dumb.py
./usr/lib/python2.7/distutils/command/bdist_wininst.py
./usr/lib/python2.7/distutils/command/bdist_msi.py
./usr/lib/python2.7/distutils/command/install_data.pyc
./usr/lib/python2.7/distutils/command/build_ext.py
./usr/lib/python2.7/distutils/command/bdist.pyc
./usr/lib/python2.7/distutils/command/install_scripts.py
./usr/lib/python2.7/distutils/command/build_clib.pyc
./usr/lib/python2.7/distutils/command/build_scripts.pyc
./usr/lib/python2.7/distutils/command/install.py
./usr/lib/python2.7/distutils/command/upload.py
./usr/lib/python2.7/distutils/command/build_scripts.py
./usr/lib/python2.7/distutils/command/check.pyc
./usr/lib/python2.7/distutils/command/install_headers.pyc
./usr/lib/python2.7/distutils/command/config.py
./usr/lib/python2.7/distutils/command/install_headers.py
./usr/lib/python2.7/distutils/command/bdist_rpm.pyc
./usr/lib/python2.7/distutils/command/install_lib.pyc
./usr/lib/python2.7/distutils/command/install_egg_info.pyc
./usr/lib/python2.7/distutils/command/install_egg_info.py
./usr/lib/python2.7/distutils/command/bdist_dumb.pyc
./usr/lib/python2.7/distutils/command/__init__.py
./usr/lib/python2.7/distutils/command/sdist.pyc
./usr/lib/python2.7/distutils/command/check.py
./usr/lib/python2.7/distutils/command/build.pyc
./usr/lib/python2.7/distutils/command/bdist_wininst.pyc
./usr/lib/python2.7/distutils/command/build.py
./usr/lib/python2.7/distutils/command/register.py
./usr/lib/python2.7/distutils/command/config.pyc
./usr/lib/python2.7/distutils/command/__init__.pyc
./usr/lib/python2.7/distutils/command/upload.pyc
./usr/lib/python2.7/distutils/command/clean.py
./usr/lib/python2.7/distutils/command/bdist_msi.pyc
./usr/lib/python2.7/distutils/command/install_data.py
./usr/lib/python2.7/distutils/command/build_clib.py
./usr/lib/python2.7/distutils/command/build_ext.pyc
./usr/lib/python2.7/distutils/msvc9compiler.py
./usr/lib/python2.7/distutils/ccompiler.py
./usr/lib/python2.7/distutils/config.pyc
./usr/lib/python2.7/distutils/__init__.pyc
./usr/lib/python2.7/distutils/sysconfig.py
./usr/lib/python2.7/distutils/version.py
./usr/lib/python2.7/distutils/README
./usr/lib/python2.7/distutils/dir_util.pyc
./usr/lib/python2.7/_abcoll.pyc
./usr/lib/python2.7/dumbdbm.py
./usr/lib/python2.7/difflib.pyc
./usr/lib/python2.7/httplib.py
./usr/lib/python2.7/_pyio.py
./usr/lib/python2.7/symtable.py
./usr/lib/python2.7/_threading_local.pyc
./usr/lib/python2.7/stringprep.py
./usr/lib/python2.7/hashlib.pyc
./usr/lib/python2.7/binhex.py
./usr/lib/python2.7/dumbdbm.pyc
./usr/lib/python2.7/dummy_threading.pyc
./usr/lib/python2.7/sre.py
./usr/lib/python2.7/_MozillaCookieJar.py
./usr/lib/python2.7/heapq.pyc
./usr/lib/python2.7/multifile.pyc
./usr/lib/python2.7/copy_reg.pyc
./usr/lib/python2.7/genericpath.py
./usr/lib/python2.7/dummy_threading.py
./usr/lib/python2.7/modulefinder.py
./usr/lib/python2.7/mailbox.pyc
./usr/lib/python2.7/htmlentitydefs.pyc
./usr/lib/python2.7/this.py
./usr/lib/python2.7/wave.pyc
./usr/lib/python2.7/pdb.pyc
./usr/lib/python2.7/sre_parse.pyc
./usr/lib/python2.7/ihooks.pyc
./usr/lib/python2.7/copy.py
./usr/lib/python2.7/getpass.pyc
./usr/lib/python2.7/nntplib.py
./usr/lib/python2.7/DocXMLRPCServer.py
./usr/lib/python2.7/xmlrpclib.pyc
./usr/lib/python2.7/md5.pyc
./usr/lib/python2.7/textwrap.pyc
./usr/lib/python2.7/_osx_support.py
./usr/lib/python2.7/codeop.pyc
./usr/lib/python2.7/mailcap.py
./usr/lib/python2.7/cgitb.pyc
./usr/lib/python2.7/posixfile.py
./usr/lib/python2.7/pickle.pyc
./usr/lib/python2.7/sre_constants.py
./usr/lib/python2.7/_pyio.pyc
./usr/lib/python2.7/quopri.py
./usr/lib/python2.7/py_compile.py
./usr/lib/python2.7/anydbm.pyc
./usr/lib/python2.7/linecache.pyc
./usr/lib/python2.7/dbhash.pyc
./usr/lib/python2.7/sqlite3/
./usr/lib/python2.7/sqlite3/dump.py
./usr/lib/python2.7/sqlite3/dump.pyc
./usr/lib/python2.7/sqlite3/dbapi2.pyc
./usr/lib/python2.7/sqlite3/__init__.py
./usr/lib/python2.7/sqlite3/dbapi2.py
./usr/lib/python2.7/sqlite3/__init__.pyc
./usr/lib/python2.7/CGIHTTPServer.pyc
./usr/lib/python2.7/pstats.py
./usr/lib/python2.7/SocketServer.py
./usr/lib/python2.7/toaiff.py
./usr/lib/python2.7/traceback.py
./usr/lib/python2.7/sha.py
./usr/lib/python2.7/sched.pyc
./usr/lib/python2.7/random.pyc
./usr/lib/python2.7/ctypes/
./usr/lib/python2.7/ctypes/util.py
./usr/lib/python2.7/ctypes/util.pyc
./usr/lib/python2.7/ctypes/wintypes.pyc
./usr/lib/python2.7/ctypes/_endian.py
./usr/lib/python2.7/ctypes/__init__.py
./usr/lib/python2.7/ctypes/wintypes.py
./usr/lib/python2.7/ctypes/__init__.pyc
./usr/lib/python2.7/ctypes/_endian.pyc
./usr/lib/python2.7/ast.py
./usr/lib/python2.7/tokenize.py
./usr/lib/python2.7/SocketServer.pyc
./usr/lib/python2.7/atexit.py
./usr/lib/python2.7/UserDict.py
./usr/lib/python2.7/Cookie.pyc
./usr/lib/python2.7/unittest/
./usr/lib/python2.7/unittest/result.pyc
./usr/lib/python2.7/unittest/util.py
./usr/lib/python2.7/unittest/suite.py
./usr/lib/python2.7/unittest/util.pyc
./usr/lib/python2.7/unittest/__main__.py
./usr/lib/python2.7/unittest/suite.pyc
./usr/lib/python2.7/unittest/loader.py
./usr/lib/python2.7/unittest/signals.pyc
./usr/lib/python2.7/unittest/main.py
./usr/lib/python2.7/unittest/loader.pyc
./usr/lib/python2.7/unittest/result.py
./usr/lib/python2.7/unittest/__main__.pyc
./usr/lib/python2.7/unittest/runner.py
./usr/lib/python2.7/unittest/__init__.py
./usr/lib/python2.7/unittest/main.pyc
./usr/lib/python2.7/unittest/signals.py
./usr/lib/python2.7/unittest/__init__.pyc
./usr/lib/python2.7/unittest/runner.pyc
./usr/lib/python2.7/unittest/case.py
./usr/lib/python2.7/unittest/case.pyc
./usr/lib/python2.7/lib-tk/
./usr/lib/python2.7/lib-tk/Tix.py
./usr/lib/python2.7/lib-tk/Canvas.py
./usr/lib/python2.7/lib-tk/Tix.pyc
./usr/lib/python2.7/lib-tk/FixTk.pyc
./usr/lib/python2.7/lib-tk/Tkinter.py
./usr/lib/python2.7/lib-tk/ScrolledText.pyc
./usr/lib/python2.7/lib-tk/Canvas.pyc
./usr/lib/python2.7/lib-tk/Tkinter.pyc
./usr/lib/python2.7/lib-tk/tkFont.py
./usr/lib/python2.7/lib-tk/ttk.pyc
./usr/lib/python2.7/lib-tk/Dialog.py
./usr/lib/python2.7/lib-tk/ScrolledText.py
./usr/lib/python2.7/lib-tk/FixTk.py
./usr/lib/python2.7/lib-tk/tkFileDialog.pyc
./usr/lib/python2.7/lib-tk/tkFont.pyc
./usr/lib/python2.7/lib-tk/SimpleDialog.py
./usr/lib/python2.7/lib-tk/turtle.pyc
./usr/lib/python2.7/lib-tk/tkMessageBox.py
./usr/lib/python2.7/lib-tk/tkFileDialog.py
./usr/lib/python2.7/lib-tk/tkSimpleDialog.pyc
./usr/lib/python2.7/lib-tk/Tkconstants.py
./usr/lib/python2.7/lib-tk/SimpleDialog.pyc
./usr/lib/python2.7/lib-tk/Tkdnd.py
./usr/lib/python2.7/lib-tk/ttk.py
./usr/lib/python2.7/lib-tk/turtle.py
./usr/lib/python2.7/lib-tk/FileDialog.py
./usr/lib/python2.7/lib-tk/tkCommonDialog.py
./usr/lib/python2.7/lib-tk/FileDialog.pyc
./usr/lib/python2.7/lib-tk/tkMessageBox.pyc
./usr/lib/python2.7/lib-tk/tkCommonDialog.pyc
./usr/lib/python2.7/lib-tk/tkSimpleDialog.py
./usr/lib/python2.7/lib-tk/Tkdnd.pyc
./usr/lib/python2.7/lib-tk/tkColorChooser.pyc
./usr/lib/python2.7/lib-tk/Tkconstants.pyc
./usr/lib/python2.7/lib-tk/Dialog.pyc
./usr/lib/python2.7/lib-tk/tkColorChooser.py
./usr/lib/python2.7/_sysconfigdata.pyc
./usr/lib/python2.7/pty.pyc
./usr/lib/python2.7/os2emxpath.py
./usr/lib/python2.7/struct.py
./usr/lib/python2.7/genericpath.pyc
./usr/lib/python2.7/xmllib.pyc
./usr/lib/python2.7/inspect.pyc
./usr/lib/python2.7/tabnanny.pyc
./usr/lib/python2.7/textwrap.py
./usr/lib/python2.7/getopt.pyc
./usr/lib/python2.7/random.py
./usr/lib/python2.7/decimal.pyc
./usr/lib/python2.7/nturl2path.pyc
./usr/lib/python2.7/smtplib.py
./usr/lib/python2.7/ntpath.pyc
./usr/lib/python2.7/tempfile.pyc
./usr/lib/python2.7/string.py
./usr/lib/python2.7/wave.py
./usr/lib/python2.7/netrc.pyc
./usr/lib/python2.7/lib-dynload/
./usr/lib/python2.7/lib-dynload/dl.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/dbm.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/_codecs_jp.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/_codecs_iso2022.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/fpectl.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/_elementtree.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/_lsprof.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/_testcapi.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/_bsddb.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/_sqlite3.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/readline.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/mmap.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/audioop.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/_codecs_hk.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/imageop.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/_json.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/parser.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/ossaudiodev.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/crypt.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/pyexpat.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/nis.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/_hashlib.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/_csv.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/Python-2.7.egg-info
./usr/lib/python2.7/lib-dynload/_ctypes_test.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/resource.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/_ctypes.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/_ssl.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/future_builtins.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/_curses.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/bz2.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/_hotshot.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/termios.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/_codecs_kr.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/_multiprocessing.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/_codecs_cn.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/linuxaudiodev.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/_multibytecodec.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/_codecs_tw.arm-linux-gnueabihf.so
./usr/lib/python2.7/lib-dynload/_curses_panel.arm-linux-gnueabihf.so
./usr/lib/python2.7/curses/
./usr/lib/python2.7/curses/panel.py
./usr/lib/python2.7/curses/wrapper.py
./usr/lib/python2.7/curses/textpad.py
./usr/lib/python2.7/curses/ascii.py
./usr/lib/python2.7/curses/has_key.pyc
./usr/lib/python2.7/curses/ascii.pyc
./usr/lib/python2.7/curses/panel.pyc
./usr/lib/python2.7/curses/wrapper.pyc
./usr/lib/python2.7/curses/__init__.py
./usr/lib/python2.7/curses/textpad.pyc
./usr/lib/python2.7/curses/has_key.py
./usr/lib/python2.7/curses/__init__.pyc
./usr/lib/python2.7/telnetlib.py
./usr/lib/python2.7/CGIHTTPServer.py
./usr/lib/python2.7/urllib.py
./usr/lib/python2.7/keyword.pyc
./usr/lib/python2.7/smtpd.pyc
./usr/lib/python2.7/UserList.pyc
./usr/lib/python2.7/locale.pyc
./usr/lib/python2.7/symbol.pyc
./usr/lib/python2.7/UserString.pyc
./usr/lib/python2.7/copy_reg.py
./usr/lib/python2.7/BaseHTTPServer.pyc
./usr/lib/python2.7/new.py
./usr/lib/python2.7/imputil.pyc
./usr/lib/python2.7/contextlib.py
./usr/lib/python2.7/macurl2path.pyc
./usr/lib/python2.7/gettext.py
./usr/lib/python2.7/rlcompleter.pyc
./usr/lib/python2.7/calendar.pyc
./usr/lib/python2.7/sre_compile.pyc
./usr/lib/python2.7/sre_parse.py
./usr/lib/python2.7/_sysconfigdata.py
./usr/lib/python2.7/profile.pyc
./usr/lib/python2.7/mhlib.py
./usr/lib/python2.7/pydoc.pyc
./usr/lib/python2.7/os2emxpath.pyc
./usr/lib/python2.7/dircache.py
./usr/lib/python2.7/bisect.pyc
./usr/lib/python2.7/telnetlib.pyc
./usr/lib/python2.7/optparse.py
./usr/lib/python2.7/netrc.py
./usr/lib/python2.7/sunau.py
./usr/lib/python2.7/sha.pyc
./usr/lib/python2.7/nturl2path.py
./usr/lib/python2.7/__future__.pyc
./usr/lib/python2.7/trace.py
./usr/lib/python2.7/BaseHTTPServer.py
./usr/lib/python2.7/robotparser.pyc
./usr/lib/python2.7/sunaudio.py
./usr/lib/python2.7/xmllib.py
./usr/lib/python2.7/dbhash.py
./usr/lib/python2.7/mimetypes.pyc
./usr/lib/python2.7/cProfile.pyc
./usr/lib/python2.7/base64.pyc
./usr/lib/python2.7/ftplib.pyc
./usr/lib/python2.7/commands.pyc
./usr/lib/python2.7/popen2.py
./usr/lib/python2.7/bisect.py
./usr/lib/python2.7/doctest.py
./usr/lib/python2.7/site.py
./usr/lib/python2.7/numbers.pyc
./usr/lib/python2.7/StringIO.pyc
./usr/lib/python2.7/sunau.pyc
./usr/lib/python2.7/tarfile.py
./usr/lib/python2.7/contextlib.pyc
./usr/lib/python2.7/compiler/
./usr/lib/python2.7/compiler/pyassem.pyc
./usr/lib/python2.7/compiler/visitor.pyc
./usr/lib/python2.7/compiler/misc.pyc
./usr/lib/python2.7/compiler/pycodegen.py
./usr/lib/python2.7/compiler/symbols.pyc
./usr/lib/python2.7/compiler/ast.pyc
./usr/lib/python2.7/compiler/consts.pyc
./usr/lib/python2.7/compiler/syntax.py
./usr/lib/python2.7/compiler/transformer.py
./usr/lib/python2.7/compiler/misc.py
./usr/lib/python2.7/compiler/symbols.py
./usr/lib/python2.7/compiler/pycodegen.pyc
./usr/lib/python2.7/compiler/future.py
./usr/lib/python2.7/compiler/future.pyc
./usr/lib/python2.7/compiler/pyassem.py
./usr/lib/python2.7/compiler/ast.py
./usr/lib/python2.7/compiler/visitor.py
./usr/lib/python2.7/compiler/transformer.pyc
./usr/lib/python2.7/compiler/__init__.py
./usr/lib/python2.7/compiler/__init__.pyc
./usr/lib/python2.7/compiler/syntax.pyc
./usr/lib/python2.7/compiler/consts.py
./usr/lib/python2.7/repr.py
./usr/lib/python2.7/os.py
./usr/lib/python2.7/sitecustomize.py
./usr/lib/python2.7/filecmp.py
./usr/lib/python2.7/imghdr.py
./usr/lib/python2.7/uu.py
./usr/lib/python2.7/_abcoll.py
./usr/lib/python2.7/smtplib.pyc
./usr/lib/python2.7/SimpleHTTPServer.pyc
./usr/lib/python2.7/audiodev.py
./usr/lib/python2.7/webbrowser.pyc
./usr/lib/python2.7/linecache.py
./usr/lib/python2.7/stringprep.pyc
./usr/lib/python2.7/mutex.py
./usr/lib/python2.7/antigravity.pyc
./usr/lib/python2.7/codecs.py
./usr/lib/python2.7/mimetools.pyc
./usr/lib/python2.7/gzip.pyc
./usr/lib/python2.7/optparse.pyc
./usr/lib/python2.7/test/
./usr/lib/python2.7/test/test_support.py
./usr/lib/python2.7/test/pystone.py
./usr/lib/python2.7/test/regrtest.pyc
./usr/lib/python2.7/test/test_support.pyc
./usr/lib/python2.7/test/regrtest.py
./usr/lib/python2.7/test/__init__.py
./usr/lib/python2.7/test/__init__.pyc
./usr/lib/python2.7/test/pystone.pyc
./usr/lib/python2.7/UserDict.pyc
./usr/lib/python2.7/fnmatch.pyc
./usr/lib/python2.7/_weakrefset.py
./usr/lib/python2.7/asynchat.pyc
./usr/lib/python2.7/struct.pyc
./usr/lib/python2.7/wsgiref.egg-info
./usr/lib/python2.7/fnmatch.py
./usr/lib/python2.7/sysconfig.py
./usr/lib/python2.7/timeit.py
./usr/lib/python2.7/shelve.pyc
./usr/lib/python2.7/codecs.pyc
./usr/lib/python2.7/mailbox.py
./usr/lib/python2.7/warnings.pyc
./usr/lib/python2.7/UserList.py
./usr/lib/python2.7/copy.pyc
./usr/lib/python2.7/dist-packages/
./usr/lib/python2.7/dist-packages/debconf.pyc
./usr/lib/python2.7/dist-packages/debconf.py
./usr/lib/python2.7/dist-packages/README
./usr/lib/python2.7/anydbm.py
./usr/lib/python2.7/glob.pyc
./usr/lib/python2.7/SimpleXMLRPCServer.pyc
./usr/lib/python2.7/pickletools.pyc
./usr/lib/python2.7/imaplib.pyc
./usr/lib/python2.7/sgmllib.pyc
./usr/lib/python2.7/uuid.pyc
./usr/lib/python2.7/_weakrefset.pyc
./usr/lib/python2.7/pickle.py
./usr/lib/python2.7/sitecustomize.pyc
./usr/lib/python2.7/fileinput.py
./usr/lib/python2.7/socket.pyc
./usr/lib/python2.7/colorsys.py
./usr/lib/python2.7/SimpleHTTPServer.py
./usr/lib/kernel/
./usr/lib/kernel/install.d/
./usr/lib/kernel/install.d/50-depmod.install
./usr/lib/kernel/install.d/90-loaderentry.install
./usr/lib/kernel/install.d/85-initrd.install
./usr/lib/tc/
./usr/lib/tc/pareto.dist
./usr/lib/tc/m_ipt.so
./usr/lib/tc/normal.dist
./usr/lib/tc/experimental.dist
./usr/lib/tc/q_atm.so
./usr/lib/tc/paretonormal.dist
./usr/lib/tc/m_xt.so
./usr/lib/gcc/
./usr/lib/gcc/arm-linux-gnueabihf/
./usr/lib/gcc/arm-linux-gnueabihf/4.8/
./usr/lib/gcc/arm-linux-gnueabihf/4.9/
./usr/lib/gcc/arm-linux-gnueabihf/4.9.2
./usr/lib/gcc/arm-linux-gnueabihf/6.3.0
./usr/lib/gcc/arm-linux-gnueabihf/6/
./usr/lib/gcc/arm-linux-gnueabihf/4.8.4
./usr/lib/binfmt.d/
./usr/include/
./usr/include/dlg_keys.h
./usr/include/dialog.h
./usr/include/clif.h
./usr/include/dlg_config.h
./usr/include/dlg_colors.h
./usr/include/initreq.h
./usr/local/
./usr/local/etc/
./usr/local/src/
./usr/local/bin/
./usr/local/share/
./usr/local/share/fonts/
./usr/local/share/ca-certificates/
./usr/local/share/man/
./usr/local/games/
./usr/local/sbin/
./usr/local/lib/
./usr/local/lib/python2.7/
./usr/local/lib/python2.7/site-packages/
./usr/local/lib/python2.7/dist-packages/
./usr/local/include/
./usr/local/man
./proc/
root@debian:~# tar -C $ROOTFSDIR/boot/ -xvf linux-dtb-4.14.1-mvebu-tld-1.tar
dts/
dts/berlin2q-marvell-dmp.dtb
dts/armada-388-clearfog-base.dtb
dts/armada-388-rd.dtb
dts/berlin2-sony-nsz-gs7.dtb
dts/armada-385-linksys-cobra.dtb
dts/armada-xp-axpwifiap.dtb
dts/armada-388-clearfog.dtb
dts/armada-xp-synology-ds414.dtb
dts/armada-385-linksys-caiman.dtb
dts/armada-xp-db-xc3-24g4xg.dtb
dts/armada-370-db.dtb
dts/armada-385-turris-omnia.dtb
dts/armada-388-wd-ex4100.dtb
dts/armada-370-netgear-rn102.dtb
dts/armada-370-mirabox.dtb
dts/armada-370-synology-ds213j.dtb
dts/armada-385-wd-ex2100.dtb
dts/armada-xp-lenovo-ix4-300d.dtb
dts/armada-388-gp.dtb
dts/dove-d2plug.dtb
dts/armada-385-db-ap.dtb
dts/armada-370-netgear-rn104.dtb
dts/armada-xp-db.dtb
dts/armada-370-seagate-personal-cloud.dtb
dts/armada-380-zyxel-nas326.dtb
dts/armada-388-clearfog-pro.dtb
dts/armada-xp-openblocks-ax3-4.dtb
dts/armada-385-linksys-rango.dtb
dts/armada-388-db.dtb
dts/armada-xp-linksys-mamba.dtb
dts/armada-370-seagate-personal-cloud-2bay.dtb
dts/armada-375-db.dtb
dts/armada-xp-matrix.dtb
dts/armada-xp-db-dxbc2.dtb
dts/armada-xp-gp.dtb
dts/dove-sbc-a510.dtb
dts/armada-398-db.dtb
dts/armada-370-dlink-dns327l.dtb
dts/armada-370-rd.dtb
dts/berlin2cd-google-chromecast.dtb
dts/armada-370-seagate-nas-4bay.dtb
dts/armada-385-synology-ds116.dtb
dts/dove-cubox.dtb
dts/armada-xp-netgear-rn2120.dtb
dts/armada-385-linksys-shelby.dtb
dts/armada-370-seagate-nas-2bay.dtb
dts/dove-cubox-es.dtb
dts/dove-d3plug.dtb
dts/dove-dove-db.dtb
root@debian:~# sync
root@debian:~# sync
root@debian:~# cd $ROOTFSDIR/boot/
root@debian:/tmp/tmp.N6AgS11R3E/boot# cat zImage dts/armada-385-wd-ex2100.dtb > zImage.fdt
root@debian:/tmp/tmp.N6AgS11R3E/boot# mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-4.12.4-mvebu-tld-1 -d zImage.fdt uImage
Image Name:   Linux-4.12.4-mvebu-tld-1
Created:      Wed May 26 08:40:16 2021
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    4037100 Bytes = 3942.48 KiB = 3.85 MiB
Load Address: 00008000
Entry Point:  00008000
root@debian:/tmp/tmp.N6AgS11R3E/boot# cd
root@debian:~# cp u-boot-a38x-Yosemite_2014T3_PQ-nand.bin $ROOTFSDIR/root/
root@debian:~# sudo umount $ROOTFSDIR
root@debian:~#



Edited 1 time(s). Last edit at 05/26/2021 02:10AM by sorgonas.
Re: Debian installation instructions for WD EX2100
May 26, 2021 04:53PM
sorgonas,

The rootfs part of hmartin instruction is a bit more complicate than it needs to be. So for the rootfs part, you can just use my standard instruction for all MVEBU boxes.

=========

Let's go with the latest rootfs Debian-5.2.9-mvebu-tld-1-rootfs-bodhi.tar.bz2 here:

https://forum.doozan.com/read.php?2,32146

Scroll down to the section

Quote

Updated 10 Sep 2019:

Rootfs Debian-5.2.9-mvebu-tld-1-rootfs-bodhi.tar.bz2 has been uploaded.

Basic Debian buster armhf rootfs for most MVEBU Armada NAS:

And follow the instruction closely (being root, USB partition Ext3,....)

And in Step 3, adjust the DTB name to armada-385-wd-ex2100.dtb:

Quote

3. Create uImage with DTB appended. I am using the Zyxel NAS326 as an example here. Please replace armada-380-zyxel-nas326.dtb below with the appropriate DTB name for your box.

cd /media/sdb1/boot
cp -a zImage-5.2.9-mvebu-tld-1 zImage.fdt
cat dts/armada-385-wd-ex2100.dtb >> zImage.fdt
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.2.9-mvebu-tld-1 -d zImage.fdt uImage

After you have the USB rootfs prepared, bring it to the box and see if you can boot with it.

And post the entire serial console log when booting. See how far you will get.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian installation instructions for WD EX2100
May 27, 2021 04:37AM
Hello Bodhi,

I've now done it as described, but it still starts normally, as you can see below.

But slowly I don't feel like it anymore, but rather frustration because of the thing. I think I'll just leave the crap thing like that and come to terms with the fact that it doesn't work.

Greetings from Sorgonas

USB-Create:

root@Server:~# parted --script /dev/sdc \ mklabel msdos \ mkpart primary ext3 1MiB
root@Server:~# mkfs.ext3 -L rootfs /dev/sdc1
mke2fs 1.44.5 (15-Dec-2018)
/dev/sdc1 contains a ext3 file system labelled 'rootfs'
        last mounted on /media/sorgonas/rootfs on Thu May 27 10:07:15 2021
Proceed anyway? (y,N) y
Creating filesystem with 506624 4k blocks and 126720 inodes
Filesystem UUID: 220cda91-77e2-45b4-88c0-e1ca77887085
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912

Allocating group tables: done
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information:
done

root@Server:~#
root@Server:~# mkdir /media/sdc1
root@Server:~# mount /dev/sdc1 /media/sdc1
root@Server:~# cd /media/sdc1/
root@Server:/media/sdc1# tar -xjf Debian-5.2.9-mvebu-tld-1-rootfs-bodhi.tar.bz2
root@Server:/media/sdc1#
root@Server:/media/sdc1# cd /media/sdc1/boot
root@Server:/media/sdc1/boot# cp -a zImage-5.2.9-mvebu-tld-1 zImage.fdt
root@Server:/media/sdc1/boot# cat dts/armada-385-wd-ex2100.dtb >> zImage.fdt
root@Server:/media/sdc1/boot# mkimage -A arm -O linux -T kernel -C none -a 0x000080 -n Linux-5.2.9-mvebu-tld-1 -d zImage.fdt uImage
Image Name:   Linux-5.2.9-mvebu-tld-1
Created:      Thu May 27 11:12:09 2021
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    5073874 Bytes = 4954.96 KiB = 4.84 MiB
Load Address: 00008000
Entry Point:  00008000
root@Server:/media/sdc1/boot# sync
root@Server:/media/sdc1/boot# sync
root@Server:/media/sdc1/boot# umount /media/sdc1


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


U-Boot 2013.01_v1.08 (Aug 07 2017 - 19:59:54) hmartin version: 2014_T3.0p6

Board: Yosemite DB6820
SoC:   MV88F6820 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1332 [MHz]
       L2     @ 666 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 666 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  1 GiB

Map:   Code:			0x3fece000:0x3ff95e20
       BSS:			0x3ffef254
       Stack:			0x3f9cdf20
       Heap:			0x3f9ce000:0x3fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:	0x00000000:0x00080000 (NAND)

NAND:  ID: dcad ,512 MiB
MMC:   mv_sdh: 0
PCI-e 0: Detected No Link.
bootcmd: run bootcmd_custom; setenv bootargs root=/dev/ram console=ttyS0,115200; nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00001f500000-0x00001ff00000 : "mtd=7"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=7"
UBI: MTD device size:            10 MiB
UBI: number of good PEBs:        80
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             32
UBI: total number of reserved PEBs: 48
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 6/2
UBIFS: mounted UBI device 0, volume 0, name "reserve2"
UBIFS: mounted read-only
UBIFS: file system size:   4063232 bytes (3968 KiB, 3 MiB, 32 LEBs)
UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root:  200807 bytes (196 KiB)
Loading file '/mac_addr' to addr 0x02000000 with size 36 (0x00000024)...
Done
lan mac_addr :  00 90 a9 e1 05 e8
Set lan 0 WakeOnLan ok
Set lan 2 WakeOnLan ok
I run u-boot from kwboot!
Enable HD1
Enable HD2
Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |     0x00     |
| egiga1 |   RGMII   |   In-Band    |
| egiga2 |   SGMII   |     0x01     |
egiga0 [PRIME], egiga1, egiga2
Hit any key to stop autoboot:  0 
Marvell>> 1111
Unknown command '1111' - try 'help'
Marvell>> setenv bootdev usb
Marvell>> setenv device '0:1'
Marvell>> setenv load_initrd_addr 0x2900000
Marvell>> setenv load_image_addr 0x02000000
Marvell>> setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd'
Marvell>> setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage'
Marvell>> setenv usb_set_bootargs 'setenv bootargs "console=ttyS0,115200 root=/dev/sda1 rootdelay=10 $mtdparts earlyprintk=serial"'
Marvell>> setenv usb_bootcmd 'echo Booting from USB ...; setenv fdt_skip_update yes; usb start; run load_image; run load_initrd ; run usb_set_bootargs; bootm $load_image_addr $load_initrd_addr'
Marvell>> setenv bootcmd_usb 'usb start; run usb_set_bootargs; run usb_bootcmd; reset'
Marvell>> printenv
CASset=max
MALLOC_len=5
MPmode=SMP
autoload=no
baudrate=115200
boot_order=hd_scr usb_scr mmc_scr hd_img usb_img mmc_img pxe net_img net_scr
bootargs=root=/dev/ram console=ttyS0,115200
bootargs_dflt=$console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel
bootargs_end=:10.4.50.254:255.255.255.0:Armada38x:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd=run bootcmd_custom; setenv bootargs root=/dev/ram console=ttyS0,115200; nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000
bootcmd_auto=stage_boot $boot_order
bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_boot=tftpboot 0x2000000 $image_name; setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_edit=tftpboot $fdtaddr $fdtfile; fdt addr $fdtaddr; setenv bootcmd $bootcmd_fdt_boot
bootcmd_lgcy=tftpboot 0x2000000 $image_name; setenv bootargs $bootargs_dflt; bootm 0x2000000; 
bootcmd_usb=usb start; run usb_set_bootargs; run usb_bootcmd; reset
bootdelay=1
bootdev=usb
cacheShare=no
console=console=ttyS0,115200
device=0:1
device_partition=0:1
disaMvPnp=no
eeeEnable=no
enaClockGating=no
enaCpuStream=no
enaFPU=yes
enaMonExt=no
enaWrAllo=no
eth1addr=00:50:43:00:19:1a
eth1mtu=1500
eth2addr=00:50:43:00:00:1a
eth2mtu=1500
eth3addr=00:50:43:19:00:00
eth3mtu=1500
ethact=egiga0
ethaddr=00:50:43:00:19:1a
ethmtu=1500
ethprime=egiga0
fdt_addr=2040000
fdt_skip_update=no
fdtaddr=0x1000000
fdtfile=armada-38x-modular.dtb
filesize=24
ide_path=/
image_name=uImage
initrd_name=uInitrd
ipaddr=192.168.11.110
kernel_addr_r=2080000
lcd0_enable=0
lcd0_params=640x480-16@60
lcd_panel=0
load_image=echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage
load_image_addr=0x02000000
load_initading=uInitrd ...
load_initdr=0x2900000
load_initrd=echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x2900000
loadaddr=0x02000000
loads_echo=0
mtddevname=u-boot
mtddevnum=0
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),441m@15m(image.cfs),15m@456m(rescue_fw),20m@471m(config),10m@491m(reserve1),10m@501m(reserve2)
mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500
mv_pon_addr=00:50:43:1a:00:00
nandEcc=nfcConfig=4bitecc
netbsd_en=no
netmask=255.255.255.0
netretry=no
partition=nand0,0
pcieTune=no
pexMode=RC
pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
ramdisk_addr_r=2880000
rootpath=/srv/nfs/
sata_delay_reset=0
sata_dma_mode=yes
script_addr_r=3000000
script_name=boot.scr
serverip=192.168.11.114
standalone=fsload 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000;
stderr=serial
stdin=serial
stdout=serial
usb0Mode=host
usbActive=0
usbType=3
usb_bootcmd=echo Booting from USB ...; setenv fdt_skip_update yes; usb start; run load_image; run load_initrd ; run usb_set_bootargs; bootm $load_image_addr $load_initrd_addr
usb_set_bootargs=setenv bootargs "console=ttyS0,115200 root=/dev/sda1 rootdelay=10 $mtdparts earlyprintk=serial"
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81

Environment size: 3972/524284 bytes
Marvell>> saveenv
Saving Environment to NAND...
Erasing Nand...
Writing to Nand... done
Marvell>> run bootcmd_usb
(Re)start USB...
USB0:   Port (usbActive) : 0	Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
Booting from USB ...
(Re)start USB...
USB0:   Port (usbActive) : 0	Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
loading Image ...

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


U-Boot 2013.01_v1.08 (Aug 07 2017 - 19:59:54) hmartin version: 2014_T3.0p6

Board: Yosemite DB6820
SoC:   MV88F6820 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1332 [MHz]
       L2     @ 666 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 666 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  1 GiB

Map:   Code:			0x3fece000:0x3ff95e20
       BSS:			0x3ffef254
       Stack:			0x3f9cdf20
       Heap:			0x3f9ce000:0x3fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:	0x00000000:0x00080000 (NAND)

NAND:  ID: dcad ,512 MiB
MMC:   mv_sdh: 0
PCI-e 0: Detected No Link.
bootcmd: run bootcmd_custom; setenv bootargs root=/dev/ram console=ttyS0,115200; nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00001f500000-0x00001ff00000 : "mtd=7"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=7"
UBI: MTD device size:            10 MiB
UBI: number of good PEBs:        80
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             32
UBI: total number of reserved PEBs: 48
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 6/2
UBIFS: mounted UBI device 0, volume 0, name "reserve2"
UBIFS: mounted read-only
UBIFS: file system size:   4063232 bytes (3968 KiB, 3 MiB, 32 LEBs)
UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root:  200807 bytes (196 KiB)
Loading file '/mac_addr' to addr 0x02000000 with size 36 (0x00000024)...
Done
lan mac_addr :  00 90 a9 e1 05 e8
Set lan 0 WakeOnLan ok
Set lan 2 WakeOnLan ok
I run u-boot from kwboot!
Enable HD1
Enable HD2
Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |     0x00     |
| egiga1 |   RGMII   |   In-Band    |
| egiga2 |   SGMII   |     0x01     |
egiga0 [PRIME], egiga1, egiga2
Hit any key to stop autoboot:  0 
## Error: "bootcmd_custom" not defined

NAND read: device 0 offset 0x500000, size 0x500000
 5242880 bytes read: OK

NAND read: device 0 offset 0xa00000, size 0x500000
 5242880 bytes read: OK
## Booting image at 00a00000 ...
## Booting kernel from Legacy Image at 00a00000 ...
   Image Name:   Kernel
   Created:      2020-12-21   2:51:55 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2933136 Bytes = 2.8 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 00f00000 ...
   Image Name:   Ramdisk
   Created:      2021-04-28  10:38:19 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    2489526 Bytes = 2.4 MiB
   Load Address: 00e00000
   Entry Point:  00e00000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.22-armada-18.09.3 (kman@kmachine) (gcc version 8.3.0 (Debian 8.3.0-2)) #1 SMP Mon Dec 21 02:51:38 UTC 2020 ga-18.09.3 Build-23
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] OF: fdt: Machine model: WD RangerPeak
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 3 pages/cpu @efe60000 s65740 r8192 d24372 u98304
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32741
[    0.000000] Kernel command line: root=/dev/ram console=ttyS0,115200
[    0.000000] PID hash table entries: 4096 (order: -1, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 4, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 3, 262144 bytes)
[    0.000000] Memory: 1033216K/1048576K available (6144K kernel code, 467K rwdata, 1376K rodata, 1024K init, 756K bss, 15360K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff8000   (  32 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a74e68   ( 468 kB)
[    0.000000]        .bss : 0xc0a74e68 - 0xc0b32024   ( 757 kB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU event tracing is enabled.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000007] sched_clock: 64 bits at 666MHz, resolution 1ns, wraps every 4398046511103ns
[    0.000018] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x999999d70a, max_idle_ns: 440795225152 ns
[    0.000032] Switching to timer-based delay loop, resolution 1ns
[    0.000164] Ignoring duplicate/late registration of read_current_timer delay
[    0.000172] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.000491] Console: colour dummy device 80x30
[    0.000504] Calibrating delay loop (skipped), value calculated using timer frequency.. 1332.00 BogoMIPS (lpj=6660000)
[    0.000512] pid_max: default: 32768 minimum: 301
[    0.000646] Mount-cache hash table entries: 8192 (order: 0, 32768 bytes)
[    0.000656] Mountpoint-cache hash table entries: 8192 (order: 0, 32768 bytes)
[    0.001058] CPU: Testing write buffer coherency: ok
[    0.001072] CPU0: Spectre v2: using BPIALL workaround
[    0.001220] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001366] Setting up static identity map for 0x100000 - 0x100060
[    0.001441] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.001514] mvebu-pmsu: Initializing Power Management Service Unit
[    0.001570] Hierarchical SRCU implementation.
[    0.001799] smp: Bringing up secondary CPUs ...
[    0.001983] Booting CPU 1
[    0.002159] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.002162] CPU1: Spectre v2: using BPIALL workaround
[    0.002217] smp: Brought up 1 node, 2 CPUs
[    0.002222] SMP: Total of 2 processors activated (2664.00 BogoMIPS).
[    0.002226] CPU: All CPU(s) started in SVC mode.
[    0.004229] devtmpfs: initialized
[    0.005672] random: get_random_u32 called from bucket_table_alloc+0x100/0x230 with crng_init=0
[    0.005785] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.005882] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.005891] futex hash table entries: 512 (order: 0, 32768 bytes)
[    0.005982] pinctrl core: initialized pinctrl subsystem
[    0.006425] NET: Registered protocol family 16
[    0.007052] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.007145] random: fast init done
[    0.007650] cpuidle: using governor ladder
[    0.007716] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.007721] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.007826] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.007833] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.015785] v5.0-sata0: supplied by pwr_en_sata0
[    0.016015] v5.0-sata1: supplied by pwr_en_sata1
[    0.016327] SCSI subsystem initialized
[    0.016528] usbcore: registered new interface driver usbfs
[    0.016553] usbcore: registered new interface driver hub
[    0.016585] usbcore: registered new device driver usb
[    0.016680] pps_core: LinuxPPS API ver. 1 registered
[    0.016684] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.016694] PTP clock support registered
[    0.017426] clocksource: Switched to clocksource arm_global_timer
[    0.030491] VFS: Disk quotas dquot_6.6.0
[    0.030552] VFS: Dquot-cache hash table entries: 8192 (order 0, 32768 bytes)
[    0.034674] NET: Registered protocol family 2
[    0.034956] TCP established hash table entries: 8192 (order: 0, 32768 bytes)
[    0.035000] TCP bind hash table entries: 8192 (order: 1, 65536 bytes)
[    0.035076] TCP: Hash tables configured (established 8192 bind 8192)
[    0.035116] UDP hash table entries: 1024 (order: 0, 32768 bytes)
[    0.035166] UDP-Lite hash table entries: 1024 (order: 0, 32768 bytes)
[    0.035295] NET: Registered protocol family 1
[    0.035395] Trying to unpack rootfs image as initramfs...
[    0.035662] rootfs image is not initramfs (no cpio magic); looks like an initrd
[    0.040281] Freeing initrd memory: 2432K
[    0.040558] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.041391] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.041619] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.041624] fuse init (API version 7.26)
[    0.043624] bounce: pool size: 64 pages
[    0.043660] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.043666] io scheduler noop registered
[    0.043670] io scheduler deadline registered
[    0.043709] io scheduler cfq registered (default)
[    0.043713] io scheduler mq-deadline registered
[    0.043717] io scheduler kyber registered
[    0.044329] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    0.045574] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.107928] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    0.108096] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.167905] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    0.191210] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.192123] console [ttyS0] disabled
[    0.212217] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 22, base_baud = 12500000) is a 16550A
[    0.903290] console [ttyS0] enabled
[    0.927377] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 23, base_baud = 12500000) is a 16550A
[    0.937435] brd: module loaded
[    0.969759] loop: module loaded
[    0.973525] ahci-mvebu f10a8000.sata: masking port_map 0x3 -> 0x3
[    0.979716] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    0.988822] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    0.998340] scsi host0: ahci-mvebu
[    1.001943] scsi host1: ahci-mvebu
[    1.005453] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 42
[    1.013509] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 42
[    1.022210] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xdc
[    1.028629] nand: Hynix H27U4G8F2DTR-BC
[    1.032485] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.140105] marvell-nfc f10d0000.flash: Timeout on CMDD (NDSR: 0x00000080)
[    1.247024] marvell-nfc f10d0000.flash: Timeout on CMDD (NDSR: 0x00000280)
[    1.254140] Bad block table found at page 262080, version 0x01
[    1.260343] Bad block table found at page 262016, version 0x01
[    1.266398] nand_read_bbt: bad block at 0x00001ea20000
[    1.271594] 8 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.277722] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    1.283149] 0x000000000000-0x000000500000 : "U-Boot"
[    1.288629] 0x000000500000-0x000000a00000 : "uImage"
[    1.294039] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    1.299611] 0x000000f00000-0x00001c800000 : "image.cfs"
[    1.307395] 0x00001c800000-0x00001d700000 : "rescue fw"
[    1.313091] 0x00001d700000-0x00001eb00000 : "config"
[    1.318547] 0x00001eb00000-0x00001f500000 : "reserve1"
[    1.324136] 0x00001f500000-0x00001ff00000 : "reserve2"
[    1.329896] libphy: Fixed MDIO Bus: probed
[    1.334396] libphy: orion_mdio_bus: probed
[    1.340190] mvneta f1070000.ethernet egiga0: Using random mac address be:be:fd:89:7a:aa
[    1.348979] mvneta f1034000.ethernet egiga1: Using random mac address 4e:83:b0:b0:05:71
[    1.357198] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.363780] ehci-pci: EHCI PCI platform driver
[    1.368280] ehci-orion: EHCI orion driver
[    1.372565] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.377923] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 1
[    1.385561] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.394165] xhci-hcd f10f0000.usb3: irq 44, io mem 0xf10f0000
[    1.400332] hub 1-0:1.0: USB hub found
[    1.404123] hub 1-0:1.0: 1 port detected
[    1.408272] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.413618] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    1.421217] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.429667] hub 2-0:1.0: USB hub found
[    1.433455] hub 2-0:1.0: 1 port detected
[    1.437657] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.443005] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[    1.450657] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.459258] xhci-hcd f10f8000.usb3: irq 45, io mem 0xf10f8000
[    1.465362] hub 3-0:1.0: USB hub found
[    1.469197] hub 3-0:1.0: 1 port detected
[    1.473305] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.478663] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    1.486236] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.494664] hub 4-0:1.0: USB hub found
[    1.498466] hub 4-0:1.0: 1 port detected
[    1.502694] usbcore: registered new interface driver usb-storage
[    1.509266] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.516946] i2c /dev entries driver
[    1.537418] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    1.543653] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    1.549980] ata1.00: ATA-9: WDC WD20EFRX-68EUZN0, 82.00A82, max UDMA/133
[    1.552825] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[    1.553259] orion_wdt: Initial timeout 171 sec
[    1.554480] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.554629] usbcore: registered new interface driver usbhid
[    1.554630] usbhid: USB HID core driver
[    1.554827] NET: Registered protocol family 17
[    1.554837] 8021q: 802.1Q VLAN Support v1.8
[    1.554856] Key type dns_resolver registered
[    1.554885] ThumbEE CPU extension supported.
[    1.554889] Registering SWP/SWPB emulation handler
[    1.555345] registered taskstats version 1
[    1.556729] armada38x-rtc f10a3800.rtc: setting system clock to 2021-05-27 09:27:29 UTC (1622107649)
[    1.625436] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    1.625605] ata2.00: ATA-9: WDC WD20EFRX-68EUZN0, 82.00A82, max UDMA/133
[    1.625608] ata2.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    1.625954] ata1.00: configured for UDMA/133
[    1.626150] scsi 0:0:0:0: Direct-Access     ATA      WDC WD20EFRX-68E 0A82 PQ: 0 ANSI: 5
[    1.626641] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    1.626645] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    1.626669] sd 0:0:0:0: [sda] Write Protect is off
[    1.626713] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.627063] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    1.627644] ata2.00: configured for UDMA/133
[    1.627787] scsi 1:0:0:0: Direct-Access     ATA      WDC WD20EFRX-68E 0A82 PQ: 0 ANSI: 5
[    1.628333] sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    1.628337] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[    1.628360] sd 1:0:0:0: [sdb] Write Protect is off
[    1.628403] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.628643] sd 1:0:0:0: Attached scsi generic sg1 type 0
[    1.658096]  sdb: sdb1 sdb2 sdb3 sdb4
[    1.658861] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[    1.659730]  sda: sda1 sda2 sda3 sda4
[    1.660454] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    1.754054] md: Waiting for all devices to be available before autodetect
[    1.760884] md: If you don't use raid, use raid=noautodetect
[    1.766871] md: Autodetecting RAID arrays.
[    1.771002] md: autorun ...
[    1.773808] md: ... autorun DONE.
[    1.777180] RAMDISK: gzip image found at block 0
[    1.777426] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    1.958409] usb-storage 1-1:1.0: USB Mass Storage device detected
[    1.967680] scsi host2: usb-storage 1-1:1.0
[    2.062445] EXT4-fs (ram0): couldn't mount as ext3 due to feature incompatibilities
[    2.070740] EXT4-fs (ram0): mounted filesystem without journal. Opts: (null)
[    2.077860] VFS: Mounted root (ext4 filesystem) readonly on device 1:0.
[    2.084727] devtmpfs: mounted
[    2.088214] Freeing unused kernel memory: 1024K
starting pid 1368, tty '': '/etc/rc.sh'
[    2.104751] EXT4-fs (ram0): re-mounted. Opts: (null)
** Mounting /etc/fstab
umount: can't unmount /proc: Invalid argument
umount: can't unmount /usr/local/modules: Invalid argument
[    3.047743] scsi 2:0:0:0: Direct-Access     USB 2.0  Flash Disk       4.00 PQ: 0 ANSI: 2
[    3.056299] sd 2:0:0:0: Attached scsi generic sg2 type 0
[    3.061783] sd 2:0:0:0: [sdc] 1013887 2048-byte logical blocks: (2.08 GB/1.93 GiB)
[    3.069531] sd 2:0:0:0: [sdc] Write Protect is off
[    3.074468] sd 2:0:0:0: [sdc] Asking for cache data failed
[    3.080008] sd 2:0:0:0: [sdc] Assuming drive cache: write through
[    3.091790]  sdc: sdc1
[    3.094983] sd 2:0:0:0: [sdc] Attached SCSI removable disk
[    3.356200] ubi0: attaching mtd5
[    3.411057] ubi0: scanning is finished
[    3.419076] ubi0: attached mtd5 (name "config", size 20 MiB)
[    3.424775] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    3.431710] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    3.438540] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    3.445538] ubi0: good PEBs: 159, bad PEBs: 1, corrupted PEBs: 0
[    3.451579] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[    3.458841] ubi0: max/mean erase counter: 475/313, WL threshold: 4096, image sequence number: 382870006
[    3.468286] ubi0: available PEBs: 12, total reserved PEBs: 147, PEBs reserved for bad PEB handling: 19
[    3.477655] ubi0: background thread "ubi_bgt0d" started, PID 1398
UBI device number 0, total 159 LEBs (20189184 bytes, 19.3 MiB), available 12 LEBs (1523712 bytes, 1.5 MiB), LEB size 126976 bytes (124.0 KiB)
[    4.494569] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 1403
[    4.512350] UBIFS (ubi0:0): recovery needed
[    4.588984] UBIFS (ubi0:0): recovery completed
[    4.593485] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "config"
[    4.600928] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    4.610900] UBIFS (ubi0:0): FS size: 14475264 bytes (13 MiB, 114 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
[    4.621308] UBIFS (ubi0:0): reserved for root: 683702 bytes (667 KiB)
[    4.627788] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID 13C8314C-5EB9-4E6E-97FE-912C2B992752, small LPT model
No check first good block
image len = 126582784 , image checksum = 4207e2fb
dump image checksum=4207e2fb
mount cmd:busybox mount -t squashfs -o loop /usr/local/tmp/image.cfs /usr/local/modules
ln: /lib/./libwdhw.so: File exists
ln: /lib/./libwdhw.so.1: File exists
ldconfig: /lib/libpcre.so.3 is not a symbolic link

dev.raid.speed_limit_min = 20000
dev.raid.speed_limit_max = 20000
[   25.357426] raid6: int32x1  gen()   483 MB/s
[   25.527512] raid6: int32x1  xor()   175 MB/s
[   25.697454] raid6: int32x2  gen()   446 MB/s
[   25.867508] raid6: int32x2  xor()   252 MB/s
[   26.037417] raid6: int32x4  gen()   441 MB/s
[   26.207518] raid6: int32x4  xor()   262 MB/s
[   26.377488] raid6: int32x8  gen()   451 MB/s
[   26.547501] raid6: int32x8  xor()   254 MB/s
[   26.551792] raid6: using algorithm int32x1 gen() 483 MB/s
[   26.557217] raid6: .... xor() 175 MB/s, rmw enabled
[   26.562125] raid6: using intx1 recovery algorithm
[   26.579017] xor: measuring software checksum speed
[   26.677425]    arm4regs  :  1273.600 MB/sec
[   26.777403]    8regs     :   937.600 MB/sec
[   26.877406]    32regs    :  1107.200 MB/sec
[   26.881610] xor: using function: arm4regs (1273.600 MB/sec)
[   26.903442] async_tx: api initialized (async)
[   26.963663] RPC: Registered named UNIX socket transport module.
[   26.969663] RPC: Registered udp transport module.
[   26.974393] RPC: Registered tcp transport module.
[   26.979123] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   27.025529] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
[   27.355227] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   27.529378] SGI XFS with security attributes, no debug enabled
egiga0    Link encap:Ethernet  HWaddr BE:BE:FD:89:7A:AA  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1024 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:37 

egiga1    Link encap:Ethernet  HWaddr 4E:83:B0:B0:05:71  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1024 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:38 

Do Lan Port Switch
[   27.657007] mvneta f1070000.ethernet not_egiga0: renamed from egiga0
[   27.701682] mvneta f1034000.ethernet egiga0: renamed from egiga1
[   27.771361] mvneta f1070000.ethernet egiga1: renamed from not_egiga0
[   27.842914] jnl: loading out-of-tree module taints kernel.
[   27.849526] jnl: driver (UFSD_HEAD lke_9.7.0_b20) loaded at bfc98000
[   27.945947] ufsd: module license 'Commercial product' taints kernel.
[   27.952366] Disabling lock debugging due to kernel taint
[   27.968164] ufsd: driver (UFSD_HEAD lke_9.7.0_b20, acl, sd2(5), tr, car) loaded at bfcd8000
[   27.968164] NTFSJ support included
[   27.968164] exFAT support included
[   27.968164] Hfs+J support included
[   27.968164] Build_for__WD_Generic_k4.14.22_2020-07-27_lke_9.7.0_b20
[   27.993085] ufsd: PAGE_SIZE=32K, THREAD_SIZE=64k
[   27.997730] ufsd: Kernel .config hash: original 0xfec52e1d, current can't check.
[   28.005165] ufsd: Kernel .config hash: original 0xfec52e1d, current can't check
[   28.033670] tun: Universal TUN/TAP device driver, 1.6
lrwxrwxrwx    1 root     0               17 May 27 09:27 /usr/sbin//raid_config -> /usr/sbin/diskmgr
lrwxrwxrwx    1 root     0               17 May 27 09:27 /usr/sbin//raid_expand -> /usr/sbin/diskmgr
lrwxrwxrwx    1 root     0               17 May 27 09:27 /usr/sbin//raid_expand_disks -> /usr/sbin/diskmgr
lrwxrwxrwx    1 root     0               17 May 27 09:27 /usr/sbin//raid_update_info -> /usr/sbin/diskmgr
hardware init
change baudrate to 19200
Set 802.3az
mtd check v1.06.06032015
config mtd type is UBIFS
device = /usr/local/config
Total size     = 12384 Kbytes
Used size     = 288 Kbytes
Free size     = 12096 Kbytes
percentage = 2
/usr/local/config free size is 12386304
** copy config files
current fw ver1 = 5.13.115
current fw ver2 = 5.13.115.0428.2021
** set loopback interface
[   35.901681] ubi1: attaching mtd6
[   35.931112] ubi1: scanning is finished
[   35.939272] ubi1: attached mtd6 (name "reserve1", size 10 MiB)
[   35.945146] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[   35.952093] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[   35.958966] ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096
[   35.965965] ubi1: good PEBs: 80, bad PEBs: 0, corrupted PEBs: 0
[   35.971921] ubi1: user volume: 1, internal volumes: 1, max. volumes count: 128
[   35.979185] ubi1: max/mean erase counter: 7/3, WL threshold: 4096, image sequence number: 1464274168
[   35.988368] ubi1: available PEBs: 14, total reserved PEBs: 66, PEBs reserved for bad PEB handling: 28
[   35.997647] ubi1: background thread "ubi_bgt1d" started, PID 2974
UBI device number 1, total 80 LEBs (10158080 bytes, 9.7 MiB), available 14 LEBs (1777664 bytes, 1.7 MiB), LEB size 126976 bytes (124.0 KiB)
[   37.025942] UBIFS (ubi1:0): background thread "ubifs_bgt1_0" started, PID 2981
[   37.075110] UBIFS (ubi1:0): UBIFS: mounted UBI device 1, volume 0, name "reserve"
[   37.082643] UBIFS (ubi1:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   37.092614] UBIFS (ubi1:0): FS size: 3047424 bytes (2 MiB, 24 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
[   37.102757] UBIFS (ubi1:0): reserved for root: 143937 bytes (140 KiB)
[   37.109235] UBIFS (ubi1:0): media format: w4/r0 (latest is w5/r0), UUID 3F147905-44C5-4DDA-BB18-5A3DD73823DB, small LPT model
[   37.178998] UBIFS (ubi1:0): un-mount UBI device 1
[   37.183741] UBIFS (ubi1:0): background thread "ubifs_bgt1_0" stops
[   37.247823] ubi2: attaching mtd7
[   37.277311] ubi2: scanning is finished
[   37.285426] ubi2: attached mtd7 (name "reserve2", size 10 MiB)
[   37.291340] ubi2: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[   37.298266] ubi2: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[   37.305090] ubi2: VID header offset: 2048 (aligned 2048), data offset: 4096
[   37.312096] ubi2: good PEBs: 80, bad PEBs: 0, corrupted PEBs: 0
[   37.318051] ubi2: user volume: 1, internal volumes: 1, max. volumes count: 128
[   37.325310] ubi2: max/mean erase counter: 6/2, WL threshold: 4096, image sequence number: 102756252
[   37.334406] ubi2: available PEBs: 6, total reserved PEBs: 74, PEBs reserved for bad PEB handling: 28
[   37.343600] ubi2: background thread "ubi_bgt2d" started, PID 2991
UBI device number 2, total 80 LEBs (10158080 bytes, 9.7 MiB), available 6 LEBs (761856 bytes, 744.0 KiB), LEB size 126976 bytes (124.0 KiB)
mknod: /dev/mtd7: File exists
[   38.476601] UBIFS (ubi2:0): background thread "ubifs_bgt2_0" started, PID 3000
[   38.525813] UBIFS (ubi2:0): UBIFS: mounted UBI device 2, volume 0, name "reserve2"
[   38.533433] UBIFS (ubi2:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   38.543405] UBIFS (ubi2:0): FS size: 4063232 bytes (3 MiB, 32 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
[   38.553549] UBIFS (ubi2:0): reserved for root: 191915 bytes (187 KiB)
[   38.560029] UBIFS (ubi2:0): media format: w4/r0 (latest is w5/r0), UUID 9B283082-FC76-46F4-9769-421F96B58C5A, small LPT model
/dev/mtd7 mount ok(ubi)
[   38.729006] UBIFS (ubi2:0): un-mount UBI device 2
[   38.734095] UBIFS (ubi2:0): background thread "ubifs_bgt2_0" stops
mac1 = 00:90:A9:E1:05:E8
mac2 = 00:90:A9:E1:05:E9
lan0:ifconfig egiga0 hw ether 00:90:A9:E1:05:E8
lan0:ifconfig egiga1 hw ether 00:90:A9:E1:05:E9
[   38.908066] mvneta f1034000.ethernet egiga0: PHY [f1072004.mdio-mii:01] driver [Marvell 88E1510]
[   38.917108] mvneta f1034000.ethernet egiga0: configuring for phy/sgmii link mode
[   39.047795] mvneta f1070000.ethernet egiga1: PHY [f1072004.mdio-mii:00] driver [Marvell 88E1510]
[   39.056836] mvneta f1070000.ethernet egiga1: configuring for phy/rgmii-id link mode
set lan0 speed
set lan1 speed
[   39.119729] exFAT: file-system version 2.2.0-3arter97
hidden encryption: 0
Not support chk_sata
[   43.207902] mvneta f1034000.ethernet egiga0: Link is Up - 1Gbps/Full - flow control off
[   44.287820] NET: Registered protocol family 10
[   44.292863] Segment Routing with IPv6
[   44.329572] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
net.ipv6.conf.default.accept_dad = 2
net.ipv6.conf.egiga0.accept_dad = 2
net.ipv6.conf.default.dad_transmits = 1
net.ipv6.conf.egiga0.dad_transmits = 1
net.ipv6.conf.default.forwarding = 0
net.ipv6.conf.default.accept_redirects = 1
*** execute rc.init.sh
ip.sh bonding {1 restart}
bonding starting ...
insmod /usr/local/modules/driver/bonding.ko mode=1 miimon=500 use_carrier=1 downdelay=1000 updelay=1000
[   45.678832] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[   45.685238] MII link monitoring set to 500 ms
[   46.725410] 8021q: adding VLAN 0 to HW filter on device bond0
[   48.738767] mvneta f1034000.ethernet egiga0: Link is Down
[   48.848068] mvneta f1034000.ethernet egiga0: PHY [f1072004.mdio-mii:01] driver [Marvell 88E1510]
[   48.857100] mvneta f1034000.ethernet egiga0: configuring for phy/sgmii link mode
[   48.864754] bond0: Enslaving egiga0 as a backup interface with a down link
[   48.871691] mvneta f1034000.ethernet egiga0: Link is Up - 1Gbps/Full - flow control off
[   48.977959] mvneta f1070000.ethernet egiga1: PHY [f1072004.mdio-mii:00] driver [Marvell 88E1510]
[   48.986984] mvneta f1070000.ethernet egiga1: configuring for phy/rgmii-id link mode
[   48.994891] bond0: Enslaving egiga1 as a backup interface with a down link
[   49.267416] bond0: link status up for interface egiga0, enabling it in 0 ms
[   49.274449] bond0: link status definitely up for interface egiga0, 1000 Mbps full duplex
[   49.282588] bond0: making interface egiga0 the new active one
[   49.288509] bond0: first active interface up!
[   50.010916] mvneta f1034000.ethernet egiga0: Link is Down
[   50.327407] bond0: link status down for active interface egiga0, disabling it in 1000 ms
[   51.367429] bond0: link status definitely down for interface egiga0, disabling it
Waiting for bond0 ready...
Waiting for bond0 ready...
[   53.127784] mvneta f1034000.ethernet egiga0: Link is Up - 1Gbps/Full - flow control off
[   53.427412] bond0: link status up for interface egiga0, enabling it in 0 ms
[   53.434422] bond0: link status definitely up for interface egiga0, 1000 Mbps full duplex
[   53.442563] bond0: making interface egiga0 the new active one
[   53.448473] bond0: first active interface up!
udhcpc: started, v1.30.1
cat: can't open '/tmp/setip.0': No such file or directory
udhcpc: sending discover
killall: crond: no process killed
crond[3207]: crond (busybox 1.30.1) started, log level 8

udhcpc: sending select for 192.168.1.10
udhcpc: lease of 192.168.1.10 obtained, lease time 864000
deleting routers
route: SIOCDELRT: No such process
Initializing UPnP Sdk with
	ipaddress = (null) port = 0
UPnP Initialized
	ipaddress= 192.168.1.10 port = 49152
Specifying the webserver root directory -- /etc/upnp
Registering the RootDevice
	 with desc_doc_url: http://192.168.1.10:49152/nasdevicedesc.xml
RootDevice Registered
Initializing State Table
Stop rsyslog daemon:
State Table Initialized
crond[3296]: crond (busybox 1.30.1) started, log level 8

RTNETLINK answers: Operation not supported
call load_module network
RTNETLINK answers: Operation not supported
Advertisements Sent
Starting rsyslog daemon:
*** Copy CacheVolume data from flash ****
*** set Time Zone ****
php-fpm is not running.
Thu May 27 11:28:24 CEST 2021
Stop rsyslog daemon:
Starting rsyslog daemon:
*** get Time from rtc and set it into system ****
rtc: RTC time = 2021/5/27 Thu 9:28:25
Thu May 27 11:28:25 CEST 2021

Module IPC SERVER Version:(1.00.20090706)

ads=0
Set Date & time : sntp -K /dev/null -S -r de.pool.ntp.org
sntp 4.2.8p12@1.3728-o (1)
created mail daemon thread 0
2021-05-27 11:28:25.449463 (-0100) +0.161328 +/- 0.151492 de.pool.ntp.org 136.243.7.20 s3 no-leap
NTP Server connected successfully!!!
0
990
POWER ON DEVICE!!
mdadm: /dev/sdb1 appears to be part of a raid array:
       level=raid1 devices=2 ctime=Wed May 26 11:25:42 2021
mdadm: Note: this array has metadata at the start and
    may not be suitable as a boot device.  If you plan to
    store '/boot' on this device please ensure that
    your boot-loader understands md/v1.x metadata, or use
    --metadata=0.90
mdadm: /dev/sda1 appears to be part of a raid array:
       level=raid1 devices=2 ctime=Wed May 26 11:25:42 2021
mdadm: size set to 2094080K
mdadm: creation continuing despite oddities due to --run
mdadm: Fail create md0 when using /sys/module/md_mod/parameters/new_array
mdadm: Defaulting to version 1.2 metadata
[   59.382919] md/raid1:md0: active with 2 out of 2 mirrors
[   59.405476] md0: detected capacity change from 0 to 2144337920
mdadm: array /dev/md0 started.
GPT fdisk (gdisk) version 1.0.3

[   59.606615]  md0: p1 p2
Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): 
Command (? for help): 
Command (? for help): This option deletes all partitions and creates a new protective MBR.
Proceed? (Y/N): 
Command (? for help): Partition number (1-128, default 1): First sector (34-4188126, default = 2048) or {+-}size{KMGTP}: Last sector (2048-4188126, default = 4188126) or {+-}size{KMGTP}: Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300): Changed type of partition to 'Linux filesystem'

Command (? for help): Partition number (2-128, default 2): First sector (34-4188126, default = 616448) or {+-}size{KMGTP}: Last sector (616448-4188126, default = 4188126) or {+-}size{KMGTP}: Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300): Changed type of partition to 'Linux filesystem'

Command (? for help): 
Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N): OK; writing new GUID partition table (GPT) to /dev/md0.
[   60.719613]  md0: p1 p2
The operation has completed successfully.
mke2fs 1.44.5 (15-Dec-2018)
/dev/md0p1 contains a ext4 file system
	last mounted on Wed May 26 11:25:45 2021
Creating filesystem with 307200 1k blocks and 76912 inodes
Filesystem UUID: 2d1f7c87-ed98-4559-80ff-4a7574a72236
Superblock backups stored on blocks: 
	8193, 24577, 40961, 57345, 73729, 204801, 221185

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: [   62.077529] random: crng init done
done

[   62.420241] EXT4-fs (md0p1): mounted filesystem with ordered data mode. Opts: (null)
Setting up swapspace version 1, size = 1828666880 bytes
UUID=2d035ef2-98a6-4d52-819a-dfe314ecb406
[   62.471315] Adding 1785792k swap on /dev/md0p2.  Priority:-2 extents:1 across:1785792k 
mdadm: /dev/md0: no change requested
[   62.519465] EXT4-fs (sdb4): barriers disabled
[   62.624315] EXT4-fs (sdb4): recovery complete
[   62.628907] EXT4-fs (sdb4): mounted filesystem with ordered data mode. Opts: barrier=0,usrquota,grpquota
[   62.666862] EXT4-fs (sda4): barriers disabled
[   62.686767] EXT4-fs (sda4): recovery complete
[   62.691306] EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: barrier=0,usrquota,grpquota
--->isVolumeExist 0 
[   62.750881] md: md1 stopped.
[   62.757816] md1: detected capacity change from 0 to 3992205131776
[   73.377233] EXT4-fs (md1): barriers disabled
[   73.939759] EXT4-fs (md1): mounted filesystem with ordered data mode. Opts: barrier=0,usrquota,grpquota

Up_Send_Ctl : Can not find specified command "ErrStatus"
[   75.058503] restart sysinfod...
sysinfod: full update begin...
sysinfod: disk connected: previous=0xffffffff, now=0x0
sysinfod: Disk1(sdb) detected.
sysinfod: Disk2(sda) detected.
sysinfod: Creating a new entry for md1.
sysinfod: Creating a new entry for md0.
WD hwlib start..............
Starting system message bus
Starting wdtms
wdtms started
Loading x_tables.ko
Loading nf_conntrack.ko
[   80.781849] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
Loading xt_conntrack.ko
Loading xt_state.ko
Loading xt_tcpudp.ko
Loading xt_recent.ko
Loading xt_LOG.ko
Loading nf_log_common.ko
Loading xt_limit.ko
Loading ip_tables.ko
[   81.043954] ip_tables: (C) 2000-2006 Netfilter Core Team
Loading iptable_filter.ko
Loading nf_defrag_ipv4.ko
Loading nf_conntrack_ipv4.ko
Loading nf_log_ipv4.ko
Loading ip6_tables.ko
[   81.288468] ip6_tables: (C) 2000-2006 Netfilter Core Team
Loading ip6table_filter.ko
Loading nf_defrag_ipv6.ko
Loading nf_conntrack_ipv6.ko
Loading nf_log_ipv6.ko
PHY_LAN_NUMBER=2
BOND_ENABLE=1
VLAN0_ENABLE=0
VLAN1_ENABLE=0
**LLTD START**
LLTDIF0=bond0
Starting otaclient
otaclient started

 -------------use hwlib instead of fan_control b c------------- 
 3730 root      5376 S    avahi-daemon: running [NAS.local]
[ERROR] Unable to open (null)
[   85.349856] EXT4-fs (sdc1): mounting ext3 file system using the ext4 subsystem
[   85.420378] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null)
sh: incUpdateCount.pm: not found
sysinfod: disk connected: previous=0x0, now=0x3
Starting php-fpm
php-fpm started
chk_io
system daemon

Starting nasAdmin
nasAdmin started
[   93.487146] Loading iSCSI transport class v2.0-870.
dev.raid.speed_limit_max = 200000
[   93.675646] scandisk for power failure now.

*ERROR* main(): scandisk [-a] [(null)]

Starting monit
[   93.898622] iscsi: registered transport (tcp)
dumpe2fs 1.44.5 (15-Dec-2018)
New interface iface0 added
iface0 updated.
New interface iface1 added
iface1 updated.
New interface ifbond added
ifbond updated.
2021/05/27 11:29:01 nasAdmin starting, config file (use default config if none specified):/etc/nasAdmin.toml
2021/05/27 11:29:01 nasAdmin starting, log file: /var/log/nasAdmin.log
monit started
Set watchdog interval to 120
Current watchdog interval is 120
Reinitializing monit daemon

Please press Enter to activate this console. PIP is disabled, exiting.
sacndisk for power failure(fs_error_count=0)
[   98.293307] volume_stop.sh /mnt/HD/HD_a2...
option stop_uuid
iSCSI Module Disabled
[   98.911765] kill_process.sh /mnt/HD/HD_a2...
Stopping otaclient
                [  101.288021] kill_process.sh done.
     USER        PID ACCESS COMMAND
/mnt/HD/HD_a2:       root     kernel mount /mnt/HD/HD_a2
[  102.390046] volume_stop.sh done.
                     USER        PID ACCESS COMMAND
/mnt/HD/HD_a2:       root     kernel mount /mnt/HD/HD_a2
[  180.210650] EXT4-fs (md1): barriers disabled
[  180.773143] EXT4-fs (md1): mounted filesystem with ordered data mode. Opts: barrier=0,usrquota,grpquota
OPEN DEBUG MODE!!
volumeNum = 1
web cmd = 1
sdx3Flag = 0
raidMode = raid0
raidStatus = 0 
Volume is in Normal state 
fileType = ext4
size = 3837328472
usedSize = 197930168
freeSize = 3639398304
percentage = 0
devUsedStr = sdbsda
devSpareStr = -><- len 0
devMountStr = /dev/md1
devToRaid1 = 
devCombineDevice = /dev/sdb2 /dev/sda2 
scsiMapping = 0x3
devNum = 2
raidUuid = UUID=ae7e6b53:33d008a4:eb45304f:9db482af
isVolEncryption = 0
isVolAutoMount = 0
encryptionPasswd = 
mountStatus = 1
isRoaming = 0
hdSerialNumber[0] = sdb:WD-WCC4M4ETUXED
hdSerialNumber[1] = sda:WD-WCC4M7FD36C0

Up_Send_Ctl : Can not find specified command "ErrStatus"
call load_module
### create systemfile ###
### sata_reload_application start ###
Initializing UPnP Sdk with
	ipaddress = (null) port = 0
UPnP Initialized
	ipaddress= 192.168.1.10 port = 49152
Specifying the webserver root directory -- /etc/upnp
Registering the RootDevice
	 with desc_doc_url: http://192.168.1.10:49152/nasdevicedesc.xml
RootDevice Registered
Initializing State Table
State Table Initialized
Advertisements Sent
Starting atopacctd
cannot switch on process accounting: Function not implemented
Starting atop system monitor  atop
atop started
MySQL Setting: status : 1
MySQL Setting: deny_remote_access : 1
MySQL Setting: blank : 0
killall: mysqld: no process killed
killall: mysqld_safe: no process killed
210527 11:30:43 mysqld_safe Logging to '/mnt/HD_a4/.@database@/NAS.err'.
210527 11:30:44 mysqld_safe Starting mysqld daemon with databases from /mnt/HD_a4/.@database@
MySQL DataPath: /mnt/HD_a4/.@database@
killall: smbd: no process killed
killall: smbd: no process killed
killall: chk_blockip: no process killed
killall: chk_blockip: no process killed
Can't load //.rnd into RNG
3063559568:error:2406F079:random number generator:RAND_load_file:Cannot open file:crypto/rand/randfile.c:98:Filename=//.rnd
Generating a RSA private key
.+++++
...........................+++++
writing new private key to '/etc/ssl/private/pure-ftpd.pem'
-----
killall: pure-ftp: no process killed
killall: pure-ftpd_s: no process killed
sysinfod: full update begin...
 3730 root      5376 S    avahi-daemon: running [NAS.local]
*** APKG Daemon is starting ... ***
Reinitializing monit daemon
[phpMyAdmin] init
stop phpMyAdmin: /mnt/HD/HD_a2/Nas_Prog/phpMyAdmin
[phpMyAdmin] start
Stopping otaclient
Starting otaclient
otaclient started
### sata_reload_application end ###
sysinfod: full update begin...
LED_POWER_ON
sysinfod: inform: all drives status=Healthy.



Edited 1 time(s). Last edit at 05/27/2021 04:50AM by sorgonas.
Re: Debian installation instructions for WD EX2100
May 27, 2021 05:38PM
sorgonas,

> But slowly I don't feel like it anymore, but
> rather frustration because of the thing. I think
> I'll just leave the crap thing like that and come
> to terms with the fact that it doesn't work.

Be patient. There is something we're not seeing clearly. You did all the right steps in creating rootfs, except with one difference. We'll get to the bottom of this.

root@Server:~# parted --script /dev/sdc \ mklabel msdos \ mkpart primary ext3 1MiB

root@Server:~# mkfs.ext3 -L rootfs /dev/sdc1
root@Server:~# mkdir /media/sdc1
root@Server:~# mount /dev/sdc1 /media/sdc1
root@Server:~# cd /media/sdc1/
root@Server:/media/sdc1# tar -xjf Debian-5.2.9-mvebu-tld-1-rootfs-bodhi.tar.bz2
root@Server:/media/sdc1# cd /media/sdc1/boot
root@Server:/media/sdc1/boot# cp -a zImage-5.2.9-mvebu-tld-1 zImage.fdt
root@Server:/media/sdc1/boot# cat dts/armada-385-wd-ex2100.dtb >> zImage.fdt
root@Server:/media/sdc1/boot# mkimage -A arm -O linux -T kernel -C none -a 0x000080 -n Linux-5.2.9-mvebu-tld-1 -d zImage.fdt uImage
root@Server:/media/sdc1/boot# sync
root@Server:/media/sdc1/boot# sync
root@Server:/media/sdc1/boot# umount /media/sdc1

1. Is this USB thumb drive USB 2.0 or 3.0? should use USB 2.0 and a reliable brand such as Sandisk. Some old u-boot such as this box's u-boot doesnot support USB 3.0. And some UBS brand is problematic for it to recognize.

2. The 1st command might or might not make a difference. It depends on stock u-boot.

Quote

root@Server:~# parted --script /dev/sdc \ mklabel msdos \ mkpart primary ext3 1MiB

So recreate the rootfs. Use fdisk to wipe out all partition, and create a new partition with MBR (i.e. msdos) table. parted might have default to GPT, which oftenly causes problem for older u-boot (I recall that this box u-boot is OK with GPT, but not sure). Even though your parted command has msdos table in it. We don't know if it did take.

3. After you created the new USB rootfs using fdisk, tar, mkimage,... Bring it back to the box and, power up. Interrupt serial console like you did. And then check the USB drive:

usb reset
usb part
ext2ls usb 0:1 /boot

If the above 3 commands give any error, then we'll know what to do next. And the last one ext2ls should show uImage and uInitrd with correct sizes.

======

And then we'll do baby steps at u-boot console to load the uImage file to see if it can be loaded.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 3 time(s). Last edit at 05/27/2021 05:42PM by bodhi.
Re: Debian installation instructions for WD EX2100
May 28, 2021 01:06AM
Hy Bodhi,

1. It's a 2.0 USB stick from bluemedia, my Samsung or Intenso sticks are all USB-3.
2. I've been using the stick the whole time, and so far, yes. ok I will do it all over again and delete it completely beforehand.
3.
Hit any key to stop autoboot:  0 
Marvell>> 1111
Unknown command '1111' - try 'help'
Marvell>> usb reset
(Re)start USB...
USB0:   Port (usbActive) : 0    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
Marvell>> usb part

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

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            7821312         8c269b1e-01     83
Marvell>> ext2ls usb 0:1 /boot
<DIR>       4096 .
<DIR>       4096 ..
<DIR>       4096 dts
         3266081 System.map-5.2.9-mvebu-tld-1
         5057632 vmlinuz-5.2.9-mvebu-tld-1
         9488554 initrd.img-5.2.9-mvebu-tld-1
         9676808 linux-headers-5.2.9-mvebu-tld-1_1.0_armhf.deb
         5057632 zImage-5.2.9-mvebu-tld-1
         5057632 zImage
         9488618 uInitrd
          183639 config-5.2.9-mvebu-tld-1
         5073874 zImage.fdt
         5073938 uImage
Marvell>>



Edited 1 time(s). Last edit at 05/28/2021 09:52AM by sorgonas.
Re: Debian installation instructions for WD EX2100
June 01, 2021 12:23AM
I'm still up to date and waiting for the next steps ;-)
Re: Debian installation instructions for WD EX2100
June 01, 2021 01:14AM
sorgonas,

OK. So the baby steps booting is to see where did it go wrong.

Go ahead set the envs as before:
setenv bootdev usb
setenv device '0:1'
setenv load_initrd_addr 0x2900000
setenv load_image_addr 0x02000000
setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd'
setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage'
setenv usb_set_bootargs 'setenv bootargs "console=ttyS0,115200 root=/dev/sda1 rootdelay=10 $mtdparts earlyprintk=serial"'
setenv usb_bootcmd 'echo Booting from USB ...; setenv fdt_skip_update yes; usb start; run load_image; run load_initrd ; run usb_set_bootargs; bootm $load_image_addr $load_initrd_addr'
setenv bootcmd_usb 'usb start; run usb_set_bootargs; run usb_bootcmd; reset'
printenv

And don't boot just yet. Execute each command one by one:

setenv fdt_skip_update yes
usb start
ext2load usb 0:1 0x02000000 /boot/uImage
ext2load usb 0:1 0x2900000 /boot/uInitrd'

And see if both kernel images can be loaded without problem above.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian installation instructions for WD EX2100
June 01, 2021 01:45AM
My result
Marvell>> setenv bootdev usb
Marvell>> setenv device '0:1'
Marvell>> setenv load_initrd_addr 0x2900000
Marvell>> setenv load_image_addr 0x02000000
Marvell>> setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd'
Marvell>> setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage'
Marvell>> setenv usb_set_bootargs 'setenv bootargs "console=ttyS0,115200 root=/dev/sda1 rootdelay=10 $mtdparts earlyprintk=serial"'
Marvell>> setenv usb_bootcmd 'echo Booting from USB ...; setenv fdt_skip_update yes; usb start; run load_image; run load_initrd ; run usb_set_bootargs; bootm $load_image_addr $load_initrd_addr'
Marvell>> setenv bootcmd_usb 'usb start; run usb_set_bootargs; run usb_bootcmd; reset'
Marvell>> printenv
CASset=max
MALLOC_len=5
MPmode=SMP
autoload=no
baudrate=115200
boot_order=hd_scr usb_scr mmc_scr hd_img usb_img mmc_img pxe net_img net_scr
bootargs=root=/dev/ram console=ttyS0,115200
bootargs_dflt=$console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel
bootargs_end=:10.4.50.254:255.255.255.0:Armada38x:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd=run bootcmd_custom; setenv bootargs root=/dev/ram console=ttyS0,115200; nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000
bootcmd_auto=stage_boot $boot_order
bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_boot=tftpboot 0x2000000 $image_name; setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_edit=tftpboot $fdtaddr $fdtfile; fdt addr $fdtaddr; setenv bootcmd $bootcmd_fdt_boot
bootcmd_lgcy=tftpboot 0x2000000 $image_name; setenv bootargs $bootargs_dflt; bootm 0x2000000; 
bootcmd_usb=usb start; run usb_set_bootargs; run usb_bootcmd; reset
bootdelay=1
bootdev=usb
cacheShare=no
console=console=ttyS0,115200
device=0:1
device_partition=0:1
disaMvPnp=no
eeeEnable=no
enaClockGating=no
enaCpuStream=no
enaFPU=yes
enaMonExt=no
enaWrAllo=no
eth1addr=00:50:43:00:19:1a
eth1mtu=1500
eth2addr=00:50:43:00:00:1a
eth2mtu=1500
eth3addr=00:50:43:19:00:00
eth3mtu=1500
ethact=egiga0
ethaddr=00:50:43:00:19:1a
ethmtu=1500
ethprime=egiga0
fdt_addr=2040000
fdt_skip_update=no
fdtaddr=0x1000000
fdtfile=armada-38x-modular.dtb
filesize=24
ide_path=/
image_name=uImage
initrd_name=uInitrd
ipaddr=192.168.11.110
kernel_addr_r=2080000
lcd0_enable=0
lcd0_params=640x480-16@60
lcd_panel=0
load_image=echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage
load_image_addr=0x02000000
load_initading=uInitrd ...
load_initdr=0x2900000
load_initrd=echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x2900000
loadaddr=0x02000000
loads_echo=0
mtddevname=u-boot
mtddevnum=0
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),441m@15m(image.cfs),15m@456m(rescue_fw),20m@471m(config),10m@491m(reserve1),10m@501m(reserve2)
mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500
mv_pon_addr=00:50:43:1a:00:00
nandEcc=nfcConfig=4bitecc
netbsd_en=no
netmask=255.255.255.0
netretry=no
partition=nand0,0
pcieTune=no
pexMode=RC
pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
ramdisk_addr_r=2880000
rootpath=/srv/nfs/
sata_delay_reset=0
sata_dma_mode=yes
script_addr_r=3000000
script_name=boot.scr
serverip=192.168.11.114
standalone=fsload 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000;
stderr=serial
stdin=serial
stdout=serial
usb0Mode=host
usbActive=0
usbType=3
usb_bootcmd=echo Booting from USB ...; setenv fdt_skip_update yes; usb start; run load_image; run load_initrd ; run usb_set_bootargs; bootm $load_image_addr $load_initrd_addr
usb_set_bootargs=setenv bootargs "console=ttyS0,115200 root=/dev/sda1 rootdelay=10 $mtdparts earlyprintk=serial"
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81

Environment size: 3972/524284 bytes
Marvell>> <INTERRUPT>
Marvell>>

next step
Marvell>> setenv fdt_skip_update yes
Marvell>> usb start
(Re)start USB...
USB0:   Port (usbActive) : 0    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
Marvell>> ext2load usb 0:1 0x02000000 /boot/uImage
5073938 bytes read in 3387 ms (1.4 MiB/s)
Marvell>> ext2load usb 0:1 0x2900000 /boot/uInitrd
9488618 bytes read in 755 ms (12 MiB/s)
Marvell>> 

Re: Debian installation instructions for WD EX2100
June 01, 2021 02:40AM
So it does load OK.

Continue:

run usb_set_bootargs
bootm 0x02000000  0x2900000

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian installation instructions for WD EX2100
June 01, 2021 02:48AM
Marvell>> run usb_set_bootargs
Marvell>> bootm 0x02000000  0x2900000
## Booting image at 02000000 ...
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-5.2.9-mvebu-tld-1
   Created:      2021-05-28  12:36:26 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5073874 Bytes = 4.8 MiB
   Load Address: 00000080
   Entry Point:  00000080
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02900000 ...
   Image Name:   initramfs-5.2.9-mvebu-tld-1
   Created:      2019-08-26  11:03:27 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9488554 Bytes = 9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Re: Debian installation instructions for WD EX2100
June 01, 2021 02:55AM
> Marvell>> run usb_set_bootargs
> Marvell>> bootm 0x02000000  0x2900000
> ## Booting image at 02000000 ...
> ## Booting kernel from Legacy Image at 02000000
> ...
>    Image Name:   Linux-5.2.9-mvebu-tld-1
>    Created:      2021-05-28  12:36:26 UTC
>    Image Type:   ARM Linux Kernel Image
> (uncompressed)
>    Data Size:    5073874 Bytes = 4.8 MiB
>    Load Address: 00000080
>    Entry Point:  00000080
>    Verifying Checksum ... OK
> ## Loading init Ramdisk from Legacy Image at
> 02900000 ...
>    Image Name:   initramfs-5.2.9-mvebu-tld-1
>    Created:      2019-08-26  11:03:27 UTC
>    Image Type:   ARM Linux RAMDisk Image (gzip
> compressed)
>    Data Size:    9488554 Bytes = 9 MiB
>    Load Address: 00000000
>    Entry Point:  00000000
>    Verifying Checksum ... OK
>    Loading Kernel Image ... OK
> OK
> 
> Starting kernel ...
>

Ok so it stuck here, it is possibly becasuse of the new kernel images sizes. Back in the hmartin instruction it was an old kernel.

So let me find the load addresses of a similar box (Thecus N2350).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian installation instructions for WD EX2100
June 01, 2021 02:58AM
All right, then it wasn't my fault up to here and couldn't help it that he didn't continue. At least something positive, thought the whole time, it's due to my inability ;-)
Re: Debian installation instructions for WD EX2100
June 01, 2021 03:29AM
> All right, then it wasn't my fault up to here and
> couldn't help it that he didn't continue. At least
> something positive, thought the whole time, it's
> due to my inability ;-)

You did everything by the book :) It is just that we are running stock u-boot, which is time sensitive about the USB drive being completely initialized and settled, and also is not too great about reallocating kernel images, so usually the load addresses are specific. Once it boots OK, we'll go back and adjust the envs to get it boot automatically.


Try the new load addresses this way:
setenv fdt_skip_update yes
usb start
ext2load usb 0:1 0x02000000 /boot/uImage
ext2load usb 0:1 0x3000000 /boot/uInitrd'
run usb_set_bootargs
bootm 0x02000000  0x3000000

If the above is not successful try again:
setenv initrd_high 0xffffffff
setenv fdt_skip_update yes
usb start
ext2load usb 0:1 0x02000000 /boot/uImage
ext2load usb 0:1 0x3000000 /boot/uInitrd'
run usb_set_bootargs
bootm 0x02000000  0x3000000

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian installation instructions for WD EX2100
June 01, 2021 07:00AM
first try
Marvell>> setenv fdt_skip_update yes
Marvell>> usb start
(Re)start USB...
USB0:   Port (usbActive) : 0    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
Marvell>> ext2load usb 0:1 0x02000000 /boot/uImage
5073938 bytes read in 764 ms (6.3 MiB/s)
Marvell>> ext2load usb 0:1 0x3000000 /boot/uInitrd'
> <INTERRUPT>
Marvell>> ext2load usb 0:1 0x3000000 /boot/uInitrd
9488618 bytes read in 757 ms (12 MiB/s)
Marvell>> run usb_set_bootargs
Marvell>> bootm 0x02000000  0x3000000
## Booting image at 02000000 ...
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-5.2.9-mvebu-tld-1
   Created:      2021-05-28  12:36:26 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5073874 Bytes = 4.8 MiB
   Load Address: 00000080
   Entry Point:  00000080
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 03000000 ...
   Image Name:   initramfs-5.2.9-mvebu-tld-1
   Created:      2019-08-26  11:03:27 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9488554 Bytes = 9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

seccond try
Marvell>> setenv bootdev usb
Marvell>> setenv device '0:1'
Marvell>> setenv load_initrd_addr 0x2900000
Marvell>> setenv load_image_addr 0x02000000
Marvell>> setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd'
Marvell>> setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage'
Marvell>> setenv usb_set_bootargs 'setenv bootargs "console=ttyS0,115200 root=/dev/sda1 rootdelay=10 $mtdparts earlyprintk=serial"'
Marvell>> setenv usb_bootcmd 'echo Booting from USB ...; setenv fdt_skip_update yes; usb start; run load_image; run load_initrd ; run usb_set_bootargs; bootm $load_image_addr $load_initrd_addr'
Marvell>> setenv bootcmd_usb 'usb start; run usb_set_bootargs; run usb_bootcmd; reset'
Marvell>> setenv initrd_high 0xffffffff
Marvell>> setenv fdt_skip_update yes
Marvell>> usb start
(Re)start USB...
USB0:   Port (usbActive) : 0    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
Marvell>> ext2load usb 0:1 0x02000000 /boot/uImage
5073938 bytes read in 764 ms (6.3 MiB/s)
Marvell>> ext2load usb 0:1 0x3000000 /boot/uInitrd
9488618 bytes read in 756 ms (12 MiB/s)
Marvell>> run usb_set_bootargs
Marvell>> bootm 0x02000000  0x3000000
## Booting image at 02000000 ...
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-5.2.9-mvebu-tld-1
   Created:      2021-05-28  12:36:26 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5073874 Bytes = 4.8 MiB
   Load Address: 00000080
   Entry Point:  00000080
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 03000000 ...
   Image Name:   initramfs-5.2.9-mvebu-tld-1
   Created:      2019-08-26  11:03:27 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9488554 Bytes = 9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

waiting for next instruction ...



Edited 1 time(s). Last edit at 06/05/2021 03:47AM by sorgonas.
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: