Welcome! Log In Create A New Profile

Advanced

Ctera C200 V2 (Armada 370) Installation & Kernel Upgrade (Linux-5.10.7)

Posted by chkdsk88 
Ctera C200 V2 (Armada 370) Installation & Kernel Upgrade (Linux-5.10.7)
February 16, 2022 03:32PM
My post is only supplement for complete instruction created by bohdi.

How to install: (example created for Debian-5.13.6-kirkwood-tld-1-rootfs-bodhi and linux-5.10.7-mvebu-370xp-tld-1-bodhi.tar.bz2, for newer version please adjust numbers)

Steps different than regular procedure are bold.
PLEASE REMEMBER TO USE mvebu-370xp SPECIAL KERNEL VERSION! For install and for update.

Quote
bohdi (mostly)
Installation:

Installation can be done on any Linux box, with a fresh HDD. Installation to USB stick is at this moment impossible!

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

1. Format a new USB drive with a single Ext3 partition, and label it rootfs.

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

3. Adjust fstab (optional).

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

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

3.5. Download tools, which I prepared for Ctera devices: ctera-firmware and ctera-flash. First is used for firm file creation, second will be used for install firm file from running Debian. Links:

https://raw.githubusercontent.com/CHKDSK88/various-tools/main/ctera-firmware/ctera-firmware
https://raw.githubusercontent.com/CHKDSK88/various-tools/main/ctera-firmware/ctera-flash

Please put in on created rootfs, in usr/local/bin/ forder:

cd /media/sda1/usr/local/bin/
wget https://raw.githubusercontent.com/CHKDSK88/various-tools/main/ctera-firmware/ctera-firmware
wget https://raw.githubusercontent.com/CHKDSK88/various-tools/main/ctera-firmware/ctera-flash
chmod +x ctera-*

3.75. Download dtb file for Ctera C200 V2. You compile it from patch sent upstream or download from forum:
Link

cd /media/sdb1/boot/dts
wget https://forum.doozan.com/file.php?2,file=6499,filename=armada-370-c200-v2.dtb,download=1 -O armada-370-c200-v2.dtb


4. Create uImage with embedded DTB.

Generate the uImage with DTB embedded inside:
cd /media/sdb1/boot
tar -xjf linux-5.10.7-mvebu-370xp-tld-1-bodhi.tar.bz2
cp -a zImage-5.10.7-mvebu-370xp-tld-1 zImage.fdt
cat dts/armada-370-c200-v2.dtb  >> zImage.fdt
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.10.7-mvebu-370xp-tld-1 -d zImage.fdt uImage
sync


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

apt-get install u-boot-tools

4.5 Prepare firm file for factory software flashing and copy it to linux box (e.g to tmp):

cd /media/sdb1/boot
../usr/local/bin/ctera-firmware -v2 -k uImage -i uInitrd -b "console=ttyS0,115200 root=LABEL=rootfs rootdelay=10" -o Linux-5.10.7-mvebu-370xp-tld-1-install.firm
cp Linux-5.10.7-mvebu-370xp-tld-1-install.firm /tmp/

The only way to change bootargs delivered from stock u-boot is to configure it in image. You can adjust it by change "-b" parameter.

4.7 OPTIONAL (NON FREE FIRMWARE FILE) For (future) proper usb 3.0 controller work please download firmware file:

cd /media/sdb1/lib
mkdir firmware
cd firmware
wget https://github.com/denisandroid/uPD72020x-Firmware/raw/master/UPDATE.mem -O renesas_usb_fw.mem

5. Done. Please install kernel and initramfs in the same way like upgrade.

Take this USB rootfs to your Ctera and cold start. Login to factory web-gui and install firm file saved in /tmp/ folder of your linux box. After booted into Debian, see Note 1-6 below from main theard.

Some infos:

A. At this moment is impossible to use usb 3.0 controller because xhci is built-in and CONFIG_USB_XHCI_PCI_RENESAS is not set. I will update manual if, it will be possible.

B. For proper mac configuration please update script from `/root/set_persistent_mac_address`:

#!/bin/bash
#
# set_persistent_mac_address
#
# Compare the MAC address in ifconfig with u-boot env ethaddr (persistent MAC for eth0) and reconfig MAC address  to ethaddr if necessary.
#
UBOOT_MACADDR=`cat /dev/mtd3 | grep mac  |  cut -c5-21`

if [ "$UBOOT_MACADDR" == "" ]; then
        logger -s -i "Cannot read u-boot env ethaddr"
        exit 0
fi

MY_MACADDR=`x=$(ifconfig eth0) && x=${x#*ether } && echo ${x%% *}`

if [ "${UBOOT_MACADDR^^}" == "${MY_MACADDR^^}" ]; then
        logger -s -i  "Persistent MAC address already set "$UBOOT_MACADDR
        exit 0
fi

echo "Setting Persistent MAC address to "$UBOOT_MACADDR > /dev/kmsg
/usr/bin/logger -s -i "Setting Persistent MAC address to "$UBOOT_MACADDR

ifdown eth0
ifconfig -v eth0 hw ether $UBOOT_MACADDR
ifup eth0

exit 0

C. To proper LED work add following code before 'exit 0' in /etc/rc.local :
DEVICE=$(tr -d '\0' < /sys/firmware/devicetree/base/compatible)

# Ctera C200-V2
if echo "$DEVICE" | grep -q "c200-v2"; then
        echo default-on >  /sys/class/leds/green\:status/trigger
        echo none >  /sys/class/leds/red\:status/trigger
        echo ide-disk1 > /sys/class/leds/green\:disk-1/trigger
        echo ide-disk2 > /sys/class/leds/green\:disk-2/trigger
fi

D. It is possible to upgrade kernel and initramfs:
Short example (for 5.10 kernel):

1. Prepare: Download tar.bz archive with bohdi linux upgrade and put it into boot folder.

