板子焊完一直没有时间调试驱动,目前先把屏幕点亮了。另外原理图奉上a589b620-6361-47c4-a1c4-ae4480327eaf-Schematic_SnialPI_2_2022-10-21.pdf
(个人玩具谨慎使用)。
ftwtwzy 发布的最佳帖子
-
回复: 和萌新一起制作基于T113-S3的 Snail Pi(蜗牛PI)
-
和萌新一起制作基于T113-S3的 Snail Pi(蜗牛PI)
经过断断续续一个多月的查找资料,参考了芒果大佬、韦东山大佬开源的相关原理图吗,(感谢大佬们的无私奉献),终于将Snail Pi 2.0 (V1.0点这里)板子画了出来,暂时上个图占个位置(尚未打板验证,先准备仔细检查一下原理图和布线)后续有必要也会开源出来。
-
回复: 和萌新一起制作基于T113-S3的 Snail Pi(蜗牛PI)
汇报一下目前的项目状态,目前已经完成打样,焊接,使用测试镜像跑成功了一半
系统
为什么说跑成功了一半呢,是因为板子的串口使用的是UART3(PB6、PB7),使用芒果大佬镜像改串口发现无效,还要去研究一下,最后使用了100ASK_T113_Pro开发板 的镜像,顺利进入的内核,但可能是因为本身板子存在差异,最后在内核层挂了,启动日志如下:
[19]HELLO! BOOT0 is starting! [22]BOOT0 commit : 2c94b33 [25]set pll start [31]periph0 has been enabled [34]set pll end [35][pmu]: bus read error [38]board init ok [40]enable_jtag [41]ZQ value = 0x2f*********** [44]get_pmu_exist() = -1 [47]ddr_efuse_type: 0xa [50][AUTO DEBUG] single rank and full DQ! [54]ddr_efuse_type: 0xa [57][AUTO DEBUG] rank 0 row = 13 [60][AUTO DEBUG] rank 0 bank = 8 [64][AUTO DEBUG] rank 0 page size = 2 KB [68]DRAM BOOT DRIVE INFO: V0.24 [71]DRAM CLK = 792 MHz [73]DRAM Type = 3 (2:DDR2,3:DDR3) [76]DRAMC read ODT off. [79]DRAM ODT value: 0x42. [81]ddr_efuse_type: 0xa [84]DRAM SIZE =128 M [86]PLL_DDR_CTRL_REG:0xf8004100 [89]DRAM_CLK_REG:0xc0000000 [97]DRAM simple test OK. [99]rtc standby flag is 0x0, super standby flag is 0x0 [105]dram size =128 [108]card no is 0 [109]sdcard 0 line count 4 [112][mmc]: mmc driver ver 2021-03-22 20:20 [121][mmc]: Wrong media type 0x0 [124][mmc]: ***Try SD card 0*** [134][mmc]: HSSDR52/SDR25 4 bit [136][mmc]: 50000000 Hz [139][mmc]: 29818 MB [141][mmc]: ***SD/MMC 0 init OK!!!*** [234]Loading boot-pkg Succeed(index=0). [237]Entry_name = u-boot [244]Entry_name = optee [248]Entry_name = logo [251]Entry_name = dtb [254]mmc not para [256]Jump to second Boot. M/TC: OP-TEE version: 6aef7bb2-dirty (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Fri Jul 23 09:25:11 UTC 2021 arm U-Boot 2018.05 (Jun 30 2022 - 06:55:01 +0000) Allwinner Technology [00.311]CPU: Allwinner Family [00.314]Model: sun8iw20 [00.316]DRAM: 128 MiB [00.320]Relocation Offset is: 04ebd000 [00.347]secure enable bit: 0 [00.349]smc_tee_inform_fdt failed with: -65526[00.353]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.360]gic: sec monitor mode [00.363]line:703 init_clocks [00.365]drv_disp_init request pwm success, pwm7:pwm7:0x2000c00. [00.380]drv_disp_init finish [00.382]boot_gui_init:start [00.385]set disp.dev2_output_type fail. using defval=0 [00.391]boot_gui_init:finish [00.410]flash init start [00.412]workmode = 0,storage type = 1 [00.415][mmc]: mmc driver ver uboot2018:2021-09-07 19:43:00 [00.420][mmc]: get sdc_type fail and use default host:tm1. [00.426][mmc]: can't find node "mmc0",will add new node [00.431][mmc]: fdt err returned <no error> [00.435][mmc]: Using default timing para [00.439][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.457][mmc]: card_caps:0x3000000a [00.460][mmc]: host_caps:0x3000003f [00.464]sunxi flash init ok [00.480]Loading Environment from SUNXI_FLASH... OK [00.503]Item0 (Map) magic is bad [00.506]the secure storage item0 copy0 magic is bad [00.514]Item0 (Map) magic is bad [00.517]the secure storage item0 copy1 magic is bad [00.522]Item0 (Map) magic is bad secure storage read widevine fail [00.528]secure storage read widevine fail with:-1 secure storage read ec_key fail [00.535]secure storage read ec_key fail with:-1 secure storage read ec_cert1 fail [00.542]secure storage read ec_cert1 fail with:-1 secure storage read ec_cert2 fail [00.550]secure storage read ec_cert2 fail with:-1 secure storage read ec_cert3 fail [00.557]secure storage read ec_cert3 fail with:-1 secure storage read rsa_key fail [00.565]secure storage read rsa_key fail with:-1 secure storage read rsa_[00.572]LCD open finish cert1 fail [00.575]secure storage read rsa_cert1 fail with:-1 secure storage read rsa_cert2 fail [00.583]secure storage read rsa_cert2 fail with:-1 secure storage read rsa_cert3 fail [00.590]secure storage read rsa_cert3 fail with:-1 [00.595]usb burn from boot delay time 0 weak:otg_phy_config [00.606]usb prepare ok [01.409]overtime [01.412]do_burn_from_boot usb : no usb exist partno erro : can't find partition private root_partition is rootfs set root to /dev/mmcblk0p5 [01.428]update part info [01.433]update bootcmd [01.437]change working_fdt 0x4487ce70 to 0x4485ce70 [01.455]update dts phy_mode=rmii, phy_interface=6 eth0 Error: eth0 address not set. Hit any key to stop autoboot: 0 card0 has inited curr_device:0 Device: SUNXI SD/MMC Manufacturer ID: 0 OEM: 3432 Name: SD16G Bus Speed: 50000000 Mode : SD High Speed (50MHz) Rd Block Len: 512 SD version 3.0 High Capacity: Yes Capacity: 29.1 GiB Bus Width: 4-bit Erase Group Size: 512 Bytes Partition Map for MMC device 0 -- Partition Type: EFI Part Start LBA End LBA Name Attributes Type GUID Partition GUID 1 0x00008a40 0x00009a3f "boot-resource" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: 062b93b2-b331-4d17-aae1-9036c26f2edc 2 0x00009a40 0x00009b3f "env" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: 031a5e10-cd20-4c63-8962-3604d4322bd5 3 0x00009b40 0x00009c3f "env-redund" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: 916cb25d-68a4-4b0a-bdcb-06d409fbea4b 4 0x00009c40 0x00019c3f "boot" attrs: 0x0000000000000004 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: 4d34798f-8ec5-4e58-a82a-ba6887a0ca1c 5 0x00019c40 0x00099c3f "rootfs" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: e8cc2477-8bc7-4cf7-9e4c-f81509c65134 6 0x00099c40 0x00119c3f "share" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: 11e64f77-503e-479b-8c5c-f22e5a7b5ff9 261240 bytes read in 14 ms (17.8 MiB/s) 4810752 bytes read in 204 ms (22.5 MiB/s) [03.818]no vendor_boot partition is found Android's image name: sun8iw20p1 [03.830]Starting kernel ... [03.833][mmc]: MMC Device 2 not found [03.836][mmc]: mmc 2 not find, so not exit [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.4.61 (book@virtual-machine) (arm-linux-gnueabi-gcc (Linaro GCC 7.2-2017.11) 7.2.1 20171011, GNU ld (Linaro_Binutils-2017.11) 2.28.2.20170706) #1 SMP PREEMPT Wed Jul 6 07:08:12 UTC 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 16 MiB at 0x47000000 [ 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: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.0 [ 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: earlycon=uart8250,mmio32,0x05000000 clk_ignore_unused initcall_debug=0 console=ttyS3,115200 loglevel=8 root=/dev/mmcblk0p5 init=/sbin/init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:share@mmcblk0p6 cma=16M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun8iw20p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05(06/30/2022-06:55:01) disp_reserve=2457600,0x448a6000 androidboot.dramsize=128 [ 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: 90604K/131072K available (7168K kernel code, 405K rwdata, 2328K rodata, 1024K init, 170K bss, 24084K reserved, 16384K 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+0x248/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.000018] Switching to timer-based delay loop, resolution 41ns [ 0.000198] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000790] Console: colour dummy device 80x30 [ 0.000830] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.000843] pid_max: default: 32768 minimum: 301 [ 0.000925] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.000939] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.001554] CPU: Testing write buffer coherency: ok [ 0.001881] /cpus/cpu@0 missing clock-frequency property [ 0.001904] /cpus/cpu@1 missing clock-frequency property [ 0.001915] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.002585] Setting up static identity map for 0x40100000 - 0x40100060 [ 0.002748] rcu: Hierarchical SRCU implementation. [ 0.003091] BOOTEVENT: 3.082207: ON [ 0.003293] smp: Bringing up secondary CPUs ... [ 0.004585] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.004742] smp: Brought up 1 node, 2 CPUs [ 0.004757] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.004764] CPU: All CPU(s) started in SVC mode. [ 0.005331] devtmpfs: initialized [ 0.106396] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.110296] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.110328] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.111077] pinctrl core: initialized pinctrl subsystem [ 0.122746] NET: Registered protocol family 16 [ 0.126586] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.441141] rtc_ccu: sunxi ccu init OK [ 0.482528] ccu: sunxi ccu init OK [ 0.490240] r_ccu: sunxi ccu init OK [ 0.970698] iommu: Default domain type: Translated [ 0.975220] sunxi iommu: irq = 24 [ 0.998412] SCSI subsystem initialized [ 1.014469] usbcore: registered new interface driver usbfs [ 1.018658] usbcore: registered new interface driver hub [ 1.018820] usbcore: registered new device driver usb [ 1.026197] mc: Linux media interface: v0.10 [ 1.026282] videodev: Linux video capture interface: v2.00 [ 1.049109] Advanced Linux Sound Architecture Driver Initialized. [ 1.069370] Bluetooth: Core ver 2.22 [ 1.069508] NET: Registered protocol family 31 [ 1.069518] Bluetooth: HCI device and connection manager initialized [ 1.069544] Bluetooth: HCI socket layer initialized [ 1.069558] Bluetooth: L2CAP socket layer initialized [ 1.069623] Bluetooth: SCO socket layer initialized [ 1.069976] pwm module init! [ 1.083498] g2d 5410000.g2d: Adding to iommu group 0 [ 1.087557] G2D: rcq version initialized.major:251 [ 1.103300] input: sunxi-keyboard as /devices/virtual/input/input0 [ 1.114370] clocksource: Switched to clocksource arch_sys_counter [ 1.318254] sun8iw20-pinctrl pio: initialized sunXi PIO driver [ 1.702527] thermal_sys: Registered thermal governor 'step_wise' [ 1.702533] thermal_sys: Registered thermal governor 'user_space' [ 1.706540] NET: Registered protocol family 2 [ 1.723233] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 1.723270] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 1.723294] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 1.723317] TCP: Hash tables configured (established 1024 bind 1024) [ 1.723436] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 1.723472] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 1.723692] NET: Registered protocol family 1 [ 1.741165] sun8iw20-pinctrl pio: pio supply vcc-pc not found, using dummy regulator [ 1.748180] spi spi0: spi0 supply spi not found, using dummy regulator [ 1.751767] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE [ 1.751839] sunxi_spi_resource_get()2189 - Failed to get sample mode [ 1.751848] sunxi_spi_resource_get()2194 - Failed to get sample delay [ 1.751858] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 [ 1.751936] sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 [ 1.768741] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base c8821000, irq 42 [ 1.803185] Initialise system trusted keyrings [ 1.803409] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 1.810574] fuse: init (API version 7.31) [ 1.852132] NET: Registered protocol family 38 [ 1.852159] Key type asymmetric registered [ 1.852168] Asymmetric key parser 'x509' registered [ 1.852266] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) [ 1.852277] io scheduler mq-deadline registered [ 1.852285] io scheduler kyber registered [ 1.852450] atomic64_test: passed [ 1.870472] [DISP]disp_module_init [ 1.877769] disp 5000000.disp: Adding to iommu group 0 [ 1.885143] [DISP] disp_init,line:2386: [ 1.885150] smooth display screen:0 type:1 mode:4 [ 1.906518] disp 5000000.disp: 5000000.disp supply vcc-lcd not found, using dummy regulator [ 1.913421] disp 5000000.disp: 5000000.disp supply vcc-pd not found, using dummy regulator [ 1.919172] display_fb_request,fb_id:0 [ 1.933011] disp_al_manager_apply ouput_type:1 [ 1.939540] wait for new fb take effect [ 1.939878] [DISP] lcd_clk_config,line:732: [ 1.939889] disp 0, clk: pll(306000000),clk(306000000),dclk(51000000) dsi_rate(306000000) [ 1.939889] clk real:pll(300000000),clk(300000000),dclk(50000000) dsi_rate(0) [ 1.940241] sun8iw20-pinctrl pio: pio supply vcc-pd not found, using dummy regulator [ 1.986071] Freeing logo buffer memory: 2400K [ 1.993387] [DISP]disp_module_init finish [ 2.004718] sunxi_sid_init()551 - insmod ok [ 2.021810] pwm-regulator: supplied by regulator-dummy [ 2.050524] sun8iw20-pinctrl pio: pio supply vcc-pg not found, using dummy regulator [ 2.051020] uart uart1: get regulator failed [ 2.051046] uart uart1: uart1 supply uart not found, using dummy regulator [ 2.061527] uart1: ttyS1 at MMIO 0x2500400 (irq = 34, base_baud = 1500000) is a SUNXI [ 2.075800] sun8iw20-pinctrl pio: pio supply vcc-pb not found, using dummy regulator [ 2.076176] uart uart3: get regulator failed [ 2.076200] uart uart3: uart3 supply uart not found, using dummy regulator [ 2.083380] uart3: ttyS3 at MMIO 0x2500c00 (irq = 35, base_baud = 1500000) is a SUNXI [ 2.083413] sw_console_setup()1784 - console setup baud 115200 parity n bits 8, flow n [ 3.048406] printk: console [ttyS3] enabled [ 3.068229] misc dump reg init [ 3.094500] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 [ 3.101762] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed [ 3.109152] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed [ 3.116649] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) [ 3.123196] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. [ 3.130185] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1) [ 3.137952] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1 [ 3.145838] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 [ 3.153959] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled [ 3.161719] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. [ 3.168510] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1) [ 3.176078] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=207 assert=0 [ 3.233573] libphy: Fixed MDIO Bus: probed [ 3.253240] sun8iw20-pinctrl pio: pio supply vcc-pe not found, using dummy regulator [ 3.262240] sunxi gmac driver's version: 1.0.0 [ 3.269339] gmac-power0: NULL [ 3.272678] gmac-power1: NULL [ 3.276033] gmac-power2: NULL [ 3.302118] Failed to alloc md5 [ 3.305741] eth0: Use random mac address [ 3.310531] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 3.317914] sunxi-ehci: EHCI SUNXI driver [ 3.322824] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 3.329824] sunxi-ohci: OHCI SUNXI driver [ 3.335065] usbcore: registered new interface driver uas [ 3.342200] usbcore: registered new interface driver usb-storage [ 3.349576] usbcore: registered new interface driver ums-alauda [ 3.356386] usbcore: registered new interface driver ums-cypress [ 3.363203] usbcore: registered new interface driver ums-datafab [ 3.370037] usbcore: registered new interface driver ums_eneub6250 [ 3.377054] usbcore: registered new interface driver ums-freecom [ 3.384486] usbcore: registered new interface driver ums-isd200 [ 3.391772] usbcore: registered new interface driver ums-jumpshot [ 3.398747] usbcore: registered new interface driver ums-karma [ 3.405384] usbcore: registered new interface driver ums-onetouch [ 3.419270] usbcore: registered new interface driver ums-realtek [ 3.426152] usbcore: registered new interface driver ums-sddr09 [ 3.432865] usbcore: registered new interface driver ums-sddr55 [ 3.443054] usbcore: registered new interface driver ums-usbat [ 3.464686] ts probe start [ 3.472107] input: 2009c00.rtp as /devices/platform/soc@3000000/2009c00.rtp/input/input1 [ 3.491574] ts probe success [ 3.492194] sunxi_gpadc_init,2137, success [ 3.500463] sunxi_gpadc_setup: get channel scan data failed [ 3.507116] input: sunxi-gpadc0 as /devices/virtual/input/input2 [ 3.525639] sunxi-rtc 7090000.rtc: errata__fix_alarm_day_reg_default_value(): ALARM0_DAY_REG=0, set it to 1 [ 3.566369] sunxi-rtc 7090000.rtc: registered as rtc0 [ 3.572166] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:00:07 UTC (7) [ 3.581132] sunxi-rtc 7090000.rtc: sunxi rtc probed [ 3.590425] i2c /dev entries driver [ 3.594662] IR NEC protocol handler initialized [ 3.599741] IR RC5(x/sz) protocol handler initialized [ 3.605921] sunxi_ir_startup: get ir protocol failed [ 3.605947] (NULL device *): deviceless supply not found, using dummy regulator [ 3.623406] Registered IR keymap rc_map_sunxi [ 3.632102] rc rc0: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0 [ 3.648011] input: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0/s_cir_rx [ 3.664838] random: fast init done [ 3.669466] usbcore: registered new interface driver uvcvideo [ 3.677358] USB Video Class driver (1.1.1) [ 3.681976] gspca_main: v2.14.0 registered [ 3.686593] sunxi cedar version 1.1 [ 3.690759] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 [ 3.697058] VE: sunxi_cedar_probe power-domain init!!! [ 3.702829] VE: install start!!! [ 3.702829] [ 3.708509] VE: cedar-ve the get irq is 43 [ 3.708509] [ 3.725670] VE: ve_debug_proc_info:(ptrval), data:(ptrval), lock:(ptrval) [ 3.725670] [ 3.734969] VE: install end!!! [ 3.734969] [ 3.740046] VE: sunxi_cedar_probe [ 3.760014] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 3.769311] Bluetooth: HCI UART driver ver 2.3 [ 3.774303] Bluetooth: HCI UART protocol H4 registered [ 3.780085] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 [ 3.787378] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 [ 3.793784] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 [ 3.800368] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! [ 3.800368] [ 3.809068] [XR_BT_LPM] bluesleep_probe: uart_index(1) [ 3.877164] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-05-24 16:10) [ 3.887297] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 [ 3.893525] sunxi-mmc 4020000.sdmmc: No vmmc regulator found [ 3.899938] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found [ 3.906529] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found [ 3.913001] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found [ 3.919570] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found [ 3.926144] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found [ 3.932694] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found [ 3.940657] sunxi-mmc 4020000.sdmmc: Got CD GPIO [ 3.946224] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail [ 3.956057] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.967270] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator [ 3.987458] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 4.012792] sunxi-mmc 4020000.sdmmc: detmode:gpio irq [ 4.032877] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-05-24 16:10) [ 4.043012] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 [ 4.049276] sunxi-mmc 4021000.sdmmc: No vmmc regulator found [ 4.055663] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found [ 4.062115] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found [ 4.068586] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found [ 4.075146] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found [ 4.081707] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found [ 4.088323] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found [ 4.094929] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed [ 4.115610] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 4.126834] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 4.147073] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 4.171393] sunxi-mmc 4021000.sdmmc: detmode:manually by software [ 4.182659] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 4.193383] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 4.200392] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 4.205287] usbcore: registered new interface driver usbhid [ 4.215335] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 4.218360] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 4.230078] usbhid: USB HID core driver [ 4.249681] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 4.259926] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 4.271070] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 4.282212] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 4.289140] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 4.327232] [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 [ 4.327232] [ 4.344473] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 [ 4.356081] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished [ 4.387737] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! [ 4.397584] [SNDCODEC][sunxi_card_init][583]:card init finished [ 4.415911] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok [ 4.468462] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input4 [ 4.495792] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished [ 4.515042] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch [ 4.522420] NET: Registered protocol family 10 [ 4.540178] Segment Routing with IPv6 [ 4.544477] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 4.592550] NET: Registered protocol family 17 [ 4.597596] NET: Registered protocol family 15 [ 4.606690] Bluetooth: RFCOMM TTY layer initialized [ 4.612229] Bluetooth: RFCOMM socket layer initialized [ 4.618112] Bluetooth: RFCOMM ver 1.11 [ 4.629562] Registering SWP/SWPB emulation handler [ 4.639324] Loading compiled-in X.509 certificates [ 5.028342] twi twi2: twi2 supply twi not found, using dummy regulator [ 5.056745] sunxi_i2c_probe()2266 - [i2c2] probe success [ 5.187495] get ehci0-controller wakeup-source is fail. [ 5.197188] sunxi ehci0-controller don't init wakeup source [ 5.203456] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0c86808, 0x:c88dd000, irq_no:3a [ 5.215486] [sunxi-ehci0]: Not init ehci0 [ 5.220505] get ohci0-controller wakeup-source is fail. [ 5.226531] sunxi ohci0-controller don't init wakeup source [ 5.232790] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0c86a98 [ 5.242512] [sunxi-ohci0]: Not init ohci0 [ 5.254773] get ehci1-controller wakeup-source is fail. [ 5.260769] sunxi ehci1-controller don't init wakeup source [ 5.267065] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0c86d28, 0x:c88e7000, irq_no:3c [ 5.286897] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator [ 5.300578] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller [ 5.307932] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 [ 5.317933] sunxi-ehci 4200000.ehci1-controller: irq 60, io mem 0x04200000 [ 5.354389] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 [ 5.362215] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device connect [ 5.390830] hub 1-0:1.0: USB hub found [ 5.395140] hub 1-0:1.0: 1 port detected [ 5.411967] get ohci1-controller wakeup-source is fail. [ 5.421750] sunxi ohci1-controller don't init wakeup source [ 5.428067] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0c86fb8 [ 5.445312] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator [ 5.465350] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller [ 5.476405] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 [ 5.486430] sunxi-ohci 4200400.ohci1-controller: irq 61, io mem 0x04200400 [ 5.570873] hub 2-0:1.0: USB hub found [ 5.578670] hub 2-0:1.0: 1 port detected [ 5.612704] sun8iw20-pinctrl pio: pin PB6 already requested by 2500c00.uart; cannot claim for pio:38 [ 5.623019] sun8iw20-pinctrl pio: pin-38 (pio:38) status -22 [ 5.629538] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device disconnect [ 5.634400] ERR: id gpio_request failed [ 5.638438] sunxi-ohci 4200400.ohci1-controller: ohci_irq: fullspeed or lowspeed device connect [ 5.648246] get ctp_power is fail, -22 [ 5.656785] get ctp_power_ldo_vol is fail, -22 [ 5.661797] sunxi_ctp_startup: ctp_power_io is invalid. [ 5.667839] get ctp_gesture_wakeup fail, no gesture wakeup [ 5.674013] gt9xxnew_ts 2-0014: 2-0014 supply ctp not found, using dummy regulator [ 5.850832] twi_stop()488 - [i2c2] i2c state(0x0) isn't idle(0xf8) [ 5.857763] sunxi_i2c_core_process()1632 - [i2c2] STOP failed! [ 5.864392] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0xff, dev addr: 0x14) [ 5.890824] twi_stop()488 - [i2c2] i2c state(0x0) isn't idle(0xf8) [ 5.897749] sunxi_i2c_core_process()1632 - [i2c2] STOP failed! [ 5.904369] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0xff, dev addr: 0x14) [ 5.930824] twi_stop()488 - [i2c2] i2c state(0x0) isn't idle(0xf8) [ 5.937750] sunxi_i2c_core_process()1632 - [i2c2] STOP failed! [ 5.944304] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0xff, dev addr: 0x14) [ 5.970824] twi_stop()488 - [i2c2] i2c state(0x0) isn't idle(0xf8) [ 5.977749] sunxi_i2c_core_process()1632 - [i2c2] STOP failed! [ 5.984303] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0xff, dev addr: 0x14) [ 6.010823] twi_stop()488 - [i2c2] i2c state(0x0) isn't idle(0xf8) [ 6.017749] sunxi_i2c_core_process()1632 - [i2c2] STOP failed! [ 6.024301] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0xff, dev addr: 0x14) [ 6.024366] usb 2-1: new low-speed USB device number 2 using sunxi-ohci [ 6.033680] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -70! Process reset. [ 6.204388] <<-GTP-ERROR->> GTP i2c test failed time 1. [ 6.251955] twi_stop()488 - [i2c2] i2c state(0x0) isn't idle(0xf8) [ 6.258880] sunxi_i2c_core_process()1632 - [i2c2] STOP failed! [ 6.265435] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0xff, dev addr: 0x14) [ 6.265510] usb 2-1: device descriptor read/64, error -62 [ 6.298823] twi_stop()488 - [i2c2] i2c state(0x0) isn't idle(0xf8) [ 6.305749] sunxi_i2c_core_process()1632 - [i2c2] STOP failed! [ 6.312303] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0xff, dev addr: 0x14) [ 6.339820] twi_stop()488 - [i2c2] i2c state(0x0) isn't idle(0xf8) [ 6.346746] sunxi_i2c_core_process()1632 - [i2c2] STOP failed! [ 6.353300] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0xff, dev addr: 0x14) [ 6.380823] twi_stop()488 - [i2c2] i2c state(0x0) isn't idle(0xf8) [ 6.387749] sunxi_i2c_core_process()1632 - [i2c2] STOP failed! [ 6.394303] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0xff, dev addr: 0x14) [ 6.420824] twi_stop()488 - [i2c2] i2c state(0x0) isn't idle(0xf8) [ 6.427750] sunxi_i2c_core_process()1632 - [i2c2] STOP failed! [ 6.434303] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0xff, dev addr: 0x14) [ 6.443685] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -70! Process reset. [ 6.604368] <<-GTP-ERROR->> GTP i2c test failed time 2. [ 6.614374] usb 2-1: device descriptor read/64, error -62 [ 6.651884] twi_stop()488 - [i2c2] i2c state(0x0) isn't idle(0xf8) [ 6.658810] sunxi_i2c_core_process()1632 - [i2c2] STOP failed! [ 6.665363] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0xff, dev addr: 0x14) [ 6.692825] twi_stop()488 - [i2c2] i2c state(0x0) isn't idle(0xf8) [ 6.699750] sunxi_i2c_core_process()1632 - [i2c2] STOP failed! [ 6.706304] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0xff, dev addr: 0x14) [ 6.733859] twi_stop()488 - [i2c2] i2c state(0x0) isn't idle(0xf8) [ 6.740785] sunxi_i2c_core_process()1632 - [i2c2] STOP failed! [ 6.747339] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0xff, dev addr: 0x14) [ 6.774825] twi_stop()488 - [i2c2] i2c state(0x0) isn't idle(0xf8) [ 6.781751] sunxi_i2c_core_process()1632 - [i2c2] STOP failed! [ 6.788305] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0xff, dev addr: 0x14) [ 6.815903] twi_stop()488 - [i2c2] i2c state(0x0) isn't idle(0xf8) [ 6.822828] sunxi_i2c_core_process()1632 - [i2c2] STOP failed! [ 6.829382] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0xff, dev addr: 0x14) [ 6.838762] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -70! Process reset. [ 6.954420] usb 2-1: new low-speed USB device number 3 using sunxi-ohci [ 7.004368] <<-GTP-ERROR->> GTP i2c test failed time 3. [ 7.051903] twi_stop()488 - [i2c2] i2c state(0x0) isn't idle(0xf8) [ 7.058828] sunxi_i2c_core_process()1632 - [i2c2] STOP failed! [ 7.065382] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0xff, dev addr: 0x14) [ 7.092824] twi_stop()488 - [i2c2] i2c state(0x0) isn't idle(0xf8) [ 7.099749] sunxi_i2c_core_process()1632 - [i2c2] STOP failed! [ 7.106302] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0xff, dev addr: 0x14) [ 7.134018] twi_stop()488 - [i2c2] i2c state(0x0) isn't idle(0xf8) [ 7.140943] sunxi_i2c_core_process()1632 - [i2c2] STOP failed! [ 7.147496] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0xff, dev addr: 0x14) [ 7.174370] usb 2-1: device descriptor read/64, error -62 [ 7.180489] twi_stop()488 - [i2c2] i2c state(0x0) isn't idle(0xf8) [ 7.180493] sunxi_i2c_core_process()1632 - [i2c2] STOP failed! [ 7.180515] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0xff, dev addr: 0x14) [ 7.220823] twi_stop()488 - [i2c2] i2c state(0x0) isn't idle(0xf8) [ 7.227748] sunxi_i2c_core_process()1632 - [i2c2] STOP failed! [ 7.234302] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0xff, dev addr: 0x14) [ 7.243682] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -70! Process reset. [ 7.404369] <<-GTP-ERROR->> GTP i2c test failed time 4. [ 7.452613] twi_stop()488 - [i2c2] i2c state(0x0) isn't idle(0xf8) [ 7.459539] sunxi_i2c_core_process()1632 - [i2c2] STOP failed! [ 7.466092] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0xff, dev addr: 0x14) [ 7.494039] twi_stop()488 - [i2c2] i2c state(0x0) isn't idle(0xf8) [ 7.500964] sunxi_i2c_core_process()1632 - [i2c2] STOP failed! [ 7.507518] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0xff, dev addr: 0x14) [ 7.514406] usb 2-1: device descriptor read/64, error -62 [ 7.542622] twi_stop()488 - [i2c2] i2c state(0x0) isn't idle(0xf8) [ 7.549547] sunxi_i2c_core_process()1632 - [i2c2] STOP failed! [ 7.556101] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0xff, dev addr: 0x14) [ 7.582823] twi_stop()488 - [i2c2] i2c state(0x0) isn't idle(0xf8) [ 7.589748] sunxi_i2c_core_process()1632 - [i2c2] STOP failed! [ 7.596301] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0xff, dev addr: 0x14) [ 7.622823] twi_stop()488 - [i2c2] i2c state(0x0) isn't idle(0xf8) [ 7.629748] sunxi_i2c_core_process()1632 - [i2c2] STOP failed! [ 7.636300] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0xff, dev addr: 0x14) [ 7.636384] usb usb2-port1: attempt power cycle [ 7.645678] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -70! Process reset. [ 7.804367] <<-GTP-ERROR->> GTP i2c test failed time 5. [ 7.834364] I2C communication ERROR! [ 7.834392] regulator-dummy: Underflow of regulator enable count [ 7.845389] gt9xxnew_ts: probe of 2-0014 failed with error -1 [ 7.872997] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 7.892488] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 7.900126] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 7.909846] clk: Not disabling unused clocks [ 7.914691] ALSA device list: [ 7.918022] #0: audiocodec [ 7.921264] alloc_fd: slot 0 not NULL! [ 7.925509] cfg80211: failed to load regulatory.db [ 7.931830] VFS: Cannot open root device "mmcblk0p5" or unknown-block(0,0): error -6 [ 7.940591] Please append a correct "root=" boot option; here are the available partitions: [ 7.950020] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 7.959287] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.4.61 #1 [ 7.965918] Hardware name: Generic DT based system [ 7.971309] [<c010e238>] (unwind_backtrace) from [<c010a844>] (show_stack+0x10/0x14) [ 7.979994] [<c010a844>] (show_stack) from [<c070b89c>] (dump_stack+0x7c/0x98) [ 7.988094] [<c070b89c>] (dump_stack) from [<c0119524>] (panic+0x104/0x3d8) [ 7.995902] [<c0119524>] (panic) from [<c0b01254>] (mount_block_root+0x244/0x33c) [ 8.004293] [<c0b01254>] (mount_block_root) from [<c0b01504>] (prepare_namespace+0x138/0x178) [ 8.013854] [<c0b01504>] (prepare_namespace) from [<c071f930>] (kernel_init+0x8/0x118) [ 8.022733] [<c071f930>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c) [ 8.031216] Exception stack(0xc6817fb0 to 0xc6817ff8) [ 8.036876] 7fa0: 00000000 00000000 00000000 00000000 [ 8.046043] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 8.055209] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 8.062629] CPU1: stopping [ 8.065661] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.4.61 #1 [ 8.072292] Hardware name: Generic DT based system [ 8.077667] [<c010e238>] (unwind_backtrace) from [<c010a844>] (show_stack+0x10/0x14) [ 8.086350] [<c010a844>] (show_stack) from [<c070b89c>] (dump_stack+0x7c/0x98) [ 8.094447] [<c070b89c>] (dump_stack) from [<c010c64c>] (handle_IPI+0xcc/0x168) [ 8.102645] [<c010c64c>] (handle_IPI) from [<c036c87c>] (gic_handle_irq+0x70/0x78) [ 8.111134] [<c036c87c>] (gic_handle_irq) from [<c01021cc>] (__irq_svc+0x6c/0xa8) [ 8.119518] Exception stack(0xc6841f80 to 0xc6841fc8) [ 8.125181] 1f80: 00000b54 c6ec4534 00000000 c0114b00 00000002 c0c03de8 ffffe000 c0c5efa2 [ 8.134349] 1fa0: c0c03e24 410fc075 00000000 00000000 c0c02d00 c6841fd0 c0107f40 c0107f30 [ 8.143513] 1fc0: 60000113 ffffffff [ 8.147426] [<c01021cc>] (__irq_svc) from [<c0107f30>] (arch_cpu_idle+0x1c/0x38) [ 8.155721] [<c0107f30>] (arch_cpu_idle) from [<c013dee0>] (do_idle+0xdc/0x12c) [ 8.163916] [<c013dee0>] (do_idle) from [<c013e1cc>] (cpu_startup_entry+0x18/0x1c) [ 8.172403] [<c013e1cc>] (cpu_startup_entry) from [<40102c2c>] (0x40102c2c) [ 8.180215] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
慢慢调试吧。
关于硬件
另外硬件部分有个问题,
如图在LCD屏幕背光电路中,使用了两颗1N5819二极管我使用的是SOD-323封装的S4
但是都会出现电压倒灌的问题,不知为啥,后来换了SS14封装的二极管就没问题开源
对于开源的话会在调试的差不多的时候,至少保证大部分功能没问题的时候放出。
-
回复: 一个补丁,让D1-H的SDK支持T113芯片
生成的镜像是可以刷到TF卡吗?
我这边报这个错误[19]HELLO! BOOT0 is starting! [22]BOOT0 commit : 88480af-dirty [25]set pll start [27]fix vccio detect value:0xc0 [34]periph0 has been enabled [37]set pll end [39][pmu]: bus read error [41]board init ok [43]ZQ value = 0x2f [45]get_pmu_exist() = -1 [47]ddr_efuse_type: 0xa [50]trefi:7.8ms [52][AUTO DEBUG] single rank and full DQ! [56]ddr_efuse_type: 0xa [58]trefi:7.8ms [61][AUTO DEBUG] rank 0 row = 13 [64][AUTO DEBUG] rank 0 bank = 8 [67][AUTO DEBUG] rank 0 page size = 2 KB [71]DRAM BOOT DRIVE INFO: V0.33 [74]DRAM CLK = 936 MHz [76]DRAM Type = 3 (2:DDR2,3:DDR3) [79]DRAMC read ODT off. [81]DRAM ODT value: 0x42. [84]ddr_efuse_type: 0xa [87]DRAM SIZE =128 M [89]dram_tpr4:0x0 [91]PLL_DDR_CTRL_REG:0xf8004d00 [94]DRAM_CLK_REG:0xc0000000 [96][TIMING DEBUG] MR2= 0x20 [104]DRAM simple test OK. [106]rtc standby flag is 0x0, super standby flag is 0x0 [112]dram size =128 [114]card no is 0 [116]sdcard 0 line count 4 [118][mmc]: mmc driver ver 2021-05-21 14:47 [128][mmc]: Wrong media type 0x0 [131][mmc]: ***Try SD card 0*** [140][mmc]: HSSDR52/SDR25 4 bit [143][mmc]: 50000000 Hz [145][mmc]: 29818 MB [147][mmc]: ***SD/MMC 0 init OK!!!*** [219]Loading boot-pkg Succeed(index=0). [223]Entry_name = u-boot [229]Entry_name = optee [233]Entry_name = dtb [236]mmc not para [237]Jump to second Boot. M/TC: OP-TEE version: 6aef7bb2-dirty (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Fri Jul 23 09:25:11 UTC 2021 arm U-Boot 2018.05-g24521d6-dirty (Sep 07 2022 - 16:07:39 +0800) Allwinner Technology [00.289]CPU: Allwinner Family [00.292]Model: sun8iw20 I2C: FDT ERROR:fdt_set_all_pin:[twi0]-->FDT_ERR_BADPATH FDT ERROR:fdt_set_all_pin:[twi1]-->FDT_ERR_BADPATH ready [00.314]optee version: major:3 minor:7 [00.317]DRAM: 128 MiB [00.320]Relocation Offset is: 04f01000 [00.340]secure enable bit: 0 [00.342]smc_tee_inform_fdt failed with: -65526[00.347]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.353]gic: sec monitor mode [00.356]flash init start [00.358]workmode = 17,storage type = 1 try card 2 set card number 2 get card number 2 [00.366][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 [00.372][mmc]: Is not Boot mode! [00.375][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.386][mmc]: ************Try SD card 2************ [00.392][mmc]: mmc 2 cmd timeout 100 status 100 [00.396][mmc]: smc 2 err, cmd 8, RTO [00.399][mmc]: mmc 2 close bus gating and reset [00.404][mmc]: mmc 2 cmd timeout 100 status 100 [00.408][mmc]: smc 2 err, cmd 55, RTO [00.412][mmc]: mmc 2 close bus gating and reset [00.416][mmc]: ************Try MMC card 2************ [00.425][mmc]: mmc 2 cmd timeout 100 status 100 [00.429][mmc]: smc 2 err, cmd 1, RTO [00.432][mmc]: mmc 2 close bus gating and reset [00.437][mmc]: Card did not respond to voltage select! [00.441][mmc]: ************SD/MMC 2 init error!************ [00.447][mmc]: mmc init product failed MMC init failed try emmc fail [00.453]sunxi-spinand: AW SPINand MTD Layer Version: 1.5 20200407 [00.459]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.9 20200306 [00.467]sunxi-spinand-phy: request spi0 gpio ok [00.471]sunxi-spinand-phy: request general tx dma channel ok! [00.476]sunxi-spinand-phy: request general rx dma channel ok! [00.482]sunxi-spinand-phy: set spic0 clk to 20 Mhz [00.486]sunxi-spinand-phy: init spic0 clk ok sspi->base_addr = 0x4025000, the SPI control register: [VER] 0x4025000 = 0x00010001, [GCR] 0x4025004 = 0x00000083, [TCR] 0x4025008 = 0x00000184 [ICR] 0x4025010 = 0x00000f00, [ISR] 0x4025014 = 0x00000032, [FCR] 0x4025018 = 0x00200020 [FSR] 0x402501c = 0x00000000, [WCR] 0x4025020 = 0x00000000, [CCR] 0x4025024 = 0x00000002 [SDC] 0x4025028 = 0x00002000, [BCR] 0x4025030 = 0x00000000, [TCR] 0x4025034 = 0x00000000 [BCC] 0x4025038 = 0x00000000, [DMA] 0x4025088 = 0x000000e5 [00.553]sunxi-spinand-phy: read id failed : -110 try nand fail initcall sequence 47f90548 failed at call 4300d5a1 (err=-1) ### ERROR ### Please RESET the board ###
-
回复: 一个补丁,让D1-H的SDK支持T113芯片
@yuzukitsuru 在 一个补丁,让D1-H的SDK支持T113芯片 中说:
@ftwtwzy 在 一个补丁,让D1-H的SDK支持T113芯片 中说:
刷到TF卡吗?
刷到TF卡请参考: 因为喜欢用ADB,因为不喜欢插拔TF卡,所以D1直接用PhoenixSuit烧录TF(SDNAND): https://bbs.aw-ol.com/topic/1002/share/1
要改一个数字
这个暂时先保留,不玩这么花,先看看启动的问题
ftwtwzy 发布的最新帖子
-
回复: MangoPi Dual T113 主线内核编译记录
@allwinnertech 在 MangoPi Dual T113 主线内核编译记录 中说:
@evler 在 MangoPi Dual T113 主线内核编译记录 中说:
sudo dd if=awboot.bin of=/dev/sdd bs=1024 seek=8
神奇,使用百问网的t113 pro开发板,不管改不改内核设备树里面的 uart接口,都是boot启动不了 内核,明天再排查排查
看看这个,希望能用到
https://whycan.com/t_9231.html -
回复: 和萌新一起制作基于T113-S3的 Snail Pi(蜗牛PI)
通过Evlers大佬的帖子:
https://bbs.aw-ol.com/topic/2338/mangopi-dual-t113-主线内核编译记录
成功移植了awboot
原版使用uart5,我使用uart3 ,需要修改一下代码:
当然除此之外还需要修改一下设备树,增加uart3的相关节点。 -
回复: 和萌新一起制作基于T113-S3的 Snail Pi(蜗牛PI)
@tsmax 在 和萌新一起制作基于T113-S3的 Snail Pi(蜗牛PI) 中说:
@ftwtwzy 这个貌似是 spi nor 识别不到分区,大佬怎么修改的
我这使用的是TF卡启动,所以不太清楚SPI nor怎么搞
-
回复: 和萌新一起制作基于T113-S3的 Snail Pi(蜗牛PI)
@lovexulu 在 和萌新一起制作基于T113-S3的 Snail Pi(蜗牛PI) 中说:
@ftwtwzy 将R3改为0R估计就不会有倒灌问题了。
我换成 B5819w/SL 的二极管就没问题
-
回复: 和萌新一起制作基于T113-S3的 Snail Pi(蜗牛PI)
板子焊完一直没有时间调试驱动,目前先把屏幕点亮了。另外原理图奉上a589b620-6361-47c4-a1c4-ae4480327eaf-Schematic_SnialPI_2_2022-10-21.pdf
(个人玩具谨慎使用)。