您尚未登录。

#1 Re: 全志 SOC » T113-s3 spi-nand 启动 » 2022-09-13 14:17:25

问题应该算解决了,在SPL中把CPU的主频设置为480M就可以正常启动了,原先是1008M。不知道是芯片的问题还是板子的问题。

#2 Re: 全志 SOC » T113-s3 spi-nand 启动 » 2022-09-09 16:44:24

[531]00
[532]Loading boot-pkg Succeed(index=0).
[536]Cluster 0 Reset Control Register : 13ff0103
[540]Cluster 0 Reset Control Register : 13ff0103
[545]Jump to second Boot.

很奇怪的现象 0x09010000寄存器在SPL阶段两个CPU都自动De-assert,而且好像无法开关。

1111.png

寄存器上看第二个核很早就已经启动了,这样就变成了内核无法接管第二个核了。

但是有时候寄存器状态是正常的,这种情况下第二个核就能正常启动。

#3 Re: 全志 SOC » T113-s3 spi-nand 启动 » 2022-09-09 09:59:14

Cadence 说:
richard.zhou 说:

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

请 贴一下 启动log

这是完整的Log

[157]HELLO! <----- BOOT0 is starting! ----->
[162]BOOT0 commit : 90ce8bc
[164]SPL: size 49152
[166]set pll start
[168]periph0 has been enabled
[171]set pll end
[173]board init ok
[175]ZQ value = 0x31
[177]ddr_efuse_type: 0xa
[179]mark_id: 0x60
[181]trefi:7.8ms
[184][AUTO DEBUG] single rank and full DQ!
[188]ddr_efuse_type: 0xa
[190]mark_id: 0x60
[192]trefi:7.8ms
[195][AUTO DEBUG] rank 0 row = 13
[198][AUTO DEBUG] rank 0 bank = 8
[201][AUTO DEBUG] rank 0 page size = 2 KB
[205]DRAM BOOT DRIVE INFO: V0.24
[208]DRAM CLK = 792 MHz
[211]DRAM Type = 3 (2:DDR2,3:DDR3)
[214]DRAMC read ODT  off.
[217]DRAM ODT value: 0x42.
[219]ddr_efuse_type: 0xa
[222]mark_id: 0x60
[224]DRAM SIZE = 128M
[232]DRAM simple test OK.
[235]dram size =128
[237]card no is 0
[239]sdcard 0 line count 4
[242][mmc]: mmc driver ver 2021-04-2 16:45
[251][mmc]: Wrong media type 0x0
[254][mmc]: ***Try SD card 0***
[264][mmc]: HSSDR52/SDR25 4 bit
[267][mmc]: 50000000 Hz
[269][mmc]: 7660 MB
[271][mmc]: ***SD/MMC 0 init OK!!!***
[406]d0
[407]0d
[407]fe
[408]ed
[409]00
[410]Loading boot-pkg Succeed(index=0).
[414]Jump to second Boot.


U-Boot 2022.01-rc3-gb939dcf0ab-dirty (Sep 08 2022 - 19:42:09 +0800) Allwinner Technology

CPU:   SUNXI Family
Model: T113-S3
DRAM:  128 MiB
[00.030]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
MMC:   mmc@4020000: 0
Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1... In:    serial
Out:   serial
Err:   serial
starting USB...
No working controllers found
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
450 bytes read in 2 ms (219.7 KiB/s)
## Executing script at 42900000
5093540 bytes read in 2639 ms (1.8 MiB/s)
56389 bytes read in 34 ms (1.6 MiB/s)
## Loading kernel from FIT Image at 41800000 ...
   Using 'config@1' configuration
   Trying 'kernel@1' kernel subimage
     Description:  ARM OpenWrt Linux-5.10.127
     Type:         Kernel Image
     Compression:  uncompressed
     Data Start:   0x418000e4
     Data Size:    5040760 Bytes = 4.8 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: 0x40008000
     Entry Point:  0x40008000
     Hash algo:    crc32
     Hash value:   6e3bf84c
     Hash algo:    sha1
     Hash value:   8a619ae2d7e37393d15136aa6a6efd7169e9d159
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 41800000 ...
   Using 'config@1' configuration
   Trying 'fdt@1' fdt subimage
     Description:  ARM OpenWrt T113-S3 device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x41ccec90
     Data Size:    50916 Bytes = 49.7 KiB
     Architecture: ARM
     Hash algo:    crc32
     Hash value:   1539fb77
     Hash algo:    sha1
     Hash value:   098c723280e9e6bf02175a2c880b49d6511963d8
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Booting using the fdt blob at 0x41ccec90
   Loading Kernel Image
   Loading Device Tree to 42df0000, end 42dff6e3 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.61+ (develop@develop-dell) (arm-openwrt-linux-gnueabi-gcc (OpenWrt GCC 8.4.0 r16325-88151b8303) 8.4.0, GNU ld (GNU Binutils) 2.34) #0 SMP PREEMPT Sun Oct 241
[    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: t113-s3
[    0.000000] earlycon: sunxi_uart0 at MMIO 0x02500c00 (options '')
[    0.000000] printk: bootconsole [sunxi_uart0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 16 MiB at 0x47000000
[    0.000000] percpu: Embedded 15 pages/cpu s32396 r8192 d20852 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: console=ttyS3,115200 earlycon=sunxi_uart,0x2500c00 root=/dev/mmcblk0p2 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: 101312K/131072K available (8192K kernel code, 341K rwdata, 1812K rodata, 1024K init, 134K bss, 13376K reserved, 16384K cma-reserved)
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] rcu:     RCU priority boosting: priority 1 delay 500 ms.
[    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] rcu:     Offload RCU callbacks from CPUs: (none).
[    0.000000] random: get_random_bytes called from start_kernel+0x2a8/0x3d0 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.007971] Switching to timer-based delay loop, resolution 41ns
[    0.014099] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.023639] Console: colour dummy device 80x30
[    0.027500] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.037797] pid_max: default: 32768 minimum: 301
[    0.042439] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.049675] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.058130] CPU: Testing write buffer coherency: ok
[    0.062555] /cpus/cpu@0 missing clock-frequency property
[    0.067518] /cpus/cpu@1 missing clock-frequency property
[    0.072830] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.079125] Setting up static identity map for 0x40100000 - 0x40100060
[    0.085107] rcu: Hierarchical SRCU implementation.
[    0.090477] smp: Bringing up secondary CPUs ...
[    0.094202] smp: cpu 0 cpu_online 1
[    0.094205] smp: cpu 1 cpu_online 0
[    0.098452] arch/arm/mach-sunxi/plat_t113_smp.c 39 cpu 1 boot up 
[    0.107203] ==========> 13ff0103
[    0.110469] 0x09010080: 1010003
[    1.151109] CPU1: failed to come online
[    1.151218] smp: Brought up 1 node, 1 CPU
[    1.151252] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    1.151295] CPU: All CPU(s) started in SVC mode.
[    1.227931] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    1.230427] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    1.230516] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    1.231300] pinctrl core: initialized pinctrl subsystem
[    1.249578] NET: Registered protocol family 16
[    1.252917] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    1.267932] cpuidle: using governor ladder
[    1.267999] cpuidle: using governor menu
[    1.455982] rtc_ccu: sunxi ccu init OK
[    1.487226] ccu: sunxi ccu init OK
[    1.490526] r_ccu: sunxi ccu init OK
[    1.909836] iommu: Default domain type: Translated 
[    1.910066] sunxi iommu: irq = 24
[    1.934117] SCSI subsystem initialized
[    1.946793] usbcore: registered new interface driver usbfs
[    1.947059] usbcore: registered new interface driver hub
[    1.947324] usbcore: registered new device driver usb
[    1.953289] mc: Linux media interface: v0.10
[    1.954010] videodev: Linux video capture interface: v2.00
[    1.968051] sunxi-msgbox-amp 3003000.msgbox: invalid resource
[    1.982590] Advanced Linux Sound Architecture Driver Initialized.
[    1.993515] pwm module init!
[    2.000276] clocksource: Switched to clocksource arch_sys_counter
[    2.144531] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
[    2.233285] thermal_sys: Registered thermal governor 'step_wise'
[    2.233292] thermal_sys: Registered thermal governor 'user_space'
[    2.238594] NET: Registered protocol family 2
[    2.248443] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    2.248527] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    2.248595] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    2.250533] TCP: Hash tables configured (established 1024 bind 1024)
[    2.256867] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    2.263514] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    2.272570] NET: Registered protocol family 1
[    2.286999] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
[    2.294634] spi spi0: spi0 supply spi not found, using dummy regulator
[    2.297337] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE
[    2.297442] sunxi_spi_resource_get()2189 - Failed to get sample mode
[    2.303490] sunxi_spi_resource_get()2194 - Failed to get sample delay
[    2.309586] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921
[    2.318118] sunxi_spi_clk_init()2240 - [spi0] mclk 100000000
[    2.333649] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base c882d000, irq 41
[    2.362160] Initialise system trusted keyrings
[    2.362410] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    2.365107] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.365173] fuse: init (API version 7.31)
[    2.413832] NET: Registered protocol family 38
[    2.413886] Key type asymmetric registered
[    2.413918] Asymmetric key parser 'x509' registered
[    2.414228] io scheduler mq-deadline registered
[    2.414268] io scheduler kyber registered
[    2.441730] sunxi_sid_init()551 - insmod ok
[    2.449848] pwm-regulator: supplied by regulator-dummy
[    2.459211] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
[    2.464755] uart uart3: get regulator failed
[  [    2.476029] printk: console [ttyS3] enabled
[    2.476029] printk: console [ttyS3] enabled
[    2.480938] printk: bootconsole [sunxi_uart0] disabled
[    2.480938] printk: bootconsole [sunxi_uart0] disabled
[    2.507420] misc dump reg init
[    2.699914] loop: module loaded
[    2.706744] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9
[    2.716648] sunxi-rfkill soc@3000000:rfkill@0: devm_pinctrl_get() failed!
[    2.724415] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
[    2.731889] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
[    2.739297] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
[    2.745915] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
[    2.752893] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1)
[    2.760660] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=0
[    2.768616] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
[    2.782484] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1
[    2.790644] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled
[    2.801008] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power.
[    2.807753] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1)
[    2.815480] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=210 assert=0
[    2.860411] spi-nand spi0.0: Macronix SPI NAND was found.
[    2.866466] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    2.881373] 6 fixed-partitions partitions found on MTD device spi0.0
[    2.888490] Creating 6 MTD partitions on "spi0.0":
[    2.893947] 0x000000000000-0x000000100000 : "boot0"
[    2.939969] 0x000000100000-0x000000200000 : "u-boot"
[    2.990167] 0x000000200000-0x000000220000 : "dtb"
[    3.040835] 0x000000220000-0x000000a20000 : "kernel"
[    3.048540] random: fast init done
[    3.103570] 0x000000a20000-0x000004a20000 : "usr"
[    3.251274] 0x000004a20000-0x000008000000 : "app"
[    3.398191] libphy: Fixed MDIO Bus: probed
[    3.408831] CAN device driver interface
[    3.422323] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
[    3.433797] sunxi gmac driver's version: 1.0.0
[    3.444436] gmac-power0: NULL
[    3.447763] gmac-power1: NULL
[    3.451243] gmac-power2: NULL
[    3.467522] Failed to alloc md5
[    3.471207] eth0: Use random mac address
[    3.484452] ======== XRADIO WIFI OPEN ========
[    3.490082] [XRADIO] Driver Label:XR_V02.16.84_P2P_HT40_01.31   
[    3.497185] [XRADIO] Allocated hw_priv @ (ptrval)
[    3.502552] [ADDR_MGT] get_addr_by_name: t->addr: 
[    3.511663] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1
[    3.527934] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success
[    3.735121] sunxi_hosts[1] should not be null
[    3.735127] [XRADIO] Detect SDIO card 1
[    5.760393] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success
[    5.867605] sunxi_hosts[1] should not be null
[    5.867612] [XRADIO] Remove SDIO card 1
[    5.886781] [SBUS_ERR] sdio probe timeout!
[    5.891369] [XRADIO_ERR] sbus_sdio_init failed
[    5.896778] xradio_core_init failed (-110)!
[    5.920533] hso: drivers/net/usb/hso.c: Option Wireless
[    5.926630] usbcore: registered new interface driver hso
[    5.932763] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.940063] sunxi-ehci: EHCI SUNXI driver
[    5.945038] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.952179] sunxi-ohci: OHCI SUNXI driver
[    5.960610] usbcore: registered new interface driver uas
[    5.972620] usbcore: registered new interface driver usb-storage
[    5.979740] usbcore: registered new interface driver ums-alauda
[    5.989058] usbcore: registered new interface driver ums-cypress
[    5.996792] usbcore: registered new interface driver ums-datafab
[    6.006412] usbcore: registered new interface driver ums_eneub6250
[    6.019522] usbcore: registered new interface driver ums-freecom
[    6.026767] usbcore: registered new interface driver ums-isd200
[    6.033771] usbcore: registered new interface driver ums-jumpshot
[    6.040937] usbcore: registered new interface driver ums-karma
[    6.056186] usbcore: registered new interface driver ums-onetouch
[    6.063446] usbcore: registered new interface driver ums-realtek
[    6.070755] usbcore: registered new interface driver ums-sddr09
[    6.077629] usbcore: registered new interface driver ums-sddr55
[    6.084612] usbcore: registered new interface driver ums-usbat
[    6.109213] input: sunxi-ts as /devices/platform/soc@3000000/2009c00.rtp/input/input0
[    6.134437] sunxi_gpadc_init,2137, success
[    6.142380] sunxi_key_init: get key count failed
[    6.142396] sunxi_gpadc_setup: get channel scan data failed
[    6.165032] input: sunxi-gpadc0 as /devices/virtual/input/input1
[    6.189425] input: sunxi-gpadc1 as /devices/virtual/input/input2
[    6.206388] sunxi-rtc 7090000.rtc: errata__fix_alarm_day_reg_default_value(): ALARM0_DAY_REG=0, set it to 1
[    6.239019] sunxi-rtc 7090000.rtc: registered as rtc0
[    6.245324] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:00:10 UTC (10)
[    6.254379] sunxi-rtc 7090000.rtc: sunxi rtc probed
[    6.260451] i2c /dev entries driver
[    6.271283] IR NEC protocol handler initialized
[    6.276362] IR RC5(x/sz) protocol handler initialized
[    6.294204] usbcore: registered new interface driver uvcvideo
[    6.301061] USB Video Class driver (1.1.1)
[    6.305645] sunxi cedar version 1.1
[    6.325674] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    6.367295] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-05-24 16:10)
[    6.382469] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
[    6.388667] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
[    6.395176] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
[    6.401695] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
[    6.408121] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
[    6.414689] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
[    6.421254] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
[    6.427777] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
[    6.434851] sunxi-mmc 4020000.sdmmc: Got CD GPIO
[    6.441206] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail
[    6.453119] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    6.464457] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
[    6.484657] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    6.509165] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
[    6.514906] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    6.535684] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-05-24 16:10)
[    6.546097] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
[    6.552415] sunxi-mmc 4021000.sdmmc: No vmmc regulator found
[    6.558792] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
[    6.565299] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    6.576946] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
[    6.583398] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
[    6.589924] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
[    6.599648] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
[    6.606327] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
[    6.613802] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    6.627521] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
[    6.642783] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    6.666510] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    6.677778] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[    6.698030] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    6.716902] mmc0: host does not support reading read-only switch, assuming write-enable
[    6.725934] sunxi-mmc 4021000.sdmmc: detmode:manually by software
[    6.736616] mmc0: Problem switching card into high-speed mode!
[    6.743287] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    6.762557] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 25000000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    6.780720] usbcore: registered new interface driver usbhid
[    6.787282] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 25000000Hz bm PP pm ON vdd 21 width 4 timing LEGACY(SDR12) dt B
[    6.799198] usbhid: USB HID core driver
[    6.803545] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    6.864452] mmc0: new SDHC card at address 0001
[    6.870449] [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
[    6.870449] 
[    6.889498] mmcblk0: mmc0:0001 SD16G 7.48 GiB 
[    6.900797] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:0, dacdrc_cfg:2, dachpf:3
[    6.912025]  mmcblk0: p1 p2 p3 p4
[    6.925118] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[    6.946119] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished
[    6.976140] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[    7.011694] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
[    7.023982] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present!
[    7.034073] [SNDCODEC][sunxi_card_init][583]:card init finished
[    7.041574] mmc1: new high speed SDIO card at address 0001
[    7.059919] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok
[    7.103224] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input3
[    7.124533] [SNDCODEC][sunxi_card_dev_probe][800]:jack_enable missing, use default enable jack
[    7.134645] [SNDCODEC][sunxi_card_dev_probe][810]:hp_detect_case missing, use default hp_detect_low
[    7.147876] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished
[    7.159331] NET: Registered protocol family 17
[    7.164498] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch
[    7.172137] NET: Registered protocol family 15
[    7.177107] can: controller area network core (rev 20170425 abi 9)
[    7.184180] NET: Registered protocol family 29
[    7.189154] can: raw protocol (rev 20170425)
[    7.194005] can: broadcast manager protocol (rev 20170425 t)
[    7.200473] can: netlink gateway (rev 20190810) max_hops=1
[    7.209999] Registering SWP/SWPB emulation handler
[    7.222038] Loading compiled-in X.509 certificates
[    7.533549] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
[    7.548026] i2c i2c0: i2c0 supply twi not found, using dummy regulator
[    7.569460] i2c i2c0: probe success
[    7.579750] i2c i2c1: i2c1 supply twi not found, using dummy regulator
[    7.600944] i2c i2c1: probe success
[    7.656149] platform 2000c13.pwm3: pinctrl_get failed!
[    7.662180] platform 2000c13.pwm3: pinctrl_get failed!
[    7.667936] cpu cpu0: _set_opp_voltage: failed to set voltage (950000 950000 950000 mV): -19
[    7.677435] platform 2000c13.pwm3: pinctrl_get failed!
[    7.683219] platform 2000c13.pwm3: pinctrl_get failed!
[    7.688965] cpu cpu0: _set_opp_voltage: failed to set voltage (950000 950000 950000 mV): -19
[    7.698421] cpufreq: __target_index: Failed to change cpu frequency: -19
[    7.716527] get ehci0-controller wakeup-source is fail.
[    7.722853] sunxi ehci0-controller don't init wakeup source
[    7.729097] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0c6e630, 0x:c8a1f000, irq_no:30
[    7.741146] [sunxi-ehci0]: Not init ehci0
[    7.749253] get ohci0-controller wakeup-source is fail.
[    7.755560] sunxi ohci0-controller don't init wakeup source
[    7.761951] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0c6ede0
[    7.771659] [sunxi-ohci0]: Not init ohci0
[    7.776693] get ehci1-controller wakeup-source is fail.
[    7.785879] sunxi ehci1-controller don't init wakeup source
[    7.792274] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0c6e8c0, 0x:c8a29000, irq_no:32
[    7.807859] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
[    7.827233] platform 2000c13.pwm3: pinctrl_get failed!
[    7.833128] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
[    7.843657] platform 2000c13.pwm3: pinctrl_get failed!
[    7.849422] cpu cpu0: _set_opp_voltage: failed to set voltage (950000 950000 950000 mV): -19
[    7.859256] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
[    7.869067] platform 2000c13.pwm3: pinctrl_get failed!
[    7.874870] platform 2000c13.pwm3: pinctrl_get failed!
[    7.880638] cpu cpu0: _set_opp_voltage: failed to set voltage (950000 950000 950000 mV): -19
[    7.890079] cpufreq: __target_index: Failed to change cpu frequency: -19
[    7.897863] sunxi-ehci 4200000.ehci1-controller: irq 50, io mem 0x04200000
[    7.930297] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
[    7.938095] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device connect
[    7.960472] hub 1-0:1.0: USB hub found
[    7.967921] hub 1-0:1.0: 1 port detected
[    7.986919] get ohci1-controller wakeup-source is fail.
[    7.993234] sunxi ohci1-controller don't init wakeup source
[    7.999475] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0c6f070
[    8.012923] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
[    8.031985] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
[    8.039239] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
[    8.052791] sunxi-ohci 4200400.ohci1-controller: irq 51, io mem 0x04200400
[    8.144577] hub 2-0:1.0: USB hub found
[    8.158447] hub 2-0:1.0: 1 port detected
[    8.191615] get det_vbus is fail, -84
[    8.195718] get id is fail, -84
[    8.219032] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    8.240889] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    8.248418] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    8.258394] ALSA device list:
[    8.261780] cfg80211: failed to load regulatory.db
[    8.267322]   #0: audiocodec
[    8.287104] VFS: Mounted root (squashfs filesystem) readonly on device 179:2.
[    8.296381] Freeing unused kernel memory: 1024K
[    8.328080] Run /sbin/init as init process
[    8.342686] usb 1-1: new high-speed USB device number 2 using sunxi-ehci
[    8.605959] hub 1-1:1.0: USB hub found
[    8.628770] hub 1-1:1.0: 4 ports detected
[    9.101894] init: Console is alive
[    9.105922] init: - watchdog -
[    9.294266] 
[    9.294266] insmod_device_driver
[    9.294266] 
[    9.301270] pdev is null
[    9.304105] device_chose finished 139!
[    9.318093] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    9.370663] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    9.380629] init: - preinit -
cat: can't open '/proc/board-info/hostname': No such file or directory
/bin/board_detect: /etc/board.d/01_system: line 27: ucidef_set_timezone: not found
/bin/board_detect: /etc/board.d/01_system: line 28: ucidef_set_zonename: not found
[   10.299632] random: jshn: uninitialized urandom read (4 bytes read)
[   10.381388] random: jshn: uninitialized urandom read (4 bytes read)
[   10.421100] random: jshn: uninitialized urandom read (4 bytes read)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   11.440846] urandom_read: 2 callbacks suppressed
[   11.440857] random: procd: uninitialized urandom read (4 bytes read)
[   13.902785] EXT4-fs (loop0): recovery complete
[   13.915294] EXT4-fs (loop0): mounted filesystem with ordered data mode. Opts: (null)
[   13.927127] mount_root: switching to ext4 overlay
[   13.987082] urandom-seed: Seeding with /etc/urandom.seed
[   14.115843] procd: - early -
[   14.119192] procd: - watchdog -
[   15.206559] procd: - watchdog -
[   15.211105] procd: - ubus -
[   15.313633] random: ubusd: uninitialized urandom read (4 bytes read)
[   15.368086] random: ubusd: uninitialized urandom read (4 bytes read)
[   15.377970] random: ubusd: uninitialized urandom read (4 bytes read)
[   15.387016] procd: - init -
Please press Enter to activate this console.
[   16.337156] urngd: v1.0.2 started.
[   16.560401] random: crng init done
[   16.564218] random: 1 urandom warning(s) missed due to ratelimiting
[   16.619146] kmodloader: loading kernel modules from /etc/modules.d/*
[   17.021157] xt_time: kernel timezone is -0000
[   17.251272] PPP generic driver version 2.4.2
[   17.289812] NET: Registered protocol family 24
[   17.437941] kmodloader: done loading kernel modules from /etc/modules.d/*
[   24.787829] libphy: 4500000.eth: probed
[   24.809611] sunxi-gmac 4500000.eth eth0: eth0: Type(7) PHY ID 001cc816 at 0 IRQ poll (4500000.eth-0:00)

OpenWrt login: 

#4 Re: 全志 SOC » T113-s3 spi-nand 启动 » 2022-09-08 17:01:00

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

页脚

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

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