2. Instalation:
cd /boot/
tar -xjf linux-5.10.7-mvebu-370xp-tld-1-bodhi.tar.bz2
dpkg -i linux-image-5.10.7-mvebu-370xp-tld-1_1.0_armhf.deb
mv uImage uImage.orig
mv uInitrd uInitrd.orig
cp -a zImage-5.10.7-mvebu-370xp-tld-1  zImage.fdt
cat dts/armada-370-c200-v2.dtb  >> zImage.fdt
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.10.7-mvebu-370xp-tld-1 -d zImage.fdt uImage
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-5.10.7-mvebu-370xp-tld-1 -d initrd.img-5.10.7-mvebu-370xp-tld-1 uInitrd
ctera-firmware -v2 -k uImage -i uInitrd -b "console=ttyS0,115200 root=LABEL=rootfs rootdelay=10" -o Linux-5.10.7-mvebu-370xp-tld-1.firm
ctera-flash -i Linux-5.10.7-mvebu-370xp-tld-1.firm

Two last commands prepare and flash new ctera image. It was installed in step 3.5 of installation.



Edited 4 time(s). Last edit at 03/01/2022 03:58PM by chkdsk88.
Attachments:
open | download - armada-370-c200-v2.dtb (15.9 KB)
Re: Ctera C200 V2 (Armada 370) Installation & Kernel Upgrade (Linux-5.10.7)
February 16, 2022 03:35PM
There is one issue: PCIE doesn't reset properly.

[    3.540933][    T1] armada-370-pinctrl d0018000.pin-ctrl: registered pinctrl driver
[    3.549228][    T1] mvebu-pcie soc:pcie@82000000: host bridge /soc/pcie@82000000 ranges:
[    3.549297][    T1] mvebu-pcie soc:pcie@82000000:      MEM 0x00d0040000..0x00d0041fff -> 0x0000040000
[    3.549332][    T1] mvebu-pcie soc:pcie@82000000:      MEM 0x00d0080000..0x00d0081fff -> 0x0000080000
[    3.549365][    T1] mvebu-pcie soc:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    3.549396][    T1] mvebu-pcie soc:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    3.549426][    T1] mvebu-pcie soc:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    3.549448][    T1] mvebu-pcie soc:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    3.549526][    T1] mvebu-pcie soc:pcie@82000000: /soc/pcie@82000000/pcie@1,0: reset gpio is active low
[    3.665006][    T1] mvebu-pcie soc:pcie@82000000: PCI host bridge to bus 0000:00
[    3.665036][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    3.665055][    T1] pci_bus 0000:00: root bus resource [mem 0xd0040000-0xd0041fff] (bus address [0x00040000-0x00041fff])
[    3.665071][    T1] pci_bus 0000:00: root bus resource [mem 0xd0080000-0xd0081fff] (bus address [0x00080000-0x00081fff])
[    3.665085][    T1] pci_bus 0000:00: root bus resource [mem 0xf8000000-0xffdfffff]
[    3.665098][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    3.665250][    T1] pci 0000:00:01.0: [11ab:6710] type 01 class 0x060400
[    3.665283][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    3.667424][    T1] PCI: bus0: Fast back to back transfers disabled
[    3.667454][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.668784][    T1] pci 0000:01:00.0: [1912:0015] type 00 class 0x0c0330
[    3.668828][    T1] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00001fff 64bit]
[    3.668982][    T1] pci 0000:01:00.0: PME# supported from D0 D3hot
[    3.669058][    T1] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    3.696073][    T1] PCI: bus1: Fast back to back transfers disabled
[    3.696105][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    3.696185][    T1] pci 0000:00:01.0: BAR 14: assigned [mem 0xf8000000-0xf80fffff]
[    3.696204][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xf8100000-0xf81007ff pref]
[    3.696224][    T1] pci 0000:01:00.0: BAR 0: assigned [mem 0xf8000000-0xf8001fff 64bit]
[    3.696247][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    3.696264][    T1] pci 0000:00:01.0:   bridge window [mem 0xf8000000-0xf80fffff]
[    3.696353][    T1] armada-370-pinctrl d0018000.pin-ctrl: unsupported function gpio on pin mpp59
[    3.696370][    T1] pinctrl core: failed to register map default (0): invalid type given
[    3.696394][    T1] pcieport: probe of 0000:00:01.0 failed with error -22
[    3.696425][    T1] pci 0000:00:01.0: enabling device (0140 -> 0142)
[    3.696461][    T1] pci 0000:01:00.0: enabling device (0140 -> 0142)
[    8.696515][    T1] pci 0000:01:00.0: xHCI HW not ready after 5 sec (HC bug?) status = 0x801
[    8.696558][    T1] pci 0000:01:00.0: quirk_usb_early_handoff+0x0/0x768 took 4882939 usecs

It works on Openwrt 5.10 kernel:

