@nlj_moon 如果提示的错误是缺少依赖库的话可以尝试在package/busybox-init-base-files/Makefile中添加
引号中改成你缺少的库名字就行
wjp2547532LV 6
@wjp2547532
Best posts made by wjp2547532
-
Reply: 请问下,T113-S3TinaLinux,如何新增文件到根文件系统中
-
t113 tina linux 内核开机logo不显示
打开内核logo模块
开机屏幕只有背光亮,没有任何图像,打印调试发现fb_prepare_logo(struct fb_info *info, int rotate)函数没有被调用,是我哪里弄错了还是有地方没有配置呢 -
T113-S3 CAN调试问题
https://bbs.aw-ol.com/topic/1926/t113-s3-can-linux-下已调通/12?_=1692855551540,按照帖子里的方法进行了修改,但是在执行“ifconfig can0 up”时提示
查了一下说是要先设置can速率,用“ip link set can0 up type can bitrate 125000”设置提示
应该是ip命令不支持,下载最新iproute2源码交叉编译,提示了一堆错误
这个应该怎么改呀;网上查了一下可以用另一种方式设置波特率:“echo 250000 > /sys/class/net/can0/can_bittiming/bitrate” ,然而发现我的这个路径下并没有这个文件。。。。。。。。。,
现在搞不懂究竟哪里有问题,有大佬了解么? -
Reply: t113 tina linux 内核开机logo不显示
开机log
root@TinaLinux:/# [29]HELLO! BOOT0 is starting! [32]BOOT0 commit : 88480af-dirty [35]set pll start [37]fix vccio detect value:0xc0 [44]periph0 has been enabled [47]set pll end [48][pmu]: bus read error [51]board init ok [53]ZQ value = 0x2f [55]get_pmu_exist() = -1 [57]DRAM BOOT DRIVE INFO: V0.33 [60]DRAM CLK = 936 MHz [62]DRAM Type = 3 (2:DDR2,3:DDR3) [65]DRAMC read ODT off. [68]DRAM ODT value: 0x42. [70]ddr_efuse_type: 0xa [73]DRAM SIZE =128 M [75]dram_tpr4:0x0 [77]PLL_DDR_CTRL_REG:0xf8004d00 [80]DRAM_CLK_REG:0xc0000000 [83][TIMING DEBUG] MR2= 0x20 [90]DRAM simple test OK. [92]rtc standby flag is 0x0, super standby flag is 0x0 [97]dram size =128 [100]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 32 [105]block from 8 to 32 [210]Check is correct. [212]dma 0x29c0c int is not used yet [215]dma 0x29c0c int is free, you do not need to free it again [221]Entry_name = u-boot [228]Entry_name = optee [231]Entry_name = dtb [234]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.07-ge987def-dirty (May 11 2023 - 16:21:04 +0800) Allwinner Technology [00.288]CPU: Allwinner Family [00.291]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.312]DRAM: 128 MiB [00.315]Relocation Offset is: 04ecf000 [00.339]secure enable bit: 0 [00.341]smc_tee_inform_fdt failed with: ffff000a [00.347]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.353]gic: sec monitor mode sunxi flash map init [00.358]flash init start [00.360]workmode = 0,storage type = 0 device nand0 <nand>, # parts = 4 #: name size offset mask_flags 0: boot0 0x00100000 0x00000000 1 1: uboot 0x00300000 0x00100000 1 2: secure_storage 0x00100000 0x00400000 1 3: sys 0x07b00000 0x00500000 0 active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000 defaults: mtdids : nand0=nand mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys) [00.477]ubi0: attaching mtd4 [00.584]ubi0: scanning is finished [00.590]ubi0: attached mtd4 (name "sys", size 123 MiB) [00.595]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes [00.601]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048 [00.607]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [00.613]ubi0: good PEBs: 491, bad PEBs: 1, corrupted PEBs: 0 [00.619]ubi0: user volume: 9, internal volumes: 1, max. volumes count: 128 [00.625]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0 [00.633]ubi0: available PEBs: 0, total reserved PEBs: 491, PEBs reserved for bad PEB handling: 19 [00.642]sunxi flash init ok [00.644]line:703 init_clocks [00.647]drv_disp_init fdt get node offset faill: hdmi [00.659]drv_disp_init finish [00.760]Loading Environment from SUNXI_FLASH... OK [00.782]Item0 (Map) magic is bad secure storage read widevine fail [00.787]secure storage read widevine fail with:-1 secure storage read ec_key fail [00.795]secure storage read ec_key fail with:-1 secure storage read ec_cert1 fail [00.802]secure storage read ec_cert1 fail with:-1 secure storage read ec_cert2 fail [00.809]secure storage read ec_cert2 fail with:-1 secure storage read ec_cert3 fail [00.817]secure storage read ec_cert3 fail with:-1 secure storage read rsa_key fail [00.824]secure storage read rsa_key fail with:-1 secure storage read rsa_cert1 fail [00.832]secure storage read rsa_cert1 fail with:-1 secure storage read rsa_cert2 fail [00.839]secure storage read rsa_cert2 fail with:-1 secure storage read rsa_cert3 fail [00.847]secure storage read rsa_cert3 fail with:-1 [00.852]out of usb burn from boot: not need burn key [00.867]update bootcmd [00.880]change working_fdt 0x43e8ee70 to 0x43e6ee70 [00.895]update dts Hit any key to stop autoboot: 0 [04.126]no vendor_boot partition is found Android's image name: t113-hdp1w [04.137]Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.4.61 (root@wjp) (arm-openwrt-linux-muslgnueabi-gcc.bin (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) 6.4.1, GNU ld (GNU Binutils) 2.27) #73 SMP PREEMPT Tue May 16 03:53:36 UTC 2023 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: sun8iw20 [ 0.000000] printk: bootconsole [earlycon0] enabled [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] cma: Reserved 8 MiB at 0x47800000 [ 0.000000] On node 0 totalpages: 32768 [ 0.000000] Normal zone: 256 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 32768 pages, LIFO batch:7 [ 0.000000] 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 s30348 r8192 d22900 u61440 [ 0.000000] pcpu-alloc: s30348 r8192 d22900 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: ubi.mtd=sys ubi.block=0,rootfs earlyprintk=sunxi-uart,0x02500C00 clk_ignore_unused initcall_debug=0 console=ttyS3,115200 loglevel=8 root=/dev/ubiblock0_5 rootfstype=squashfs init=/pseudo_init partitions=mbr@ubi0_0:boot-resource@ubi0_1:env@ubi0_2:env-redund@ubi0_3:boot@ubi0_4:rootfs@ubi0_5:rootfs_data@ubi0_6:user_data@ubi0_7:UDISK@ubi0_8: cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun8iw20p1 boot_type=5 androidboot.boot_type=5 gpt=1 uboot_message=2018.07-ge987def-dirty(05/11/2023-16:21:04) aw-ubi-spinand.ubootblks=24 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: 109620K/131072K available (6144K kernel code, 280K rwdata, 1584K rodata, 1024K init, 1166K bss, 13260K reserved, 8192K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] random: get_random_bytes called from start_kernel+0x264/0x3e8 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.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.008015] Switching to timer-based delay loop, resolution 41ns [ 0.014174] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.023876] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.034232] pid_max: default: 32768 minimum: 301 [ 0.038963] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.046287] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.054598] CPU: Testing write buffer coherency: ok [ 0.059811] /cpus/cpu@0 missing clock-frequency property [ 0.065136] /cpus/cpu@1 missing clock-frequency property [ 0.070465] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.076609] Setting up static identity map for 0x40100000 - 0x40100060 [ 0.083270] rcu: Hierarchical SRCU implementation. [ 0.088481] smp: Bringing up secondary CPUs ... [ 0.094093] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.094208] smp: Brought up 1 node, 2 CPUs [ 0.104003] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.110181] CPU: All CPU(s) started in SVC mode. [ 0.115240] devtmpfs: initialized [ 0.129613] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.137707] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.147576] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.154801] pinctrl core: initialized pinctrl subsystem [ 0.161210] NET: Registered protocol family 16 [ 0.167054] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.207866] rtc_ccu: sunxi ccu init OK [ 0.213944] ccu: sunxi ccu init OK [ 0.218009] r_ccu: sunxi ccu init OK [ 0.251342] sun6i-dma 3002000.dma-controller: sunxi dma probed [ 0.259181] iommu: Default domain type: Translated [ 0.265492] sunxi iommu: irq = 24 [ 0.269871] SCSI subsystem initialized [ 0.273930] usbcore: registered new interface driver usbfs [ 0.279605] usbcore: registered new interface driver hub [ 0.285008] usbcore: registered new device driver usb [ 0.291414] Advanced Linux Sound Architecture Driver Initialized. [ 0.298153] Bluetooth: Core ver 2.22 [ 0.301843] NET: Registered protocol family 31 [ 0.306299] Bluetooth: HCI device and connection manager initialized [ 0.312700] Bluetooth: HCI socket layer initialized [ 0.317592] Bluetooth: L2CAP socket layer initialized [ 0.322696] Bluetooth: SCO socket layer initialized [ 0.327868] pwm module init! [ 0.332100] g2d 5410000.g2d: Adding to iommu group 0 [ 0.337736] G2D: rcq version initialized.major:252 [ 0.343373] clocksource: Switched to clocksource arch_sys_counter [ 0.357762] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver [ 0.367387] NET: Registered protocol family 2 [ 0.372272] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.380671] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.388372] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.395459] TCP: Hash tables configured (established 1024 bind 1024) [ 0.401909] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.408485] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.415648] NET: Registered protocol family 1 [ 0.421014] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator [ 0.431334] spi spi0: spi0 supply spi not found, using dummy regulator [ 0.438097] sunxi_spi_resource_get()2438 - [spi0] SPI MASTER MODE [ 0.444248] sunxi_spi_resource_get()2476 - Failed to get sample mode [ 0.450592] sunxi_spi_resource_get()2481 - Failed to get sample delay [ 0.457051] sunxi_spi_resource_get()2485 - sample_mode:-1431633921 sample_delay:-1431633921 [ 0.465451] sunxi_spi_clk_init()2527 - [spi0] mclk 100000000 [ 0.471759] sunxi_spi_probe()2978 - [spi0]: driver probe succeed, base c881f000, irq 41 [ 0.481599] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 0.495543] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.501561] ntfs: driver 2.1.32 [Flags: R/W]. [ 0.536392] io scheduler mq-deadline registered [ 0.540923] io scheduler kyber registered [ 0.546287] [DISP]disp_module_init [ 0.550238] disp 5000000.disp: Adding to iommu group 0 [ 0.555946] [DISP] parser_disp_init_para,line:1430: [ 0.555949] of_property_read fb0_width fail [ 0.576181] disp 5000000.disp: 5000000.disp supply vcc-lcd not found, using dummy regulator [ 0.584803] disp 5000000.disp: 5000000.disp supply vcc-pd not found, using dummy regulator [ 0.598417] display_fb_request,fb_id:0 [ 0.604137] [DISP] Fb_copy_boot_fb,line:1445: [ 0.604141] no boot_fb0 [ 0.611110] rotation hw function is configed as no used [ 0.616882] disp_al_manager_apply ouput_type:0 [ 0.621676] [DISP] lcd_clk_config,line:774: [ 0.621686] disp 0, clk: pll(330000000),clk(330000000),dclk(55000000) dsi_rate(330000000) [ 0.621686] clk real:pll(324000000),clk(324000000),dclk(54000000) dsi_rate(0) [ 0.623838] [DISP]disp_module_init finish [ 0.625946] [DISP] disp_sys_pwm_config,line:509: [ 0.625949] disp_sys_pwm_Config, handle is NULL! [ 0.643274] sunxi_sid_init()783 - insmod ok [ 0.645855] [DISP] disp_sys_pwm_set_polarity,line:528: [ 0.645858] disp_sys_pwm_Set_Polarity, handle is NULL! [ 0.651815] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator [ 0.655911] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator [ 0.659465] uart uart1: uart1 supply uart not found, using dummy regulator [ 0.696333] uart1: ttyS1 at MMIO 0x2500400 (irq = 34, base_baud = 1500000) is a SUNXI [ 0.704934] uart uart3: uart3 supply uart not found, using dummy regulator [ 0.712106] uart3: ttyS3 at MMIO 0x2500c00 (irq = 35, base_baud = 1500000) is a SUNXI [ 0.713438] *********************** LCD_panel_init [ 0.720041] sw_console_setup()1807 - console setup baud 115200 parity n bits 8, flow n [ 0.732767] printk: console [ttyS3] enabled [ 0.732767] printk: console [ttyS3] enabled [ 0.741685] printk: bootconsole [earlycon0] disabled [ 0.741685] printk: bootconsole [earlycon0] disabled [ 0.753154] misc dump reg init [ 0.757963] [ADDR_MGT] addr_mgt_probe: module version: v1.0.11 [ 0.765179] [ADDR_MGT] addr_mgt_probe: success. [ 0.770581] dma-buf: Running sanitycheck [ 0.774993] dma-buf: Running dma_fence [ 0.779170] sizeof(dma_fence)=48 [ 0.782874] dma-buf: Running dma_fence/sanitycheck [ 0.788247] dma-buf: Running dma_fence/test_signaling [ 0.793899] dma-buf: Running dma_fence/test_add_callback [ 0.799820] dma-buf: Running dma_fence/test_late_add_callback [ 0.806237] dma-buf: Running dma_fence/test_rm_callback [ 0.812060] dma-buf: Running dma_fence/test_late_rm_callback [ 0.818379] dma-buf: Running dma_fence/test_status [ 0.823728] dma-buf: Running dma_fence/test_error [ 0.828969] dma-buf: Running dma_fence/test_wait [ 0.834126] dma-buf: Running dma_fence/test_wait_timeout [ 0.873387] dma-buf: Running dma_fence/test_stub [ 0.878552] dma-buf: Running dma_fence/race_signal_callback [ 0.893407] [DISP] disp_lcd_pwm_enable,line:1271: [ 0.893410] pwm device hdl is NULL [ 0.902467] [DISP] disp_sys_gpio_request,line:276: [ 0.902473] disp_sys_gpio_request failed, gpio_name=lcd_bl_en, gpio=123, value=0, ret=-517 [ 0.917076] [DISP] disp_device_attached_and_enable,line:233: [ 0.917080] attached ok, mgr0<-->dev0 [ 0.927483] [DISP] disp_device_attached_and_enable,line:236: [ 0.927491] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:0 dvi_hdmi:2, range:2 scan:0 ratio:8 [ 0.963375] thread_signal_callback[0] completed 27254 passes, 12024 misses [ 0.971064] thread_signal_callback[1] completed 15268 passes, 38 misses [ 1.043397] thread_signal_callback[0] completed 39312 passes, 39312 misses [ 1.051094] thread_signal_callback[1] completed 39325 passes, 39322 misses [ 1.059353] sunxi-spinand: AW SPINand MTD Layer Version: 2.3 20211223 [ 1.066638] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 [ 1.074457] sunxi-spinand-phy: not detect any munufacture from id table [ 1.081845] sunxi-spinand-phy: get spi-nand Model from fdt fail [ 1.088474] sunxi-spinand-phy: get phy info from fdt fail [ 1.094511] sunxi-spinand-phy: not detect munufacture from fdt [ 1.101084] sunxi-spinand-phy: detect munufacture from id table: Winbond [ 1.108584] sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff [ 1.115638] sunxi-spinand-phy: ========== arch info ========== [ 1.122151] sunxi-spinand-phy: Model: W25N01GVZEIG [ 1.128869] sunxi-spinand-phy: Munufacture: Winbond [ 1.135093] sunxi-spinand-phy: DieCntPerChip: 1 [ 1.140727] sunxi-spinand-phy: BlkCntPerDie: 1024 [ 1.146656] sunxi-spinand-phy: PageCntPerBlk: 64 [ 1.152386] sunxi-spinand-phy: SectCntPerPage: 4 [ 1.158063] sunxi-spinand-phy: OobSizePerPage: 64 [ 1.163805] sunxi-spinand-phy: BadBlockFlag: 0x0 [ 1.169634] sunxi-spinand-phy: OperationOpt: 0x7 [ 1.175467] sunxi-spinand-phy: MaxEraseTimes: 65000 [ 1.181488] sunxi-spinand-phy: EccFlag: 0x0 [ 1.187318] sunxi-spinand-phy: EccType: 2 [ 1.192944] sunxi-spinand-phy: EccProtectedType: 3 [ 1.198586] sunxi-spinand-phy: ======================================== [ 1.205965] sunxi-spinand-phy: [ 1.209460] sunxi-spinand-phy: ========== physical info ========== [ 1.216361] sunxi-spinand-phy: TotalSize: 128 M [ 1.221697] sunxi-spinand-phy: SectorSize: 512 B [ 1.227048] sunxi-spinand-phy: PageSize: 2 K [ 1.232190] sunxi-spinand-phy: BlockSize: 128 K [ 1.237536] sunxi-spinand-phy: OOBSize: 64 B [ 1.242780] sunxi-spinand-phy: ======================================== [ 1.250158] sunxi-spinand-phy: [ 1.253668] sunxi-spinand-phy: ========== logical info ========== [ 1.260464] sunxi-spinand-phy: TotalSize: 128 M [ 1.265810] sunxi-spinand-phy: SectorSize: 512 B [ 1.271152] sunxi-spinand-phy: PageSize: 4 K [ 1.276304] sunxi-spinand-phy: BlockSize: 256 K [ 1.281639] sunxi-spinand-phy: OOBSize: 128 B [ 1.286990] sunxi-spinand-phy: ======================================== [ 1.294444] sunxi-spinand-phy: block lock register: 0x00 [ 1.300425] sunxi-spinand-phy: feature register: 0x19 [ 1.306073] sunxi-spinand-phy: sunxi physic nand init end [ 1.312442] Creating 4 MTD partitions on "sunxi_mtd_nand": [ 1.318604] 0x000000000000-0x000000100000 : "boot0" [ 1.334288] 0x000000100000-0x000000400000 : "uboot" [ 1.344348] 0x000000400000-0x000000500000 : "secure_storage" [ 1.364330] 0x000000500000-0x000008000000 : "sys" [ 1.369850] random: fast init done [ 1.464574] sunxi-spinand-phy: phy blk 921 is bad [ 1.484935] libphy: Fixed MDIO Bus: probed [ 1.490694] gmac-power0: NULL [ 1.494088] gmac-power1: NULL [ 1.497394] gmac-power2: NULL [ 1.500843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator [ 1.512961] Failed to alloc md5 [ 1.516529] eth0: Use random mac address [ 1.521192] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.528493] sunxi-ehci: EHCI SUNXI driver [ 1.533459] get ehci1-controller wakeup-source is fail. [ 1.539385] sunxi ehci1-controller don't init wakeup source [ 1.545620] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0b62628, 0x:c8837000, irq_no:3c [ 1.557589] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator [ 1.570055] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator [ 1.582197] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller [ 1.589435] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 [ 1.599332] sunxi-ehci 4200000.ehci1-controller: irq 60, io mem 0x04200000 [ 1.633448] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 [ 1.642074] hub 1-0:1.0: USB hub found [ 1.646328] hub 1-0:1.0: 1 port detected [ 1.651342] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.658309] sunxi-ohci: OHCI SUNXI driver [ 1.663269] get ohci1-controller wakeup-source is fail. [ 1.669219] sunxi ohci1-controller don't init wakeup source [ 1.675465] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0b628b8 [ 1.685126] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator [ 1.697591] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator [ 1.709737] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller [ 1.716983] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 [ 1.726814] sunxi-ohci 4200400.ohci1-controller: irq 61, io mem 0x04200400 [ 1.808241] hub 2-0:1.0: USB hub found [ 1.812465] hub 2-0:1.0: 1 port detected [ 1.817614] usbcore: registered new interface driver usb-storage [ 1.824513] i2c /dev entries driver [ 1.828491] sunxi cedar version 1.1 [ 1.832568] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 [ 1.838899] VE: sunxi_cedar_probe power-domain init!!! [ 1.844646] VE: install start!!! [ 1.844646] [ 1.850189] VE: cedar-ve the get irq is 42 [ 1.850189] [ 1.856611] VE: ve_debug_proc_info:(ptrval), data:(ptrval), lock:(ptrval) [ 1.856611] [ 1.865862] VE: install end!!! [ 1.865862] [ 1.870908] VE: sunxi_cedar_probe [ 1.874886] Bluetooth: HCI UART driver ver 2.3 [ 1.879864] Bluetooth: HCI UART protocol H4 registered [ 1.885615] Bluetooth: HCI UART protocol BCSP registered [ 1.891792] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 [ 1.901022] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.25 2022-6-21 13:40) [ 1.910877] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 [ 1.917100] sunxi-mmc 4020000.sdmmc: No vmmc regulator found [ 1.923426] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found [ 1.929831] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found [ 1.936251] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found [ 1.942753] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found [ 1.949264] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found [ 1.955783] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found [ 1.962704] sunxi-mmc 4020000.sdmmc: Got CD GPIO [ 1.968068] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail [ 1.974715] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.985823] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator [ 2.005929] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.030285] sunxi-mmc 4020000.sdmmc: detmode:gpio irq [ 2.035969] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.047498] sun8iw20-pinctrl 2000000.pinctrl: pin PG0 already requested by 4500000.eth; cannot claim for 4021000.sdmmc [ 2.059480] sun8iw20-pinctrl 2000000.pinctrl: pin-192 (4021000.sdmmc) status -22 [ 2.067760] sun8iw20-pinctrl 2000000.pinctrl: could not request pin 192 (PG0) from group PG0 on device 2000000.pinctrl [ 2.079804] sunxi-mmc 4021000.sdmmc: Error applying setting, reverse things back [ 2.088094] sunxi-mmc: probe of 4021000.sdmmc failed with error -22 [ 2.095923] exFAT: Version 1.3.0 [ 2.102027] [AUDIOCODEC][sunxi_codec_parse_params][2437]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 [ 2.102027] [ 2.119201] [AUDIOCODEC][sunxi_codec_parse_params][2473]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 [ 2.130529] [AUDIOCODEC][sunxi_internal_codec_probe][2634]:codec probe finished [ 2.139670] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! [ 2.149471] [SNDCODEC][sunxi_card_init][583]:card init finished [ 2.156559] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok [ 2.167480] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 [ 2.179444] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished [ 2.187955] NET: Registered protocol family 10 [ 2.193423] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch [ 2.201403] Segment Routing with IPv6 [ 2.205617] NET: Registered protocol family 17 [ 2.210726] Bluetooth: RFCOMM TTY layer initialized [ 2.216268] Bluetooth: RFCOMM socket layer initialized [ 2.222022] Bluetooth: RFCOMM ver 1.11 [ 2.226848] Registering SWP/SWPB emulation handler [ 2.246663] sun8iw20-pinctrl 2000000.pinctrl: pin PG0 already requested by 4500000.eth; cannot claim for 4021000.sdmmc [ 2.258675] sun8iw20-pinctrl 2000000.pinctrl: pin-192 (4021000.sdmmc) status -22 [ 2.266946] sun8iw20-pinctrl 2000000.pinctrl: could not request pin 192 (PG0) from group PG0 on device 2000000.pinctrl [ 2.278990] sunxi-mmc 4021000.sdmmc: Error applying setting, reverse things back [ 2.287279] sunxi-mmc: probe of 4021000.sdmmc failed with error -22 [ 2.294693] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator [ 2.305152] sunxi-i2c sunxi-i2c2: probe success [ 2.310576] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator [ 2.321944] sunxi-i2c sunxi-i2c3: sunxi-i2c3 supply twi not found, using dummy regulator [ 2.354647] sunxi-i2c sunxi-i2c3: SLA+W has been transmitted; ACK not received [ 2.362708] sunxi-i2c sunxi-i2c3: engine mode: I2C BUS error state is 0x20 [ 2.370449] sunxi-i2c sunxi-i2c3: engine-mode: bus state: 0xf9, isn't idle [ 2.378112] sunxi-i2c sunxi-i2c3: STOP failed! [ 2.383082] sunxi-i2c sunxi-i2c3: engine-mode: xfer failed(dev addr:0x50) [ 2.414707] sunxi-i2c sunxi-i2c3: SLA+W has been transmitted; ACK not received [ 2.422761] sunxi-i2c sunxi-i2c3: engine mode: I2C BUS error state is 0x20 [ 2.430501] sunxi-i2c sunxi-i2c3: engine-mode: bus state: 0xf9, isn't idle [ 2.438163] sunxi-i2c sunxi-i2c3: STOP failed! [ 2.443130] sunxi-i2c sunxi-i2c3: engine-mode: xfer failed(dev addr:0x50) [ 2.452422] sunxi-i2c sunxi-i2c3: probe success [ 2.459993] get ehci0-controller wakeup-source is fail. [ 2.465943] sunxi ehci0-controller don't init wakeup source [ 2.472161] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0b62108, 0x:c88ab000, irq_no:3a [ 2.484098] [sunxi-ehci0]: Not init ehci0 [ 2.488929] get ohci0-controller wakeup-source is fail. [ 2.494872] sunxi ohci0-controller don't init wakeup source [ 2.501089] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0b62398 [ 2.510700] [sunxi-ohci0]: Not init ohci0 [ 2.515755] ubi0: attaching mtd3 [ 2.704489] ubi0: scanning is finished [ 2.716591] ubi0: attached mtd3 (name "sys", size 123 MiB) [ 2.722715] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes [ 2.730424] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048 [ 2.738003] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 2.745780] ubi0: good PEBs: 491, bad PEBs: 1, corrupted PEBs: 0 [ 2.752475] ubi0: user volume: 9, internal volumes: 1, max. volumes count: 128 [ 2.760540] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0 [ 2.769859] ubi0: available PEBs: 0, total reserved PEBs: 491, PEBs reserved for bad PEB handling: 19 [ 2.780165] ubi0: background thread "ubi_bgt0d" started, PID 885 [ 2.788122] block ubiblock0_5: created from ubi0:5(rootfs) [ 2.794795] otg manager soc@3000000:usbc0@0: soc@3000000:usbc0@0 supply usbc not found, using dummy regulator [ 2.808367] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 2.813444] clk: Not disabling unused clocks [ 2.818066] cfg80211: failed to load regulatory.db [ 2.822732] ALSA device list: [ 2.831482] #0: audiocodec [ 2.834734] alloc_fd: slot 0 not NULL! [ 2.841778] VFS: Mounted root (squashfs filesystem) readonly on device 254:0. [ 2.851697] devtmpfs: mounted [ 2.856936] Freeing unused kernel memory: 1024K [ 2.893521] Run /pseudo_init as init process mount: mounting none on /dev failed: Resource busy [ 3.073457] UBIFS (ubi0:6): Mounting in unauthenticated mode [ 3.079915] UBIFS (ubi0:6): background thread "ubifs_bgt0_6" started, PID 924 [ 3.113742] random: crng init done [ 3.133811] UBIFS (ubi0:6): recovery needed [ 3.264749] UBIFS (ubi0:6): recovery completed [ 3.269907] UBIFS (ubi0:6): UBIFS: mounted UBI device 0, volume 6, name "rootfs_data" [ 3.278705] UBIFS (ubi0:6): LEB size: 258048 bytes (252 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes [ 3.289785] UBIFS (ubi0:6): FS size: 18579456 bytes (17 MiB, 72 LEBs), journal size 2064385 bytes (1 MiB, 6 LEBs) [ 3.301252] UBIFS (ubi0:6): reserved for root: 877552 bytes (856 KiB) [ 3.308501] UBIFS (ubi0:6): media format: w5/r0 (latest is w5/r0), UUID 7DFEE526-6D59-44C4-966D-D42EB2FDEFDF, small LPT model can't run '/etc/preinit': No such file or directory mount: mounting proc on /proc failed: Resource busy hostname: can't open '/etc/hostname': No such file or directory ------run rc.preboot file----- [ 3.463549] UBIFS (ubi0:8): Mounting in unauthenticated mode [ 3.470017] UBIFS (ubi0:8): background thread "ubifs_bgt0_8" started, PID 954 [ 3.519820] UBIFS (ubi0:8): recovery needed [ 3.555368] UBIFS (ubi0:8): recovery completed [ 3.560523] UBIFS (ubi0:8): UBIFS: mounted UBI device 0, volume 8, name "UDISK" [ 3.568709] UBIFS (ubi0:8): LEB size: 258048 bytes (252 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes [ 3.579800] UBIFS (ubi0:8): FS size: 10838016 bytes (10 MiB, 42 LEBs), journal size 2064385 bytes (1 MiB, 6 LEBs) [ 3.591270] UBIFS (ubi0:8): reserved for root: 511905 bytes (499 KiB) [ 3.598473] UBIFS (ubi0:8): media format: w5/r0 (latest is w5/r0), UUID B548A428-6B73-4B42-BE7C-E697D7E1A575, small LPT model ------run rc.modules file----- [ 3.709972] sunxi_gpadc_init,2151, success [ 3.766035] ======== XRADIO WIFI OPEN ======== [ 3.771527] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 [ 3.778309] [XRADIO] Allocated hw_priv @ 767e2611 [ 3.884166] [XRADIO] Detect SDIO card 0 [ 6.053511] [XRADIO] Remove SDIO card 0 [ 6.067791] [SBUS_ERR] sdio probe timeout! [ 6.072353] [XRADIO_ERR] sbus_sdio_init failed [ 6.077607] xradio_core_init failed (-110)! [ 6.201949] ======== XRADIO WIFI OPEN ======== [ 6.207467] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 [ 6.214226] [XRADIO] Allocated hw_priv @ ab98aef0 [ 6.320098] [XRADIO] Detect SDIO card 0 [ 6.393659] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator [ 8.453532] [XRADIO] Remove SDIO card 0 [ 8.467814] [SBUS_ERR] sdio probe timeout! [ 8.472377] [XRADIO_ERR] sbus_sdio_init failed [ 8.477676] xradio_core_init failed (-110)! insmod: can't insert '/lib/modules/5.4.61/xr829.ko': Operation timed out 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 ------run rc.final file----- numid=30,iface=MIXER,name='Headphone Switch' ; type=BOOLEAN,access=rw------,values=1 : values=on ------light up RGB LED----- /etc/init.d/rcS: /etc/init.d/rc.final: line 15: can't create /sys/class/leds/sunxi_led0r/brightness: nonexistent directory /etc/init.d/rcS: /etc/init.d/rc.final: line 16: can't create /sys/class/leds/sunxi_led1g/brightness: nonexistent directory /etc/init.d/rcS: /etc/init.d/rc.final: line 17: can't create /sys/class/leds/sunxi_led2b/brightness: nonexistent directory /etc/init.d/rcS: /etc/init.d/rc.final: line 21: can't create /sys/class/leds/sunxi_led0r/brightness: nonexistent directory /etc/init.d/rcS: /etc/init.d/rc.final: line 22: can't create /sys/class/leds/sunxi_led0g/brightness: nonexistent directory /etc/init.d/rcS: /etc/init.d/rc.final: line 23: can't create /sys/class/leds/sunxi_led0b/brightness: nonexistent directory /etc/init.d/rcS: /etc/init.d/rc.final: line 24: can't create /sys/class/leds/sunxi_led1r/brightness: nonexistent directory /etc/init.d/rcS: /etc/init.d/rc.final: line 25: can't create /sys/class/leds/sunxi_led1g/brightness: nonexistent directory /etc/init.d/rcS: /etc/init.d/rc.final: line 26: can't create /sys/class/leds/sunxi_led1b/brightness: nonexistent directory /etc/init.d/rcS: /etc/init.d/rc.final: line 27: can't create /sys/class/leds/sunxi_led2r/brightness: nonexistent directory /etc/init.d/rcS: /etc/init.d/rc.final: line 2[ 9.944707] block ubiblock0_7: created from ubi0:7(user_data) 8: can't create /sys/class/leds/sunxi_led2g/brightness: nonexistent directory /etc/init.d/rcS: /etc/init.d/rc.final: line 29: c[ 9.957531] /dev/ubiblock0_7: Can't open blockdev an't create /sys/class/leds/sunxi_led2b/brightness: nonexistent directory ------light up LED----- BusyBox v1.27.2 () built-in shell (ash) ------run profile file----- _____ _ __ _ |_ _||_| ___ _ _ | | |_| ___ _ _ _ _ | | _ | || | | |__ | || || | ||_'_| | | | || | || _ | |_____||_||_|_||___||_,_| |_| |_||_|_||_|_| Tina is Based on OpenWrt! ---------------------------------------------- Tina Linux (Neptune, 61CC0487) ---------------------------------------------- Wed Jun 1 00:00:00 GMT 2022 nodev debugfs
-
Reply: t113 tina linux 内核开机logo不显示
@zh834773979 解决了,tina的logo流程跟标准流程不太一样,首先uboot的设备树中LCD和DISP相关配置要正确,然后在lichee/brandy-2.0/u-boot-2018/configs/sun8iw20p1_uart3_defconfig配置文件中打开下面几个配置 应该就可以了
Latest posts made by wjp2547532
-
Reply: T113-S3 CAN调试问题
@zzz123 还是编译iproute2,有一些头文件重复定义的去把编译器里的改掉就好了,不用全部编译完,能把ip命令编译出来就好
-
T113-S3 CAN调试问题
https://bbs.aw-ol.com/topic/1926/t113-s3-can-linux-下已调通/12?_=1692855551540,按照帖子里的方法进行了修改,但是在执行“ifconfig can0 up”时提示
查了一下说是要先设置can速率,用“ip link set can0 up type can bitrate 125000”设置提示
应该是ip命令不支持,下载最新iproute2源码交叉编译,提示了一堆错误
这个应该怎么改呀;网上查了一下可以用另一种方式设置波特率:“echo 250000 > /sys/class/net/can0/can_bittiming/bitrate” ,然而发现我的这个路径下并没有这个文件。。。。。。。。。,
现在搞不懂究竟哪里有问题,有大佬了解么? -
Reply: 请问下,T113-S3TinaLinux,如何新增文件到根文件系统中
@nlj_moon 如果提示的错误是缺少依赖库的话可以尝试在package/busybox-init-base-files/Makefile中添加
引号中改成你缺少的库名字就行 -
Reply: t113 tina linux 内核开机logo不显示
@zh834773979 解决了,tina的logo流程跟标准流程不太一样,首先uboot的设备树中LCD和DISP相关配置要正确,然后在lichee/brandy-2.0/u-boot-2018/configs/sun8iw20p1_uart3_defconfig配置文件中打开下面几个配置 应该就可以了
-
Reply: T113-S3 SD卡启动问题
@whycanservice2 自制的。为什么插上SD卡就会重启呢?还有就是为什么我插上一张全新的SD卡然后上电,可以正常从spi-nand启动,SD卡也可以正常挂载;但是我插上另一张曾制作成量产卡或启动卡,但是又通过DiskGenius.exe这个工具格式化后的SD卡后上电,好像还是要从SD卡启动。难道是格式化的不完全么?下面是启动信息:
[141]HELLO! BOOT0 is starting! [143]BOOT0 commit : 88480af-dirty [147]set pll start [153]periph0 has been enabled [156]set pll end [157][pmu]: bus read error [160]board init ok [162]ZQ value = 0x2e [164]get_pmu_exist() = -1 [166]ddr_efuse_type: 0xa [169]trefi:7.8ms [171][AUTO DEBUG] single rank and full DQ! [175]ddr_efuse_type: 0xa [178]trefi:7.8ms [180][AUTO DEBUG] rank 0 row = 13 [183][AUTO DEBUG] rank 0 bank = 8 [186][AUTO DEBUG] rank 0 page size = 2 KB [190]DRAM BOOT DRIVE INFO: V0.33 [194]DRAM CLK = 936 MHz [196]DRAM Type = 3 (2:DDR2,3:DDR3) [199]DRAMC read ODT off. [202]DRAM ODT value: 0x42. [204]ddr_efuse_type: 0xa [207]DRAM SIZE =128 M [209]dram_tpr4:0x0 [211]PLL_DDR_CTRL_REG:0xf8004d00 [214]DRAM_CLK_REG:0xc0000000 [217][TIMING DEBUG] MR2= 0x20 [225]DRAM simple test OK. [227]rtc standby flag is 0x0, super standby flag is 0x0 [232]dram size =128 [235]card no is 0 [237]sdcard 0 line count 4 [239][mmc]: mmc driver ver 2021-05-21 14:47 [248][mmc]: Wrong media type 0x0 [251][mmc]: ***Try SD card 0*** [276][mmc]: HSSDR52/SDR25 4 bit [279][mmc]: 50000000 Hz [281][mmc]: 3781 MB [283][mmc]: ***SD/MMC 0 init OK!!!*** [369]Loading boot-pkg Succeed(index=0). [373]Entry_name = u-boot [379]Entry_name = optee [383]Entry_name = dtb [386]mmc not para [388]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.07-ge987def-dirty (Jul 21 2023 - 11:08:46 +0800) Allwinner Technology [00.440]CPU: Allwinner Family [00.443]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.464]optee version: major:3 minor:7 [00.468]DRAM: 128 MiB [00.471]Relocation Offset is: 04ecb000 [00.495]secure enable bit: 0 [00.498]smc_tee_inform_fdt failed with: ffff000a [00.503]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.509]gic: sec monitor mode sunxi flash map init [00.514]flash init start [00.516]workmode = 17,storage type = 1 try card 2 set card number 2 get card number 2 [00.524][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00 [00.531][mmc]: Is not Boot mode! [00.533][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.545][mmc]: ************Try SD card 2************ [00.550][mmc]: mmc 2 cmd timeout 100 status 100 [00.554][mmc]: smc 2 err, cmd 8, RTO [00.557][mmc]: mmc 2 close bus gating and reset [00.562][mmc]: mmc 2 cmd timeout 100 status 100 [00.566][mmc]: smc 2 err, cmd 55, RTO [00.570][mmc]: mmc 2 close bus gating and reset [00.574][mmc]: ************Try MMC card 2************ [00.583][mmc]: mmc 2 cmd timeout 100 status 100 [00.587][mmc]: smc 2 err, cmd 1, RTO [00.591][mmc]: mmc 2 close bus gating and reset [00.595][mmc]: Card did not respond to voltage select! [00.600][mmc]: ************SD/MMC 2 init error!************ [00.605][mmc]: mmc init product failed MMC init failed try emmc fail [00.612]sunxi-spinand: AW SPINand MTD Layer Version: 1.8 20220106 [00.617]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.11 20211217 [00.625]sunxi-spinand-phy: request spi0 gpio ok [00.629]sunxi-spinand-phy: request general tx dma channel ok! [00.635]sunxi-spinand-phy: request general rx dma channel ok! [00.640]sunxi-spinand-phy: set spic0 clk to 20 Mhz [00.645]sunxi-spinand-phy: init spic0 clk ok [00.649]sunxi-spinand-phy: detect munufacture from id table: Winbond [00.655]sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff [00.660]sunxi-spinand-phy: ========== arch info ========== [00.666]sunxi-spinand-phy: Model: W25N01GVZEIG [00.671]sunxi-spinand-phy: Munufacture: Winbond [00.676]sunxi-spinand-phy: DieCntPerChip: 1 [00.680]sunxi-spinand-phy: BlkCntPerDie: 1024 [00.685]sunxi-spinand-phy: PageCntPerBlk: 64 [00.690]sunxi-spinand-phy: SectCntPerPage: 4 [00.694]sunxi-spinand-phy: OobSizePerPage: 64 [00.698]sunxi-spinand-phy: BadBlockFlag: 0x0 [00.703]sunxi-spinand-phy: OperationOpt: 0x7 [00.708]sunxi-spinand-phy: MaxEraseTimes: 65000 [00.712]sunxi-spinand-phy: EccFlag: 0x0 [00.717]sunxi-spinand-phy: EccType: 2 [00.721]sunxi-spinand-phy: EccProtectedType: 3 [00.726]sunxi-spinand-phy: ======================================== [00.732]sunxi-spinand-phy: [00.734]sunxi-spinand-phy: ========== physical info ========== [00.740]sunxi-spinand-phy: TotalSize: 128 M [00.744]sunxi-spinand-phy: SectorSize: 512 B [00.748]sunxi-spinand-phy: PageSize: 2 K [00.752]sunxi-spinand-phy: BlockSize: 128 K [00.756]sunxi-spinand-phy: OOBSize: 64 B [00.760]sunxi-spinand-phy: ======================================== [00.766]sunxi-spinand-phy: [00.769]sunxi-spinand-phy: ========== logical info ========== [00.774]sunxi-spinand-phy: TotalSize: 128 M [00.779]sunxi-spinand-phy: SectorSize: 512 B [00.783]sunxi-spinand-phy: PageSize: 4 K [00.787]sunxi-spinand-phy: BlockSize: 256 K [00.791]sunxi-spinand-phy: OOBSize: 128 B [00.795]sunxi-spinand-phy: ======================================== [00.801]sunxi-spinand-phy: set spic0 clk to 100 Mhz [00.806]sunxi-spinand-phy: block lock register: 0x00 [00.810]sunxi-spinand-phy: feature register: 0x19 [00.815]sunxi-spinand-phy: sunxi physic nand init end [00.820][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00 [00.825][mmc]: get sdc_type fail and use default host:tm1. [00.831][mmc]: can't find node "mmc0",will add new node [00.836][mmc]: fdt err returned <no error> [00.840][mmc]: Using default timing para [00.843][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.875][mmc]: card_caps:0x3000000a [00.879][mmc]: host_caps:0x3000003f [00.884]line:703 init_clocks [00.887]init_clocks:finish [00.889]drv_disp_init [00.896]get flash lcd idx 0 fdt get node offset faill: hdmi ****************** drv_disp_init ***************** lcd_init [00.908]drv_disp_init finish [00.911]boot_gui_init:start [00.914]set disp.dev2_output_type fail. using defval=0 [00.919]disp 0, clk: pll(372000000),clk(372000000),dclk(31000000) dsi_rate(150000000) clk real:pll(372000000),clk(372000000),dclk(93000000) dsi_rate(150000000) [00.954]switch device: sel=0, type=1, mode=4, format=0, bits=0, eotf=4, cs=260 [00.961]set disp.fb0_rot_used fail. using defval=0 [01.128]set disp.fb0_rot_degree fail. using defval=0 [01.134]boot_gui_init:finish [01.136]Loading Environment from SUNXI_FLASH... OK [01.141]try to burn key [01.143]out of usb burn from boot: not need burn key Hit any key to stop autoboot: 0 sunxi work mode=0x11 run card sprite [01.155]try sprite_led_gpio config [01.158]sprite_led_gpio start [01.161]sunxi sprite begin firmware name <NULL> img start = 0x93b0 try to read mmc start 37808 read mmc ok sunxi sprite error: iamge magic is bad sunxi sprite firmware probe fail sprite_test - do a sprite test Usage: sprite_test N[01.187]pwm device hdl is NULL [01.190]LCD open finish ULL =>
-
T113-S3 SD卡启动问题
程序烧录到SPI-NAND中,不插SD卡时可以正常从nand启动,但是一插上SD卡就会重启,并从SD卡启动,现在想让他插着SD卡时也从SPI-NAND启动,应该修改哪里,有大佬知道么