i dunno WTF i did
but MIPS 16 UP IN THIS BITCH @HAUKE YEYA BOI
U-Boot 2010.06-dirty-LANTIQ-v-2.3.149 (Jan 03 2020 - 14:28:57)
interAptiv
cps cpu/ddr run in 800/666 Mhz
DRAM: 224 MiB
NAND: NAND device: Manufacturer ID: 0xc8, Chip ID: 0xd1 (Gigadevice NAND 128MiB 3,3V 8-bit)
128 MiB
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
In: serial
Out: serial
Err: serial
Net: multi type
Internal phy firmware version: 0x8548
GRX500 Switch
Type "run flash_nfs" to mount root filesystem over NFS
Hit any key to stop autoboot: 0
GRX500 # printenv extra
extra=rdinit=/bin/busybox
GRX500 # setenv extra rdinit=/bin/bash
GRX500 # run kboot
Using GRX500 Switch device
TFTP from server 192.168.2.101; our IP address is 192.168.2.1
Filename 'uImage'.
Load address: 0x80800000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
##########################
done
Bytes transferred = 4194304 (400000 hex)
Using GRX500 Switch device
TFTP from server 192.168.2.101; our IP address is 192.168.2.1
Filename 'rootfs.uboot'.
Load address: 0x82000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
################
done
Bytes transferred = 13582614 (cf4116 hex)
## Booting kernel from Legacy Image at 80800000 ...
Image Name:
Created: 2021-05-15 1:47:53 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 3171940 Bytes = 3 MiB
Load Address: a0020000
Entry Point: a0020400
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
Linux version 4.9.268 (Gagan@GagansMacPro) (gcc version 10.3.0 (GCC) #3690 SMP PREEMPT Fri May 14 19:47:15 MDT 2021
SoC: GRX500 rev 1.2
bootconsole [early0] enabled
CPU0 revision is: 0001a120 (MIPS interAptiv (multi))
Enhanced Virtual Addressing (EVA Legacy 512MB) activated
MIPS: machine is EASY350 ANYWAN (GRX350) Main model
Coherence Manager IOCU detected
Hardware DMA cache coherency disabled
Determined physical RAM map:
memory: 0e000000 @ 20000000 (usable)
memory: 000085ee @ 209a3f00 (reserved)
Initial ramdisk at: 0x82000000 (13582614 bytes)
cma: Reserved 32 MiB at 0x2c000000
SMPCMP: CPU0: cmp_smp_setup
VPE topology {2,2} total 4
Detected 3 available secondary CPU(s)
Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
Zone ranges:
DMA [mem 0x0000000020000000-0x0000000027ffffff]
Normal [mem 0x0000000028000000-0x000000002dffffff]
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x0000000020000000-0x000000002dffffff]
Initmem setup node 0 [mem 0x0000000020000000-0x000000002dffffff]
On node 0 totalpages: 57344
free_area_init_node: node 0, pgdat 80967a20, node_mem_map 88000040
DMA zone: 256 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 32768 pages, LIFO batch:7
Normal zone: 192 pages used for memmap
Normal zone: 24576 pages, LIFO batch:3
percpu: Embedded 12 pages/cpu s18768 r8192 d22192 u49152
pcpu-alloc: s18768 r8192 d22192 u49152 alloc=12*4096
pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 56896
Kernel command line: console=ttyLTQ0,115200n8r nr_cpus=4 clk_ignore_unused debug root=/dev/ram rootfstype=ramfs rw nocoherentio ramsize=256M rdinit=/bin/bash rd_size=13582614 rd_start=0x82000000
log_buf_len individual max cpu contribution: 4096 bytes
log_buf_len total cpu_extra contributions: 12288 bytes
log_buf_len min size: 16384 bytes
log_buf_len: 32768 bytes
early log buf free: 13632(83%)
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 168076K/229376K available (7248K kernel code, 331K rwdata, 1912K rodata, 348K init, 2896K bss, 28532K reserved, 32768K cma-reserved)
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Preemptible hierarchical RCU implementation.
Build-time adjustment of leaf fanout to 32.
NR_IRQS:527
EIC is off
VINT is on
CPU Clock: 800000000Hz mips_hpt_frequency 400000000Hz
clocksource: gptc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
Calibrating delay loop... 531.45 BogoMIPS (lpj=1062912)
pid_max: default: 4096 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CCA is coherent, multi-core is fine
[vmb_cpu_alloc]:[644] CPU vpet.cpu_status = 11
Outside WAIT got IPI interrupt to launch from cpu 02
MSG_ID = 01Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
CPU2 revision is: 0001a120 (MIPS interAptiv (multi))
Brought up 2 CPUs
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
futex hash table entries: 16 (order: -3, 512 bytes)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
XRX500 GPIO Driver, (C) 2014 Lantiq Deutschland Gmbh
dma-grx500 1e300000.dma: dma3 base address be300000 chained_irq 29 irq_base 30
dma-grx500 1e300000.dma: Init done - rev: a, ports: 1, channels: 64
dma-grx500 1c100000.dma: dma2tx base address bc100000 chained_irq 103 irq_base 104
dma-grx500 1c100000.dma: Init done - rev: a, ports: 1, channels: 16
dma-grx500 1c200000.dma: dma2rx base address bc200000 chained_irq 120 irq_base 121
dma-grx500 1c200000.dma: Init done - rev: a, ports: 1, channels: 32
dma-grx500 1a100000.dma: dma1tx base address ba100000 chained_irq 153 irq_base 154
dma-grx500 1a100000.dma: Init done - rev: a, ports: 1, channels: 16
dma-grx500 1a200000.dma: dma1rx base address ba200000 chained_irq 170 irq_base 171
dma-grx500 1a200000.dma: Init done - rev: a, ports: 1, channels: 12
dma0-grx500 16e00000.dma: base address b6e00000 chained_irq 228 irq_base 229
dma0-grx500 16e00000.dma: Init done - hw rev: A, ports: 4, channels: 16
intel-pinctrl 16c80000.pinctrl: pinbank id: 0, reg: 0xb6c80000, pinbase: 0, pin number: 32, pinmap: 0xf1efefff
intel-pinctrl 16c80000.pinctrl: pinbank id: 1, reg: 0xb6c80100, pinbase: 32, pin number: 32, pinmap: 0x3bff0c1f
intel-pinctrl 16c80000.pinctrl: Total 18 groups, 18 functions
intel-pinctrl 16c80000.pinctrl: gpiochip membase: 0xb6c00000
intel-pinctrl 16c80000.pinctrl: gpiochip membase: 0xb6c00100
FPU Affinity set after 4248 emulations
Unable to get node cqm for prx300-cqm
add_cqm_dev(#133): parse_dts fail for prx300-cqm
No rcu reset for cbm
No syscon phandle specified for wan mux
[cbm] { cbm_xrx500_probe : 5266 }reserving 18874368 bytes @ 8c000000 for CBM
[cbm] { cbm_xrx500_probe : 5277 }reserving 8388608 bytes @ 8d200000 for CBM
[cbm] { cbm_xrx500_probe : 5283 }94 irq
[cbm] { cbm_xrx500_probe : 5306 }2
[drv_tmu_ll] { get_cbm_clock : 7794 }CBM Clock: 600000000Hz=600MHZ
Initializing TMU with Base Address=be700000: ...
TMU Initialization Done
0x8c000000 0x1200000 0x800
0x8c000000 0x1200000
0x8d200000 0x800000 0x4000
0x8d200000 0x800000
[cbm] { init_fsqm_buf_std : 812 }init fsqm std successfully
[cbm] { init_fsqm_buf_jumbo : 854 }init fsqm jbo successfully
[cbm] { init_fsqm : 877 }fsqm init successfully
[cbm] { init_cbm_basic : 912 }PHY ADDR STD 0x2c000000
[cbm] { init_cbm_basic : 913 }PHY ADDR JBO 0x2d200000
[cbm] { init_cbm_basic : 931 }init basic CBM successfully
[cbm] { cbm_hw_init : 1812 }CBM HW init
[cbm] { setup_DMA_p2p : 4712 }setup_DMA_p2p executed
[cbm] { reserved_ports_highest : 4771 }2 2 19 35
[cbm] { init_cbm_dqm_cpu_port : 1075 }2
[cbm] { assign_port_from_DT : 456 }0x0 2
[cbm] { assign_port_from_DT : 456 }0x20 2
[cbm] { cbm_add_to_list : 250 }1
[cbm] { reserved_ports_highest : 4771 }1 1 18 34
[cbm] { init_cbm_dqm_cpu_port : 1075 }1
[cbm] { assign_port_from_DT : 456 }0x80 1
[cbm] { reserved_ports_highest : 4771 }3 3 20 36
[cbm] { init_cbm_dqm_cpu_port : 1075 }3
[cbm] { assign_port_from_DT : 456 }0x2000000 3
[cbm] { cbm_add_to_list : 250 }1
[cbm] { reserved_ports_highest : 4771 }6 6 0 16
[cbm] { dma_port_enable : 4245 }6 0x4
random: fast init done
[cbm] { reserved_ports_highest : 4771 }7 7 1 17
[cbm] { dma_port_enable : 4245 }7 0x4
[cbm] { reserved_ports_highest : 4771 }8 8 2 18
[cbm] { dma_port_enable : 4245 }8 0x4
[cbm] { reserved_ports_highest : 4771 }9 9 3 19
[cbm] { dma_port_enable : 4245 }9 0x4
[cbm] { reserved_ports_highest : 4771 }10 10 4 20
[cbm] { dma_port_enable : 4245 }10 0x4
[cbm] { reserved_ports_highest : 4771 }11 11 5 21
[cbm] { dma_port_enable : 4245 }11 0x4
[cbm] { reserved_ports_highest : 4771 }12 12 6 22
[cbm] { dma_port_enable : 4245 }12 0x4
[cbm] { reserved_ports_highest : 4771 }13 13 7 23
[cbm] { dma_port_enable : 4245 }13 0x4
[cbm] { reserved_ports_highest : 4771 }14 14 8 24
[cbm] { dma_port_enable : 4245 }14 0x4
[cbm] { reserved_ports_highest : 4771 }15 15 9 25
[cbm] { dma_port_enable : 4245 }15 0x4
[cbm] { reserved_ports_highest : 4771 }16 16 10 26
[cbm] { dma_port_enable : 4245 }16 0x4
[cbm] { reserved_ports_highest : 4771 }17 17 11 27
[cbm] { dma_port_enable : 4245 }17 0x4
[cbm] { reserved_ports_highest : 4771 }18 18 -16 0
[cbm] { dma_port_enable : 4245 }18 0x4
[cbm] { reserved_ports_highest : 4771 }19 19 12 28
[cbm] { dma_port_enable : 4245 }19 0x4
[cbm] { reserved_ports_highest : 4771 }20 20 13 29
[cbm] { dma_port_enable : 4245 }20 0x4
[cbm] { init_special_ports : 4778 }20
[cbm] { cbm_add_to_list : 250 }1
[cbm] { reserved_ports_highest : 4771 }21 21 14 30
[cbm] { dma_port_enable : 4245 }21 0x4
[cbm] { init_special_ports : 4778 }21
[cbm] { cbm_add_to_list : 250 }1
[cbm] { reserved_ports_highest : 4771 }22 22 25 41
[cbm] { dma_port_enable : 4245 }22 0x4
[cbm] { reserved_ports_highest : 4771 }23 23 15 31
[cbm] { init_cbm_dqm_ldma_port : 1108 }23
[cbm] { reserved_ports_highest : 4771 }5 5 21 37
[cbm] { init_cbm_dqm_scpu_port : 1089 }5
[cbm] { reserved_ports_highest : 4771 }4 4 16 32
[cbm] { init_cbm_dqm_cpu_port : 1075 }4
[cbm] { assign_port_from_DT : 456 }0x8 4
[cbm] { reserved_ports_highest : 4771 }24 24 22 38
[cbm] { init_cbm_dqm_cpu_port : 1075 }24
[cbm] { assign_port_from_DT : 456 }0x8 24
[cbm] { reserved_ports_highest : 4771 }25 25 23 39
[cbm] { init_cbm_dqm_cpu_port : 1075 }25
[cbm] { assign_port_from_DT : 456 }0x8 25
[cbm] { reserved_ports_highest : 4771 }26 26 24 40
[cbm] { init_cbm_dqm_cpu_port : 1075 }26
[cbm] { assign_port_from_DT : 456 }0x8 26
[cbm] { init_cbm_eqm_cpu_port : 938 }0
[cbm] { init_cbm_eqm_cpu_port : 938 }1
[cbm] { init_cbm_eqm_cpu_port : 938 }2
[cbm] { init_cbm_eqm_cpu_port : 938 }3
[cbm] { dma_port_enable : 4245 }5 0x1
[cbm] { dma_port_enable : 4245 }5 0x2
[cbm] { dma_port_enable : 4245 }6 0x1
[cbm] { dma_port_enable : 4245 }6 0x2
[cbm] { dma_port_enable : 4245 }7 0x1
[cbm] { dma_port_enable : 4245 }7 0x2
[cbm] { dma_port_enable : 4245 }8 0x1
[cbm] { dma_port_enable : 4245 }8 0x2
[cbm] { dma_toe_port_enable : 4272 }9 0x1
[cbm] { dma_vrx318_port_enable : 4285 }15 0x1
[cbm] { init_cbm_dqm_cpu_port : 1075 }0
[cbm] { init_cbm_dqm_cpu_port : 1075 }2
Load spreader init successfully
[cbm] { cbm_xrx500_probe : 5362 }CBM Clock: 600000000Hz
[cbm] { cbm_xrx500_probe : 5364 }EQM delay Enabled
[cbm] { igp_delay_set : 4372 }port0 delay16
[cbm] { igp_delay_set : 4372 }port1 delay16
[cbm] { igp_delay_set : 4372 }port2 delay16
[cbm] { igp_delay_set : 4372 }port3 delay16
[cbm] { igp_delay_set : 4372 }port4 delay16
[cbm] { igp_delay_set : 4372 }port5 delay16
[cbm] { igp_delay_set : 4372 }port6 delay16
[cbm] { igp_delay_set : 4372 }port7 delay16
[cbm] { igp_delay_set : 4372 }port8 delay16
[cbm] { igp_delay_set : 4372 }port9 delay16
[cbm] { igp_delay_set : 4372 }port10 delay16
[cbm] { igp_delay_set : 4372 }port11 delay16
[cbm] { igp_delay_set : 4372 }port12 delay16
[cbm] { igp_delay_set : 4372 }port13 delay16
[cbm] { igp_delay_set : 4372 }port14 delay16
[cbm] { igp_delay_set : 4372 }port15 delay16
[cbm] { dequeue_dma_port_init : 4208 }6 0x0 2 1
[cbm] { dequeue_dma_port_init : 4208 }7 0x0 2 2
[cbm] { dequeue_dma_port_init : 4208 }8 0x0 2 3
[cbm] { dequeue_dma_port_init : 4208 }9 0x0 2 4
[cbm] { dequeue_dma_port_init : 4208 }10 0x0 2 5
[cbm] { dequeue_dma_port_init : 4208 }11 0x0 2 6
[cbm] { dequeue_dma_port_init : 4208 }12 0x0 2 9
[cbm] { dequeue_dma_port_init : 4208 }13 0x0 2 10
[cbm] { dequeue_dma_port_init : 4208 }14 0x0 2 11
[cbm] { dequeue_dma_port_init : 4208 }15 0x0 2 12
[cbm] { dequeue_dma_port_init : 4208 }16 0x0 2 13
[cbm] { dequeue_dma_port_init : 4208 }17 0x0 2 14
[cbm] { dequeue_dma_port_init : 4208 }18 0x0 1 13
[cbm] { dequeue_dma_port_init : 4208 }19 0x0 1 15
[cbm] { dequeue_dma_port_init : 4208 }20 0x0 1 5
[cbm] { dequeue_dma_port_init : 4208 }21 0x0 1 6
[cbm] { dequeue_dma_port_init : 4208 }22 0x0 1 11
[cbm] { enqueue_dma_port_init : 4149 }5 0x2 2 0 30
[cbm] { enqueue_dma_port_init : 4149 }5 0x1 2 14 0
[cbm] { enqueue_dma_port_init : 4149 }6 0x2 2 0 31
[cbm] { enqueue_dma_port_init : 4149 }6 0x1 2 15 0
[cbm] { enqueue_dma_port_init : 4149 }7 0x2 1 0 6
[cbm] { enqueue_dma_port_init : 4149 }7 0x1 1 0 0
[cbm] { enqueue_dma_port_init : 4149 }8 0x2 1 0 11
[cbm] { enqueue_dma_port_init : 4149 }8 0x1 1 5 0
[cbm] { cbm_xrx500_probe : 5418 }CBM: Init Done !!
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c-lantiq 16a00000.i2c: version 1.01
try to register spd_mon driverspdmon 16080110.speedm: base address: 0xb6080110
spdmon 16080110.speedm: PHY base address: 0x16080110
spdmon 16080110.speedm: spd_mon driver : init done !!
spd_mon driver registered
clocksource: Switched to clocksource gptc
NET: Registered protocol family 2
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
UDP hash table entries: 128 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
NET: Registered protocol family 1
PCI: CLS 0 bytes, default 32
Trying to unpack rootfs image as initramfs...
random: crng init done
Freeing initrd memory: 13264K
workingset: timestamp_bits=30 max_order=16 bucket_order=0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
io scheduler noop registered
io scheduler cfq registered (default)
intel-pcie-slim-phy 18500000.pciephy: PCIe slim phy[0] init success!
intel-pcie-slim-phy 18000000.pciephy: PCIe slim phy[1] init success!
intel-pcie-slim-phy 18a00000.pciephy: PCIe slim phy[2] init success!
OF: PCI: host bridge /pcie@18900000 ranges:
OF: PCI: MEM 0xb8000000..0xbaffffff -> 0xb8000000
OF: PCI: IO 0xbb800000..0xbb80ffff -> 0xbb800000
intel-pcie-slim-phy 18500000.pciephy: PCIe LCPLL SSC Mode Enabled
intel-pcie 18900000.pcie: intel_pcie_wait_phy_link_up port 0 timeout
intel-pcie: probe of 18900000.pcie failed with error -145
OF: PCI: host bridge /pcie@18400000 ranges:
OF: PCI: MEM 0xb4000000..0xb6ffffff -> 0xb4000000
OF: PCI: IO 0xb7800000..0xb780ffff -> 0xb7800000
intel-pcie-slim-phy 18000000.pciephy: PCIe LCPLL SSC Mode Enabled
intel-pcie 18400000.pcie: intel_pcie_wait_phy_link_up port 1 timeout
intel-pcie: probe of 18400000.pcie failed with error -145
OF: PCI: host bridge /pcie@18e00000 ranges:
OF: PCI: MEM 0xbc000000..0xbeffffff -> 0xbc000000
OF: PCI: IO 0xbf800000..0xbf80ffff -> 0xbf800000
intel-pcie-slim-phy 18a00000.pciephy: PCIe LCPLL SSC Mode Enabled
intel-pcie 18e00000.pcie: intel_pcie_wait_phy_link_up port 2 timeout
intel-pcie: probe of 18e00000.pcie failed with error -145
[mips_tc_init] dma_zalloc_coherent dev->name=(null) sizeof(struct mips_tc_sg_mem)=1680 shared_phy_mem=26838000
[mips_tc_init] dma_zalloc_coherent shared_vir_uncached_mem=a6838000 shared_vir_cached_mem=86838000 shared_working_vir_mem=86838000
=MIPS TC Shared memory: a6838000 86838000 86838000 | Data: a6840000
UMT initialize success on processor: 0 !
HW MCPY driver: Version: 1.1.0, Init Done!
16600000.serial: ttyLTQ0 at MMIO 0x16600000 (irq = 213, base_baud = 0) is a lantiq,asc
console [ttyLTQ0] enabled
console [ttyLTQ0] enabled
bootconsole [early0] disabled
bootconsole [early0] disabled
Lantiq MIPSInterAptiv MPS driver, version 1.0.0.0, (c) 2006-2013 Lantiq Deutschland GmbH
MPS: major Id 251
brd: module loaded
nand: device found, Manufacturer ID: 0xc8, Chip ID: 0xd1
nand: ESMT NAND 128MiB 3,3V 8-bit
nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
Scanning device for bad blocks
8 ofpart partitions found on MTD device 17c00000.nand-parts
Creating 8 MTD partitions on "17c00000.nand-parts":
0x000000000000-0x000000100000 : "uboot"
0x000000100000-0x000000140000 : "ubootconfigA"
0x000000140000-0x000000180000 : "ubootconfigB"
0x000000180000-0x0000001c0000 : "gphyfirmware"
0x0000001c0000-0x0000002c0000 : "calibration"
0x0000002c0000-0x000006ec0000 : "sysv"
0x000007ec0000-0x000007f40000 : "nvram"
0x000007f40000-0x000008000000 : "res"
Lantiq SoC SPI controller rev 9 (TXFS 32, RXFS 32, DMA 1)
[ltq_ssc] { ifx_ssc_init : 3819 }[ifx_ssc_init] force ifx_ssc_cs_low to PORT 1
[ltq_ssc] { ifx_ssc_init : 3820 }[ifx_ssc_init] force ifx_ssc_cs_high to PORT 1
[ltq_ssc] { ifx_ssc_init : 3824 }ifx_ssc_init ifx_ssc_init_count 1
[ltq_ssc] { ifx_ssc_init : 3947 }port name ltq_ssc1
[ltq_ssc] { ifx_ssc_init : 4041 }Lantiq SoC SSC controller rev 9 (TXFS 32, RXFS 32, DMA 1)
libphy: Fixed MDIO Bus: probed
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
phy-xrx500 1c003c00.phy-xrx500: requesting ltq_fw_PHY11G_IP_1v1_xRx5xx_A21_R8548.bin
phy-xrx500 1c003c00.phy-xrx500: booting GPHY0 firmware for GRX500
phy-xrx500 1c003c00.phy-xrx500: booting GPHY1 firmware for GRX500
phy-xrx500 1c003c00.phy-xrx500: booting GPHY2 firmware for GRX500
phy-xrx500 1c003c00.phy-xrx500: booting GPHY3 firmware for GRX500
phy-xrx500 1c003c00.phy-xrx500: booting GPHY4 firmware for GRX500
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1
xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f664 hci version 0x100 quirks 0x02010010
xhci-hcd xhci-hcd.2.auto: irq 283, io mem 0x1a300000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 3
xhci-hcd xhci-hcd.3.auto: hcc params 0x0220f664 hci version 0x100 quirks 0x02010010
xhci-hcd xhci-hcd.3.auto: irq 284, io mem 0x1a500000
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 4
usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 1 port detected
usbcore: registered new interface driver usblp
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver usbserial
i2c-lantiq 16a00000.i2c: timeout waiting for bus ready
i2c-lantiq 16a00000.i2c: ltq_i2c_xfer: bus is busy ffffff6f
i2c-lantiq 16a00000.i2c: timeout waiting for bus ready
i2c-lantiq 16a00000.i2c: ltq_i2c_xfer: bus is busy ffffff6f
ina2xx 0-0040: pm: ina219, railname: PWR_12V, Rshunt: 10000 uOhm
grx500wdt 12000000.watchdog: [grx500wdt_probe]:[333] cpu_clk=800000000
grx500wdt 12000000.watchdog: [grx500wdt_probe]WDT reset is Bit31, RCU_IAP_WDT_RST_STAT=0x73c00c08
grx500wdt 12000000.watchdog: [grx500wdt_probe]Not WDT reset.
grx500wdt 12000000.watchdog: [grx500wdt_probe]:[415] grx500_wdt = 881e6308
grx500wdt 12000000.watchdog: [grx500wdt_probe]:[415] grx500_wdt = 881fe308
grx500wdt 12000000.watchdog: H/w Watchdog Timer: (max 5) (nowayout= 0)
Device IRQ: 26 line: 101
GlobalControl97_Capabilities_Get
EIP202: PEs=1 rings=4 64-bit=No, fill level extension=No
CF size=4 RF size=3 DMA len = 10 Align=0 HDW=0 HostIfc=3
EIP96 options:
AES: Yes with CFB/OFB: Yes Fast: Yes
DES: Yes with CFB/OFB: Yes Fast: No
ARCFOUR level: 3
MD5: Yes SHA1: Yes Fast: Yes SHA256: Yes SHA512: Yes
(X)CBC-MAC: Yes Fast: Yes All key sizes: No GHASH Yes
EIP97 options: PEs=1, In Dbuf size=6 In Tbuf size=5, Out Dbuf size=6, Out Tbuf size=4,
Token Generator: No, Transform Record Cache: No
EIP206 options: PE type=0 InClassifier=0 OutClassifier=0 MAC chans=0
InDBuf=0kB InTBuf=0kB OutDBuf=0kB OutTBuf=0kB
Adapter_PECDev_Init: CDR fetch size 0x8, thresh 0x6, HDW=0, CFsize=4
Adapter_PECDev_Init: RDR fetch size 0x8, thresh 0x2, RFsize=3
Status of CDR/RDR interface 0
CDR Status: DMA err: false, err: false: ovf/under err: false
Threshold int: false, timeout int: false, FIFO count: 16
RDR Status: DMA err: false, err: false: ovf/under err: false
Buf ovf: false, Descriptor ovf false
Threshold int: false, timeout int: false, FIFO count: 8
Adapter_PECDev_Init: CDR fetch size 0x8, thresh 0x6, HDW=0, CFsize=4
Adapter_PECDev_Init: RDR fetch size 0x8, thresh 0x2, RFsize=3
Status of CDR/RDR interface 1
CDR Status: DMA err: false, err: false: ovf/under err: false
Threshold int: false, timeout int: false, FIFO count: 16
RDR Status: DMA err: false, err: false: ovf/under err: false
Buf ovf: false, Descriptor ovf false
Threshold int: false, timeout int: false, FIFO count: 8
LTQ Crypto Hardware Initialized ..
LTQ crypto driver version: 1.4.10
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
u32 classifier
Performance counters on
Actions configured
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
ctnetlink v0.93: registering with nfnetlink.
ip_set: protocol 6
ipip: IPv4 and MPLS over IPv4 tunneling driver
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 10
NET: Registered protocol family 17
Bridge firewalling registered
NET4: DECnet for Linux: V.2.5.68s (C) 1995-2003 Linux DECnet Project Team
DECnet: Routing cache hash table of 1024 buckets, 8Kbytes
NET: Registered protocol family 12
8021q: 802.1Q VLAN Support v1.8
registered taskstats version 1
Key type encrypted registered
searching for nvram
nvram size = 524288
nvram empty
clk: Not disabling unuseFreeing unused kernel: 348k freed
This architecture does not have kernel memory protection.
Now calling with ramdisk_execute_command...
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
bash-5.1# help
GNU bash, version 5.1.0(3)-release (mips-none-linux-gnu)
These shell commands are defined internally. Type `help' to see this list.
Type `help name' to find out more about the function `name'.
Use `info bash' to find out more about the shell in general.
Use `man -k' or `info' to find out more about commands not in this list.
A star (*) next to a name means that the command is disabled.
job_spec [&] history [-c] [-d offset] [n] or hist>
(( expression )) if COMMANDS; then COMMANDS; [ elif C>
. filename [arguments] jobs [-lnprs] [jobspec ...] or jobs >
: kill [-s sigspec | -n signum | -sigs>
[ arg... ] let arg [arg ...]
[[ expression ]] local [option] name[=value] ...
alias [-p] [name[=value] ... ] logout [n]
bg [job_spec ...] mapfile [-d delim] [-n count] [-O or>
bind [-lpsvPSVX] [-m keymap] [-f file> popd [-n] [+N | -N]
break [n] printf [-v var] format [arguments]
builtin [shell-builtin [arg ...]] pushd [-n] [+N | -N | dir]
caller [expr] pwd [-LP]
case WORD in [PATTERN [| PATTERN]...)> read [-ers] [-a array] [-d delim] [->
cd [-L|[-P [-e]] [-@]] [dir] readarray [-d delim] [-n count] [-O >
command [-pVv] command [arg ...] readonly [-aAf] [name[=value] ...] o>
compgen [-abcdefgjksuv] [-o option] [> return [n]
complete [-abcdefgjksuv] [-pr] [-DEI]> select NAME [in WORDS ... ;] do COMM>
compopt [-o|+o option] [-DEI] [name .> set [-abefhkmnptuvxBCHP] [-o option->
continue [n] shift [n]
coproc [NAME] command [redirections] shopt [-pqsu] [-o] [optname ...]
declare [-aAfFgiIlnrtux] [-p] [name[=> source filename [arguments]
dirs [-clpv] [+N] [-N] suspend [-f]
disown [-h] [-ar] [jobspec ... | pid > test [expr]
echo [-neE] [arg ...] time [-p] pipeline
enable [-a] [-dnps] [-f filename] [na> times
eval [arg ...] trap [-lp] [[arg] signal_spec ...]
exec [-cl] [-a name] [command [argume> true
exit [n] type [-afptP] name [name ...]
export [-fn] [name[=value] ...] or ex> typeset [-aAfFgiIlnrtux] [-p] name[=>
false ulimit [-SHabcdefiklmnpqrstuvxPT] [l>
fc [-e ename] [-lnr] [first] [last] o> umask [-p] [-S] [mode]
fg [job_spec] unalias [-a] name [name ...]
for NAME [in WORDS ... ] ; do COMMAND> unset [-f] [-v] [-n] [name ...]
for (( exp1; exp2; exp3 )); do COMMAN> until COMMANDS; do COMMANDS; done
function name { COMMANDS ; } or name > variables - Names and meanings of so>
getopts optstring name [arg ...] wait [-fn] [-p var] [id ...]
hash [-lr] [-p pathname] [-dt] [name > while COMMANDS; do COMMANDS; done
help [-dms] [pattern ...] { COMMANDS ; }
bash-5.1# ls
/bin/coreutils: error while loading shared libraries: libgmp.so.10: cannot open shared object file: No such file or directory
bash-5.1# ls /lib
/bin/coreutils: error while loading shared libraries: libgmp.so.10: cannot open shared object file: No such file or directory
bash-5.1# ls /usr/lib
/bin/coreutils: error while loading shared libraries: libgmp.so.10: cannot open shared object file: No such file or directory
bash-5.1# echo $PATH
/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:.
bash-5.1# echo $LD_LIBRARY_PATh
bash-5.1# echo $LD_LIBRARY_PATH
bash-5.1# export LD_LIBRARY_PATH=/usr/lib:/lib
bash-5.1# ls
bin etc init lib linuxrc opt root share tmp var
dev fstab jffs libexec mnt proc sbin sys usr www
bash-5.1# cat /proc/cpu
cat: /proc/cpu: No such file or directory
bash-5.1# mount procfs /proc
mount: /proc: mount failed: Operation not permitted.
bash-5.1# mount
mount: failed to read mtab: No such file or directory
bash-5.1# mount -t proc /proc
bash-5.1# cat /proc/cpuinfo
system type : GRX500 rev 1.2
processor : 0
cpu model : MIPS interAptiv (multi) V2.0
BogoMIPS : 531.45
CPUClock : 800000000
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : dsp mt eva
Options implemented : tlb tlbinv segments 4kex 4k_cache prefetch mcheck ejtag llsc pindexed_dcache userlocal vint perf_cntr_intr_bit cdmm nan_legacy nan_2008 ebase_wg perf
shadow register sets : 1
kscratch registers : 0
package : 0
core : 0
VPE : 0
VCED exceptions : not available
VCEI exceptions : not available
processor : 2
cpu model : MIPS interAptiv (multi) V2.0
BogoMIPS : 531.45
CPUClock : 800000000
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : dsp mt eva
Options implemented : tlb tlbinv segments 4kex 4k_cache prefetch mcheck ejtag llsc pindexed_dcache userlocal vint perf_cntr_intr_bit cdmm nan_legacy nan_2008 ebase_wg perf
shadow register sets : 1
kscratch registers : 0
package : 0
core : 1
VPE : 0
VCED exceptions : not available
VCEI exceptions : not available
bash-5.1#