您尚未登录。

楼主 # 2022-04-22 08:09:24

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

T113-s3 spi-nand 启动

HELLO! BOOT0 is starting!
BOOT0 commit : #.###
set pll start
periph0 has been enabled
set pll end
board init ok
ZQ value = 0x2d
get_pmu_exist() = -1
ddr_efuse_type: 0xa
mark_id: 0x60
trefi:7.8ms
[AUTO DEBUG] single rank and full DQ!
ddr_efuse_type: 0xa
mark_id: 0x60
trefi:7.8ms
[AUTO DEBUG] rank 0 row = 13 
[AUTO DEBUG] rank 0 bank = 8 
[AUTO DEBUG] rank 0 page size = 2 KB 
DRAM BOOT DRIVE INFO: V0.32
DRAM CLK = 792 MHz
DRAM Type = 3 (2:DDR2,3:DDR3)
DRAMC read ODT  off.
DRAM ODT value: 0x42.
ddr_efuse_type: 0xa
mark_id: 0x60
DRAM SIZE =128 M
PLL_DDR_CTRL_REG:0xf8004100
DRAM_CLK_REG:0xc0000000
[TIMING DEBUG] MR2= 0x18
DRAM simple test OK.
rtc standby flag is 0x0, super standby flag is 0x0
boot0_main.c 71 128 M
spinand/spinand_osal_boot0.c 143 (NAND_CLK_BASE_ADDR + 0x0940) 0x8100000b
spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 16
Jump to second Boot.


U-Boot 2022.01-rc3-00096-gc0ffc12a70-dirty (Apr 21 2022 - 23:45:21 +0800) Allwinner Technology

CPU:   SUNXI Family
Model: sun20iw1p1
DRAM:  128 MiB
[00.023]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
MMC:   
Loading Environment from FAT... In:    serial
Out:   serial
Err:   serial
starting USB...
No working controllers found
Hit any key to stop autoboot:  0 
List of MTD devices:
* spi-nand0
  - device: spi-nand@0
  - parent: spi@4025000
  - driver: spi_nand
  - path: /spi@4025000/spi-nand@0
  - type: NAND flash
  - block size: 0x20000 bytes
  - min I/O: 0x800 bytes
  - OOB size: 64 bytes
  - OOB available: 24 bytes
  - 0x000000000000-0x000008000000 : "spi-nand0"
          - 0x000000000000-0x000000100000 : "boot0"
          - 0x000000100000-0x000000200000 : "u-boot"
          - 0x000000200000-0x000000220000 : "dtb"
          - 0x000000220000-0x000000820000 : "kernel"
          - 0x000000820000-0x000008000000 : "rootfs"
=> 

离线

楼主 #1 2022-04-22 09:37:38

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

U-Boot 2022.01-rc3-00096-gc0ffc12a70-dirty (Apr 22 2022 - 09:02:04 +0800) Allwinner Technology

CPU:   SUNXI Family
Model: sun20iw1p1
DRAM:  128 MiB
[00.023]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
MMC:   
Loading Environment from FAT... In:    serial
Out:   serial
Err:   serial
starting USB...
No working controllers found
Hit any key to stop autoboot:  0 
Kernel image @ 0x40080000 [ 0x000000 - 0x4923a0 ]
## Flattened Device Tree blob at 40020000
   Booting using the fdt blob at 0x40020000
   Loading Device Tree to 49fef000, end 49fff3e6 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.61+ (root@i9-10920) (arm-linux-gnueabihf-gcc (Linaro GCC 7.5-2019.12) 7.5.0, GNU ld (Linaro_Binutils-2019.12) 2.28.2.20170706) #1 SMP PREEMPT Wed Apr 13 17:16:30 CST 2022
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: sun8iw20
[    0.000000] printk: bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 8 MiB at 0x47800000
[    0.000000] On node 0 totalpages: 32768
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] 8<--- cut here ---
[    0.000000] Unable to handle kernel paging request at virtual address c9fef000
[    0.000000] pgd = (ptrval)
[    0.000000] [c9fef000] *pgd=00000000
[    0.000000] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 5.4.61+ #1
[    0.000000] Hardware name: Generic DT based system
[    0.000000] PC is at fdt32_ld+0x0/0xc
[    0.000000] LR is at fdt_check_header+0xc/0x11c
[    0.000000] pc : [<c070d934>]    lr : [<c070d9f8>]    psr: a00000d3
[    0.000000] sp : c0c01f20  ip : 40c90097  fp : c77fff40
[    0.000000] r10: c0c0e0e4  r9 : c0c71390  r8 : 00000000
[    0.000000] r7 : c9fef000  r6 : c0b1d874  r5 : c0c8a73c  r4 : c0b1d874
[    0.000000] r3 : c9fef000  r2 : c0c8a73c  r1 : 00000000  r0 : c9fef000
[    0.000000] Flags: NzCv  IRQs off  FIQs off  Mode SVC_32  ISA ARM  Segment none
[    0.000000] Control: 10c5387d  Table: 4000406a  DAC: 00000051
[    0.000000] Process swapper (pid: 0, stack limit = 0x(ptrval))
[    0.000000] Stack: (0xc0c01f20 to 0xc0c02000)
[    0.000000] 1f20: c0b1d874 c0c8a73c c0b1d874 c05696a4 c0b1d874 c0c08118 c0c66180 c0c06c40
[    0.000000] 1f40: 40000000 c0c71390 c0c0e0e4 c0b1e6fc 00000000 0000000c c0b28d4c c0b024c0
[    0.000000] 1f60: ffffffff 10c5387d 00000051 c09efecc c0c66000 49fef000 410fc075 10c5387d
[    0.000000] 1f80: 00000000 c01577a4 c0974d79 00000000 00000001 c0b00330 00000051 c0c03dc0
[    0.000000] 1fa0: c0c66000 49fef000 410fc075 10c5387d 00000000 c0b00968 00000000 00000000
[    0.000000] 1fc0: 00000000 00000000 00000000 c0b2d0c0 00000000 00000000 00000000 c0b00330
[    0.000000] 1fe0: 00000051 10c0387d 00000000 49fef000 410fc075 00000000 00000000 00000000
[    0.000000] [<c070d934>] (fdt32_ld) from [<c070d9f8>] (fdt_check_header+0xc/0x11c)
[    0.000000] [<c070d9f8>] (fdt_check_header) from [<c05696a4>] (__unflatten_device_tree+0x28/0xfc)
[    0.000000] [<c05696a4>] (__unflatten_device_tree) from [<c0b1e6fc>] (unflatten_device_tree+0x24/0x40)
[    0.000000] [<c0b1e6fc>] (unflatten_device_tree) from [<c0b024c0>] (setup_arch+0x618/0xa64)
[    0.000000] [<c0b024c0>] (setup_arch) from [<c0b00968>] (start_kernel+0x54/0x3e0)
[    0.000000] [<c0b00968>] (start_kernel) from [<00000000>] (0x0)
[    0.000000] Code: ebf054cb e28dd014 e49df004 c070d824 (e5900000) 
[    0.000000] random: get_random_bytes called from init_oops_id+0x20/0x3c with crng_init=0
[    0.000000] ---[ end trace 0000000000000000 ]---
[    0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[    0.000000] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---

离线

楼主 #2 2022-04-22 17:39:31

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

U-Boot 2022.01-rc3-00096-gc0ffc12a70-dirty (Apr 22 2022 - 17:37:29 +0800) Allwinner Technology

CPU:   SUNXI Family
Model: sun20iw1p1
DRAM:  128 MiB
[00.023]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
MMC:   
Loading Environment from FAT... In:    serial
Out:   serial
Err:   serial
starting USB...
No working controllers found
Hit any key to stop autoboot:  0 
Kernel image @ 0x40080000 [ 0x000000 - 0x3a7760 ]
## Flattened Device Tree blob at 42000000
   Booting using the fdt blob at 0x42000000
   Loading Device Tree to 43f5b000, end 43f6b3e6 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.61 (root@i9-10920) (arm-linux-gnueabihf-gcc (Linaro GCC 7.5-2019.12) 7.5.0, GNU ld (Linaro_Binutils-2019.12) 2.28.2.20170706) #10 SMP PREEMPT Fri Apr 22 17:17:39 CST 2022
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: sun8iw20
[    0.000000] printk: bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: dma_contiguous_reserve(limit ffffffff)
[    0.000000] cma: dma_contiguous_reserve: reserving 8 MiB for global area
[    0.000000] cma: cma_declare_contiguous(size 0x00800000, base 0x00000000, limit 0xffffffff alignment 0x00000000)
[    0.000000] cma: Reserved 8 MiB at 0x47800000
[    0.000000] On node 0 totalpages: 32768
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] Bad mode in prefetch abort handler detected
[    0.000000] Internal error: Oops - bad mode: 0 [#1] PREEMPT SMP ARM
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 5.4.61 #10
[    0.000000] Hardware name: Generic DT based system
[    0.000000] PC is at 0xa9530408
[    0.000000] LR is at __invoke_psci_fn_smc+0x40/0x60
[    0.000000] pc : [<a9530408>]    lr : [<c04a2358>]    psr: 600001d6
[    0.000000] sp : c0901e98  ip : c0901ef0  fp : c77fff40
[    0.000000] r10: c090e064  r9 : c096bd90  r8 : 40000000
[    0.000000] r7 : 00000000  r6 : 00000000  r5 : 00000000  r4 : 00000000
[    0.000000] r3 : 00000000  r2 : 00000000  r1 : 00000000  r0 : 84000000
[    0.000000] Flags: nZCv  IRQs off  FIQs off  Mode MON_32  ISA ARM  Segment none
[    0.000000] Control: 10c5387d  Table: 4000406a  DAC: c0900000
[    0.000000] Process swapper (pid: 0, stack limit = 0x(ptrval))
[    0.000000] Stack: (0xc0901e98 to 0xc0902000)
[    0.000000] 1e80:                                                       84000000 00000000
[    0.000000] 1ea0: 00000000 00000000 00000000 00000000 00000000 00000000 40000000 c096bd90
[    0.000000] 1ec0: c090e064 c77fff40 c0901ef0 c0901e98 c04a2358 a9530408 600001d6 ffffffff
[    0.000000] 1ee0: c0900000 00000000 c0961180 c0906d80 00000000 00000000 00000000 00000000
[    0.000000] 1f00: c0901f0c 00000000 c0961180 c04a25b0 c3f5ba04 00000000 00000001 00000000
[    0.000000] 1f20: c0900000 c081882c c0900000 c76d4980 c0961180 c0906d80 40000000 c0818a94
[    0.000000] 1f40: c0900000 c0818c40 c08322c0 00000000 00000000 c0823ab8 c0908258 c08024c0
[    0.000000] 1f60: ffffffff 10c5387d 00000051 c07844a4 c0961000 43f5b000 410fc075 10c5387d
[    0.000000] 1f80: 00000000 c01575b8 c0721ea5 00000000 00000001 c0800330 00000051 c0903bc0
[    0.000000] 1fa0: c0961000 43f5b000 410fc075 10c5387d 00000000 c0800968 00000000 00000000
[    0.000000] 1fc0: 00000000 00000000 00000000 c08270c0 00000000 00000000 00000000 c0800330
[    0.000000] 1fe0: 00000051 10c0387d 00000000 43f5b000 410fc075 00000000 00000000 00000000
[    0.000000] [<c04a2358>] (__invoke_psci_fn_smc) from [<c0901e98>] (init_stack+0x1e98/0x2000)
[    0.000000] Code: bad PC value
[    0.000000] random: get_random_bytes called from init_oops_id+0x20/0x3c with crng_init=0
[    0.000000] ---[ end trace 0000000000000000 ]---
[    0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[    0.000000] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---

离线

楼主 #3 2022-04-22 18:32:31

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

U-Boot 2022.01-rc3-00096-gc0ffc12a70-dirty (Apr 22 2022 - 17:37:29 +0800) Allwinner Technology

CPU:   SUNXI Family
Model: sun20iw1p1
DRAM:  128 MiB
[00.023]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
MMC:   
Loading Environment from FAT... In:    serial
Out:   serial
Err:   serial
starting USB...
No working controllers found
Hit any key to stop autoboot:  0 
Kernel image @ 0x40080000 [ 0x000000 - 0x3a6ce0 ]
## Flattened Device Tree blob at 42000000
   Booting using the fdt blob at 0x42000000
   Loading Device Tree to 43f5b000, end 43f6b35f ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.61 (root@i9-10920) (arm-linux-gnueabihf-gcc (Linaro GCC 7.5-2019.12) 7.5.0, GNU ld (Linaro_Binutils-2019.12) 2.28.2.20170706) #13 SMP PREEMPT Fri Apr 22 18:30:15 CST 2022
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: sun8iw20
[    0.000000] printk: bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: dma_contiguous_reserve(limit ffffffff)
[    0.000000] cma: dma_contiguous_reserve: reserving 8 MiB for global area
[    0.000000] cma: cma_declare_contiguous(size 0x00800000, base 0x00000000, limit 0xffffffff alignment 0x00000000)
[    0.000000] cma: Reserved 8 MiB at 0x47800000
[    0.000000] On node 0 totalpages: 32768
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] percpu: Embedded 15 pages/cpu s30860 r8192 d22388 u61440
[    0.000000] pcpu-alloc: s30860 r8192 d22388 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200n8 earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused loglevel=8 init=/init partitions=boot@mmcblk0p1:rootfs@mmcblk0p2 cma=8M ubi.mtd=5 rootfstype=ubifs root=ubi0:rootfs
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 112660K/131072K available (5120K kernel code, 385K rwdata, 1836K rodata, 1024K init, 148K bss, 10220K reserved, 8192K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x250/0x3d8 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.008026] Switching to timer-based delay loop, resolution 41ns
[    0.014206] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.023961] Console: colour dummy device 80x30
[    0.028451] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.038831] pid_max: default: 32768 minimum: 301
[    0.043584] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.050902] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.059240] CPU: Testing write buffer coherency: ok
[    0.064506] /cpus/cpu@0 missing clock-frequency property
[    0.069825] /cpus/cpu@1 missing clock-frequency property
[    0.075171] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.081437] Setting up static identity map for 0x40100000 - 0x40100060
[    0.088132] rcu: Hierarchical SRCU implementation.
[    0.093414] smp: Bringing up secondary CPUs ...
[    0.098530] smp: Brought up 1 node, 1 CPU
[    0.102539] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.108796] CPU: All CPU(s) started in SVC mode.
[    0.113839] devtmpfs: initialized
[    0.128503] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.136863] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.147016] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.154258] pinctrl core: initialized pinctrl subsystem
[    0.161610] NET: Registered protocol family 16
[    0.166308] cma: cma_alloc(cma (ptrval), count 64, align 6)
[    0.173762] cma: cma_alloc(): returned (ptrval)
[    0.178476] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.248527] rtc_ccu: sunxi ccu init OK
[    0.255402] ccu: sunxi ccu init OK
[    0.259983] r_ccu: sunxi ccu init OK
[    0.331437] iommu: Default domain type: Translated 
[    0.336533] sunxi iommu: irq = 24
[    0.343229] SCSI subsystem initialized
[    0.348177] usbcore: registered new interface driver usbfs
[    0.354475] usbcore: registered new interface driver hub
[    0.360062] usbcore: registered new device driver usb
[    0.368329] pwm module init!
[    0.373195] input: sunxi-keyboard as /devices/virtual/input/input0
[    0.381822] clocksource: Switched to clocksource arch_sys_counter
[    0.398209] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
[    0.431081] thermal_sys: Registered thermal governor 'step_wise'
[    0.431088] thermal_sys: Registered thermal governor 'user_space'
[    0.438160] thermal_sys: Registered thermal governor 'power_allocator'
[    0.445493] NET: Registered protocol family 2
[    0.457598] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.466071] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.473807] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.480868] TCP: Hash tables configured (established 1024 bind 1024)
[    0.487433] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.494059] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.501227] NET: Registered protocol family 1
[    0.506555] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
[    0.517175] spi spi0: spi0 supply spi not found, using dummy regulator
[    0.524188] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE
[    0.530337] sunxi_spi_resource_get()2189 - Failed to get sample mode
[    0.536893] sunxi_spi_resource_get()2194 - Failed to get sample delay
[    0.543417] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921
[    0.551928] sunxi_spi_clk_init()2240 - [spi0] mclk 100000000
[    0.558366] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base c8821000, irq 41
[    0.569362] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.591740] ntfs: driver 2.1.32 [Flags: R/W].
[    0.597096] NET: Registered protocol family 38
[    0.602655] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.610073] io scheduler mq-deadline registered
[    0.614810] io scheduler kyber registered
[    0.621010] [DISP]disp_module_init
[    0.625859] disp 5000000.disp: Adding to iommu group 0
[    0.648198] display_fb_request,fb_id:0
[    0.656777] [DISP] Fb_copy_boot_fb,line:1443:
[    0.656783] no boot_fb0
[    0.664285] disp_al_manager_apply ouput_type:0
[    0.669627] [DISP]disp_module_init finish
[    0.673957] [DISP] lcd_clk_config,line:732:
[    0.673969] disp 0, clk: pll(364000000),clk(364000000),dclk(52000000) dsi_rate(364000000)
[    0.673969]      clk real:pll(360000000),clk(360000000),dclk(51428571) dsi_rate(0)
[    0.696246] sunxi_sid_init()551 - insmod ok
[    0.701409] pwm-regulator: supplied by regulator-dummy
[    0.708617] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
[    0.719558] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
[    0.729938] uart uart3: get regulator failed
[    0.734373] uart uart3: uart3 supply uart not found, using dummy regulator
[    0.742226] uart3: ttyS3 at MMIO 0x2500c00 (irq = 34, base_baud = 1500000) is a SUNXI
[    0.751512] misc dump reg init
[    0.757671] spi-nand spi0.0: Winbond SPI NAND was found.
[    0.763455] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    0.773661] libphy: Fixed MDIO Bus: probed
[    0.777777] CAN device driver interface
[    0.783395] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator

离线

楼主 #4 2022-04-22 21:10:30

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

U-Boot 2022.01-rc3-00096-gc0ffc12a70-dirty (Apr 22 2022 - 17:37:29 +0800) Allwinner Technology

