How to upgrade F/W with jms561 under Raspberry Pi

Edit: Danger! Do not use at present. A user reported not recognizing the hard disk after the upgrade.

1.Download Jms561-fw-update.zip and unzip it.

wget https://wiki.radxa.com/mw/images/d/db/Jms561-fw-update.zip
unzip Jms561-fw-update.zip

2.Upgrade firmware, note that you need to connect to your hard drive.

cd jms561-fw-update/
sudo ./JMS561FwUpdate -b backup.bin -f jms561b_v8.1.3.6.bin -d /dev/sda
sudo ./JMS561FwUpdate -b backup.bin -f jms561b_v8.1.3.6.bin -d /dev/sdc

3.Reboot (Unplug the power) and check the version.

cd jms561-fw-update/
sudo ./JMS561FwUpdate -d /dev/sda -v
sudo ./JMS561FwUpdate -d /dev/sdb -v
sudo ./JMS561FwUpdate -d /dev/sdc -v
sudo ./JMS561FwUpdate -d /dev/sdd -v

v8.1.3.6 will be displayed.

The new firmware solves the problem that hard disk temperature cannot be detected.

Warning: Please umount your hard drive before upgrading. After upgrade, you have to system off safely and pull out power plug and then connect it again.

1 Like

Hi, I don’t have 4 drives plugged into the Sata hat… I only have 3 drives plugged in… will this still work?

1 Like

It doesn’t matter. It still works.

Just make sure each jms561 has a hard disk connection.

jms561-0-> sata1 & sata2, jms561-1-> sata3 & sata4.

Hi, thanks for the confirmation… with 3 drives, I’m sure each JMS561 has at least 1 hdd connected… will try it tonight and report back…

Thank you setq, that worked.

after running the script, my whole raid array failed…

edit: now /dev/sda spitting out errors…

edit2: in OMV, sda is keeps saying unable to open /dev/sda… and also getting usb reset errors…

Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; blockdev --getsize64 '/dev/sda' 2>&1' with exit code '1': blockdev: cannot open /dev/sda: No such file or directory

usb 2-2: reset SuperSpeed Gen 1 USB device number 7 using xhci_hcd

Did it reboot? What will lsusb and lsblk print?

lsusb output

Bus 002 Device 002: ID 1058:0a10 Western Digital Technologies, Inc.
Bus 002 Device 003: ID 1058:0a10 Western Digital Technologies, Inc.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lsblk output

NAME        MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda           8:0    0 931.5G  0 disk
sdb           8:16   0 931.5G  0 disk
sdc           8:32   0 931.5G  0 disk
mmcblk0     179:0    0  28.8G  0 disk
├─mmcblk0p1 179:1    0   256M  0 part  /boot
└─mmcblk0p2 179:2    0  28.6G  0 part  /

Hello, any updates? Please post dmesg.

it rebooted normally… just some corruption on the OLED…but rebooted just fine…

however, now i’m getting super slow speeds when creating raid array… 10mb/s as opposed to 100mb/s previously in the old firmware…

I tested the two firmware without significant speed difference.

There may be a bad connection. Please reinsert the connector.

edit: about the bad connection, the drives were never touched since they were first tightly installed into the quad sata hat… 1st test yielded sustained 100mb/s raid rebuild speeds over 2hrs… after f/w update, sustained 30-40mb/s raid rebuild speeds… drives have not been touched physically since installation… so bad connection quite unlikely, or it would have failed the 1st test…

edit2: dismantled and reconnected the device as per instruction…still getting the same bad raid building speed of 10mb/s to 25mb/s… the 3 HDD is seated on SATA 1,2,4…

posting dmesg:

> [   19.686309] usb 2-2: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
> [   19.717458] usb 2-2: New USB device found, idVendor=1058, idProduct=0a10, bcdDevice=81.36
> [   19.717466] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=5
> [   19.717471] usb 2-2: Product: JMS56x Series
> [   19.717477] usb 2-2: Manufacturer: JMicron
> [   19.717482] usb 2-2: SerialNumber: 1234567890123
> [   19.720407] usb 2-2: UAS is blacklisted for this device, using usb-storage instead
> [   19.720449] usb 2-2: UAS is blacklisted for this device, using usb-storage instead
> [   19.720455] usb-storage 2-2:1.0: USB Mass Storage device detected
> [   19.720719] usb-storage 2-2:1.0: Quirks match for vid 1058 pid 0a10: 800000
> [   19.720775] scsi host0: usb-storage 2-2:1.0
> [   20.796490] scsi 0:0:0:0: Direct-Access     WDC WD10 SPZX-22Z10T1     8136 PQ: 0 ANSI: 6
> [   20.797028] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
> [   20.797619] sd 0:0:0:0: [sda] Write Protect is off
> [   20.797625] sd 0:0:0:0: [sda] Mode Sense: 47 00 10 08
> [   20.797875] scsi 0:0:0:1: Direct-Access     WDC WD10 SPZX-22Z10T1     8136 PQ: 0 ANSI: 6
> [   20.798379] sd 0:0:0:1: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
> [   20.798987] sd 0:0:0:0: [sda] No Caching mode page found
> [   20.798996] sd 0:0:0:0: [sda] Assuming drive cache: write through
> [   20.799964] sd 0:0:0:1: [sdb] Write Protect is off
> [   20.799973] sd 0:0:0:1: [sdb] Mode Sense: 47 00 10 08
> [   20.800594] sd 0:0:0:1: [sdb] No Caching mode page found
> [   20.800601] sd 0:0:0:1: [sdb] Assuming drive cache: write through
> [   20.809715] sd 0:0:0:0: Attached scsi generic sg0 type 0
> [   20.809829] sd 0:0:0:1: Attached scsi generic sg1 type 0
> [   20.998402] sd 0:0:0:0: [sda] Attached SCSI disk
> [   20.999006] sd 0:0:0:1: [sdb] Attached SCSI disk
> [   21.186563] usb 2-2: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd
> [   24.896580] usb 2-1: new SuperSpeed Gen 1 USB device number 3 using xhci_hcd
> [   24.937563] usb 2-1: New USB device found, idVendor=1058, idProduct=0a10, bcdDevice=81.36
> [   24.937570] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=5
> [   24.937575] usb 2-1: Product: JMS56x Series
> [   24.937580] usb 2-1: Manufacturer: JMicron
> [   24.937585] usb 2-1: SerialNumber: 1234567890123
> [   24.940086] usb 2-1: UAS is blacklisted for this device, using usb-storage instead
> [   24.940125] usb 2-1: UAS is blacklisted for this device, using usb-storage instead
> [   24.940132] usb-storage 2-1:1.0: USB Mass Storage device detected
> [   24.940272] usb-storage 2-1:1.0: Quirks match for vid 1058 pid 0a10: 800000
> [   24.940320] scsi host1: usb-storage 2-1:1.0
> [   25.996702] scsi 1:0:0:0: Direct-Access     WDC WD10 SPZX-22Z10T1     8136 PQ: 0 ANSI: 6
> [   25.997240] sd 1:0:0:0: Attached scsi generic sg2 type 0
> [   25.997502] sd 1:0:0:0: [sdc] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
> [   25.998217] sd 1:0:0:0: [sdc] Write Protect is off
> [   25.998225] sd 1:0:0:0: [sdc] Mode Sense: 47 00 10 08
> [   25.998921] sd 1:0:0:0: [sdc] No Caching mode page found
> [   25.998928] sd 1:0:0:0: [sdc] Assuming drive cache: write through
> [   26.099980] sd 1:0:0:0: [sdc] Attached SCSI disk
> [   26.276811] usb 2-1: reset SuperSpeed Gen 1 USB device number 3 using xhci_hcd

Hi,
After only installer 2 disks, unmount them, make update, version is correctly displayed :+1:

After shutdown my Raspberry PI and his SATA HAT for night, I’ve tried to restart : stuck : NO MORE disks visible !

I’ve wiped my sdcard to have fresh system, installed raspbian lite + OVM + HAT SATA bin + JMicron drive fix : still no disk detected (but blues lights blinking).
I’ve stop system, wipe one more time, change 2 previously disks for 2 news disks without the update : fail still no disk detected

ls -l /sys/block

root@R2D2:/home/pi# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mmcblk0 179:0 0 29.7G 0 disk
├─mmcblk0p1 179:1 0 256M 0 part /boot
└─mmcblk0p2 179:2 0 29.5G 0 part /
root@R2D2:/home/pi# sudo blkid -o list -w /dev/null
device fs_type label mount point UUID

/dev/mmcblk0p1 vfat boot /boot 592B-C92C
/dev/mmcblk0p2 ext4 rootfs / 706944a6-7d0f-4a45-9f8c-7fb07375e9f7
/dev/mmcblk0 (in use)

root@R2D2:/home/pi# sudo blkid -o list -w /dev/null
device fs_type label mount point UUID

/dev/mmcblk0p1 vfat boot /boot 592B-C92C
/dev/mmcblk0p2 ext4 rootfs / 706944a6-7d0f-4a45-9f8c-7fb07375e9f7
/dev/mmcblk0 (in use)

fdisk -l
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 8192 532479 524288 256M c W95 FAT32 (LBA)
/dev/mmcblk0p2 532480 62333951 61801472 29.5G 83 Linux

I’m bored :frowning: and lost.

I’m sorry to hear that. What else have you done besides firmware update? Can you provide dmesg?

I used more than five boards to test the new firmware and found no problems during the test.

Nothing, Only shutdown Raspbian PI by OVM GUI for night, And replug later to discoved this issue.

