[BEGIN] 2023/11/6 15:34:57
0/0x1a000/0x1a000/0.SD/0x27400/0x200/0x200/0.SD/0x27400/0x59600/0x59600/0.
U-Boot 2021.10 (Nov 03 2023 - 09:27:31 +0800) cvitek_cv180x
DRAM: 64 MiB
gd->relocaddr=0x81e80000. offset=0xffffffffffe80000
MMC: cv-sd@4310000: 0
Loading Environment from SPIFlash... spinor id = 85 20 18
SF: Detected PY25Q128HA with page size 256 Bytes, erase size 4 KiB, total 16 MiB
OK
In: serial
Out: serial
Err: serial
Net:
Warning: ethernet@4070000 (eth0) using random MAC address - 6a:e7:b0:9e:1b:ed
eth0: ethernet@4070000
Hit any key to stop autoboot: 0
Can't set block device
mmc 1 is invalid,use mmc 1:0 !!!!!!!
** Unable to read file update.txt **
Failed to load 'update.txt'
not found update.txt
Saving Environment to SPIFlash... Erasing SPI flash...Writing to SPI flash...done
Valid environment: 2
OK
Ƀ.SCS/0/0.WD.URPL.SDI/25000000/6000000.BS/SD.PS.SD/0x0/0x1000/0x1000/0.PE.BS.SD/0x1000/0x9400/0x9400/0.BE.J.BS/NOR.[ 0.000000] Linux version 5.10.4-tag- (suyu@ubuntu) (riscv64-unknown-linux-musl-gcc (Xuantie-900 linux-5.10.4 musl gcc Toolchain V2.6.1 B-20220906) 10.2.0, GNU ld (GNU Binutils) 2.35) #10 PREEMPT Fri Oct 27 17:20:40 CST 2023
[ 0.000000] earlycon: sbi0 at I/O port 0x0 (options '')
[ 0.000000] printk: bootconsole [sbi0] enabled
mdev: /sys/class: No such file or directory
Mounting USERDATA partition
init mpp system...
Starting app...
login[102]: root login on 'console'
[root@ztac]~# mount sdcard,dev=/dev/mmcblk0p1
[root@ztac]~#
[root@ztac]~#
[root@ztac]~# help
Built-in commands:
------------------
. : [ [[ alias bg break cd chdir command continue echo eval exec
exit export false fg getopts hash help history jobs kill let
local printf pwd read readonly return set shift source test times
trap true type ulimit umask unalias unset wait
[root@ztac]~# reset
-sh: reset: not found
[root@ztac]~# mount /dev/mmcblk0p1 /media/
mount: mounting /dev/mmcblk0p1 on /media/ failed: Resource busy
[root@ztac]~# cd /moun
-sh: cd: can't cd to /moun
[root@ztac]~# cd /media/
[root@ztac]/media# ll
drwxr-xr-x 3 root root 32768 Jan 1 08:00 ./
drwxrwxr-x 19 root root 317 Oct 11 2023 ../
-rwxr-xr-x 1 root root 4628992 Nov 3 2023 Image*
drwxr-xr-x 2 root root 32768 Nov 2 2023 System Volume Information/
-rwxr-xr-x 1 root root 2692100 Nov 3 2023 boot.spinor*
-rwxr-xr-x 1 root root 526848 Nov 3 2023 fip.bin*
-rwxr-xr-x 1 root root 191488 Nov 3 2023 fip_spl.bin*
-rwxr-xr-x 1 root root 102280 Nov 3 2023 fw_jump.bin*
-rwxr-xr-x 1 root root 2612360 Nov 3 2023 fw_payload_uboot.bin*
-rwxr-xr-x 1 root root 1137 Nov 3 2023 partition_spinor.xml*
-rwxr-xr-x 1 root root 468048 Nov 3 2023 pq_data.spinor*
-rwxr-xr-x 1 root root 3445984 Nov 3 2023 ramboot.itb*
-rwxr-xr-x 1 root root 1904640 Nov 3 2023 rootfs.bin*
-rwxr-xr-x 1 root root 1904768 Nov 3 2023 rootfs.spinor*
-rwxr-xr-x 1 root root 2191236 Nov 3 2023 rootfs_wevb_0008a_spinor.tar.gz*
-rwxr-xr-x 1 root root 7065479 Nov 3 2023 upgrade.zip*
-rwxr-xr-x 1 root root 1905328 Nov 3 2023 yoc.bin*
[root@ztac]/media#
[root@ztac]/media#
[root@ztac]/media# mkdir update
[root@ztac]/media# touch update.txt
[root@ztac]/media# ll
drwxr-xr-x 4 root root 32768 Jan 1 08:00 ./
drwxrwxr-x 19 root root 317 Oct 11 2023 ../
-rwxr-xr-x 1 root root 4628992 Nov 3 2023 Image*
drwxr-xr-x 2 root root 32768 Nov 2 2023 System Volume Information/
-rwxr-xr-x 1 root root 2692100 Nov 3 2023 boot.spinor*
-rwxr-xr-x 1 root root 526848 Nov 3 2023 fip.bin*
-rwxr-xr-x 1 root root 191488 Nov 3 2023 fip_spl.bin*
-rwxr-xr-x 1 root root 102280 Nov 3 2023 fw_jump.bin*
-rwxr-xr-x 1 root root 2612360 Nov 3 2023 fw_payload_uboot.bin*
-rwxr-xr-x 1 root root 1137 Nov 3 2023 partition_spinor.xml*
-rwxr-xr-x 1 root root 468048 Nov 3 2023 pq_data.spinor*
-rwxr-xr-x 1 root root 3445984 Nov 3 2023 ramboot.itb*
-rwxr-xr-x 1 root root 1904640 Nov 3 2023 rootfs.bin*
-rwxr-xr-x 1 root root 1904768 Nov 3 2023 rootfs.spinor*
-rwxr-xr-x 1 root root 2191236 Nov 3 2023 rootfs_wevb_0008a_spinor.tar.gz*
drwxr-xr-x 2 root root 32768 Jan 1 1980 update/
-rwxr-xr-x 1 root root 0 Jan 1 1980 update.txt*
-rwxr-xr-x 1 root root 7065479 Nov 3 2023 upgrade.zip*
-rwxr-xr-x 1 root root 1905328 Nov 3 2023 yoc.bin*
[root@ztac]/media# rm update -rf
[root@ztac]/media# ll
drwxr-xr-x 3 root root 32768 Jan 1 08:00 ./
drwxrwxr-x 19 root root 317 Oct 11 2023 ../
-rwxr-xr-x 1 root root 4628992 Nov 3 2023 Image*
drwxr-xr-x 2 root root 32768 Nov 2 2023 System Volume Information/
-rwxr-xr-x 1 root root 2692100 Nov 3 2023 boot.spinor*
-rwxr-xr-x 1 root root 526848 Nov 3 2023 fip.bin*
-rwxr-xr-x 1 root root 191488 Nov 3 2023 fip_spl.bin*
-rwxr-xr-x 1 root root 102280 Nov 3 2023 fw_jump.bin*
-rwxr-xr-x 1 root root 2612360 Nov 3 2023 fw_payload_uboot.bin*
-rwxr-xr-x 1 root root 1137 Nov 3 2023 partition_spinor.xml*
-rwxr-xr-x 1 root root 468048 Nov 3 2023 pq_data.spinor*
-rwxr-xr-x 1 root root 3445984 Nov 3 2023 ramboot.itb*
-rwxr-xr-x 1 root root 1904640 Nov 3 2023 rootfs.bin*
-rwxr-xr-x 1 root root 1904768 Nov 3 2023 rootfs.spinor*
-rwxr-xr-x 1 root root 2191236 Nov 3 2023 rootfs_wevb_0008a_spinor.tar.gz*
-rwxr-xr-x 1 root root 0 Jan 1 1980 update.txt*
-rwxr-xr-x 1 root root 7065479 Nov 3 2023 upgrade.zip*
-rwxr-xr-x 1 root root 1905328 Nov 3 2023 yoc.bin*
[root@ztac]/media# reboot
[root@ztac]/media# umount: /dev/mmcblk0p1 busy - remounted read-only
umount: devtmpfs busy - remounted read-only
The system is going down NOW!
Sent SIGTERM to all processes
Sent SIGKILL to all processesC.SCS/0/0.WD.URPL.SDI/25000000/6000000.BS/SD.PS.SD/0x0/0x1000/0x1000/0.PE.BS.SD/0x1000/0x9400/0x9400/0.BE.J.SD/0xa400/0x1000/0x1000/0.SD/0xb400/0x2000/0x2000/0.SD/0x40000/0x80/0x80/0.SD/0x540000/0x10000/0x0/0.SD/0x550000/0x10000/0x0/0.SD/0x560000/0x100000/0x0/0.SD/0xd400/0x1a000/0x1a000/0.SD/0x27400/0x200/0x200/0.SD/0x27400/0x59600/0x59600/0.
U-Boot 2021.10 (Nov 03 2023 - 09:27:31 +0800) cvitek_cv180x
DRAM: 64 MiB
gd->relocaddr=0x81e80000. offset=0xffffffffffe80000
MMC: cv-sd@4310000: 0
Loading Environment from SPIFlash... spinor id = 85 20 18
SF: Detected PY25Q128HA with page size 256 Bytes, erase size 4 KiB, total 16 MiB
OK
In: serial
Out: serial
Err: serial
Net:
Warning: ethernet@4070000 (eth0) using random MAC address - 22:12:78:1f:fa:db
eth0: ethernet@4070000
Hit any key to stop autoboot: 0
Can't set block device
mmc 1 is invalid,use mmc 1:0 !!!!!!!
0 bytes read in 3 ms (0 Bytes/s)
## Resetting to default environment
Start SD downloading...
switch to partitions #0, OK
mmc0 is current device
191488 bytes read in 12 ms (15.2 MiB/s)
spinor id = 85 20 18
SF: Detected PY25Q128HA with page size 256 Bytes, erase size 4 KiB, total 16 MiB
device 0 offset 0x0, size 0x2ec00
12288 bytes written, 179200 bytes skipped in 0.170s, speed 1126917 B/s
sf update speed 1.69 MB/s
spinor id = 85 20 18
SF: Detected PY25Q128HA with page size 256 Bytes, erase size 4 KiB, total 16 MiB
fatload mmc 0:1 0000000081f00000 yoc.bin 0x80 0;
128 bytes read in 3 ms (41 KiB/s)
HEAD:
magic: 0x474d4943
version: 0x12345678
file_sz: 0x1d1230
file_crc_value: 0x5a54a6a4
chunk_crc_offset: 0x0
chunk_crc_size: 0x1000
chunk_crc_value: 0x5a54daf4
part_offset: 0x40000
part_size: 0x200000
page size: 0x100
erase_size: 0x1000
fatload mmc 0:1 0000000081f00000 yoc.bin 0x1d12b0 0x0;
1905328 bytes read in 87 ms (20.9 MiB/s)
device 0 offset 0x40000, size 0x1d12b0
1417904 bytes written, 487424 bytes skipped in 19.85s, speed 102208 B/s
sf update speed 0.99 MB/s
fatload mmc 0:1 0000000081f00000 boot.spinor 0x40 0;
64 bytes read in 3 ms (20.5 KiB/s)
Header Version:1
2692036 bytes read in 122 ms (21 MiB/s)
device 0 offset 0x240000, size 0x291384
2691972 bytes written, 0 bytes skipped in 35.511s, speed 77619 B/s
sf update speed 0.75 MB/s
fatload mmc 0:1 0000000081f00000 param.bin 0x40 0;
** Unable to read file param.bin **
Failed to load 'param.bin'
load param.bin failed, skip it!
fatload mmc 0:1 0000000081f00000 pq_data.spinor 0x40 0;
64 bytes read in 3 ms (20.5 KiB/s)
Header Version:1
467984 bytes read in 24 ms (18.6 MiB/s)
device 0 offset 0x560000, size 0x723d0
364544 bytes written, 103376 bytes skipped in 4.750s, speed 100810 B/s
sf update speed 0.98 MB/s
fatload mmc 0:1 0000000081f00000 rootfs.spinor 0x40 0;
64 bytes read in 3 ms (20.5 KiB/s)
Header Version:1
1904704 bytes read in 87 ms (20.9 MiB/s)
device 0 offset 0x680000, size 0x1d1000
143360 bytes written, 1761280 bytes skipped in 1.912s, speed 1017928 B/s
sf update speed 0.990 MB/s
fatload mmc 0:1 0000000081f00000 app.spinor 0x40 0;
** Unable to read file app.spinor **
Failed to load 'app.spinor'
load app.spinor failed, skip it!
** Unable to read file userdata.spinor **
Failed to load 'userdata.spinor'
Can't set block device
** Unable to read file factory.spinor **
Failed to load 'factory.spinor'
Can't set block device
resetting ...
C.SCS/0/0.WD.URPL.SDI/25000000/6000000.BS/SD.PS.SD/0x0/0x1000/0x1000/0.PE.BS.SD/0x1000/0x9400/0x9400/0.BE.J.BS/NOR.[ 0.000000] Linux version 5.10.4-tag- (rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3) (riscv64-unknown-linux-musl-gcc (Xuantie-900 linux-5.10.4 musl gcc Toolchain V2.6.1 B-20220906) 10.2.0, GNU ld (GNU Binutils) 2.35) #1 PREEMPT Fri Nov 3 09:25:34 CST 2023
[ 0.000000] earlycon: sbi0 at I/O port 0x0 (options '')
[ 0.000000] printk: bootconsole [sbi0] enabled
mdev: /sys/class: No such file or directory
Mounting USERDATA partition
init mpp system...
Starting app...
login[102]: root login on 'console'
[root@ztac]~# mount sdcard,dev=/dev/mmcblk0p1
[root@ztac]~#
[root@ztac]~# pwd
/root
[root@ztac]~#
[root@ztac]~# help
Built-in commands:
------------------
. : [ [[ alias bg break cd chdir command continue echo eval exec
exit export false fg getopts hash help history jobs kill let
local printf pwd read readonly return set shift source test times
trap true type ulimit umask unalias unset wait
[root@ztac]~#
[root@ztac]~#
[root@ztac]~#
[root@ztac]~# dmesg
[ 0.000000] Linux version 5.10.4-tag- (rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3) (riscv64-unknown-linux-musl-gcc (Xuantie-900 linux-5.10.4 musl gcc Toolchain V2.6.1 B-20220906) 10.2.0, GNU ld (GNU Binutils) 2.35) #1 PREEMPT Fri Nov 3 09:25:34 CST 2023
[ 0.000000] earlycon: sbi0 at I/O port 0x0 (options '')
[ 0.000000] printk: bootconsole [sbi0] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] Ion: Ion memory setup at 0x0000000081f00000 size 2 MiB
[ 0.000000] OF: reserved mem: initialized node ion, compatible id ion-region
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000080000000-0x0000000083ffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x0000000083ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000083ffffff]
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] DMA32 zone: 224 pages used for memmap
[ 0.000000] DMA32 zone: 0 pages reserved
[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3
[ 0.000000] SBI specification v0.3 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x9
[ 0.000000] SBI v0.2 TIME extension detected
[ 0.000000] SBI v0.2 IPI extension detected
[ 0.000000] SBI v0.2 RFENCE extension detected
[ 0.000000] riscv: ISA extensions acdfimsuv
[ 0.000000] riscv: ELF capabilities acdfimv
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160
[ 0.000000] Kernel command line: mtdparts=10000000.cvi-spif:256K(fip),2048K(2nd),3072K(BOOT),64K(PARAM),64K(PARAM_BAK),1024K(PQ),64K(ENV),64K(ENV_BAK),2560K(ROOTFS),5048K(APP),2112K(USERDATA),8K(FACTORY),16384K@0(ALL) rootfstype=squashfs rootwait ro root=/dev/mtdblock8 console=ttyS0,115200 earlycon=sbi riscv.fwsz=0x80000 loglevel=0
[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.000000] Sorting __ex_table...
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 25368K/65536K available (2925K kernel code, 412K rwdata, 1003K rodata, 124K init, 191K bss, 40168K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] riscv-intc: 64 local interrupts mapped
[ 0.000000] plic: interrupt-controller@70000000: mapped 101 interrupts with 1 handlers for 2 contexts.
[ 0.000000] random: get_random_bytes called from 0xffffffe000202702 with crng_init=0
[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns
[ 0.000008] sched_clock: 64 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns
[ 0.000110] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=100000)
[ 0.000131] pid_max: default: 4096 minimum: 301
[ 0.000296] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.000314] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.001960] ASID allocator initialised with 65536 entries
[ 0.002129] rcu: Hierarchical SRCU implementation.
[ 0.002252] EFI services will not be available.
[ 0.002649] devtmpfs: initialized
[ 0.009254] early_time_log: do_initcalls: 1700407us
[ 0.010064] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.010094] futex hash table entries: 16 (order: -4, 384 bytes, linear)
[ 0.010215] pinctrl core: initialized pinctrl subsystem
[ 0.010746] NET: Registered protocol family 16
[ 0.011264] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.011367] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.012043] thermal_sys: Registered thermal governor 'step_wise'
[ 0.027495] OF: /gpio@03020000/gpio-controller@0: could not find phandle
[ 0.027571] OF: /gpio@03021000/gpio-controller@1: could not find phandle
[ 0.027642] OF: /gpio@03022000/gpio-controller@2: could not find phandle
[ 0.027709] OF: /gpio@03023000/gpio-controller@3: could not find phandle
[ 0.027775] OF: /gpio@05021000/gpio-controller@4: could not find phandle
[ 0.029455] clk reset: nr_reset=64 resource_size=8
[ 0.041089] usbcore: registered new interface driver usbfs
[ 0.041177] usbcore: registered new interface driver hub
[ 0.041272] usbcore: registered new device driver usb
[ 0.042662] Ion: ion_parse_dt_heap_common: id 0 type 2 name carveout align 1000
[ 0.043164] Ion: rmem_ion_device_init: heap carveout base 0x0000000081f00000 size 0x0000000000200000 dev (____ptrval____)
[ 0.043184] ion_carveout_heap_create, size=0x200000
[ 0.043328] cvi_get_rtos_ion_size, rtos ion_size get:0x101000
[ 0.043337] ion_carveout_heap_create, size(exclusion of rtos_ion_size)=0xff000
[ 0.043524] platform carveout: [ion] add heap id 0, type 2, base 0x81f00000, size 0x200000
[ 0.045574] clocksource: Switched to clocksource riscv_clocksource
[ 0.047674] NET: Registered protocol family 2
[ 0.048911] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.048954] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.048974] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.048991] TCP: Hash tables configured (established 512 bind 512)
[ 0.049151] UDP hash table entries: 128 (order: 0, 4096 bytes, linear)
[ 0.049189] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes, linear)
[ 0.049414] NET: Registered protocol family 1
[ 0.050344] RPC: Registered named UNIX socket transport module.
[ 0.050357] RPC: Registered udp transport module.
[ 0.050364] RPC: Registered tcp transport module.
[ 0.050371] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.051343] Initialise system trusted keyrings
[ 0.051618] workingset: timestamp_bits=62 max_order=13 bucket_order=0
[ 0.057706] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.058720] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.059562] Key type asymmetric registered
[ 0.059577] Asymmetric key parser 'x509' registered
[ 0.065331] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[ 0.067582] printk: console [ttyS0] disabled
[ 0.067687] 4140000.serial: ttyS0 at MMIO 0x4140000 (irq = 14, base_baud = 1562500) is a 16550A
[ 0.067767] printk: console [ttyS0] enabled
[ 0.067776] printk: bootconsole [sbi0] disabled
[ 0.068653] 4150000.serial: ttyS1 at MMIO 0x4150000 (irq = 15, base_baud = 1562500) is a 16550A
[ 0.072227] cvi-spif 10000000.cvi-spif: PY25Q128HA (16384 Kbytes)
[ 0.072248] cvi-spif 10000000.cvi-spif: mtd .name = 10000000.cvi-spif, .size = 0x1000000 (16MiB), .erasesize = 0x00001000 (4KiB) .numeraseregions = 0
[ 0.072306] 13 cmdlinepart partitions found on MTD device 10000000.cvi-spif
[ 0.072315] Creating 13 MTD partitions on "10000000.cvi-spif":
[ 0.072330] 0x000000000000-0x000000040000 : "fip"
[ 0.074929] 0x000000040000-0x000000240000 : "2nd"
[ 0.077179] 0x000000240000-0x000000540000 : "BOOT"
[ 0.079651] 0x000000540000-0x000000550000 : "PARAM"
[ 0.082078] 0x000000550000-0x000000560000 : "PARAM_BAK"
[ 0.084409] 0x000000560000-0x000000660000 : "PQ"
[ 0.086797] 0x000000660000-0x000000670000 : "ENV"
[ 0.089089] 0x000000670000-0x000000680000 : "ENV_BAK"
[ 0.091578] 0x000000680000-0x000000900000 : "ROOTFS"
[ 0.094048] 0x000000900000-0x000000dee000 : "APP"
[ 0.096374] 0x000000dee000-0x000000ffe000 : "USERDATA"
[ 0.098944] 0x000000ffe000-0x000001000000 : "FACTORY"
[ 0.101209] 0x000000000000-0x000001000000 : "ALL"
[ 0.103768] cvi-spif 10000000.cvi-spif: No Rx DMA available
[ 0.104945] libphy: Fixed MDIO Bus: probed
[ 0.105433] bm-dwmac 4070000.ethernet: IRQ eth_wake_irq not found
[ 0.105448] bm-dwmac 4070000.ethernet: IRQ eth_lpi not found
[ 0.105545] bm-dwmac 4070000.ethernet: Hash table entries set to unexpected value 0
[ 0.105868] bm-dwmac 4070000.ethernet: no reset control found
[ 0.106146] bm-dwmac 4070000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[ 0.106168] bm-dwmac 4070000.ethernet: DWMAC1000
[ 0.106181] bm-dwmac 4070000.ethernet: DMA HW capability register supported
[ 0.106190] bm-dwmac 4070000.ethernet: RX Checksum Offload Engine supported
[ 0.106199] bm-dwmac 4070000.ethernet: COE Type 2
[ 0.106208] bm-dwmac 4070000.ethernet: TX Checksum insertion supported
[ 0.106217] bm-dwmac 4070000.ethernet: Normal descriptors
[ 0.106226] bm-dwmac 4070000.ethernet: Ring mode enabled
[ 0.106235] bm-dwmac 4070000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 0.106257] bm-dwmac 4070000.ethernet: device MAC address 86:35:e1:a2:b4:92
[ 0.134959] libphy: stmmac: probed
[ 0.134990] CVITEK CV182XA stmmac-0:00: attached PHY driver [CVITEK CV182XA] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[ 0.135008] CVITEK CV182XA stmmac-0:01: attached PHY driver [CVITEK CV182XA] (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[ 0.136327] bm-dwmac 4070000.ethernet: Cannot get clk_500m_eth!
[ 0.136377] bm-dwmac 4070000.ethernet: Cannot get gate_clk_axi4!
[ 0.136692] usbcore: registered new interface driver catc
[ 0.136779] usbcore: registered new interface driver asix
[ 0.136842] usbcore: registered new interface driver ax88179_178a
[ 0.136903] usbcore: registered new interface driver cdc_ether
[ 0.136965] usbcore: registered new interface driver net1080
[ 0.137047] usbcore: registered new interface driver rndis_host
[ 0.137110] usbcore: registered new interface driver cdc_subset
[ 0.137171] usbcore: registered new interface driver zaurus
[ 0.137263] usbcore: registered new interface driver cdc_ncm
[ 0.137275] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.137437] usbcore: registered new interface driver usbserial_generic
[ 0.137491] usbserial: USB Serial support registered for generic
[ 0.137551] usbcore: registered new interface driver option
[ 0.137909] usbserial: USB Serial support registered for GSM modem (1-port)
[ 0.138059] udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers
[ 0.138356] i2c /dev entries driver
[ 0.139541] dw_wdt 3010000.cv-wd: No valid TOPs array specified
[ 0.140945] sdhci: Secure Digital Host Controller Interface driver
[ 0.140957] sdhci: Copyright(c) Pierre Ossman
[ 0.140963] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.141196] cvi:sdhci_cvi_probe
[ 0.185588] mmc0: SDHCI controller on 4310000.cv-sd [4310000.cv-sd] using ADMA 64-bit
[ 0.185606] cvi_proc_init cvi_host 0x(____ptrval____)
[ 0.186197] usbcore: registered new interface driver usbhid
[ 0.186207] usbhid: USB HID core driver
[ 0.188727] NET: Registered protocol family 17
[ 0.188998] Loading compiled-in X.509 certificates
[ 0.228023] i2c_designware 4010000.i2c: running with gpio recovery mode! scl,sda
[ 0.229238] dw-apb-uart 4140000.serial: forbid DMA for kernel console
[ 0.231138] VFS: Mounted root (squashfs filesystem) readonly on device 31:8.
[ 0.234100] devtmpfs: mounted
[ 0.234254] Freeing unused kernel memory: 124K
[ 0.234263] Kernel memory protection not selected by kernel config.
[ 0.234293] Run /sbin/init as init process
[ 0.234299] with arguments:
[ 0.234304] /sbin/init
[ 0.234309] with environment:
[ 0.234314] HOME=/
[ 0.234321] TERM=linux
[ 0.234329] early_time_log: run_init_process: 1925492us
[ 0.273649] mmc0: new high speed SDHC card at address 0001
[ 0.274548] mmcblk0: mmc0:0001 MCARD 29.3 GiB
[ 0.276865] mmcblk0: p1
[ 0.704586] cv180x_sys: bad vermagic: kernel tainted.
[ 0.704599] Disabling lock debugging due to kernel taint
[ 0.704609] cv180x_sys: loading out-of-tree module taints kernel.
[ 0.758249] cv180x-cooling cv180x_cooling: elems of dev-freqs=-22
[ 0.758266] cv180x-cooling cv180x_cooling: No 'dev-freqs' property found, use default value
[ 0.758289] cv180x-cooling cv180x_cooling: dev_freqs[0]: 850000000 500000000
[ 0.758299] cv180x-cooling cv180x_cooling: dev_freqs[1]: 425000000 250000000
[ 0.758309] cv180x-cooling cv180x_cooling: dev_freqs[2]: 425000000 125000000
[ 0.758451] cv180x-cooling cv180x_cooling: Cooling device registered: cv180x_cooling
[ 0.800070]
[ 0.800084]
[ 0.800889]
[ 0.800903]
[ 0.800912]
[ 0.800921]
[ 0.800942]
[ 0.800977]
[ 0.800977] addr(ffffffe003ec0000) range num(2) total blk(15) data pos(640) len(41600)
[ 0.800977] block info:
[ 0.800987]
[ 0.800996]
[ 0.801012]
[ 0.801028]
[ 0.801044]
[ 0.801060]
[ 0.801075]
[ 0.801091]
[ 0.801107]
[ 0.801122]
[ 0.801215]
[ 0.809549] sh (103): drop_caches: 3
[ 0.893404] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 0.904409] motor_probe line: 870 version:A-20231101
[ 0.904421] hvmode: 1
[ 0.904461] pwrctl-gpio:418
[ 0.904496] x1-gpio:374
[ 0.904528] x2-gpio:373
[ 0.904559] x3-gpio:377
[ 0.904590] x4-gpio:378
[ 0.904609] y1-gpio:-2
[ 0.904624] y2-gpio:-2
[ 0.904639] y3-gpio:-2
[ 0.904654] y4-gpio:-2
[ 0.904925] motor_probe 1017 OK
[ 16.350061] random: fast init done
[root@ztac]~#
[root@ztac]~#
[root@ztac]~# pwd
/root
[root@ztac]~#
[root@ztac]~# cd /
[root@ztac]/#
[root@ztac]/#
[root@ztac]/# ll
drwxrwxr-x 19 root root 317 Oct 11 2023 ./
drwxrwxr-x 19 root root 317 Oct 11 2023 ../
drwxr-xr-x 2 root root 743 Oct 19 2023 bin/
-rwxr-xr-x 1 root root 430 Oct 11 2023 cmdline.sh*
drwxr-xr-x 4 root root 1580 Jan 1 08:00 dev/
drwxr-xr-x 6 root root 476 Oct 24 2023 etc/
-rwxr-xr-x 1 root root 462 Oct 11 2023 init*
-rwxr-xr-x 1 root root 462 Oct 11 2023 init_ramboot.sh.sqsh*
drwxr-xr-x 3 root root 379 Oct 27 2023 lib/
lrwxrwxrwx 1 root root 3 Oct 11 2023 lib64 -> lib/
lrwxrwxrwx 1 root root 11 Oct 11 2023 linuxrc -> bin/busybox*
drwxr-xr-x 3 root root 32768 Jan 1 08:00 media/
drwxrwxr-x 9 root root 95 Oct 11 2023 mnt/
drwxrwxr-x 2 root root 3 Oct 11 2023 overlay/
dr-xr-xr-x 83 root root 0 Jan 1 08:00 proc/
drwxrwxr-x 2 root root 3 Oct 11 2023 root/
drwxrwxrwt 2 root root 40 Jan 1 08:00 run/
drwxr-xr-x 2 root root 613 Oct 27 2023 sbin/
dr-xr-xr-x 12 root root 0 Jan 1 08:00 sys/
drwxrwxr-x 9 root root 137 Nov 4 2023 system/
drwxrwxrwt 2 root root 60 Jan 1 08:00 tmp/
drwxr-xr-x 5 root root 0 Jan 1 08:00 userdata/
drwxr-xr-x 7 root root 101 Oct 13 2023 usr/
drwxr-xr-x 4 root root 110 Oct 11 2023 var/
[root@ztac]/#
[root@ztac]/# help
Built-in commands:
------------------
. : [ [[ alias bg break cd chdir command continue echo eval exec
exit export false fg getopts hash help history jobs kill let
local printf pwd read readonly return set shift source test times
trap true type ulimit umask unalias unset wait
[root@ztac]/#
[root@ztac]/# C.SCS/0/0.WD.URPL.SDI/25000000/6000000.BS/SD.PS.SD/0x0/0x1000/0x1000/0.PE.BS.SD/0x1000/0x9400/0x9400/0.BE.J.SD/0xa400/0x1000/0x1000/0.SD/0xb400/0x2000/0x2000/0.SD/0x40000/0x80/0x80/0.SD/0x540000/0x10000/0x0/0.SD/0x550000/0x10000/0x0/0.SD/0x560000/0x100000/0x0/0.SD/0xd400/0x1a000/0x1a000/0.SD/0x27400/0x200/0x200/0.SD/0x27400/0x59600/0x59600/0.
U-Boot 2021.10 (Nov 03 2023 - 09:27:31 +0800) cvitek_cv180x
DRAM: 64 MiB
gd->relocaddr=0x81e80000. offset=0xffffffffffe80000
MMC: cv-sd@4310000: 0
Loading Environment from SPIFlash... spinor id = 85 20 18
SF: Detected PY25Q128HA with page size 256 Bytes, erase size 4 KiB, total 16 MiB
OK
In: serial
Out: serial
Err: serial
Net:
Warning: ethernet@4070000 (eth0) using random MAC address - 6a:14:53:f7:15:67
eth0: ethernet@4070000
Hit any key to stop autoboot: 0
Can't set block device
mmc 1 is invalid,use mmc 1:0 !!!!!!!
0 bytes read in 3 ms (0 Bytes/s)
## Resetting to default environment
Start SD downloading...
switch to partitions #0, OK
mmc0 is current device
191488 bytes read in 11 ms (16.6 MiB/s)
spinor id = 85 20 18
SF: Detected PY25Q128HA with page size 256 Bytes, erase size 4 KiB, total 16 MiB
device 0 offset 0x0, size 0x2ec00
0 bytes written, 191488 bytes skipped in 0.8s, speed 16340309 B/s
sf update speed 11.264 MB/s
spinor id = 85 20 18
SF: Detected PY25Q128HA with page size 256 Bytes, erase size 4 KiB, total 16 MiB
fatload mmc 0:1 0000000081f00000 yoc.bin 0x80 0;
128 bytes read in 3 ms (41 KiB/s)
HEAD:
magic: 0x474d4943
version: 0x12345678
file_sz: 0x1d1230
file_crc_value: 0x5a54a6a4
chunk_crc_offset: 0x0
chunk_crc_size: 0x1000
chunk_crc_value: 0x5a54daf4
part_offset: 0x40000
part_size: 0x200000
page size: 0x100
erase_size: 0x1000
fatload mmc 0:1 0000000081f00000 yoc.bin 0x1d12b0 0x0;
1905328 bytes read in 87 ms (20.9 MiB/s)
device 0 offset 0x40000, size 0x1d12b0
0 bytes written, 1905328 bytes skipped in 0.80s, speed 23506697 B/s
sf update speed 21.408 MB/s
fatload mmc 0:1 0000000081f00000 boot.spinor 0x40 0;
64 bytes read in 3 ms (20.5 KiB/s)
Header Version:1
2692036 bytes read in 122 ms (21 MiB/s)
device 0 offset 0x240000, size 0x291384
0 bytes written, 2691972 bytes skipped in 0.115s, speed 23360841 B/s
sf update speed 21.709 MB/s
fatload mmc 0:1 0000000081f00000 param.bin 0x40 0;
** Unable to read file param.bin **
Failed to load 'param.bin'
load param.bin failed, skip it!
fatload mmc 0:1 0000000081f00000 pq_data.spinor 0x40 0;
64 bytes read in 3 ms (20.5 KiB/s)
Header Version:1
467984 bytes read in 24 ms (18.6 MiB/s)
device 0 offset 0x560000, size 0x723d0
0 bytes written, 467920 bytes skipped in 0.20s, speed 20832612 B/s
sf update speed 16.135 MB/s
fatload mmc 0:1 0000000081f00000 rootfs.spinor 0x40 0;
64 bytes read in 3 ms (20.5 KiB/s)
Header Version:1
1904704 bytes read in 88 ms (20.6 MiB/s)
device 0 offset 0x680000, size 0x1d1000
0 bytes written, 1904640 bytes skipped in 0.79s, speed 23498209 B/s
sf update speed 21.400 MB/s
fatload mmc 0:1 0000000081f00000 app.spinor 0x40 0;
** Unable to read file app.spinor **
Failed to load 'app.spinor'
load app.spinor failed, skip it!
** Unable to read file userdata.spinor **
Failed to load 'userdata.spinor'
Can't set block device
** Unable to read file factory.spinor **
Failed to load 'factory.spinor'
Can't set block device
[END] 2023/11/6 15:41:31