CPU:   SUNXI Family
Model: sun20iw1p1
DRAM:  128 MiB
[00.023]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
MMC:
Loading Environment from FAT... In:    serial
Out:   serial
Err:   serial
starting USB...
No working controllers found
Hit any key to stop autoboot:  0
Kernel image @ 0x40080000 [ 0x000000 - 0x3a6ce0 ]
## Flattened Device Tree blob at 42000000
   Booting using the fdt blob at 0x42000000
   Loading Device Tree to 43f5b000, end 43f6b363 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.61 (root@i9-10920) (arm-linux-gnueabihf-gcc (Linaro GCC 7.5-2019.12) 7.5.0, GNU ld (Linaro_Binutils-2019.12) 2.28.2.20170706) #15 SMP PREEMPT Fri Apr 22 21:08:34 CST 2022
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: sun8iw20
[    0.000000] printk: bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: dma_contiguous_reserve(limit ffffffff)
[    0.000000] cma: dma_contiguous_reserve: reserving 8 MiB for global area
[    0.000000] cma: cma_declare_contiguous(size 0x00800000, base 0x00000000, limit 0xffffffff alignment 0x00000000)
[    0.000000] cma: Reserved 8 MiB at 0x47800000
[    0.000000] On node 0 totalpages: 32768
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] percpu: Embedded 15 pages/cpu s30860 r8192 d22388 u61440
[    0.000000] pcpu-alloc: s30860 r8192 d22388 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200n8 earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused loglevel=8 init=/init partitions=boot@mmcblk0p1:rootfs@mmcblk0p2 cma=8M ubi.mtd=5 rootfstype=ubifs root=ubi0:rootfs
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 112660K/131072K available (5120K kernel code, 385K rwdata, 1836K rodata, 1024K init, 148K bss, 10220K reserved, 8192K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x250/0x3d8 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.008018] Switching to timer-based delay loop, resolution 41ns
[    0.014198] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.023950] Console: colour dummy device 80x30
[    0.028422] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.038792] pid_max: default: 32768 minimum: 301
[    0.043537] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.050864] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.059226] CPU: Testing write buffer coherency: ok
[    0.064485] /cpus/cpu@0 missing clock-frequency property
[    0.069822] /cpus/cpu@1 missing clock-frequency property
[    0.075159] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.081401] Setting up static identity map for 0x40100000 - 0x40100060
[    0.088093] rcu: Hierarchical SRCU implementation.
[    0.093369] smp: Bringing up secondary CPUs ...
[    0.098488] smp: Brought up 1 node, 1 CPU
[    0.102497] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.108757] CPU: All CPU(s) started in SVC mode.
[    0.113802] devtmpfs: initialized
[    0.128441] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.136823] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.146961] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.154173] pinctrl core: initialized pinctrl subsystem
[    0.161521] NET: Registered protocol family 16
[    0.166193] cma: cma_alloc(cma (ptrval), count 64, align 6)
[    0.173644] cma: cma_alloc(): returned (ptrval)
[    0.178331] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.247195] rtc_ccu: sunxi ccu init OK
[    0.254130] ccu: sunxi ccu init OK
[    0.258684] r_ccu: sunxi ccu init OK
[    0.330401] iommu: Default domain type: Translated
[    0.335487] sunxi iommu: irq = 24
[    0.341900] SCSI subsystem initialized
[    0.346852] usbcore: registered new interface driver usbfs
[    0.353270] usbcore: registered new interface driver hub
[    0.358863] usbcore: registered new device driver usb
[    0.367122] pwm module init!
[    0.371957] input: sunxi-keyboard as /devices/virtual/input/input0
[    0.380557] clocksource: Switched to clocksource arch_sys_counter
[    0.396902] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
[    0.429359] thermal_sys: Registered thermal governor 'step_wise'
[    0.429366] thermal_sys: Registered thermal governor 'user_space'
[    0.436662] thermal_sys: Registered thermal governor 'power_allocator'
[    0.443974] NET: Registered protocol family 2
[    0.456090] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.464571] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.472317] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.479370] TCP: Hash tables configured (established 1024 bind 1024)
[    0.485928] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.492548] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.499691] NET: Registered protocol family 1
[    0.505001] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
[    0.515626] spi spi0: spi0 supply spi not found, using dummy regulator
[    0.522636] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE
[    0.528777] sunxi_spi_resource_get()2189 - Failed to get sample mode
[    0.535310] sunxi_spi_resource_get()2194 - Failed to get sample delay
[    0.541826] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921
[    0.550250] sunxi_spi_clk_init()2240 - [spi0] mclk 100000000
[    0.556774] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base c8821000, irq 40
[    0.567746] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.589606] ntfs: driver 2.1.32 [Flags: R/W].
[    0.594961] NET: Registered protocol family 38
[    0.599745] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.607837] io scheduler mq-deadline registered
[    0.612573] io scheduler kyber registered
[    0.618765] [DISP]disp_module_init
[    0.623577] disp 5000000.disp: Adding to iommu group 0
[    0.645852] display_fb_request,fb_id:0
[    0.654557] [DISP] Fb_copy_boot_fb,line:1443:
[    0.654562] no boot_fb0
[    0.662009] disp_al_manager_apply ouput_type:0
[    0.667397] [DISP]disp_module_init finish
[    0.671735] [DISP] lcd_clk_config,line:732:
[    0.671746] disp 0, clk: pll(364000000),clk(364000000),dclk(52000000) dsi_rate(364000000)
[    0.671746]      clk real:pll(360000000),clk(360000000),dclk(51428571) dsi_rate(0)
[    0.693982] sunxi_sid_init()551 - insmod ok
[    0.699130] pwm-regulator: supplied by regulator-dummy
[    0.706320] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
[    0.717268] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
[    0.727641] uart uart3: get regulator failed
[    0.732050] uart uart3: uart3 supply uart not found, using dummy regulator
[    0.739812] uart3: ttyS3 at MMIO 0x2500c00 (irq = 34, base_baud = 1500000) is a SUNXI
[    0.749141] misc dump reg init
[    0.755269] spi-nand spi0.0: Winbond SPI NAND was found.
[    0.761107] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    0.771228] libphy: Fixed MDIO Bus: probed
[    0.775343] CAN device driver interface
[    0.779444] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.787087] sunxi-ehci: EHCI SUNXI driver
[    0.791839] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.798051] sunxi-ohci: OHCI SUNXI driver
[    0.803140] usbcore: registered new interface driver uas
[    0.808836] usbcore: registered new interface driver usb-storage
[    0.815108] usbcore: registered new interface driver ums-alauda
[    0.821390] usbcore: registered new interface driver ums-cypress
[    0.827620] usbcore: registered new interface driver ums-datafab
[    0.833806] usbcore: registered new interface driver ums_eneub6250
[    0.840230] usbcore: registered new interface driver ums-freecom
[    0.846479] usbcore: registered new interface driver ums-isd200
[    0.852739] usbcore: registered new interface driver ums-jumpshot
[    0.859052] usbcore: registered new interface driver ums-karma
[    0.865111] usbcore: registered new interface driver ums-onetouch
[    0.871508] usbcore: registered new interface driver ums-realtek
[    0.877746] usbcore: registered new interface driver ums-sddr09
[    0.883942] usbcore: registered new interface driver ums-sddr55
[    0.890112] usbcore: registered new interface driver ums-usbat
[    0.897410] input: sunxi-ts as /devices/platform/soc@3000000/2009c00.rtp/input/input1
[    0.906614] sunxi_gpadc_init,2137, success
[    0.913424] sunxi-rtc 7090000.rtc: registered as rtc0
[    0.918597] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:14:52 UTC (892)
[    0.927244] sunxi-rtc 7090000.rtc: sunxi rtc probed
[    0.932939] i2c /dev entries driver
[    0.936836] IR NEC protocol handler initialized
[    0.941577] IR RC5(x/sz) protocol handler initialized
[    0.947075] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
[    0.957167] [DISP] disp_device_attached_and_enable,line:233:
[    0.957172] attached ok, mgr0<-->dev0
[    0.966893] sunxi_ir_startup: get ir protocol failed
[    0.966912] (NULL device *): deviceless supply  not found, using dummy regulator
[    0.979452] Registered IR keymap rc_map_sunxi
[    0.983886] [DISP] disp_device_attached_and_enable,line:236:
[    0.983895] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:0 dvi_hdmi:2, range:2 scan:0 ratio:8
[    0.998189] rc rc0: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0
[    1.006202] input: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0/s_cir_rx
[    1.015602] sunxi cedar version 1.1
[    1.019292] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
[    1.025267] VE: sunxi_cedar_probe power-domain init!!!
[    1.030448] VE: install start!!!
[    1.030448]
[    1.035677] VE: cedar-ve the get irq is 41
[    1.035677]
[    1.041738] VE: ve_debug_proc_info:(ptrval), data:(ptrval), lock:(ptrval)
[    1.041738]
[    1.050050] VE: install end!!!
[    1.050050]
[    1.054712] VE: sunxi_cedar_probe
[    1.059706] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.069833] usbcore: registered new interface driver usbhid
[    1.076010] usbhid: USB HID core driver
[    1.082683] NET: Registered protocol family 10
[    1.088926] Segment Routing with IPv6
[    1.093119] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.101366] NET: Registered protocol family 17
[    1.105842] NET: Registered protocol family 15
[    1.110280] can: controller area network core (rev 20170425 abi 9)
[    1.117141] NET: Registered protocol family 29
[    1.121665] can: raw protocol (rev 20170425)
[    1.125949] can: broadcast manager protocol (rev 20170425 t)
[    1.131712] can: netlink gateway (rev 20190810) max_hops=1
[    1.137655] Registering SWP/SWPB emulation handler
[    1.145542] HDMI 2.0 driver init start!
[    1.149436] boot_hdmi=false
[    1.152606] ERROR: can not get hdmi_cts_compatibility
[    1.157670] ERROR: pinctrl_get for HDMI2.0 DDC fail
[    1.164282] HDMI2.0 module init end
[    1.185545] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
[    1.195937] i2c i2c2: i2c2 supply twi not found, using dummy regulator
[    1.203843] i2c i2c2: probe success
[    1.251684] get ehci0-controller wakeup-source is fail.
[    1.257017] sunxi ehci0-controller don't init wakeup source
[    1.262968] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc097d980, 0x:c887a000, irq_no:37
[    1.273758] [sunxi-ehci0]: Not init ehci0
[    1.278252] get ohci0-controller wakeup-source is fail.
[    1.283834] sunxi ohci0-controller don't init wakeup source
[    1.289422] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc097dc10
[    1.298160] [sunxi-ohci0]: Not init ohci0
[    1.302695] get ehci1-controller wakeup-source is fail.
[    1.308030] sunxi ehci1-controller don't init wakeup source
[    1.313823] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc097dea0, 0x:c92b5000, irq_no:39
[    1.324913] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
[    1.337329] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
[    1.343902] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
[    1.352635] cma: cma_alloc(cma (ptrval), count 1, align 0)
[    1.358257] cma: cma_alloc(): returned (ptrval)
[    1.362901] cma: cma_alloc(cma (ptrval), count 1, align 0)
[    1.368411] cma: cma_alloc(): returned (ptrval)
[    1.373012] cma: cma_alloc(cma (ptrval), count 1, align 0)
[    1.378523] cma: cma_alloc(): returned (ptrval)
[    1.383193] sunxi-ehci 4200000.ehci1-controller: irq 57, io mem 0x04200000
[    1.410570] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
[    1.418584] hub 1-0:1.0: USB hub found
[    1.422606] hub 1-0:1.0: 1 port detected
[    1.427585] get ohci1-controller wakeup-source is fail.
[    1.433308] sunxi ohci1-controller don't init wakeup source
[    1.438888] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc097e130
[    1.447997] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
[    1.459281] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
[    1.466035] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
[    1.474731] cma: cma_alloc(cma (ptrval), count 1, align 0)
[    1.480347] cma: cma_alloc(): returned (ptrval)
[    1.485057] sunxi-ohci 4200400.ohci1-controller: irq 58, io mem 0x04200400
[    1.565611] hub 2-0:1.0: USB hub found
[    1.569575] hub 2-0:1.0: 1 port detected
[    1.574804] UBI error: cannot open mtd 5, error -19
[    1.581840] clk: Not disabling unused clocks
[    1.586144] alloc_fd: slot 0 not NULL!
[    1.589927] Warning: unable to open an initial console.
[    1.595556] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0): error -19
[    1.603757] Please append a correct "root=" boot option; here are the available partitions:
[    1.612202] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    1.620476] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.4.61 #15
[    1.626471] Hardware name: Generic DT based system
[    1.631296] [<c010e310>] (unwind_backtrace) from [<c010a8bc>] (show_stack+0x10/0x14)
[    1.639042] [<c010a8bc>] (show_stack) from [<c05c9bc4>] (dump_stack+0x7c/0x98)
[    1.646268] [<c05c9bc4>] (dump_stack) from [<c01193dc>] (panic+0x100/0x3d0)
[    1.653242] [<c01193dc>] (panic) from [<c0801264>] (mount_block_root+0x248/0x344)
[    1.660718] [<c0801264>] (mount_block_root) from [<c0801464>] (prepare_namespace+0x84/0x178)
[    1.669164] [<c0801464>] (prepare_namespace) from [<c05dde20>] (kernel_init+0x8/0x10c)
[    1.677074] [<c05dde20>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[    1.684648] Exception stack(0xc7025fb0 to 0xc7025ff8)
[    1.689701] 5fa0:                                     00000000 00000000 00000000 00000000
[    1.697885] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.706059] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    1.712674] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---

离线

楼主 #5 2022-04-22 23:26:24

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

U-Boot 2022.01-rc3-00096-gc0ffc12a70-dirty (Apr 22 2022 - 22:42:46 +0800) Allwinner Technology

CPU:   SUNXI Family
Model: sun20iw1p1
DRAM:  128 MiB
[00.023]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
MMC:
Loading Environment from FAT... In:    serial
Out:   serial
Err:   serial
starting USB...
No working controllers found
Hit any key to stop autoboot:  0
Kernel image @ 0x40080000 [ 0x000000 - 0x3e64c8 ]
## Flattened Device Tree blob at 40020000
   Booting using the fdt blob at 0x40020000
   Loading Device Tree to 43f5b000, end 43f6b51d ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.61 (root@i9-10920) (arm-linux-gnueabihf-gcc (Linaro GCC 7.5-2019.12) 7.5.0, GNU ld (Linaro_Binutils-2019.12) 2.28.2.20170706) #19 SMP PREEMPT Fri Apr 22 23:02:45 CST 2022
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: sun8iw20
[    0.000000] printk: bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: dma_contiguous_reserve(limit ffffffff)
[    0.000000] cma: dma_contiguous_reserve: reserving 8 MiB for global area
[    0.000000] cma: cma_declare_contiguous(size 0x00800000, base 0x00000000, limit 0xffffffff alignment 0x00000000)
[    0.000000] cma: Reserved 8 MiB at 0x47800000
[    0.000000] On node 0 totalpages: 32768
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] percpu: Embedded 15 pages/cpu s30860 r8192 d22388 u61440
[    0.000000] pcpu-alloc: s30860 r8192 d22388 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200n8 earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused loglevel=8 init=/init rootfstype=ext4 partitions=boot@mmcblk0p1:rootfs@mmcblk0p2 cma=8M ubi.mtd=4 root=/dev/mmcblk0p2
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 110616K/131072K available (6144K kernel code, 378K rwdata, 1916K rodata, 1024K init, 148K bss, 12264K reserved, 8192K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x250/0x3d8 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.008009] Switching to timer-based delay loop, resolution 41ns
[    0.014188] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.023935] Console: colour dummy device 80x30
[    0.028425] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.038780] pid_max: default: 32768 minimum: 301
[    0.043533] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.050862] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.059216] CPU: Testing write buffer coherency: ok
[    0.064450] /cpus/cpu@0 missing clock-frequency property
[    0.069778] /cpus/cpu@1 missing clock-frequency property
[    0.075124] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.081384] Setting up static identity map for 0x40100000 - 0x40100060
[    0.088067] rcu: Hierarchical SRCU implementation.
[    0.093348] smp: Bringing up secondary CPUs ...
[    0.098456] smp: Brought up 1 node, 1 CPU
[    0.102482] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.108750] CPU: All CPU(s) started in SVC mode.
[    0.113786] devtmpfs: initialized
[    0.128674] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.137019] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.147159] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.154371] pinctrl core: initialized pinctrl subsystem
[    0.161704] NET: Registered protocol family 16
[    0.166382] cma: cma_alloc(cma (ptrval), count 64, align 6)
[    0.173840] cma: cma_alloc(): returned (ptrval)
[    0.178529] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.241603] rtc_ccu: sunxi ccu init OK
[    0.248623] ccu: sunxi ccu init OK
[    0.252571] r_ccu: sunxi ccu init OK
[    0.319382] iommu: Default domain type: Translated
[    0.324472] sunxi iommu: irq = 24
[    0.330970] SCSI subsystem initialized
[    0.335886] usbcore: registered new interface driver usbfs
[    0.342293] usbcore: registered new interface driver hub
[    0.347894] usbcore: registered new device driver usb
[    0.356669] pwm module init!
[    0.361452] input: sunxi-keyboard as /devices/virtual/input/input0
[    0.369947] clocksource: Switched to clocksource arch_sys_counter
[    0.386410] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
[    0.418851] thermal_sys: Registered thermal governor 'step_wise'
[    0.418857] thermal_sys: Registered thermal governor 'user_space'
[    0.425844] thermal_sys: Registered thermal governor 'power_allocator'
[    0.433138] NET: Registered protocol family 2
[    0.445237] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.453704] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.461440] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.468494] TCP: Hash tables configured (established 1024 bind 1024)
[    0.475060] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.481666] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.488823] NET: Registered protocol family 1
[    0.494121] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
[    0.504720] spi spi0: spi0 supply spi not found, using dummy regulator
[    0.511737] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE
[    0.517882] sunxi_spi_resource_get()2189 - Failed to get sample mode
[    0.524423] sunxi_spi_resource_get()2194 - Failed to get sample delay
[    0.530930] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921
[    0.539354] sunxi_spi_clk_init()2240 - [spi0] mclk 100000000
[    0.545860] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base c8821000, irq 40
[    0.556774] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.580537] ntfs: driver 2.1.32 [Flags: R/W].
[    0.586060] NET: Registered protocol family 38
[    0.591675] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.599075] io scheduler mq-deadline registered
[    0.604035] io scheduler kyber registered
[    0.610371] [DISP]disp_module_init
[    0.615108] disp 5000000.disp: Adding to iommu group 0
[    0.637628] display_fb_request,fb_id:0
[    0.646032] [DISP] Fb_copy_boot_fb,line:1443:
[    0.646037] no boot_fb0
[    0.653505] disp_al_manager_apply ouput_type:0
[    0.658876] [DISP]disp_module_init finish
[    0.663220] [DISP] lcd_clk_config,line:732:
[    0.663232] disp 0, clk: pll(364000000),clk(364000000),dclk(52000000) dsi_rate(364000000)
[    0.663232]      clk real:pll(360000000),clk(360000000),dclk(51428571) dsi_rate(0)
[    0.685321] sunxi_sid_init()551 - insmod ok
[    0.690542] pwm-regulator: supplied by regulator-dummy
[    0.697585] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
[    0.708563] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
[    0.718843] uart uart3: get regulator failed
[    0.723340] uart uart3: uart3 supply uart not found, using dummy regulator
[    0.730980] uart3: ttyS3 at MMIO 0x2500c00 (irq = 34, base_baud = 1500000) is a SUNXI
[    0.740395] misc dump reg init
[    0.746127] spi-nand spi0.0: Winbond SPI NAND was found.
[    0.752038] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    0.760832] 5 fixed-partitions partitions found on MTD device spi0.0
[    0.767180] Creating 5 MTD partitions on "spi0.0":
[    0.772208] 0x000000000000-0x000000100000 : "boot0"
[    0.780451] 0x000000100000-0x000000200000 : "u-boot"
[    0.788783] 0x000000200000-0x000000220000 : "dtb"
[    0.794883] 0x000000220000-0x000000820000 : "kernel"
[    0.801634] random: fast init done
[    0.818649] 0x000000820000-0x000008000000 : "rootfs"
[    0.940142] [DISP] disp_device_attached_and_enable,line:233:
[    0.940148] attached ok, mgr0<-->dev0
[    0.949476] [DISP] disp_device_attached_and_enable,line:236:
[    0.949484] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:0 dvi_hdmi:2, range:2 scan:0 ratio:8
[    1.133692] libphy: Fixed MDIO Bus: probed
[    1.137799] CAN device driver interface
[    1.142628] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.149201] sunxi-ehci: EHCI SUNXI driver
[    1.153817] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.160197] sunxi-ohci: OHCI SUNXI driver
[    1.164944] usbcore: registered new interface driver uas
[    1.170833] usbcore: registered new interface driver usb-storage
[    1.177082] usbcore: registered new interface driver ums-alauda
[    1.183302] usbcore: registered new interface driver ums-cypress
[    1.189553] usbcore: registered new interface driver ums-datafab
[    1.195760] usbcore: registered new interface driver ums_eneub6250
[    1.202319] usbcore: registered new interface driver ums-freecom
[    1.208559] usbcore: registered new interface driver ums-isd200
[    1.214686] usbcore: registered new interface driver ums-jumpshot
[    1.221045] usbcore: registered new interface driver ums-karma
[    1.227107] usbcore: registered new interface driver ums-onetouch
[    1.233488] usbcore: registered new interface driver ums-realtek
[    1.239738] usbcore: registered new interface driver ums-sddr09
[    1.245916] usbcore: registered new interface driver ums-sddr55
[    1.252110] usbcore: registered new interface driver ums-usbat
[    1.259315] input: sunxi-ts as /devices/platform/soc@3000000/2009c00.rtp/input/input1
[    1.268386] sunxi_gpadc_init,2137, success
[    1.273615] sunxi-rtc 7090000.rtc: errata__fix_alarm_day_reg_default_value(): ALARM0_DAY_REG=0, set it to 1
[    1.285183] sunxi-rtc 7090000.rtc: registered as rtc0
[    1.290884] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:00:23 UTC (23)
[    1.298946] sunxi-rtc 7090000.rtc: sunxi rtc probed
[    1.304458] i2c /dev entries driver
[    1.308340] IR NEC protocol handler initialized
[    1.312969] IR RC5(x/sz) protocol handler initialized
[    1.318464] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
[    1.328766] sunxi_ir_startup: get ir protocol failed
[    1.328786] (NULL device *): deviceless supply  not found, using dummy regulator
[    1.341367] Registered IR keymap rc_map_sunxi
[    1.346003] rc rc0: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0
[    1.354076] input: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0/s_cir_rx
[    1.363363] sunxi cedar version 1.1
[    1.367105] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
[    1.373062] VE: sunxi_cedar_probe power-domain init!!!
[    1.378201] VE: install start!!!
[    1.378201]
[    1.383480] VE: cedar-ve the get irq is 41
[    1.383480]
[    1.389270] VE: ve_debug_proc_info:(ptrval), data:(ptrval), lock:(ptrval)
[    1.389270]
[    1.397873] VE: install end!!!
[    1.397873]
[    1.402525] VE: sunxi_cedar_probe
[    1.407378] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.419605] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-05-24 16:10)
[    1.429096] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
[    1.434802] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
[    1.440713] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
[    1.446471] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
[    1.452294] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
[    1.458129] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
[    1.464053] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
[    1.469887] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
[    1.476271] sunxi-mmc 4020000.sdmmc: Got CD GPIO
[    1.481045] cma: cma_alloc(cma (ptrval), count 2, align 1)
[    1.486689] cma: cma_alloc(): returned (ptrval)
[    1.491259] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail
[    1.497329] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.507422] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
[    1.526830] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.550132] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
[    1.555212] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.566222] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-05-24 16:10)
[    1.575296] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
[    1.581069] sunxi-mmc 4021000.sdmmc: No vmmc regulator found
[    1.586771] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
[    1.592620] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
[    1.598395] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.608804] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
[    1.614700] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
[    1.620656] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
[    1.626517] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
[    1.632461] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
[    1.640561] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.651132] cma: cma_alloc(cma (ptrval), count 4, align 2)
[    1.656803] cma: cma_alloc(): returned (ptrval)
[    1.661715] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.671857] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[    1.678667] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.699991] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.722986] sunxi-mmc 4021000.sdmmc: detmode:manually by software
[    1.729820] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.740968] usbcore: registered new interface driver usbhid
[    1.746554] usbhid: USB HID core driver
[    1.753711] NET: Registered protocol family 10
[    1.758197] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.770558] Segment Routing with IPv6
[    1.774320] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.782374] sunxi-mmc 4021000.sdmmc: card claims to support voltages below defined range
[    1.791407] NET: Registered protocol family 17
[    1.796393] NET: Registered protocol family 15
[    1.801049] can: controller area network core (rev 20170425 abi 9)
[    1.807369] NET: Registered protocol family 29
[    1.812029] can: raw protocol (rev 20170425)
[    1.816354] can: broadcast manager protocol (rev 20170425 t)
[    1.822120] can: netlink gateway (rev 20190810) max_hops=1
[    1.828144] Registering SWP/SWPB emulation handler
[    1.840747] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[    1.858573] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.870124] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[    1.883549] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
[    1.893509] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[    1.903883] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
[    1.914460] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[    1.925354] i2c i2c2: i2c2 supply twi not found, using dummy regulator
[    1.933419] i2c i2c2: probe success
[    1.938276] mmc1: new high speed SDIO card at address 0001
[    1.945732] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
[    1.990264] mmc0: new high speed SDHC card at address 59b4
[    1.997053] get ehci0-controller wakeup-source is fail.
[    2.003592] mmcblk0: mmc0:59b4 SMI   7.52 GiB
[    2.008234] sunxi ehci0-controller don't init wakeup source
[    2.014011] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0b7bb18, 0x:c92b1000, irq_no:37
[    2.024806] [sunxi-ehci0]: Not init ehci0
[    2.029378] get ohci0-controller wakeup-source is fail.
[    2.034965] sunxi ohci0-controller don't init wakeup source
[    2.040620] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0b7bda8
[    2.049250] [sunxi-ohci0]: Not init ohci0
[    2.053783] get ehci1-controller wakeup-source is fail.
[    2.059117] sunxi ehci1-controller don't init wakeup source
[    2.064957] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0b7c038, 0x:c92bb000, irq_no:39
[    2.076061] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
[    2.089152] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
[    2.096042] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
[    2.105026] cma: cma_alloc(cma (ptrval), count 1, align 0)
[    2.110720]  mmcblk0: p1 p2
[    2.115238] cma: cma_alloc(): returned (ptrval)
[    2.119806] cma: cma_alloc(cma (ptrval), count 1, align 0)
[    2.125705] cma: cma_alloc(): returned (ptrval)
[    2.130333] cma: cma_alloc(cma (ptrval), count 1, align 0)
[    2.135870] cma: cma_alloc(): returned (ptrval)
[    2.140549] sunxi-ehci 4200000.ehci1-controller: irq 57, io mem 0x04200000
[    2.169972] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
[    2.178007] hub 1-0:1.0: USB hub found
[    2.182068] hub 1-0:1.0: 1 port detected
[    2.187077] get ohci1-controller wakeup-source is fail.
[    2.192765] sunxi ohci1-controller don't init wakeup source
[    2.198372] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0b7c2c8
[    2.207384] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
[    2.218714] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
[    2.225435] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
[    2.234168] cma: cma_alloc(cma (ptrval), count 1, align 0)
[    2.239766] cma: cma_alloc(): returned (ptrval)
[    2.244465] sunxi-ohci 4200400.ohci1-controller: irq 58, io mem 0x04200400
[    2.325014] hub 2-0:1.0: USB hub found
[    2.329003] hub 2-0:1.0: 1 port detected
[    2.334271] ubi0: attaching mtd4
[    2.378101] random: crng init done
[    3.090204] ubi0: scanning is finished
[    3.104806] ubi0: attached mtd4 (name "rootfs", size 119 MiB)
[    3.110730] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    3.117620] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    3.124455] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    3.131519] ubi0: good PEBs: 959, bad PEBs: 0, corrupted PEBs: 0
[    3.137517] ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
[    3.144807] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1343052751
[    3.153997] ubi0: available PEBs: 915, total reserved PEBs: 44, PEBs reserved for bad PEB handling: 40
[    3.163349] ubi0: background thread "ubi_bgt0d" started, PID 905
[    3.171070] clk: Not disabling unused clocks
[    3.175366] alloc_fd: slot 0 not NULL!
[    3.179167] Warning: unable to open an initial console.
[    3.187028] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[    3.194448] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[    3.700451] EXT4-fs (mmcblk0p2): recovery complete
[    3.712192] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    3.720454] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    3.729045] Freeing unused kernel memory: 1024K
[    3.740110] Run /init as init process
[    4.833516] udevd[948]: starting version 3.2
[    4.874240] udevd[949]: starting eudev-3.2
[    5.002459] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)

