Buffalo Terastation Pro TS-H4.0TGL/R5, howto install arch?

This forum is for all other ARMv5 devices

Buffalo Terastation Pro TS-H4.0TGL/R5, howto install arch?

Postby cedric1337 » Wed Dec 09, 2020 2:48 pm

Hi all,

I have been given a uffalo Terastation Pro TS-HTGL/R5 series TS-H4.0TGL/R5. I've installed Debian on it, but I would like to install archlinux arm on it.

dmesg seem to indicate this is a Feroceon core, this page suggests it's a Marvell Orion SOC:
https://www.kernel.org/doc/html/latest/arm/marvel.html
Code: Select all
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.12.13 (jeremy@earth) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #4 Tue Nov 3 14:18:55 CST 2020
[    0.000000] CPU: Feroceon [41069260] revision 0 (ARMv5TEJ), cr=0005317f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Buffalo Terastation Pro II/Live
[    0.000000] Clearing invalid memory bank 0KB@0xffffffff
[    0.000000] Clearing invalid memory bank 0KB@0xffffffff
[    0.000000] Clearing invalid memory bank 0KB@0xffffffff
[    0.000000] Ignoring unrecognised tag 0x00000000
[    0.000000] Ignoring unrecognised tag 0x00000000
[    0.000000] Ignoring unrecognised tag 0x00000000
[    0.000000] Ignoring unrecognised tag 0x41000403
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat c0598e3c, node_mem_map c7ef9000
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda2 rw initrd=0x00800040,15M panic=5 BOOTVER=1.19
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 108492K/131072K available (3802K kernel code, 336K rwdata, 1156K rodata, 320K init, 248K bss, 22580K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
                   lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                     .text : 0xc0008000 - 0xc03beb90   (3803 kB)
                     .init : 0xc0502000 - 0xc0552000   ( 320 kB)
                     .data : 0xc0552000 - 0xc05a6180   ( 337 kB)
                      .bss : 0xc05a9b7c - 0xc05e7ea8   ( 249 kB)
[    0.000000] ftrace: allocating 18101 entries in 36 pages
[    0.000000] NR_IRQS:16 nr_irqs:65 65
[    0.000000] Switching to timer-based delay loop, resolution 6ns
[    0.000014] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884901885ns
[    4.842428] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11467562657 ns
[    4.843184] Console: colour dummy device 80x30
[    4.843225] Calibrating delay loop (skipped), value calculated using timer frequency.. 333.33 BogoMIPS (lpj=666666)
[    4.843260] pid_max: default: 32768 minimum: 301
[    4.843525] Security Framework initialized
[    4.843549] Yama: disabled by default; enable with sysctl kernel.yama.*
[    4.843785] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    4.843810] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    4.845075] CPU: Testing write buffer coherency: ok
[    4.846140] Setting up static identity map for 0x8200 - 0x823c
[    4.849341] devtmpfs: initialized
[    4.850946] VFP support v0.3: implementor 41 architecture 1 part 10 variant 9 rev 0
[    4.851181] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    4.851213] futex hash table entries: 256 (order: -1, 3072 bytes)
[    4.851648] pinctrl core: initialized pinctrl subsystem
[    4.853291] NET: Registered protocol family 16
[    4.853939] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    4.857915] cpuidle: using governor ladder
[    4.857938] cpuidle: using governor menu
[    4.858055] Orion ID: MV88F5281-D0. TCLK=166666667.
[    4.858122] Orion: Applying 5281 D0 WFI workaround.
[    4.858229] initial MPP regs:
[    4.858240]  44440000
[    4.858247]  00000000
[    4.858264]  00000000

[    4.858306]   final MPP regs:
[    4.858314]  44440000
[    4.858322]  00000000
[    4.858337]  00000000

[    4.859794] PCI host bridge to bus 0000:00
[    4.859835] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    4.859866] pci_bus 0000:00: root bus resource [io  0x1000-0xffff]
[    4.859895] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    4.859954] pci 0000:00:00.0: [11ab:5281] type 00 class 0x058000
[    4.859997] pci 0000:00:00.0: reg 0x10: [mem 0xf1000000-0xf10fffff 64bit pref]
[    4.860024] pci 0000:00:00.0: reg 0x18: [mem 0x00000000-0x07ffffff]
[    4.860374] PCI: bus0: Fast back to back transfers disabled
[    4.860409] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    4.860649] PCI host bridge to bus 0001:01
[    4.860690] pci_bus 0001:01: root bus resource [mem 0xe8000000-0xefffffff]
[    4.860720] pci_bus 0001:01: root bus resource [io  0x10000-0x1ffff]
[    4.860749] pci_bus 0001:01: No busn resource found for root bus, will use [bus 01-ff]
[    4.860817] pci 0001:01:00.0: [11ab:5281] type 00 class 0x058000
[    4.860865] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x07ffffff 64bit pref]
[    4.860897] pci 0001:01:00.0: reg 0x18: [mem 0x10000000-0x1fffffff 64bit pref]
[    4.860929] pci 0001:01:00.0: reg 0x20: [mem 0xf1000000-0xf10fffff 64bit]
[    4.860958] pci 0001:01:00.0: reg 0x30: [mem 0xe0000000-0xe7ffffff pref]
[    4.861029] pci 0001:01:00.0: supports D1 D2
[    4.861046] pci 0001:01:00.0: PME# supported from D0 D1 D2 D3hot
[    4.861331] pci 0001:01:07.0: [11ab:6042] type 00 class 0x010000
[    4.861381] pci 0001:01:07.0: reg 0x10: [mem 0x40000000-0x400fffff 64bit]
[    4.861410] pci 0001:01:07.0: reg 0x18: [io  0xf0100000-0xf01000ff]
[    4.861767] PCI: bus1: Fast back to back transfers enabled
[    4.861803] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
[    4.861866] pci 0001:01:07.0: BAR 0: assigned [mem 0xe8000000-0xe80fffff 64bit]
[    4.861909] pci 0001:01:07.0: BAR 2: assigned [io  0x10000-0x100ff]
[    4.869954] clocksource: Switched to clocksource orion_clocksource
[    4.917049] VFS: Disk quotas dquot_6.6.0
[    4.917173] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    4.931987] NET: Registered protocol family 2
[    4.933383] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    4.933430] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    4.933470] TCP: Hash tables configured (established 1024 bind 1024)
[    4.933607] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    4.933659] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    4.934035] NET: Registered protocol family 1
[    4.934142] PCI: CLS 32 bytes, default 32
[    4.934552] Unpacking initramfs...
[    5.865987] random: fast init done
[    5.898411] Initramfs unpacking failed: junk in compressed archive
[    5.977608] Freeing initrd memory: 15364K
[    5.978712] audit: initializing netlink subsys (disabled)
[    5.979505] audit: type=2000 audit(1.133:1): state=initialized audit_enabled=0 res=1
[    5.979587] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    5.979763] zbud: loaded
[   14.596774] Key type asymmetric registered
[   14.596800] Asymmetric key parser 'x509' registered
[   14.596895] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[   14.597170] io scheduler noop registered
[   14.597310] io scheduler cfq registered (default)
[   14.598606] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[   14.600181] console [ttyS0] disabled
[   14.620365] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 4, base_baud = 10416666) is a 16550A
[   15.185042] console [ttyS0] enabled
[   15.209423] serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 5, base_baud = 10416666) is a 16550A
[   15.219315] libphy: Fixed MDIO Bus: probed
[   15.223871] i2c /dev entries driver
[   15.231254] rtc-rs5c372 0-0032: rs5c372a found, 24hr
[   15.240887] rtc rtc0: invalid alarm value: 2020-12-9 45:84:0
[   15.246871] rtc-rs5c372 0-0032: rtc core: registered rtc-rs5c372 as rtc0
[   15.254163] ledtrig-cpu: registered to indicate activity on CPUs
[   15.261810] registered taskstats version 1
[   15.266067] zswap: loaded using pool lzo/zbud
[   15.272655] rtc-rs5c372 0-0032: setting system clock to 2020-12-09 13:53:28 UTC (1607522008)
[   15.287191] Freeing unused kernel memory: 320K
[   15.291656] This architecture does not have kernel memory protection.
[   16.103190] SCSI subsystem initialized
[   16.209793] libata version 3.00 loaded.
[   16.213261] sata_mv 0001:01:07.0: version 1.28
[   16.213654] sata_mv 0001:01:07.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
[   16.345935] scsi host0: sata_mv
[   16.359573] scsi host1: sata_mv
[   16.386106] scsi host2: sata_mv
[   16.398897] scsi host3: sata_mv
[   16.415081] ata1: SATA max UDMA/133 mmio m1048576@0xe8000000 port 0xe8022000 irq 44
[   16.422777] ata2: SATA max UDMA/133 mmio m1048576@0xe8000000 port 0xe8024000 irq 44
[   16.430442] ata3: SATA max UDMA/133 mmio m1048576@0xe8000000 port 0xe8026000 irq 44
[   16.438104] ata4: SATA max UDMA/133 mmio m1048576@0xe8000000 port 0xe8028000 irq 44
[   16.918028] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   16.966067] ata1.00: ATA-8: ST3160318AS, CC44, max UDMA/133
[   16.971664] ata1.00: 312500000 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   17.042085] ata1.00: configured for UDMA/133
[   17.047134] scsi 0:0:0:0: Direct-Access     ATA      ST3160318AS      CC44 PQ: 0 ANSI: 5
[   17.530024] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   17.558071] ata2.00: ATA-7: WDC WD800AAJS-22PSA0, 05.06H05, max UDMA/133
[   17.564790] ata2.00: 156301488 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   17.576449] ata2.00: configured for UDMA/133
[   17.581461] scsi 1:0:0:0: Direct-Access     ATA      WDC WD800AAJS-22 6H05 PQ: 0 ANSI: 5
[   17.908755] ata3: SATA link down (SStatus 0 SControl 300)
[   18.228741] ata4: SATA link down (SStatus 0 SControl 300)
[   18.333685] sd 0:0:0:0: [sda] 312500000 512-byte logical blocks: (160 GB/149 GiB)
[   18.343129] sd 1:0:0:0: [sdb] 156301488 512-byte logical blocks: (80.0 GB/74.5 GiB)
[   18.353496] sd 0:0:0:0: [sda] Write Protect is off
[   18.358346] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   18.358510] sd 1:0:0:0: [sdb] Write Protect is off
[   18.363347] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[   18.363617] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   18.372930] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   18.421648]  sda: sda1 sda2 sda3 sda4
[   18.434117] sd 0:0:0:0: [sda] Attached SCSI disk
[   18.439996] GPT:Primary header thinks Alt. header is not at the end of the disk.
[   18.447429] GPT:156301484 != 156301487
[   18.451197] GPT:Alternate GPT header not at the end of the disk.
[   18.457212] GPT:156301484 != 156301487
[   18.460977] GPT: Use GNU Parted to correct GPT errors.
[   18.466257]  sdb:
[   18.471757] sd 1:0:0:0: [sdb] Attached SCSI disk
[   19.931785] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
[   20.527783] random: crng init done
[   21.404564] systemd[1]: Inserted module 'autofs4'
[   21.477735] NET: Registered protocol family 10
[   21.483719] Segment Routing with IPv6
[   21.510196] ip_tables: (C) 2000-2006 Netfilter Core Team
[   21.538146] cgroup: cgroup2: unknown option "nsdelegate"
[   21.603973] 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)
[   21.626199] systemd[1]: Detected architecture arm.
[   21.676792] systemd[1]: Set hostname to <debian>.
[   23.903312] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[   23.920398] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[   24.750318] systemd[1]: /lib/systemd/system/smbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/smbd.pid → /run/samba/smbd.pid; please update the unit file accordingly.
[   24.780054] systemd[1]: /lib/systemd/system/nmbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/nmbd.pid → /run/samba/nmbd.pid; please update the unit file accordingly.
[   24.831552] systemd[1]: /etc/systemd/system/micon_boot.service:5: Unknown lvalue 'Restart' in section 'Unit', ignoring
[   24.842417] systemd[1]: /etc/systemd/system/micon_boot.service:6: Unknown lvalue 'RestartSec' in section 'Unit', ignoring
[   25.144828] systemd[1]: Reached target System Time Synchronized.
[   26.467300] EXT4-fs (sda3): re-mounted. Opts: errors=remount-ro
[   26.616343] systemd[1]: Starting Create System Users...
[   26.704170] systemd[1]: Starting Load/Save Random Seed...
[   26.774250] systemd[1]: Started Apply Kernel Variables.
[   27.330271] systemd[1]: Started Load/Save Random Seed.
[   27.398227] systemd[1]: Started Create System Users.
[   27.456041] systemd[1]: Starting Create Static Device Nodes in /dev...
[   27.500787] systemd[1]: Started Journal Service.
[   27.989878] systemd-journald[144]: Received request to flush runtime journal from PID 1
[   28.868377] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   28.938324] libphy: PHY orion-mdio-mii:00 not found
[   28.943258] libphy: PHY orion-mdio-mii:01 not found
[   28.948169] libphy: PHY orion-mdio-mii:02 not found
[   28.953066] libphy: PHY orion-mdio-mii:03 not found
[   28.957973] libphy: PHY orion-mdio-mii:04 not found
[   28.962871] libphy: PHY orion-mdio-mii:05 not found
[   28.967770] libphy: PHY orion-mdio-mii:06 not found
[   28.972668] libphy: PHY orion-mdio-mii:07 not found
[   28.977568] libphy: PHY orion-mdio-mii:08 not found
[   28.982467] libphy: PHY orion-mdio-mii:09 not found
[   28.987366] libphy: PHY orion-mdio-mii:0a not found
[   28.992265] libphy: PHY orion-mdio-mii:0b not found
[   28.997163] libphy: PHY orion-mdio-mii:0c not found
[   29.002062] libphy: PHY orion-mdio-mii:0d not found
[   29.006960] libphy: PHY orion-mdio-mii:0e not found
[   29.011860] libphy: PHY orion-mdio-mii:0f not found
[   29.016758] libphy: PHY orion-mdio-mii:10 not found
[   29.021658] libphy: PHY orion-mdio-mii:11 not found
[   29.026557] libphy: PHY orion-mdio-mii:12 not found
[   29.031455] libphy: PHY orion-mdio-mii:13 not found
[   29.036354] libphy: PHY orion-mdio-mii:14 not found
[   29.041252] libphy: PHY orion-mdio-mii:15 not found
[   29.046152] libphy: PHY orion-mdio-mii:16 not found
[   29.051051] libphy: PHY orion-mdio-mii:17 not found
[   29.055950] libphy: PHY orion-mdio-mii:18 not found
[   29.060849] libphy: PHY orion-mdio-mii:19 not found
[   29.065748] libphy: PHY orion-mdio-mii:1a not found
[   29.070647] libphy: PHY orion-mdio-mii:1b not found
[   29.075545] libphy: PHY orion-mdio-mii:1c not found
[   29.080450] libphy: PHY orion-mdio-mii:1d not found
[   29.085352] libphy: PHY orion-mdio-mii:1e not found
[   29.090251] libphy: PHY orion-mdio-mii:1f not found
[   29.270813] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   29.310466] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   29.317369] usbcore: registered new interface driver usbfs
[   29.354222] usbcore: registered new interface driver hub
[   29.398313] usbcore: registered new device driver usb
[   29.460958] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   29.542855] ehci-orion: EHCI orion driver
[   30.511975] libphy: orion_mdio_bus: probed
[   30.542935] physmap platform flash device: 00040000 at f4000000
[   30.580700] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:16:01:a5:a7:d6
[   31.223579] Found: SST 39LF020
[   31.231197] physmap-flash.0: Found 1 x8 devices at 0x0 in 8-bit bank
[   31.473047] number of JEDEC chips: 1
[   31.699127] orion-ehci orion-ehci.0: EHCI Host Controller
[   31.726393] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   31.772046] orion-ehci orion-ehci.0: irq 18, io mem 0xf1050000
[   31.826081] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   31.846524] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   31.853361] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   31.860614] usb usb1: Product: EHCI Host Controller
[   31.865521] usb usb1: Manufacturer: Linux 4.12.13 ehci_hcd
[   31.871033] usb usb1: SerialNumber: orion-ehci.0
[   31.945807] hub 1-0:1.0: USB hub found
[   31.962140] hub 1-0:1.0: 1 port detected
[   32.306211] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   32.470718] usb 1-1: New USB device found, idVendor=0409, idProduct=005a
[   32.477459] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[   32.509410] hub 1-1:1.0: USB hub found
[   32.523496] hub 1-1:1.0: 4 ports detected
[   33.126464] Adding 1048572k swap on /dev/sda2.  Priority:-1 extents:1 across:1048572k FS
[   33.987993] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   34.038523] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   35.228460] mv643xx_eth_port mv643xx_eth_port.0 eth0: link down
[   35.250169] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   35.450121] NET: Registered protocol family 17
[   38.206048] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control enabled
[   38.215872] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control enabled
[   38.225799] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

# uname -a
Linux debian 4.12.13 #4 Tue Nov 3 14:18:55 CST 2020 armv5tel GNU/Linux


The device boots from the files initrd.buffalo and uImage.buffalo, residing on the first partition of the first hard drive, when it's formatted as ext3 using the following command. For this to work, a second drive has to be connected, this can be a blank drive.
Code: Select all
mkfs.ext3 -I 128 /dev/sdx1


Is this a Marvell Orion SOC?
Where do I find the correct files to install arch linux arm on this NAS?
cedric1337
 
Posts: 6
Joined: Wed Dec 09, 2020 2:19 pm

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 1 guest