[    0.385725] armada-370-pinctrl d0018000.pin-ctrl: registered pinctrl driver
[    0.394579] mvebu-pcie soc:pcie@82000000: host bridge /soc/pcie@82000000 ranges:
[    0.401977] mvebu-pcie soc:pcie@82000000:      MEM 0x00d0040000..0x00d0041fff -> 0x0000040000
[    0.410513] mvebu-pcie soc:pcie@82000000:      MEM 0x00d0080000..0x00d0081fff -> 0x0000080000
[    0.419027] mvebu-pcie soc:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    0.428057] mvebu-pcie soc:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    0.437084] mvebu-pcie soc:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    0.446107] mvebu-pcie soc:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    0.455171] mvebu-pcie soc:pcie@82000000: /soc/pcie@82000000/pcie@1,0: reset gpio is active low
[    0.493629] pcie0.0: reset completed in 1000us
[    0.498200] mvebu-pcie soc:pcie@82000000: PCI host bridge to bus 0000:00
[    0.504920] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.510388] pci_bus 0000:00: root bus resource [mem 0xd0040000-0xd0041fff] (bus address [0x00040000-0x00041fff])
[    0.520533] pci_bus 0000:00: root bus resource [mem 0xd0080000-0xd0081fff] (bus address [0x00080000-0x00081fff])
[    0.530674] pci_bus 0000:00: root bus resource [mem 0xf8000000-0xffdfffff]
[    0.537530] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    0.543899] pci 0000:00:01.0: [11ab:6710] type 01 class 0x060400
[    0.551358] PCI: bus0: Fast back to back transfers disabled
[    0.556943] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.565051] pci 0000:01:00.0: [1912:0015] type 00 class 0x0c0330
[    0.571056] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00001fff 64bit]
[    0.577941] pci 0000:01:00.0: PME# supported from D0 D3hot
[    0.583436] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    0.599450] PCI: bus1: Fast back to back transfers disabled
[    0.605025] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.611661] pci 0000:00:01.0: BAR 8: assigned [mem 0xf8000000-0xf80fffff]
[    0.618441] pci 0000:01:00.0: BAR 0: assigned [mem 0xf8000000-0xf8001fff 64bit]
[    0.625739] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.630687] pci 0000:00:01.0:   bridge window [mem 0xf8000000-0xf80fffff]
[    0.637502] pci 0000:00:01.0: enabling device (0140 -> 0142)
[    0.643148] pci 0000:01:00.0: enabling device (0140 -> 0142)
[    5.648831] pci 0000:01:00.0: xHCI HW not ready after 5 sec (HC bug?) status = 0x801
[    5.657825] pci 0000:01:00.0: quirk_usb_early_handoff+0x0/0x750 took 4902644 usecs
Re: Ctera C200 V2 (Armada 370) Installation & Kernel Upgrade (Linux-5.10.7)
February 16, 2022 07:02PM
chkdsk88,

Thanks for your contribution, fanstastic!

I'm building the next kernel for the 370xp: linux-5.16.5-mvebu-370xp-tld-1. And it will have supports for USB 3.0 like you've mentioned (CONFIG_USB_XHCI_PCI_RENESAS).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Ctera C200 V2 (Armada 370) Installation & Kernel Upgrade (Linux-5.10.7)
February 16, 2022 07:14PM
> There is one issue: PCIE doesn't reset properly.
> It works on Openwrt 5.10 kernel:

Quote

[ 3.696353][ T1] armada-370-pinctrl d0018000.pin-ctrl: unsupported function gpio on pin mpp59
[ 3.696370][ T1] pinctrl core: failed to register map default (0): invalid type given
[ 3.696394][ T1] pcieport: probe of 0000:00:01.0 failed with error -22

This could be due to the DTSI and DTS differences. You could take a look and see if there is any patch in the OpenWrt DTS include chain.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Ctera C200 V2 (Armada 370) Installation & Kernel Upgrade (Linux-5.10.7)
February 17, 2022 12:34AM
bodhi Wrote:
-------------------------------------------------------
> > There is one issue: PCIE doesn't reset
> properly.
> > It works on Openwrt 5.10 kernel:
>
>
Quote

[ 3.696353][ T1] armada-370-pinctrl
> d0018000.pin-ctrl: unsupported function gpio on
> pin mpp59
> [ 3.696370][ T1] pinctrl core: failed to
> register map default (0): invalid type given
> [ 3.696394][ T1] pcieport: probe of
> 0000:00:01.0 failed with error -22
>
> This could be due to the DTSI and DTS differences.
> You could take a look and see if there is any
> patch in the OpenWrt DTS include chain.

DTSI is untouched in this part.
The only patch associated with pinctrl or pcie that I found is:
https://github.com/openwrt/openwrt/blob/master/target/linux/mvebu/patches-5.10/801-pci-mvebu-time-out-reset-on-link-up.patch

It was taken from here:
http://git.arm.linux.org.uk/cgit/linux-arm.git/commit/?h=clearfog-4.13&id=739575689fa8f37c75ec37f7c45443e4705d2139
Re: Ctera C200 V2 (Armada 370) Installation & Kernel Upgrade (Linux-5.10.7)
February 18, 2022 04:31AM
chkdsk88,

I lost the USB 3.0 port (MVEBU XHCI controller) on the Mirabox with the kernel configured with CONFIG_USB_XHCI_PCI_RENESAS=m.

Blacklisting in /etc/modprobe.d seems to be too late. I'll try the bootargs to see if it will make any difference.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Ctera C200 V2 (Armada 370) Installation & Kernel Upgrade (Linux-5.10.7)
February 18, 2022 06:23AM
bodhi Wrote:
-------------------------------------------------------
> chkdsk88,
>
> I lost the USB 3.0 port (MVEBU XHCI controller) on
> the Mirabox with the kernel configured with
> CONFIG_USB_XHCI_PCI_RENESAS=m.
>

Does it work with =y?

> Blacklisting in /etc/modprobe.d seems to be too
> late. I'll try the bootargs to see if it will make
> any difference.
Re: Ctera C200 V2 (Armada 370) Installation & Kernel Upgrade (Linux-5.10.7)
February 18, 2022 03:41PM
> > I lost the USB 3.0 port (MVEBU XHCI controller)
> on
> > the Mirabox with the kernel configured with
> > CONFIG_USB_XHCI_PCI_RENESAS=m.
> >
>
> Does it work with =y?

Yeah, I might be worry too much. I'll try compile it it with =y.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Ctera C200 V2 (Armada 370) Installation & Kernel Upgrade (Linux-5.10.7)
February 19, 2022 04:43PM
chkdsk88,

> Does it work with =y?

No it does not.

I think there might be a dependency chain of modules that need to be blacklisted, not just one module xhci-pci-renesas.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Ctera C200 V2 (Armada 370) Installation & Kernel Upgrade (Linux-5.10.7)
February 19, 2022 05:35PM
Hi chkdsk88,