离线

楼主 #6 2022-04-23 10:49:10

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

[    5.531496] clk: Not disabling unused clocks
[    5.539682] cfg80211: failed to load regulatory.db
[    5.544445] ALSA device list:
[    5.553120]   #0: audiocodec
[    5.556361] alloc_fd: slot 0 not NULL!
[    5.591259] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
[    5.601546] VFS: Mounted root (ext4 filesystem) readonly on device 179:5.
[    5.611037] Freeing unused kernel memory: 1024K
[    5.621591] Kernel init done
[    5.624821] Run /init as init process
login[971]: root login on 'console'
-bash: cannot set terminal process group (-1): Inappropriate ioctl for device
-bash: no job control in this shell
[root@T113-s3 /root]# 

离线

楼主 #7 2022-04-23 16:49:15

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

U-Boot 2022.01-rc3-00096-gc0ffc12a70-dirty (Apr 23 2022 - 16:39:41 +0800) Allwinner Technology

CPU:   SUNXI Family
Model: sun20iw1p1
DRAM:  128 MiB
[00.023]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
MMC:   
Loading Environment from FAT... In:    serial
Out:   serial
Err:   serial
starting USB...
No working controllers found
Hit any key to stop autoboot:  0 
Kernel image @ 0x40080000 [ 0x000000 - 0x3e6488 ]
## Flattened Device Tree blob at 40020000
   Booting using the fdt blob at 0x40020000
   Loading Device Tree to 43f5b000, end 43f6b4c9 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.61 (root@i9-10920) (arm-linux-gnueabihf-gcc (Linaro GCC 7.5-2019.12) 7.5.0, GNU ld (Linaro_Binutils-2019.12) 2.28.2.20170706) #28 SMP PREEMPT Sat Apr 23 16:07:35 CST 2022
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: sun8iw20
[    0.000000] printk: bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: dma_contiguous_reserve(limit ffffffff)
[    0.000000] cma: dma_contiguous_reserve: reserving 8 MiB for global area
[    0.000000] cma: cma_declare_contiguous(size 0x00800000, base 0x00000000, limit 0xffffffff alignment 0x00000000)
[    0.000000] cma: Reserved 8 MiB at 0x47800000
[    0.000000] On node 0 totalpages: 32768
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] percpu: Embedded 15 pages/cpu s30860 r8192 d22388 u61440
[    0.000000] pcpu-alloc: s30860 r8192 d22388 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200n8 earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused loglevel=8 init=/init partitions=rootfs@mmcblk0p5 cma=8M ubi.mtd=4 rootfstype=ubifs root=ubi0:rootfs ro rootwait
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 110616K/131072K available (6144K kernel code, 378K rwdata, 1916K rodata, 1024K init, 148K bss, 12264K reserved, 8192K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:   RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x250/0x3d8 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.008000] Switching to timer-based delay loop, resolution 41ns
[    0.014183] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.023933] Console: colour dummy device 80x30
[    0.028415] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.038777] pid_max: default: 32768 minimum: 301
[    0.043537] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.050865] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.059223] CPU: Testing write buffer coherency: ok
[    0.064479] /cpus/cpu@0 missing clock-frequency property
[    0.069815] /cpus/cpu@1 missing clock-frequency property
[    0.075168] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.081424] Setting up static identity map for 0x40100000 - 0x40100060
[    0.088119] rcu: Hierarchical SRCU implementation.
[    0.093388] smp: Bringing up secondary CPUs ...
[    0.098503] smp: Brought up 1 node, 1 CPU
[    0.102521] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.108784] CPU: All CPU(s) started in SVC mode.
[    0.113817] devtmpfs: initialized
[    0.128766] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.137126] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.147270] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.154498] pinctrl core: initialized pinctrl subsystem
[    0.161804] NET: Registered protocol family 16
[    0.166521] cma: cma_alloc(cma (ptrval), count 64, align 6)
[    0.173994] cma: cma_alloc(): returned (ptrval)
[    0.178690] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.242627] rtc_ccu: sunxi ccu init OK
[    0.249844] ccu: sunxi ccu init OK
[    0.253935] r_ccu: sunxi ccu init OK
[    0.320698] iommu: Default domain type: Translated 
[    0.325785] sunxi iommu: irq = 24
[    0.332367] SCSI subsystem initialized
[    0.337300] usbcore: registered new interface driver usbfs
[    0.343576] usbcore: registered new interface driver hub
[    0.349163] usbcore: registered new device driver usb
[    0.357941] pwm module init!
[    0.362733] input: sunxi-keyboard as /devices/virtual/input/input0
[    0.371253] clocksource: Switched to clocksource arch_sys_counter
[    0.387697] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
[    0.420092] thermal_sys: Registered thermal governor 'step_wise'
[    0.420098] thermal_sys: Registered thermal governor 'user_space'
[    0.427095] thermal_sys: Registered thermal governor 'power_allocator'
[    0.434368] NET: Registered protocol family 2
[    0.446465] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.454937] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.462667] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.469720] TCP: Hash tables configured (established 1024 bind 1024)
[    0.476281] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.482885] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.490042] NET: Registered protocol family 1
[    0.495323] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
[    0.505938] spi spi0: spi0 supply spi not found, using dummy regulator
[    0.512947] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE
[    0.519090] sunxi_spi_resource_get()2189 - Failed to get sample mode
[    0.525625] sunxi_spi_resource_get()2194 - Failed to get sample delay
[    0.532141] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921
[    0.540564] sunxi_spi_clk_init()2240 - [spi0] mclk 100000000
[    0.547073] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base c8821000, irq 41
[    0.558009] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.582064] ntfs: driver 2.1.32 [Flags: R/W].
[    0.587639] NET: Registered protocol family 38
[    0.593022] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.600414] io scheduler mq-deadline registered
[    0.605332] io scheduler kyber registered
[    0.611637] [DISP]disp_module_init
[    0.616391] disp 5000000.disp: Adding to iommu group 0
[    0.638903] display_fb_request,fb_id:0
[    0.647335] [DISP] Fb_copy_boot_fb,line:1443:
[    0.647340] no boot_fb0
[    0.654787] disp_al_manager_apply ouput_type:0
[    0.660108] [DISP]disp_module_init finish
[    0.664441] [DISP] lcd_clk_config,line:732:
[    0.664452] disp 0, clk: pll(364000000),clk(364000000),dclk(52000000) dsi_rate(364000000)
[    0.664452]      clk real:pll(360000000),clk(360000000),dclk(51428571) dsi_rate(0)
[    0.686571] sunxi_sid_init()551 - insmod ok
[    0.691831] pwm-regulator: supplied by regulator-dummy
[    0.698814] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
[    0.709783] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
[    0.720050] uart uart0: get regulator failed
[    0.724542] uart uart0: uart0 supply uart not found, using dummy regulator
[    0.732190] uart0: ttyS0 at MMIO 0x2500000 (irq = 34, base_baud = 1500000) is a SUNXI
[    0.740028] sw_console_setup()1784 - console setup baud 115200 parity n bits 8, flow n
[    0.748197] printk: console [ttyS0] enabled
[    0.748197] printk: console [ttyS0] enabled
[    0.757133] printk: bootconsole [earlycon0] disabled
[    0.757133] printk: bootconsole [earlycon0] disabled
[    0.768610] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
[    0.780307] uart uart3: get regulator failed
[    0.785198] uart uart3: uart3 supply uart not found, using dummy regulator
[    0.793389] uart3: ttyS3 at MMIO 0x2500c00 (irq = 35, base_baud = 1500000) is a SUNXI
[    0.803733] misc dump reg init
[    0.809823] spi-nand spi0.0: Winbond SPI NAND was found.
[    0.816377] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    0.826029] 5 fixed-partitions partitions found on MTD device spi0.0
[    0.833458] Creating 5 MTD partitions on "spi0.0":
[    0.838841] 0x000000000000-0x000000100000 : "boot0"
[    0.847555] 0x000000100000-0x000000200000 : "u-boot"
[    0.856622] 0x000000200000-0x000000220000 : "dtb"
[    0.863254] 0x000000220000-0x000000820000 : "kernel"
[    0.870445] random: fast init done
[    0.888314] 0x000000820000-0x000008000000 : "rootfs"
[    0.941466] [DISP] disp_device_attached_and_enable,line:233:
[    0.941473] attached ok, mgr0<-->dev0
[    0.960661] [DISP] disp_device_attached_and_enable,line:236:
[    0.960670] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:0 dvi_hdmi:2, range:2 scan:0 ratio:8
[    1.208132] libphy: Fixed MDIO Bus: probed
[    1.213343] CAN device driver interface
[    1.218049] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.225549] sunxi-ehci: EHCI SUNXI driver
[    1.230471] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.237653] sunxi-ohci: OHCI SUNXI driver
[    1.243051] usbcore: registered new interface driver uas
[    1.249382] usbcore: registered new interface driver usb-storage
[    1.256416] usbcore: registered new interface driver ums-alauda
[    1.263332] usbcore: registered new interface driver ums-cypress
[    1.270337] usbcore: registered new interface driver ums-datafab
[    1.277325] usbcore: registered new interface driver ums_eneub6250
[    1.284606] usbcore: registered new interface driver ums-freecom
[    1.291584] usbcore: registered new interface driver ums-isd200
[    1.298446] usbcore: registered new interface driver ums-jumpshot
[    1.305499] usbcore: registered new interface driver ums-karma
[    1.312300] usbcore: registered new interface driver ums-onetouch
[    1.319400] usbcore: registered new interface driver ums-realtek
[    1.326375] usbcore: registered new interface driver ums-sddr09
[    1.333321] usbcore: registered new interface driver ums-sddr55
[    1.340209] usbcore: registered new interface driver ums-usbat
[    1.348101] input: sunxi-ts as /devices/platform/soc@3000000/2009c00.rtp/input/input1
[    1.358216] sunxi_gpadc_init,2137, success
[    1.363998] sunxi-rtc 7090000.rtc: errata__fix_alarm_day_reg_default_value(): ALARM0_DAY_REG=0, set it to 1
[    1.376776] sunxi-rtc 7090000.rtc: registered as rtc0
[    1.383066] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:00:13 UTC (13)
[    1.392206] sunxi-rtc 7090000.rtc: sunxi rtc probed
[    1.398227] i2c /dev entries driver
[    1.402612] IR NEC protocol handler initialized
[    1.407696] IR RC5(x/sz) protocol handler initialized
[    1.414002] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
[    1.425517] sunxi_ir_startup: get ir protocol failed
[    1.425537] (NULL device *): deviceless supply  not found, using dummy regulator
[    1.439619] Registered IR keymap rc_map_sunxi
[    1.444852] rc rc0: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0
[    1.453843] input: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0/s_cir_rx
[    1.464159] sunxi cedar version 1.1
[    1.468315] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
[    1.474960] VE: sunxi_cedar_probe power-domain init!!!
[    1.480732] VE: install start!!!
[    1.480732] 
[    1.486556] VE: cedar-ve the get irq is 42
[    1.486556] 
[    1.493280] VE: ve_debug_proc_info:(ptrval), data:(ptrval), lock:(ptrval)
[    1.493280] 
[    1.502719] VE: install end!!!
[    1.502719] 
[    1.507802] VE: sunxi_cedar_probe
[    1.513138] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.526295] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-05-24 16:10)
[    1.536904] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
[    1.543241] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
[    1.549591] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
[    1.556306] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
[    1.562799] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
[    1.569355] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
[    1.575957] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
[    1.582515] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
[    1.589576] sunxi-mmc 4020000.sdmmc: Got CD GPIO
[    1.594880] cma: cma_alloc(cma (ptrval), count 2, align 1)
[    1.601196] cma: cma_alloc(): returned (ptrval)
[    1.606326] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail
[    1.613132] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.624481] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
[    1.644678] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.669209] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
[    1.669267] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    1.686769] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-05-24 16:10)
[    1.696939] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
[    1.703335] sunxi-mmc 4021000.sdmmc: No vmmc regulator found
[    1.709721] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
[    1.716233] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
[    1.722761] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
[    1.729308] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
[    1.735908] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
[    1.742488] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
[    1.749056] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
[    1.758256] cma: cma_alloc(cma (ptrval), count 4, align 2)
[    1.764526] cma: cma_alloc(): returned (ptrval)
[    1.769934] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.781295] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[    1.801305] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.825580] sunxi-mmc 4021000.sdmmc: detmode:manually by software
[    1.833182] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.845473] usbcore: registered new interface driver usbhid
[    1.852146] usbhid: USB HID core driver
[    1.859412] NET: Registered protocol family 10
[    1.864490] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.877862] Segment Routing with IPv6
[    1.882448] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.889517] sunxi-mmc 4021000.sdmmc: card claims to support voltages below defined range
[    1.900602] NET: Registered protocol family 17
[    1.906222] NET: Registered protocol family 15
[    1.911320] can: controller area network core (rev 20170425 abi 9)
[    1.918391] NET: Registered protocol family 29
[    1.923497] can: raw protocol (rev 20170425)
[    1.928317] can: broadcast manager protocol (rev 20170425 t)
[    1.934835] can: netlink gateway (rev 20190810) max_hops=1
[    1.941584] Registering SWP/SWPB emulation handler
[    1.954348] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[    1.978556] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[    1.991405] i2c i2c2: i2c2 supply twi not found, using dummy regulator
[    1.999131] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
[    2.012086] i2c i2c2: probe success
[    2.021627] mmc1: new high speed SDIO card at address 0001
[    2.062378] get ehci0-controller wakeup-source is fail.
[    2.068385] sunxi ehci0-controller don't init wakeup source
[    2.075002] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0b7bb18, 0x:c92b1000, irq_no:38
[    2.087096] [sunxi-ehci0]: Not init ehci0
[    2.092131] get ohci0-controller wakeup-source is fail.
[    2.098105] sunxi ohci0-controller don't init wakeup source
[    2.104632] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0b7bda8
[    2.114343] [sunxi-ohci0]: Not init ohci0
[    2.119318] get ehci1-controller wakeup-source is fail.
[    2.125476] sunxi ehci1-controller don't init wakeup source
[    2.131807] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0b7c038, 0x:c92bb000, irq_no:3a
[    2.144212] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
[    2.157912] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
[    2.165226] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
[    2.174987] cma: cma_alloc(cma (ptrval), count 1, align 0)
[    2.181227] cma: cma_alloc(): returned (ptrval)
[    2.186437] cma: cma_alloc(cma (ptrval), count 1, align 0)
[    2.192646] cma: cma_alloc(): returned (ptrval)
[    2.197738] cma: cma_alloc(cma (ptrval), count 1, align 0)
[    2.203964] cma: cma_alloc(): returned (ptrval)
[    2.209125] sunxi-ehci 4200000.ehci1-controller: irq 58, io mem 0x04200000
[    2.241263] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
[    2.250145] hub 1-0:1.0: USB hub found
[    2.254653] hub 1-0:1.0: 1 port detected
[    2.260133] get ohci1-controller wakeup-source is fail.
[    2.266457] sunxi ohci1-controller don't init wakeup source
[    2.272816] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0b7c2c8
[    2.282886] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
[    2.295522] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
[    2.302981] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
[    2.312721] cma: cma_alloc(cma (ptrval), count 1, align 0)
[    2.318997] cma: cma_alloc(): returned (ptrval)
[    2.324286] sunxi-ohci 4200400.ohci1-controller: irq 59, io mem 0x04200400
[    2.406291] hub 2-0:1.0: USB hub found
[    2.410698] hub 2-0:1.0: 1 port detected
[    2.416373] ubi0: attaching mtd4
[    2.458590] random: crng init done
[    3.177011] ubi0: scanning is finished
[    3.192299] ubi0: attached mtd4 (name "rootfs", size 119 MiB)
[    3.198749] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    3.206725] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    3.214396] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    3.222287] ubi0: good PEBs: 959, bad PEBs: 0, corrupted PEBs: 0
[    3.229023] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[    3.237206] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 267458052
[    3.247394] ubi0: available PEBs: 0, total reserved PEBs: 959, PEBs reserved for bad PEB handling: 40
[    3.257791] ubi0: background thread "ubi_bgt0d" started, PID 903
[    3.266181] clk: Not disabling unused clocks
[    3.271024] alloc_fd: slot 0 not NULL!
[    3.277186] UBIFS (ubi0:0): Mounting in unauthenticated mode
[    3.333369] UBIFS (ubi0:0): recovery needed
[    3.393952] UBIFS (ubi0:0): recovery deferred
[    3.398972] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs", R/O mode
[    3.408282] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    3.419428] UBIFS (ubi0:0): FS size: 114786304 bytes (109 MiB, 904 LEBs), journal size 5713920 bytes (5 MiB, 45 LEBs)
[    3.431340] UBIFS (ubi0:0): reserved for root: 4952683 bytes (4836 KiB)
[    3.438768] UBIFS (ubi0:0): media format: w5/r0 (latest is w5/r0), UUID 4A5D7D8F-3C66-4BB0-8C4C-E59EDCC1D11C, small LPT model
[    3.454481] VFS: Mounted root (ubifs filesystem) readonly on device 0:14.
[    3.463945] Freeing unused kernel memory: 1024K
[    3.469184] Run /init as init process
login[917]: root login on 'ttyS0'
[root@T113-s3 /root]# 

启动成功 !...

离线

楼主 #8 2022-04-23 16:52:41

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

[root@T113-s3 /root]# du -hd1 /
1.5M    /bin
0 /dev
152.0K  /etc
9.7M    /lib
0 /mnt
0 /run
0 /sys
0 /var
29.9M   /usr
0 /proc
0 /sbin
2.6M    /root
4.0K    /parameters
43.8M   /
[root@T113-s3 /root]#

Mem: 29888K used, 89944K free, 0K shrd, 0K buff, 1740K cached
CPU:  0.0% usr  0.0% sys  0.0% nic  100% idle  0.0% io  0.0% irq  0.0% sirq
Load average: 1.00 0.83 0.44 1/40 926
  PID  PPID USER     STAT   VSZ %VSZ CPU %CPU COMMAND
  926   917 root     R     2672  2.2   0  0.0 top
  917     1 root     S     2764  2.3   0  0.0 -bash
    1     0 root     S     2672  2.2   0  0.0 init
  735     2 root     IW       0  0.0   0  0.0 [kworker/0:2-eve]
  614     2 root     SW       0  0.0   0  0.0 [spi0]
    9     2 root     SW       0  0.0   0  0.0 [ksoftirqd/0]
   19     2 root     IW       0  0.0   0  0.0 [kworker/u4:1-ev]
  905     2 root     DW       0  0.0   0  0.0 [usb-hardware-sc]
   10     2 root     IW       0  0.0   0  0.0 [rcu_preempt]
    2     0 root     SW       0  0.0   0  0.0 [kthreadd]
    3     2 root     IW<      0  0.0   0  0.0 [rcu_gp]
    4     2 root     IW<      0  0.0   0  0.0 [rcu_par_gp]
    6     2 root     IW<      0  0.0   0  0.0 [kworker/0:0H]
    7     2 root     IW       0  0.0   0  0.0 [kworker/u4:0-ev]
    8     2 root     IW<      0  0.0   0  0.0 [mm_percpu_wq]
   11     2 root     SW       0  0.0   0  0.0 [migration/0]
   12     2 root     SW       0  0.0   0  0.0 [cpuhp/0]
   13     2 root     PW       0  0.0   0  0.0 [cpuhp/1]
   14     2 root     PW       0  0.0   0  0.0 [migration/1]
   15     2 root     PW       0  0.0   0  0.0 [ksoftirqd/1]
   16     2 root     IW       0  0.0   0  0.0 [kworker/1:0]
   17     2 root     IW<      0  0.0   0  0.0 [kworker/1:0H]
   18     2 root     SW       0  0.0   0  0.0 [kdevtmpfs]
   20     2 root     SW       0  0.0   0  0.0 [rcu_tasks_kthre]
  351     2 root     SW       0  0.0   0  0.0 [oom_reaper]
  352     2 root     IW<      0  0.0   0  0.0 [writeback]
  369     2 root     IW<      0  0.0   0  0.0 [kblockd]
  504     2 root     SW       0  0.0   0  0.0 [ion_system_heap]
  518     2 root     SW       0  0.0   0  0.0 [watchdogd]
  625     2 root     SW       0  0.0   0  0.0 [kswapd0]
  718     2 root     SW       0  0.0   0  0.0 [vsync proc 0]
  719     2 root     SW       0  0.0   0  0.0 [vsync proc 1]
  778     2 root     IW<      0  0.0   0  0.0 [uas]
  814     2 root     SW       0  0.0   0  0.0 [rc0]
  835     2 root     SW       0  0.0   0  0.0 [irq/38-mmc0]
  837     2 root     SW       0  0.0   0  0.0 [irq/196-4020000]
  839     2 root     SW       0  0.0   0  0.0 [irq/39-mmc1]
  854     2 root     IW<      0  0.0   0  0.0 [ipv6_addrconf]
  879     2 root     IW       0  0.0   0  0.0 [kworker/0:3-pm]
  903     2 root     SW       0  0.0   0  0.0 [ubi_bgt0d]

[root@T113-s3 /root]# 

最近编辑记录 Cadence (2022-04-23 16:58:00)

离线

楼主 #9 2022-04-23 17:06:07

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

[root@T113-s3 /root]# busybox 
BusyBox v1.35.0 (2022-04-23 02:16:35 UTC) multi-call binary.
BusyBox is copyrighted by many authors between 1998-2015.
Licensed under GPLv2. See source distribution for detailed
copyright notices.

Usage: busybox [function [arguments]...]
   or: busybox --list[-full]
   or: busybox --install [-s] [DIR]
   or: function [arguments]...

  BusyBox is a multi-call binary that combines many common Unix
  utilities into a single executable.  Most people will create a
  link to busybox for each function they wish to use and BusyBox
  will act like whatever it was invoked as.

Currently defined functions:
  [, [[, acpid, add-shell, addgroup, adduser, adjtimex, arch, arp, arping, ascii, awk, base32, base64, basename, bc, beep, blkdiscard, blkid, blockdev, bootchartd, brctl, bunzip2, bzcat, bzip2, cal, cat,
  chat, chattr, chgrp, chmod, chown, chpasswd, chpst, chroot, chrt, chvt, cksum, clear, cmp, comm, conspy, cp, cpio, crc32, crond, crontab, cryptpw, cttyhack, cut, date, dc, dd, deallocvt, delgroup,
  deluser, depmod, devmem, df, dhcprelay, diff, dirname, dmesg, dnsd, dnsdomainname, dos2unix, dpkg, dpkg-deb, du, dumpkmap, dumpleases, echo, ed, egrep, eject, env, envdir, envuidgid, ether-wake, expand,
  expr, factor, fakeidentd, fallocate, false, fatattr, fbset, fbsplash, fdflush, fdformat, fdisk, fgconsole, fgrep, find, findfs, flock, fold, free, freeramdisk, fsck, fsck.minix, fsfreeze, fstrim, fsync,
  ftpd, ftpget, ftpput, fuser, getopt, getty, grep, groups, gunzip, gzip, halt, hd, hdparm, head, hexdump, hexedit, hostid, hostname, httpd, hwclock, i2cdetect, i2cdump, i2cget, i2cset, i2ctransfer, id,
  ifconfig, ifdown, ifenslave, ifplugd, ifup, inetd, init, inotifyd, insmod, install, ionice, iostat, ip, ipaddr, ipcalc, ipcrm, ipcs, iplink, ipneigh, iproute, iprule, iptunnel, kbd_mode, kill, killall,
  killall5, klogd, last, less, link, linux32, linux64, linuxrc, ln, loadfont, loadkmap, logger, login, logname, logread, losetup, lpd, lpq, lpr, ls, lsattr, lsmod, lsof, lspci, lsscsi, lsusb, lzcat, lzma,
  lzop, makedevs, makemime, man, md5sum, mdev, mesg, microcom, mkdir, mkdosfs, mke2fs, mkfifo, mkfs.ext2, mkfs.minix, mkfs.vfat, mknod, mkpasswd, mkswap, mktemp, modinfo, modprobe, more, mount, mountpoint,
  mpstat, mt, mv, nameif, nanddump, nandwrite, nbd-client, nc, netstat, nice, nl, nmeter, nohup, nproc, nsenter, nslookup, ntpd, od, openvt, partprobe, passwd, paste, patch, pgrep, pidof, ping, ping6,
  pipe_progress, pivot_root, pkill, pmap, popmaildir, poweroff, powertop, printenv, printf, ps, pscan, pstree, pwd, pwdx, raidautorun, rdate, rdev, readahead, readlink, readprofile, realpath, reboot,
  reformime, remove-shell, renice, reset, resize, resume, rev, rm, rmdir, rmmod, route, rpm, rpm2cpio, rtcwake, run-init, run-parts, runlevel, runsv, runsvdir, rx, script, scriptreplay, sed, sendmail, seq,
  setarch, setconsole, setfattr, setfont, setkeycodes, setlogcons, setpriv, setserial, setsid, setuidgid, sha1sum, sha256sum, sha3sum, sha512sum, showkey, shred, shuf, slattach, sleep, smemcap, softlimit,
  sort, split, ssl_client, start-stop-daemon, stat, strings, stty, su, sulogin, sum, sv, svc, svlogd, svok, swapoff, swapon, switch_root, sync, sysctl, syslogd, tac, tail, tar, taskset, tc, tcpsvd, tee,
  telnet, telnetd, test, tftp, tftpd, time, timeout, top, touch, tr, traceroute, traceroute6, true, truncate, ts, tty, ttysize, tunctl, ubiattach, ubidetach, ubimkvol, ubirename, ubirmvol, ubirsvol,
  ubiupdatevol, udhcpc, udhcpc6, udhcpd, udpsvd, uevent, umount, uname, unexpand, uniq, unix2dos, unlink, unlzma, unshare, unxz, unzip, uptime, users, usleep, uudecode, uuencode, vconfig, vi, vlock,
  volname, w, wall, watch, watchdog, wc, wget, which, who, whoami, whois, xargs, xxd, xz, xzcat, yes, zcat, zcip
[root@T113-s3 /root]# 

离线

楼主 #10 2022-04-24 15:40:10

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

关于 u-boot 的 psci问题
首先 struct sunxi_cpucfg_reg

grep -nr 'struct sunxi_cpucfg_reg'
arch/arm/cpu/armv7/sunxi/psci.c:131:    struct sunxi_cpucfg_reg *cpucfg =
arch/arm/cpu/armv7/sunxi/psci.c:132:            (struct sunxi_cpucfg_reg *)SUNXI_CPUCFG_BASE;
arch/arm/cpu/armv7/sunxi/psci.c:142:    struct sunxi_cpucfg_reg *cpucfg =
arch/arm/cpu/armv7/sunxi/psci.c:143:            (struct sunxi_cpucfg_reg *)SUNXI_CPUCFG_BASE;
arch/arm/cpu/armv7/sunxi/psci.c:151:    struct sunxi_cpucfg_reg *cpucfg =
arch/arm/cpu/armv7/sunxi/psci.c:152:            (struct sunxi_cpucfg_reg *)SUNXI_CPUCFG_BASE;
arch/arm/cpu/armv7/sunxi/psci.c:171:    struct sunxi_cpucfg_reg *cpucfg =
arch/arm/cpu/armv7/sunxi/psci.c:172:            (struct sunxi_cpucfg_reg *)SUNXI_CPUCFG_BASE;
arch/arm/cpu/armv7/sunxi/psci.c:249:    struct sunxi_cpucfg_reg *cpucfg =
arch/arm/cpu/armv7/sunxi/psci.c:250:            (struct sunxi_cpucfg_reg *)SUNXI_CPUCFG_BASE;

没有找到定义
SUNXI_CPUCFG_BASE
应该是?

arch/arm/include/asm/arch-sunxi/cpu_sun4i.h:34:#define SUNXI_CPUCFG_BASE                0x01700000
arch/arm/include/asm/arch-sunxi/cpu_sun4i.h:129:#define SUNXI_CPUCFG_BASE               0x01c25c00
arch/arm/include/asm/arch-sunxi/cpu_sun4i.h:202:#define SUNXI_CPUCFG_BASE               0x01f01c00

最近编辑记录 Cadence (2022-04-24 15:41:18)

离线

楼主 #11 2022-04-24 15:43:29

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

U-Boot 2022.01-rc3-00096-gc0ffc12a70-dirty (Apr 24 2022 - 15:42:32 +0800) Allwinner Technology

CPU:   SUNXI Family
Model: sun20iw1p1
DRAM:  128 MiB
[00.024]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
MMC:   
Loading Environment from FAT... In:    serial
Out:   serial
Err:   serial
starting USB...
No working controllers found
Hit any key to stop autoboot:  0 
Kernel image @ 0x40080000 [ 0x000000 - 0x403568 ]
## Flattened Device Tree blob at 40020000
   Booting using the fdt blob at 0x40020000
   Loading Device Tree to 43f58000, end 43f684c9 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.61 (root@i9-10920) (arm-linux-gnueabihf-gcc (Linaro GCC 7.5-2019.12) 7.5.0, GNU ld (Linaro_Binutils-2019.12) 2.28.2.20170706) #39 SMP PREEMPT Sun Apr 24 09:14:45 CST 2022
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: sun8iw20
[    0.000000] printk: bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 8 MiB at 0x47400000
[    0.000000] On node 0 totalpages: 32768
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: drivers/firmware/psci/psci.c psci_get_version 155________________84000000
[    0.000000] psci: drivers/firmware/psci/psci.c __invoke_psci_fn_smc 131________________84000000
[    0.000000] psci: PSCIv65535.65535 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: drivers/firmware/psci/psci.c __invoke_psci_fn_smc 131________________84000006
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: drivers/firmware/psci/psci.c __invoke_psci_fn_smc 131________________8400000a
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] psci: drivers/firmware/psci/psci.c __invoke_psci_fn_smc 131________________8400000a
[    0.000000] psci: drivers/firmware/psci/psci.c __invoke_psci_fn_smc 131________________8400000a
[    0.000000] psci: drivers/firmware/psci/psci.c __invoke_psci_fn_smc 131________________8400000a
[    0.000000] percpu: Embedded 15 pages/cpu s32140 r8192 d21108 u61440
[    0.000000] pcpu-alloc: s32140 r8192 d21108 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200n8 earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused loglevel=8 init=/init cma=8M ubi.mtd=4 rootfstype=ubifs root=ubi0:rootfs rw rootwait
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 110580K/131072K available (6144K kernel code, 387K rwdata, 1972K rodata, 1024K init, 163K bss, 12300K reserved, 8192K cma-reserved)
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC CPU mask not found - kernel will fail to boot.
[    0.000000] GIC CPU mask not found - kernel will fail to boot.
[    0.000000] random: get_random_bytes called from start_kernel+0x250/0x3dc with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.008017] Switching to timer-based delay loop, resolution 41ns
[    0.014200] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.023918] Console: colour dummy device 80x30
[    0.028405] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.038749] pid_max: default: 32768 minimum: 301
[    0.043438] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.050760] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.059059] CPU: Testing write buffer coherency: ok
[    0.064253] /cpus/cpu@0 missing clock-frequency property
[    0.069570] /cpus/cpu@1 missing clock-frequency property
[    0.074877] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.081206] Setting up static identity map for 0x40100000 - 0x40100060
[    0.087879] rcu: Hierarchical SRCU implementation.
[    0.093021] BOOTEVENT:        93.012957: ON
[    0.097413] smp: Bringing up secondary CPUs ...
[    0.102493] psci: drivers/firmware/psci/psci.c __invoke_psci_fn_smc 131________________84000003

离线

楼主 #12 2022-04-24 16:15:10

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

有了

struct __packed sunxi_cpucfg_cpu {
    u32 rst;        /* base + 0x0 */
    u32 ctrl;       /* base + 0x4 */
    u32 status;     /* base + 0x8 */
    u8 res[0x34];       /* base + 0xc */
};

struct __packed sunxi_cpucfg_reg {
    u8 res0[0x40];      /* 0x000 */
    struct sunxi_cpucfg_cpu cpu[4];     /* 0x040 */
    u8 res1[0x44];      /* 0x140 */
    u32 gen_ctrl;       /* 0x184 */
    u32 l2_status;      /* 0x188 */
    u8 res2[0x4];       /* 0x18c */
    u32 event_in;       /* 0x190 */
    u8 res3[0xc];       /* 0x194 */
    u32 super_standy_flag;  /* 0x1a0 */
    u32 priv0;      /* 0x1a4 */
    u32 priv1;      /* 0x1a8 */
    u8 res4[0x4];       /* 0x1ac */
    u32 cpu1_pwr_clamp; /* 0x1b0 sun7i only */
    u32 cpu1_pwroff;    /* 0x1b4 sun7i only */
    u8 res5[0x2c];      /* 0x1b8 */
    u32 dbg_ctrl1;      /* 0x1e4 */
    u8 res6[0x18];      /* 0x1e8 */
    u32 idle_cnt0_low;  /* 0x200 */
    u32 idle_cnt0_high; /* 0x204 */
    u32 idle_cnt0_ctrl; /* 0x208 */
    u8 res8[0x4];       /* 0x20c */
    u32 idle_cnt1_low;  /* 0x210 */
    u32 idle_cnt1_high; /* 0x214 */
    u32 idle_cnt1_ctrl; /* 0x218 */
    u8 res9[0x4];       /* 0x21c */
    u32 idle_cnt2_low;  /* 0x220 */
    u32 idle_cnt2_high; /* 0x224 */
    u32 idle_cnt2_ctrl; /* 0x228 */
    u8 res10[0x4];      /* 0x22c */
    u32 idle_cnt3_low;  /* 0x230 */
    u32 idle_cnt3_high; /* 0x234 */
    u32 idle_cnt3_ctrl; /* 0x238 */
    u8 res11[0x4];      /* 0x23c */
    u32 idle_cnt4_low;  /* 0x240 */
    u32 idle_cnt4_high; /* 0x244 */
    u32 idle_cnt4_ctrl; /* 0x248 */
    u8 res12[0x34];     /* 0x24c */
    u32 cnt64_ctrl;     /* 0x280 */
    u32 cnt64_low;      /* 0x284 */
    u32 cnt64_high;     /* 0x288 */
};

最近编辑记录 Cadence (2022-04-24 16:18:33)

离线

楼主 #13 2022-04-25 15:08:41

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

[    0.059113] CPU: Testing write buffer coherency: ok
[    0.064317] /cpus/cpu@0 missing clock-frequency property
[    0.069643] /cpus/cpu@1 missing clock-frequency property
[    0.074986] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.080656] arch/arm/mach-sunxi/plat_t113_smp.c 30 max_cpus 2
[    0.087073] Setting up static identity map for 0x40100000 - 0x40100060
[    0.093735] rcu: Hierarchical SRCU implementation.
[    0.098921] BOOTEVENT:        98.911790: ON
[    0.103309] smp: Bringing up secondary CPUs ...
[    0.107845] smp: kernel/smp.c 592 cpu 0 cpu_online 1
[    0.112850] smp: kernel/smp.c 592 cpu 1 cpu_online 0
[    0.118351] arch/arm/mach-sunxi/plat_t113_smp.c 40 cpu c7039000
[    0.124327] arch/arm/mach-sunxi/plat_t113_smp.c 48 cpu c7039000
[    0.130485] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.130653] smp: Brought up 1 node, 2 CPUs
[    0.140478] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.146683] CPU: All CPU(s) started in SVC mode.

不用 PSCI 启动第二个CPU

离线

楼主 #14 2022-04-25 15:18:30

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

启动第二个CPU驱动 源码

static DEFINE_SPINLOCK(cpu_lock);

static int sun8i_smp_boot_secondary(unsigned int cpu,
                    struct task_struct *idle)
{
    u32 reg;
    void __iomem *cpucfg_membase = ioremap(0x09010000, 0x10);
    void __iomem *cpuexec_membase[] = {ioremap(0x070005C4, 0x10),ioremap(0x070005C8, 0x10)};

//    pr_info("%s %d cpu %x\n",__FILE__,__LINE__,(u32)idle);
    spin_lock(&cpu_lock);
        
    if(cpu != 1)return 0;

    /* Set CPU boot address */
    writel(__pa_symbol(secondary_startup),  cpuexec_membase[cpu]);
//  writel((u32)idle,   cpuexec_membase[cpu]);  /* do not work */

    /* Deassert the CPU core reset */
    reg = readl(cpucfg_membase);
    writel(reg | BIT(cpu), cpucfg_membase);

    spin_unlock(&cpu_lock);

    return 0;
}

static const struct smp_operations sun8i_smp_ops __initconst = { 
    .smp_boot_secondary = sun8i_smp_boot_secondary,
};
CPU_METHOD_OF_DECLARE(sun8i_t113_smp, "allwinner,sun8iw20p1", &sun8i_smp_ops);

最近编辑记录 Cadence (2022-04-26 09:15:45)

离线

楼主 #15 2022-04-26 08:57:05

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

完整的启动 log

HELLO! BOOT0 is starting!
BOOT0 commit : #.###
set pll start
periph0 has been enabled
set pll end
board init ok
ZQ value = 0x2d
get_pmu_exist() = -1
ddr_efuse_type: 0xa
mark_id: 0x60
trefi:7.8ms
[AUTO DEBUG] single rank and full DQ!
ddr_efuse_type: 0xa
mark_id: 0x60
trefi:7.8ms
[AUTO DEBUG] rank 0 row = 13 
[AUTO DEBUG] rank 0 bank = 8 
[AUTO DEBUG] rank 0 page size = 2 KB 
DRAM BOOT DRIVE INFO: V0.32
DRAM CLK = 792 MHz
DRAM Type = 3 (2:DDR2,3:DDR3)
DRAMC read ODT  off.
DRAM ODT value: 0x42.
ddr_efuse_type: 0xa
mark_id: 0x60
DRAM SIZE =128 M
PLL_DDR_CTRL_REG:0xf8004100
DRAM_CLK_REG:0xc0000000
[TIMING DEBUG] MR2= 0x18
DRAM simple test OK.
rtc standby flag is 0x0, super standby flag is 0x0
spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 16
Jump to second Boot.


U-Boot 2022.01-rc3-00096-gc0ffc12a70-dirty (Apr 25 2022 - 21:53:16 +0800) Allwinner Technology

CPU:   SUNXI Family
Model: sun20iw1p1
DRAM:  128 MiB
[00.023]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
MMC:   
Loading Environment from FAT... In:    serial
Out:   serial
Err:   serial
starting USB...
No working controllers found
Hit any key to stop autoboot:  0 
Reading 131072 byte(s) (64 page(s)) at offset 0x00200000
Reading 6291456 byte(s) (3072 page(s)) at offset 0x00220000
Kernel image @ 0x40080000 [ 0x000000 - 0x487ba8 ]
## Flattened Device Tree blob at 40020000
   Booting using the fdt blob at 0x40020000
   Loading Device Tree to 43f5b000, end 43f6b4c9 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.61 (root@i9-10920) (arm-linux-gnueabihf-gcc (Linaro GCC 7.5-2019.12) 7.5.0, GNU ld (Linaro_Binutils-2019.12) 2.28.2.20170706) #76 SMP PREEMPT Tue Apr 26 06:56:22 CST 2022
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: sun8iw20
[    0.000000] printk: bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 8 MiB at 0x47800000
[    0.000000] On node 0 totalpages: 32768
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] percpu: Embedded 15 pages/cpu s32076 r8192 d21172 u61440
[    0.000000] pcpu-alloc: s32076 r8192 d21172 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200n8 earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused loglevel=8 init=/init cma=8M ubi.mtd=4 rootfstype=ubifs root=ubi0:rootfs ro rootwait
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 109464K/131072K available (7168K kernel code, 465K rwdata, 2156K rodata, 1024K init, 189K bss, 13416K reserved, 8192K cma-reserved)
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x250/0x3e0 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.008009] Switching to timer-based delay loop, resolution 41ns
[    0.014176] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.023945] Console: colour dummy device 80x30
[    0.028434] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.038796] pid_max: default: 32768 minimum: 301
[    0.043483] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.050799] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.059116] CPU: Testing write buffer coherency: ok
[    0.064334] /cpus/cpu@0 missing clock-frequency property
[    0.069661] /cpus/cpu@1 missing clock-frequency property
[    0.074996] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.081334] Setting up static identity map for 0x40100000 - 0x40100060
[    0.088057] rcu: Hierarchical SRCU implementation.
[    0.093205] BOOTEVENT:        93.195666: ON
[    0.097575] smp: Bringing up secondary CPUs ...
[    0.102957] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.103114] smp: Brought up 1 node, 2 CPUs
[    0.112955] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.119125] CPU: All CPU(s) started in SVC mode.
[    0.124349] devtmpfs: initialized
[    0.224824] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.235108] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.244982] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.252176] pinctrl core: initialized pinctrl subsystem
[    0.273190] NET: Registered protocol family 16
[    0.279276] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.301706] cpuidle: using governor ladder
[    0.305880] cpuidle: using governor menu
[    0.573870] rtc_ccu: sunxi ccu init OK
[    0.613198] ccu: sunxi ccu init OK
[    0.624037] r_ccu: sunxi ccu init OK
[    1.146594] iommu: Default domain type: Translated 
[    1.153867] sunxi iommu: irq = 24
[    1.179725] SCSI subsystem initialized
[    1.191373] usbcore: registered new interface driver usbfs
[    1.196977] usbcore: registered new interface driver hub
[    1.204835] usbcore: registered new device driver usb
[    1.243379] pwm module init!
[    1.262737] input: sunxi-keyboard as /devices/virtual/input/input0
[    1.271738] clocksource: Switched to clocksource arch_sys_counter
[    1.480368] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
[    1.837423] thermal_sys: Registered thermal governor 'step_wise'
[    1.837429] thermal_sys: Registered thermal governor 'user_space'
[    1.856304] NET: Registered protocol family 2
[    1.877012] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.885465] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    1.893157] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    1.900218] TCP: Hash tables configured (established 1024 bind 1024)
[    1.906710] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.913300] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.920469] NET: Registered protocol family 1
[    1.941263] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
[    1.961015] spi spi0: spi0 supply spi not found, using dummy regulator
[    1.967875] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE
[    1.974057] sunxi_spi_resource_get()2189 - Failed to get sample mode
[    1.980406] sunxi_spi_resource_get()2194 - Failed to get sample delay
[    1.986861] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921
[    1.995270] sunxi_spi_clk_init()2240 - [spi0] mclk 100000000
[    2.014204] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base c8827000, irq 41
[    2.058198] Initialise system trusted keyrings
[    2.062915] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    2.076331] fuse: init (API version 7.31)
[    2.137737] NET: Registered protocol family 38
[    2.142243] Key type asymmetric registered
[    2.146352] Asymmetric key parser 'x509' registered
[    2.151319] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    2.158757] io scheduler mq-deadline registered
[    2.163297] io scheduler kyber registered
[    2.178373] [DISP]disp_module_init
[    2.192224] disp 5000000.disp: Adding to iommu group 0
[    2.236298] display_fb_request,fb_id:0
[    2.247840] [DISP] Fb_copy_boot_fb,line:1443:
[    2.247846] no boot_fb0
[    2.255656] disp_al_manager_apply ouput_type:0
[    2.288687] [DISP] lcd_clk_config,line:732:
[    2.288701] disp 0, clk: pll(364000000),clk(364000000),dclk(52000000) dsi_rate(364000000)
[    2.288701]      clk real:pll(360000000),clk(360000000),dclk(51428571) dsi_rate(0)
[    2.288948] [DISP]disp_module_init finish
[    2.300074] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
[    2.327911] sunxi_sid_init()551 - insmod ok
[    2.352136] pwm-regulator: supplied by regulator-dummy
[    2.371961] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
[    2.382195] uart uart0: get regulator failed
[    2.386493] uart uart0: uart0 supply uart not found, using dummy regulator
[    2.397104] uart0: ttyS0 at MMIO 0x2500000 (irq = 34, base_baud = 1500000) is a SUNXI
[    2.404970] sw_console_setup()1784 - console setup baud 115200 parity n bits 8, flow n
[    2.412935] printk: console [ttyS0] enabled
[    2.412935] printk: console [ttyS0] enabled
[    2.421810] printk: bootconsole [earlycon0] disabled
[    2.421810] printk: bootconsole [earlycon0] disabled
[    2.446287] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
[    2.457681] uart uart3: get regulator failed
[    2.462485] uart uart3: uart3 supply uart not found, using dummy regulator
[    2.473882] uart3: ttyS3 at MMIO 0x2500c00 (irq = 35, base_baud = 1500000) is a SUNXI
[    2.500594] misc dump reg init
[    2.528461] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9
[    2.532067] [DISP] disp_device_attached_and_enable,line:233:
[    2.532073] attached ok, mgr0<-->dev0
[    2.536169] sunxi-rfkill soc@3000000:rfkill@0: devm_pinctrl_get() failed!
[    2.542139] [DISP] disp_device_attached_and_enable,line:236:
[    2.542148] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:0 dvi_hdmi:2, range:2 scan:0 ratio:8
[    2.546079] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
[    2.576549] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
[    2.583947] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
[    2.590451] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
[    2.597379] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1)
[    2.605082] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=0
[    2.612929] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1
[    2.621000] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled
[    2.635323] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power.
[    2.642115] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1)
[    2.649619] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=210 assert=0
[    2.702672] spi-nand spi0.0: Winbond SPI NAND was found.
[    2.708605] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    2.721422] 5 fixed-partitions partitions found on MTD device spi0.0
[    2.728561] Creating 5 MTD partitions on "spi0.0":
[    2.734047] 0x000000000000-0x000000100000 : "boot0"
[    2.743463] 0x000000100000-0x000000200000 : "u-boot"
[    2.765815] 0x000000200000-0x000000220000 : "dtb"
[    2.785647] 0x000000220000-0x000000820000 : "kernel"
[    2.793422] random: fast init done
[    2.822837] 0x000000820000-0x000008000000 : "rootfs"
[    3.175084] libphy: Fixed MDIO Bus: probed
[    3.185574] CAN device driver interface
[    3.190140] RTL871X: module init start
[    3.194355] RTL871X: rtl8189fs v4.3.24.8_22657.20170607
[    3.200290] RTL871X: module init ret=0
[    3.204530] hso: drivers/net/usb/hso.c: Option Wireless
[    3.217384] usbcore: registered new interface driver hso
[    3.223421] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.230698] sunxi-ehci: EHCI SUNXI driver
[    3.235606] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.242555] sunxi-ohci: OHCI SUNXI driver
[    3.247672] usbcore: registered new interface driver uas
[    3.257157] usbcore: registered new interface driver usb-storage
[    3.264047] usbcore: registered new interface driver ums-alauda
[    3.270718] usbcore: registered new interface driver ums-cypress
[    3.280901] usbcore: registered new interface driver ums-datafab
[    3.287753] usbcore: registered new interface driver ums_eneub6250
[    3.298134] usbcore: registered new interface driver ums-freecom
[    3.304999] usbcore: registered new interface driver ums-isd200
[    3.311673] usbcore: registered new interface driver ums-jumpshot
[    3.321996] usbcore: registered new interface driver ums-karma
[    3.328620] usbcore: registered new interface driver ums-onetouch
[    3.335545] usbcore: registered new interface driver ums-realtek
[    3.342371] usbcore: registered new interface driver ums-sddr09
[    3.349039] usbcore: registered new interface driver ums-sddr55
[    3.359130] usbcore: registered new interface driver ums-usbat
[    3.391075] input: sunxi-ts as /devices/platform/soc@3000000/2009c00.rtp/input/input1
[    3.411117] sunxi_gpadc_init,2137, success
[    3.438762] sunxi-rtc 7090000.rtc: registered as rtc0
[    3.444574] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:12:57 UTC (777)
[    3.453658] sunxi-rtc 7090000.rtc: sunxi rtc probed
[    3.459570] i2c /dev entries driver
[    3.463656] IR NEC protocol handler initialized
[    3.468706] IR RC5(x/sz) protocol handler initialized
[    3.474797] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
[    3.493713] sunxi_ir_startup: get ir protocol failed
[    3.493744] (NULL device *): deviceless supply  not found, using dummy regulator
[    3.507684] Registered IR keymap rc_map_sunxi
[    3.519210] rc rc0: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0
[    3.531943] input: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0/s_cir_rx
[    3.549248] sunxi cedar version 1.1
[    3.553434] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
[    3.559678] VE: sunxi_cedar_probe power-domain init!!!
[    3.565452] VE: install start!!!
[    3.565452] 
[    3.574288] VE: cedar-ve the get irq is 42
[    3.574288] 
[    3.581375] VE: ve_debug_proc_info:(ptrval), data:(ptrval), lock:(ptrval)
[    3.581375] 
[    3.590655] VE: install end!!!
[    3.590655] 
[    3.595734] VE: sunxi_cedar_probe
[    3.625028] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    3.642654] /cpus/cpu@0: unsupported enable-method property: psci
[    3.686989] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-05-24 16:10)
[    3.697007] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
[    3.703217] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
[    3.709526] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
[    3.715955] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
[    3.722374] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
[    3.728874] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
[    3.735389] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
[    3.741903] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
[    3.766646] sunxi-mmc 4020000.sdmmc: Got CD GPIO
[    3.772171] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail
[    3.778954] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.790111] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
[    3.810238] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.837663] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
[    3.854610] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-05-24 16:10)
[    3.864560] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
[    3.870733] sunxi-mmc 4021000.sdmmc: No vmmc regulator found
[    3.877063] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
[    3.883480] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
[    3.889885] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
[    3.896396] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
[    3.902916] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
[    3.909417] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
[    3.915963] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
[    3.939850] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.950997] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[    3.971115] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.995310] sunxi-mmc 4021000.sdmmc: detmode:manually by software
[    4.002862] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    4.026875] usbcore: registered new interface driver usbhid
[    4.027411] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    4.033159] usbhid: USB HID core driver
[    4.049079] sunxi-mmc 4021000.sdmmc: card claims to support voltages below defined range
[    4.049106] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    4.081145] oprofile: hardware counters not available
[    4.086846] oprofile: using timer interrupt.
[    4.092063] NET: Registered protocol family 10
[    4.109264] Segment Routing with IPv6
[    4.113555] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    4.166526] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[    4.170229] NET: Registered protocol family 17
[    4.178285] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[    4.183184] NET: Registered protocol family 15
[    4.199724] can: controller area network core (rev 20170425 abi 9)
[    4.199734] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
[    4.218485] NET: Registered protocol family 29
[    4.223529] can: raw protocol (rev 20170425)
[    4.228305] can: broadcast manager protocol (rev 20170425 t)
[    4.234665] can: netlink gateway (rev 20190810) max_hops=1
[    4.241205] mmc1: new high speed SDIO card at address 0001
[    4.245186] Registering SWP/SWPB emulation handler
[    4.263736] Loading compiled-in X.509 certificates
[    4.515197] RTL871X: HW EFUSE
[    4.518540] RTL871X: hal_com_config_channel_plan chplan:0x20
[    4.674655] i2c i2c2: i2c2 supply twi not found, using dummy regulator
[    4.698942] i2c i2c2: probe success
[    4.815217] random: crng init done
[    4.827230] get ehci0-controller wakeup-source is fail.
[    4.840440] sunxi ehci0-controller don't init wakeup source
[    4.846735] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0c9b7e8, 0x:c8878000, irq_no:38
[    4.858728] [sunxi-ehci0]: Not init ehci0
[    4.864148] get ohci0-controller wakeup-source is fail.
[    4.870239] sunxi ohci0-controller don't init wakeup source
[    4.876551] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0c9ba78
[    4.886185] [sunxi-ohci0]: Not init ohci0
[    4.891546] get ehci1-controller wakeup-source is fail.
[    4.897732] sunxi ehci1-controller don't init wakeup source
[    4.903990] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0c9bd08, 0x:c92dd000, irq_no:3a
[    4.923833] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
[    4.944744] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
[    4.952091] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
[    4.962224] sunxi-ehci 4200000.ehci1-controller: irq 58, io mem 0x04200000
[    4.991814] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
[    5.026754] hub 1-0:1.0: USB hub found
[    5.038106] hub 1-0:1.0: 1 port detected
[    5.055150] get ohci1-controller wakeup-source is fail.
[    5.071939] sunxi ohci1-controller don't init wakeup source
[    5.078221] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0c9bf98
[    5.088510] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
[    5.118871] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
[    5.126208] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
[    5.136270] sunxi-ohci 4200400.ohci1-controller: irq 59, io mem 0x04200400
[    5.211076] RTL871X: rtw_regsty_chk_target_tx_power_valid return _FALSE for band:0, path:0, rs:0, t:-1
[    5.245113] RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=94:a4:08:c4:c0:61
[    5.256440] hub 2-0:1.0: USB hub found
[    5.271265] hub 2-0:1.0: 1 port detected
[    5.333035] ubi0: attaching mtd4
[   20.192916] ubi0: scanning is finished
[   20.225392] ubi0: attached mtd4 (name "rootfs", size 119 MiB)
[   20.231830] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[   20.239494] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[   20.247072] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[   20.254847] ubi0: good PEBs: 959, bad PEBs: 0, corrupted PEBs: 0
[   20.261541] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[   20.269603] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 267458052
[   20.279696] ubi0: available PEBs: 0, total reserved PEBs: 959, PEBs reserved for bad PEB handling: 40
[   20.290001] ubi0: background thread "ubi_bgt0d" started, PID 975
[   20.301375] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   20.317085] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   20.328325] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   20.331830] clk: Not disabling unused clocks
[   20.338007] cfg80211: failed to load regulatory.db
[   20.342850] alloc_fd: slot 0 not NULL!
[   20.372329] UBIFS (ubi0:0): Mounting in unauthenticated mode
[   20.440057] UBIFS (ubi0:0): recovery needed
[   21.389379] UBIFS (ubi0:0): recovery deferred
[   21.394702] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs", R/O mode
[   21.403975] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   21.415045] UBIFS (ubi0:0): FS size: 114786304 bytes (109 MiB, 904 LEBs), journal size 5713920 bytes (5 MiB, 45 LEBs)
[   21.426884] UBIFS (ubi0:0): reserved for root: 4952683 bytes (4836 KiB)
[   21.434273] UBIFS (ubi0:0): media format: w5/r0 (latest is w5/r0), UUID 4A5D7D8F-3C66-4BB0-8C4C-E59EDCC1D11C, small LPT model
[   21.449612] VFS: Mounted root (ubifs filesystem) readonly on device 0:14.
[   21.459073] Freeing unused kernel memory: 1024K
[   21.464303] Kernel init done
[   21.467512] Run /init as init process
haveged: command socket is listening at fd 3
haveged: haveged starting up
login[997]: root login on 'ttyS0'
[   23.901809] 
[   23.901809] insmod_device_driver
[   23.901809] 
[   23.909033] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator
[root@T113-s3 /root]# ifconfig
[root@T113-s3 /root]# . /etc/wpa_action.sh 
Successfully initialized wpa_supplicant
udhcpc: started, v1.35.0
udhcpc: broadcasting discover
[   47.455160] RTL871X: nolinked power save enter
[   48.156519] RTL871X: nolinked power save leave
[   48.161574] RTL871X: rtw_set_802_11_connect(wlan0)  fw_state=0x00000008
[   48.273633] RTL871X: start auth
[   48.279374] RTL871X: auth success, start assoc
[   48.288239] RTL871X: assoc success
[   48.530249] RTL871X: recv eapol packet
[   48.541610] RTL871X: send eapol packet
[   48.551079] RTL871X: recv eapol packet
[   48.558365] RTL871X: send eapol packet
[   48.562901] RTL871X: set pairwise key camid:4, addr:04:5f:a7:5d:59:7c, kid:0, type:AES
[   48.564444] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   48.579502] RTL871X: set group key camid:5, addr:04:5f:a7:5d:59:7c, kid:2, type:TKIP
udhcpc: broadcasting discover
udhcpc: broadcasting select for 192.168.10.14, server 192.168.10.1
udhcpc: lease of 192.168.10.14 obtained from 192.168.10.1, lease time 86400
/usr/share/udhcpc/default.script: Adding DNS 192.168.10.1
/usr/share/udhcpc/default.script: Adding DNS 192.168.1.1
[root@T113-s3 /root]# ifconfig
wlan0     Link encap:Ethernet  HWaddr 94:A4:08:C4:C0:61  
          inet addr:192.168.10.14  Bcast:192.168.10.255  Mask:255.255.255.0
          inet6 addr: fe80::96a4:8ff:fec4:c061/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1982 (1.9 KiB)  TX bytes:1834 (1.7 KiB)

[root@T113-s3 /root]# ping www.baidu.com
PING www.baidu.com (103.235.46.39): 56 data bytes
64 bytes from 103.235.46.39: seq=0 ttl=45 time=174.979 ms
64 bytes from 103.235.46.39: seq=1 ttl=45 time=176.345 ms
64 bytes from 103.235.46.39: seq=2 ttl=45 time=171.691 ms
64 bytes from 103.235.46.39: seq=3 ttl=45 time=375.649 ms
64 bytes from 103.235.46.39: seq=4 ttl=45 time=175.896 ms
64 bytes from 103.235.46.39: seq=5 ttl=45 time=320.066 ms
64 bytes from 103.235.46.39: seq=6 ttl=45 time=174.658 ms
^C
--- www.baidu.com ping statistics ---
7 packets transmitted, 7 packets received, 0% packet loss
round-trip min/avg/max = 171.691/224.183/375.649 ms
[root@T113-s3 /root]# 

离线

楼主 #17 2022-04-28 14:02:53

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.61 (root@i9-10920) (arm-linux-gnueabihf-gcc (Linaro GCC 7.5-2019.12) 7.5.0, GNU ld (Linaro_Binutils-2019.12) 2.28.2.20170706) #123 SMP PREEMPT Thu Apr 28 10:38:55 CST 2022
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: sun8iw20
[    0.000000] printk: bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 8 MiB at 0x47800000
[    0.000000] On node 0 totalpages: 32768
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] percpu: Embedded 15 pages/cpu s32076 r8192 d21172 u61440
[    0.000000] pcpu-alloc: s32076 r8192 d21172 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200n8 earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused loglevel=8 init=/init cma=8M root=/dev/ram0 rw
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 107416K/131072K available (7168K kernel code, 465K rwdata, 2164K rodata, 3072K init, 189K bss, 15464K reserved, 8192K cma-reserved)
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x250/0x440 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.007999] Switching to timer-based delay loop, resolution 41ns
[    0.014185] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.023962] Console: colour dummy device 80x30
[    0.028458] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.038831] pid_max: default: 32768 minimum: 301
[    0.043526] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.050870] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.059190] CPU: Testing write buffer coherency: ok
[    0.064404] /cpus/cpu@0 missing clock-frequency property
[    0.069739] /cpus/cpu@1 missing clock-frequency property
[    0.075089] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.081415] Setting up static identity map for 0x40100000 - 0x40100060
[    0.088135] rcu: Hierarchical SRCU implementation.
[    0.093274] BOOTEVENT:        93.265415: ON
[    0.097678] smp: Bringing up secondary CPUs ...
[    0.103079] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.103231] smp: Brought up 1 node, 2 CPUs
[    0.113062] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.119242] CPU: All CPU(s) started in SVC mode.
[    0.124460] devtmpfs: initialized
[    0.224204] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.234501] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.244371] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.251559] pinctrl core: initialized pinctrl subsystem
[    0.270234] NET: Registered protocol family 16
[    0.278516] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.299778] cpuidle: using governor ladder
[    0.304013] cpuidle: using governor menu
[    0.580479] rtc_ccu: sunxi ccu init OK
[    0.614777] ccu: sunxi ccu init OK
[    0.624065] r_ccu: sunxi ccu init OK
[    1.117043] iommu: Default domain type: Translated 
[    1.124493] sunxi iommu: irq = 24
[    1.156430] SCSI subsystem initialized
[    1.165319] usbcore: registered new interface driver usbfs
[    1.173329] usbcore: registered new interface driver hub
[    1.178861] usbcore: registered new device driver usb
[    1.213605] pwm module init!
[    1.238392] input: sunxi-keyboard as /devices/virtual/input/input0
[    1.253331] clocksource: Switched to clocksource arch_sys_counter
[    1.455803] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
[    1.819419] thermal_sys: Registered thermal governor 'step_wise'
[    1.819425] thermal_sys: Registered thermal governor 'user_space'
[    1.838177] NET: Registered protocol family 2
[    1.858796] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.867233] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    1.874943] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    1.882013] TCP: Hash tables configured (established 1024 bind 1024)
[    1.888511] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.895112] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.902306] NET: Registered protocol family 1
[    1.920296] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
[    1.939923] spi spi0: spi0 supply spi not found, using dummy regulator
[    1.946838] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE
[    1.953045] sunxi_spi_resource_get()2189 - Failed to get sample mode
[    1.959428] sunxi_spi_resource_get()2194 - Failed to get sample delay
[    1.965900] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921
[    1.974329] sunxi_spi_clk_init()2240 - [spi0] mclk 100000000
[    1.993241] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base c8827000, irq 41
[    2.286218] Initialise system trusted keyrings
[    2.290829] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    2.297797] fuse: init (API version 7.31)
[    2.337062] NET: Registered protocol family 38
[    2.341538] Key type asymmetric registered
[    2.345670] Asymmetric key parser 'x509' registered
[    2.350655] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    2.358091] io scheduler mq-deadline registered
[    2.362626] io scheduler kyber registered
[    2.380703] [DISP]disp_module_init
[    2.397326] disp 5000000.disp: Adding to iommu group 0
[    2.432653] display_fb_request,fb_id:0
[    2.440972] [DISP] Fb_copy_boot_fb,line:1443:
[    2.440976] no boot_fb0
[    2.451632] disp_al_manager_apply ouput_type:0
[    2.458975] [DISP]disp_module_init finish
[    2.476420] [DISP] lcd_clk_config,line:732:
[    2.476433] disp 0, clk: pll(364000000),clk(364000000),dclk(52000000) dsi_rate(364000000)
[    2.476433]      clk real:pll(360000000),clk(360000000),dclk(51428571) dsi_rate(0)
[    2.487740] sunxi_sid_init()551 - insmod ok
[    2.507089] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
[    2.511938] pwm-regulator: supplied by regulator-dummy
[    2.555274] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
[    2.565525] uart uart0: get regulator failed
[    2.569832] uart uart0: uart0 supply uart not found, using dummy regulator
[    2.577524] uart0: ttyS0 at MMIO 0x2500000 (irq = 34, base_baud = 1500000) is a SUNXI
[    2.585418] sw_console_setup()1784 - console setup baud 115200 parity n bits 8, flow n
[    2.593423] printk: console [ttyS0] enabled
[    2.593423] printk: console [ttyS0] enabled
[    2.602272] printk: bootconsole [earlycon0] disabled
[    2.602272] printk: bootconsole [earlycon0] disabled
[    2.626834] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
[    2.638261] uart uart3: get regulator failed
[    2.643036] uart uart3: uart3 supply uart not found, using dummy regulator
[    2.660967] uart3: ttyS3 at MMIO 0x2500c00 (irq = 35, base_baud = 1500000) is a SUNXI
[    2.694917] misc dump reg init
[    2.713276] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9
[    2.720555] sunxi-rfkill soc@3000000:rfkill@0: devm_pinctrl_get() failed!
[    2.728375] [DISP] disp_device_attached_and_enable,line:233:
[    2.728380] attached ok, mgr0<-->dev0
[    2.733455] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
[    2.734788] [DISP] disp_device_attached_and_enable,line:236:
[    2.734797] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:0 dvi_hdmi:2, range:2 scan:0 ratio:8
[    2.738797] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
[    2.769250] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
[    2.775768] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
[    2.782676] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1)
[    2.790387] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=0
[    2.798228] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1
[    2.806359] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled
[    2.814068] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power.
[    2.820789] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1)
[    2.828360] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=210 assert=0
[    2.883593] spi-nand spi0.0: Winbond SPI NAND was found.
[    2.889528] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    2.917502] 5 fixed-partitions partitions found on MTD device spi0.0
[    2.924633] Creating 5 MTD partitions on "spi0.0":
[    2.929981] 0x000000000000-0x000000100000 : "boot0"
[    2.955587] 0x000000100000-0x000000200000 : "u-boot"
[    2.971238] 0x000000200000-0x000000220000 : "dtb"
[    2.990246] 0x000000220000-0x000001220000 : "kernel"
[    2.996610] random: fast init done
[    3.052003] 0x000001220000-0x000008000000 : "rootfs"
[    3.339430] libphy: Fixed MDIO Bus: probed
[    3.344126] CAN device driver interface
[    3.348735] RTL871X: module init start
[    3.352917] RTL871X: rtl8189fs v4.3.24.8_22657.20170607
[    3.364764] RTL871X: module init ret=0
[    3.368971] hso: drivers/net/usb/hso.c: Option Wireless
[    3.374972] usbcore: registered new interface driver hso
[    3.380901] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.388227] sunxi-ehci: EHCI SUNXI driver
[    3.393116] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.400077] sunxi-ohci: OHCI SUNXI driver
[    3.408629] usbcore: registered new interface driver uas
[    3.414762] usbcore: registered new interface driver usb-storage
[    3.421555] usbcore: registered new interface driver ums-alauda
[    3.428269] usbcore: registered new interface driver ums-cypress
[    3.435086] usbcore: registered new interface driver ums-datafab
[    3.441891] usbcore: registered new interface driver ums_eneub6250
[    3.448950] usbcore: registered new interface driver ums-freecom
[    3.455737] usbcore: registered new interface driver ums-isd200
[    3.462437] usbcore: registered new interface driver ums-jumpshot
[    3.469408] usbcore: registered new interface driver ums-karma
[    3.476019] usbcore: registered new interface driver ums-onetouch
[    3.489852] usbcore: registered new interface driver ums-realtek
[    3.496679] usbcore: registered new interface driver ums-sddr09
[    3.503422] usbcore: registered new interface driver ums-sddr55
[    3.513609] usbcore: registered new interface driver ums-usbat
[    3.535544] input: sunxi-ts as /devices/platform/soc@3000000/2009c00.rtp/input/input1
[    3.548805] sunxi_gpadc_init,2137, success
[    3.579905] sunxi-rtc 7090000.rtc: registered as rtc0
[    3.585742] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T06:25:34 UTC (23134)
[    3.595022] sunxi-rtc 7090000.rtc: sunxi rtc probed
[    3.603401] i2c /dev entries driver
[    3.607493] IR NEC protocol handler initialized
[    3.612545] IR RC5(x/sz) protocol handler initialized
[    3.618690] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
[    3.637144] sunxi_ir_startup: get ir protocol failed
[    3.637173] (NULL device *): deviceless supply  not found, using dummy regulator
[    3.651121] Registered IR keymap rc_map_sunxi
[    3.663235] rc rc0: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0
[    3.679002] input: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0/s_cir_rx
[    3.696374] sunxi cedar version 1.1
[    3.700545] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
[    3.709312] VE: sunxi_cedar_probe power-domain init!!!
[    3.715130] VE: install start!!!
[    3.715130] 
[    3.725534] VE: cedar-ve the get irq is 42
[    3.725534] 
[    3.734598] VE: ve_debug_proc_info:(ptrval), data:(ptrval), lock:(ptrval)
[    3.734598] 
[    3.743843] VE: install end!!!
[    3.743843] 
[    3.748918] VE: sunxi_cedar_probe
[    3.769349] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    3.789853] /cpus/cpu@0: unsupported enable-method property: psci
[    3.835153] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-05-24 16:10)
[    3.852100] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
[    3.858313] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
[    3.864638] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
[    3.871070] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
[    3.877498] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
[    3.884022] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
[    3.890524] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
[    3.897037] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
[    3.911275] sunxi-mmc 4020000.sdmmc: Got CD GPIO
[    3.916901] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail
[    3.923658] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.934798] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
[    3.954902] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    3.982953] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
[    4.000125] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-05-24 16:10)
[    4.010131] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
[    4.016344] sunxi-mmc 4021000.sdmmc: No vmmc regulator found
[    4.022680] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
[    4.029102] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
[    4.035529] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
[    4.042031] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
[    4.048573] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
[    4.055087] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
[    4.061619] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
[    4.078643] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    4.089811] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[    4.109929] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    4.133367] sunxi-mmc 4021000.sdmmc: detmode:manually by software
[    4.159549] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    4.163530] usbcore: registered new interface driver usbhid
[    4.174420] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    4.177392] usbhid: USB HID core driver
[    4.190611] sunxi-mmc 4021000.sdmmc: card claims to support voltages below defined range
[    4.193176] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    4.203636] oprofile: hardware counters not available
[    4.218984] oprofile: using timer interrupt.
[    4.224305] NET: Registered protocol family 10
[    4.245412] Segment Routing with IPv6
[    4.253418] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    4.292021] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[    4.297964] NET: Registered protocol family 17
[    4.303918] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[    4.308543] NET: Registered protocol family 15
[    4.327695] can: controller area network core (rev 20170425 abi 9)
[    4.327771] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
[    4.341894] NET: Registered protocol family 29
[    4.347483] mmc1: new high speed SDIO card at address 0001
[    4.351342] can: raw protocol (rev 20170425)
[    4.362510] can: broadcast manager protocol (rev 20170425 t)
[    4.368951] can: netlink gateway (rev 20190810) max_hops=1
[    4.382828] Registering SWP/SWPB emulation handler
[    4.392386] Loading compiled-in X.509 certificates
[    4.403016] RTL871X: HW EFUSE
[    4.406458] RTL871X: hal_com_config_channel_plan chplan:0x20
[    4.423316] random: crng init done
[    4.615602] RTL871X: rtw_regsty_chk_target_tx_power_valid return _FALSE for band:0, path:0, rs:0, t:-1
[    4.652647] RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=94:a4:08:c4:c0:61
[    4.845431] i2c i2c2: i2c2 supply twi not found, using dummy regulator
[    4.869306] i2c i2c2: probe success
[    4.975491] get ehci0-controller wakeup-source is fail.
[    4.981439] sunxi ehci0-controller don't init wakeup source
[    4.987694] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0e9b830, 0x:c932a000, irq_no:38
[    4.999634] [sunxi-ehci0]: Not init ehci0
[    5.004598] get ohci0-controller wakeup-source is fail.
[    5.014156] sunxi ohci0-controller don't init wakeup source
[    5.020382] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0e9bac0
[    5.030001] [sunxi-ohci0]: Not init ohci0
[    5.042315] get ehci1-controller wakeup-source is fail.
[    5.048301] sunxi ehci1-controller don't init wakeup source
[    5.054541] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0e9bd50, 0x:c9333000, irq_no:3a
[    5.077677] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
[    5.095065] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
[    5.102291] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
[    5.115954] sunxi-ehci 4200000.ehci1-controller: irq 58, io mem 0x04200000
[    5.153358] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
[    5.177093] hub 1-0:1.0: USB hub found
[    5.181346] hub 1-0:1.0: 1 port detected
[    5.200055] get ohci1-controller wakeup-source is fail.
[    5.206043] sunxi ohci1-controller don't init wakeup source
[    5.212259] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0e9bfe0
[    5.231430] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
[    5.247595] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
[    5.254867] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
[    5.274119] sunxi-ohci 4200400.ohci1-controller: irq 59, io mem 0x04200400
[    5.359661] hub 2-0:1.0: USB hub found
[    5.363948] hub 2-0:1.0: 1 port detected
[    5.417716] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    5.467316] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    5.474900] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    5.484584] clk: Not disabling unused clocks
[    5.489361] alloc_fd: slot 0 not NULL!
[    5.493577] cfg80211: failed to load regulatory.db
[    5.499087] Warning: unable to open an initial console.
[    5.510184] Freeing unused kernel memory: 3072K
[    5.543502] Kernel init done
[    5.546715] Run /init as init process
[    6.216801] ubi0: default fastmap pool size: 40
[    6.221877] ubi0: default fastmap WL pool size: 20
[    6.228217] ubi0: attaching mtd4
[I have no name!@T113-s3 /root]# [    7.029232] ubi0: scanning is finished
[    7.051601] ubi0: attached mtd4 (name "rootfs", size 109 MiB)
[    7.058122] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    7.065891] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    7.073488] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    7.081248] ubi0: good PEBs: 879, bad PEBs: 0, corrupted PEBs: 0
[    7.087960] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[    7.096023] ubi0: max/mean erase counter: 4/2, WL threshold: 4096, image sequence number: 2083313605
[    7.106215] ubi0: available PEBs: 0, total reserved PEBs: 879, PEBs reserved for bad PEB handling: 20
[    7.116519] ubi0: background thread "ubi_bgt0d" started, PID 1003
[    7.133442] UBIFS (ubi0:0): Mounting in unauthenticated mode
[    7.261294] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs", R/O mode
[    7.270557] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    7.281631] UBIFS (ubi0:0): FS size: 106913792 bytes (101 MiB, 842 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
[    7.293486] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
[    7.299991] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID 6581B725-5C85-4A2F-8A81-815A46CDCD6C, small LPT model

[I have no name!@T113-s3 /root]# 

启动速度提高的 8秒以内

离线

楼主 #19 2022-04-30 16:04:38

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

重启出错?

Jan  1 08:30:51 T113-s3 daemon.info nit: starting pid 1099, tty '': '/bin/umount -a -r'
[root@T113-s3 /etc]# Jan  1 08:30:51 T113-s3 daemon.info nit: starting pid 1101, tty '': '/sbin/swapoff -a'
Jan  1 08:30:51 T113-s3 daemon.i[ 1846.835865] RTL871X: rtw_cmd_thread(wlan0) _rtw_down_sema(&pcmdpriv->cmd_queue_sema) return _FAIL, break
nfo nit: The system is going down NOW!
Jan  1 08:30:51 T113-s3 syslog.info syslogd exiting
[ 1848.836123] reboot_callback(): empty arg
[ 1848.840563] [ohci1-controller]: ohci shutdown start
[ 1848.846087] [ohci1-controller]: ohci shutdown end
[ 1848.851350] [ehci1-controller]: ehci shutdown start
[ 1848.856842] [ehci1-controller]: ehci shutdown end
[ 1848.862090] sunxi_ohci_hcd_shutdown, ohci0-controller is disable, need not shutdown
[ 1848.870643] sunxi_ehci_hcd_shutdown, ehci0-controller is disable, need not shutdown
[ 1849.634124] ------------[ cut here ]------------
[ 1849.639294] WARNING: CPU: 1 PID: 1102 at drivers/clk/clk.c:960 clk_core_disable+0x38/0xa8
[ 1849.648406] mipi-dsi already disabled
[ 1849.652482] Modules linked in:
[ 1849.655888] CPU: 1 PID: 1102 Comm: init Not tainted 5.4.61 #136
[ 1849.662483] Hardware name: Generic DT based system
[ 1849.667839] [<c010e390>] (unwind_backtrace) from [<c010a8f4>] (show_stack+0x10/0x14)
[ 1849.676479] [<c010a8f4>] (show_stack) from [<c0727e64>] (dump_stack+0x7c/0x98)
[ 1849.684538] [<c0727e64>] (dump_stack) from [<c0119150>] (__warn+0xb8/0xd0)
[ 1849.692205] [<c0119150>] (__warn) from [<c01191e0>] (warn_slowpath_fmt+0x78/0xa0)
[ 1849.700552] [<c01191e0>] (warn_slowpath_fmt) from [<c03bd8d4>] (clk_core_disable+0x38/0xa8)
[ 1849.709867] [<c03bd8d4>] (clk_core_disable) from [<c03bda18>] (clk_core_disable_lock+0x18/0x24)
[ 1849.719572] [<c03bda18>] (clk_core_disable_lock) from [<c0392970>] (clk_disable_unprepare+0xc/0x18)
[ 1849.729663] [<c0392970>] (clk_disable_unprepare) from [<c0396804>] (disp_lcd_disable+0x27c/0x2d4)
[ 1849.739560] [<c0396804>] (disp_lcd_disable) from [<c0386040>] (disp_shutdown+0x68/0x84)
[ 1849.748490] [<c0386040>] (disp_shutdown) from [<c040ff70>] (device_shutdown+0x138/0x1b8)
[ 1849.757518] [<c040ff70>] (device_shutdown) from [<c0136134>] (kernel_restart+0xc/0x50)
[ 1849.766349] [<c0136134>] (kernel_restart) from [<c01363bc>] (__do_sys_reboot+0x140/0x1cc)
[ 1849.775470] [<c01363bc>] (__do_sys_reboot) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[ 1849.784487] Exception stack(0xc5d53fa8 to 0xc5d53ff0)
[ 1849.790118] 3fa0:                   01234567 0053c798 fee1dead 28121969 01234567 00000000
[ 1849.799236] 3fc0: 01234567 0053c798 0053c81c 00000058 00000000 00000000 0053c000 00000000
[ 1849.808350] 3fe0: 00000058 bed09cb4 b6e60255 b6ddec66
[ 1849.813978] ---[ end trace 29d70b923e4002ee ]---
[ 1849.834375] reboot: Restarting system

解决
修改.config

CONFIG_DISP2_SUNXI=y

改为

# CONFIG_DISP2_SUNXI is not set

最近编辑记录 Cadence (2022-05-01 11:17:58)

离线

楼主 #20 2022-04-30 16:25:46

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

@yang_AE86

待排除所有已知 bug和整理后,将会放到github

离线

楼主 #21 2022-05-01 00:03:22

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

出现以下现象

[root@T113-s3 /]# passwd
Changing password for root
New password:
Bad password: too short
Retype password:
passwd: warning: can't lock '/etc/shadow': Permission denied
Jan  1 10:59:01 T113-s3 auth.err passwd: warning: can't lock '/etc/shadow': Permission denied
passwd: warning: can't lock '/etc/passwd': Permission denied
Jan  1 10:59:01 T113-s3 auth.err passwd: warning: can't lock '/etc/passwd': Permission denied
passwd: password for root changed by root
Jan  1 10:59:01 T113-s3 auth.info passwd: password for root changed by root

解决办法
修改.config

CONFIG_FILE_LOCKING=y
CONFIG_MANDATORY_FILE_LOCKING=y

离线

楼主 #22 2022-05-02 09:42:07

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

T113-s3 hostap 启动脚本

#!/bin/bash
/sbin/ifconfig wlan0 up
/usr/sbin/hostapd /usr/local/hostapd.conf -B
/sbin/ip addr add 192.168.2.1/24 dev wlan0
/sbin/udhcpd /usr/local/udhcpd.conf
[ -d /etc/dropbear/ ] || mkdir -p /etc/dropbear/
[ -d /var/log/ ] || mkdir -p /var/log/
/usr/sbin/dropbear -R -B -W 65536

hostapd.conf 内容

driver=nl80211
ssid=T113_s3
channel=10
interface=wlan0
wpa=2
wpa_passphrase='your_passwd'
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP

udhcpd.conf 内容

# The start and end of the IP lease block
start       192.168.2.100
end     192.168.2.200

# The interface that udhcpd will use
interface   wlan0

opt dns 192.168.2.1
option  subnet  255.255.255.0
opt router  192.168.2.1

最近编辑记录 Cadence (2022-05-02 09:48:09)

离线

楼主 #23 2022-05-07 09:13:53

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

xfel spinand erase 0x00000000 0x20000 && xfel spinand write 0x00000000 boot0_nand_sun20iw1p1.bin
xfel spinand erase 0x100000 0xa0000 && xfel spinand write 0x100000 u-boot.bin
xfel spinand erase 0x00200000 0x20000 && xfel spinand write 0x00200000 board.dtb
xfel spinand erase 0x00220000 0x800000 && xfel spinand write 0x00220000 uImage
xfel spinand erase 0x00a20000 0x4000000 && xfel spinand write 0x00a20000 usr_ubi.img
xfel spinand erase 0x04a20000 0x35e0000 && xfel spinand write 0x04a20000 root_ubi.img

如何上传文件?
file_burn.tar.gz

最近编辑记录 Cadence (2022-05-07 09:20:45)

离线

楼主 #25 2022-05-08 09:53:22

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

@xboot
OK,thanks
谢谢你的开源 xfel和 xboot
他们给了我很大的帮助

离线

楼主 #26 2022-05-08 10:47:47

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

T113_s3 的 coremark.exe

[root@T113-s3 /root]# ./coremark.exe 
2K performance run parameters for coremark.
CoreMark Size    : 666
Total ticks      : 12814
Total time (secs): 12.814000
Iterations/Sec   : 3121.585766
Iterations       : 40000
Compiler version : GCC10.2.1 20210110
Compiler flags   : -O2 -DPERFORMANCE_RUN=1  -lrt
Memory location  : Please put data memory location here
                        (e.g. code in flash, data on heap etc)
seedcrc          : 0xe9f5
[0]crclist       : 0xe714
[0]crcmatrix     : 0x1fd7
[0]crcstate      : 0x8e3a
[0]crcfinal      : 0x25b5
Correct operation validated. See README.md for run and reporting rules.
CoreMark 1.0 : 3121.585766 / GCC10.2.1 20210110 -O2 -DPERFORMANCE_RUN=1  -lrt / Heap

Nuv980 的 coremark.exe

[root@Nuv980 /root]# ./coremark.exe 
2K performance run parameters for coremark.
CoreMark Size    : 666
Total ticks      : 18194
Total time (secs): 18.194000
Iterations/Sec   : 604.594921
Iterations       : 11000
Compiler version : GCC10.2.1 20210110
Compiler flags   : -O2 -DPERFORMANCE_RUN=1  -lrt
Memory location  : Please put data memory location here
                        (e.g. code in flash, data on heap etc)
seedcrc          : 0xe9f5
[0]crclist       : 0xe714
[0]crcmatrix     : 0x1fd7
[0]crcstate      : 0x8e3a
[0]crcfinal      : 0x33ff
Correct operation validated. See README.md for run and reporting rules.
CoreMark 1.0 : 604.594921 / GCC10.2.1 20210110 -O2 -DPERFORMANCE_RUN=1  -lrt / Heap

D1S 的 coremark.exe

[root@Risc-v /root]# ./coremark.exe 
2K performance run parameters for coremark.
CoreMark Size    : 666
Total ticks      : 13034
Total time (secs): 13.034000
Iterations/Sec   : 2301.672549
Iterations       : 30000
Compiler version : GCC10.3.0
Compiler flags   : -O2 -DPERFORMANCE_RUN=1  -lrt
Memory location  : Please put data memory location here
                        (e.g. code in flash, data on heap etc)
seedcrc          : 0xe9f5
[0]crclist       : 0xe714
[0]crcmatrix     : 0x1fd7
[0]crcstate      : 0x8e3a
[0]crcfinal      : 0x5275
Correct operation validated. See README.md for run and reporting rules.
CoreMark 1.0 : 2301.672549 / GCC10.3.0 -O2 -DPERFORMANCE_RUN=1  -lrt / Heap
[root@Risc-v /root]# 

Am3352 的 coremark.exe

[root@Am335x /root]# ./coremark.exe
2K performance run parameters for coremark.
CoreMark Size    : 666
Total ticks      : 11397
Total time (secs): 11.397000
Iterations/Sec   : 965.166272
Iterations       : 11000
Compiler version : GCC10.2.1 20210110
Compiler flags   : -O2 -DPERFORMANCE_RUN=1  -lrt
Memory location  : Please put data memory location here
                        (e.g. code in flash, data on heap etc)
seedcrc          : 0xe9f5
[0]crclist       : 0xe714
[0]crcmatrix     : 0x1fd7
[0]crcstate      : 0x8e3a
[0]crcfinal      : 0x33ff
Correct operation validated. See README.md for run and reporting rules.
CoreMark 1.0 : 965.166272 / GCC10.2.1 20210110 -O2 -DPERFORMANCE_RUN=1  -lrt / Heap

最近编辑记录 Cadence (2022-05-08 21:32:19)

离线

楼主 #27 2022-05-09 11:31:29

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

Xilinx 的ZYNQ coremark.exe

root@bohoon:~# cat /proc/cpuinfo
processor       : 0
model name      : ARMv7 Processor rev 0 (v7l)
BogoMIPS        : 675.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x3
CPU part        : 0xc09
CPU revision    : 0

processor       : 1
model name      : ARMv7 Processor rev 0 (v7l)
BogoMIPS        : 675.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x3
CPU part        : 0xc09
CPU revision    : 0

Hardware        : Xilinx Zynq Platform
Revision        : 0003
Serial          : 0000000000000000

root@bohoon:~# ./coremark.exe
2K performance run parameters for coremark.
CoreMark Size    : 666
Total ticks      : 12170
Total time (secs): 12.170000
Iterations/Sec   : 2465.078061
Iterations       : 30000
Compiler version : GCC10.2.1 20210110
Compiler flags   : -O2 -DPERFORMANCE_RUN=1  -lrt
Memory location  : Please put data memory location here
                        (e.g. code in flash, data on heap etc)
seedcrc          : 0xe9f5
[0]crclist       : 0xe714
[0]crcmatrix     : 0x1fd7
[0]crcstate      : 0x8e3a
[0]crcfinal      : 0x5275
Correct operation validated. See README.md for run and reporting rules.
CoreMark 1.0 : 2465.078061 / GCC10.2.1 20210110 -O2 -DPERFORMANCE_RUN=1  -lrt / Heap

离线

楼主 #28 2022-05-10 09:01:11

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

在T113_s3上运行 PX4

INFO  [px4] mlockall() enabled. PX4's virtual address space is locked into RAM.
INFO  [px4] assuming working directory is rootfs, no symlinks needed.

______  __   __    ___ 
| ___ \ \ \ / /   /   |
| |_/ /  \ V /   / /| |
|  __/   /   \  / /_| |
| |     / /^\ \ \___  |
\_|     \/   \/     |_/

px4 starting.

INFO  [px4] Calling startup script: /bin/sh etc/init.d/rcS 0
etc/init.d/rcS: line 57: ver: command not found
etc/init.d/rcS: line 120: .: filename argument required
.: usage: . filename [arguments]
ERROR [px4] Startup script returned with return value: 512

离线

楼主 #30 2022-05-10 16:20:02

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

修改 ./.ci/Jenkinsfile-compile

sed -i 's/"beaglebone_blue_default",/"t113_s3_default", "beaglebone_blue_default",/g' ./.ci/Jenkinsfile-compile

修改 Tools/docker_run.sh
第8行

elif [[ $@ =~ .*navio2.* ]] || [[ $@ =~ .*raspberry.* ]] || [[ $@ =~ .*beaglebone.* ]] || [[ $@ =~ .*pilotpi.default ]]; then

改为

elif [[ $@ =~ .*navio2.* ]] || [[ $@ =~ .*raspberry.* ]] || [[ $@ =~ .*beaglebone.* ]] || [[ $@ =~ .*pilotpi.default ]] || [[ $@ =~ .*t113_s3.* ]]; then

建立px4_t113_s3_default

cd boards/px4
mkdir t113_s3
cd t113_s3/
cp -a ../raspberrypi/ ./
cd ../../../

root@i9-10920:/data/Pixhawk/PX4-Autopilot# make px4_t113_s3_default
-- PX4 version: v1.13.0-alpha1-4463-ge080fab8f6
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.6.9", minimum required is "3") 
-- PX4 config file: /data/Pixhawk/PX4-Autopilot/boards/px4/t113_s3/default.px4board
-- PLATFORM posix
-- LINUX y
-- TOOLCHAIN arm-linux-gnueabihf
-- ARCHITECTURE cortex-a7
-- ROMFSROOT px4fmu_common
-- TESTING y
-- PX4 config: px4_t113_s3_default
-- PX4 platform: posix
-- PX4 lockstep: disabled
-- cmake build type: RelWithDebInfo
-- The CXX compiler identification is GNU 8.2.0
-- The C compiler identification is GNU 8.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/tools/Xilinx/Vitis/2019.2/gnu/aarch32/lin/gcc-arm-linux-gnueabi/bin/arm-linux-gnueabihf-gcc
-- Check for working CXX compiler: /opt/tools/Xilinx/Vitis/2019.2/gnu/aarch32/lin/gcc-arm-linux-gnueabi/bin/arm-linux-gnueabihf-g++
-- Check for working CXX compiler: /opt/tools/Xilinx/Vitis/2019.2/gnu/aarch32/lin/gcc-arm-linux-gnueabi/bin/arm-linux-gnueabihf-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /opt/tools/Xilinx/Vitis/2019.2/gnu/aarch32/lin/gcc-arm-linux-gnueabi/bin/arm-linux-gnueabihf-gcc
-- Check for working C compiler: /opt/tools/Xilinx/Vitis/2019.2/gnu/aarch32/lin/gcc-arm-linux-gnueabi/bin/arm-linux-gnueabihf-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Building for code coverage
-- ccache enabled (export CCACHE_DISABLE=1 to disable)
-- ROMFS: ROMFS/px4fmu_common
-- Configuring done
-- Generating done
-- Build files have been written to: /data/Pixhawk/PX4-Autopilot/build/px4_t113_s3_default
[0/932] git submodule src/drivers/gps/devices
[9/932] git submodule src/modules/mavlink/mavlink
[10/932] Generating Mavlink development: src/modules/mavlink/mavlink/message_definitions/v1.0/development.xml
Validating /data/Pixhawk/PX4-Autopilot/src/modules/mavlink/mavlink/message_definitions/v1.0/development.xml
Parsing /data/Pixhawk/PX4-Autopilot/src/modules/mavlink/mavlink/message_definitions/v1.0/development.xml
Validating /data/Pixhawk/PX4-Autopilot/src/modules/mavlink/mavlink/message_definitions/v1.0/standard.xml
Parsing /data/Pixhawk/PX4-Autopilot/src/modules/mavlink/mavlink/message_definitions/v1.0/standard.xml
Validating /data/Pixhawk/PX4-Autopilot/src/modules/mavlink/mavlink/message_definitions/v1.0/common.xml
Parsing /data/Pixhawk/PX4-Autopilot/src/modules/mavlink/mavlink/message_definitions/v1.0/common.xml
Validating /data/Pixhawk/PX4-Autopilot/src/modules/mavlink/mavlink/message_definitions/v1.0/minimal.xml
Parsing /data/Pixhawk/PX4-Autopilot/src/modules/mavlink/mavlink/message_definitions/v1.0/minimal.xml
Merged enum MAV_CMD
Merged enum MAV_CMD
Found 228 MAVLink message types in 4 XML files
Generating C implementation in directory /data/Pixhawk/PX4-Autopilot/build/px4_t113_s3_default/mavlink/development
Generating C implementation in directory /data/Pixhawk/PX4-Autopilot/build/px4_t113_s3_default/mavlink/standard
Generating C implementation in directory /data/Pixhawk/PX4-Autopilot/build/px4_t113_s3_default/mavlink/common
Generating C implementation in directory /data/Pixhawk/PX4-Autopilot/build/px4_t113_s3_default/mavlink/minimal
Copying fixed headers for protocol 2.0 to /data/Pixhawk/PX4-Autopilot/build/px4_t113_s3_default/mavlink
[932/932] Linking CXX shared library src/examples/dyn_hello/examples__dyn_hello.px4mod

最近编辑记录 Cadence (2022-05-10 16:27:28)

离线

楼主 #31 2022-05-22 20:43:52

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

v3s 的 coremark.exe

root:~# cat /proc/cpuinfo
processor       : 0
model name      : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 48.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xc07
CPU revision    : 5

Hardware        : Allwinner sun8i Family
Revision        : 0000
Serial          : 0000000000000000

root:~# ./coremark.exe
2K performance run parameters for coremark.
CoreMark Size    : 666
Total ticks      : 14050
Total time (secs): 14.050000
Iterations/Sec   : 2846.975089
Iterations       : 40000
Compiler version : GCC10.2.1 20210110
Compiler flags   : -O2 -DPERFORMANCE_RUN=1  -lrt
Memory location  : Please put data memory location here
                        (e.g. code in flash, data on heap etc)
seedcrc          : 0xe9f5
[0]crclist       : 0xe714
[0]crcmatrix     : 0x1fd7
[0]crcstate      : 0x8e3a
[0]crcfinal      : 0x25b5
Correct operation validated. See README.md for run and reporting rules.
CoreMark 1.0 : 2846.975089 / GCC10.2.1 20210110 -O2 -DPERFORMANCE_RUN=1  -lrt / Heap

离线

楼主 #33 2022-05-31 10:16:19

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

sy373466062 说:

@Cadence
imx6ul的CoreMark大概多少分?

没有imx6ul的板子

最近编辑记录 Cadence (2022-05-31 10:17:04)

离线

楼主 #35 2022-06-03 23:27:58

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

@笃学

看了一下应该是修改
mtd/awnand/spinand/physic/id.c
添加

struct aw_spinand_phy_info winbond[] = {
    {
        .Model      = "W25N01GVZEIG",
        .NandID     = {0xef, 0xaa, 0x21, 0xff, 0xff, 0xff, 0xff, 0xff},
        .DieCntPerChip  = 1,
        .SectCntPerPage = 4,
        .PageCntPerBlk  = 64,
        .BlkCntPerDie   = 1024,
        .OobSizePerPage = 64,
        .OperationOpt   = SPINAND_QUAD_READ | SPINAND_QUAD_PROGRAM |
            SPINAND_DUAL_READ,
        .MaxEraseTimes  = 65000,
        .EccType    = BIT2_LIMIT1_ERR2,
        .EccProtectedType = SIZE16_OFF4_LEN4_OFF8,
        .BadBlockFlag = BAD_BLK_FLAG_FRIST_1_PAGE,
    },
    {
        .Model      = "W25N02KVZEIR",
        .NandID     = {0xef, 0xaa, 0x22, 0xff, 0xff, 0xff, 0xff, 0xff},
        .DieCntPerChip  = 1,
        .SectCntPerPage = 4,
        .PageCntPerBlk  = 64,
        .BlkCntPerDie   = 2048,
        .OobSizePerPage = 64,
        .OperationOpt   = SPINAND_QUAD_READ | SPINAND_QUAD_PROGRAM |
            SPINAND_DUAL_READ,
        .MaxEraseTimes  = 65000,
        .EccType    = BIT2_LIMIT1_ERR2,
        .EccProtectedType = SIZE16_OFF4_LEN4_OFF8,
        .BadBlockFlag = BAD_BLK_FLAG_FRIST_1_PAGE,
    },
};

应该就可以
不过我没有用全志的驱动

最近编辑记录 Cadence (2022-06-03 23:31:41)

离线

楼主 #38 2022-06-07 19:55:41

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

@笃学
应该是 rootfs 系统错误,需要重新格式化 ubifs

重新写入 rootfs
用sd卡启动起来,然后

flash_erase /dev/mtd5 0 0
ubiformat -y /dev/mtd5
ubiattach /dev/ubi_ctrl -m5
ubimkvol /dev/ubi0 -N rootfs -m

最近编辑记录 Cadence (2022-06-07 19:57:35)

离线

楼主 #40 2022-06-08 15:24:57

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

@笃学
可以用如下脚本试一下

file_dir=../rootfs/
partation_size=119
PEB_size=131072
good_PEBs=$((partation_size*1024*1024/PEB_size))
reserved_for_bad_PEB=20
available_PEBs=$((good_PEBs-reserved_for_bad_PEB))
LEB_size=126976
Vol_used_size=16
FS_size=$(((available_PEBs-Vol_used_size)*LEB_size/1024/1024))
mkfs.ubifs -F -d $file_dir -o ./ubi_tmp.img -m 2048 -e $LEB_size -c $available_PEBs
vol_name=$(echo $file_dir | awk -F '/' '{print $2}')
sed -i "s/vol_size=.*MiB/vol_size=${FS_size}MiB/g" ubinize.cfg
sed -i "s/vol_name=.*/vol_name=${vol_name}/g" ubinize.cfg
file_name="${vol_name}_ubi.img"
ubinize -v -o $file_name -p $PEB_size -m 2048 -s 2048 -O 2048 ubinize.cfg
echo "vol_size=${FS_size}MiB"
rm ./ubi_tmp.img 

ubinize.cfg的内容

[ubifs]
mode=ubi
image=./ubi_tmp.img
vol_id=0
vol_size=110MiB
vol_type=dynamic
vol_name=rootfs
vol_flags=autoresize

然后用xfel下载到spi-nand分区

最近编辑记录 Cadence (2022-06-08 15:28:39)

离线

楼主 #42 2022-06-14 23:44:20

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

u-boot-t113,linux-t113-5.4 已放到gitee
https://gitee.com/weiwei382-163-com/t113-s3-u-boot.git
https://gitee.com/weiwei382-163-com/linux-t113-5.4.git
“仓库公开申请已提交审核中,我们将在 2 个工作日内为你处理。”

最近编辑记录 Cadence (2022-06-15 08:07:00)

离线

楼主 #46 2022-06-29 21:37:34

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

liefyuan 说:

大佬,你好,我在你的Gitee的仓库里面看到了:https://gitee.com/weiwei382-163-com/nand_spl,发现他只能编译nand版本的spl,编译mmc和spinor版本的spl就报错,所以就很好奇大佬您这份spl(boot0)的源码是基于哪一份源码的基础上面改的呢?

好像是这个
https://debugdump.com/topic/1247/t113-tina-sdk-longan-sdk-%E5%BC%80%E5%8F%91%E8%B5%84%E6%96%99%E4%B8%8B%E8%BD%BD/13?lang=zh-CN
时间一长忘了

离线

楼主 #48 2022-07-05 22:12:25

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

@liefyuan
spi nand 是什么型号?

是否是这样写入的?
xfel spinand erase 0x00000000 0x20000 && xfel spinand write 0x00000000 boot0_nand_sun20iw1p1.bin
xfel spinand erase 0x100000 0xa0000 && xfel spinand write 0x100000 u-boot.bin

最近编辑记录 Cadence (2022-07-06 08:54:29)

离线

楼主 #50 2022-07-06 15:52:03

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

@liefyuan
我用的型号是W25N01GVZE
可能兆易与华邦的不兼容

离线

楼主 #52 2022-07-08 09:55:14

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

@liefyuan

xfel版本
xfel(v1.2.6)

像spi-nand没擦除干净

xfel spinand erase 0 0x1000000

擦除一下

执行以下代码

xfel ddr t113-s3
sleep 1
xfel write 0x43000000 u-boot.bin
xfel exec 0x43000000

看能运行吗?

最近编辑记录 Cadence (2022-07-08 10:32:21)

离线

楼主 #56 2022-07-11 08:37:23

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

@liefyuan

liefyuan@ubuntu:~/samba-share$ xfel ddr t113-s3
Initial ddr controller succeeded
liefyuan@ubuntu:~/samba-share$ sleep 1
liefyuan@ubuntu:~/samba-share$ xfel write 0x43000000 u-boot.bin
usb bulk send error
liefyuan@ubuntu:~/samba-share$ xfel exec 0x43000000
usb bulk send error

xfel 看起来没有正常工作

离线

楼主 #59 2022-09-08 21:00:07

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

richard.zhou 说:

你好,按照你的修改,但是第二个CPU核没有起来。
我想在这个CPU上移植OpenWRT,目前就差第二个核没启动了

请 贴一下 启动log

离线

楼主 #62 2022-09-13 07:34:32

Cadence
会员
注册时间: 2022-04-01
已发帖子: 71
积分: 85

Re: T113-s3 spi-nand 启动

@richard.zhou

static int sun8i_smp_boot_secondary(unsigned int cpu,
                    struct task_struct *idle)
{
    u32 reg;
    void __iomem *cpucfg_membase = ioremap(0x09010000, 0x10);
    void __iomem *cpuexec_membase[] = {ioremap(0x070005C4, 0x10),ioremap(0x070005C8, 0x10)};

    if(cpu != 1)return 0;

//    pr_info("%s %d cpu %x\n",__FILE__,__LINE__,(u32)idle);
    spin_lock(&cpu_lock);
    
    /* Set CPU boot address */
    writel(__pa_symbol(secondary_startup),  cpuexec_membase[cpu]);
//  writel((u32)idle,   cpuexec_membase[cpu]);  /* do not work */

    /* Deassert the CPU core reset */
    reg = readl(cpucfg_membase);
    pr_info("%s %d cpucfg_membase = %x cpu=%d(%d)\n",__FILE__,__LINE__,(u32)reg, cpu, BIT(cpu));
    writel(reg | BIT(cpu), cpucfg_membase);
    pr_info("%s %d cpucfg_membase = %x\n",__FILE__,__LINE__,(u32)readl(cpucfg_membase));

    spin_unlock(&cpu_lock);

    return 0;
}

启动log

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.61 (root@i9-10920) (arm-linux-gnueabihf-gcc (Linaro GCC 7.5-2019.12) 7.5.0, GNU ld (Linaro_Binutils-2019.12) 2.28.2.20170706) #160 SMP PREEMPT Tue Sep 13 07:28:42 CST 2022
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: sun8iw20
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 8 MiB at 0x47800000
[    0.000000] On node 0 totalpages: 32768
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] percpu: Embedded 15 pages/cpu s32076 r8192 d21172 u61440
[    0.000000] pcpu-alloc: s32076 r8192 d21172 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200n8 earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused loglevel=8 init=/init cma=8M root=/dev/ram0 rw
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 107512K/131072K available (7168K kernel code, 395K rwdata, 2464K rodata, 3072K init, 157K bss, 15368K reserved, 8192K cma-reserved)
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x250/0x440 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000018] Switching to timer-based delay loop, resolution 41ns
[    0.000196] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000807] Console: colour dummy device 80x30
[    0.000847] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000862] pid_max: default: 32768 minimum: 301
[    0.000941] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000956] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001548] CPU: Testing write buffer coherency: ok
[    0.001873] /cpus/cpu@0 missing clock-frequency property
[    0.001895] /cpus/cpu@1 missing clock-frequency property
[    0.001907] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002600] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002754] rcu: Hierarchical SRCU implementation.
[    0.003120] BOOTEVENT:         3.111416: ON
[    0.003318] smp: Bringing up secondary CPUs ...
[    0.003902] arch/arm/mach-sunxi/plat_t113_smp.c 44 cpucfg_membase = 13ff0101 cpu=1(2)
[    0.003914] arch/arm/mach-sunxi/plat_t113_smp.c 46 cpucfg_membase = 13ff0103
[    0.004146] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.004300] smp: Brought up 1 node, 2 CPUs
[    0.004313] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.004320] CPU: All CPU(s) started in SVC mode.
[    0.004910] devtmpfs: initialized
[    0.113510] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.116486] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.116517] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.116953] pinctrl core: initialized pinctrl subsystem
[    0.131158] NET: Registered protocol family 16
[    0.137153] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.153987] cpuidle: using governor ladder
[    0.154070] cpuidle: using governor menu
[    0.444548] rtc_ccu: sunxi ccu init OK
[    0.481460] ccu: sunxi ccu init OK
[    0.487744] r_ccu: sunxi ccu init OK
[    1.036313] iommu: Default domain type: Translated 
[    1.036526] sunxi iommu: irq = 24
[    1.068689] SCSI subsystem initialized
[    1.079281] usbcore: registered new interface driver usbfs
[    1.079657] usbcore: registered new interface driver hub
[    1.079849] usbcore: registered new device driver usb
[    1.087640] mc: Linux media interface: v0.10
[    1.090096] videodev: Linux video capture interface: v2.00
[    1.113880] sunxi-msgbox-amp 3003000.msgbox: invalid resource
[    1.124898] Advanced Linux Sound Architecture Driver Initialized.
[    1.140940] pwm module init!
[    1.151102] clocksource: Switched to clocksource arch_sys_counter
[    1.339475] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
[    1.477101] thermal_sys: Registered thermal governor 'step_wise'
[    1.477109] thermal_sys: Registered thermal governor 'user_space'
[    1.484802] NET: Registered protocol family 2
[    1.496563] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.496605] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    1.496631] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    1.496654] TCP: Hash tables configured (established 1024 bind 1024)
[    1.496785] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.496821] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.497007] NET: Registered protocol family 1
[    1.518882] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
[    1.523635] spi spi0: spi0 supply spi not found, using dummy regulator
[    1.528778] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE
[    1.531876] sunxi_spi_resource_get()2189 - Failed to get sample mode
[    1.531892] sunxi_spi_resource_get()2194 - Failed to get sample delay
[    1.531902] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921
[    1.531983] sunxi_spi_clk_init()2240 - [spi0] mclk 100000000
[    1.544828] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base c8829000, irq 45
[    1.822203] Initialise system trusted keyrings
[    1.822377] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    1.825855] fuse: init (API version 7.31)
[    1.861419] NET: Registered protocol family 38
[    1.861448] Key type asymmetric registered
[    1.861457] Asymmetric key parser 'x509' registered
[    1.861666] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    1.861680] io scheduler mq-deadline registered
[    1.861688] io scheduler kyber registered
[    1.886747] sunxi_sid_init()551 - insmod ok
[    1.896758] pwm-regulator: supplied by regulator-dummy
[    1.929371] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
[    1.929766] uart uart0: get regulator failed
[    1.929789] uart uart0: uart0 supply uart not found, using dummy regulator
[    1.930411] uart0: ttyS0 at MMIO 0x2500000 (irq = 34, base_baud = 1500000) is a SUNXI
[    1.930443] sw_console_setup()1784 - console setup baud 115200 parity n bits 8, flow n
[    2.690102] printk: console [ttyS0] enabled
[    2.698830] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
[    2.713418] uart uart1: get regulator failed
[    2.718212] uart uart1: uart1 supply uart not found, using dummy regulator
[    2.735683] uart1: ttyS1 at MMIO 0x2500400 (irq = 35, base_baud = 1500000) is a SUNXI
[    2.751777] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
[    2.763187] uart uart2: get regulator failed
[    2.767973] uart uart2: uart2 supply uart not found, using dummy regulator
[    2.785620] uart2: ttyS2 at MMIO 0x2500800 (irq = 36, base_baud = 1500000) is a SUNXI
[    2.814241] uart uart3: get regulator failed
[    2.819040] uart uart3: uart3 supply uart not found, using dummy regulator
[    2.827142] uart3: ttyS3 at MMIO 0x2500c00 (irq = 37, base_baud = 1500000) is a SUNXI
[    2.849763] uart uart4: get regulator failed
[    2.854608] uart uart4: uart4 supply uart not found, using dummy regulator
[    2.865905] uart4: ttyS4 at MMIO 0x2501000 (irq = 38, base_baud = 1500000) is a SUNXI
[    2.891706] uart uart5: get regulator failed
[    2.896500] uart uart5: uart5 supply uart not found, using dummy regulator
[    2.910769] uart5: ttyS5 at MMIO 0x2501400 (irq = 39, base_baud = 1500000) is a SUNXI
[    2.947200] misc dump reg init
[    2.964631] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9
[    2.971866] sunxi-rfkill soc@3000000:rfkill@0: devm_pinctrl_get() failed!
[    2.979470] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
[    2.986786] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
[    2.994195] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
[    3.000708] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
[    3.007651] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1)
[    3.015365] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=0
[    3.023220] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1
[    3.031316] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled
[    3.042473] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power.
[    3.049222] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1)
[    3.056779] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=210 assert=0
[    3.111941] spi-nand spi0.0: Winbond SPI NAND was found.
[    3.117882] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    3.137042] 6 fixed-partitions partitions found on MTD device spi0.0
[    3.144202] Creating 6 MTD partitions on "spi0.0":
[    3.149556] 0x000000000000-0x000000100000 : "boot0"
[    3.198737] 0x000000100000-0x000000200000 : "u-boot"
[    3.252859] 0x000000200000-0x000000220000 : "dtb"
[    3.323022] 0x000000220000-0x000000a20000 : "kernel"
[    3.331474] random: fast init done
[    3.406722] 0x000000a20000-0x000004a20000 : "usr"
[    3.613556] 0x000004a20000-0x000008000000 : "app"
[    3.808754] libphy: Fixed MDIO Bus: probed
[    3.813499] CAN device driver interface
[    3.818046] ======== XRADIO WIFI OPEN ========
[    3.830622] [XRADIO] Driver Label:XR_V02.16.84_P2P_HT40_01.31   
[    3.837435] [XRADIO] Allocated hw_priv @ (ptrval)
[    3.842717] [ADDR_MGT] get_addr_by_name: t->addr: 
[    3.859421] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1
[    3.875728] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success
[    4.082861] sunxi_hosts[1] should not be null
[    4.082866] [XRADIO] Detect SDIO card 1
[    6.161225] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success
[    6.268431] sunxi_hosts[1] should not be null
[    6.268437] [XRADIO] Remove SDIO card 1
[    6.287586] [SBUS_ERR] sdio probe timeout!
[    6.292170] [XRADIO_ERR] sbus_sdio_init failed
[    6.297507] xradio_core_init failed (-110)!
[    6.341195] RTL871X: module init start
[    6.345386] RTL871X: rtl8189fs v4.3.24.8_22657.20170607
[    6.351357] RTL871X: module init ret=0
[    6.355547] hso: drivers/net/usb/hso.c: Option Wireless
[    6.361539] usbcore: registered new interface driver hso
[    6.367478] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.374781] sunxi-ehci: EHCI SUNXI driver
[    6.383142] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    6.390086] sunxi-ohci: OHCI SUNXI driver
[    6.395260] usbcore: registered new interface driver uas
[    6.401342] usbcore: registered new interface driver usb-storage
[    6.408122] usbcore: registered new interface driver ums-alauda
[    6.414821] usbcore: registered new interface driver ums-cypress
[    6.421630] usbcore: registered new interface driver ums-datafab
[    6.431930] usbcore: registered new interface driver ums_eneub6250
[    6.438916] usbcore: registered new interface driver ums-freecom
[    6.445733] usbcore: registered new interface driver ums-isd200
[    6.452470] usbcore: registered new interface driver ums-jumpshot
[    6.459345] usbcore: registered new interface driver ums-karma
[    6.469424] usbcore: registered new interface driver ums-onetouch
[    6.480120] usbcore: registered new interface driver ums-realtek
[    6.486969] usbcore: registered new interface driver ums-sddr09
[    6.493673] usbcore: registered new interface driver ums-sddr55
[    6.500346] usbcore: registered new interface driver ums-usbat
[    6.521893] input: sunxi-ts as /devices/platform/soc@3000000/2009c00.rtp/input/input0
[    6.549569] sunxi_gpadc_init,2137, success
[    6.554542] sunxi_key_init: get key count failed
[    6.554558] sunxi_gpadc_setup: get channel scan data failed
[    6.569772] input: sunxi-gpadc0 as /devices/virtual/input/input1
[    6.584129] input: sunxi-gpadc1 as /devices/virtual/input/input2
[    6.626613] sunxi-rtc 7090000.rtc: registered as rtc0
[    6.632419] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-04T01:40:50 UTC (265250)
[    6.641811] sunxi-rtc 7090000.rtc: sunxi rtc probed
[    6.647712] i2c /dev entries driver
[    6.651981] IR NEC protocol handler initialized
[    6.657033] IR RC5(x/sz) protocol handler initialized
[    6.663185] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
[    6.678269] sunxi_ir_startup: get ir protocol failed
[    6.678301] (NULL device *): deviceless supply  not found, using dummy regulator
[    6.695811] Registered IR keymap rc_map_sunxi
[    6.704479] rc rc0: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0
[    6.720274] input: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0/s_cir_rx
[    6.742208] sunxi cedar version 1.1
[    6.746412] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
[    6.752761] VE: sunxi_cedar_probe power-domain init!!!
[    6.758506] VE: install start!!!
[    6.758506] 
[    6.771460] VE: cedar-ve the get irq is 46
[    6.771460] 
[    6.777997] VE: ve_debug_proc_info:(ptrval), data:(ptrval), lock:(ptrval)
[    6.777997] 
[    6.787268] VE: install end!!!
[    6.787268] 
[    6.792374] VE: sunxi_cedar_probe
[    6.805036] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    6.827838] /cpus/cpu@0: unsupported enable-method property: psci
[    6.870205] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-05-24 16:10)
[    6.880192] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
[    6.886397] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
[    6.892750] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
[    6.899161] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
[    6.905593] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
[    6.912113] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
[    6.918635] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
[    6.925155] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
[    6.939465] sunxi-mmc 4020000.sdmmc: Got CD GPIO
[    6.944993] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail
[    6.955447] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    6.966598] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
[    6.986720] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    7.011307] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
[    7.016977] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    7.034351] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-05-24 16:10)
[    7.044363] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
[    7.050547] sunxi-mmc 4021000.sdmmc: No vmmc regulator found
[    7.056913] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
[    7.063356] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
[    7.069775] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
[    7.076302] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
[    7.082835] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
[    7.089346] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
[    7.095914] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
[    7.118832] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    7.129989] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[    7.150126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    7.174328] sunxi-mmc 4021000.sdmmc: detmode:manually by software
[    7.186505] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    7.209957] usbcore: registered new interface driver usbhid
[    7.212353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    7.216227] usbhid: USB HID core driver
[    7.229452] sunxi-mmc 4021000.sdmmc: card claims to support voltages below defined range
[    7.284934] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1
[    7.284934] 
[    7.288231] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[    7.302191] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:0, dacdrc_cfg:2, dachpf:3
[    7.313684] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[    7.324981] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished
[    7.336257] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
[    7.364305] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present!
[    7.365329] mmc1: new high speed SDIO card at address 0001
[    7.374171] [SNDCODEC][sunxi_card_init][583]:card init finished
[    7.400250] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok
[    7.452708] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input4
[    7.460240] RTL871X: HW EFUSE
[    7.473906] RTL871X: hal_com_config_channel_plan chplan:0x20
[    7.474299] [SNDCODEC][sunxi_card_dev_probe][800]:jack_enable missing, use default enable jack
[    7.489991] [SNDCODEC][sunxi_card_dev_probe][810]:hp_detect_case missing, use default hp_detect_low
[    7.502473] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished
[    7.503121] random: crng init done
[    7.517933] oprofile: hardware counters not available
[    7.523639] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch
[    7.531022] oprofile: using timer interrupt.
[    7.536350] NET: Registered protocol family 10
[    7.560511] Segment Routing with IPv6
[    7.568630] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    7.607506] NET: Registered protocol family 17
[    7.612760] NET: Registered protocol family 15
[    7.617713] can: controller area network core (rev 20170425 abi 9)
[    7.624724] NET: Registered protocol family 29
[    7.629679] can: raw protocol (rev 20170425)
[    7.634460] can: broadcast manager protocol (rev 20170425 t)
[    7.640765] can: netlink gateway (rev 20190810) max_hops=1
[    7.649116] Registering SWP/SWPB emulation handler
[    7.662862] Loading compiled-in X.509 certificates
[    7.695297] RTL871X: rtw_regsty_chk_target_tx_power_valid return _FALSE for band:0, path:0, rs:0, t:-1
[    7.733144] RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=94:a4:08:c4:c0:61
[    8.154121] i2c i2c0: i2c0 supply twi not found, using dummy regulator
[    8.174387] i2c i2c0: probe success
[    8.187044] i2c i2c1: i2c1 supply twi not found, using dummy regulator
[    8.215037] i2c i2c1: probe success
[    8.227442] i2c i2c2: i2c2 supply twi not found, using dummy regulator
[    8.251605] i2c i2c2: probe success
[    8.264212] i2c i2c3: i2c3 supply twi not found, using dummy regulator
[    8.288442] i2c i2c3: probe success
[    8.395978] get ehci0-controller wakeup-source is fail.
[    8.402110] sunxi ehci0-controller don't init wakeup source
[    8.408367] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0e80d28, 0x:c8a88000, irq_no:38
[    8.420382] [sunxi-ehci0]: Not init ehci0
[    8.429162] get ohci0-controller wakeup-source is fail.
[    8.438996] sunxi ohci0-controller don't init wakeup source
[    8.445289] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0e80fb8
[    8.454958] [sunxi-ohci0]: Not init ohci0
[    8.459950] get ehci1-controller wakeup-source is fail.
[    8.465953] sunxi ehci1-controller don't init wakeup source
[    8.472224] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0e81248, 0x:c8a91000, irq_no:3a
[    8.488570] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
[    8.504393] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
[    8.511723] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
[    8.521772] sunxi-ehci 4200000.ehci1-controller: irq 58, io mem 0x04200000
[    8.561114] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
[    8.585543] hub 1-0:1.0: USB hub found
[    8.595949] hub 1-0:1.0: 1 port detected
[    8.624778] get ohci1-controller wakeup-source is fail.
[    8.632365] sunxi ohci1-controller don't init wakeup source
[    8.638627] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0e814d8
[    8.655038] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
[    8.675240] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
[    8.682529] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
[    8.692477] sunxi-ohci 4200400.ohci1-controller: irq 59, io mem 0x04200400
[    8.782032] hub 2-0:1.0: USB hub found
[    8.786448] hub 2-0:1.0: 1 port detected
[    8.816664] get det_vbus is fail, -84
[    8.820776] get id is fail, -84
[    8.849953] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    8.897469] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    8.909063] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    8.911331] clk: Not disabling unused clocks
[    8.918769] cfg80211: failed to load regulatory.db
[    8.923571] ALSA device list:
[    8.932287]   #0: audiocodec
[    8.935568] Warning: unable to open an initial console.
[    8.946674] Freeing unused kernel memory: 3072K
[    9.001270] Kernel init done
[    9.004500] Run /init as init process
Jan  4 09:40:53 T113-s3 syslog.info syslogd started: BusyBox v1.35.0
[    9.608180] ubi0: default fastmap pool size: 25
[    9.613335] ubi0: default fastmap WL pool size: 12
[    9.618708] ubi0: attaching mtd4
[    9.841125] 
[    9.841125] insmod_device_driver
[    9.841125] 
[    9.848064] pdev is null
[    9.850900] device_chose finished 139!
[   10.053159] ubi0: scanning is finished
[   10.077671] ubi0: attached mtd4 (name "usr", size 64 MiB)
[   10.091169] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[   10.098905] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[   10.106592] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[   10.114441] ubi0: good PEBs: 512, bad PEBs: 0, corrupted PEBs: 0
[   10.121190] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[   10.129290] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 246415116
[   10.139445] ubi0: available PEBs: 0, total reserved PEBs: 512, PEBs reserved for bad PEB handling: 20
[   10.149813] ubi0: background thread "ubi_bgt0d" started, PID 1065
[   10.192615] UBIFS (ubi0:0): Mounting in unauthenticated mode
[   10.312614] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "usr", R/O mode
[   10.321656] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   10.332793] UBIFS (ubi0:0): FS size: 60440576 bytes (57 MiB, 476 LEBs), journal size 8126464 bytes (7 MiB, 64 LEBs)
[   10.344508] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
[   10.351051] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID 2B8EFCD5-6F03-4AA5-9676-9CB79708AA78, small LPT model
[   10.382624] ubi1: default fastmap pool size: 20
[   10.387712] ubi1: default fastmap WL pool size: 10
[   10.393140] ubi1: attaching mtd5
[   11.274481] ubi1: scanning is finished
[   11.311374] ubi1: attached mtd5 (name "app", size 53 MiB)
[   11.317444] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[   11.325285] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[   11.335621] ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096
[   11.343552] ubi1: good PEBs: 431, bad PEBs: 0, corrupted PEBs: 0
[   11.350310] ubi1: user volume: 1, internal volumes: 1, max. volumes count: 128
[   11.358463] ubi1: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1565070343
[   11.368724] ubi1: available PEBs: 0, total reserved PEBs: 431, PEBs reserved for bad PEB handling: 20
[   11.379102] ubi1: background thread "ubi_bgt1d" started, PID 1071
[   11.402831] UBIFS (ubi1:0): Mounting in unauthenticated mode
[   11.412721] UBIFS (ubi1:0): background thread "ubifs_bgt1_0" started, PID 1074
[   11.478528] UBIFS (ubi1:0): recovery needed
[   11.592788] UBIFS (ubi1:0): recovery completed
[   11.598115] UBIFS (ubi1:0): UBIFS: mounted UBI device 1, volume 0, name "root"
[   11.606273] UBIFS (ubi1:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   11.617411] UBIFS (ubi1:0): FS size: 50028544 bytes (47 MiB, 394 LEBs), journal size 6729728 bytes (6 MiB, 53 LEBs)
[   11.629128] UBIFS (ubi1:0): reserved for root: 0 bytes (0 KiB)
[   11.635685] UBIFS (ubi1:0): media format: w4/r0 (latest is w5/r0), UUID 84CF5461-96A1-4064-8B28-B70DF8ED672A, small LPT model
Jan  4 09:40:55 T113-s3 daemon.info nit: starting pid 1075, tty '/dev/ttyS0': '/bin/login -f root'
Jan  4 09:40:55 T113-s3 auth.info login[1075]: root login on 'ttyS0'

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn