Askey RAC2V1K / RT4230W REV6 Support

@lmore377 -
this new image does work after sysupgrade, and it does boot if i use the old bootcmd:

setenv mtdids nand0=nand0 && set mtdparts mtdparts=nand0:0x1A000000@0x2400000(firmware) && ubi part firmware && ubi read 0x44000000 kernel 0x6e0000 && bootm

however - the boot sequence loses its nice blue-red-blue LED sequence.
thank you

Yeah the red led is actually because bootipq fails but that's not needed anymore

@lmore377 -
i got my 'new' router to test, but it is a sac2v1k with 256m flash.
192.168.1.1 access gives no options (just a short info page)
there was no serial header, but with some kludgng i got serial console access.
29 mtd devices are defined in uboot
bootcmd=bootipq

by letting it boot to stock, it is openwrt. serial console access is available with username 'operator', which gives a 'plume' graphic response.

ssh is not possible with admin, root, operator, technician, or 4230w names

so - back to loading from interrupted u-boot from serial console.

i'm concerned your previous sequence to tft your imge into ram and then burn to mtd will screw things up because of smaller flash size available.

please let me know how i can proceed to help with this.
thanks

@ghoffman if I remember correctly, I think openwrt can adapt to smaller flash chips so I have a bootcmd on the GitHub that should work on the sac router. I have one but it's being rented so I don't want to flash anything on it

@lmore377 -
your 6/28 images and instructions worked great on my sac2vik
i used the 'old' bootdmd with if bootipq for kicks - although not necessary - and used the addresses form ouur sac2v1k command:

setenv bootcmd "if bootipq; then echo a; else setenv mtdids nand0=nand0 && set mtdparts mtdparts=nand0:0xDC00000@0x2400000(firmware) && ubi part firmware && ubi read 0x44000000 kernel 0x6e0000 && bootm; fi"

tftpboot then bootm - loaded and booted the uimage
then i could sysuupgrade from the luci gui!

mtd map is as follows:

root@OpenWrt:/# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00040000 00020000 "SBL1"
mtd1: 00140000 00020000 "MIBIB"
mtd2: 00140000 00020000 "SBL2"
mtd3: 00280000 00020000 "SBL3"
mtd4: 00120000 00020000 "DDRCONFIG"
mtd5: 00120000 00020000 "SSD"
mtd6: 00280000 00020000 "TZ"
mtd7: 00280000 00020000 "RPM"
mtd8: 00500000 00020000 "APPSBL_1"
mtd9: 00080000 00020000 "APPSBLENV"
mtd10: 00140000 00020000 "art"
mtd11: 00060000 00020000 "BOOTCONFIG"
mtd12: 00140000 00020000 "SBL2_1"
mtd13: 00280000 00020000 "SBL3_1"
mtd14: 00120000 00020000 "DDRCONFIG_1"
mtd15: 00120000 00020000 "SSD_1"
mtd16: 00280000 00020000 "TZ_1"
mtd17: 00280000 00020000 "RPM_1"
mtd18: 00060000 00020000 "BOOTCONFIG1"
mtd19: 00500000 00020000 "APPSBL"
mtd20: 0dc00000 00020000 "ubi"

great ! thanks
i hope this helps others.

@lmore377 -
with the 6/28 builds, on both rac2v1k abd sac2v1k, the gui fails for mtd dumps again. works fine if i directly cat from /dev/mtd0....
otherwise so far so good.

@ghoffman What's weird is that if I run logread -f in a ssh session and try to dump, I get a bunch of these errors:

Sun Jul  5 22:43:12 2020 kern.err kernel: [349850.159121] blk_update_request: I/O error, dev mtdblock0, sector 0 op 0x0:(READ) flags 0x84700 phys_seg 32 prio class 0

But when I do that and do cat /dev/mtd0, no errors show.

Edit: the sector numbers are in multiples of 8 for some reason

Sun Jul  5 22:46:26 2020 kern.err kernel: [350043.395823] blk_update_request: I/O error, dev mtdblock0, sector 0 op 0x0:(READ) flags 0x84700 phys_seg 32 prio class 0
Sun Jul  5 22:46:26 2020 kern.err kernel: [350043.401368] blk_update_request: I/O error, dev mtdblock0, sector 8 op 0x0:(READ) flags 0x84700 phys_seg 31 prio class 0
Sun Jul  5 22:46:26 2020 kern.err kernel: [350043.412135] blk_update_request: I/O error, dev mtdblock0, sector 16 op 0x0:(READ) flags 0x84700 phys_seg 30 prio class 0
Sun Jul  5 22:46:26 2020 kern.err kernel: [350043.423055] blk_update_request: I/O error, dev mtdblock0, sector 24 op 0x0:(READ) flags 0x84700 phys_seg 29 prio class 0
Sun Jul  5 22:46:26 2020 kern.err kernel: [350043.433933] blk_update_request: I/O error, dev mtdblock0, sector 32 op 0x0:(READ) flags 0x84700 phys_seg 28 prio class 0
Sun Jul  5 22:46:26 2020 kern.err kernel: [350043.444850] blk_update_request: I/O error, dev mtdblock0, sector 40 op 0x0:(READ) flags 0x84700 phys_seg 27 prio class 0
Sun Jul  5 22:46:26 2020 kern.err kernel: [350043.455807] blk_update_request: I/O error, dev mtdblock0, sector 48 op 0x0:(READ) flags 0x84700 phys_seg 26 prio class 0
Sun Jul  5 22:46:26 2020 kern.err kernel: [350043.466754] blk_update_request: I/O error, dev mtdblock0, sector 56 op 0x0:(READ) flags 0x84700 phys_seg 25 prio class 0
Sun Jul  5 22:46:26 2020 kern.err kernel: [350043.477677] blk_update_request: I/O error, dev mtdblock0, sector 64 op 0x0:(READ) flags 0x84700 phys_seg 24 prio class 0
Sun Jul  5 22:46:26 2020 kern.err kernel: [350043.488625] blk_update_request: I/O error, dev mtdblock0, sector 72 op 0x0:(READ) flags 0x84700 phys_seg 23 prio class 0
Sun Jul  5 22:46:26 2020 kern.err kernel: [350043.525687] Buffer I/O error on dev mtdblock0, logical block 0, async page read

Hmm for some reason it can read the writable partitions fine

yes, i saw that too.
i dont think this was a problem with your older version that required the ubi fail step to load the mtd partition info (before you incorporated all the dts file?)
but now, the bootipq fail step does not 'fix' the problem.

i dont know enough about the bootloader steps to know what im talking about here......
but related, i think -
it would be good to get an image that could be flashed to a mtd block from the stock firmware command line interface (which is reachable after gaining root access through the modded .cfg files posted above)
sysupgrade form the oem firmware writes to the 'other' image, but thtat image seems to fail on reboot, landing you back to the oem firmware. still need serial console access to load your uimage. is there an image that we could write directly to both of the firmware mtd blocks, one of which becomes ubi to boot from?

i apologize for not knowing enough to keep these uboot / openwrt sequences straight.
thanks

I am new my board is RT4230W-D187(RoHS)A Rev:9

I couldn't flash successfully, as TFTP working no error

Every time power cycle, I see NAND: SF: Unsupported manufacturer 00

U-Boot 1.0.6 [spf.5.0.2_csu1.1] (Nov 15 2018 - 03:26:55)

smem ram ptable found: ver: 0 len: 5
DRAM:  1003 MiB
setting 0x177e as machine type from smem
NAND:  SF: Unsupported manufacturer 00
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
256 MiB
MMC:
PCI0 Link Intialized
PCI1 Link Intialized
In:    serial
Out:   serial
Err:   serial
MMC Device 0 not found
cdp: get part failed for 0:HLOS
Net:   MAC0 addr:7c:db:98:xx:xx:xx
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init  done
MAC1 addr:7c:db:98:xx:xx:xx
eth0, eth1
Hit space key to stop autoboot:  0
nand0: partitioning exceeds flash size
Error initializing mtdparts!
(IPQ) #

EDIT: forgot obfuscating Mac Address on purpose

I have tried ```
SAC2V1K version too with no luck either

TIA

Smeminfo

forgot to mention

1. * No.: Name              Attributes            Start             Size
2. * >   0: 0:SBL1           0x0000ffff              0x0          0x40000
3. * >   1: 0:MIBIB          0x0000ffff          0x40000         0x140000
4. * >   2: 0:SBL2           0x0000ffff         0x180000         0x140000
5. * >   3: 0:SBL3           0x0000ffff         0x2c0000         0x280000
6. * >   4: 0:DDRCONFIG      0x0000ffff         0x540000         0x120000
7. * >   5: 0:SSD            0x0000ffff         0x660000         0x120000
8. * >   6: 0:TZ             0x0000ffff         0x780000         0x280000
9. * >   7: 0:RPM            0x0000ffff         0xa00000         0x280000
10. * >   8: 0:APPSBL         0x0000ffff         0xc80000         0x500000
11. * >   9: 0:APPSBLENV      0x0000ffff        0x1180000          0x80000
12. * >  10: 0:ART            0x0000ffff        0x1200000         0x140000
13. * >  11: 0:BOOTCONFIG     0x0000ffff        0x1340000          0x60000
14. * >  12: 0:SBL2_1         0x0000ffff        0x13a0000         0x140000
15. * >  13: 0:SBL3_1         0x0000ffff        0x14e0000         0x280000
16. * >  14: 0:DDRCONFIG_1    0x0000ffff        0x1760000         0x120000
17. * >  15: 0:SSD_1          0x0000ffff        0x1880000         0x120000
18. * >  16: 0:TZ_1           0x0000ffff        0x19a0000         0x280000
19. * >  17: 0:RPM_1          0x0000ffff        0x1c20000         0x280000
20. * >  18: 0:BOOTCONFIG1    0x0000ffff        0x1ea0000          0x60000
21. * >  19: 0:APPSBL_1       0x0000ffff        0x1f00000         0x500000
22. * >  20: rootfs           0x0000ffff        0x2400000        0x6300000
23. * >  21: rootfs_1         0x0000ffff        0x8700000        0x6300000
24. * >  22: ubifs            0x0000ffff        0xea00000        0x1600000
````Preformatted text`

The part about the nand manufacturer not being recognized is normal. Can you try to install it again and send a log of the entire serial console? Also don't install this if you're renting the router. There's no reasonable way to go back to stock as of now.

Edit: I see what the error is. You're using the bootcmd meant for the router with a larger flash. I have a bootcmd specifically for the sac2v1k on the GitHub page but I'll put it here too (run this in the uboot console):

setenv bootcmd "setenv mtdids nand0=nand0 && set mtdparts mtdparts=nand0:0xDC00000@0x2400000(firmware) && ubi part firmware && ubi read 0x44000000 kernel 0x6e0000 && bootm"
saveenv
reset

@ghoffman I'm about 90% sure the sysupgrade in the stock os checks to make sure the file is a legit firmware update. I have a new router coming in because I accidentally burnt out the one I had so I'll try to get a flashing procedure that works without serial working. Also the sac router will always require a serial port unless someone discovers an exploit that allows remote telnet access.

1 Like

Thank you for your response , I had this router for a while from my sister.
image
This RAC2V1K and on the Board RT4230W-D187(RoHS)A Rev:9.3 ( My bad didn't read completely instead on Rev 9 only)
So my nand is 256Mib (not 512mb) base on U-boot below after flashing you suggested
but I still need to do "tftpboot initramfs.bin" before reset correct?
here the result

U-Boot 1.0.6 [spf.5.0.2_csu1.1] (Nov 15 2018 - 03:26:55)

smem ram ptable found: ver: 0 len: 5
DRAM: 1003 MiB
setting 0x177e as machine type from smem
NAND: SF: Unsupported manufacturer 00
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
256 MiB
MMC:
PCI0 Link Intialized
PCI1 Link Intialized
In: serial
Out: serial
Err: serial
MMC Device 0 not found
cdp: get part failed for 0:HLOS
Net: MAC0 addr:7c:db:98:xx:xx:xx
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init done
MAC1 addr:7c:db:98:xx:xx:xx
eth0, eth1
Hit space key to stop autoboot: 0
(IPQ) #

there was one time booting with some errors I found
[ 1.404647] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xaa
[ 1.405044] nand: Macronix MX30UF2G18AC
[ 1.411747] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size

Google it and it is 2Gb (I might misinterpret incorrectly)

[https://www.macronix.com/Lists/Datasheet/Attachments/7700/MX30UF2G18AC,%201.8V,%202Gb,%20v1.4.pdf]

Is HW rev. 9 identical to HW rev. 6?
If not, what are the differences?

I read somewhere that HW rev.9 on board but come with rev 6
on cat /proc/device-tree/model

Mine is Rev 9.3
Just found out from FCC website
https://fccid.io/H8NRAC2V1K/Internal-Photos/Internal-Photos-3305947

They tendered Rev 9 only back in 2017

1 Like

@lmore377 I made it with your SAC2V1K instruction at GitHub
it boots
here my serial console log

(IPQ) # setenv bootcmd "setenv mtdids nand0=nand0 && set mtdparts mtdparts=nand0:0xDC00000@0x2400000(firmware) && ubi part firmware && ubi read 0x44000000 kernel 0x6e0000 && bootm"
(IPQ) # saveenv
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x11e0000 -- 100% complete.
Writing to Nand... done
(IPQ) # reset
resetting ...

Resetting with watch dog!


U-Boot 1.0.6 [spf.5.0.2_csu1.1] (Nov 15 2018 - 03:26:55)

smem ram ptable found: ver: 0 len: 5
DRAM:  1003 MiB
setting 0x177e as machine type from smem
NAND:  SF: Unsupported manufacturer 00
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
256 MiB
MMC:
PCI0 Link Intialized
PCI1 Link Intialized
In:    serial
Out:   serial
Err:   serial
MMC Device 0 not found
cdp: get part failed for 0:HLOS
Net:   MAC0 addr:7c:db:98:xx:xx:xx
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init  done
MAC1 addr:7c:db:98:xx:xx:xx
eth0, eth1
Hit space key to stop autoboot:  0
Creating 1 MTD partitions on "nand0":
0x000002400000-0x000010000000 : "mtd=0"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=0"
UBI: MTD device size:            220 MiB
UBI: number of good PEBs:        1759
UBI: number of bad PEBs:         1
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     3
UBI: available PEBs:             22
UBI: total number of reserved PEBs: 1737
UBI: number of PEBs reserved for bad PEB handling: 17
UBI: max/mean erase counter: 3/1
Read 7208960 bytes from volume kernel to 44000000
   Loading Kernel Image ... OK
OK

device nand0 <nand0>, # parts = 1
 #: name                size            offset          mask_flags
 0: firmware            0x0dc00000      0x02400000      0

active partition: nand0,0 - (firmware) 0x0dc00000 @ 0x02400000

defaults:
mtdids  : none
mtdparts: none
Setting up atags for msm partition: firmware
Using machid 0x177e from environment

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.48 (lauro@Server) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r13657-32c8ab944e)) #0 SMP Sun Jun 28 06:45:05 2020
[    0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Askey RT4230W
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 15 pages/cpu s30028 r8192 d23220 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 252224
[    0.000000] Kernel command line: rootfstype=squashfs noinitrd
[    0.000000] Bootloader command line (ignored):
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 996192K/1015808K available (5914K kernel code, 188K rwdata, 1508K rodata, 1024K init, 228K bss, 19616K reserved, 0K cma-reserved, 229376K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x340/0x4e4 with crng_init=0
[    0.000000] clocksource: dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 305801671480 ns
[    0.000007] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[    0.000022] Switching to timer-based delay loop, resolution 160ns
[    0.000240] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.000263] pid_max: default: 32768 minimum: 301
[    0.000470] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.000495] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001541] CPU: Testing write buffer coherency: ok
[    0.002682] Setting up static identity map for 0x42300000 - 0x42300060
[    0.002855] rcu: Hierarchical SRCU implementation.
[    0.003351] smp: Bringing up secondary CPUs ...
[    0.005273] smp: Brought up 1 node, 2 CPUs
[    0.005291] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.005302] CPU: All CPU(s) started in SVC mode.
[    0.015163] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    0.015320] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.015349] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.015523] pinctrl core: initialized pinctrl subsystem
[    0.016675] NET: Registered protocol family 16
[    0.016997] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.018329] cpuidle: using governor ladder
[    0.018393] cpuidle: using governor menu
[    0.048970] usbcore: registered new interface driver usbfs
[    0.049050] usbcore: registered new interface driver hub
[    0.049133] usbcore: registered new device driver usb
[    0.049190] pps_core: LinuxPPS API ver. 1 registered
[    0.049204] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.049238] PTP clock support registered
[    0.050958] clocksource: Switched to clocksource dg_timer
[    0.051993] thermal_sys: Registered thermal governor 'step_wise'
[    0.054394] NET: Registered protocol family 2
[    0.054988] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.055030] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.055094] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.055191] TCP: Hash tables configured (established 8192 bind 8192)
[    0.055305] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.055343] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.055592] NET: Registered protocol family 1
[    0.055643] PCI: CLS 0 bytes, default 64
[    0.056969] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.063619] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.063632] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.101037] bounce: pool size: 64 pages
[    0.102712] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda not found, using dummy regulator
[    0.102855] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda_phy not found, using dummy regulator
[    0.102965] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda_refclk not found, using dummy regulator
[    0.103238] qcom-pcie 1b500000.pci: host bridge /soc/pci@1b500000 ranges:
[    0.103312] qcom-pcie 1b500000.pci:    IO 0x0fe00000..0x0fefffff -> 0x0fe00000
[    0.103353] qcom-pcie 1b500000.pci:   MEM 0x08000000..0x0fdfffff -> 0x08000000
[    0.224373] qcom-pcie 1b500000.pci: PCI host bridge to bus 0000:00
[    0.224401] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.224422] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfe00000-0xfefffff])
[    0.224440] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fdfffff]
[    0.224503] pci 0000:00:00.0: [17cb:0101] type 01 class 0xff0000
[    0.224671] pci 0000:00:00.0: supports D1
[    0.224688] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.228544] PCI: bus0: Fast back to back transfers disabled
[    0.228880] pci 0000:01:00.0: [168c:0046] type 00 class 0x028000
[    0.229234] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.230380] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.234527] PCI: bus1: Fast back to back transfers disabled
[    0.234615] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[    0.234640] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[    0.234769] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.234795] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
[    0.235541] pcieport 0000:00:00.0: AER: enabled with IRQ 35
[    0.236039] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda not found, using dummy regulator
[    0.236158] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_phy not found, using dummy regulator
[    0.236283] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_refclk not found, using dummy regulator
[    0.236549] qcom-pcie 1b700000.pci: host bridge /soc/pci@1b700000 ranges:
[    0.236614] qcom-pcie 1b700000.pci:    IO 0x31e00000..0x31efffff -> 0x31e00000
[    0.236650] qcom-pcie 1b700000.pci:   MEM 0x2e000000..0x31dfffff -> 0x2e000000
[    0.355738] qcom-pcie 1b700000.pci: PCI host bridge to bus 0001:00
[    0.355759] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.355775] pci_bus 0001:00: root bus resource [mem 0x2e000000-0x31dfffff]
[    0.355830] pci 0001:00:00.0: [17cb:0101] type 01 class 0xff0000
[    0.355982] pci 0001:00:00.0: supports D1
[    0.355999] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[    0.359799] PCI: bus0: Fast back to back transfers disabled
[    0.360130] pci 0001:01:00.0: [168c:0046] type 00 class 0x028000
[    0.360508] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.361840] pci 0001:01:00.0: PME# supported from D0 D3hot D3cold
[    0.362143] pci 0001:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0001:00:00.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    0.365950] PCI: bus1: Fast back to back transfers disabled
[    0.366024] pci 0001:00:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[    0.366047] pci 0001:01:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[    0.366179] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    0.366199] pci 0001:00:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
[    0.366878] pcieport 0001:00:00.0: AER: enabled with IRQ 37
[    0.369392] L2 @ QSB rate. Forcing new rate.
[    0.369623] L2 @ 384000 KHz
[    0.369809] CPU0 @ 800000 KHz
[    0.369822] CPU1 @ QSB rate. Forcing new rate.
[    0.369949] CPU1 @ 384000 KHz
[    0.373733] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    0.376018] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.376798] msm_serial 16340000.serial: msm_serial: detected port #0
[    0.376847] msm_serial 16340000.serial: uartclk = 7372800
[    0.376919] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 38, base_baud = 460800) is a MSM
[    0.376957] msm_serial: console setup on port #0
[    1.138413] printk: console [ttyMSM0] enabled
[    1.143425] msm_serial: driver initialized
[    1.152601] loop: module loaded
[    1.154159] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xaa
[    1.154555] nand: Macronix MX30UF2G18AC
[    1.161150] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.165027] 21 fixed-partitions partitions found on MTD device qcom_nand.0
[    1.172447] Creating 21 MTD partitions on "qcom_nand.0":
[    1.179213] 0x000000000000-0x000000040000 : "SBL1"
[    1.186138] 0x000000040000-0x000000180000 : "MIBIB"
[    1.192296] 0x000000180000-0x0000002c0000 : "SBL2"
[    1.196922] 0x0000002c0000-0x000000540000 : "SBL3"
[    1.199619] random: fast init done
[    1.207902] 0x000000540000-0x000000660000 : "DDRCONFIG"
[    1.210629] 0x000000660000-0x000000780000 : "SSD"
[    1.214963] 0x000000780000-0x000000a00000 : "TZ"
[    1.221968] 0x000000a00000-0x000000c80000 : "RPM"
[    1.226843] 0x000000c80000-0x000001180000 : "APPSBL_1"
[    1.235764] 0x000001180000-0x000001200000 : "APPSBLENV"
[    1.237465] 0x000001200000-0x000001340000 : "art"
[    1.242729] 0x000001340000-0x0000013a0000 : "BOOTCONFIG"
[    1.246152] 0x0000013a0000-0x0000014e0000 : "SBL2_1"
[    1.253001] 0x0000014e0000-0x000001760000 : "SBL3_1"
[    1.259843] 0x000001760000-0x000001880000 : "DDRCONFIG_1"
[    1.262711] 0x000001880000-0x0000019a0000 : "SSD_1"
[    1.267913] 0x0000019a0000-0x000001c20000 : "TZ_1"
[    1.274866] 0x000001c20000-0x000001ea0000 : "RPM_1"
[    1.279740] 0x000001ea0000-0x000001f00000 : "BOOTCONFIG1"
[    1.281394] 0x000001f00000-0x000002400000 : "APPSBL"
[    1.293961] 0x000002400000-0x00001c400000 : "ubi"
[    1.293993] mtd: partition "ubi" extends beyond the end of device "qcom_nand.0" -- size truncated to 0xdc00000
[    1.537687] random: crng init done
[    1.653307] libphy: GPIO Bitbanged MDIO: probed
[    1.674664] switch0: Atheros AR8337 rev. 2 switch registered on gpio-0
[    2.525371] ar8327: qca,phy-rgmii-en is not specified
[    2.525994] libphy: Fixed MDIO Bus: probed
[    2.530044] ipq806x-gmac-dwmac 37000000.ethernet: IRQ eth_wake_irq not found
[    2.533483] ipq806x-gmac-dwmac 37000000.ethernet: IRQ eth_lpi not found
[    2.541444] ipq806x-gmac-dwmac 37000000.ethernet: PTP uses main clock
[    2.547736] ipq806x-gmac-dwmac 37000000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    2.553646] ipq806x-gmac-dwmac 37000000.ethernet:    DWMAC1000
[    2.561007] ipq806x-gmac-dwmac 37000000.ethernet: DMA HW capability register supported
[    2.566907] ipq806x-gmac-dwmac 37000000.ethernet: RX Checksum Offload Engine supported
[    2.574623] ipq806x-gmac-dwmac 37000000.ethernet: COE Type 2
[    2.582534] ipq806x-gmac-dwmac 37000000.ethernet: TX Checksum insertion supported
[    2.588265] ipq806x-gmac-dwmac 37000000.ethernet: Wake-Up On Lan supported
[    2.595710] ipq806x-gmac-dwmac 37000000.ethernet: Enhanced/Alternate descriptors
[    2.602486] ipq806x-gmac-dwmac 37000000.ethernet: Enabled extended descriptors
[    2.609967] ipq806x-gmac-dwmac 37000000.ethernet: Ring mode enabled
[    2.617077] ipq806x-gmac-dwmac 37000000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.624110] ipq806x-gmac-dwmac 37200000.ethernet: IRQ eth_wake_irq not found
[    2.631923] ipq806x-gmac-dwmac 37200000.ethernet: IRQ eth_lpi not found
[    2.639046] ipq806x-gmac-dwmac 37200000.ethernet: PTP uses main clock
[    2.645788] ipq806x-gmac-dwmac 37200000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    2.651894] ipq806x-gmac-dwmac 37200000.ethernet:    DWMAC1000
[    2.659267] ipq806x-gmac-dwmac 37200000.ethernet: DMA HW capability register supported
[    2.665153] ipq806x-gmac-dwmac 37200000.ethernet: RX Checksum Offload Engine supported
[    2.672871] ipq806x-gmac-dwmac 37200000.ethernet: COE Type 2
[    2.680707] ipq806x-gmac-dwmac 37200000.ethernet: TX Checksum insertion supported
[    2.686624] ipq806x-gmac-dwmac 37200000.ethernet: Wake-Up On Lan supported
[    2.693988] ipq806x-gmac-dwmac 37200000.ethernet: Enhanced/Alternate descriptors
[    2.700677] ipq806x-gmac-dwmac 37200000.ethernet: Enabled extended descriptors
[    2.708296] ipq806x-gmac-dwmac 37200000.ethernet: Ring mode enabled
[    2.715325] ipq806x-gmac-dwmac 37200000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.722495] i2c /dev entries driver
[    2.732449] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[    2.733417] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[    2.741202] sdhci: Secure Digital Host Controller Interface driver
[    2.747975] sdhci: Copyright(c) Pierre Ossman
[    2.754216] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.760838] NET: Registered protocol family 10
[    2.765782] Segment Routing with IPv6
[    2.768643] NET: Registered protocol family 17
[    2.772680] 8021q: 802.1Q VLAN Support v1.8
[    2.776692] Registering SWP/SWPB emulation handler
[    2.807659] qcom_rpm 108000.rpm: RPM firmware 3.0.16777377
[    2.821500] s1a: supplied by regulator-dummy
[    2.821620] s1a: Bringing 0uV into 1050000-1050000uV
[    2.825134] s1b: supplied by regulator-dummy
[    2.829860] s1b: Bringing 0uV into 1050000-1050000uV
[    2.834365] s2a: supplied by regulator-dummy
[    2.839067] s2a: Bringing 0uV into 775000-775000uV
[    2.843601] s2b: supplied by regulator-dummy
[    2.847908] s2b: Bringing 0uV into 775000-775000uV
[    2.854103] Speed bin: 0
[    2.856859] PVS bin: 2
[    2.867779] UBI: auto-attach mtd20
[    2.867798] ubi0: attaching mtd20
[    4.445748] ubi0: scanning is finished
[    4.455953] ubi0: attached mtd20 (name "ubi", size 220 MiB)
[    4.455973] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    4.460323] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    4.467322] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    4.474197] ubi0: good PEBs: 1759, bad PEBs: 1, corrupted PEBs: 0
[    4.480894] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[    4.487218] ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 1896017646
[    4.494340] ubi0: available PEBs: 0, total reserved PEBs: 1759, PEBs reserved for bad PEB handling: 39
[    4.503696] ubi0: background thread "ubi_bgt0d" started, PID 66
[    4.504326] block ubiblock0_1: created from ubi0:1(rootfs)
[    4.518481] ubiblock: device ubiblock0_1 (rootfs) set to be root fileβ–’[    4.535959] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    4.538142] Freeing unused kernel memory: 1024K
[    4.571638] Run /sbin/init as init process
[    5.015690] init: Console is alive
[    5.015924] init: - watchdog -
[    5.971173] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.987801] exfat: module is from the staging directory, the quality is unknown, you have been warned.
[    5.988656] exFAT: Version 1.3.0
[    6.008804] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.011699] SCSI subsystem initialized
[    6.021350] ehci-fsl: Freescale EHCI Host controller driver
[    6.021822] ehci-platform: EHCI generic platform driver
[    6.029061] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    6.031394] ohci-platform: OHCI generic platform driver
[    6.040226] dwc3-qcom 110f8800.usb3: IRQ hs_phy_irq not found
[    6.042389] dwc3-qcom 110f8800.usb3: IRQ dp_hs_phy_irq not found
[    6.048202] dwc3-qcom 110f8800.usb3: IRQ dm_hs_phy_irq not found
[    6.054365] dwc3-qcom 110f8800.usb3: IRQ ss_phy_irq not found
[    6.062486] dwc3-qcom 100f8800.usb3: IRQ hs_phy_irq not found
[    6.066026] dwc3-qcom 100f8800.usb3: IRQ dp_hs_phy_irq not found
[    6.071772] dwc3-qcom 100f8800.usb3: IRQ dm_hs_phy_irq not found
[    6.077729] dwc3-qcom 100f8800.usb3: IRQ ss_phy_irq not found
[    6.086728] dwc3 11000000.dwc3: Failed to get clk 'ref': -2
[    6.141921] dwc3 10000000.dwc3: Failed to get clk 'ref': -2
[    6.207020] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    6.207121] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    6.211895] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f065 hci version 0x100 quirks 0x0000000002010010
[    6.219087] xhci-hcd xhci-hcd.0.auto: irq 41, io mem 0x11000000
[    6.229716] hub 1-0:1.0: USB hub found
[    6.235183] hub 1-0:1.0: 1 port detected
[    6.238253] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    6.242202] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    6.247436] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    6.255142] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.261959] hub 2-0:1.0: USB hub found
[    6.269850] hub 2-0:1.0: 1 port detected
[    6.273696] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    6.277472] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[    6.282967] xhci-hcd xhci-hcd.1.auto: hcc params 0x0228f065 hci version 0x100 quirks 0x0000000002010010
[    6.290340] xhci-hcd xhci-hcd.1.auto: irq 42, io mem 0x10000000
[    6.300266] hub 3-0:1.0: USB hub found
[    6.305665] hub 3-0:1.0: 1 port detected
[    6.309579] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    6.313553] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[    6.318790] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    6.326526] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.333316] hub 4-0:1.0: USB hub found
[    6.341201] hub 4-0:1.0: 1 port detected
[    6.347096] usbcore: registered new interface driver usb-storage
[    6.348893] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.357711] init: - preinit -
[    6.741408] usb 3-1: new high-speed USB device number 2 using xhci-hcd
[    7.004171] usb-storage 3-1:1.0: USB Mass Storage device detected
[    7.011506] scsi host0: usb-storage 3-1:1.0
[    8.042576] dwmac1000: Master AXI performs any burst length
[    8.042623] ipq806x-gmac-dwmac 37200000.ethernet eth1: No Safety Features support found
[    8.046971] ipq806x-gmac-dwmac 37200000.ethernet eth1: IEEE 1588-2008 Advanced Timestamp supported
[    8.055237] ipq806x-gmac-dwmac 37200000.ethernet eth1: registered PTP clock
[    8.064175] ipq806x-gmac-dwmac 37200000.ethernet eth1: configuring for fixed/sgmii link mode
[    8.072838] ipq806x-gmac-dwmac 37200000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[    8.079883] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes 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
[    9.397171] scsi 0:0:0:0: Direct-Access     Lexar    USB Flash Drive  1100 PQ: 0 ANSI: 0 CCS
[    9.400163] sd 0:0:0:0: [sda] 122683392 512-byte logical blocks: (62.8 GB/58.5 GiB)
[    9.405870] sd 0:0:0:0: [sda] Write Protect is off
[    9.413263] sd 0:0:0:0: [sda] No Caching mode page found
[    9.416935] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    9.426536]  sda: sda1
[    9.430502] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   11.233601] UBIFS (ubi0:2): Mounting in unauthenticated mode
[   11.233753] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 155
[   11.589454] UBIFS (ubi0:2): recovery needed
[   11.707670] UBIFS (ubi0:2): recovery completed
[   11.707803] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data"
[   11.711006] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   11.718987] UBIFS (ubi0:2): FS size: 209891328 bytes (200 MiB, 1653 LEBs), journal size 10539008 bytes (10 MiB, 83 LEBs)
[   11.728895] UBIFS (ubi0:2): reserved for root: 4952683 bytes (4836 KiB)
[   11.739823] UBIFS (ubi0:2): media format: w4/r0 (latest is w5/r0), UUID 48AC10D2-A267-4F79-8928-540214E970D8, small LPT model
[   11.751552] mount_root: switching to ubifs overlay
[   11.768463] overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off.
[   11.772012] urandom-seed: Seeding with /etc/urandom.seed
[   11.822384] ipq806x-gmac-dwmac 37200000.ethernet eth1: Link is Down
[   11.875714] procd: - early -
[   11.875900] procd: - watchdog -
[   12.442538] procd: - watchdog -
[   12.443053] procd: - ubus -
[   12.524470] procd: - init -
Please press Enter to activate this console.
[   12.799284] urngd: v1.0.2 started.
[   12.822988] kmodloader: loading kernel modules from /etc/modules.d/*
[   12.827050] ntfs: driver 2.1.32 [Flags: R/O MODULE].
[   12.839387] Loading modules backported from Linux version v5.7-rc3-0-g6a8b55ed4056
[   12.839411] Backport generated by backports.git v5.7-rc3-1-0-gc0c7d2bb
[   12.852511] xt_time: kernel timezone is -0000
[   12.885249] PPP generic driver version 2.4.2
[   12.886437] NET: Registered protocol family 24
[   12.911329] ath10k 5.1 driver, optimized for CT firmware, probing pci device: 0x46.
[   12.911747] ath10k_pci 0000:01:00.0: enabling device (0140 -> 0142)
[   12.918357] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   13.652721] ath10k_pci 0000:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[   13.652752] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   13.663260] ath10k_pci 0000:01:00.0: firmware ver 10.4b-ct-9984-fW-013-d81f62d97 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 46b728ef
[   15.992631] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id 0:1 crc32 85498734
[   21.835805] ath10k_pci 0000:01:00.0: unsupported HTC service id: 1536
[   21.837087] ath10k_pci 0000:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   21.841298] ath10k_pci 0000:01:00.0: msdu-desc: 2500  skid: 32
[   21.924155] ath10k_pci 0000:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   21.925002] ath10k_pci 0000:01:00.0: wmi print 'free: 84856 iram: 13140 sram: 11224'
[   22.213265] ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
[   22.308547] ath10k 5.1 driver, optimized for CT firmware, probing pci device: 0x46.
[   22.309682] ath10k_pci 0001:01:00.0: enabling device (0140 -> 0142)
[   22.316096] ath10k_pci 0001:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   22.816049] ath10k_pci 0001:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[   22.816106] ath10k_pci 0001:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   22.830121] ath10k_pci 0001:01:00.0: firmware ver 10.4b-ct-9984-fW-013-d81f62d97 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 46b728ef
[   25.145706] ath10k_pci 0001:01:00.0: board_file api 2 bmi_id 0:2 crc32 85498734
[   30.974628] ath10k_pci 0001:01:00.0: unsupported HTC service id: 1536
[   30.975973] ath10k_pci 0001:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   30.980044] ath10k_pci 0001:01:00.0: msdu-desc: 2500  skid: 32
[   31.065675] ath10k_pci 0001:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   31.066563] ath10k_pci 0001:01:00.0: wmi print 'free: 84856 iram: 13140 sram: 11224'
[   31.362524] ath10k_pci 0001:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
[   31.464795] kmodloader: done loading kernel modules from /etc/modules.d/*
[   34.680621] dwmac1000: Master AXI performs any burst length
[   34.680655] ipq806x-gmac-dwmac 37200000.ethernet eth1: No Safety Features support found
[   34.685071] ipq806x-gmac-dwmac 37200000.ethernet eth1: IEEE 1588-2008 Advanced Timestamp supported
[   34.693173] ipq806x-gmac-dwmac 37200000.ethernet eth1: registered PTP clock
[   34.702085] ipq806x-gmac-dwmac 37200000.ethernet eth1: configuring for fixed/sgmii link mode
[   34.709138] ipq806x-gmac-dwmac 37200000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[   34.717772] br-lan: port 1(eth1.1) entered blocking state
[   34.726399] br-lan: port 1(eth1.1) entered disabled state
[   34.731941] device eth1.1 entered promiscuous mode
[   34.737081] device eth1 entered promiscuous mode
[   34.742203] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   34.756381] br-lan: port 1(eth1.1) entered blocking state
[   34.756410] br-lan: port 1(eth1.1) entered forwarding state
[   34.769074] dwmac1000: Master AXI performs any burst length
[   34.769103] ipq806x-gmac-dwmac 37000000.ethernet eth0: No Safety Features support found
[   34.773611] ipq806x-gmac-dwmac 37000000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[   34.781618] ipq806x-gmac-dwmac 37000000.ethernet eth0: registered PTP clock
[   34.790468] ipq806x-gmac-dwmac 37000000.ethernet eth0: configuring for fixed/rgmii link mode
[   34.798737] ipq806x-gmac-dwmac 37000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   34.806862] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   35.772439] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready



BusyBox v1.31.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r13657-32c8ab944e
 -----------------------------------------------------
root@OpenWrt:/#

Thank you :smiley:
but additional flashing with your sysupgrade posted at GitHub still have problem on update/upgrade with Luci, It can't work properly

Thank you again

hi @lmore377 -
ive opbtained 'root' access via ssh ona a 'new' rac2v1k rev 6.
sysupgrade with your sysupgrade image doesnt work.
as i've mentioned before, i cant figure out how to flash your uimage, or your older factory.bin image, successfully to load opernwrt. i can mtd unloack, erase, and mtd write to rootfs, either image seems to write, but reboot goes back to oem.

mtd parts are as follows:

4230w@rt4230w:/tmp# cat /proc/mtd                                        
dev:    size   erasesize  name                                           
mtd0: 00040000 00020000 "0:SBL1"                                         
mtd1: 00140000 00020000 "0:MIBIB"                                        
mtd2: 00140000 00020000 "0:SBL2"                                         
mtd3: 00280000 00020000 "0:SBL3"                                         
mtd4: 00120000 00020000 "0:DDRCONFIG"                                    
mtd5: 00120000 00020000 "0:SSD"                                          
mtd6: 00280000 00020000 "0:TZ"                                           
mtd7: 00280000 00020000 "0:RPM"                                          
mtd8: 00500000 00020000 "0:APPSBL"                                       
mtd9: 00080000 00020000 "0:APPSBLENV"                                    
mtd10: 00140000 00020000 "0:ART"                                         
mtd11: 00060000 00020000 "0:BOOTCONFIG"                                  
mtd12: 00140000 00020000 "0:SBL2_1"                                      
mtd13: 00280000 00020000 "0:SBL3_1"                                      
mtd14: 00120000 00020000 "0:DDRCONFIG_1"                                 
mtd15: 00120000 00020000 "0:SSD_1"                                       
mtd16: 00280000 00020000 "0:TZ_1"                                        
mtd17: 00280000 00020000 "0:RPM_1"                                       
mtd18: 00060000 00020000 "0:BOOTCONFIG1"                                 
mtd19: 00500000 00020000 "0:APPSBL_1"                                    
mtd20: 08000000 00020000 "rootfs"                                        
mtd21: 08000000 00020000 "rootfs_1"                                      
mtd22: 0a000000 00020000 "ubifs"                                         
mtd23: 00008000 00008000 "spi32766.0"                                    
mtd24: 0081d000 0001f000 "kernel"                                        
mtd25: 03e00000 0001f000 "ubi_rootfs"                                    
mtd26: 03431000 0001f000 "rootfs_data"                                   
mtd27: 07c00000 0001f000 "log"                                           
mtd28: 007c0000 0001f000 "vendor"                                        
mtd29: 00d14000 0001f000 "user_data"                                     

i've modified the bootcmd as you have directed from fw_setenv - but still no success.
suggestions on what to do exactly - othersie it still seems we need console access.
i know that will work - but trying to find another path so this is easier for others.
thoughts?

@eganov - I think 2Gb is just the maximum a manufacturer can order from them. For the sysupgrade thing, can you connect to the serial port, try to do sysupgrade, and send back the log?

@tmomas and @eganov - the revision on the board just seems really inconsistent and when I extracted the dts files from the stock os there was rev 1,3,5,6 and 10 so the only surefire way to confirm the revision is with cat /proc/device-tree/model. Rev 6 and 10 are the same but I'd need to somehow get 1,3 and 5 to do testing on them. You can also see the revision on the stock bootlog because bootipq handles loading the device tree so just look at the lines between Hit space key to stop autoboot and Starting kernel... and you'll see it somwhere there.

@ghoffman I'm not doing the factory image anymore. My new router is supposed to come in sometime between saturday and tuesday so I'll be able to get something working in a few days.

Edit: More info about the dts files:
Rev1:

  • has extra pinctrl-0 and pinctrl-names values in various sections
  • mdio0_pins is missing and it has an extra rgmii2_pins_default in the pinmux@800000 section
  • A lot of the linux,phandle and phandle parameters are different
  • There's an extra led gpio pin and the led definitions are different
  • the ethernet@ sections have different numbers after the @

Rev3:

  • has 2 more ethernet sections
  • ethernet-phy0 has a different ar8327-initvals
  • all of the ethernet@ sections have some differences
  • There's an extra led gpio pin and the led definitions are different

Rev5:

  • There's an extra led gpio pin and the led definitions are different
  • ethernet-phy0 has a different ar8327-initvals
2 Likes

I want to start from beginning again and post the serial console, how to erase the existing openwrt partition without risking erasing the bootloader