Posted by
Grommish on
May 01, 2019; 9:36am
URL: https://itus.accessinnov.com/Dead-fish-tp1712p1716.html
Well, just for giggles, I banged out a OpenWRT image and loaded it to the Shield. It boots, though it's just a base OS.
I copied the ItusgatewayImage to a backup and loaded the .bin I compiled into that slot, threw the switch to Gateway mode and there we go.
So.. What next?
OCTEON eMMC stage 1 bootloader
Partition: 1, start: 0x0000000000000800, size: 0x0000000000200001
Reading 470976 bytes.
................................................................................................................... Done.
Loaded OCTBOOT2BIN, size: 0x0000000000072FC0
Branching to stage 2 at: 0xFFFFFFFF81004000
Board TLV descriptor Read - RHino continues ... 2 board 0x4e26 major 1 minor 0, DDR HERTZ 0 hz
Rhino: early board init, mem_clk 0x29b ..
U-Boot 2013.07 (Development build, svnversion: u-boot:exported, exec:) (Build time: Mar 27 2015 - 10:49:38)
Initializing DRAM
U-Boot is not RAM-resident
Rhino: lookup_ddr_config_structure: cpu_id 890370 board_type 20006 ...
Rhino: cpu_id 0xd9602 board_type 0x4e26 major 0x1 minor 0x0 mask 1 ...
Initializing DDR, clock = 667000000hz, reference = 50000000hz
LMC0_DCLK_CNT: 0xffffffffffffffff
Measured DDR clock 666666652 Hz
Mem size in MBYTES: 1024
RHino: new Ram size 1024MiB (0x40000000)
Ram size 1024MiB (0x40000000)
Clearing memory from 0 to 1048576
Done clearing memory
CUST_PRIVATE_RHINO_ITUS7X board revision major:1, minor:0, serial #:
OCTEON CN7020-AAP pass 1.2, Core clock: 1000 MHz, IO clock: 600 MHz, DDR clock: 667 MHz (1334 Mhz DDR)
Base DRAM address used by u-boot: 0x4f804000, size: 0x7fc000
DRAM: 1 GiB
Clearing DRAM.....Clearing base address: 0x100000, size: 0xff00000, ub_base: 0x4f804000, ub_size: 0x7fc000
Stack: 0xc03f5c60
Done clearing memory, ub_base: 0x4f804000
.Clearing base address: 0x20000000, size: 0x30000000, ub_base: 0x4f804000, ub_size: 0x7fc000
Stack: 0xc03f5c60
Done clearing memory, ub_base: 0x4f804000
done
Using default environment
MMC: Octeon MMC/SD0: 1
Hit any key to stop autoboot: 0
reading u-boot-octeon_rhino_itus7x.bin
early_board_init: Early board init .................
Importing environment from RAM address 0x1000
RAM environment is 33 bytes
U-Boot 2013.07 (Development build, svnversion: u-boot:exported, exec:) (Build time: May 21 2015 - 11:11:49)
Initializing DRAM
U-Boot is RAM resident
Using DRAM size from environment: 1024 MBytes
DDR clock is 667 MHz
RHino: new Ram size 1024MiB (0x40000000)
Ram size 1024MiB (0x40000000)
Preserving environment in RAM
Done clearing memory
Configuring DLM0 for QSGMII
DLM1: mini-PCIe slots selected
CUST_PRIVATE_RHINO_ITUS7X board revision major:0, minor:1, serial #: 752011191521-36409
OCTEON CN7020-AAP pass 1.2, Core clock: 1000 MHz, IO clock: 600 MHz, DDR clock: 667 MHz (1334 Mhz DDR)
Base DRAM address used by u-boot: 0x4f000000, size: 0x1000000
DRAM: 1 GiB
Clearing DRAM.....Clearing base address: 0x100000, size: 0xff00000, ub_base: 0x4f000000, ub_size: 0x1000000
Stack: 0xc0f71c60
Done clearing memory, ub_base: 0x4f000000
.Clearing base address: 0x20000000, size: 0x30000000, ub_base: 0x4f000000, ub_size: 0x1000000
Stack: 0xc0f71c60
Done clearing memory, ub_base: 0x4f000000
done
board_fixup_fdt: Found PCIe GPIO2 ..
MMC device not found, initializing
Octeon MMC/SD0: 1
*** Warning - bad CRC, using default environment
PCIe: Link timeout on port 0, probably the slot is empty
PCIe: Port 1 not in PCIe mode, skipping
PCIe: Port 2 not in PCIe mode, skipping
Net: cvmx_helper_interface: interface 0
cvmx_helper_interface: interface 1
cvmx_helper_interface: interface 4
octeth0, octeth1, octeth2, octeth3
Type the command 'usb start' to scan for USB storage devices.
late_board_init ..
ITUS: SW1 3 Gateway (OUTER)
Hit any key to stop autoboot: 0
mmc1(part 0) is current device
reading ItusgatewayImage
13172752 bytes read in 1571 ms (8 MiB/s)
argv[2]: mem=0
argv[3]: numcores=2
argv[4]: serial#=752011191521-36409
Allocating memory for ELF segment: addr: 0xffffffff81100000 (adjusted to: 0x1100000), size 0x1dd6cf0
## Loading big-endian Linux kernel with entry point: 0xffffffff81604000 ...
Bootloader: Done loading app on coremask: 0x3
Starting cores:
0x3
[ 0.000000] Linux version 4.14.113 (grommish@gribbits) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r9914-430b66bbe8)) #0 SMP Mon Apr 29 199
[ 0.000000] Skipping L2 locking due to reduced L2 cache size
[ 0.000000] CVMSEG size: 2 cache lines (256 bytes)
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 000d9602 (Cavium Octeon III)
[ 0.000000] FPU revision is: 00739600
[ 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: 000000000c000000 @ 0000000002f00000 (usable)
[ 0.000000] memory: 0000000000c00000 @ 000000000f200000 (usable)
[ 0.000000] memory: 000000002f000000 @ 0000000020000000 (usable)
[ 0.000000] memory: 0000000001dd6cf0 @ 0000000001100000 (usable)
[ 0.000000] Wasting 243712 bytes for tracking 4352 unused pages
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Using passed Device Tree.
[ 0.000000] software IO TLB: mapped [mem 0x02f15000-0x02f55000] (0MB)
[ 0.000000] Primary instruction cache 78kB, virtually tagged, 39 way, 16 sets, linesize 128 bytes.
[ 0.000000] Primary data cache 32kB, 32-way, 8 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-0x0000000002ed5fff]
[ 0.000000] node 0: [mem 0x0000000002f00000-0x000000000eefffff]
[ 0.000000] node 0: [mem 0x000000000f200000-0x000000000fdfffff]
[ 0.000000] node 0: [mem 0x0000000020000000-0x000000004effffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000004effffff]
[ 0.000000] random: get_random_bytes called from start_kernel+0x90/0x4fc with crng_init=0
[ 0.000000] percpu: Embedded 19 pages/cpu @8000000002f62000 s39472 r8192 d30160 u77824
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 253216
[ 0.000000] Kernel command line: bootoctlinux 0x20000000 numcores=2 serial#=752011191521-36409 console=ttyS0,115200
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.000000] Memory: 962520K/1026904K available (5167K kernel code, 333K rwdata, 1252K rodata, 7116K init, 16667K bss, 64384K reserve)
[ 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.000000] CIB interrupt controller probed: 800107000000e000 23
[ 0.000000] CIB interrupt controller probed: 800107000000e200 12
[ 0.000000] CIB interrupt controller probed: 800107000000e400 6
[ 0.000000] CIB interrupt controller probed: 800107000000ec00 15
[ 0.000000] CIB interrupt controller probed: 800107000000e600 4
[ 0.000000] CIB interrupt controller probed: 800107000000e800 11
[ 0.000000] CIB interrupt controller probed: 800107000000e900 11
[ 20.884108] clocksource: OCTEON_CVMCOUNT: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[ 20.895165] Calibrating delay loop (skipped) preset value.. 2000.00 BogoMIPS (lpj=4000000)
[ 20.903414] pid_max: default: 32768 minimum: 301
[ 20.908077] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 20.914698] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 20.922244] Checking for the daddi bug... no.
[ 20.926882] Hierarchical SRCU implementation.
[ 20.931429] smp: Bringing up secondary CPUs ...
[ 20.936059] SMP: Booting CPU01 (CoreId 1)...
[ 20.940364] CPU1 revision is: 000d9602 (Cavium Octeon III)
[ 20.940368] FPU revision is: 00739600
[ 20.940477] smp: Brought up 1 node, 2 CPUs
[ 20.955903] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 20.965523] futex hash table entries: 512 (order: 4, 65536 bytes)
[ 20.971890] NET: Registered protocol family 16
[ 20.980825] PCIe: Initializing port 0
[ 20.987562] PCIe: BIST2 FAILED for port 0 (0x0000000000000003)
[ 21.421677] random: fast init done
[ 22.993261] PCIe: Link timeout on port 0, probably the slot is empty
[ 22.999563] PCIe: Initializing port 1
[ 23.006428] PCIe: BIST FAILED for port 1 (0xffffffffffffffff)
[ 25.017012] PCIe: Link timeout on port 1, probably the slot is empty
[ 25.028952] SCSI subsystem initialized
[ 25.032773] usbcore: registered new interface driver usbfs
[ 25.038163] usbcore: registered new interface driver hub
[ 25.043456] usbcore: registered new device driver usb
[ 25.048599] PCI host bridge to bus 0000:00
[ 25.052544] pci_bus 0000:00: root bus resource [mem 0x1000000000000]
[ 25.058878] pci_bus 0000:00: root bus resource [io 0x0000]
[ 25.064443] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 25.071224] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 25.079941] clocksource: Switched to clocksource OCTEON_CVMCOUNT
[ 25.086347] NET: Registered protocol family 2
[ 25.090971] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 25.097955] TCP bind hash table entries: 8192 (order: 6, 262144 bytes)
[ 25.104543] TCP: Hash tables configured (established 8192 bind 8192)
[ 25.110810] UDP hash table entries: 512 (order: 3, 49152 bytes)
[ 25.116682] UDP-Lite hash table entries: 512 (order: 3, 49152 bytes)
[ 25.123138] NET: Registered protocol family 1
[ 25.169965] Crashlog allocated RAM at address 0x3f00000
[ 25.175362] workingset: timestamp_bits=62 max_order=18 bucket_order=0
[ 25.185905] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 25.191741] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 25.203024] io scheduler noop registered
[ 25.206814] io scheduler deadline registered (default)
[ 25.212202] octeon_gpio 1070000000800.gpio-controller: OCTEON GPIO driver probed.
[ 25.219727] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 25.226404] console [ttyS0] disabled
[ 25.229861] 1180000000800.serial: ttyS0 at MMIO 0x1180000000800 (irq = 44, base_baud = 37500000) is a OCTEON
[ 25.239661] console [ttyS0] enabled
[ 25.239661] console [ttyS0] enabled
[ 25.246606] bootconsole [early0] disabled
[ 25.246606] bootconsole [early0] disabled
[ 25.254884] 1180000000c00.serial: ttyS1 at MMIO 0x1180000000c00 (irq = 45, base_baud = 37500000) is a OCTEON
[ 25.264997] octeon_rng octeon_rng: Octeon Random Number Generator
[ 25.271362] cacheinfo: Failed to find cpu0 device node
[ 25.276532] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 25.285223] loop: module loaded
[ 25.288887] libphy: mdio_octeon: probed
[ 25.292797] [Firmware Warn]: /soc@0/mdio@1180000001800/ethernet-phy@0: Whitelisted compatible string. Please remove
[ 25.308551] irq: :soc@0:gpio-controller@1070000000800 didn't like hwirq-0x7 to VIRQ48 mapping (rc=-22)
[ 25.318009] [Firmware Warn]: /soc@0/mdio@1180000001800/ethernet-phy@1: Whitelisted compatible string. Please remove
[ 25.333085] irq: :soc@0:gpio-controller@1070000000800 didn't like hwirq-0x7 to VIRQ48 mapping (rc=-22)
[ 25.342555] [Firmware Warn]: /soc@0/mdio@1180000001800/ethernet-phy@2: Whitelisted compatible string. Please remove
[ 25.357609] irq: :soc@0:gpio-controller@1070000000800 didn't like hwirq-0x7 to VIRQ48 mapping (rc=-22)
[ 25.367065] [Firmware Warn]: /soc@0/mdio@1180000001800/ethernet-phy@3: Whitelisted compatible string. Please remove
[ 25.382174] irq: :soc@0:gpio-controller@1070000000800 didn't like hwirq-0x7 to VIRQ48 mapping (rc=-22)
[ 25.391613] mdio_octeon 1180000001800.mdio: Probed
[ 25.396623] libphy: Fixed MDIO Bus: probed
[ 25.400821] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 25.407371] ehci-platform: EHCI generic platform driver
[ 25.412690] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 25.418906] ohci-platform: OHCI generic platform driver
[ 25.424269] usbcore: registered new interface driver usb-storage
[ 25.430328] octeon_wdt: Initial granularity 5 Sec
[ 26.341467] Interface 0 has 4 ports (SGMII)
[ 26.345729] Interface 1 has 4 ports (SGMII)
[ 26.350482] Interface 3 has 4 ports (LOOP)
[ 26.360594] NET: Registered protocol family 10
[ 26.366922] Segment Routing with IPv6
[ 26.370684] NET: Registered protocol family 17
[ 26.375177] 8021q: 802.1Q VLAN Support v1.8
[ 26.380128] OF: fdt: not creating '/sys/firmware/fdt': CRC check failed
[ 26.389858] Freeing unused kernel memory: 7116K
[ 26.394418] This architecture does not have kernel memory protection.
[ 26.406385] init: Console is alive
[ 26.409998] init: - watchdog -
[ 26.417911] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 26.424826] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 26.433666] init: - preinit -
[ 26.514818] random: jshn: uninitialized urandom read (4 bytes read)
[ 26.540645] random: jshn: uninitialized urandom read (4 bytes read)
[ 26.560353] random: jshn: uninitialized urandom read (4 bytes read)
[ 26.588772] eth0: 1000 Mbps Full duplex, port 0, queue 0
[ 26.594233] 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
[ 27.604131] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 28.338133] Port 0 receive error code 10, packet dropped
[ 28.343483] Port 0 receive error code 10, packet dropped
[ 28.348811] Port 0 receive error code 10, packet dropped
[ 29.671620] eth0: Link down
[ 29.678445] procd: - early -
[ 29.681484] procd: - watchdog -
[ 30.239580] procd: - watchdog -
[ 30.242934] procd: - ubus -
[ 30.248417] urandom_read: 1 callbacks suppressed
[ 30.248422] random: ubusd: uninitialized urandom read (4 bytes read)
[ 30.295508] random: ubusd: uninitialized urandom read (4 bytes read)
[ 30.302049] random: ubusd: uninitialized urandom read (4 bytes read)
[ 30.308814] procd: - init -
Please press Enter to activate this console.
[ 30.381087] kmodloader: loading kernel modules from /etc/modules.d/*
[ 30.390027] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 30.398420] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 30.406693] nf_conntrack version 0.5.0 (7680 buckets, 30720 max)
[ 30.429130] xt_time: kernel timezone is -0000
[ 30.436935] PPP generic driver version 2.4.2
[ 30.441912] NET: Registered protocol family 24
[ 30.447720] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 33.762667] br-lan: port 1(eth0) entered blocking state
[ 33.767947] br-lan: port 1(eth0) entered disabled state
[ 33.773415] device eth0 entered promiscuous mode
[ 33.782421] br-lan: port 1(eth0) entered blocking state
[ 33.787686] br-lan: port 1(eth0) entered forwarding state
[ 33.793238] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 33.810442] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 34.772254] br-lan: port 1(eth0) entered disabled state
[ 37.854122] eth0: 1000 Mbps Full duplex, port 0, queue 0
[ 37.859478] br-lan: port 1(eth0) entered blocking state
[ 37.864728] br-lan: port 1(eth0) entered forwarding state
[ 37.870548] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
BusyBox v1.30.1 () built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r9914-430b66bbe8
-----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/# [ 40.535962] random: crng init done
[ 40.539380] random: 3 urandom warning(s) missed due to ratelimiting
[ 45.104953] mmc1: new DDR MMC card at address 0001
[ 45.110318] mmcblk1: mmc1:0001 P1XXXX 3.60 GiB
[ 45.115001] mmcblk1boot0: mmc1:0001 P1XXXX partition 1 2.00 MiB
[ 45.121059] mmcblk1boot1: mmc1:0001 P1XXXX partition 2 2.00 MiB
[ 45.127109] mmcblk1rpmb: mmc1:0001 P1XXXX partition 3 128 KiB
[ 45.133837] mmcblk1: p1 p2 p3 p4
root@OpenWrt:/# ifconfig
br-lan Link encap:Ethernet HWaddr 2C:26:5F:80:04:A4
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fd0d:195a:738b::1/60 Scope:Global
inet6 addr: fe80::2e26:5fff:fe80:4a4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:1442 (1.4 KiB)
eth0 Link encap:Ethernet HWaddr 2C:26:5F:80:04:A4
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:11 errors:0 dropped:4 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:989 (989.0 B) TX bytes:1588 (1.5 KiB)
eth1 Link encap:Ethernet HWaddr 2C:26:5F:80:04:A5
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:32 errors:0 dropped:0 overruns:0 frame:0
TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2176 (2.1 KiB) TX bytes:2176 (2.1 KiB)
root@OpenWrt:/#
Running Itus Shield v2 Firmware