U-Boot 1.1.3 (Jul 14 2022 - 09:08:23)
Board: Ralink APSoC DRAM: 64 MB
relocate_code Pointer at: 83fb0000
enable ephy clock...done. rf reg 29 = 5
SSC disabled.
spi_wait_nsec: 29
spi device id: 1c 70 17 1c 70 (70171c70)
find flash: EN25QH64A
============================================
Ralink UBoot Version: 5.0.0.0
--------------------------------------------
ASIC 7620_MP (Port5<->GigaSW)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Jul 14 2022 Time:09:08:23
============================================
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768
##### The CPU freq = 580 MHZ ####
estimate memory size =64 Mbytes
rt_rtl8367_init(1688):Begin
Wait for RTL8367C Ready
.
RTL8367C is ready now!
switch debug=========switchChip:4
rt_rtl8367_init(1742):Call Func rt_rtl8367_enableRgmii()
continue to starting system. 0
disable switch forward...
3: System Boot system code via Flash.(0xbc020000)
do_bootm:argc=2, addr=0xbc020000
## Booting image at bc020000 ...
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 64
Starting kernel ...
[ 0.000000] Linux version 5.15.110 (root@devuan) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 12.2.0 r22749-8bb5efd65d) 12.2.0, GNU ld (GNU Binutils) 2.40.0) #0 Fri May 5 07:27:01 2023
[ 0.000000] Board has DDR2
[ 0.000000] Analog PMU set to hw control
[ 0.000000] Digital PMU set to hw control
[ 0.000000] SoC Type: MediaTek MT7620A ver:2 eco:6
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[ 0.000000] MIPS: machine is TP-Link Archer C5 v4
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16240
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.000000] Writing ErrCtl register=0000a026
[ 0.000000] Readback ErrCtl register=0000a026
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 55944K/65536K available (5621K kernel code, 600K rwdata, 1208K rodata, 1200K init, 215K bss, 9592K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 256
[ 0.000000] CPU Clock: 580MHz
[ 0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns
[ 0.000000] systick: enable autosleep mode
[ 0.000000] systick: running - mult: 214748, shift: 32
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[ 0.000002] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[ 0.007675] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[ 0.073618] pid_max: default: 32768 minimum: 301
[ 0.079206] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.086263] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.103845] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.113381] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.120226] pinctrl core: initialized pinctrl subsystem
[ 0.126670] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.409709] rt2880_gpio 10000600.gpio: registering 24 gpios
[ 0.415202] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[ 0.421681] rt2880_gpio 10000638.gpio: registering 16 gpios
[ 0.427131] rt2880_gpio 10000638.gpio: registering 16 irq handlers
[ 0.433459] rt2880_gpio 10000660.gpio: registering 32 gpios
[ 0.438951] rt2880_gpio 10000660.gpio: registering 32 irq handlers
[ 0.445282] rt2880_gpio 10000688.gpio: registering 1 gpios
[ 0.450644] rt2880_gpio 10000688.gpio: registering 1 irq handlers
[ 0.458448] PCI host bridge to bus 0000:00
[ 0.462445] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
[ 0.469069] pci_bus 0000:00: root bus resource [io 0x10160000-0x1016ffff]
[ 0.475756] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.483489] pci 0000:00:00.0: [1814:0801] type 01 class 0x060400
[ 0.489297] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[ 0.495359] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[ 0.501526] pci 0000:00:00.0: supports D1
[ 0.505350] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 0.513346] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.521438] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000
[ 0.527297] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[ 0.533876] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[ 0.540454] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[ 0.548651] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 0.555073] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[ 0.561481] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[ 0.567884] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[ 0.574637] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x200fffff]
[ 0.581239] pci 0000:00:00.0: BAR 9: assigned [mem 0x20100000-0x201fffff pref]
[ 0.588244] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff]
[ 0.594855] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit]
[ 0.601950] pci 0000:01:00.0: BAR 6: assigned [mem 0x20100000-0x2010ffff pref]
[ 0.608965] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.613772] pci 0000:00:00.0: bridge window [mem 0x20000000-0x200fffff]
[ 0.620372] pci 0000:00:00.0: bridge window [mem 0x20100000-0x201fffff pref]
[ 0.627983] clocksource: Switched to clocksource systick
[ 0.634736] NET: Registered PF_INET protocol family
[ 0.639767] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.647628] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.655785] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.663283] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.670719] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.677551] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.683926] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.690354] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.697522] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.703123] PCI: CLS 0 bytes, default 32
[ 0.707111] rt-timer 10000100.timer: maximum frequency is 1220Hz
[ 0.718225] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[ 0.731127] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.736753] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.750100] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.757612] printk: console [ttyS0] disabled
[ 0.761893] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103
[ 0.771536] printk: console [ttyS0] enabled
[ 0.771536] printk: console [ttyS0] enabled
[ 0.779989] printk: bootconsole [early0] disabled
[ 0.779989] printk: bootconsole [early0] disabled
[ 0.804172] spi spi0.0: force spi mode3
[ 0.809681] spi-nor spi0.0: en25qh64 (8192 Kbytes)
[ 0.814676] 6 fixed-partitions partitions found on MTD device spi0.0
[ 0.821265] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[ 0.828802] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[ 0.836586] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[ 0.844122] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[ 0.852362] Creating 6 MTD partitions on "spi0.0":
[ 0.857278] 0x000000000000-0x000000020000 : "u-boot"
[ 0.866804] 0x000000020000-0x0000007c0000 : "firmware"
[ 0.873918] 2 tplink-fw partitions found on MTD device firmware
[ 0.880079] Creating 2 MTD partitions on "firmware":
[ 0.885154] 0x000000000000-0x000000235b61 : "kernel"
[ 0.890237] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[ 0.901988] 0x000000235b64-0x0000007a0000 : "rootfs"
[ 0.907093] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[ 0.917835] mtd: setting mtd3 (rootfs) as root device
[ 0.924274] 1 squashfs-split partitions found on MTD device rootfs
[ 0.930698] 0x0000005c0000-0x0000007a0000 : "rootfs_data"
[ 0.937544] 0x0000007c0000-0x0000007d0000 : "config"
[ 0.945994] 0x0000007d0000-0x0000007e0000 : "rom"
[ 0.952302] 0x0000007e0000-0x0000007f0000 : "romfile"
[ 0.960874] 0x0000007f0000-0x000000800000 : "radio"
[ 1.001103] gsw: setting port4 to ephy mode
[ 1.007467] mtk_soc_eth 10100000.ethernet: port 5 - using fixed link parameters
[ 1.015219] mt7530: disabling source MAC address learning on port 0
[ 1.021682] mt7530: disabling source MAC address learning on port 1
[ 1.028087] mt7530: disabling source MAC address learning on port 2
[ 1.034478] mt7530: disabling source MAC address learning on port 3
[ 1.040877] mt7530: disabling source MAC address learning on port 4
[ 1.047268] mt7530: disabling source MAC address learning on port 5
[ 1.053667] mt7530: disabling source MAC address learning on port 6
[ 1.060068] mt7530: disabling source MAC address learning on port 7
[ 1.066490] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver
[ 1.073328] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[ 1.082940] rt2880_wdt 10000120.watchdog: Initialized
[ 1.090005] NET: Registered PF_INET6 protocol family
[ 1.108003] Segment Routing with IPv6
[ 1.111870] In-situ OAM (IOAM) with IPv6
[ 1.116007] NET: Registered PF_PACKET protocol family
[ 1.121364] 8021q: 802.1Q VLAN Support v1.8
[ 1.139973] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[ 1.153861] Freeing unused kernel image (initmem) memory: 1200K
[ 1.159956] This architecture does not have kernel memory protection.
[ 1.166541] Run /sbin/init as init process
[ 2.045256] init: Console is alive
[ 2.049560] init: - watchdog -
[ 3.544198] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 3.651292] usbcore: registered new interface driver usbfs
[ 3.657065] usbcore: registered new interface driver hub
[ 3.662671] usbcore: registered new device driver usb
[ 3.676807] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.687781] fsl-ehci: Freescale EHCI Host controller driver
[ 3.695822] ehci-platform: EHCI generic platform driver
[ 3.711808] phy phy-usbphy.0: remote usb device wakeup disabled
[ 3.717874] phy phy-usbphy.0: UTMI 16bit 30MHz
[ 3.722420] ehci-platform 101c0000.ehci: EHCI Host Controller
[ 3.728341] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[ 3.736619] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[ 3.752194] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[ 3.759875] hub 1-0:1.0: USB hub found
[ 3.764761] hub 1-0:1.0: 1 port detected
[ 3.846264] realtek-mdio mdio-bus:1d: unrecognized switch (id=0x6642, ver=0x0010)
[ 3.853945] realtek-mdio mdio-bus:1d: unable to detect switch
[ 3.863385] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 3.872416] ohci-platform: OHCI generic platform driver
[ 3.878358] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[ 3.885361] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[ 3.893629] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[ 3.927808] hub 2-0:1.0: USB hub found
[ 3.932697] hub 2-0:1.0: 1 port detected
[ 3.949428] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 3.961538] init: - preinit -
[ 5.487626] random: jshn: uninitialized urandom read (4 bytes read)
[ 5.677874] random: jshn: uninitialized urandom read (4 bytes read)
[ 5.823598] random: jshn: uninitialized urandom read (4 bytes read)
[ 6.550704] random: procd: uninitialized urandom read (4 bytes read)
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
[ 7.527668] jffs2: notice: (366) jffs2_build_xattr_subsystem: complete building xattr subsystem, 7 of xdatum (0 unchecked, 2 orphan) and 8 of xref (2 dead, 0 orphan) found.
[ 7.546052] mount_root: switching to jffs2 overlay
[ 7.555574] overlayfs: upper fs does not support tmpfile.
[ 7.569917] urandom-seed: Seeding with /etc/urandom.seed
[ 7.670797] procd: - early -
[ 7.674201] procd: - watchdog -
[ 8.237950] procd: - watchdog -
[ 8.241917] procd: - ubus -
[ 8.417532] random: ubusd: uninitialized urandom read (4 bytes read)
[ 8.427751] random: ubusd: uninitialized urandom read (4 bytes read)
[ 8.435063] random: ubusd: uninitialized urandom read (4 bytes read)
[ 8.446715] procd: - init -
Please press Enter to activate this console.
[ 9.669612] random: jshn: uninitialized urandom read (4 bytes read)
[ 9.720765] random: ubusd: uninitialized urandom read (4 bytes read)
[ 9.758609] random: ubus: uninitialized urandom read (4 bytes read)
[ 9.932456] kmodloader: loading kernel modules from /etc/modules.d/*
[ 10.470582] urngd: jent-rng init failed, err: 2
[ 10.503667] Loading modules backported from Linux version v6.1.24-0-g0102425ac76b
[ 10.511339] Backport generated by backports.git v5.15.92-1-44-gd6ea70fafd36
[ 10.907900] mt76x2e 0000:01:00.0: card - bus=0x1, slot = 0x0 irq=4
[ 10.914674] mt76x2e 0000:01:00.0: ASIC revision: 76120044
[ 11.085837] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a
[ 11.098242] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00
[ 11.103940] mt76x2e 0000:01:00.0: Build: 1
[ 11.108127] mt76x2e 0000:01:00.0: Build Time: 201607111443____
[ 11.122637] mt76x2e 0000:01:00.0: Firmware running!
[ 11.321063] PPP generic driver version 2.4.2
[ 11.329755] NET: Registered PF_PPPOX protocol family
[ 11.422723] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "radio"
[ 11.429959] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
[ 11.452804] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 7620 detected
[ 11.542817] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 23.322644] random: crng init done
[ 23.326151] random: 88 urandom warning(s) missed due to ratelimiting
BusyBox v1.36.0 (2023-05-05 07:27:01 UTC) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r22749-8bb5efd65d
-----------------------------------------------------
=== 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:/# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether ac:15:a2:a8:a5:89 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether ac:15:a2:a8:a5:8b brd ff:ff:ff:ff:ff:ff
4: wlan1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether ac:15:a2:a8:a5:89 brd ff:ff:ff:ff:ff:ff
root@OpenWrt:/# swconfig dev switch1 show
Failed to connect to the switch. Use the "list" command to see which switches are available.
root@OpenWrt:/# swconfig list
Found: switch0 - mt7620
root@OpenWrt:/# ifconfig
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:320 errors:0 dropped:0 overruns:0 frame:0
TX packets:320 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:24960 (24.3 KiB) TX bytes:24960 (24.3 KiB)
root@OpenWrt:/#