After fresh wipe/installation with 1 disk only (port 4) not upgraded disk that previously working… (I’ve also tried with upgrade disk)

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.118-v7l+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1311 SMP Mon Apr 27 14:26:42 BST 2020
[    0.000000] CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.1
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 256 MiB at 0x000000001ec00000
[    0.000000] On node 0 totalpages: 1025536
[    0.000000]   DMA zone: 1728 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 196608 pages, LIFO batch:63
[    0.000000]   HighMem zone: 828928 pages, LIFO batch:63
[    0.000000] random: get_random_bytes called from start_kernel+0xc0/0x4e8 with crng_init=0
[    0.000000] percpu: Embedded 17 pages/cpu s36928 r8192 d24512 u69632
[    0.000000] pcpu-alloc: s36928 r8192 d24512 u69632 alloc=17*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1023808
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 cma=64M snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 cma=256M  smsc95xx.macaddr=DC:A6:32:51:E1:E0 vc_mem.mem_base=0x3f000000 vc_mem.mem_size=0x3f600000  console=ttyS0,115200 console=tty1 root=PARTUUID=50b2c73f-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 3786284K/4102144K available (8192K kernel code, 690K rwdata, 2420K rodata, 2048K init, 860K bss, 53716K reserved, 262144K cma-reserved, 3315712K highmem)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                   lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                     .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)
                     .init : 0x(ptrval) - 0x(ptrval)   (2048 kB)
                     .data : 0x(ptrval) - 0x(ptrval)   ( 691 kB)
                      .bss : 0x(ptrval) - 0x(ptrval)   ( 861 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 28928 entries in 85 pages
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000005] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000022] Switching to timer-based delay loop, resolution 18ns
[    0.000254] Console: colour dummy device 80x30
[    0.000718] console [tty1] enabled
[    0.000772] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=540000)
[    0.000808] pid_max: default: 32768 minimum: 301
[    0.001089] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001121] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001886] CPU: Testing write buffer coherency: ok
[    0.002309] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002960] Setting up static identity map for 0x200000 - 0x20003c
[    0.003133] rcu: Hierarchical SRCU implementation.
[    0.004004] smp: Bringing up secondary CPUs ...
[    0.004828] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.005754] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.006632] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.006751] smp: Brought up 1 node, 4 CPUs
[    0.006816] SMP: Total of 4 processors activated (432.00 BogoMIPS).
[    0.006839] CPU: All CPU(s) started in HYP mode.
[    0.006859] CPU: Virtualization extensions available.
[    0.007669] devtmpfs: initialized
[    0.018311] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0
[    0.018534] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.018575] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.025952] pinctrl core: initialized pinctrl subsystem
[    0.026839] NET: Registered protocol family 16
[    0.029831] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.031352] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.031383] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.031585] Serial: AMBA PL011 UART driver
[    0.034825] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.050020] raspberrypi-firmware soc:firmware: Attached to firmware from 2020-06-01 13:23, variant start_cd
[    0.060037] raspberrypi-firmware soc:firmware: Firmware hash is 6379679d1ec6a8c746d7e77e015f5b56b939976f
[    0.102826] bcm2835-dma fe007000.dma: DMA legacy API manager at (ptrval), dmachans=0x1
[    0.105957] vgaarb: loaded
[    0.106329] SCSI subsystem initialized
[    0.106540] usbcore: registered new interface driver usbfs
[    0.106607] usbcore: registered new interface driver hub
[    0.106689] usbcore: registered new device driver usb
[    0.108035] clocksource: Switched to clocksource arch_sys_counter
[    0.186052] VFS: Disk quotas dquot_6.6.0
[    0.186155] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.186344] FS-Cache: Loaded
[    0.186535] CacheFiles: Loaded
[    0.187059] simple-framebuffer: probe of 0.framebuffer failed with error -12
[    0.196226] NET: Registered protocol family 2
[    0.196889] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.196935] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.197017] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.197101] TCP: Hash tables configured (established 8192 bind 8192)
[    0.197237] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.197281] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.197500] NET: Registered protocol family 1
[    0.198109] RPC: Registered named UNIX socket transport module.
[    0.198135] RPC: Registered udp transport module.
[    0.198157] RPC: Registered tcp transport module.
[    0.198178] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.198206] PCI: CLS 0 bytes, default 64
[    0.199995] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[    0.202134] Initialise system trusted keyrings
[    0.202334] workingset: timestamp_bits=14 max_order=20 bucket_order=6
[    0.211354] FS-Cache: Netfs 'nfs' registered for caching
[    0.211892] NFS: Registering the id_resolver key type
[    0.211934] Key type id_resolver registered
[    0.211956] Key type id_legacy registered
[    0.211987] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.216529] Key type asymmetric registered
[    0.216556] Asymmetric key parser 'x509' registered
[    0.216679] bounce: pool size: 64 pages
[    0.216734] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.216919] io scheduler noop registered
[    0.216943] io scheduler deadline registered (default)
[    0.217116] io scheduler cfq registered
[    0.217139] io scheduler mq-deadline registered (default)
[    0.217162] io scheduler kyber registered
[    0.247831] brcm-pcie fd500000.pcie: dmabounce: initialised - 32768 kB, threshold 0x00000000c0000000
[    0.247876] brcm-pcie fd500000.pcie: could not get clock
[    0.247950] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    0.248002] brcm-pcie fd500000.pcie:   MEM 0x600000000..0x603ffffff -> 0xf8000000
[    0.308065] brcm-pcie fd500000.pcie: link up, 5.0 Gbps x1 (!SSC)
[    0.308377] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    0.308408] pci_bus 0000:00: root bus resource [bus 00-01]
[    0.308439] pci_bus 0000:00: root bus resource [mem 0x600000000-0x603ffffff] (bus address [0xf8000000-0xfbffffff])
[    0.308502] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[    0.308639] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.311401] PCI: bus0: Fast back to back transfers disabled
[    0.311433] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.311656] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[    0.311780] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    0.312097] pci 0000:01:00.0: PME# supported from D0 D3cold
[    0.314857] PCI: bus1: Fast back to back transfers disabled
[    0.314887] pci_bus 0000:01: busn_res: [bus 01] end is updated to 01
[    0.314933] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[    0.314967] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[    0.315056] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.315086] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
[    0.315308] pcieport 0000:00:00.0: enabling device (0140 -> 0142)
[    0.315498] pcieport 0000:00:00.0: Signaling PME with IRQ 53
[    0.315677] pcieport 0000:00:00.0: AER enabled with IRQ 53
[    0.315862] pci 0000:01:00.0: enabling device (0140 -> 0142)
[    0.319969] iproc-rng200 fe104000.rng: hwrng registered
[    0.320203] vc-mem: phys_addr:0x00000000 mem_base=0x3f000000 mem_size:0x3f600000(1014 MiB)
[    0.320715] vc-sm: Videocore shared memory driver
[    0.321127] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[    0.331266] brd: module loaded
[    0.340870] loop: module loaded
[    0.341634] Loading iSCSI transport class v2.0-870.
[    0.343342] libphy: Fixed MDIO Bus: probed
[    0.343774] bcmgenet fd580000.genet: failed to get enet clock
[    0.343804] bcmgenet fd580000.genet: GENET 5.0 EPHY: 0x0000
[    0.343834] bcmgenet fd580000.genet: failed to get enet-wol clock
[    0.343864] bcmgenet fd580000.genet: failed to get enet-eee clock
[    0.343901] bcmgenet: Skipping UMAC reset
[    0.344155] unimac-mdio unimac-mdio.-19: DMA mask not set
[    0.358063] libphy: bcmgenet MII bus: probed
[    0.398547] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus at 0x(ptrval)
[    0.399467] usbcore: registered new interface driver r8152
[    0.399548] usbcore: registered new interface driver lan78xx
[    0.399616] usbcore: registered new interface driver smsc95xx
[    0.399927] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.399972] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    0.402204] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000001000000890
[    0.402541] genirq: irq_chip Brcm_MSI did not update eff. affinity mask of irq 54
[    0.403423] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    0.403457] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.403487] usb usb1: Product: xHCI Host Controller
[    0.403510] usb usb1: Manufacturer: Linux 4.19.118-v7l+ xhci-hcd
[    0.403535] usb usb1: SerialNumber: 0000:01:00.0
[    0.404065] hub 1-0:1.0: USB hub found
[    0.404157] hub 1-0:1.0: 1 port detected
[    0.404637] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.404673] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    0.404718] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    0.405138] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[    0.405170] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.405199] usb usb2: Product: xHCI Host Controller
[    0.405222] usb usb2: Manufacturer: Linux 4.19.118-v7l+ xhci-hcd
[    0.405246] usb usb2: SerialNumber: 0000:01:00.0
[    0.405749] hub 2-0:1.0: USB hub found
[    0.405816] hub 2-0:1.0: 4 ports detected
[    0.407033] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.407242] dwc_otg: FIQ enabled
[    0.407251] dwc_otg: NAK holdoff enabled
[    0.407259] dwc_otg: FIQ split-transaction FSM enabled
[    0.407272] Module dwc_common_port init
[    0.407494] usbcore: registered new interface driver uas
[    0.407603] usbcore: registered new interface driver usb-storage
[    0.407793] mousedev: PS/2 mouse device common for all mice
[    0.409023] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    0.410653] sdhci: Secure Digital Host Controller Interface driver
[    0.410678] sdhci: Copyright(c) Pierre Ossman
[    0.411087] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[    0.411499] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.414535] ledtrig-cpu: registered to indicate activity on CPUs
[    0.414695] hidraw: raw HID events driver (C) Jiri Kosina
[    0.414830] usbcore: registered new interface driver usbhid
[    0.414853] usbhid: USB HID core driver
[    0.415638] vchiq: vchiq_init_state: slot_zero = (ptrval), is_master = 0
[    0.417273] [vc_sm_connected_init]: start
[    0.421686] vc_vchi_sm_init: failed to open VCHI service (-1)
[    0.421692] [vc_sm_connected_init]: failed to initialize shared memory service
[    0.421738] [vc_sm_connected_init]: end - returning -1
[    0.422892] Initializing XFRM netlink socket
[    0.422941] NET: Registered protocol family 17
[    0.423042] Key type dns_resolver registered
[    0.423428] Registering SWP/SWPB emulation handler
[    0.424009] registered taskstats version 1
[    0.424040] Loading compiled-in X.509 certificates
[    0.431014] uart-pl011 fe201000.serial: cts_event_workaround enabled
[    0.431097] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 34, base_baud = 0) is a PL011 rev2
[    0.436140] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    0.436673] brcmstb_thermal fd5d2200.thermal: registered AVS TMON of-sensor driver
[    0.437333] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    0.437360] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[    0.461200] sdhci-iproc fe340000.emmc2: Linked as a consumer to regulator.3
[    0.461296] sdhci-iproc fe340000.emmc2: Linked as a consumer to regulator.4
[    0.480583] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    0.482191] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.483804] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.486761] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    0.488393] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.497382] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA
[    0.499743] of_cfs_init
[    0.499931] of_cfs_init: OK
[    0.500589] Waiting for root device PARTUUID=50b2c73f-02...
[    0.542164] random: fast init done
[    0.553826] mmc1: new high speed SDIO card at address 0001
[    0.600601] mmc0: new ultra high speed DDR50 SDHC card at address aaaa
[    0.601734] mmcblk0: mmc0:aaaa SM32G 29.7 GiB
[    0.603049]  mmcblk0: p1 p2
[    0.628449] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    0.628519] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    0.633301] devtmpfs: mounted
[    0.640583] Freeing unused kernel memory: 2048K
[    0.678288] Run /sbin/init as init process
[    0.768080] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    0.960735] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[    0.960778] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    0.960805] usb 1-1: Product: USB2.0 Hub
[    0.962619] hub 1-1:1.0: USB hub found
[    0.962967] hub 1-1:1.0: 4 ports detected
[    1.075980] systemd[1]: System time before build time, advancing clock.
[    1.171958] NET: Registered protocol family 10
[    1.173177] Segment Routing with IPv6
[    1.207033] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    1.207756] systemd[1]: Detected architecture arm.
[    1.218481] systemd[1]: Set hostname to <R2D2>.
[    1.587906] random: lvmconfig: uninitialized urandom read (4 bytes read)
[    2.163907] systemd[1]: /lib/systemd/system/rpc-statd.service:13: PIDFile= references path below legacy directory /var/run/, updating /var/run/rpc.statd.pid → /run/rpc.statd.pid; please update the unit file accordingly.
[    2.209285] random: systemd: uninitialized urandom read (16 bytes read)
[    2.228230] random: systemd: uninitialized urandom read (16 bytes read)
[    2.233699] systemd[1]: Created slice system-getty.slice.
[    2.235583] systemd[1]: Created slice User and Session Slice.
[    2.236649] systemd[1]: Listening on udev Control Socket.
[    2.256839] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[    2.257499] systemd[1]: Listening on fsck to fsckd communication Socket.
[    2.258005] systemd[1]: Reached target System Time Synchronized.
[    2.558847] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    2.991041] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    3.079280] systemd-journald[131]: Received request to flush runtime journal from PID 1
[    3.649835] Driver for 1-wire Dallas network protocol.
[    3.655134] rpivid-mem feb00000.hevc-decoder: rpivid-hevcmem initialised: Registers at 0xfeb00000 length 0x0000ffff
[    3.655615] rpivid-mem feb10000.rpivid-local-intc: rpivid-intcmem initialised: Registers at 0xfeb10000 length 0x00000fff
[    3.656094] rpivid-mem feb20000.h264-decoder: rpivid-h264mem initialised: Registers at 0xfeb20000 length 0x0000ffff
[    3.660028] gpio-4 (onewire@0): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[    3.664105] rpivid-mem feb30000.vp9-decoder: rpivid-vp9mem initialised: Registers at 0xfeb30000 length 0x0000ffff
[    3.711849] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[    3.713984] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[    3.713999] [vc_sm_connected_init]: start
[    3.714172] vc_sm_cma_vchi_init: failed to open VCHI service (-1)
[    3.714178] [vc_sm_connected_init]: failed to initialize shared memory service
[    3.720559] media: Linux media interface: v0.10
[    3.742886] videodev: Linux video capture interface: v2.00
[    3.781613] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    3.802109] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[    3.806694] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[    3.833326] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    3.848263] bcm2835_mmal_vchiq: Failed to open VCHI service connection (status=-1)
[    3.864268] bcm2835_mmal_vchiq: Failed to open VCHI service connection (status=-1)
[    3.921852] bcm2835_audio soc:audio: card created with 8 channels
[    4.024661] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
[    4.034354] [drm] No displays found. Consider forcing hotplug if HDMI is attached
[    4.034448] vc4-drm soc:gpu: bound fe600000.firmwarekms (ops vc4_fkms_ops [vc4])
[    4.049688] bcmgenet: Skipping UMAC reset
[    4.051865] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 1
[    4.051878] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    4.051888] [drm] No driver support for vblank timestamp query.
[    4.051898] [drm] Setting vblank_disable_immediate to false because get_vblank_timestamp == NULL
[    4.149232] bcmgenet fd580000.genet: configuring instance for external RGMII (no delay)
[    4.149527] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    4.150032] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    4.206812] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    4.285523] brcmfmac: F1 signature read @0x18000000=0x15264345
[    4.298475] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    4.299221] usbcore: registered new interface driver brcmfmac
[    4.561792] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    4.575065] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Mar  2 2020 23:30:41 version 7.45.202 (r724630 CY) FWID 01-72f6ece2
[    5.208270] bcmgenet fd580000.genet eth0: Link is Down
[    7.972647] uart-pl011 fe201000.serial: no DMA platform data
[    8.270842] Adding 102396k swap on /var/swap.  Priority:-2 extents:1 across:102396k SSFS
[    8.748498] NFSD: starting 90-second grace period (net f0000041)
[    8.938655] random: crng init done
[    8.938670] random: 7 urandom warning(s) missed due to ratelimiting
[    9.368174] bcmgenet fd580000.genet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    9.368194] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    9.596086] i2c /dev entries driver
[   14.759902] Bluetooth: Core ver 2.22
[   14.759989] NET: Registered protocol family 31
[   14.759999] Bluetooth: HCI device and connection manager initialized
[   14.762558] Bluetooth: HCI socket layer initialized
[   14.762580] Bluetooth: L2CAP socket layer initialized
[   14.762629] Bluetooth: SCO socket layer initialized
[   14.775561] Bluetooth: HCI UART driver ver 2.3
[   14.775568] Bluetooth: HCI UART protocol H4 registered
[   14.775606] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   14.775717] Bluetooth: HCI UART protocol Broadcom registered
[   14.904157] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   14.904163] Bluetooth: BNEP filters: protocol multicast
[   14.904172] Bluetooth: BNEP socket layer initialized

Have you installed rockpi-sata? And please replug the USB bridge.

1 Like

After 4 more format/install process, all hard drives are now visible with good serial and temp displayed under OVM (before this update, only 2). I hope final installation will be stable and I can finish parameter OVM/functionnalité to have NAS.

Hi,

Is this firmware upgrade safe or not?

From my POV add support for many disks. On my 4 disks (all WD), 2 before patch didn’t show any informations under OVM disks/SMART tabs. After patch : 4 disks returns datas and temp.