Support for LRT214/224 Dual WAN Router to save it from the landfill

Hello OpenWRT Community,
(first time poster here)

I hope this post finds you well. I'm reaching out to express my interest in supporting the LRT224 dual WAN router with OpenWRT. Despite being an older device, I believe it still holds the potential to benefit from the flexibility and features that OpenWRT offers.

The LRT224 has proven itself to be a reliable dual WAN router, and I believe that with OpenWRT, we can extend its lifespan and capabilities. This router could serve as an excellent platform for those looking to enhance their network management and security.

Being the owner 4 of these devices of I'm eager to contribute to the development process and assist in bringing OpenWRT compatibility to the LRT224 and not having to dispose of them in a landfill. However, I'm seeking guidance from the community on the necessary steps to achieve this. If anyone has experience with porting OpenWRT to similar devices or has insights into the LRT224's architecture, your expertise would be greatly appreciated.

Technical Data

  • Device Type:Router
  • Brand:Linksys
  • Model: LRT
  • Availability:Discontinued
  • Target: octeon
  • Bootloader:U-Boot (modified?)
  • CPU:Cavium CN5020
  • Switch: Broadcom BCM53125M 7 port Gigabit switch & BCM54612 Gigabit Ethernet Transceiver
  • CPU Cores:2
  • CPU MHz:300
  • Flash MB:256
  • RAM MB:128
  • Ethernet 1Gbit ports: 6 (4LAN + 2 WAN)
  • Serial:Yes
  • Serial connection parameters:115200 / 8N1 default
  • JTAG: yes
  • LED count: 4 (excl. LAN activity LEDs)
  • TFTP recovery: yes (checksum?)

Similar device: Ubiquiti EdgeRouter Lite

Despite my efforts, I'm unable to enter the bootloader on the LRT224.

It looks like it is impossible to press a key when "Hit any key to stop autoboot: 3 2 1 0" is shown on the screen.

This page https://www.treshaut.net/viewtopic.php?t=37 shows how to get serial root access.

And here is the file to compile a firmware (on fedora 6) https://downloads.linksys.com/support/assets/gpl/LRT2x4_v1.0.7.06.tar.gz

[Smallnetbuilder]
(https://www.smallnetbuilder.com/lanwan/lanwan-reviews/linksys-lrt214-gigabit-vpn-router-reviewed/)

Bootlog:
Boot-loader v1.4.6 (Build time: Jul 19 2013 - 14:26:51) LRT224D

clkr:  0, en:  6, clkf:   39, pll_MHz: 2000, ddr_hertz: 333333333, error:  -333333
clkr:  1, en:  6, clkf:   79, pll_MHz: 2000, ddr_hertz: 333333333, error:  -333333
clkr:  2, en:  6, clkf:  119, pll_MHz: 2000, ddr_hertz: 333333333, error:  -333333
clkr:  0, en:  6, clkf:   39, pll_MHz: 2000, ddr_hertz: 333333333, error: -1333333
clkr:  1, en:  6, clkf:   79, pll_MHz: 2000, ddr_hertz: 333333333, error: -1333333
clkr:  2, en:  6, clkf:  119, pll_MHz: 2000, ddr_hertz: 333333333, error: -1333333
clkr:  0, en:  6, clkf:   39, pll_MHz: 2000, ddr_hertz: 333333333, error: -2333333
clkr:  1, en:  6, clkf:   78, pll_MHz: 1975, ddr_hertz: 329166666, error:  1833334
clkr:  1, en:  6, clkf:   78, pll_MHz: 1975, ddr_hertz: 329166666, error:  1833334 <==
clkr:  2, en:  6, clkf:  118, pll_MHz: 1983, ddr_hertz: 330555555, error:   444445
clkr:  2, en:  6, clkf:  118, pll_MHz: 1983, ddr_hertz: 330555555, error:   444445 <==
Measured DDR clock 330540000

Initializing DDR interface 0, DDR Clock 333000000, DDR Reference Clock 50000000
Reading simulated SPD bfc4b890
DIMM 0: DDR2 Unbuffered, non-ECC  
row bits: 13, col bits: 10, banks: 4, ranks: 1, dram width: 16, size: 128 MB
CN50XX DRAM Interface width: 32 bits 
CL3 Minimum Clock Rate                        :   5000 ps
CL4 Minimum Clock Rate                        :   3750 ps
CL5 Minimum Clock Rate                        :   3000 ps
DDR Clock Rate (tCLK)                         :   3003 ps
CAS Latency                                   :      5
Refresh Rate (tREFI)                          :   7812 ns
Minimum Row Precharge Time (tRP)              :  15000 ps
Minimum Row Active to Row Active delay (tRRD) :   7500 ps
Minimum RAS to CAS delay (tRCD)               :  15000 ps
Minimum Active to Precharge Time (tRAS)       :  45000 ps
Write Recovery Time (tWR)                     :  15000 ps
Internal write to read command delay (tWTR)   :   7500 ps
Device Min Auto-refresh Active/Command (tRFC) : 127500 ps
Board delay                                   :   2650 ps
delay_clk                                     :      9
delay_cmd                                     :      0
delay_dq                                      :     11
sil_mode                                      :      1
DDR Fixed Reference Clock Hertz               : 50000000
clkf                                          :    118
clkr                                          :      2
EN6                                           :      1
LMC PLL Frequency                             :   1983 MHz
Calculated DClk Frequency                     : 330555555 Hz
bunk_enable                                   :      0
burst8                                        :      1
ddr2t                                         :      1
tskw                                          :      1
silo_hc                                       :      0
silo_qc                                       :      1
sil_lat                                       :      1
r2r_slot                                      :      0
odt_ena                                       :      0
qs_dic                                        :      1
dic                                           :      0
ctl_odt_mask                                  : 00000001
ctl_odt_mask1                                 : 00000000
ctl_rodt_ctl                                  : 00000000
RODT enable                                   :      1
RODT pctl                                     :      7
RODT nctl                                     :      2
DDR PMOS control                              :     17
DDR NMOS control                              :      6
CN3010_EVB_HS5 board revision major:2, minor:0, serial #: unknown
OCTEON CN5020-SCP pass 1.1, Core clock: 300 MHz, DDR clock: 330 MHz (660 Mhz data rate)
Warning: Board descriptor tuple not found in eeprom, using defaults
Warning: No marvell switch found or marvell switch works in multi-chip mode!

DRAM:  128 MB
Flash: 32 MB
Clearing DRAM...... done
BIST check passed.
Net:   octeth0, octeth1, octeth2

Defined MDC_MDIO_OPERATION

VERSION 2 ( SW Type 224 )
Diable Boot Bus
Set GPIO(RESET_BT:0) IN
Set GPIO (SW_RST:1), (DIAG:8), (DMZ:9), (CS_MAC:2), (CS_PHY:2) 
 
Disable WAN Port
Set LAN Port Power/MII to A Mode
GPIO (RX_DAT) value = [0xD7]

Hit any key to stop autoboot:  3  2  1  0 
  image header crc success

Checking checksum..........
Checking checksum success
Set dual-core: [bootoctlinux 0xbdc80040 numcores=2 coremask=3 mem=2048].
argv[2]: numcores=2
argv[3]: coremask=3
argv[4]: mem=2048
ELF file is 64 bit
Attempting to allocate memory for ELF segment: addr: 0xffffffff81100000 (adjusted to: 0x0000000001100000), size 0x61f030
Allocated memory for ELF segment: addr: 0xffffffff81100000, size 0x61f030
Loading .text @ 0xffffffff81100000 (0x38d558 bytes)
Loading __ex_table @ 0xffffffff8148d560 (0x6e00 bytes)
Loading .rodata @ 0xffffffff81495000 (0x4b310 bytes)
Loading .pci_fixup @ 0xffffffff814e0310 (0x690 bytes)
Loading __ksymtab @ 0xffffffff814e09a0 (0x8d00 bytes)
Loading __ksymtab_gpl @ 0xffffffff814e96a0 (0x1af0 bytes)
Loading __ksymtab_strings @ 0xffffffff814eb190 (0xd8b8 bytes)
Loading __param @ 0xffffffff814f9000 (0xa50 bytes)
Loading .data @ 0xffffffff814fc000 (0x72e00 bytes)
Loading .data.cacheline_aligned @ 0xffffffff8156f000 (0x4b80 bytes)
Loading .init.text @ 0xffffffff81574000 (0x2ea28 bytes)
Loading .init.data @ 0xffffffff815a2a28 (0x6b20 bytes)
Loading .init.setup @ 0xffffffff815a9550 (0x510 bytes)
Loading .initcall.init @ 0xffffffff815a9a60 (0x800 bytes)
Loading .con_initcall.init @ 0xffffffff815aa260 (0x18 bytes)
Loading .exit.text @ 0xffffffff815aa278 (0x3570 bytes)
Loading .init.ramfs @ 0xffffffff815ae000 (0x85 bytes)
Loading .data.percpu @ 0xffffffff815ae100 (0x5660 bytes)
Clearing .bss @ 0xffffffff815b4000 (0x16b030 bytes)
loading elf64 done
## Loading Linux kernel with entry point: 0xffffffff81574000 ...
Bootloader: Done loading app on coremask: 0x3
Linux version 2.6.16.26-Cavium-Octeon (root@localhost.localdomain) (gcc version 4.1.1 (Cavium Networks Version: 1_5_0, build 14)) #1 SMP Thu Oct 15 17:47:36 CST 2020

Cavium Networks Version: $Name$

kernel cmdline=root=/dev/mtdblock2 ro rootfstype=cramfs mtdparts=phys_mapped_flash:512k(bootloader)ro,5120k(image),24576k(FS),1024k(DB1),1024k(DB2),256k(rg_factory),256k(other)

CVMSEG size: 2 cache lines (256 bytes)

Setting flash physical map for 32MB flash at 0x1dc00000

CPU revision is: 000d0601

Determined physical RAM map:

 memory: 0000000000c00000 @ 0000000000110000 (usable)

 memory: 0000000006800000 @ 0000000001720000 (usable)

Built 1 zonelists

Kernel command line: console=ttyS0,115200 root=/dev/mtdblock2 ro rootfstype=cramfs mtdparts=phys_mapped_flash:512k(bootloader)ro,5120k(image),24576k(FS),1024k(DB1),1024k(DB2),256k(rg_factory),256k(other)  bootoctlinux 0xbdc80040 numcores=2 coremask=3

Primary instruction cache 32kB, virtually tagged, 4 way, 64 sets, linesize 128 bytes.

Primary data cache 8kB, 64-way, 1 sets, linesize 128 bytes.

Synthesized TLB refill handler (52 instructions).

Synthesized TLB load handler fastpath (73 instructions).

Synthesized TLB store handler fastpath (73 instructions).

Synthesized TLB modify handler fastpath (71 instructions).

PID hash table entries: 512 (order: 9, 16384 bytes)

Using 300.000 MHz high precision timer.

Console: colour dummy device 80x25

Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)

Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)