By the way, what I am seeing is the problem with using USB 3.0 for rootfs.

The kernel 5.16.5-mvebu-tld-1 boots fine and then the USB 3.0 port is working when in Debian. So CONFIG_USB_XHCI_PCI_RENESAS=m is OK. The kernel picked the right driver (MVEBU) to bring up the XHCI controller.


However, the blacklist needs to be in the kernel bootargs to make it soon enough. /etc/modprobe.d is a bit too late.

Perhaps my parameter needs to be correct. Right now I'm using this:

module_blacklist=xhci-pci-renesas

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



Edited 1 time(s). Last edit at 02/19/2022 06:10PM by bodhi.
Re: Ctera C200 V2 (Armada 370) Installation & Kernel Upgrade (Linux-5.10.7)
February 20, 2022 02:40PM
Hi bohdi,

Blacklist from /etc/modprobe.d should work if you change CONFIG_USB_XHCI_PCI to '=m'.
Re: Ctera C200 V2 (Armada 370) Installation & Kernel Upgrade (Linux-5.10.7)
February 20, 2022 03:50PM
Hi chkdsk88,

> Blacklist from /etc/modprobe.d should work if you
> change CONFIG_USB_XHCI_PCI to '=m'.

Yes, I think so, but I think we both modules must be blacklisted.

I'm thinking the installation is cleaner if we can blacklist in the kernel bootargs. That's why I'm playing with the bootargs.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Ctera C200 V2 (Armada 370) Installation & Kernel Upgrade (Linux-5.10.7)
February 20, 2022 07:40PM
Hi chkdsk88,

Even blacklisted the modules in /etc/modprobe.d, I still lost the XHCI for USB 3.0 on the Mirabox!

I've confirmed that USB 3.0 works fine in linux-5.16.5-mvebu-tld-1-bodhi.tar.bz2 (running the Thecus N2350, Armada 385).

grep -i CONFIG_USB_XHCI_PCI_RENESAS /boot/config-5.16.5-mvebu-tld-1 
CONFIG_USB_XHCI_PCI_RENESAS=m

Not sure what's the difference between the 370xp kernel and the 5.16.5-mvebu-tld-1 kernel that could cause it. I guess I will have to build again from the minum change (CONFIG_USB_XHCI_PCI_RENESAS=m) and see if it will work.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Ctera C200 V2 (Armada 370) Installation & Kernel Upgrade (Linux-5.10.7)
February 27, 2022 04:32PM
Hi chkdsk88,

I've added this Ctera C200 V2 to the release notes as work-in-progress.

Quote

Linux Kernel 5.16.x MVEBU package and Debian rootfs for Zyxel NAS326, WD MyCloud EX4100, WD My Cloud Mirror Gen 2, Thecus N2350, Dell Wyse T50/T10, HP T5335z, Chip PC LXD8941, GTI Mirabox (special kernel, see installation below), Synology RS816, Linksys WRT1900AC v1, WD MyCloud Ex2 Ultra, Netgear RN102 (special kernel, see installation below), Synology DS116, RTNAS V3, Synology DS218j, Shuttle Omninas KS10, Ctera C200 V2 (work-in-progress)

I'm back to this problem with USB 3.0. I've verified that PCIe is indeed broken in kernel 5.16.5 build for Armada 370.

CONFIG_USB_XHCI_PCI_RENESAS addition is just a red herring. I've build 5.15.5 kernel with this option and everything is working. I did not need to blacklist the module, either.

Let me upload the kernel and let you try it to see if PCie is working and you can use the USB 3.0 port.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Ctera C200 V2 (Armada 370) Installation & Kernel Upgrade (Linux-5.10.7)
February 27, 2022 06:56PM
Hi chkdsk88,

Please try this kernel. The modules necessary for this box were configured in.

CONFIG_USB_XHCI_PCI_RENESAS=m
CONFIG_USB_XHCI_PCI=m
CONFIG_SENSORS_NCT7802=m
CONFIG_INPUT_PWM_BEEPER=m

Download at Dropbox

linux-5.15.5-mvebu-370xp-tld-2-bodhi.tar.bz2

md5sum:
cb55ac163bdc25212b69897c7ba0fd7b
sha256sum:
04639a196b1d93cbc4eb4753c216da9948b466c1e46eb24baa7d388849675099

There are 6 files in this tarball:

Quote

linux-image-5.15.5-mvebu-370xp-tld-2_2_armhf.deb
linux-headers-5.15.5-mvebu-370xp-tld-2_2_armhf.deb
zImage-5.15.5-mvebu-370xp-tld-2
config-5.15.5-mvebu-370xp-tld-2
linux-dtb-5.15.5-mvebu-370xp-tld-2.tar
linux-5.15.5-mvebu-370xp-tld-2.patch

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



Edited 1 time(s). Last edit at 02/27/2022 06:58PM by bodhi.
Re: Ctera C200 V2 (Armada 370) Installation & Kernel Upgrade (Linux-5.10.7)
March 01, 2022 04:07PM
Hi bohdi,

Thanks for updated images. It work like a charm.

[   13.057342] xhci_hcd 0000:01:00.0: assign IRQ: got 44
[   13.057600] got firmware version: 2026.
[   14.601348] xhci_hcd 0000:01:00.0: enabling bus mastering
[   14.606050] xhci_hcd 0000:01:00.0: xHCI Host Controller
[   14.612100] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[   14.625800] xhci_hcd 0000:01:00.0: hcc params 0x014051cf hci version 0x100 quirks 0x0000001100000090
[   14.635778] xhci_hcd 0000:01:00.0: enabling Mem-Wr-Inval
[   14.636537] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[   14.645664] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   14.653687] usb usb1: Product: xHCI Host Controller
[   14.659362] usb usb1: Manufacturer: Linux 5.15.5-mvebu-370xp-tld-2 xhci-hcd
[   14.667130] usb usb1: SerialNumber: 0000:01:00.0
[   14.674896] hub 1-0:1.0: USB hub found
[   14.679502] hub 1-0:1.0: 2 ports detected
[   14.686596] xhci_hcd 0000:01:00.0: xHCI Host Controller
[   14.692640] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[   14.700887] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[   14.708084] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[   14.717305] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[   14.726411] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   14.734457] usb usb2: Product: xHCI Host Controller
[   14.740120] usb usb2: Manufacturer: Linux 5.15.5-mvebu-370xp-tld-2 xhci-hcd
[   14.747888] usb usb2: SerialNumber: 0000:01:00.0
[   14.755181] hub 2-0:1.0: USB hub found
[   14.759797] hub 2-0:1.0: 2 ports detected


