@jr_online 好的,谢谢
M
Posts made by msh410278586
-
Reply: T113-s3 CAN linux 下已调通
@lansecd
你好,我按照上面修改,执行cansend can0 123#1122334455667788会报错,跪求大佬给看看吧!root@TinaLinux:/# cansend can0 123#1122334455667788 interface = can0, family = 29, type = 3, proto = 1[ 55.350220] sunxi_can 2504000.can can0: error warning interrupt [ 55.360888] sunxi_can 2504000.can can0: bus error interrupt [ 55.367103] sunxi_can 2504000.can can0: New error state: 1 root@TinaLinux:/# ifconfig can0 can0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 UP RUNNING NOARP MTU:16 Metric:1 RX packets:1 errors:1 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:10 RX bytes:8 (8.0 B) TX bytes:0 (0.0 B) Interrupt:45 root@TinaLinux:/# ip -detail link show can0 2: can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UP mode DEFAULT group default qlen 10 link/can promiscuity 0 minmtu 0 maxmtu 0 can state ERROR-WARNING (berr-counter tx 183 rx 0) restart-ms 0 bitrate 125000 sample-point 0.875 tq 500 prop-seg 6 phase-seg1 7 phase-seg2 2 sjw 1 brp 12 sunxi_can: tseg1 1..16 tseg2 1..8 sjw 1..4 brp 1..64 brp_inc 1 clock 24000000 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535
下面是启动信息
[ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.4.61 (t113@t113) (arm-openwrt-linux-muslgnueabi-gcc.bin (OpenWrt/CodeSourcery GCC 8.3.0 2021.08) 8.3.0, GNU ld (GNU Binutils) 2.28) #269 SMP PREEMPT Mon Oct 17 08:37:45 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] printk: bootconsole [earlycon0] enabled [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] cma: Reserved 4 MiB at 0x47c00000 [ 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 s30412 r8192 d22836 u61440 [ 0.000000] pcpu-alloc: s30412 r8192 d22836 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: earlyprintk=sunxi-uart,0x02500C00 clk_ignore_unused initcall_debug=0 console=ttyS3,115200 rootdelay=2 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:private@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=4M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun8iw20p1 boot_type=2 androidboot.boot_type=2 gpt=1 uboot_message=2018.05-g2a1965a-dirty(07/10/2022-02:50:57) mbr_offset=1032192 disp_reserve=2457600,0x43f06000 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: 104088K/131072K available (6144K kernel code, 281K rwdata, 1624K rodata, 1024K init, 1168K bss, 22888K reserved, 4096K 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+0x258/0x3dc with crng_init=0 [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.008007] Switching to timer-based delay loop, resolution 41ns [ 0.014187] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.023900] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.034266] pid_max: default: 32768 minimum: 301 [ 0.039007] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.046346] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.054661] CPU: Testing write buffer coherency: ok [ 0.059860] /cpus/cpu@0 missing clock-frequency property [ 0.065202] /cpus/cpu@1 missing clock-frequency property [ 0.070539] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.076701] Setting up static identity map for 0x40100000 - 0x40100060 [ 0.083355] rcu: Hierarchical SRCU implementation. [ 0.088557] smp: Bringing up secondary CPUs ... [ 0.094199] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.094322] smp: Brought up 1 node, 2 CPUs [ 0.104142] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.110337] CPU: All CPU(s) started in SVC mode. [ 0.115403] devtmpfs: initialized [ 0.130531] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.138635] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.148749] pinctrl core: initialized pinctrl subsystem [ 0.154915] NET: Registered protocol family 16 [ 0.160898] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.195317] rtc_ccu: sunxi ccu init OK [ 0.201339] ccu: sunxi ccu init OK [ 0.205167] r_ccu: sunxi ccu init OK [ 0.228353] iommu: Default domain type: Translated [ 0.233437] sunxi iommu: irq = 24 [ 0.237604] SCSI subsystem initialized [ 0.241619] usbcore: registered new interface driver usbfs [ 0.247147] usbcore: registered new interface driver hub [ 0.252569] usbcore: registered new device driver usb [ 0.258353] Advanced Linux Sound Architecture Driver Initialized. [ 0.265176] Bluetooth: Core ver 2.22 [ 0.268801] NET: Registered protocol family 31 [ 0.273237] Bluetooth: HCI device and connection manager initialized [ 0.279633] Bluetooth: HCI socket layer initialized [ 0.284524] Bluetooth: L2CAP socket layer initialized [ 0.289593] Bluetooth: SCO socket layer initialized [ 0.294730] pwm module init! [ 0.298757] g2d 5410000.g2d: Adding to iommu group 0 [ 0.304012] G2D: rcq version initialized.major:251 [ 0.309628] clocksource: Switched to clocksource arch_sys_counter [ 0.324253] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver [ 0.332880] sunxi udc is no enable [ 0.336514] NET: Registered protocol family 2 [ 0.341638] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.350072] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.357739] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.364819] TCP: Hash tables configured (established 1024 bind 1024) [ 0.371276] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.377835] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.385028] NET: Registered protocol family 1 [ 0.391574] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 0.403041] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.409014] ntfs: driver 2.1.32 [Flags: R/W]. [ 0.448760] io scheduler mq-deadline registered [ 0.453322] io scheduler kyber registered [ 0.458352] [DISP]disp_module_init [ 0.462326] disp 5000000.disp: Adding to iommu group 0 [ 0.467981] [DISP] disp_init,line:2386: [ 0.467986] smooth display screen:0 type:1 mode:4 [ 0.493181] display_fb_request,fb_id:0 [ 0.502267] Freeing logo buffer memory: 2400K [ 0.507097] disp_al_manager_apply ouput_type:1 [ 0.509886] [DISP]disp_module_init finish [ 0.511722] [DISP] lcd_clk_config,line:744: [ 0.511733] disp 0, clk: pll(364000000),clk(364000000),dclk(52000000) dsi_rate(364000000) [ 0.511733] clk real:pll(360000000),clk(360000000),dclk(51428571) dsi_rate(0) [ 0.516494] sunxi_sid_init()551 - insmod ok [ 0.520032] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator [ 0.536495] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator [ 0.559881] uart uart0: uart0 supply uart not found, using dummy regulator [ 0.567000] uart0: ttyS0 at MMIO 0x2500000 (irq = 34, base_baud = 1500000) is a SUNXI [ 0.575522] uart uart3: uart3 supply uart not found, using dummy regulator [ 0.582711] uart3: ttyS3 at MMIO 0x2500c00 (irq = 35, base_baud = 1500000) is a SUNXI [ 0.590609] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n ÿ[ 0.598592] printk: console [ttyS3] enabled [ 0.598592] printk: console [ttyS3] enabled [ 0.607514] printk: bootconsole [earlycon0] disabled [ 0.607514] printk: bootconsole [earlycon0] disabled [ 0.618662] uart uart4: uart4 supply uart not found, using dummy regulator [ 0.626640] uart4: ttyS4 at MMIO 0x2501000 (irq = 36, base_baud = 1500000) is a SUNXI [ 0.635984] uart uart5: uart5 supply uart not found, using dummy regulator [ 0.643957] uart5: ttyS5 at MMIO 0x2501400 (irq = 37, base_baud = 1500000) is a SUNXI [ 0.653437] misc dump reg init [ 0.658160] dma-buf: Running sanitycheck [ 0.662578] dma-buf: Running dma_fence [ 0.666755] sizeof(dma_fence)=48 [ 0.670458] dma-buf: Running dma_fence/sanitycheck [ 0.675832] dma-buf: Running dma_fence/test_signaling [ 0.681480] dma-buf: Running dma_fence/test_add_callback [ 0.687402] dma-buf: Running dma_fence/test_late_add_callback [ 0.693829] dma-buf: Running dma_fence/test_rm_callback [ 0.699668] dma-buf: Running dma_fence/test_late_rm_callback [ 0.705984] dma-buf: Running dma_fence/test_status [ 0.711336] dma-buf: Running dma_fence/test_error [ 0.716579] dma-buf: Running dma_fence/test_wait [ 0.721738] dma-buf: Running dma_fence/test_wait_timeout [ 0.759643] dma-buf: Running dma_fence/test_stub [ 0.764809] dma-buf: Running dma_fence/race_signal_callback [ 0.839640] thread_signal_callback[0] completed 36602 passes, 50 misses [ 0.847046] thread_signal_callback[1] completed 36579 passes, 27 misses [ 0.919646] thread_signal_callback[0] completed 40641 passes, 40638 misses [ 0.927340] thread_signal_callback[1] completed 40629 passes, 40628 misses [ 0.935570] libphy: Fixed MDIO Bus: probed [ 0.940183] CAN device driver interface [ 0.944573] usbcore: registered new interface driver usb_8dev [ 0.951066] usbcore: registered new interface driver ems_usb [ 0.957409] usbcore: registered new interface driver esd_usb2 [ 0.963883] usbcore: registered new interface driver gs_usb [ 0.970206] usbcore: registered new interface driver kvaser_usb [ 0.976838] usbcore: registered new interface driver mcba_usb [ 0.983303] usbcore: registered new interface driver peak_usb [ 0.989756] usbcore: registered new interface driver ucan [ 0.996084] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator [ 1.007874] sunxi_can 2504000.can: device registered ( base=(ptrval), irq=45 ) [ 1.016713] sunxi_can 2504400.can: device registered ( base=(ptrval), irq=46 ) [ 1.025225] usbcore: registered new interface driver cdc_ether [ 1.031806] usbcore: registered new interface driver rndis_host [ 1.038444] usbcore: registered new interface driver qmi_wwan [ 1.044864] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.052153] sunxi-ehci: EHCI SUNXI driver [ 1.057031] get ehci0-controller wakeup-source is fail. [ 1.062881] sunxi ehci0-controller is no enable [ 1.067934] sunxi-ehci 4101000.ehci0-controller: init_sunxi_hci is fail [ 1.075342] sunxi-ehci: probe of 4101000.ehci0-controller failed with error -1 [ 1.083470] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.090403] sunxi-ohci: OHCI SUNXI driver [ 1.095277] get ohci0-controller wakeup-source is fail. [ 1.101126] sunxi ohci0-controller is no enable [ 1.106178] sunxi-ohci 4101400.ohci0-controller: init_sunxi_hci is fail [ 1.113586] sunxi-ohci: probe of 4101400.ohci0-controller failed with error -1 [ 1.121771] usbcore: registered new interface driver cdc_wdm [ 1.128143] usbcore: registered new interface driver usb-storage [ 1.134970] usbcore: registered new interface driver usbserial_generic [ 1.142291] usbserial: USB Serial support registered for generic [ 1.149016] usbcore: registered new interface driver option [ 1.155266] usbserial: USB Serial support registered for GSM modem (1-port) [ 1.163182] i2c /dev entries driver [ 1.167142] sunxi cedar version 1.1 [ 1.171223] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 [ 1.177457] VE: failed to get alias ve id [ 1.177457] [ 1.183585] VE: sunxi_cedar_probe power-domain init!!! [ 1.189316] VE: install start!!! [ 1.189316] [ 1.194830] VE: cedar-ve the get irq is 43 [ 1.194830] [ 1.201248] VE: ve_debug_proc_info:(ptrval), data:(ptrval), lock:(ptrval) [ 1.201248] [ 1.210485] VE: install end!!! [ 1.210485] [ 1.215531] VE: sunxi_cedar_probe [ 1.219411] Bluetooth: HCI UART driver ver 2.3 [ 1.224381] Bluetooth: HCI UART protocol H4 registered [ 1.230132] Bluetooth: HCI UART protocol BCSP registered [ 1.236052] Bluetooth: HCI UART protocol (null) registered [ 1.242176] Bluetooth: HCI Realtek H5 protocol initialized [ 1.249722] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator [ 1.260910] sunxi-mmc 4022000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.22 2021-12-20 15:40) [ 1.270826] sunxi-mmc 4022000.sdmmc: ***ctl-spec-caps*** 308 [ 1.277195] sunxi-mmc 4022000.sdmmc: No vmmc regulator found [ 1.283527] sunxi-mmc 4022000.sdmmc: No vqmmc regulator found [ 1.289954] sunxi-mmc 4022000.sdmmc: No vdmmc regulator found [ 1.296359] sunxi-mmc 4022000.sdmmc: No vd33sw regulator found [ 1.302873] sunxi-mmc 4022000.sdmmc: No vd18sw regulator found [ 1.309381] sunxi-mmc 4022000.sdmmc: No vq33sw regulator found [ 1.315895] sunxi-mmc 4022000.sdmmc: No vq18sw regulator found [ 1.322450] sunxi-mmc 4022000.sdmmc: Cann't get pin bias hs pinstate,check if needed [ 1.331891] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.355582] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.379760] sunxi-mmc 4022000.sdmmc: detmode:alway in(non removable) [ 1.386864] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.399545] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.22 2021-12-20 15:40) [ 1.401471] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.409459] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 [ 1.422177] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.426970] sunxi-mmc 4020000.sdmmc: No vmmc regulator found [ 1.444805] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found [ 1.451222] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found [ 1.457627] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found [ 1.464152] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found [ 1.464594] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.470666] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found [ 1.470672] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found [ 1.482289] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.489147] sunxi-mmc 4020000.sdmmc: Got CD GPIO [ 1.498271] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.523957] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.535074] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator [ 1.538929] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.555182] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.566564] sunxi-mmc 4022000.sdmmc: avoid to switch power_off_notification to POWERED_ON(0x01) [ 1.576457] sunxi-mmc 4022000.sdmmc: avoid to switch power_off_notification to POWERED_ON(0x01) [ 1.579543] sunxi-mmc 4020000.sdmmc: detmode:gpio irq [ 1.586190] sunxi-mmc 4022000.sdmmc: avoid to switch power_off_notification to POWERED_ON(0x01) [ 1.591848] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 1.601536] sunxi-mmc 4022000.sdmmc: avoid to switch power_off_notification to POWERED_ON(0x01) [ 1.613112] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator [ 1.622681] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing MMC-HS(SDR20) dt B [ 1.633572] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.22 2021-12-20 15:40) [ 1.645285] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing MMC-HS(SDR20) dt B [ 1.654762] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 [ 1.666549] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing MMC-HS(SDR20) dt B [ 1.672482] sunxi-mmc 4021000.sdmmc: No vmmc regulator found [ 1.684415] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing MMC-DDR52 dt B [ 1.690522] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found [ 1.690527] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found [ 1.690534] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found [ 1.702072] mmc0: new DDR MMC card at address 0001 [ 1.708284] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found [ 1.708292] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found [ 1.715679] mmcblk0: mmc0:0001 4FTE4R 3.64 GiB [ 1.721249] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found [ 1.726849] mmcblk0rpmb: mmc0:0001 4FTE4R partition 3 512 KiB, chardev (247:0) [ 1.733136] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed [ 1.746127] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 [ 1.773500] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.784638] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 1.804764] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.828936] sunxi-mmc 4021000.sdmmc: detmode:manually by software [ 1.836047] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 52, RE !! [ 1.836357] exFAT: Version 1.3.0 [ 1.846646] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 52, RE !! [ 1.853377] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.865528] NET: Registered protocol family 10 [ 1.871414] Segment Routing with IPv6 [ 1.875614] NET: Registered protocol family 17 [ 1.880699] NET: Registered protocol family 15 [ 1.885759] can: controller area network core (rev 20170425 abi 9) [ 1.892756] NET: Registered protocol family 29 [ 1.897740] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.899658] can: raw protocol (rev 20170425) [ 1.914065] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 5, RE !! [ 1.920694] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 5, RE !! [ 1.927307] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 5, RE !! [ 1.933936] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 5, RE !! [ 1.933963] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 1.940698] Bluetooth: RFCOMM TTY layer initialized [ 1.957102] Bluetooth: RFCOMM socket layer initialized [ 1.962874] Bluetooth: RFCOMM ver 1.11 [ 1.967671] Registering SWP/SWPB emulation handler [ 1.987180] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator [ 1.997141] sunxi-i2c sunxi-i2c2: probe success [ 2.003092] sunxi udc is no enable [ 2.007224] get ehci0-controller wakeup-source is fail. [ 2.013104] sunxi ehci0-controller is no enable [ 2.018157] sunxi-ehci 4101000.ehci0-controller: init_sunxi_hci is fail [ 2.025575] sunxi-ehci: probe of 4101000.ehci0-controller failed with error -1 [ 2.033909] get ohci0-controller wakeup-source is fail. [ 2.039786] sunxi ohci0-controller is no enable [ 2.044840] sunxi-ohci 4101400.ohci0-controller: init_sunxi_hci is fail [ 2.052248] sunxi-ohci: probe of 4101400.ohci0-controller failed with error -1 [ 2.063396] clk: Not disabling unused clocks [ 2.068167] ALSA device list: [ 2.071684] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 2.081332] No soundcards found. [ 2.081359] alloc_fd: slot 0 not NULL! [ 2.085154] cfg80211: failed to load regulatory.db [ 2.094907] Waiting 2 sec before mounting root device... [ 4.121191] random: fast init done [ 4.126824] VFS: Mounted root (squashfs filesystem) readonly on device 179:5. [ 4.136498] devtmpfs: mounted [ 4.140960] Freeing unused kernel memory: 1024K [ 4.159792] Run /pseudo_init as init process mount: mounting none on /dev failed: Resource busy [ 4.418421] EXT4-fs: Warning: mounting with data=journal disables delayed allocation and O_DIRECT support! [ 4.431816] EXT4-fs (mmcblk0p7): mounted filesystem with journalled data mode. Opts: data=journal can't run '/etc/preinit': No such file or directory mount: mounting proc on /proc failed: Resource busy mount: mounting tmpfs on /run failed: No such file or directory hostname: can't open '/etc/hostname': No such file or directory ------run rc.preboot file----- [ 4.586990] EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null) ------run rc.modules file----- insmod: can't insert '/lib/modules/5.4.61/usb-storage.ko': No such file or directory [ 4.611946] sunxi_gpadc_init,2151, success [ 4.616831] sunxi_gpadc_setup: get channel scan data failed [ 4.623430] input: sunxi-gpadc0 as /devices/virtual/input/input0 insmod: can't insert '/lib/modules/5.4.61/8723ds.ko': Operation not permitted [ 9.173522] random: wpa_supplicant: uninitialized urandom read (3 bytes read) [ 9.181533] 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 ------run rc.final file----- Trying to connect to SWUpdate... mount: mounting /dev/mmcblk0p1 on /mnt/extsd failed: No such file or directory BusyBox v1.27.2 () built-in shell (ash) ------run profile file----- _____ _ __ _ |_ _||_| ___ _ _ | | |_| ___ _ _ _ _ | | _ | || | | |__ | || || | ||_'_| | | | || | || _ | |_____||_||_|_||___||_,_| |_| |_||_|_||_|_| Tina is Based on OpenWrt! ---------------------------------------------- Tina Linux (Neptune, 5C1C9C53) ---------------------------------------------- nodev debugfs [ 9.347500] get ctp_name is fail, -22 [ 9.351865] get ctp_power is fail, -22 [ 9.356191] get ctp_power_ldo_vol is fail, -22 [ 9.361883] sunxi_ctp_startup: ctp_power_io is invalid. [ 9.367829] get ctp_gesture_wakeup fail, no gesture wakeup [ 9.374269] gt9xxnew_ts 2-005d: 2-005d supply ctp not found, using dummy regulator [ 9.379695] file system registered swu_param: #### swu_software: #### swu_mode: #### no swupdate_cmd to run, wait for next swupdate sh: write error: No such device [ 9.420072] read descriptors [ 9.423300] read strings [ 9.545816] sunxi-i2c sunxi-i2c2: drv-mode: dma read data end [ 9.579879] input: gt9xxnew_ts as /devices/virtual/input/input1 [ 9.639084] sunxi_can 2504000.can can0: setting BITTIMING=0x001c000b [ 9.646388] IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready root@TinaLinux:/# [ 16.193296] random: crng init done root@TinaLinux:/# root@TinaLinux:/# root@TinaLinux:/# cansend can0 123#1122334455667788 interface = can0, family = 29, type = 3, proto = 1[ 30.130429] sunxi_can 2504000.can can0: error warning interrupt [ 30.141054] sunxi_can 2504000.can can0: bus error interrupt [ 30.147269] sunxi_can 2504000.can can0: New error state: 1
-
qt运行时报错The futex facility returned an unexpected error code.Aborted
用tina编译的qt ,分辨交叉编译了5.12.6 和5.12.9版本,运行qt程序时都报错:
The futex facility returned an unexpected error cod
编译链用的是
toolchain-sunxi-glibc
也参考了论坛上的文章!
https://bbs.aw-ol.com/topic/1836/v853开发板试用-编译qt测试下/2
求大佬们给看看!!