device/ 针对kernel,driver,dts等
target/ 针对文件系统等
WhycanService 发布的帖子
-
回复: F133A 向SPI FLASH烧录IMG镜像用哪个软件
使用PhoenixSuit,记得安装驱动
【教程】安装USB驱动程序
https://bbs.aw-ol.com/topic/2045/share/1 -
回复: 请问不同驱动中的probe函数执行顺序是怎么样的?
@masterlu probe的执行可以修改
module_init();
等级为6
fs_initcall();
等级为5如果不放心就使用module后期加载
可以使用
cat /sys/kernel/debug/clk/clksummary
查看 clk 是否正常 -
回复: 全志D1哪吒开发板 frambuffer 测试
rm red.bin -rf && while [ 1 ]; do echo -n -e "\x00\x00\xff\xff" >> red.bin; done;
rm blue.bin -rf && while [ 1 ]; do echo -n -e "\xff\x00\x00\xff" >> blue.bin; done;
rm green.bin -rf && while [ 1 ]; do echo -n -e "\x00\xff\x00\xff" >> green.bin; done;
-
回复: T113-S3无法下载镜像
楼主您好,这是贴log的正确姿势:
[22]HELLO! BOOT0 is starting! [25]BOOT0 commit : 88480af-dirty [28]set pll start [34]periph0 has been enabled [37]set pll end [38][pmu]: bus read error [41]board init ok [43]ZQ value = 0x2f [44]get_pmu_exist() = -1 [47]ddr_efuse_type: 0xa [49]trefi:7.8ms [52][AUTO DEBUG] single rank and full DQ! [56]ddr_efuse_type: 0xa [58]trefi:7.8ms [60][AUTO DEBUG] rank 0 row = 13 [63][AUTO DEBUG] rank 0 bank = 8 [67][AUTO DEBUG] rank 0 page size = 2 KB [70]DRAM BOOT DRIVE INFO: V0.33 [73]DRAM CLK = 936 MHz [76]DRAM Type = 3 (2:DDR2,3:DDR3) [79]DRAMC read ODT off. [81]DRAM ODT value: 0x42. [84]ddr_efuse_type: 0xa [87]DRAM SIZE =128 M [89]dram_tpr4:0x0 [90]PLL_DDR_CTRL_REG:0xf8004d00 [93]DRAM_CLK_REG:0xc0000000 [96][TIMING DEBUG] MR2= 0x20 [104]DRAM simple test OK. [106]rtc standby flag is 0x0, super standby flag is 0x0 [111]dram size =128 [114]card no is 0 [116]sdcard 0 line count 4 [118][mmc]: mmc driver ver 2021-05-21 14:47 [128][mmc]: Wrong media type 0x0 [130][mmc]: ***Try SD card 0*** [143][mmc]: HSSDR52/SDR25 4 bit [146][mmc]: 50000000 Hz [148][mmc]: 1876 MB [150][mmc]: ***SD/MMC 0 init OK!!!*** [232]Loading boot-pkg Succeed(index=0). [236]Entry_name = u-boot [241]Entry_name = optee [245]Entry_name = dtb [248]mmc not para [250]Jump to second Boot. M/TC: OP-TEE version: 6aef7bb2-dirty (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Fri Jul 23 09:25:11 UTC 2021 arm U-Boot 2018.05-g24521d6-dirty (Sep 21 2022 - 12:06:27 +0800) Allwinner Technology [00.303]CPU: Allwinner Family [00.306]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.327]DRAM: 128 MiB [00.330]Relocation Offset is: 04f01000 [00.350]secure enable bit: 0 [00.352]smc_tee_inform_fdt failed with: -65526[00.357]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.363]gic: sec monitor mode [00.366]flash init start [00.368]workmode = 0,storage type = 1 [00.371][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 [00.377][mmc]: get sdc_type fail and use default host:tm1. [00.383][mmc]: can't find node "mmc0",will add new node [00.388][mmc]: fdt err returned <no error> [00.391][mmc]: Using default timing para [00.395][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.416][mmc]: card_caps:0x3000000a [00.419][mmc]: host_caps:0x3000003f [00.423]sunxi flash init ok [00.435]Loading Environment from SUNXI_FLASH... OK [00.469]Item0 (Map) magic is bad [00.471]the secure storage item0 copy0 magic is bad [00.488]Item0 (Map) magic is bad [00.491]the secure storage item0 copy1 magic is bad [00.495]Item0 (Map) magic is bad secure storage read widevine fail [00.501]secure storage read widevine fail with:-1 secure storage read ec_key fail [00.508]secure storage read ec_key fail with:-1 secure storage read ec_cert1 fail [00.516]secure storage read ec_cert1 fail with:-1 secure storage read ec_cert2 fail [00.523]secure storage read ec_cert2 fail with:-1 secure storage read ec_cert3 fail [00.531]secure storage read ec_cert3 fail with:-1 secure storage read rsa_key fail [00.538]secure storage read rsa_key fail with:-1 secure storage read rsa_cert1 fail [00.545]secure storage read rsa_cert1 fail with:-1 secure storage read rsa_cert2 fail [00.553]secure storage read rsa_cert2 fail with:-1 secure storage read rsa_cert3 fail [00.561]secure storage read rsa_cert3 fail with:-1 [00.565]out of usb burn from boot: not need burn key root_partition is rootfs set root to /dev/mmcblk0p5 [00.575]update part info [00.579]update bootcmd [00.583]change working_fdt 0x43ec0e70 to 0x43ea0e70 disable nand error: FDT_ERR_BADPATH [00.604]update dts Hit any key to stop autoboot: 0 [01.795]no vendor_boot partition is found Android's image name: t113-nezha [01.806]Starting kernel ... [01.808][mmc]: MMC Device 2 not found [01.812][mmc]: mmc 2 not find, so not exit [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.4.61 (xulu@mylinux) (arm-openwrt-linux-muslgnueabi-gcc.bin (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) 6.4.1, GNU ld (GNU Binutils) 2.27) #138 SMP PREEMPT Sun Oct 2 02:45:48 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 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: earlyprintk=sunxi-uart,0x02500C00 clk_ignore_unused initcall_debug=0 console=ttyS3,115200 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=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun8iw20p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6-dirty(09/21/2022-12:06:27) 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: 109632K/131072K available (6144K kernel code, 269K rwdata, 1580K rodata, 1024K init, 1165K bss, 13248K 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.007998] Switching to timer-based delay loop, resolution 41ns [ 0.014167] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.023871] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.034220] pid_max: default: 32768 minimum: 301 [ 0.038944] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.046258] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.054569] CPU: Testing write buffer coherency: ok [ 0.059781] /cpus/cpu@0 missing clock-frequency property [ 0.065104] /cpus/cpu@1 missing clock-frequency property [ 0.070444] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.076596] Setting up static identity map for 0x40100000 - 0x40100060 [ 0.083259] rcu: Hierarchical SRCU implementation. [ 0.088460] smp: Bringing up secondary CPUs ... [ 0.094065] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.094183] smp: Brought up 1 node, 2 CPUs [ 0.103995] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.110165] CPU: All CPU(s) started in SVC mode. [ 0.115230] devtmpfs: initialized [ 0.130017] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.138100] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.147982] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.155211] pinctrl core: initialized pinctrl subsystem [ 0.161628] NET: Registered protocol family 16 [ 0.167481] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.211609] rtc_ccu: sunxi ccu init OK [ 0.217805] ccu: sunxi ccu init OK [ 0.221657] r_ccu: sunxi ccu init OK [ 0.264086] iommu: Default domain type: Translated [ 0.269170] sunxi iommu: irq = 24 [ 0.273590] SCSI subsystem initialized [ 0.277912] usbcore: registered new interface driver usbfs [ 0.285093] usbcore: registered new interface driver hub [ 0.290546] usbcore: registered new device driver usb [ 0.295853] videodev: Linux video capture interface: v2.00 [ 0.302387] Advanced Linux Sound Architecture Driver Initialized. [ 0.309133] Bluetooth: Core ver 2.22 [ 0.312798] NET: Registered protocol family 31 [ 0.317254] Bluetooth: HCI device and connection manager initialized [ 0.323626] Bluetooth: HCI socket layer initialized [ 0.328516] Bluetooth: L2CAP socket layer initialized [ 0.333579] Bluetooth: SCO socket layer initialized [ 0.338731] pwm module init! [ 0.342993] g2d 5410000.g2d: Adding to iommu group 0 [ 0.348329] G2D: rcq version initialized.major:252 [ 0.353972] clocksource: Switched to clocksource arch_sys_counter [ 0.368946] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver [ 0.378684] NET: Registered protocol family 2 [ 0.383578] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.391989] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.399671] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.406732] TCP: Hash tables configured (established 1024 bind 1024) [ 0.413190] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.419765] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.426926] NET: Registered protocol family 1 [ 0.432249] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator [ 0.442561] spi spi0: spi0 supply spi not found, using dummy regulator [ 0.449343] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE [ 0.455501] sunxi_spi_resource_get()2189 - Failed to get sample mode [ 0.461864] sunxi_spi_resource_get()2194 - Failed to get sample delay [ 0.468324] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 [ 0.476740] sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 [ 0.483069] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base c881f000, irq 40 [ 0.493011] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 0.506531] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.512555] ntfs: driver 2.1.32 [Flags: R/W]. [ 0.547028] io scheduler mq-deadline registered [ 0.551559] io scheduler kyber registered [ 0.557580] [DISP]disp_module_init [ 0.561532] disp 5000000.disp: Adding to iommu group 0 [ 0.583707] display_fb_request,fb_id:0 [ 0.589425] [DISP] Fb_copy_boot_fb,line:1443: [ 0.589430] no boot_fb0 [ 0.596728] disp_al_manager_apply ouput_type:0 [ 0.602105] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator [ 0.604531] [DISP]disp_module_init finish [ 0.617262] sunxi_sid_init()551 - insmod ok [ 0.622539] uart uart3: get regulator failed [ 0.626866] uart uart3: uart3 supply uart not found, using dummy regulator [ 0.634076] uart3: ttyS3 at MMIO 0x2500c00 (irq = 34, base_baud = 1500000) is a SUNXI [ 0.641922] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n ▒[ 0.649930] printk: console [ttyS3] enabled [ 0.649930] printk: console [ttyS3] enabled [ 0.658862] printk: bootconsole [earlycon0] disabled [ 0.658862] printk: bootconsole [earlycon0] disabled [ 0.670428] misc dump reg init [ 0.675116] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator [ 0.686351] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 [ 0.693592] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed [ 0.700940] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed [ 0.708377] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) [ 0.714929] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. [ 0.721877] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1) [ 0.729617] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1 [ 0.737485] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 [ 0.745623] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled [ 0.753276] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. [ 0.760059] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1) [ 0.767614] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=141 assert=0 [ 0.775158] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator [ 0.787006] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 [ 0.794269] [ADDR_MGT] addr_mgt_probe: success. [ 0.799749] dma-buf: Running sanitycheck [ 0.804201] dma-buf: Running dma_fence [ 0.808403] sizeof(dma_fence)=48 [ 0.812132] dma-buf: Running dma_fence/sanitycheck [ 0.817542] dma-buf: Running dma_fence/test_signaling [ 0.823209] dma-buf: Running dma_fence/test_add_callback [ 0.829201] dma-buf: Running dma_fence/test_late_add_callback [ 0.835673] dma-buf: Running dma_fence/test_rm_callback [ 0.841534] dma-buf: Running dma_fence/test_late_rm_callback [ 0.847892] dma-buf: Running dma_fence/test_status [ 0.853265] dma-buf: Running dma_fence/test_error [ 0.858547] dma-buf: Running dma_fence/test_wait [ 0.863726] dma-buf: Running dma_fence/test_wait_timeout [ 0.865711] smallwitpi lcd_panel_init 235 xxxxxxxxxxxxxxxxxx [ 0.913980] dma-buf: Running dma_fence/test_stub [ 0.919179] dma-buf: Running dma_fence/race_signal_callback [ 0.954159] [DISP] disp_device_attached_and_enable,line:233: [ 0.954165] attached ok, mgr0<-->dev0 [ 0.973972] [DISP] disp_device_attached_and_enable,line:236: [ 0.973980] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:0 dvi_hdmi:2, range:2 scan:0 ratio:8 [ 0.993994] thread_signal_callback[0] completed 21929 passes, 42 misses [ 1.001451] thread_signal_callback[1] completed 21954 passes, 67 misses [ 1.073978] thread_signal_callback[0] completed 40388 passes, 40387 misses [ 1.081723] thread_signal_callback[1] completed 40461 passes, 40461 misses [ 1.090015] sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 [ 1.097355] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 [ 1.111065] random: fast init done [ 1.395865] random: crng init done [ 2.104026] sunxi-spinand-phy: read id failed : -110 [ 2.109618] spi-nand: probe of spi0.0 failed with error -110 [ 2.116495] libphy: Fixed MDIO Bus: probed [ 2.121960] sunxi gmac driver's version: 1.0.0 [ 2.127162] gmac-power0: NULL [ 2.130490] gmac-power1: NULL [ 2.133839] gmac-power2: NULL [ 2.138219] Failed to alloc md5 [ 2.141749] eth0: Use random mac address [ 2.146493] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.153839] sunxi-ehci: EHCI SUNXI driver [ 2.158826] get ehci0-controller wakeup-source is fail. [ 2.164851] sunxi ehci0-controller don't init wakeup source [ 2.171108] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0b5f278, 0x:c8837000, irq_no:3b [ 2.183138] [sunxi-ehci0]: Not init ehci0 [ 2.187929] get ehci1-controller wakeup-source is fail. [ 2.193873] sunxi ehci1-controller don't init wakeup source [ 2.200173] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0b5f798, 0x:c883b000, irq_no:3d [ 2.212223] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator [ 2.224780] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator [ 2.236997] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller [ 2.244275] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 [ 2.254246] sunxi-ehci 4200000.ehci1-controller: irq 61, io mem 0x04200000 [ 2.283996] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 [ 2.292670] hub 1-0:1.0: USB hub found [ 2.296949] hub 1-0:1.0: 1 port detected [ 2.302045] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 2.309026] sunxi-ohci: OHCI SUNXI driver [ 2.314028] get ohci0-controller wakeup-source is fail. [ 2.320019] sunxi ohci0-controller don't init wakeup source [ 2.326290] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0b5f508 [ 2.335969] [sunxi-ohci0]: Not init ohci0 [ 2.340739] get ohci1-controller wakeup-source is fail. [ 2.346709] sunxi ohci1-controller don't init wakeup source [ 2.352982] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0b5fa28 [ 2.362680] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator [ 2.375215] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator [ 2.387439] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller [ 2.394717] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 [ 2.404646] sunxi-ohci 4200400.ohci1-controller: irq 62, io mem 0x04200400 [ 2.478849] hub 2-0:1.0: USB hub found [ 2.483120] hub 2-0:1.0: 1 port detected [ 2.488382] i2c /dev entries driver [ 2.492388] sunxi cedar version 1.1 [ 2.496513] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 [ 2.502828] VE: sunxi_cedar_probe power-domain init!!! [ 2.508610] VE: install start!!! [ 2.508610] [ 2.514181] VE: cedar-ve the get irq is 41 [ 2.514181] [ 2.520650] VE: ve_debug_proc_info:de196ca4, data:2a6a4c60, lock:3e85bfd2 [ 2.520650] [ 2.529941] VE: install end!!! [ 2.529941] [ 2.535042] VE: sunxi_cedar_probe [ 2.539055] Bluetooth: HCI UART driver ver 2.3 [ 2.544068] Bluetooth: HCI UART protocol H4 registered [ 2.549847] Bluetooth: HCI UART protocol BCSP registered [ 2.555818] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 [ 2.564876] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) [ 2.574892] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 [ 2.581092] sunxi-mmc 4020000.sdmmc: No vmmc regulator found [ 2.587466] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found [ 2.593912] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found [ 2.600382] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found [ 2.606934] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found [ 2.613477] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found [ 2.620035] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found [ 2.627023] sunxi-mmc 4020000.sdmmc: Got CD GPIO [ 2.632418] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail [ 2.639108] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.650298] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator [ 2.670456] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.694879] sunxi-mmc 4020000.sdmmc: detmode:gpio irq [ 2.700586] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.704582] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) [ 2.715353] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.722181] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 [ 2.735935] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.739796] sunxi-mmc 4021000.sdmmc: No vmmc regulator found [ 2.754362] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.757706] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found [ 2.775766] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found [ 2.782211] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found [ 2.788764] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found [ 2.795316] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found [ 2.801857] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found [ 2.805387] mmc0: host does not support reading read-only switch, assuming write-enable [ 2.808429] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed [ 2.819487] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 2.826879] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.837831] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 2.848826] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 2.860667] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B [ 2.879919] mmc0: new high speed SD card at address 0001 [ 2.880652] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.887052] mmcblk0: mmc0:0001 SD2GB 1.83 GiB [ 2.906090] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 [ 2.910168] sunxi-mmc 4021000.sdmmc: detmode:manually by software [ 2.918581] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.924427] sun8iw20-pinctrl 2000000.pinctrl: unsupported function ledc on pin PE11 [ 2.939102] sunxi_led_probe()1749 - start [ 2.940093] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.943625] sunxi_get_str_of_property()1595 - failed to get the string of propname led_regulator! [ 2.965225] sunxi-mmc 4021000.sdmmc: card claims to support voltages below defined range [ 2.974347] sunxi_register_led_classdev()1483 - led_classdev start [ 2.982461] sun8iw20-pinctrl 2000000.pinctrl: unsupported function ledc on pin PE11 [ 2.991201] sunxi_ledc_pinctrl_init()1345 - devm_pinctrl_get_select_default failed! [ 2.999960] sunxi_led_probe()1845 - finish [ 3.004892] exFAT: Version 1.3.0 [ 3.011286] sun8iw20-pinctrl 2000000.pinctrl: unsupported function i2s1 on pin PG14 [ 3.019977] sun8iw20-pinctrl 2000000.pinctrl: unsupported function i2s1 on pin PG15 [ 3.028814] sun8iw20-pinctrl 2000000.pinctrl: pin PG11 already requested by soc@3000000:rfkill@0; cannot claim for 2033000.daudio [ 3.041932] sun8iw20-pinctrl 2000000.pinctrl: pin-203 (2033000.daudio) status -22 [ 3.050377] sun8iw20-pinctrl 2000000.pinctrl: could not request pin 203 (PG11) from group PG11 on device 2000000.pinctrl [ 3.062695] sunxi-daudio 2033000.daudio: Error applying setting, reverse things back [ 3.071435] sunxi-daudio: probe of 2033000.daudio failed with error -22 [ 3.079152] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator [ 3.090631] sunxi-daudio 2034000.daudio: regulator missing or invalid [ 3.098415] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 [ 3.098415] [ 3.115651] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 [ 3.126618] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 3.127039] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished [ 3.138271] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 3.147362] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! [ 3.168095] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B [ 3.168161] [SNDCODEC][sunxi_card_init][583]:card init finished [ 3.187171] mmc1: new high speed SDIO card at address 0001 [ 3.187311] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok [ 3.204374] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 [ 3.216423] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished [ 3.224993] NET: Registered protocol family 10 [ 3.231028] Segment Routing with IPv6 [ 3.235214] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch [ 3.242651] NET: Registered protocol family 17 [ 3.247808] Bluetooth: RFCOMM TTY layer initialized [ 3.253290] Bluetooth: RFCOMM socket layer initialized [ 3.259180] Bluetooth: RFCOMM ver 1.11 [ 3.264002] Registering SWP/SWPB emulation handler [ 3.283528] sun8iw20-pinctrl 2000000.pinctrl: pin PB3 already requested by 2034000.daudio; cannot claim for 2502000.twi [ 3.295717] sun8iw20-pinctrl 2000000.pinctrl: pin-35 (2502000.twi) status -22 [ 3.303726] sun8iw20-pinctrl 2000000.pinctrl: could not request pin 35 (PB3) from group PB3 on device 2000000.pinctrl [ 3.315776] sunxi-i2c 2502000.twi: Error applying setting, reverse things back [ 3.323910] sunxi-i2c: probe of 2502000.twi failed with error -22 [ 3.331607] sun8iw20-pinctrl 2000000.pinctrl: unsupported function i2s1 on pin PG14 [ 3.340228] sun8iw20-pinctrl 2000000.pinctrl: unsupported function i2s1 on pin PG15 [ 3.349024] sun8iw20-pinctrl 2000000.pinctrl: pin PG11 already requested by soc@3000000:rfkill@0; cannot claim for 2033000.daudio [ 3.362115] sun8iw20-pinctrl 2000000.pinctrl: pin-203 (2033000.daudio) status -22 [ 3.370522] sun8iw20-pinctrl 2000000.pinctrl: could not request pin 203 (PG11) from group PG11 on device 2000000.pinctrl [ 3.382825] sunxi-daudio 2033000.daudio: Error applying setting, reverse things back [ 3.391543] sunxi-daudio: probe of 2033000.daudio failed with error -22 [ 3.400453] sunxi-audio-card 20340a0.sounddaudio2: use dummy codec for simple card. [ 3.409221] debugfs: Directory '2034000.daudio' with parent 'snddaudio2' already present! [ 3.418835] sunxi-audio-card 20340a0.sounddaudio2: snd-soc-dummy-dai <-> 2034000.daudio mapping ok [ 3.433231] clk: Not disabling unused clocks [ 3.438459] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 3.444004] ALSA device list: [ 3.448169] cfg80211: failed to load regulatory.db [ 3.451497] #0: audiocodec [ 3.460083] #1: snddaudio2 [ 3.463318] alloc_fd: slot 0 not NULL! [ 3.474409] VFS: Mounted root (squashfs filesystem) readonly on device 179:5. [ 3.487240] devtmpfs: mounted [ 3.492457] Freeing unused kernel memory: 1024K [ 3.504169] Run /pseudo_init as init process mount: mounting none on /dev failed: Resource busy mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... /pseudo_init: line 395: mkfs.ext4: not found 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----- /etc/init.d/rcS: line 136: mkfs.ext4: not found [ 3.813916] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. ------run rc.modules file----- ------run rc.final file----- numid=30,iface=MIXER,name='Headphone Switch' ; type=BOOLEAN,access=rw------,values=1 : values=on ------light up RGB LED----- [ 3.983090] file system registered [ 4.000113] configfs-gadget 4100000.udc-controller: failed to start g1: -19 sh: write error: No such device [ 4.022329] read descriptors [ 4.025614] read strings ------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 root@TinaLinux:/# [ 7.034253] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator root@TinaLinux:/# root@TinaLinux:/# root@TinaLinux:/# root@TinaLinux:/# root@TinaLinux:/# root@TinaLinux:/# root@TinaLinux:/#
以上是 T113-S3从SDC0 TF卡启动日志。
-
回复: 请问Ubuntu18.04,32bit 的 .so文件 是复制到 /usr/lib32,64bit的so文件是复制到 /usr/lib/ 目录吗?
安装相关软件包:
sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install gcc-multilib libc6:i386 libncurses5:i386 libstdc++6:i386 libasound2*:i386
编译x64版本可执行程序:
gcc -o test test.c
编译i386版本可执行程序:
gcc -o test -m32 test.c
-
回复: 请问Ubuntu18.04,32bit 的 .so文件 是复制到 /usr/lib32,64bit的so文件是复制到 /usr/lib/ 目录吗?
是的,gcc -m32 命令会自动去找 /lib32,/usr/lib32 目录下面的so文件。
-
回复: 编译内核的脚本在哪里?
@kelsey
lichee/linux-5.4/Makefile
tina linux 对齐进行了封装,mkernel后会自动配置环境变量与编译,实际使用的makefile还是内核自己的 -
回复: D1S编译tina启动不了
@easytech
看起来只有 boot0 启动了, u-boot 没有见到日志输出。下面这个修改了吗?
1.2.修改UBOOT CONSOLE INDEX
1)路径为:tina-d1-h/lichee/brandy-2.0/u-boot-2018/configs/sun20iw1p1_defconfig2)在最后添加
CONFIG_SPECIFY_CONSOLE_INDEX=y CONFIG_CONS_INDEX=2