Tomorrow I will try boot with rootfs mounted on usb stick.
Re: Ctera C200 V2 (Armada 370) Installation & Kernel Upgrade (Linux-5.10.7)
March 01, 2022 05:18PM
Hi chkdsk88,

> Thanks for updated images. It work like a charm.

Cool!

> Tomorrow I will try boot with rootfs mounted on
> usb stick.

Please do, it works on the Mirabox. Consider the kernel selected the right driver in your log above, I think it will be OK with rootfs, too.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Ctera C200 V2 (Armada 370) Installation & Kernel Upgrade (Linux-5.10.7)
March 02, 2022 02:25PM
It boots from usb-stick well:

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.15.5-mvebu-370xp-tld-2 (root@tldDebianVM) (arm-linux-gnueabihf-gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #2 PREEMPT Sun Feb 27 00:00:28 PST 2022
[    0.000000] CPU: ARMv7 Processor [561f5811] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Ctera C200 V2
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000]   HighMem  [mem 0x0000000030000000-0x000000003fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260608
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000] Memory: 1012248K/1048576K available (10240K kernel code, 1428K rwdata, 3320K rodata, 1024K init, 319K bss, 36328K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000] random: get_random_u32 called from ____cache_alloc+0x3f4/0x788 with crng_init=0
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] 	Trampoline variant of Tasks RCU enabled.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C: DT/platform modifies aux control register: 0x12086302 -> 0x1a086302
[    0.000000] Aurora cache controller enabled, 4 ways, 256 kB
[    0.000000] Aurora: CACHE_ID 0x00000100, AUX_CTRL 0x1a086302
[    0.000000] Switching to timer-based delay loop, resolution 48ns
[    0.000001] sched_clock: 32 bits at 20MHz, resolution 48ns, wraps every 103079217127ns
[    0.000026] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 91740502922 ns
[    0.000858] Console: colour dummy device 80x30
[    0.000907] Calibrating delay loop (skipped), value calculated using timer frequency.. 41.66 BogoMIPS (lpj=208333)
[    0.000931] pid_max: default: 32768 minimum: 301
[    0.001161] LSM: Security Framework initializing
[    0.001258] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001284] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.002209] CPU: Testing write buffer coherency: ok
[    0.003157] Setting up static identity map for 0x100000 - 0x100060
[    0.003539] mvebu-soc-id: MVEBU SoC ID=0x6710, Rev=0x1
[    0.003671] mvebu-pmsu: Initializing Power Management Service Unit
[    0.003829] rcu: Hierarchical SRCU implementation.
[    0.004895] devtmpfs: initialized
[    0.009782] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
[    0.010166] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.010198] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.038945] prandom32: self test passed (less than 6 bits correlated)
[    0.038970] prandom: seed boundary self test passed
[    0.041761] prandom: 100 self tests passed
[    0.041773] pinctrl core: initialized pinctrl subsystem
[    0.042881] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.043444] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.044130] audit: initializing netlink subsys (disabled)
[    0.044963] thermal_sys: Registered thermal governor 'step_wise'
[    0.045380] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[    0.045467] cpuidle: using governor ladder
[    0.045506] cpuidle: using governor menu
[    0.045630] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.045742] mvebu-pmsu: CPU idle is currently broken: disabling
[    0.240316] raid6: int32x8  gen()   177 MB/s
[    0.410245] raid6: int32x8  xor()   110 MB/s
[    0.580146] raid6: int32x4  gen()   170 MB/s
[    0.750095] raid6: int32x4  xor()   113 MB/s
[    0.920132] raid6: int32x2  gen()   345 MB/s
[    1.090101] raid6: int32x2  xor()   181 MB/s
[    1.260150] raid6: int32x1  gen()   340 MB/s
[    1.430122] raid6: int32x1  xor()   142 MB/s
[    1.430136] raid6: using algorithm int32x2 gen() 345 MB/s
[    1.430148] raid6: .... xor() 181 MB/s, rmw enabled
[    1.430159] raid6: using intx1 recovery algorithm
[    1.430721] vgaarb: loaded
[    1.431238] SCSI subsystem initialized
[    1.431482] libata version 3.00 loaded.
[    1.431742] usbcore: registered new interface driver usbfs
[    1.431810] usbcore: registered new interface driver hub
[    1.431861] usbcore: registered new device driver usb
[    1.432183] pps_core: LinuxPPS API ver. 1 registered
[    1.432198] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.432230] PTP clock support registered
[    1.433959] clocksource: Switched to clocksource armada_370_xp_clocksource
[    1.480033] VFS: Disk quotas dquot_6.6.0
[    1.480116] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.501669] NET: Registered PF_INET protocol family
[    1.501871] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.503183] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    1.503237] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.503314] TCP bind hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.503380] TCP: Hash tables configured (established 8192 bind 8192)
[    1.503629] MPTCP token hash table entries: 1024 (order: 1, 12288 bytes, linear)
[    1.503702] UDP hash table entries: 512 (order: 1, 8192 bytes, linear)
[    1.503737] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes, linear)
[    1.503924] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.514441] RPC: Registered named UNIX socket transport module.
[    1.514464] RPC: Registered udp transport module.
[    1.514476] RPC: Registered tcp transport module.
[    1.514486] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.514503] PCI: CLS 0 bytes, default 64
[    1.514637] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.514832] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    1.515605] Trying to unpack rootfs image as initramfs...
[    2.782401] Freeing initrd memory: 10092K
[    3.220735] Initialise system trusted keyrings
[    3.220799] Key type blacklist registered
[    3.221930] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    3.222030] zbud: loaded
[    3.224217] NFS: Registering the id_resolver key type
[    3.224267] Key type id_resolver registered
[    3.224280] Key type id_legacy registered
[    3.224319] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.224340] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    3.224353] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    3.313777] xor: measuring software checksum speed
[    3.324170]    arm4regs        :   957 MB/sec
[    3.341222]    8regs           :   578 MB/sec
[    3.351866]    32regs          :   928 MB/sec
[    3.351881] xor: using function: arm4regs (957 MB/sec)
[    3.351899] async_tx: api initialized (async)
[    3.351917] Key type asymmetric registered
[    3.351929] Asymmetric key parser 'x509' registered
[    3.352216] bounce: pool size: 64 pages
[    3.352399] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    3.352488] io scheduler bfq registered
[    3.355450] armada-370-pinctrl d0018000.pin-ctrl: registered pinctrl driver
[    3.361905] debugfs: Directory 'd0018100.gpio' with parent 'regmap' already present!
[    3.363121] debugfs: Directory 'd0018140.gpio' with parent 'regmap' already present!
[    3.365333] mvebu-pcie soc:pcie@82000000: host bridge /soc/pcie@82000000 ranges:
[    3.365386] mvebu-pcie soc:pcie@82000000: Parsing ranges property...
[    3.365421] mvebu-pcie soc:pcie@82000000:      MEM 0x00d0040000..0x00d0041fff -> 0x0000040000
[    3.365461] mvebu-pcie soc:pcie@82000000:      MEM 0x00d0080000..0x00d0081fff -> 0x0000080000
[    3.365499] mvebu-pcie soc:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    3.365534] mvebu-pcie soc:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    3.365569] mvebu-pcie soc:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    3.365596] mvebu-pcie soc:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    3.365680] mvebu-pcie soc:pcie@82000000: /soc/pcie@82000000/pcie@1,0: reset gpio is active low
[    3.484347] mvebu-pcie soc:pcie@82000000: PCI host bridge to bus 0000:00
[    3.484381] pci_bus 0000:00: root bus resource [bus 00-ff]
[    3.484405] pci_bus 0000:00: root bus resource [mem 0xd0040000-0xd0041fff] (bus address [0x00040000-0x00041fff])
[    3.484426] pci_bus 0000:00: root bus resource [mem 0xd0080000-0xd0081fff] (bus address [0x00080000-0x00081fff])
[    3.484444] pci_bus 0000:00: root bus resource [mem 0xf8000000-0xffdfffff]
[    3.484461] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    3.484479] pci_bus 0000:00: scanning bus
[    3.484616] pci 0000:00:01.0: [11ab:6710] type 01 class 0x060400
[    3.484654] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]
[    3.486708] pci_bus 0000:00: fixups for bus
[    3.486730] PCI: bus0: Fast back to back transfers disabled
[    3.486753] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 0
[    3.486767] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.486791] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 1
[    3.487972] pci_bus 0000:01: scanning bus
[    3.488049] pci 0000:01:00.0: [1912:0015] type 00 class 0x0c0330
[    3.488097] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00001fff 64bit]
[    3.488262] pci 0000:01:00.0: PME# supported from D0 D3hot
[    3.488286] pci 0000:01:00.0: PME# disabled
[    3.488343] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    3.515425] pci_bus 0000:01: fixups for bus
[    3.515450] PCI: bus1: Fast back to back transfers disabled
[    3.515472] pci_bus 0000:01: bus scan returning with max=01
[    3.515485] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    3.515511] pci_bus 0000:00: bus scan returning with max=01
[    3.515574] pci 0000:00:01.0: BAR 14: assigned [mem 0xf8000000-0xf80fffff]
[    3.515598] pci 0000:00:01.0: BAR 6: assigned [mem 0xf8100000-0xf81007ff pref]
[    3.515623] pci 0000:01:00.0: BAR 0: assigned [mem 0xf8000000-0xf8001fff 64bit]
[    3.515652] pci 0000:00:01.0: PCI bridge to [bus 01]
[    3.515673] pci 0000:00:01.0:   bridge window [mem 0xf8000000-0xf80fffff]
[    3.515768] armada-370-pinctrl d0018000.pin-ctrl: unsupported function gpio on pin mpp59
[    3.515789] pinctrl core: failed to register map default (0): invalid type given
[    3.515821] pci 0000:00:01.0: device attach failed (-22)
[    3.515853] pci 0000:00:01.0: enabling device (0140 -> 0142)
[    3.515881] pci 0000:00:01.0: enabling bus mastering
[    3.515895] pci 0000:01:00.0: enabling device (0140 -> 0142)
[    8.515946] pci 0000:01:00.0: xHCI HW not ready after 5 sec (HC bug?) status = 0x801
[    8.515988] pci 0000:01:00.0: quirk_usb_early_handoff+0x0/0x77c took 4882954 usecs
[    8.517337] mv_xor d0060800.xor: Marvell shared XOR driver
[    8.575108] mv_xor d0060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.577941] mv_xor d0060900.xor: Marvell shared XOR driver
[    8.635097] mv_xor d0060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    8.869299] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    8.878166] printk: console [ttyS0] disabled
[    8.898727] d0012000.serial: ttyS0 at MMIO 0xd0012000 (irq = 19, base_baud = 12500000) is a 16550A
[   10.075146] printk: console [ttyS0] enabled
[   10.082330] sata_mv d00a0000.sata: version 1.28
[   10.082583] sata_mv d00a0000.sata: slots 32 ports 2
[   10.094819] scsi host0: sata_mv
[   10.100158] scsi host1: sata_mv
[   10.104946] ata1: SATA max UDMA/133 irq 26
[   10.109785] ata2: SATA max UDMA/133 irq 26
[   10.116736] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0xda
[   10.123841] nand: ESMT NAND 256MiB 3,3V 8-bit
[   10.130144] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[   10.139099] Bad block table found at page 131008, version 0x01
[   10.146377] Bad block table found at page 130944, version 0x01
[   10.153253] nand_read_bbt: bad block at 0x00000c8e0000
[   10.159238] 10 fixed-partitions partitions found on MTD device pxa3xx_nand-0
[   10.167069] Creating 10 MTD partitions on "pxa3xx_nand-0":
[   10.173290] 0x000000000000-0x000000200000 : "uboot"
[   10.179746] mtdblock: MTD device 'uboot' is NAND, please consider using UBI block devices instead.
[   10.191364] 0x000000200000-0x000000300000 : "certificate"
[   10.198827] mtdblock: MTD device 'certificate' is NAND, please consider using UBI block devices instead.
[   10.210994] 0x000000300000-0x000000400000 : "preset_cfg"
[   10.218494] mtdblock: MTD device 'preset_cfg' is NAND, please consider using UBI block devices instead.
[   10.230620] 0x000000400000-0x000000500000 : "dev_params"
[   10.238054] mtdblock: MTD device 'dev_params' is NAND, please consider using UBI block devices instead.
[   10.250191] 0x000000500000-0x000000600000 : "active_bank"
[   10.257721] mtdblock: MTD device 'active_bank' is NAND, please consider using UBI block devices instead.
[   10.269941] 0x000000600000-0x000000700000 : "magic"
[   10.276957] mtdblock: MTD device 'magic' is NAND, please consider using UBI block devices instead.
[   10.288695] 0x000000700000-0x000002f00000 : "bank1"
[   10.295867] mtdblock: MTD device 'bank1' is NAND, please consider using UBI block devices instead.
[   10.307618] 0x000002f00000-0x000005700000 : "bank2"
[   10.314792] mtdblock: MTD device 'bank2' is NAND, please consider using UBI block devices instead.
[   10.326488] 0x000005a00000-0x000007a00000 : "reserved"
[   10.333725] mtdblock: MTD device 'reserved' is NAND, please consider using UBI block devices instead.
[   10.345835] 0x000007a00000-0x000010000000 : "rootfs"
[   10.353299] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[   10.366193] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[   10.376678] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   10.389795] libphy: Fixed MDIO Bus: probed
[   10.402047] libphy: orion_mdio_bus: probed
[   10.428669] mvneta d0074000.ethernet eth0: Using random mac address c6:bd:2c:af:fb:e0
[   10.441868] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   10.450296] ehci-pci: EHCI PCI platform driver
[   10.455917] ehci-orion: EHCI orion driver
[   10.461859] usbcore: registered new interface driver usblp
[   10.468860] usbcore: registered new interface driver usb-storage
[   10.476628] mousedev: PS/2 mouse device common for all mice
[   10.485100] i2c_dev: i2c /dev entries driver
[   10.501564] rtc-s35390a 0-0030: registered as rtc0
[   10.508490] rtc-s35390a 0-0030: setting system clock to 2022-03-02T20:14:33 UTC (1646252073)
[   10.545378] orion_wdt: Initial timeout 206 sec
[   10.553024] device-mapper: uevent: version 1.0.3
[   10.559129] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[   10.569004] device-mapper: multipath round-robin: version 1.2.0 loaded
[   10.576462] device-mapper: multipath queue-length: version 0.2.0 loaded
[   10.583816] device-mapper: multipath service-time: version 0.3.0 loaded
[   10.591271] device-mapper: dm-log-userspace: version 1.3.0 loaded
[   10.598146] device-mapper: raid: Loading target version 1.15.1
[   10.614041] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   10.622446] marvell-cesa d0090000.crypto: CESA device successfully registered
[   10.631220] hid: raw HID events driver (C) Jiri Kosina
[   10.637442] ata1.00: ATA-8: ST1000DM010-2EP102, CC43, max UDMA/133
[   10.645342] ata1.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   10.653696] usbcore: registered new interface driver usbhid
[   10.661150] usbhid: USB HID core driver
[   10.666667] drop_monitor: Initializing network drop monitor service
[   10.673774] ata1.00: configured for UDMA/133
[   10.680064] NET: Registered PF_INET6 protocol family
[   10.686966] Segment Routing with IPv6
[   10.691808] scsi 0:0:0:0: Direct-Access     ATA      ST1000DM010-2EP1 CC43 PQ: 0 ANSI: 5
[   10.700747] RPL Segment Routing with IPv6
[   10.706388] In-situ OAM (IOAM) with IPv6
[   10.711130] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[   10.718512] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   10.728822] sd 0:0:0:0: [sda] 4096-byte physical blocks
[   10.736310] sd 0:0:0:0: [sda] Write Protect is off
[   10.741852] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   10.741865] sd 0:0:0:0: [sda] Asking for cache data failed
[   10.748689] NET: Registered PF_PACKET protocol family
[   10.755713] 8021q: 802.1Q VLAN Support v1.8
[   10.760684] Key type dns_resolver registered
[   10.765790] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   10.772826] ThumbEE CPU extension supported.
[   10.779812] Registering SWP/SWPB emulation handler
[   10.785693]  sda: sda1
[   10.789805] sd 0:0:0:0: [sda] Attached SCSI disk
[   10.796275] registered taskstats version 1
[   10.801122] Loading compiled-in X.509 certificates
[   10.807771] zswap: loaded using pool lzo/zbud
[   10.813141] Key type ._fscrypt registered
[   10.818001] Key type .fscrypt registered
[   10.822650] Key type fscrypt-provisioning registered
[   10.830546] Key type big_key registered
[   10.859526] Key type encrypted registered
[   10.867879] input: keys as /devices/platform/keys/input/input0
[   11.223994] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   11.235556] ata2.00: ATA-8: ST1000DM010-2EP102, CC43, max UDMA/133
[   11.242483] ata2.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   11.306294] ata2.00: configured for UDMA/133
[   11.321770] scsi 1:0:0:0: Direct-Access     ATA      ST1000DM010-2EP1 CC43 PQ: 0 ANSI: 5
[   11.331985] sd 1:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   11.342040] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[   11.348165] sd 1:0:0:0: [sdb] Write Protect is off
[   11.353694] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[   11.353707] sd 1:0:0:0: [sdb] Asking for cache data failed
[   11.360006] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[   11.385066] sd 1:0:0:0: [sdb] Attached SCSI disk
[   11.393366] Freeing unused kernel image (initmem) memory: 1024K
[   11.426136] Checked W+X mappings: passed, no W+X pages found
[   11.432552] Run /init as init process
[   11.436981]   with arguments:
[   11.436991]     /init
[   11.436999]   with environment:
[   11.437005]     HOME=/
[   11.437012]     TERM=linux
[   13.105804] xhci_hcd 0000:01:00.0: assign IRQ: got 44
[   13.106041] got firmware version: 2026.
[   14.633439] xhci_hcd 0000:01:00.0: enabling bus mastering
[   14.638144] xhci_hcd 0000:01:00.0: xHCI Host Controller
[   14.644208] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[   14.657888] xhci_hcd 0000:01:00.0: hcc params 0x014051cf hci version 0x100 quirks 0x0000001100000090
[   14.667863] xhci_hcd 0000:01:00.0: enabling Mem-Wr-Inval
[   14.668630] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[   14.677756] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   14.685793] usb usb1: Product: xHCI Host Controller
[   14.691456] usb usb1: Manufacturer: Linux 5.15.5-mvebu-370xp-tld-2 xhci-hcd
[   14.699223] usb usb1: SerialNumber: 0000:01:00.0
[   14.706914] hub 1-0:1.0: USB hub found
[   14.711514] hub 1-0:1.0: 2 ports detected
[   14.718611] xhci_hcd 0000:01:00.0: xHCI Host Controller
[   14.724708] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[   14.732922] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[   14.740118] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[   14.749341] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[   14.758442] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   14.766480] usb usb2: Product: xHCI Host Controller
[   14.772169] usb usb2: Manufacturer: Linux 5.15.5-mvebu-370xp-tld-2 xhci-hcd
[   14.779938] usb usb2: SerialNumber: 0000:01:00.0
[   14.787150] hub 2-0:1.0: USB hub found
[   14.791766] hub 2-0:1.0: 2 ports detected
[   15.164542] usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd
[   15.198173] usb 2-1: New USB device found, idVendor=0951, idProduct=1666, bcdDevice= 1.10
[   15.207129] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   15.215019] usb 2-1: Product: DataTraveler 3.0
[   15.220190] usb 2-1: Manufacturer: Kingston
[   15.225111] usb 2-1: SerialNumber: 60A44C413985E331091F01EA
[   15.242663] usb-storage 2-1:1.0: USB Mass Storage device detected
[   15.254820] scsi host2: usb-storage 2-1:1.0
[   15.263106] usbcore: registered new interface driver uas
[   16.325140] scsi 2:0:0:0: Direct-Access     Kingston DataTraveler 3.0 PMAP PQ: 0 ANSI: 6
[   16.338668] sd 2:0:0:0: [sdc] 30277632 512-byte logical blocks: (15.5 GB/14.4 GiB)
[   16.352313] sd 2:0:0:0: [sdc] Write Protect is off
[   16.357934] sd 2:0:0:0: [sdc] Mode Sense: 45 00 00 00
[   16.358197] sd 2:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   17.834227]  sdc: sdc1
[   17.844239] random: fast init done
[   17.854912] sd 2:0:0:0: [sdc] Attached SCSI removable disk
[   25.111344] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[   27.795845] pwm-beeper beeper: supply amp not found, using dummy regulator
[   27.803864] input: pwm-beeper as /devices/platform/beeper/input/input1
[   28.466115] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   28.533855] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   28.595388] sd 2:0:0:0: Attached scsi generic sg2 type 0
[   28.823162] random: crng init done
[   31.821931] EXT4-fs (sdc1): re-mounted. Opts: errors=remount-ro. Quota mode: none.
[   34.034947] mvneta d0074000.ethernet eth0: PHY [d0072004.mdio-mii:00] driver [Marvell 88E1318S] (irq=POLL)
[   34.051112] mvneta d0074000.ethernet eth0: configuring for phy/rgmii-id link mode
[   38.244712] mvneta d0074000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   38.253505] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   47.814614] Setting Persistent MAC address to 00:25:25:05:09:65
[   49.018580] mvneta d0074000.ethernet eth0: Link is Down
[   49.186940] mvneta d0074000.ethernet eth0: PHY [d0072004.mdio-mii:00] driver [Marvell 88E1318S] (irq=POLL)
[   49.197755] mvneta d0074000.ethernet eth0: configuring for phy/rgmii-id link mode
[   53.364560] mvneta d0074000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   53.373354] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
root@debian:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            495M     0  495M   0% /dev
tmpfs           100M  1.5M   99M   2% /run
/dev/sdc1        15G  1.4G   12G  11% /
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           200M     0  200M   0% /dev/shm
tmpfs           500M     0  500M   0% /tmp
root@debian:~#

There is still log issue with gpio perst, but everything works.
Thanks bohdi for help. I will adjust my tutorial.
Re: Ctera C200 V2 (Armada 370) Installation & Kernel Upgrade (Linux-5.10.7)
March 02, 2022 09:17PM
Thanks chkdsk88!

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

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: