自制的V853板子,串口无法输入,求帮助。
-
-
板子:参考官方的V853板子画的,用的PMU,DDR,EMMC是和官网一致的,就是加了一些自己的外围芯片进去。
-
固件:源码编译出来的openwrt固件。dts中就做了一些简单的修改,修改后编译出来的固件可以在官网板子上跑起来。
-
问题:板子上电后,用tf卡升级固件,升级成功后接debug串口开机。然后我是设置了倒数3秒进入uboot的,但是倒数时按任何按键都没有反应,进不去uboot。 系统内核也可以启动,但是起来后也卡住不动了,串口输入没有任何反应。想问下大家有没有遇到过类似的情况。
log如下:
[58]HELLO! BOOT0 is starting! [61]BOOT0 commit : 2a3ec52022 [64]set pll start [65]periph0 has been enabled [68]set pll end [71]PMU: AXP21 [74]board init ok [75]DRAM use external ZQ!! [78]chip id check OK [80]DRAM_VCC set to 1500 mv [83]DRAM BOOT DRIVE INFO: V0.16 [86]DRAM CLK = 936 MHz [88]DRAM Type = 3 (2:DDR2,3:DDR3) [91]DRAMC ZQ value: 0x7b7bfb [94]DRAM ODT value: 0x42. [98]DRAM SIZE =512 M [100]dram_tpr4:0x0 [107]DRAM simple test OK. [109]rtc standby flag is 0x0, super standby flag is 0x0 [114]dram size =512 [117]audio:avcc calibration [120]card no is 2 [121]sdcard 2 line count 8 [124][mmc]: mmc driver ver 2021-12-27 10:07 [133][mmc]: Wrong media type 0x0, but host sdc2, try mmc first [139][mmc]: ***Try MMC card 2*** [154][mmc]: RMCA OK! [156][mmc]: bias 100 [158][mmc]: mmc 2 bias 100 [161][mmc]: MMC 5.1 [163][mmc]: HSSDR52/SDR25 8 bit [166][mmc]: 50000000 Hz [168][mmc]: 7400 MB [170][mmc]: ***SD/MMC 2 init OK!!!*** [223]Loading boot-pkg Succeed(index=0). [227]Entry_name = optee [230]Entry_name = u-boot [237]Entry_name = dtb [240]tunning data addr:0x430003e8 [243]Jump to second Boot. M/TC: OP-TEE version: 15ee1539b (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Tue Mar 29 06:48:41 UTC 2022 arm U-Boot 2018.05-00001-g1444403-dirty (Sep 06 2022 - 10:08:59 +0800) Allwinner Technology [00.417]CPU: Allwinner Family [00.420]Model: sun8iw21 I2C: ready [00.446]DRAM: 512 MiB [00.450]Relocation Offset is: 1ced0000 [00.474]secure enable bit: 0 E/TC:0 fdt_getprop_u32:343 prop trace_level not found [00.489]PMU: AXP21 [00.491]BMU: AXP21 FDT ERROR:fdt_get_regulator_name:get property handle twi-supply error:FDT_ERR_INTERNAL bias_name:pc_bias bias_vol:1800 bias_name:pi_bias bias_vol:1800 [00.515]CPU=900 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=24Mhz MBus=300Mhz [00.521]gic: sec monitor mode sunxi flash map init [00.525]flash init start [00.527]workmode = 0,storage type = 2 [00.531][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00 [00.536][mmc]: get sdc_type fail and use default host:tm4. [00.543][mmc]: SUNXI SDMMC Controller Version:0x50400 [00.571][mmc]: Best spd md: 2-HSDDR52/DDR50, freq: 2-50000000, Bus width: 8 [00.577]sunxi flash init ok [00.580]line:724 init_clocks [00.583]drv_disp_init request pwm success, pwm9:pwm9:0x2000c00. [00.597]drv_disp_init finish [00.601]Loading Environment from SUNXI_FLASH... OK [00.613]boot_gui_init:start [00.616]set disp.dev2_output_type fail. using defval=0 [00.620][ICN6202 TO LVDS] LINE:0146-->lcd_open_flow: [00.625][ICN6202 TO LVDS] LINE:0167-->lcd_power_on: [00.643]boot_gui_init:finish partno erro : can't find partition bootloader 54 bytes read in 0 ms [00.652]bmp_name=bootlogo.bmp size 38454 [00.656][ICN6202 TO LVDS] LINE:0575-->lcd_panel_init: [00.822][ICN6202 TO LVDS] LINE:0620-->lcd_panel_init:initialization:icn6202 init reg from mipi 38454 bytes read in 187 ms (200.2 KiB/s) [00.850]Item0 (Map) magic is bad [00.853]the secure storage item0 copy0 magic is bad [00.858]Item0 (Map) magic is bad [00.861]the secure storage item0 copy1 magic is bad [00.865]Item0 (Map) magic is bad [00.868]out of usb burn from boot: not need burn key root_partition is rootfs set root to /dev/mmcblk0p4 [00.878]update part info [00.880]update bootcmd [00.884]change working_fdt 0x5de8fe70 to 0x5de6fe70 [00.891][mmc]: delete mmc-hs400-1_8v from dtb [00.895][mmc]: delete mmc-hs200-1_8v from dtb [00.899][mmc]: get max-frequency ok 50000000 Hz disable nand error: FDT_ERR_BADPATH [00.912]The storage not support sample function [00.918]## error: update_fdt_dram_para : FDT_ERR_NOTFOUND [00.928]update dts Hit any key to stop autoboot: 3 [00.955][ICN6202 TO LVDS] LINE:0203-->lcd_bl_open: [00.962]LCD open finish 0 [04.053]no vendor_boot partition is found Android's image name: sun8i_arm [04.102]Starting kernel ... [04.105][mmc]: mmc exit start [04.123][mmc]: mmc 2 exit ok Uncompressing Linux...0229.749ms done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.191 (gray@PC) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05) ) #18 PREEMPT Fri Aug 12 15:51:32 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: sun8iw21 [ 0.000000] bootconsole [earlycon0] enabled [ 0.000000] ion_mem_reserve: err format for ion reserve list! [ 0.000000] disp reserve base 0x5df1a000 ,size 0x3e8000 [ 0.000000] Reserved memory: created DMA memory pool at 0x47000000, size 0 MiB [ 0.000000] OF: reserved mem: initialized node vdev0buffer@47000000, compatible id shared-dma-pool [ 0.000000] Memory policy: Data cache writeback [ 0.000000] On node 0 totalpages: 129920 [ 0.000000] free_area_init_node: node 0, pgdat c0b5d4d4, node_mem_map dfbf8000 [ 0.000000] Normal zone: 1024 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 129920 pages, LIFO batch:31 [ 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] CPU: All CPU(s) started in SVC mode. [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 128896 [ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p4 rootwait init=/init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:boot@mmcblk0p3:rootfs@mmcblk0p4:rootfs_data@mmcblk0p5:recovery@mmcblk0p6:dtb@mmcblk0p7:UDISK@mmcblk0p8 cma= mac_addr= wifi_mac= bt_mac= selinux= specialstr= coherent_pool=32K ion_carveout_list= androidboot.mode=normal androidboot.hardware=sun8iw21p1 boot_type=2 androidboot.boot_type=2 gpt=1 uboot_message=2018.05-00001-g1444403-dirty(09/06/2022-10:08:59) mbr_offset=1032192 disp_reserve=4096000,0x5df1a000 bootreason=usb androidboot.dramsize=512 [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 498684K/519680K available (6144K kernel code, 377K rwdata, 2268K rodata, 1024K init, 182K bss, 20996K reserved, 0K cma-reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0700000 (7136 kB) [ 0.000000] .init : 0xc0a00000 - 0xc0b00000 (1024 kB) [ 0.000000] .data : 0xc0b00000 - 0xc0b5e5d0 ( 378 kB) [ 0.000000] .bss : 0xc0b5e5d0 - 0xc0b8be68 ( 183 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000000] arm_arch_timer: Architected 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.008104] Switching to timer-based delay loop, resolution 41ns [ 0.014436] Console: colour dummy device 80x30 [ 0.018988] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.029439] pid_max: default: 32768 minimum: 301 [ 0.034335] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.041058] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.048735] CPU: Testing write buffer coherency: ok [ 0.054299] Setting up static identity map for 0x40100000 - 0x40100058 [ 0.062439] devtmpfs: initialized [ 0.100560] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.108906] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.119068] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.125419] atomic64_test: passed [ 0.128820] pinctrl core: initialized pinctrl subsystem [ 0.135716] NET: Registered protocol family 16 [ 0.140887] DMA: preallocated 32 KiB pool for atomic coherent allocations [ 0.149971] dump_class_init,857, success [ 0.177995] cpuidle: using governor menu [ 0.183218] platform 2010000.iommu: iova_base: 0x48400000 [ 0.189490] sunxi iommu: irq = 22 [ 0.212605] sun8iw21p1-pinctrl pio: initialized sunXi PIO driver [ 0.220618] sunxi hwspinlock vbase:0xe0824000 [ 0.226955] iommu: Adding device npu to group 0 [ 0.232810] iommu: Adding device 1c0e000.ve to group 0 [ 0.246733] iommu: Adding device 5410000.g2d to group 0 [ 0.253343] iommu: Adding device 5000000.disp to group 0 [ 0.264736] iommu: Adding device 5908000.tdm to group 0 [ 0.270961] iommu: Adding device 5900000.isp to group 0 [ 0.277136] iommu: Adding device 58ffffc.isp to group 0 [ 0.283270] iommu: Adding device 58ffff8.isp to group 0 [ 0.289420] iommu: Adding device 58ffff4.isp to group 0 [ 0.295321] iommu: Adding device 5800800.vind:isp@4 to group 0 [ 0.302007] iommu: Adding device 5910000.scaler to group 0 [ 0.308179] iommu: Adding device 590fffc.scaler to group 0 [ 0.314309] iommu: Adding device 590fff8.scaler to group 0 [ 0.320431] iommu: Adding device 590fff4.scaler to group 0 [ 0.326773] iommu: Adding device 5910400.scaler to group 0 [ 0.332938] iommu: Adding device 59103fc.scaler to group 0 [ 0.339072] iommu: Adding device 59103f8.scaler to group 0 [ 0.345224] iommu: Adding device 59103f4.scaler to group 0 [ 0.351577] iommu: Adding device 5910800.scaler to group 0 [ 0.357735] iommu: Adding device 59107fc.scaler to group 0 [ 0.363843] iommu: Adding device 59107f8.scaler to group 0 [ 0.370001] iommu: Adding device 59107f4.scaler to group 0 [ 0.376355] iommu: Adding device 5910c00.scaler to group 0 [ 0.382509] iommu: Adding device 5910bfc.scaler to group 0 [ 0.388642] iommu: Adding device 5910bf8.scaler to group 0 [ 0.394838] iommu: Adding device 5910bf4.scaler to group 0 [ 0.443643] pwm module init! [ 0.453013] sunxi-pm debug v3.10 [ 0.458485] SCSI subsystem initialized [ 0.463793] usbcore: registered new interface driver usbfs [ 0.469897] usbcore: registered new interface driver hub [ 0.475781] usbcore: registered new device driver usb [ 0.481373] sunxi_i2c_adap_init()2754 - init [ 0.486642] sunxi_i2c_probe()2449 - [i2c4] twi_drv_used = 0 [ 0.492328] sunxi_i2c_probe()2456 - [i2c4] twi_pkt_interval = 0 [ 0.498572] twi_regulator_request()653 - [i2c4] regulator not found(isn't configured in dts)! [ 0.507190] twi_request_gpio()469 - [i2c4] init name: (null) [ 0.513993] axp20x-i2c 4-0034: AXP20x variant AXP2101 found [ 0.535460] random: fast init done [ 0.552341] axp20x-i2c 4-0034: AXP20X driver loaded [ 0.559505] media: Linux media interface: v0.10 [ 0.564467] Linux video capture interface: v2.00 [ 0.571821] ion_parse_dt_heap_common: id 0 type 0 name sys_user align 1000 [ 0.579787] ion_parse_dt_heap_common: id 4 type 4 name cma align 1000 [ 0.587245] Advanced Linux Sound Architecture Driver Initialized. [ 0.594781] Bluetooth: Core ver 2.22 [ 0.598846] NET: Registered protocol family 31 [ 0.603401] Bluetooth: HCI device and connection manager initialized [ 0.610005] Bluetooth: HCI socket layer initialized [ 0.614978] Bluetooth: L2CAP socket layer initialized [ 0.620282] Bluetooth: SCO socket layer initialized [ 0.627563] G2D: rcq version initialized.major:251 [ 0.634575] clocksource: Switched to clocksource arch_sys_counter [ 0.666448] sunxi udc is no enable [ 0.671008] udc_init,0 [ 0.675006] thermal thermal_zone1: power_allocator: sustainable_power will be estimated [ 0.683716] thermal thermal_zone2: power_allocator: sustainable_power will be estimated [ 0.692211] NET: Registered protocol family 2 [ 0.724730] TCP established hash table entries: 16 (order: -6, 64 bytes) [ 0.731561] TCP bind hash table entries: 16 (order: -6, 64 bytes) [ 0.737771] TCP: Hash tables configured (established 16 bind 16) [ 0.743938] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.749935] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.756532] NET: Registered protocol family 1 [ 0.764679] workingset: timestamp_bits=29 max_order=17 bucket_order=0 [ 0.787369] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.798134] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) [ 0.806170] io scheduler noop registered [ 0.810212] io scheduler deadline registered [ 0.815113] io scheduler cfq registered (default) [ 0.821532] [DISP]disp_module_init [ 0.826606] [DISP] disp_init,line:2340: [ 0.830287] smooth display screen:0 type:1 mode:4 [ 0.836189] lcd 0, driver_name , panel_name default_lcd [ 0.841623] lcd 0, driver_name , panel_name he0801a068 [ 0.847114] lcd 0, driver_name , panel_name inet_dsi_panel [ 0.852801] lcd 0, driver_name , panel_name lq101r1sx03 [ 0.858272] lcd 0, driver_name , panel_name WilliamLcd [ 0.863604] lcd 0, driver_name , panel_name bp101wx1 [ 0.868782] lcd 0, driver_name , panel_name k101im2qa04 [ 0.874190] lcd 0, driver_name , panel_name t050k589 [ 0.879390] lcd 0, driver_name , panel_name kd080d24 [ 0.884538] lcd 0, driver_name , panel_name icn6202 [ 0.889631] lcd 0, driver_name , panel_name super_lcd_driver [ 0.895613] display_fb_request,fb_id:0 [ 0.899489] [DISP] display_fb_request,line:2196: [ 0.903943] invalid paras xres(0), yres(0) bpp(32) [ 0.909726] [DISP] de_fcm_set_para,line:491: [ 0.913838] fcm lut 0 not find, auto retry after init [ 0.919933] [DISP]disp_module_init finish [ 0.927667] [DISP] de_fcm_set_para,line:491: [ 0.932343] fcm lut 0 not find, auto retry after init [ 0.938712] [DISP] de_fcm_set_para,line:491: [ 0.942848] fcm lut 0 not find, auto retry after init [ 0.951074] uart0: ttyS0 at MMIO 0x2500000 (irq = 289, base_baud = 1500000) is a SUNXI [ 0.951096] sw_console_setup()2050 - console setup baud 115200 parity n bits 8, flow n [ 0.967531] console [ttyS0] enabled [ 0.967531] console [ttyS0] enabled [ 0.975103] [DISP] lcd_clk_config,line:702: [ 0.975103] [DISP] lcd_clk_config,line:702: [ 0.975104] disp 0, clk: pll(0),clk(0),dclk(0) dsi_rate(0) [ 0.975104] clk real:pll(297000000),clk(420000000),dclk(70000000) dsi_rate(0) [ 0.975104] disp 0, clk: pll(0),clk(0),dclk(0) dsi_rate(0) [ 0.975104] clk real:pll(297000000),clk(420000000),dclk(70000000) dsi_rate(0) [ 1.012092] bootconsole [earlycon0] disabled [ 1.012092] bootconsole [earlycon0] disabled [ 1.022738] uart3: ttyS3 at MMIO 0x2500c00 (irq = 290, base_baud = 1500000) is a SUNXI [ 1.033000] misc dump reg init [ 1.037354] npu[1][1] vipcore, platform driver device=0xdf5ee410 [ 1.044152] npu[1][1] vipcore irq number is 291. [ 1.049514] gckvip_drv_adjust_param 232 SUCCESS [ 1.054717] Want set pclk rate(504000000) support(504000000) real(504000000) [ 1.062669] Want set mclk rate(504000000) support(504000000) real(504000000) [ 1.070671] npu[1][1] This device support 64bits DMA [ 1.076733] npu[1][1] core_0, request irqline=291, name=vipcore_0 [ 1.083626] npu[1][1] =======vipcore parameter===== [ 1.089305] npu[1][1] registerMemBase 0x03050000, [ 1.095116] npu[1][1] registerMemSize 0x00020000, [ 1.100868] npu[1][1] irqLine 0x00000123, [ 1.106652] npu[1][1] contiguousSize 0x02000000 [ 1.112211] npu[1][1] contiguousBase 0x30000000 [ 1.117835] npu[1][1] vipContiguousBase 0x0 [ 1.122714] npu[1][1] drvType 0x00000000 [ 1.128303] npu[1][1] AXISramSize 0x00000000 [ 1.133862] npu[1][1] AXISramBaseAddress 0x00000000 [ 1.139447] npu[1][1] VIPSramSize 0x00020000 [ 1.145019] npu[1][1] VIPSramBaseAddress 0x00400000 [ 1.150580] npu[1][1] sysHeapSize 0x00200000 [ 1.156147] npu[1][1] =============================== [ 1.161883] npu[1][1] VIPLite driver version 1.8.0.0-AW-2022-04-21 [ 1.169903] sun8iw21p1-pinctrl pio: expect_func as:fanout0, but muxsel(3) is func:clk [ 1.178986] sunxi-wlan soc@03000000:wlan@0: wlan_busnum (1) [ 1.185300] sunxi-wlan soc@03000000:wlan@0: wlan power voltage (3300000) [ 1.192808] sunxi-wlan soc@03000000:wlan@0: wlan io voltage (3300000) [ 1.200065] sunxi-wlan soc@03000000:wlan@0: wlan_power_num (1) [ 1.206674] sunxi-wlan soc@03000000:wlan@0: wlan_power_name (axp2101-dcdc1) [ 1.214476] sunxi-wlan soc@03000000:wlan@0: io_regulator_name (axp2101-dcdc1) [ 1.222541] sunxi-wlan soc@03000000:wlan@0: wlan_regon gpio=239 mul-sel=1 pull=1 drv_level=2 data=0 [ 1.233133] sunxi-wlan soc@03000000:wlan@0: get gpio chip_en failed [ 1.240193] sunxi-wlan soc@03000000:wlan@0: wlan_hostwake gpio=199 mul-sel=14 pull=1 drv_level=2 data=0 [ 1.251223] sunxi-wlan soc@03000000:wlan@0: clk_name () [ 1.258543] libphy: Fixed MDIO Bus: probed [ 1.263897] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.271626] get ehci0-controller, regulator_io is no nocare [ 1.277940] get ehci0-controller wakeup-source is fail. [ 1.283791] sunxi ehci0-controller is no enable [ 1.288985] sunxi-ehci 4101000.ehci0-controller: init_sunxi_hci is fail [ 1.296458] sunxi-ehci: probe of 4101000.ehci0-controller failed with error -1 [ 1.304965] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.312239] get ohci0-controller, regulator_io is no nocare [ 1.318646] get ohci0-controller wakeup-source is fail. [ 1.324498] sunxi ohci0-controller is no enable [ 1.329624] sunxi-ohci 4101000.ohci0-controller: init_sunxi_hci is fail [ 1.337091] sunxi-ohci: probe of 4101000.ohci0-controller failed with error -1 [ 1.345748] usbcore: registered new interface driver uas [ 1.352043] usbcore: registered new interface driver usb-storage [ 1.358992] usbcore: registered new interface driver ums-alauda [ 1.365906] usbcore: registered new interface driver ums-cypress [ 1.372871] usbcore: registered new interface driver ums-datafab [ 1.379864] usbcore: registered new interface driver ums_eneub6250 [ 1.387107] usbcore: registered new interface driver ums-freecom [ 1.394095] usbcore: registered new interface driver ums-isd200 [ 1.400941] usbcore: registered new interface driver ums-jumpshot [ 1.408042] usbcore: registered new interface driver ums-karma [ 1.414901] usbcore: registered new interface driver ums-onetouch [ 1.421989] usbcore: registered new interface driver ums-realtek [ 1.428946] usbcore: registered new interface driver ums-sddr09 [ 1.435863] usbcore: registered new interface driver ums-sddr55 [ 1.442742] usbcore: registered new interface driver ums-usbat [ 1.449504] usb_serial_number:20080411 [ 1.454121] get ctp_power is fail, -22 [ 1.458604] get ctp_power_ldo_vol is fail, -22 [ 1.463582] sunxi_ctp_startup: ctp_power_io is invalid. [ 1.469558] fw_index:22 [ 1.510946] sunxi_i2c_do_xfer()1974 - [i2c4] incomplete xfer (status: 0x20, dev addr: 0x40) [ 1.527021] input: axp2101-pek as /devices/platform/soc/twi4/i2c-4/4-0034/axp2101-pek.0/input/input0 [ 1.538497] sunxi_gpadc_init,1949, success [ 1.543443] sunxi_gpadc_setup: get channel scan data failed [ 1.551148] input: sunxi-gpadc0 as /devices/virtual/input/input1 [ 1.560069] sunxi-rtc rtc: rtc core: registered sunxi-rtc as rtc0 [ 1.567266] sunxi-rtc rtc: RTC enabled [ 1.571538] fix to cold boot, save boot reason [ 1.577014] i2c /dev entries driver [ 1.581524] sunxi cedar version 0.1 [ 1.586037] VE: install start!!! [ 1.586037] [ 1.591407] VE: cedar-ve the get irq is 292 [ 1.596320] VE: regs_csi = e086b000 [ 1.600813] VE: ve_debug_proc_info:c0b83888, data:df63c000, lock:c0b83910, flag: 1 [ 1.600813] [ 1.611208] VE: install end!!! [ 1.611208] [ 1.616758] google_vp9: sunxi google vp9 version 0.1 [ 1.626685] axp2101_charger: read chipid = 4a [ 1.626685] [ 1.640676] thermal thermal_zone3: power_allocator: sustainable_power will be estimated [ 1.672086] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 1.681741] Bluetooth: HCI UART driver ver 2.2.d448471.20181218-163903 [ 1.689487] Bluetooth: HCI UART protocol H4 registered [ 1.695871] Bluetooth: HCI H4 protocol initialized [ 1.701979] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 01.00.07 [ 1.710873] axp2101_charger: the gauge have been reset, need to reload param [ 1.710873] [ 1.720655] bt_fdi debugfs_init [ 1.724345] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 900000 KHz [ 1.764632] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 912000 KHz [ 1.805185] cpuidle: enable-method property 'psci' found operations [ 1.814281] sunxi-mmc sdc2: SD/MMC/SDIO Host Controller Driver(v3.59 2022-4-21 13:40) [ 1.823440] sunxi-mmc sdc2: ***ctl-spec-caps*** 308 [ 1.829804] sunxi-mmc sdc2: No vdmmc regulator found [ 1.835502] sunxi-mmc sdc2: No vd33sw regulator found [ 1.841172] sunxi-mmc sdc2: No vd18sw regulator found [ 1.846936] sunxi-mmc sdc2: No vq33sw regulator found [ 1.852605] sunxi-mmc sdc2: No vq18sw regulator found [ 1.858715] sunxi-mmc sdc2: set host busy [ 1.863280] mmc:failed to get gpios [ 1.867545] sunxi-mmc sdc2: sdc set ios:clk 0Hz bm PP pm UP vdd 22 width 1 timing LEGACY(SDR12) dt B [ 1.904625] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B [ 1.944633] sunxi-mmc sdc2: detmode:alway in(non removable) [ 1.944654] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B [ 1.953010] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B [ 1.954074] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B [ 1.964910] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B [ 1.964975] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B [ 1.977794] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B [ 2.023073] usbcore: registered new interface driver usbhid [ 2.029602] usbhid: USB HID core driver [ 2.037316] Netfilter messages via NETLINK v0.30. [ 2.043438] nf_conntrack version 0.5.0 (8192 buckets, 32768 max) [ 2.050503] ctnetlink v0.93: registering with nfnetlink. [ 2.057014] ip_tables: (C) 2000-2006 Netfilter Core Team [ 2.064051] NET: Registered protocol family 10 [ 2.070508] NET: Registered protocol family 17 [ 2.075776] NET: Registered protocol family 15 [ 2.080873] Bluetooth: RFCOMM TTY layer initialized [ 2.086550] Bluetooth: RFCOMM socket layer initialized [ 2.092361] Bluetooth: RFCOMM ver 1.11 [ 2.097713] Registering SWP/SWPB emulation handler [ 2.110549] sunxi-rtc rtc: setting system clock to 1970-01-01 00:00:06 UTC (6) [ 2.119901] clk: Not disabling unused clocks [ 2.124818] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B [ 2.135973] usb-vbus: disabling [ 2.139811] axp2101-dcdc2: disabling [ 2.144502] axp2101-rtcldo1: disabling [ 2.149064] axp2101-aldo2: disabling [ 2.154002] axp2101-aldo3: disabling [ 2.158075] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing MMC-HS(SDR20) dt B [ 2.168961] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 22 width 1 timing MMC-HS(SDR20) dt B [ 2.180125] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 22 width 8 timing MMC-HS(SDR20) dt B [ 2.191552] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 22 width 8 timing MMC-DDR52 dt B [ 2.202828] mmc0: new DDR MMC card at address 0001 [ 2.209397] mmcblk0: mmc0:0001 AT2S38 7.23 GiB [ 2.209682] mmcblk0boot0: mmc0:0001 AT2S38 partition 1 4.00 MiB [ 2.215106] mmcblk0boot1: mmc0:0001 AT2S38 partition 2 4.00 MiB [ 2.228696] mmcblk0rpmb: mmc0:0001 AT2S38 partition 3 4.00 MiB [ 2.237271] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 [ 2.242414] axp2101-aldo4: disabling [ 2.252132] axp2101-bldo2: disabling [ 2.264240] axp2101-dldo2: disabling [ 2.270079] axp2101-cpusldo: disabling [ 2.274859] ALSA device list: [ 2.278190] No soundcards found. [ 2.285939] VFS: Mounted root (squashfs filesystem) readonly on device 179:4. [ 2.296172] devtmpfs: mounted [ 2.301213] Freeing unused kernel memory: 1024K [ 2.306453] will run init ... mount: mounting none on /dev failed: Resource busy [ 2.914440] EXT4-fs: Warning: mounting with data=journal disables delayed allocation and O_DIRECT support! [ 2.928934] EXT4-fs (mmcblk0p8): mounted filesystem with journalled data mode. Opts: data=journal Cannot parse config file '/etc/fw_env.config': No such file or directory starting pid 784, tty '': '/etc/preinit' can't run '/etc/preinit': No such file or directory starting pid 785, tty '': '/bin/mount -t proc proc /proc' mount: mounting proc on /proc failed: Resource busy starting pid 786, tty '': '/bin/mount -t tmpfs tmpfs /run' starting pid 787, tty '': '/bin/mount -o remount,rw /' starting pid 788, tty '': '/bin/mkdir -p /dev/pts' starting pid 789, tty '': '/bin/mkdir -p /dev/shm' starting pid 790, tty '': '/bin/mount -a' starting pid 791, tty '': '/bin/hostname -F /etc/hostname' hostname: can't open '/etc/hostname': No such file or directory starting pid 792, tty '': '/etc/init.d/rcS boot' ------run rc.preboot file----- mke2fs 1.45.6 (20-Mar-2020) /dev/mmcblk0p8 is mounted; will not make a filesystem here! ------run rc.modules file----- [ 3.217343] ======== XRADIO WIFI OPEN ======== [ 3.222344] [XRADIO] Driver Label:XR_V02.16.91 _HT40_01.33 Jul 22 2022 10:28:12 [ 3.231116] [XRADIO] Allocated hw_priv @ df664c80 [ 3.236623] [XRADIO_ERR] Access_file failed, path:/data/misc/wifi/xr_wifi.conf! [ 3.245626] sunxi-wlan soc@03000000:wlan@0: bus_index: 1 [ 3.252918] sunxi-wlan soc@03000000:wlan@0: check wlan wlan_power voltage: 3300000 [ 3.262850] sunxi-wlan soc@03000000:wlan@0: check wlan io_regulator voltage: 3300000 [ 3.381650] sunxi_hosts[1] should not be null [ 3.386353] [XRADIO] Detect SDIO card 1 [ 5.555404] sunxi_hosts[1] should not be null [ 5.560099] [XRADIO] Remove SDIO card 1 [ 5.574614] [SBUS_ERR] sdio probe timeout! [ 5.579206] [XRADIO_ERR] sbus_sdio_init failed [ 5.585256] ======== XRADIO WIFI OPEN ======== [ 5.590252] [XRADIO] Driver Label:XR_V02.16.91 _HT40_01.33 Jul 22 2022 10:28:12 [ 5.598857] [XRADIO] Allocated hw_priv @ defacc80 [ 5.604175] [XRADIO_ERR] Access_file failed, path:/data/misc/wifi/xr_wifi.conf! [ 5.613123] sunxi-wlan soc@03000000:wlan@0: bus_index: 1 [ 5.620528] sunxi-wlan soc@03000000:wlan@0: check wlan wlan_power voltage: 3300000 [ 5.630479] sunxi-wlan soc@03000000:wlan@0: check wlan io_regulator voltage: 3300000 [ 5.749287] sunxi_hosts[1] should not be null [ 5.753981] [XRADIO] Detect SDIO card 1 [ 7.875419] sunxi_hosts[1] should not be null [ 7.880114] [XRADIO] Remove SDIO card 1 [ 7.894617] [SBUS_ERR] sdio probe timeout! [ 7.899210] [XRADIO_ERR] sbus_sdio_init failed insmod: can't insert '/lib/modules/4.9.191/xradio_wlan.ko': Operation timed out ------run rc.final file----- Load mpp modules insmod: can't insert '/lib/modules/4.9.191/sunxi_aio.ko': No such file or directory insmod: can't insert '/lib/modules/4.9.191/sunxi_eise.ko': No such file or directory Starting logging: start-stop-daemon: unrecognized option: exec start-stop-daemon: unrecognized option: exec OK Starting audio: Failed to open mixer Failed to open mixer Failed to open mixer Successfully play boot music mkdir: can't create directory '/dev/pts': File exists mkdir: can't create directory '/dev/shm': File exists Initializing random number generator... failed to open for pcm 0,0 [ 8.184488] random: dd: uninitialized urandom read (512 bytes read) done. Starting network: Failed to connect to ubus /sbin/ifup: line 43: /sbin/wifi: not found FAIL ifconfig: invalid hw-addr 00: udhcpc: SIOCGIFINDEX: No such device Starting telnetd: OK enable android usb insmod: can't insert '/lib/modules/4.9.191/sunxi_usb_udc.ko': No such file or directory insmod: can't insert '/lib/modules/4.9.191/sunxi_usbc.ko': No such file or directory [ 8.563962] random: dbus-uuidgen: uninitialized urandom read (12 bytes read) [ 8.581147] random: dbus-uuidgen: uninitialized urandom read (8 bytes read) service: file '/usr/sbin/dbus-daemon' is not executable [ 8.632333] file system registered sh: write error: No such device Starting wifi_daemon....: [ 8.683470] read descriptors [ 8.694827] read strings 1970-01-01 00:00:13:163: WMG_INFO [wifi_daemon.c:main:817]: debug log level is: 3 1970-01-01 00:00:13:163: WMG_INFO [wifi_daemon.c:main:819]: now set to debug level: 6 [ACT D][ring_buff_init,27]enter [ACT D][ring_buff_start,173]ring buffer start enter [ACT D][ring_buff_start,187]ring buffer start quit 1970-01-01 00:00:15:174: WMG_DEBUG [wifi_daemon.c:cmd_handle_thread:702]: get cmd: o sta 1970-01-01 00:00:15:174: WMG_DEBUG [wifi_daemon.c:cmd_handle_o:49]: cmd handle o: sta 1970-01-01 00:00:15:174: WMG_INFO [wifi_daemon.c:cmd_handle_o:51]: open sta mode 1970-01-01 00:00:15:174: WMG_INFO [src/wmg_sta.c:sta_mode_init:363]: sta mode init now 1970-01-01 00:00:15:174: WMG_INFO [src/os/linux/linux_wpa.c:linux_supplicant_init:1355]: linux supplicant init now 1970-01-01 00:00:15:174: WMG_INFO [src/wmg_ap.c:ap_mode_init:216]: ap mode init now 1970-01-01 00:00:15:174: WMG_INFO [[ 10.838876] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. src/os/linux/linux_hapd.c:linux_ap_hapd_init:754]: linux hostapd init now 1970-01-01 00:00:15:174: WMG_INFO [src/wmg_monitor.c:monitor_mode_init:206]: monitor mode init now 1970-01-01 00:00:15:174: WMG_INFO [src/os/linux/linux_nl.c:linux_monitor_nl_init:250]: linux monitor nl init now 1970-01-01 00:00:15:175: WMG_DEBUG [src/os/linux/linux_nl.c:linux_monitor_nl_init:255]: nl80211 init success 1970-01-01 00:00:15:175: WMG_DEBUG [src/wmg_common.c:wifimg_init:143]: wifi_manager initialize, version: 2.0.1 Copyright (c) 2019-2025 Allwinner Technology Co., Ltd. ALL rights reserved 1970-01-01 00:00:15:175: WMG_DEBUG [src/wmg_common.c:wifimg_switch_mode:256]: switch wifi mode from current_mode 'unknown' to new_mode 'station' 1970-01-01 00:00:15:175: WMG_DEBUG [src/wmg_common.c:wifimg_switch_mode:260]: switch_mode_bitmap:0x1 1970-01-01 00:00:15:175: WMG_DEBUG [src/wmg_common.c:wifimg_switch_mode:261]: current_mode_bitmap:0x0 1970-01-01 00:00:15:175: WMG_DEBUG [src/wmg_common.c:wifimg_switch_mode:264]: disable_mode_bitmap:0x0 1970-01-01 00:00:15:175: WMG_DEBUG [src/wmg_common.c:wifimg_switch_mode:294]: enable_mode_bitmap:0x1 1970-01-01 00:00:15:176: WMG_DUMP [src/wmg_sta.c:sta_mode_enable:412]: wifi station enabling... /etc/init.d/rcS: /etc/init.d/rc.final: line 36: powerkey_daemon: not found 1970-01-01 00:00:15:206: WMG_EXCESSIVE [src/os/linux/utils.c:check_process_is_exist:32]: hostapd not exist 1970-01-01 00:00:15:253: WMG_EXCESSIVE [src/os/linux/utils.c:check_process_is_exist:32]: wpa_supplicant not exist 1970-01-01 00:00:15:254: WMG_DEBUG [src/os/linux/linux_wpa.c:linux_connect_to_supplicant:1429]: wpa_supplicant is not running, need to start it starting pid 1002, tty '/dev/console': '-/bin/sh' BusyBox v1.33.2 (2022-07-08 07:13:49 UTC) built-in shell (ash) Trying to connect to SWUpdate... swu_param: #### swu_software: #### swu_mode: #### no swupdate_cmd to run, wait for next swupdate ------run profile file----- _____ _ __ _ |_ _||_| ___ _ _ | | |_| ___ _ _ _ _ | | _ | || | | |__ | || || | ||_'_| | | | || | || _ | |_____||_||_|_||___||_,_| |_| |_||_|_||_|_| Tina is Based on OpenWrt! ---------------------------------------------- Tina Linux (5.0, r0-7277fac) ---------------------------------------------- root@TinaLinux:/# [ 11.093091] random: wpa_supplicant: uninitialized urandom read (3 bytes read) [ 11.101375] random: wpa_supplicant: uninitialized urandom read (1024 bytes read) Successfully initialized wpa_supplicant Could not read interface wlan0 flags: No such device nl80211: Driver does not support authentication/association or connect commands nl80211: deinit ifname=wlan0 disabled_11b_rates=0 Could not read interface wlan0 flags: No such device wlan0: Failed to initialize driver interface 1970-01-01 00:00:16:282: WMG_EXCESSIVE [src/os/linux/utils.c:check_process_is_exist:29]: wpa_supplicant exist 1970-01-01 00:00:16:282: WMG_DEBUG [src/os/linux/linux_wpa.c:start_supplicant:359]: start wpa_supplicant times 1 success 1970-01-01 00:00:16:283: WMG_EXCESSIVE [src/os/linux/linux_wpa.c:linux_connect_to_supplicant:1436]: start wpa_supplicant success 1970-01-01 00:00:16:283: WMG_ERROR [src/os/linux/linux_wpa.c:linux_connect_to_supplicant:1445]: wpa_supplicant socket interface not exists 1970-01-01 00:00:16:283: WMG_ERROR [src/wmg_sta.c:sta_mode_enable:416]: failed to connect to wpa_supplicant 1970-01-01 00:00:16:283: WMG_DEBUG [src/wmg_common.c:wifimg_switch_mode:297]: wifi sta mode enable faile 1970-01-01 00:00:16:283: WMG_DEBUG [src/wmg_common.c:wifimg_switch_mode:320]: switch after current_mode_bitmap:0x0 1970-01-01 00:00:16:283: WMG_ERROR [src/wmg_common.c:wifimg_switch_mode:327]: switch mode faile 1970-01-01 00:00:16:283: WMG_ERROR [src/wifimg.c:__wifi_on:34]: failed to switch wifi mode 1970-01-01 00:00:16:283: WMG_ERROR [wifi_daemon.c:cmd_handle_o:58]: wifi on sta mode failed [ 12.391968] random: crng init done
看了log没有看出什么比较有用的信息,希望有大佬可以支支招,感谢。难道说还是硬件有问题?
-
-
@negro 能否看一下你在dts里面添加的内容,看启动log,好像是存在一些其他外设初始化,另外就是能否提供一下你烧录的这份固件,对比一下
-
@daizebin 哎呀,万分抱歉。真的是硬件问题。debug那边电路图封装弄错了导致debug接口出问题了。感谢回复
-
@negro 难怪,启动log里面提示你的一些设备初始化不成功,但不确定是不是这个引起的 :
-
@daizebin 是的,因为有一些硬件做了点小改动可能导致初始化不成功,我也为了排查问题disabled了一些不相关的节点,所以会有一些报错。
-
想看看你自己作的板子,可以拍给大家分享一下吗
-
@xiaowenge 不好意思哦,这个是公司做的,不是我个人做的。涉及到一些保密的东西,没办法放出来。
-
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号