Memory: 102484k/118784k available (3637k kernel code, 16156k reserved, 921k data, 256k init, 0k highmem)

Calibrating delay using timer specific routine.. 600.37 BogoMIPS (lpj=300189)

Mount-cache hash table entries: 256

Checking for 'wait' instruction...  available.

Checking for the multiply/shift bug... no.

Checking for the daddi bug... no.

Checking for the daddiu bug... no.

SMP: Booting CPU01 (CoreId  1)...CPU revision is: 000d0601

Brought up 2 CPUs

migration_cost=1000

NET: Registered protocol family 16

Not in host mode, PCI Controller not initialized

TC classifier action (bugs to netdev@vger.kernel.org cc hadi@cyberus.ca)

/proc/octeon_perf: Octeon performace counter interface loaded

Total HugeTLB memory allocated, 0

JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.

Initializing Cryptographic API

io scheduler noop registered

io scheduler cfq registered (default)

Serial: 8250/16550 driver $Revision: 2 $ 4 ports, IRQ sharing enabled

isa bounce pool size: 16 pages

RAMDISK driver initialized: 1 RAM disks of 500000K size 1024 blocksize

loop: loaded (max 8 devices)

PPP generic driver version 2.4.2

PPP Deflate Compression module registered

PPP BSD Compression module registered

MPPE/MPPC encryption/compression module registered

NET: Registered protocol family 24

PPPoL2TP kernel driver, V0.17

tun: Universal TUN/TAP device driver, 1.6

tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2

ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx

physmap flash device: 2000000 at 1dc00000

phys_mapped_flash: Found 1 x16 devices at 0x0 in 16-bit bank

 Amd/Fujitsu Extended Query Table at 0x0040

phys_mapped_flash: CFI does not contain boot bank location. Assuming top.

number of CFI chips: 1

cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.

7 cmdlinepart partitions found on MTD device phys_mapped_flash

Creating 7 MTD partitions on "phys_mapped_flash":

0x00000000-0x00080000 : "bootloader"

0x00080000-0x00580000 : "image"

0x00580000-0x01d80000 : "FS"

0x01d80000-0x01e80000 : "DB1"

0x01e80000-0x01f80000 : "DB2"

0x01f80000-0x01fc0000 : "rg_factory"

0x01fc0000-0x02000000 : "other"

i2c /dev entries driver

i2c_adapter i2c-0: Invalid probe address 0x00

I2C: rs5c372 RTC driver successfully loaded

GACT probability on

Mirror/redirect action on

Simple TC action Loaded

netem: version 1.2

    Perfomance counters on

    input device check on 

    Actions configured 

Netfilter messages via NETLINK v0.30.

nf_conntrack version 0.4.1 (464 buckets, 3712 max)

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 1, 8192 bytes)

TCP established hash table entries: 4096 (order: 4, 65536 bytes)

TCP bind hash table entries: 4096 (order: 4, 65536 bytes)

TCP: Hash tables configured (established 4096 bind 4096)

TCP reno registered

Octeon Native IPsec hw acceralation actived..


--------------------------- Detecting Model ---------------------------

Kernel CPLD Pings Group Type[1100]

Kernel CPLD Not Found Match Model

Kernel CPLD Pings Group Type[370]

Kernel dectect model is 224

Modle basic Info: useSwitch[224], LAN[4], WAN[2], DMZ[0]

--------------------------- End Detect --------------------------------


ip_conntrack version 2.4 (8192 buckets, 30000 max) - 440 bytes per conntrack

nk: Register the control device, /dev/url 

ctnetlink v0.90: registering with nfnetlink.

ip_conntrack_pptp version 3.1 loaded

port #0: 5060

ip_nat_pptp version 3.0 loaded

ip_tables: (C) 2000-2006 Netfilter Core Team

ipt_time loading

arp_tables: (C) 2002 David S. Miller

nk_esp_reg_char_device() result: 0

TCP bic registered

NET: Registered protocol family 1

NET: Registered protocol family 10

lo: Disabled Privacy Extensions

IPv6 over IPv4 tunneling driver

ip6_tables: (C) 2000-2006 Netfilter Core Team

NET: Registered protocol family 17

NET: Registered protocol family 15

serial8250: ttyS0 at MMIO 0x1180000000800 (irq = 42) is a 16550A

cf: Octeon bootbus compact flash driver version 1.0

cf: Compact flash interface not present.

VFS: Mounted root (cramfs filesystem) readonly.

Freeing unused kernel memory: 256k freed


init started:  BusyBox v1.2.1 (2020.10.15-09:47+0000) multi-call binary

Starting pid 199, console /dev/ttyS0: '/sbin/rc'
/sbin/rc starting
Mounting file systems
Mounting jffs2 file systems
Setting up loopback
inserting nk_switch module
Switch driver starting...

Set GPIO(RESET_BT:0) IN

Set GPIO <0>(SW_RST:1)<0>, (DIAG:8)<0>, (CS_MAC:2)<0>, (CS_PHY:2)<0>, (SERI_CLK:6)<0>, (SW_DAT:7)<0> 

not spport DMZ LED

inserting cavium ethernet module
cavium_ethernet: module license 'Proprietary' taints kernel.

MAC_NUM[3], VLAN_GROUP_VID_MIN[4], VLAN_GROUP_VID_MAX[7]

Octeon ethernet driver version: Internal Oct 15 2020 17:48:19 Oct 15 2020 17:48:19

Interface 0 is RGMII

eth1:   1Gbs Full duplex, port  2, queue  2

nk: Register the control device, /dev/eth_acc 

finished init_ioctl===================================

mknod: /dev/net/tun: File exists
Opimizing linux kernel
inserting hdlc module
insmod: /lib/modules/2.6.16.26-Cavium-Octeon: No such file or directory
HDLC line discipline: version $Revision: 2 $, maxframe=4096

N_HDLC line discipline registered.

inserting cavium crypto module
inserting nk_netlink module
excuting netlinkctl application
Setup links for temp dirs
Kernel: nlmsg_type[IMP2_U_PID], pid[261]

Setup links for /etc/ppp/ip-down and /etc/ppp/ip-up
mkdir: Cannot create directory `/var/log': File exists
mkdir: Cannot create directory `/var/run': File exists
delete cert/default/...
Fri Jan  1 08:00:00 UTC 2010
rvCertName...
server.pem...
syslog.c:SUM=6681806, SUMDB=6681806

SIOC_GET_SWITCH_TYPE1: switch_type[224]

syslog.c:#854 Init_Environment_Value: switch_type[224]

nk_setDeviceMAC()
sizeof(buf)==32
mtd_debug read /dev/mtd5 0x0 0x1e /tmp/.factory
Copied 30 bytes from address 0x00000000 in flash to /tmp/.factory
get flash data 1: [0#14510A84900027]
mac[30:23: 3:ed:ac:82]
serial no[14510A84900027]
syslog.c:SUM=6681806, SUMDB=6681806

lan[4], wan[2]
init wannum[7]
init wannum[7]
init wannum[7]
No such device
init wannum[7]
No such device
init wannum[7]
No such device
init wannum[7]
No such device
init wannum[7]
No such device
init wannum[7]
No such device
init iptables
WAN [1] UP

Netlinkctl recevie msg type[NK_PHYLINK_EVENT_UP], val[1]
debug_printf: ====== syslogd is restarted!=====  


Thu Nov  9 20:01:00 UTC 2023
Copied 32 bytes from address 0x0003ffe0 in flash to /tmp/.fwmd5sum
chmod: /usr/sbin/test.sh: No such file or directory
chmod: /usr/sbin/get_db.sh: No such file or directory
Starting /usr/local/EasyAccess/bin/firebase
Starting /usr/local/EasyAccess/bin/smm
Starting /usr/local/EasyAccess/www/cgi-bin/compareDB
pptp stop
webBoot: could not open input file=/tmp/.pptp.status: No such file or directory
SSL_UPGRADE...
nk_rg_factory_read_file, mtd_debug read /dev/mtd5 0x0 0x3c /tmp/.nk_factory
Copied 60 bytes from address 0x00000000 in flash to /tmp/.nk_factory
nk_rg_factory_read_file: get flash data 1: [0#14510A84900027]
Starting /usr/local/EasyAccess/bin/ftpsession

 smm firebase ftpsessionStarting /usr/local/EasyAccess/bin/httpd
/sbin/rc complete

Starting pid 397, console /dev/ttyS0: '/sbin/getty'
webconfig.cgi: pptp start
dmseg after boot
dmesg
<5>Linux version 2.6.16.26-Cavium-Octeon (root@localhost.localdomain) (gcc version 4.1.1 (Cavium Networks Development Build)) #2 SMP Wed Nov 8 21:24:53 CET 2023
<4>Cavium Networks Version: $Name$
<4>kernel cmdline=root=/dev/mtdblock2 ro rootfstype=cramfs mtdparts=phys_mapped_flash:512k(bootloader)ro,5120k(image),24576k(FS),1024k(DB1),1024k(DB2),256k(rg_factory),256k(other)
<4>CVMSEG size: 2 cache lines (256 bytes)
<4>Setting flash physical map for 32MB flash at 0x1dc00000
<4>CPU revision is: 000d0601
<4>Determined physical RAM map:
<4> memory: 0000000000c00000 @ 0000000000110000 (usable)
<4> memory: 0000000006800000 @ 0000000001720000 (usable)
<7>On node 0 totalpages: 29696
<7>  DMA zone: 29696 pages, LIFO batch:7
<7>  DMA32 zone: 0 pages, LIFO batch:0
<7>  Normal zone: 0 pages, LIFO batch:0
<7>  HighMem zone: 0 pages, LIFO batch:0
<4>Built 1 zonelists
<5>Kernel command line: console=ttyS0,115200 root=/dev/mtdblock2 ro rootfstype=cramfs mtdparts=phys_mapped_flash:512k(bootloader)ro,5120k(image),24576k(FS),1024k(DB1),1024k(DB2),256k(rg_factory),256k(other)  bootoctlinux 0xbdc80040 numcores=2 coremask=3
<4>Primary instruction cache 32kB, virtually tagged, 4 way, 64 sets, linesize 128 bytes.
<4>Primary data cache 8kB, 64-way, 1 sets, linesize 128 bytes.
<4>Synthesized TLB refill handler (52 instructions).
<4>Synthesized TLB load handler fastpath (73 instructions).
<4>Synthesized TLB store handler fastpath (73 instructions).
<4>Synthesized TLB modify handler fastpath (71 instructions).
<4>PID hash table entries: 512 (order: 9, 16384 bytes)
<4>Using 300.000 MHz high precision timer.
<4>Console: colour dummy device 80x25
<4>Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
<4>Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
<6>Memory: 102484k/118784k available (3637k kernel code, 16156k reserved, 921k data, 256k init, 0k highmem)
<4>Calibrating delay using timer specific routine.. 600.37 BogoMIPS (lpj=300189)
<4>Mount-cache hash table entries: 256
<4>Checking for 'wait' instruction...  available.
<4>Checking for the multiply/shift bug... no.
<4>Checking for the daddi bug... no.
<4>Checking for the daddiu bug... no.
<4>SMP: Booting CPU01 (CoreId  1)...CPU revision is: 000d0601
<6>Brought up 2 CPUs
<4>migration_cost=1000
<6>NET: Registered protocol family 16
<4>Not in host mode, PCI Controller not initialized
<4>TC classifier action (bugs to netdev@vger.kernel.org cc hadi@cyberus.ca)
<4>/proc/octeon_perf: Octeon performace counter interface loaded
<4>Total HugeTLB memory allocated, 0
<6>JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
<6>Initializing Cryptographic API
<6>io scheduler noop registered
<6>io scheduler cfq registered (default)
<6>Serial: 8250/16550 driver $Revision: 2 $ 4 ports, IRQ sharing enabled
<4>isa bounce pool size: 16 pages
<4>RAMDISK driver initialized: 1 RAM disks of 500000K size 1024 blocksize
<6>loop: loaded (max 8 devices)
<6>PPP generic driver version 2.4.2
<6>PPP Deflate Compression module registered
<6>PPP BSD Compression module registered
<6>MPPE/MPPC encryption/compression module registered
<6>NET: Registered protocol family 24
<6>PPPoL2TP kernel driver, V0.17
<6>tun: Universal TUN/TAP device driver, 1.6
<6>tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
<6>Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
<6>ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
<5>physmap flash device: 2000000 at 1dc00000
<6>phys_mapped_flash: Found 1 x16 devices at 0x0 in 16-bit bank
<4> Amd/Fujitsu Extended Query Table at 0x0040
<4>phys_mapped_flash: CFI does not contain boot bank location. Assuming top.
<5>number of CFI chips: 1
<5>cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
<5>7 cmdlinepart partitions found on MTD device phys_mapped_flash
<5>Creating 7 MTD partitions on "phys_mapped_flash":
<5>0x00000000-0x00080000 : "bootloader"
<5>0x00080000-0x00580000 : "image"
<5>0x00580000-0x01d80000 : "FS"
<5>0x01d80000-0x01e80000 : "DB1"
<5>0x01e80000-0x01f80000 : "DB2"
<5>0x01f80000-0x01fc0000 : "rg_factory"
<5>0x01fc0000-0x02000000 : "other"
<6>i2c /dev entries driver
<4>i2c_adapter i2c-0: Invalid probe address 0x00
<4>I2C: rs5c372 RTC driver successfully loaded
<4>GACT probability on
<4>Mirror/redirect action on
<4>Simple TC action Loaded
<6>netem: version 1.2
<4>    Perfomance counters on
<4>    input device check on 
<4>    Actions configured 
<4>Netfilter messages via NETLINK v0.30.
<4>nf_conntrack version 0.4.1 (464 buckets, 3712 max)
<6>NET: Registered protocol family 2
<4>IP route cache hash table entries: 1024 (order: 1, 8192 bytes)
<4>TCP established hash table entries: 4096 (order: 4, 65536 bytes)
<4>TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
<6>TCP: Hash tables configured (established 4096 bind 4096)
<6>TCP reno registered
<6>Octeon Native IPsec hw acceralation actived..
<0>
<4>--------------------------- Detecting Model ---------------------------
<0>Kernel CPLD Pings Group Type[1100]
<0>Kernel CPLD Not Found Match Model
<0>Kernel CPLD Pings Group Type[370]
<0>Kernel dectect model is 224
<0>Modle basic Info: useSwitch[224], LAN[4], WAN[2], DMZ[0]
<0>--------------------------- End Detect --------------------------------
<4>
<4>ip_conntrack version 2.4 (8192 buckets, 30000 max) - 440 bytes per conntrack
<0>nk: Register the control device, /dev/url 
<4>ctnetlink v0.90: registering with nfnetlink.
<4>ip_conntrack_pptp version 3.1 loaded
<4>port #0: 5060
<4>ip_nat_pptp version 3.0 loaded
<4>ip_tables: (C) 2000-2006 Netfilter Core Team
<4>ipt_time loading
<4>arp_tables: (C) 2002 David S. Miller
<0>nk_esp_reg_char_device() result: 0
<6>TCP bic registered
<6>NET: Registered protocol family 1
<6>NET: Registered protocol family 10
<6>lo: Disabled Privacy Extensions
<6>IPv6 over IPv4 tunneling driver
<4>ip6_tables: (C) 2000-2006 Netfilter Core Team
<6>NET: Registered protocol family 17
<6>NET: Registered protocol family 15
<6>serial8250: ttyS0 at MMIO 0x1180000000800 (irq = 42) is a 16550A
<5>cf: Octeon bootbus compact flash driver version 1.0
<5>cf: Compact flash interface not present.
<4>VFS: Mounted root (cramfs filesystem) readonly.
<6>Freeing unused kernel memory: 256k freed
<5>Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
<5>empty_blocks 0, bad_blocks 0, c->nr_blocks 8
<0>Switch driver starting...
<0>Set GPIO(RESET_BT:0) IN
<0>Set GPIO <0>(SW_RST:1)<0>, (DIAG:8)<0>, (CS_MAC:2)<0>, (CS_PHY:2)<0>, (SERI_CLK:6)<0>, (SW_DAT:7)<0> 
<4> 
<0>not spport DMZ LED
<4>cavium_ethernet: module license 'Proprietary' taints kernel.
<0>MAC_NUM[3], VLAN_GROUP_VID_MIN[4], VLAN_GROUP_VID_MAX[7]
<4>Octeon ethernet driver version: Internal Apr  7 2021 15:56:39 Apr  7 2021 15:56:39
<4>Interface 0 is RGMII
<4>eth1:   1Gbs Full duplex, port  2, queue  2
<0>nk: Register the control device, /dev/eth_acc 
<0>finished init_ioctl===================================
<6>HDLC line discipline: version $Revision: 2 $, maxframe=4096
<6>N_HDLC line discipline registered.
<0>Kernel: nlmsg_type[IMP2_U_PID], pid[266]
<0>SIOC_GET_SWITCH_TYPE1: switch_type[224]
<0>MODE = FL_READY
<0>MODE = FL_READY
<0>MODE = FL_READY
<0>MODE = FL_READY
<0>MODE = FL_READY
<0>MODE = FL_READY
<0>WAN [1] UP 

Thank you for your time and support!

If Ctrl+c doesn't let You enter bootloader command line, then there is simple "pin2pwn" (https://ivision.com/blog/root-an-embedded-box-with-a-needle) method to interrupt kernel reading from flash, which results in failed checksum verification and bootloader drops You to command line.
Open the device. Read flash chip markings (probably some 48 or 56 pin TSOP). Find datasheet for it. Check which pins are CE (chip enable) or OE (output enable). Boot the board and when it start counting short CE pin to the ground. Hold it shorted until CRC fails. After it fails You should be able to interact with command line.
If it doesn't fail try the OE pin.
If it's successful, try to boot octeon generic image: https://downloads.openwrt.org/releases/19.07.10/targets/octeon/generic/openwrt-19.07.10-octeon-generic-initramfs-kernel.bin

2 Likes

Amazing! Thank you; it worked (after pressing Ctrl-C), and with some tinkering, I got OpenWRT 19.07.10 to boot. How did you know that OpenWRT 19.07.10 would work? I tried newer versions, and they didn't; they just hung on:

[1.150609] octeon_wdt: Initial granularity 5 Sec
[1.164125] Interface 0 has 3 ports (RGMII)

The other issue is that nothing is really working... I suspect that is because the drivers for the switch are missing.

Now, the question is, how to proceed?

Again, many thanks.

Openwrt dmesg
[    0.000000] Linux version 4.14.275 (builder@buildhost) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11427-9ce6aa9d8d)) #0 SMP Sat Apr 16 13:13:32 2022
[    0.000000] CVMSEG size: 2 cache lines (256 bytes)
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 000d0601 (Cavium Octeon+)
[    0.000000] Checking for the multiply/shift bug... no.
[    0.000000] Checking for the daddiu bug... no.
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 0000000004c00000 @ 0000000003100000 (usable)
[    0.000000]  memory: 0000000001f5a220 @ 0000000001100000 (usable)
[    0.000000] Wasting 243712 bytes for tracking 4352 unused pages
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Using internal Device Tree.
[    0.000000] software IO TLB: mapped [mem 0x0310b000-0x0314b000] (0MB)
[    0.000000] Primary instruction cache 32kB, virtually tagged, 4 way, 64 sets, linesize 128 bytes.
[    0.000000] Primary data cache 16kB, 64-way, 2 sets, linesize 128 bytes.
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000000000000-0x00000000efffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003059fff]
[    0.000000]   node   0: [mem 0x0000000003100000-0x0000000007cfffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007cfffff]
[    0.000000] On node 0 totalpages: 31834
[    0.000000]   DMA32 zone: 438 pages used for memmap
[    0.000000]   DMA32 zone: 0 pages reserved
[    0.000000]   DMA32 zone: 31834 pages, LIFO batch:7
[    0.000000] random: get_random_bytes called from 0xffffffff817646d8 with crng_init=0
[    0.000000] percpu: Embedded 18 pages/cpu s35632 r8192 d29904 u73728
[    0.000000] pcpu-alloc: s35632 r8192 d29904 u73728 alloc=18*4096
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 31396
[    0.000000] Kernel command line:  bootoctlinux 0x54fffc0 console=ttyS0,115200
[    0.000000] PID hash table entries: 512 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.000000] Memory: 73592K/127336K available (5363K kernel code, 351K rwdata, 816K rodata, 8880K init, 16680K bss, 53744K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=128, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  CONFIG_RCU_FANOUT set to non-default value of 32
[    0.000000]  RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 127
[    0.357405] clocksource: OCTEON_CVMCOUNT: mask: 0xffffffffffffffff max_cycles: 0x45306eca54, max_idle_ns: 440795215369 ns
[    0.368341] Calibrating delay loop (skipped) preset value.. 600.00 BogoMIPS (lpj=1200000)
[    0.376458] pid_max: default: 32768 minimum: 301
[    0.381270] Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
[    0.387707] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes)
[    0.395809] Checking for the daddi bug... no.
[    0.401614] Hierarchical SRCU implementation.
[    0.407038] smp: Bringing up secondary CPUs ...
[    0.411501] smp: Brought up 1 node, 1 CPU
[    0.421396] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.431102] futex hash table entries: 256 (order: 3, 32768 bytes)
[    0.438906] NET: Registered protocol family 16
[    0.450797] Not in host mode, PCI Controller not initialized
[    0.503391] SCSI subsystem initialized
[    0.507756] usbcore: registered new interface driver usbfs
[    0.513310] usbcore: registered new interface driver hub
[    0.518641] usbcore: registered new device driver usb
[    0.531194] clocksource: Switched to clocksource OCTEON_CVMCOUNT
[    0.538945] NET: Registered protocol family 2
[    0.543505] IP idents hash table entries: 2048 (order: 2, 16384 bytes)
[    0.551107] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.558031] TCP bind hash table entries: 1024 (order: 3, 32768 bytes)
[    0.564468] TCP: Hash tables configured (established 1024 bind 1024)
[    0.570942] UDP hash table entries: 256 (order: 2, 24576 bytes)
[    0.576860] UDP-Lite hash table entries: 256 (order: 2, 24576 bytes)
[    0.583473] NET: Registered protocol family 1
[    0.587824] PCI: CLS 0 bytes, default 128
[    0.878230] Crashlog allocated RAM at address 0x3f00000
[    0.886584] workingset: timestamp_bits=62 max_order=15 bucket_order=0
[    0.920636] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.926971] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.947495] io scheduler noop registered
[    0.951441] io scheduler deadline registered (default)
[    0.957366] octeon_gpio 1070000000800.gpio-controller: OCTEON GPIO driver probed.
[    0.965355] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.976230] console [ttyS0] disabled
[    0.979827] 1180000000800.serial: ttyS0 at MMIO 0x1180000000800 (irq = 41, base_baud = 18750000) is a OCTEON
[    0.989612] console [ttyS0] enabled
[    0.996522] bootconsole [early0] disabled
[    1.005425] 1180000000c00.serial: ttyS1 at MMIO 0x1180000000c00 (irq = 42, base_baud = 18750000) is a OCTEON
[    1.016144] octeon_rng octeon_rng: Octeon Random Number Generator
[    1.040592] loop: module loaded
[    1.044894] of-flash 1f400000.nor: Can't get bank width from device tree
[    1.052274] [Firmware Warn]: /soc@0/mdio@1180000001800/ethernet-phy@4: Whitelisted compatible string. Please remove
[    1.092005] [Firmware Warn]: /soc@0/mdio@1180000001800/ethernet-phy@9: Whitelisted compatible string. Please remove
[    1.102738] mdio_bus 8001180000001800: MDIO device at address 9 is missing.
[    1.109788] mdio_octeon 1180000001800.mdio: Probed
[    1.115514] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.122146] ehci-pci: EHCI PCI platform driver
[    1.126790] ehci-platform: EHCI generic platform driver
[    1.132397] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.138708] ohci-platform: OHCI generic platform driver
[    1.144429] usbcore: registered new interface driver usb-storage
[    1.150609] octeon_wdt: Initial granularity 5 Sec
[    1.164125] Interface 0 has 3 ports (RGMII)
[    1.173965] octeon-hcd 16f0010000000.usbc: controller reset failed (gintsts=0xb500c069) - retrying
[    1.304266] octeon-hcd 16f0010000000.usbc: controller reset failed (gintsts=0xb500c069) - retrying
[    1.432250] octeon-hcd 16f0010000000.usbc: controller reset failed (gintsts=0xb500c069) - retrying
[    1.535000] random: fast init done
[    1.560254] octeon-hcd 16f0010000000.usbc: controller reset failed (gintsts=0xb500c069) - retrying
[    1.688251] octeon-hcd 16f0010000000.usbc: controller reset failed (gintsts=0xb500c069) - retrying
[    1.816288] octeon-hcd: probe of 16f0010000000.usbc failed with error -1
[    1.824711] NET: Registered protocol family 10
[    1.833941] Segment Routing with IPv6
[    1.837911] NET: Registered protocol family 17
[    1.842561] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.855631] 8021q: 802.1Q VLAN Support v1.8
[    1.860218] Bootbus flash: Setting flash for 32MB flash at 0x1dc00000
[    1.867113] phys_mapped_flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x00227e
[    1.877643] Amd/Fujitsu Extended Query Table at 0x0040
[    1.882898]   Amd/Fujitsu Extended Query version 1.3.
[    1.888028] number of CFI chips: 1
[    1.897301] OF: fdt: not creating '/sys/firmware/fdt': CRC check failed
[    1.916224] Freeing unused kernel memory: 8880K
[    1.920859] This architecture does not have kernel memory protection.
[    1.951276] init: Console is alive
[    1.955321] init: - watchdog -
[    1.978714] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    1.986267] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    1.996345] init: - preinit -
[    2.318160] random: jshn: uninitialized urandom read (4 bytes read)
[    2.398007] random: jshn: uninitialized urandom read (4 bytes read)
[    2.459142] random: jshn: uninitialized urandom read (4 bytes read)
[    2.514364] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    5.749581] procd: - early -
[    5.752908] procd: - watchdog -
[    6.381336] procd: - watchdog -
[    6.385241] procd: - ubus -
[    6.397813] urandom_read: 1 callbacks suppressed
[    6.397826] random: ubusd: uninitialized urandom read (4 bytes read)
[    6.439500] random: ubusd: uninitialized urandom read (4 bytes read)
[    6.446634] random: ubusd: uninitialized urandom read (4 bytes read)
[    6.455404] procd: - init -
[    7.154012] kmodloader: loading kernel modules from /etc/modules.d/*
[    7.182500] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    7.217132] ip_tables: (C) 2000-2006 Netfilter Core Team
[    7.245521] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[    7.290255] urngd: v1.0.2 started.
[    7.389906] xt_time: kernel timezone is -0000
[    7.418733] PPP generic driver version 2.4.2
[    7.436181] NET: Registered protocol family 24
[    7.455422] kmodloader: done loading kernel modules from /etc/modules.d/*
[    7.557051] random: crng init done
[    7.560560] random: 3 urandom warning(s) missed due to ratelimiting
[   45.927638] br-lan: port 1(eth0) entered blocking state
[   45.933056] br-lan: port 1(eth0) entered disabled state
[   45.938920] device eth0 entered promiscuous mode
[   46.007427] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready

Basically the same as for any other new device, by first 'getting it to work' with current main/HEAD - and then filing a pull request. But I'm obviously aware that this isn't the real question here…

My approach would probably to keep testing newer- and newer versions by tftpbooting first, just to get as close as possible to the current code - and then trying to move things forward from there. You have some advantages and disadvantages at hand here. These Cavium targets are 'relatively' uniform and similar to each other, making the initial steps a little easier. In comparison they are (still) rather performant, although your specimen is on the lower end of that scale. The disadvantages entail that there is rather little development happening for this arch, the IP has been sold and put to rest, in favour of re-using the name(s) for rather different ARM based SOCs. So you're dealing with rather old and 'exotic' code here, with little hope to get much assistance from others - it's going to be a steep learning curve, but it seems you have at least some initial success.

Ugh. Broadcom. :poop:

Thank you for sharing your experience. I successfully installed version 19.07.10 and found it to be quite stable during testing. However, I'm encountering some issues with the ethernet interfaces.

The original LAN interface, eth2, seems to be working fine on all four ports, but it's not issuing IP addresses. On the other hand, the two other interfaces, eth0 and eth1 (original WAN), are not functioning—neither with static nor DHCP configurations. Eth0 shows activity (LED), but eth1 does not show any activity.

Following recommendations, I experimented with various builds, including up to version 23.05.1. Unfortunately, each time, the boot process hangs at 'rcu: INFO: rcu_sched self-detected stall on CPU,' as indicated in the dmesg output below. This stall message repeats every 3 minutes.

I managed to get it to boot via TFTP and used the following command: 'bootoctlinux 0x5500000 numcores=2 endbootargs mem=0.'

I would appreciate any ideas or input on identifying and resolving the booting issue. Thank you in advance.

dmesg using 19.07.10 successful boot
[    0.000000] Linux version 4.14.275 (builder@buildhost) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11427-9ce6aa9d8d)) #0 SMP Sat Apr 16 13:13:32 2022
[    0.000000] CVMSEG size: 2 cache lines (256 bytes)
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 000d0601 (Cavium Octeon+)
[    0.000000] Checking for the multiply/shift bug... no.
[    0.000000] Checking for the daddiu bug... no.
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 0000000004c00000 @ 0000000003100000 (usable)
[    0.000000]  memory: 0000000001f5a220 @ 0000000001100000 (usable)
[    0.000000] Wasting 243712 bytes for tracking 4352 unused pages
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Using internal Device Tree.
[    0.000000] software IO TLB: mapped [mem 0x0310b000-0x0314b000] (0MB)
[    0.000000] Primary instruction cache 32kB, virtually tagged, 4 way, 64 sets, linesize 128 bytes.
[    0.000000] Primary data cache 16kB, 64-way, 2 sets, linesize 128 bytes.
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000000000000-0x00000000efffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003059fff]
[    0.000000]   node   0: [mem 0x0000000003100000-0x0000000007cfffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007cfffff]
[    0.000000] random: get_random_bytes called from 0xffffffff817646d8 with crng_init=0
[    0.000000] percpu: Embedded 18 pages/cpu s35632 r8192 d29904 u73728
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 31396
[    0.000000] Kernel command line:  console=ttyS0,115200
[    0.000000] PID hash table entries: 512 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.000000] Memory: 73520K/127336K available (5363K kernel code, 351K rwdata, 816K rodata, 8880K init, 16680K bss, 53816K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=128, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  CONFIG_RCU_FANOUT set to non-default value of 32
[    0.000000]  RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 127
[    0.355456] clocksource: OCTEON_CVMCOUNT: mask: 0xffffffffffffffff max_cycles: 0x45306eca54, max_idle_ns: 440795215369 ns
[    0.366396] Calibrating delay loop (skipped) preset value.. 600.00 BogoMIPS (lpj=1200000)
[    0.374509] pid_max: default: 32768 minimum: 301
[    0.379330] Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
[    0.385769] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes)
[    0.393923] Checking for the daddi bug... no.
[    0.399739] Hierarchical SRCU implementation.
[    0.405282] smp: Bringing up secondary CPUs ...
[    0.410808] SMP: Booting CPU01 (CoreId  1)...
[    0.415277] CPU1 revision is: 000d0601 (Cavium Octeon+)
[    0.415576] smp: Brought up 1 node, 2 CPUs
[    0.430654] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.440363] futex hash table entries: 512 (order: 4, 65536 bytes)
[    0.447458] NET: Registered protocol family 16
[    0.461205] Not in host mode, PCI Controller not initialized
[    0.491347] SCSI subsystem initialized
[    0.495849] usbcore: registered new interface driver usbfs
[    0.501440] usbcore: registered new interface driver hub
[    0.506858] usbcore: registered new device driver usb
[    0.515073] clocksource: Switched to clocksource OCTEON_CVMCOUNT
[    0.523274] NET: Registered protocol family 2
[    0.527804] IP idents hash table entries: 2048 (order: 2, 16384 bytes)
[    0.535439] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.542376] TCP bind hash table entries: 1024 (order: 3, 32768 bytes)
[    0.548794] TCP: Hash tables configured (established 1024 bind 1024)
[    0.555296] UDP hash table entries: 256 (order: 2, 24576 bytes)
[    0.561188] UDP-Lite hash table entries: 256 (order: 2, 24576 bytes)
[    0.567834] NET: Registered protocol family 1
[    0.834890] random: fast init done
[    0.849612] Crashlog allocated RAM at address 0x3f00000
[    0.856901] workingset: timestamp_bits=62 max_order=15 bucket_order=0
[    0.880537] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.886816] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.903759] io scheduler noop registered
[    0.907604] io scheduler deadline registered (default)
[    0.913775] octeon_gpio 1070000000800.gpio-controller: OCTEON GPIO driver probed.
[    0.921792] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.933960] console [ttyS0] disabled
[    0.937538] 1180000000800.serial: ttyS0 at MMIO 0x1180000000800 (irq = 41, base_baud = 18750000) is a OCTEON
[    0.947317] console [ttyS0] enabled
[    0.947317] console [ttyS0] enabled
[    0.954241] bootconsole [early0] disabled
[    0.954241] bootconsole [early0] disabled
[    0.963259] 1180000000c00.serial: ttyS1 at MMIO 0x1180000000c00 (irq = 42, base_baud = 18750000) is a OCTEON
[    0.974015] octeon_rng octeon_rng: Octeon Random Number Generator
[    0.991292] loop: module loaded
[    0.995744] of-flash 1f400000.nor: Can't get bank width from device tree
[    1.003257] [Firmware Warn]: /soc@0/mdio@1180000001800/ethernet-phy@4: Whitelisted compatible string. Please remove
[    1.035511] [Firmware Warn]: /soc@0/mdio@1180000001800/ethernet-phy@9: Whitelisted compatible string. Please remove
[    1.046170] mdio_bus 8001180000001800: MDIO device at address 9 is missing.
[    1.053217] mdio_octeon 1180000001800.mdio: Probed
[    1.059143] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.065757] ehci-pci: EHCI PCI platform driver
[    1.070415] ehci-platform: EHCI generic platform driver
[    1.076060] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.082365] ohci-platform: OHCI generic platform driver
[    1.088170] usbcore: registered new interface driver usb-storage
[    1.094340] octeon_wdt: Initial granularity 5 Sec
[    1.104966] Interface 0 has 3 ports (RGMII)
[    1.115046] octeon-hcd 16f0010000000.usbc: controller reset failed (gintsts=0xb500cc6a) - retrying
[    1.248143] octeon-hcd 16f0010000000.usbc: controller reset failed (gintsts=0xb500cc6a) - retrying
[    1.376128] octeon-hcd 16f0010000000.usbc: controller reset failed (gintsts=0xb500cc6a) - retrying
[    1.504126] octeon-hcd 16f0010000000.usbc: controller reset failed (gintsts=0xb500cc6a) - retrying
[    1.632127] octeon-hcd 16f0010000000.usbc: controller reset failed (gintsts=0xb500cc6a) - retrying
[    1.760162] octeon-hcd: probe of 16f0010000000.usbc failed with error -1
[    1.768841] NET: Registered protocol family 10
[    1.776563] Segment Routing with IPv6
[    1.780483] NET: Registered protocol family 17
[    1.785126] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.798176] 8021q: 802.1Q VLAN Support v1.8
[    1.802688] Bootbus flash: Setting flash for 32MB flash at 0x1dc00000
[    1.809525] phys_mapped_flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x00227e
[    1.820049] Amd/Fujitsu Extended Query Table at 0x0040
[    1.825298]   Amd/Fujitsu Extended Query version 1.3.
[    1.830417] number of CFI chips: 1
[    1.838035] OF: fdt: not creating '/sys/firmware/fdt': CRC check failed
[    1.856660] Freeing unused kernel memory: 8880K
[    1.861273] This architecture does not have kernel memory protection.
[    1.890828] init: Console is alive
[    1.894804] init: - watchdog -
[    1.917631] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    1.924881] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    1.939759] init: - preinit -
[    2.236645] random: jshn: uninitialized urandom read (4 bytes read)
[    2.314553] random: jshn: uninitialized urandom read (4 bytes read)
[    2.373816] random: jshn: uninitialized urandom read (4 bytes read)
[    2.428028] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    5.645411] procd: - early -
[    5.648650] procd: - watchdog -
[    6.257246] procd: - watchdog -
[    6.261156] procd: - ubus -
[    6.273265] urandom_read: 1 callbacks suppressed
[    6.273278] random: ubusd: uninitialized urandom read (4 bytes read)
[    6.314352] random: ubusd: uninitialized urandom read (4 bytes read)
[    6.321317] random: ubusd: uninitialized urandom read (4 bytes read)
[    6.329690] procd: - init -
Please press Enter to activate this console.
[    6.837600] kmodloader: loading kernel modules from /etc/modules.d/*
[    6.849099] urngd: v1.0.2 started.
[    6.852039] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    6.871462] ip_tables: (C) 2000-2006 Netfilter Core Team
[    6.888417] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[    6.967203] xt_time: kernel timezone is -0000
[    6.985931] PPP generic driver version 2.4.2
[    6.993637] NET: Registered protocol family 24
[    7.003909] kmodloader: done loading kernel modules from /etc/modules.d/*
[    7.007371] random: crng init done
[    7.014276] random: 3 urandom warning(s) missed due to ratelimiting```
dmesg using 21.02.0 failed boot
[    0.000000] Linux version 5.4.143 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16279-5cc0535800)) #0 SMP Tue Aug 31 22:20:08 2021
[    0.000000] CVMSEG size: 0 cache lines (0 bytes)
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 000d0601 (Cavium Octeon+)
[    0.000000] Checking for the multiply/shift bug... no.
[    0.000000] Checking for the daddiu bug... no.
[    0.000000] Wasting 278528 bytes for tracking 4352 unused pages
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Using internal Device Tree.
[    0.000000] software IO TLB: mapped [mem 0x03409000-0x03449000] (0MB)
[    0.000000] Primary instruction cache 32kB, virtually tagged, 4 way, 64 sets, linesize 128 bytes.
[    0.000000] Primary data cache 16kB, 64-way, 2 sets, linesize 128 bytes.
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000001100000-0x00000000efffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000001100000-0x000000000338bfff]
[    0.000000]   node   0: [mem 0x0000000003400000-0x0000000007bfffff]
[    0.000000] Zeroed struct page in unavailable ranges: 38260 pages
[    0.000000] Initmem setup node 0 [mem 0x0000000001100000-0x0000000007bfffff]
[    0.000000] percpu: Embedded 18 pages/cpu s35872 r8192 d29664 u73728
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 26848
[    0.000000] Kernel command line:  console=ttyS0,115200
[    0.000000] Dentry cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 68980K/109104K available (6757K kernel code, 370K rwdata, 1048K rodata, 10500K init, 16691K bss, 40124K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=128, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     CONFIG_RCU_FANOUT set to non-default value of 32.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=2.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 127
[    0.000000] random: get_random_bytes called from 0xffffffff818ffa20 with crng_init=0
[    0.292770] clocksource: OCTEON_CVMCOUNT: mask: 0xffffffffffffffff max_cycles: 0x45306eca54, max_idle_ns: 440795215369 ns
[    0.311428] Calibrating delay loop (skipped) preset value.. 600.00 BogoMIPS (lpj=1200000)
[    0.319542] pid_max: default: 32768 minimum: 301
[    0.324547] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.331671] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.341077] Checking for the daddi bug... no.
[    0.347579] rcu: Hierarchical SRCU implementation.
[    0.353194] smp: Bringing up secondary CPUs ...
[    0.358942] SMP: Booting CPU01 (CoreId  1)...
[    0.363363] CPU1 revision is: 000d0601 (Cavium Octeon+)
[    0.363662] smp: Brought up 1 node, 2 CPUs
[    0.378747] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.388454] futex hash table entries: 512 (order: 4, 65536 bytes, linear)
[    0.396592] NET: Registered protocol family 16
[    0.411558] Not in host mode, PCI Controller not initialized
[    0.457144] SCSI subsystem initialized
[    0.461596] usbcore: registered new interface driver usbfs
[    0.467205] usbcore: registered new interface driver hub
[    0.472583] usbcore: registered new device driver usb
[    0.477627] EDAC MC: Ver: 3.0.0
[    0.482242] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.494188] clocksource: Switched to clocksource OCTEON_CVMCOUNT
[    0.502068] thermal_sys: Registered thermal governor 'step_wise'
[    0.502645] NET: Registered protocol family 2
[    0.513131] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.521644] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.530012] TCP established hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.537806] TCP bind hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.544880] TCP: Hash tables configured (established 1024 bind 1024)
[    0.551383] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.557865] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.565290] NET: Registered protocol family 1
[    0.569617] PCI: CLS 0 bytes, default 128
[    0.726192] random: fast init done
[    0.860139] workingset: timestamp_bits=46 max_order=15 bucket_order=0
[    0.894727] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.900960] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.915811] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.925021] octeon_gpio 1070000000800.gpio-controller: OCTEON GPIO driver probed.
[    0.933496] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.945113] printk: console [ttyS0] disabled
[    0.949415] 1180000000800.serial: ttyS0 at MMIO 0x1180000000800 (irq = 41, base_baud = 18750000) is a OCTEON
[    0.959202] printk: console [ttyS0] enabled
[    0.959202] printk: console [ttyS0] enabled
[    0.967512] printk: bootconsole [early0] disabled
[    0.967512] printk: bootconsole [early0] disabled
[    0.977866] 1180000000c00.serial: ttyS1 at MMIO 0x1180000000c00 (irq = 42, base_baud = 18750000) is a OCTEON
[    0.988604] octeon_rng octeon_rng: Octeon Random Number Generator
[    1.006820] loop: module loaded
[    1.009995] Loading iSCSI transport class v2.0-870.
[    1.017623] physmap-flash 1f400000.nor: Can't get bank width from device tree
[    1.024941] physmap-flash: probe of 1f400000.nor failed with error -22
[    1.032509] libphy: mdio_octeon: probed
[    1.036479] [Firmware Warn]: /soc@0/mdio@1180000001800/ethernet-phy@4: Whitelisted compatible string. Please remove
[    1.068069] [Firmware Warn]: /soc@0/mdio@1180000001800/ethernet-phy@9: Whitelisted compatible string. Please remove
[    1.078759] mdio_bus 8001180000001800: MDIO device at address 9 is missing.
[    1.085800] mdio_octeon 1180000001800.mdio: Probed
[    1.091323] libphy: Fixed MDIO Bus: probed
[    1.096728] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.103349] ehci-pci: EHCI PCI platform driver
[    1.108002] ehci-platform: EHCI generic platform driver
[    1.113606] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.119911] ohci-platform: OHCI generic platform driver
[    1.125647] usbcore: registered new interface driver usb-storage
[    1.132692] i2c-octeon 1180000001000.i2c: probed
[    1.137784] octeon_wdt: Initial granularity 5 Sec
[    1.143690] EDAC DEVICE0: Giving out device to module octeon-cpu controller cache: DEV octeon_pc_edac (INTERRUPT)
[    1.154538] EDAC DEVICE1: Giving out device to module octeon-l2c controller octeon_l2c_err: DEV octeon_l2c_edac (POLLED)
[    1.165810] octeon_lmc_edac octeon_lmc_edac.0: Disabled (ECC not enabled)
[    1.178284] Interface 0 has 3 ports (RGMII)
[    9.466220] random: crng init done
[   61.214141] rcu: INFO: rcu_sched self-detected stall on CPU
[   61.219764] rcu:     1-....: (14999 ticks this GP) idle=196/1/0x4000000000000002 softirq=343/343 fqs=7500
[   61.229187]  (t=15002 jiffies g=-879 q=68)
[   61.233303] NMI backtrace for cpu 1
[   61.236819] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.4.143 #0
[   61.242846] Stack : 0000000000000000 0000000000000008 8000000006c1ba50 c84967ecb5ea245c
[   61.250889]         8000000006c1bbe0 0000000000000000 0000000000000000 0000000000000003
[   61.258927]         0000000000000074 8000000006441818 6d6d3a2073776170 7065722f30204e6f
[   61.266969]         0000000000000010 ffffffff81792680 0000000000000010 0000000000000000
[   61.275009]         0000000000000000 8000000006c1ba50 ffffffff81900000 0000000000000000
[   61.283048]         0000000000000001 ffffffff818bb328 0000000000000001 0000000000000000
[   61.291088]         0000000000000007 ffffffff814c4ca8 0000000000000008 ffffffff82340008
[   61.299129]         8000000006c40000 8000000006c1ba50 ffffffff818b0000 ffffffff8111b7b0
[   61.307170]         0000000000000000 0000000000000000 0000000000000000 0000000000000000
[   61.315208]         0000000000000000 ffffffff8111b7b4 0000000000000000 0000000000000000
[   61.323248]         ...
[   61.325710] Call Trace:
[   61.325730] [<ffffffff81792680>] 0xffffffff81792680
[   61.333082] [<ffffffff81900000>] 0xffffffff81900000
[   61.337984] [<ffffffff814c4ca8>] 0xffffffff814c4ca8
[   61.342886] [<ffffffff8111b7b0>] 0xffffffff8111b7b0
[   61.347787] [<ffffffff8111b7b4>] 0xffffffff8111b7b4
[   61.352691] [<ffffffff8177ac24>] 0xffffffff8177ac24
[   61.357592] [<ffffffff81119370>] 0xffffffff81119370
[   61.362493] [<ffffffff817813c4>] 0xffffffff817813c4
[   61.367393] [<ffffffff81119370>] 0xffffffff81119370
[   61.372293] [<ffffffff81781580>] 0xffffffff81781580
[   61.377195] [<ffffffff81190ab0>] 0xffffffff81190ab0
[   61.382098] [<ffffffff8119591c>] 0xffffffff8119591c
[   61.387003] [<ffffffff811a9198>] 0xffffffff811a9198
[   61.391904] [<ffffffff8119b19c>] 0xffffffff8119b19c
[   61.396804] [<ffffffff811a9214>] 0xffffffff811a9214
[   61.401705] [<ffffffff811a9198>] 0xffffffff811a9198
[   61.406605] [<ffffffff8119bec4>] 0xffffffff8119bec4
[   61.411509] [<ffffffff8119c3ec>] 0xffffffff8119c3ec
[   61.416414] [<ffffffff8111e064>] 0xffffffff8111e064
[   61.421313] [<ffffffff81185368>] 0xffffffff81185368
[   61.426217] [<ffffffff811854d0>] 0xffffffff811854d0
[   61.431120] [<ffffffff8118a588>] 0xffffffff8118a588
[   61.436021] [<ffffffff811848d8>] 0xffffffff811848d8
[   61.440921] [<ffffffff8179877c>] 0xffffffff8179877c
[   61.445821] [<ffffffff811065a8>] 0xffffffff811065a8
[   61.450723] [<ffffffff8111786c>] 0xffffffff8111786c
[   61.455617]```

Hi, if've got also a LRT214.
I like the device but without further updates, no thanks.
Did you succeed in installing?