tina 2.0 d1s 的一些问题
-
问题一:
tina 2.0 d1s 编译后 adb 无法使用,根本找不到这个设备
板子输入adbd之后报错问题二:
修改sys_partition.fex
的rootfs
大小后发现无法启动[ 2.256587][ T13] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 2.267116][ T1] ALSA device list: [ 2.271203][ T1] #0: audiocodec [ 2.275266][ T13] cfg80211: failed to load regulatory.db [ 2.281453][ T1] alloc_fd: slot 0 not NULL! [ 2.291093][ T1] [EXFAT] trying to mount... [ 2.297370][ T1] VFS: Cannot open root device "mmcblk0p5" or unknown-block (179,5): error -5 [ 2.307115][ T1] Please append a correct "root=" boot option; here are the available partitions: [ 2.317332][ T1] b300 15267840 mmcblk0 [ 2.317337][ T1] driver: mmcblk [ 2.326562][ T1] b301 252 mmcblk0p1 a0085546-4166-744a-a353-fca9272b8e45 [ 2.326568][ T1] [ 2.338198][ T1] b302 252 mmcblk0p2 a0085546-4166-744a-a353-fca9272b8e46 [ 2.338203][ T1] [ 2.349780][ T1] b303 252 mmcblk0p3 a0085546-4166-744a-a353-fca9272b8e47 [ 2.349784][ T1] [ 2.361391][ T1] b304 10240 mmcblk0p4 a0085546-4166-744a-a353-fca9272b8e48 [ 2.361396][ T1] [ 2.372992][ T1] b305 600000 mmcblk0p5 a0085546-4166-744a-a353-fca9272b8e49 [ 2.372996][ T1] [ 2.384603][ T1] b306 11200 mmcblk0p6 a0085546-4166-744a-a353-fca9272b8e4a [ 2.384608][ T1] [ 2.396185][ T1] b307 5120 mmcblk0p7 a0085546-4166-744a-a353-fca9272b8e4b [ 2.396188][ T1] [ 2.407788][ T1] 103:00000 14602636 mmcblk0p8 a0085546-4166-744a-a353-fca9272b8e4c [ 2.407793][ T1] [ 2.419373][ T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,5) [ 2.429553][ T1] CPU: 0 PID: 1 Comm: swapper Not tainted 5.4.61 #139 [ 2.436915][ T1] Call Trace: [ 2.440427][ T1] [<ffffffe00002512c>] walk_stackframe+0x0/0x98 [ 2.447214][ T1] [<ffffffe0000252e4>] show_stack+0x2a/0x34 [ 2.453616][ T1] [<ffffffe000443b52>] dump_stack+0x20/0x28 [ 2.460016][ T1] [<ffffffe0000296ee>] panic+0xee/0x274 [ 2.466029][ T1] [<ffffffe000000ef6>] mount_block_root+0x214/0x27a [ 2.473202][ T1] [<ffffffe000000fe2>] mount_root+0x86/0x90 [ 2.479599][ T1] [<ffffffe000001134>] prepare_namespace+0x148/0x152 [ 2.486868][ T1] [<ffffffe000000b58>] kernel_init_freeable+0x166/0x198 [ 2.494434][ T1] [<ffffffe000454704>] kernel_init+0x12/0xee [ 2.500929][ T1] [<ffffffe000023e98>] ret_from_exception+0x0/0xc [ 2.507911][ T1] Rebooting in 5 seconds..
-
问题1:
tina2.0默认是host,配置成device就可以用adb:root@TinaLinux:/sys/devices/platform/soc@3000000/soc@3000000:usbc0@0# echo usb_device > otg_role [ 171.811945] [ 171.811945] rmmod_host_driver [ 171.811945] [ 171.818656] [ehci0-controller]: sunxi_usb_disable_ehci [ 171.824447] [sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe00068f870 [ 171.835017] sunxi-ehci 4101000.ehci0-controller: remove, state 4 [ 171.841807] usb usb3: USB disconnect, device number 1 [ 171.848923] sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered [ 171.856575] [ohci0-controller]: sunxi_usb_disable_ohci [ 171.862342] [sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe00068fc38 [ 171.872942] sunxi-ohci 4101400.ohci0-controller: remove, state 4 [ 171.879839] usb usb4: USB disconnect, device number 1 [ 171.886915] sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered [ 171.894459] [ 171.894459] insmod_device_driver [ 171.894459] root@TinaLinux:/sys/devices/platform/soc@3000000/soc@3000000:usbc0@0# [ 172.056247] sunxi_set_cur_vol_work()397 WARN: get power supply failed [ 172.143194] android_work: sent uevent USB_STATE=CONNECTED [ 172.175406] configfs-gadget gadget: high-speed config #1: c [ 172.182249] read descriptors [ 172.185496] read strings [ 172.188699] android_work: sent uevent USB_STATE=DISCONNECTED [ 172.350399] sunxi_set_cur_vol_work()397 WARN: get power supply failed [ 172.436947] android_work: sent uevent USB_STATE=CONNECTED [ 172.468031] configfs-gadget gadget: high-speed config #1: c [ 172.474438] android_work: sent uevent USB_STATE=CONFIGURED [ 197.178135] random: crng init done
-
今天起床重新编译了一下全部好了
所以调程序要看老黄历
-
-
用SDK2.0发现在内核启动时,usb驱动加载很让人迷惑:
先加载device,再卸载device;然后加载host,这个流程合理吗
[ 5.805827] insmod_device_driver [ 6.645776] rmmod_device_driver [ 6.666849] insmod_host_driver
[ 5.527816] EXT4-fs (mmcblk0p8): mounted filesystem without journal. Opts: (null) ------run rc.modules file----- ------run rc.final file----- [ 5.805827] [ 5.805827] insmod_device_driver [ 5.805827] [ 5.813094] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator [ 5.897168] file system registered [ 5.945396] configfs-gadget 4100000.udc-controller: failed to start g1: -19 sh: write error: No such device [ 6.015167] read descriptors [ 6.018693] read strings [ 6.176876] sunxi_set_cur_vol_work()397 WARN: get power supply failed [ 6.263348] android_work: sent uevent USB_STATE=CONNECTED [ 6.344424] configfs-gadget gadget: high-speed config #1: c [ 6.350842] android_work: sent uevent USB_STATE=CONFIGURED [ 6.645776] [ 6.645776] rmmod_device_driver [ 6.645776] [ 6.652603] rmmod_device_driver()222 WARN: get power supply failed [ 6.659652] android_work: sent uevent USB_STATE=DISCONNECTED [ 6.666849] [ 6.666849] insmod_host_driver [ 6.666849] [ 6.673555] [ehci0-controller]: sunxi_usb_enable_ehci [ 6.679372] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe00068f870, 0x:ffffffd00406f000, irq_no:2e [ 6.692996] hci: sunxi_insmod_ehci()601 WARN: get supply failed [ 6.699755] sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator [ 6.712193] sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller [ 6.719482] sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 [ 6.729453] sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 [ 6.765779] sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 [ 6.774939] hub 3-0:1.0: USB hub found [ 6.779358] hub 3-0:1.0: 1 port detected [ 6.787299] [ohci0-controller]: sunxi_usb_enable_ohci [ 6.792959] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe00068fc38 [ 6.803541] hci: sunxi_insmod_ohci()265 WARN: get supply failed [ 6.810240] sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator [ 6.822761] sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller [ 6.830114] sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 [ 6.839936] sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 [ 6.921086] hub 4-0:1.0: USB hub found [ 6.925367] hub 4-0:1.0: 1 port detected host_chose finished! BusyBox v1.27.2 () built-in shell (ash) nice: can't execute '/usr/bin/story_ota_bin': No such file or directory ------run profile file----- _____ _ __ _ |_ _||_| ___ _ _ | | |_| ___ _ _ _ _ | | _ | || | | |__ | || || | ||_'_| | | | || | || _ | |_____||_||_|_||___||_,_| |_| |_||_|_||_|_| Tina is Based on OpenWrt! ---------------------------------------------- Tina Linux (Neptune, 61CC0487) ---------------------------------------------- root@TinaLinux:/#
-
@jmhh247 我摆烂了, usb_port_type = <0x0>;
-
@yuzukitsuru 这个我之前试过,但是没起作用,找时间再试试
-
&usbc0 { device_type = "usbc0"; usb_port_type = <0x0>; usb_detect_type = <0x1>; usb_detect_mode = <0>; usb_id_gpio = <&pio PB 6 GPIO_ACTIVE_HIGH>; /*unused */ enable-active-high; usb_det_vbus_gpio = <&pio PB 2 GPIO_ACTIVE_HIGH>;/*unused */ usb_wakeup_suspend = <0>; usb_serial_unique = <0>; usb_serial_number = "20080411"; rndis_wceis = <1>; status = "okay"; }; &ehci0 { drvvbus-supply = <®_usb1_vbus>; }; &ohci0 { drvvbus-supply = <®_usb1_vbus>; }; &usbc1 { device_type = "usbc1"; usb_port_type = <1>; sb_detect_type = <1>; usb_regulator_io = "nocare"; usb_wakeup_suspend = <0>; status = "okay"; }; &ehci1 { status = "okay"; }; &ohci1 { status = "okay"; };
-
我从别人分享的网盘下的sdk2.0,可能是个假的tina。
改了dts也不行,
发现target/allwinner/d1s-nezha/busybox-init-base-files/etc/init.d/rc.final里面,最后就是要加载host:
if [ x${boot_partition} == xboot ];then amixer cset name="Headphone Switch" 1 cat /sys/devices/platform/soc@3000000/soc@3000000:usbc0@0/usb_host nice -n -20 /usr/bin/story_bin & else cat /sys/devices/platform/soc@3000000/soc@3000000:usbc0@0/usb_host export swu_software=$(fw_printenv -n swu_software 2>/dev/null) export swu_mode=$(fw_printenv -n swu_mode 2>/dev/null) nice -n -20 /usr/bin/story_ota_bin & fi
注释掉usb_host这行,发现启动不太稳定,有时候启动不了。
老哥能发个完整的启动log看看吗,麻雀的
-
[304]HELLO! BOOT0 is starting! [307]BOOT0 commit : 88480af U-Boot 2018.05-g24521d6-dirty-config-dirty (Mar 28 2022 - 18:12:53 +0800) Allwinner Technology [00.386]DRAM: 64 MiB [00.389]Relocation Offset is: 01ee7000 [00.393]secure enable bit: 0 [00.396]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.402]flash init start [00.404]workmode = 0,storage type = 1 [00.408][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 [00.413][mmc]: get sdc_type fail and use default host:tm1. [00.419][mmc]: can't find node "mmc0",will add new node [00.424][mmc]: fdt err returned <no error> [00.428][mmc]: Using default timing para [00.432][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.449][mmc]: card_caps:0x3000000a [00.452][mmc]: host_caps:0x3000003f [00.455]sunxi flash init ok [00.458]line:703 init_clocks [00.461]drv_disp_init [00.473]drv_disp_init finish [00.476]boot_gui_init:start [00.479]set disp.dev2_output_type fail. using defval=0 [00.695]boot_gui_init:finish [00.705]=====================LCD_INIT partno erro : can't find partition bootloader 54 bytes read in 5 ms (9.8 KiB/s) [01.001]bmp_name=bootlogo.bmp size 38454 38454 bytes read in[01.018]LCD open finish 8 ms (4.6 MiB/s) [01.056]Loading Environment from SUNXI_FLASH... OK [01.078]out of usb burn from boot: not need burn key [01.105]Item0 (Map) magic is bad [01.108]the secure storage item0 copy0 magic is bad [01.134]Item0 (Map) magic is bad [01.137]the secure storage item0 copy1 magic is bad [01.141]Item0 (Map) magic is bad partno erro : can't find partition private root_partition is rootfs set root to /dev/mmcblk0p5 [01.159]update part info [01.165]update bootcmd [01.171]change working_fdt 0x42aa6da0 to 0x42a86da0 disable nand error: FDT_ERR_BADPATH No reserved memory region found in source FDT [01.201]update dts noncached_alloc(): addr = 0x42b91080 noncached_alloc(): addr = 0x42b910c0 noncached_alloc(): addr = 0x42b91100 noncached_alloc(): addr = 0x42b91940 geth_sys_init:634: get node 'gmac0' error geth_sys_init fail! [01.222]Board Net Initialization Failed [01.225]No ethernet found. Hit any key to stop autoboot: 2 ... 1 ... 0 [03.572]no vendor_boot partition is found Android's image name: d1s-yuzuki_nezha Detect comp none [03.589] Starting kernel ... [03.592][mmc]: MMC Device 2 not found [03.595][mmc]: mmc 2 not find, so not exit [ 0.000000][ T0] Linux version 5.4.61 (yuzuki@YuzukiOMEN) (riscv64-unknown-linux-gnu-gcc (C-SKY RISCV Tools V1.8.4 B20200702) 8.1.0, GNU ld (GNU Binutils) 2.32) #146 PREEMPT Tue Mar 29 03:29:50 UTC 2022 [ 0.000000][ T0] Zone ranges: [ 0.000000][ T0] DMA32 [mem 0x0000000040000000-0x0000000043ffffff] [ 0.000000][ T0] Normal empty [ 0.000000][ T0] Movable zone start for each node [ 0.000000][ T0] Early memory node ranges [ 0.000000][ T0] node 0: [mem 0x0000000040000000-0x0000000043ffffff] [ 0.000000][ T0] Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] [ 0.000000][ T0] On node 0 totalpages: 16384 [ 0.000000][ T0] DMA32 zone: 224 pages used for memmap [ 0.000000][ T0] DMA32 zone: 0 pages reserved [ 0.000000][ T0] DMA32 zone: 16384 pages, LIFO batch:3 [ 0.000000][ T0] elf_hwcap is 0x20112d [ 0.000000][ T0] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000][ T0] pcpu-alloc: [0] 0 [ 0.000000][ T0] Built 1 zonelists, mobility grouping on. Total pages: 16160 [ 0.000000][ T0] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6-dirty-config-dirty(03/28/ [ 0.000000][ T0] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.000000][ T0] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.000000][ T0] Sorting __ex_table... [ 0.000000][ T0] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000][ T0] Memory: 56412K/65536K available (4557K kernel code, 408K rwdata, 1745K rodata, 144K init, 230K bss, 9124K reserved, 0K cma-reserved) [ 0.000000][ T0] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000][ T0] rcu: Preemptible hierarchical RCU implementation. [ 0.000000][ T0] Tasks RCU enabled. [ 0.000000][ T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000][ T0] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 [ 0.000000][ T0] plic: mapped 200 interrupts with 1 handlers for 2 contexts. [ 0.000000][ T0] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] [ 0.000000][ T0] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000005][ T0] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000026][ T0] riscv_timer_clockevent depends on broadcast, but no broadcast function available [ 0.000372][ T0] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000979][ T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.001001][ T0] pid_max: default: 32768 minimum: 301 [ 0.001180][ T0] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.001202][ T0] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.003237][ T1] ASID allocator initialised with 65536 entries [ 0.003431][ T1] rcu: Hierarchical SRCU implementation. [ 0.004161][ T1] devtmpfs: initialized [ 0.022175][ T1] random: get_random_u32 called from bucket_table_alloc.isra.27+0x10a/0x12c with crng_init=0 [ 0.023107][ T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.023144][ T1] futex hash table entries: 256 (order: 0, 6144 bytes, linear) [ 0.023302][ T1] pinctrl core: initialized pinctrl subsystem [ 0.024500][ T1] NET: Registered protocol family 16 [ 0.025272][ T1] DMA: preallocated 256 KiB pool for atomic allocations [ 0.025948][ T1] cpuidle: using governor menu [ 0.069336][ T1] rtc_ccu: sunxi ccu init OK [ 0.077557][ T1] clock: sunxi ccu init OK [ 0.078646][ T1] clock: sunxi ccu init OK [ 0.115882][ T1] iommu: Default domain type: Translated [ 0.116102][ T1] sunxi iommu: irq = 4 [ 0.117394][ T1] SCSI subsystem initialized [ 0.117600][ T1] usbcore: registered new interface driver usbfs [ 0.117711][ T1] usbcore: registered new interface driver hub [ 0.117847][ T1] usbcore: registered new device driver usb [ 0.118016][ T1] videodev: Linux video capture interface: v2.00 [ 0.118921][ T1] Advanced Linux Sound Architecture Driver Initialized. [ 0.119658][ T1] pwm module init! [ 0.121567][ T1] g2d 5410000.g2d: Adding to iommu group 0 [ 0.122140][ T1] G2D: rcq version initialized.major:252 [ 0.122996][ T1] clocksource: Switched to clocksource riscv_clocksource [ 0.138313][ T1] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver [ 0.141953][ T1] NET: Registered protocol family 2 [ 0.142874][ T1] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.142930][ T1] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.142949][ T1] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.142964][ T1] TCP: Hash tables configured (established 512 bind 512) [ 0.143236][ T1] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.143286][ T1] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.143569][ T1] NET: Registered protocol family 1 [ 0.146562][ T1] workingset: timestamp_bits=62 max_order=14 bucket_order=0 [ 0.156058][ T1] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.156325][ T1] ntfs: driver 2.1.32 [Flags: R/W]. [ 0.177005][ T1] io scheduler mq-deadline registered [ 0.177022][ T1] io scheduler kyber registered [ 0.178287][ T1] [DISP]disp_module_init [ 0.178928][ T1] disp 5000000.disp: Adding to iommu group 0 [ 0.179642][ T1] [DISP] disp_init,line:2386: [ 0.179648][ T1] smooth display screen:0 type:1 mode:4 [ 0.219187][ T1] display_fb_request,fb_id:0 [ 0.224799][ T1] Freeing logo buffer memory: 504K [ 0.225341][ T13] disp_al_manager_apply ouput_type:1 [ 0.225503][ T13] [DISP] lcd_clk_config,line:732: [ 0.225516][ T13] disp 0, clk: pll(192000000),clk(192000000),dclk(8000000) dsi_rate(8000000) [ 0.225516][ T13] clk real:pll(288000000),clk(288000000),dclk(72000000) dsi_rate(150000000) [ 0.226073][ T1] [DISP]disp_module_init finish [ 0.226992][ T1] sunxi_sid_init()551 - insmod ok [ 0.228543][ T1] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator [ 0.229138][ T1] uart uart0: get regulator failed [ 0.229170][ T1] uart uart0: uart0 supply uart not found, using dummy regulator [ 0.229500][ T1] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI [ 0.229533][ T1] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n [ 0.956668][ T1] printk: console [ttyS0] enabled [ 0.963072][ T1] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator [ 0.975292][ T1] uart uart1: get regulator failed [ 0.980845][ T1] uart uart1: uart1 supply uart not found, using dummy regulator [ 0.989715][ T1] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI [ 0.999993][ T1] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator [ 1.012150][ T1] uart uart3: get regulator failed [ 1.017808][ T1] uart uart3: uart3 supply uart not found, using dummy regulator [ 1.026622][ T1] uart3: ttyS3 at MMIO 0x2500c00 (irq = 21, base_baud = 1500000) is a SUNXI [ 1.037505][ T1] misc dump reg init [ 1.042639][ T1] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 [ 1.050667][ T1] sunxi-rfkill soc@3000000:rfkill@0: devm_pinctrl_get() failed! [ 1.059051][ T1] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed [ 1.067202][ T1] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed [ 1.075396][ T1] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) [ 1.082672][ T1] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. [ 1.090446][ T1] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1 [ 1.099101][ T1] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 [ 1.108107][ T1] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled [ 1.116623][ T1] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. [ 1.124197][ T1] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=207 assert=0 [ 1.132939][ T1] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 [ 1.141408][ T1] [ADDR_MGT] addr_mgt_probe: success. [ 1.148326][ T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.156489][ T1] sunxi-ehci: EHCI SUNXI driver [ 1.162300][ T1] get ehci0-controller wakeup-source is fail. [ 1.169063][ T1] sunxi ehci0-controller don't init wakeup source [ 1.176095][ T1] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006db4a0, 0x:ffffffd004071000, irq_no:2e [ 1.190420][ T1] [sunxi-ehci0]: Not init ehci0 [ 1.196129][ T1] get ehci1-controller wakeup-source is fail. [ 1.202841][ T1] sunxi ehci1-controller don't init wakeup source [ 1.209939][ T1] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006dbc30, 0x:ffffffd004075000, irq_no:31 [ 1.224247][ T1] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator [ 1.237513][ T1] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator [ 1.250466][ T1] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller [ 1.258578][ T1] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 [ 1.269213][ T1] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 [ 1.303052][ T1] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 [ 1.312782][ T1] hub 1-0:1.0: USB hub found [ 1.317885][ T1] hub 1-0:1.0: 1 port detected [ 1.324173][ T1] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.331837][ T1] sunxi-ohci: OHCI SUNXI driver [ 1.337734][ T1] get ohci0-controller wakeup-source is fail. [ 1.344513][ T1] sunxi ohci0-controller don't init wakeup source [ 1.351541][ T1] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006db868 [ 1.362725][ T1] [sunxi-ohci0]: Not init ohci0 [ 1.368400][ T1] get ohci1-controller wakeup-source is fail. [ 1.375236][ T1] sunxi ohci1-controller don't init wakeup source [ 1.382229][ T1] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006dbff8 [ 1.393465][ T1] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator [ 1.406761][ T1] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator [ 1.419782][ T1] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller [ 1.427839][ T1] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 [ 1.438913][ T1] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 [ 1.518148][ T1] hub 2-0:1.0: USB hub found [ 1.523255][ T1] hub 2-0:1.0: 1 port detected [ 1.530028][ T1] sunxi-rtc 7090000.rtc: errata__fix_alarm_day_reg_default_value(): ALARM0_DAY_REG=0, set it to 1 [ 1.543479][ T1] sunxi-rtc 7090000.rtc: registered as rtc0 [ 1.550010][ T1] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:00:05 UTC (5) [ 1.559684][ T1] sunxi-rtc 7090000.rtc: sunxi rtc probed [ 1.566464][ T1] i2c /dev entries driver [ 1.571202][ T1] IR NEC protocol handler initialized [ 1.579926][ T1] uvcvideo: Unable to create debugfs directory [ 1.586889][ T1] usbcore: registered new interface driver uvcvideo [ 1.594112][ T1] USB Video Class driver (1.1.1) [ 1.599450][ T1] sunxi cedar version 1.1 [ 1.604427][ T1] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 [ 1.611489][ T1] VE: install start!!! [ 1.611489][ T1] [ 1.618656][ T1] VE: cedar-ve the get irq is 6 [ 1.618656][ T1] [ 1.626540][ T1] VE: install end!!! [ 1.626540][ T1] [ 1.633358][ T1] VE: sunxi_cedar_probe [ 1.640255][ T1] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) [ 1.651046][ T1] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 [ 1.658025][ T1] sunxi-mmc 4020000.sdmmc: No vmmc regulator found [ 1.665200][ T1] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found [ 1.672380][ T1] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found [ 1.679587][ T1] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found [ 1.686929][ T1] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found [ 1.694239][ T1] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found [ 1.701511][ T1] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found [ 1.709641][ T1] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.721552][ T1] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator [ 1.742484][ T1] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.767535][ T1] sunxi-mmc 4020000.sdmmc: detmode:gpio polling [ 1.774403][ T13] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.787557][ T1] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) [ 1.798478][ T1] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 [ 1.805554][ T1] sunxi-mmc 4021000.sdmmc: No vmmc regulator found [ 1.812687][ T1] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found [ 1.819928][ T13] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.832318][ T1] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found [ 1.839532][ T1] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found [ 1.846958][ T1] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found [ 1.854342][ T1] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found [ 1.861667][ T1] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found [ 1.869052][ T1] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed [ 1.878572][ T13] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.891692][ T1] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.903785][ T1] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 1.913869][ T13] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.926264][ T1] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.951375][ T1] sunxi-mmc 4021000.sdmmc: detmode:manually by software [ 1.960035][ C0] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 1.968134][ T1] ashmem: initialized [ 1.972452][ C0] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 1.980144][ T5] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.992533][ T1] exFAT: Version 1.3.0 [ 2.000133][ T5] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.012538][ T13] mmc0: host does not support reading read-only switch, assuming write-enable [ 2.024648][ T1] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:19, mic2gain:19 pa_msleep:120, pa_level:1, pa_pwr_level:1 [ 2.024648][ T1] [ 2.043560][ T1] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 [ 2.055301][ T13] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 2.068096][ T1] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished [ 2.077043][ C0] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.084740][ T13] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 2.097162][ C0] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.105571][ C0] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.113401][ T13] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B [ 2.125822][ C0] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.133390][ T5] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.145792][ T1] sid_rd_ver_reg()254 - ver >= 4, soc ver:5 [ 2.152307][ T1] [SNDCODEC][sunxi_card_init][583]:card init finished [ 2.162483][ T1] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok [ 2.173211][ T13] mmc0: new high speed SDHC card at address b368 [ 2.181531][ T13] mmcblk0: mmc0:b368 NCard 14.6 GiB [ 2.188544][ T1] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 [ 2.204504][ T1] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished [ 2.214262][ T13] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 [ 2.221595][ T1] NET: Registered protocol family 10 [ 2.231653][ T1] Segment Routing with IPv6 [ 2.236917][ T1] NET: Registered protocol family 17 [ 2.244942][ T13] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator [ 2.261028][ T13] sunxi-i2c sunxi-i2c2: probe success [ 2.272285][ T1] clk: Not disabling unused clocks [ 2.278409][ T13] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 2.288941][ T1] ALSA device list: [ 2.293103][ T1] #0: audiocodec [ 2.297104][ T1] alloc_fd: slot 0 not NULL! [ 2.302698][ T13] cfg80211: failed to load regulatory.db [ 2.323152][ T1] EXT4-fs (mmcblk0p5): mounted filesystem without journal. Opts: (null) [ 2.332399][ T1] VFS: Mounted root (ext4 filesystem) readonly on device 179:5. [ 2.342216][ T1] devtmpfs: mounted [ 2.346554][ T1] Freeing unused kernel memory: 144K [ 2.352278][ T1] This architecture does not have kernel memory protection. [ 2.360319][ T1] Run /pseudo_init as init process mount: mounting none on /dev failed: Device or resource busy mount: mounting /dev/by-name/rootfs_data on /overlay failed: Invalid argument 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: Device or resource busy mount: mounting tmpfs on /run failed: No such file or directory [ 2.742162][ T91] EXT4-fs (mmcblk0p5): re-mounted. Opts: (null) 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 [ 2.863138][ T13] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 ------run rc.modules file----- ------run rc.final file----- [ 2.930690][ T111] [ 2.930690][ T111] insmod_host_driver [ 2.930690][ T111] [ 2.943946][ T111] [ehci0-controller]: sunxi_usb_enable_ehci [ 2.951019][ T111] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006db4a0, 0x:ffffffd004071000, irq_no:2e [ 2.969093][ T111] hci: sunxi_insmod_ehci()601 WARN: get supply failed [ 2.977013][ T111] sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator [ 2.993559][ T111] sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller [ 3.001596][ T111] sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 [ 3.017937][ T111] sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 [ 3.063121][ T111] sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 [ 3.084293][ T111] hub 3-0:1.0: USB hub found [ 3.089334][ T111] hub 3-0:1.0: 1 port detected [ 3.104790][ T111] [ohci0-controller]: sunxi_usb_enable_ohci [ 3.111203][ T111] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006db868 [ 3.143768][ T111] hci: sunxi_insmod_ohci()265 WARN: get supply failed [ 3.151165][ T111] sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator [ 3.199530][ T111] sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller [ 3.217544][ T111] sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 [ 3.237039][ T111] sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 [ 3.245503][ C0] random: fast init done [ 3.311816][ T133] file system registered [ 3.332762][ T111] hub 4-0:1.0: USB hub found [ 3.343198][ T111] hub 4-0:1.0: 1 port detected host_chose finished! [ 3.363111][ T59] [ 3.363111][ T59] rmmod_host_driver [ 3.363111][ T59] [ 3.372039][ T59] [ehci0-controller]: sunxi_usb_disable_ehci [ 3.401325][ T59] [sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006db4a0 [ 3.415632][ T113] configfs-gadget 4100000.udc-controller: failed to start g1: -19 BusyBox v1.27.2 () built-in shell (ash) sh: write error: No such device[ 3.445531][ T59] sunxi-ehci 4101000.ehci0-controller: remove, state 4 ------run profile file----- nice: can't execute '/usr/bin/story_ota_bin': No such file or directory [ 3.503131][ T59] usb usb3: USB disconnect, device number 1 _ _ _ ____ _____ | | | | Powered by OpenWRT | | / __ \ / ____| | | | |_ __ _ _ ___ ___ | | __ _| | | | (___ | | | | '_ \| | | / __|/ _ \| |/ _` | | | |\___ \ | |__| | | | | |_| \__ \ (_) | | (_| | |__| |____) | \____/|_| |_|\__,_|___/\___/|_|\__,_|\____/|_____/ ----------------------[ 3.539688][ T59] sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered ------------------------------ Yuzuki UnusolaOS (v1.0, Tina: 61CC0487) ---------------------------------------------------- [ 3.563240][ T153] read descriptors [ 3.567245][ T153] read strings [ 3.582720][ T59] [ohci0-controller]: sunxi_usb_disable_ohci [ 3.589634][ T59] [sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006db868 [ 3.609221][ T59] sunxi-ohci 4101400.ohci0-controller: remove, state 4 [ 3.618260][ T59] usb usb4: USB disconnect, device number 1 [ 3.626411][ T59] sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered root@TinaLinux:/# [ 3.635799][ T59] [ 3.635799][ T59] insmod_device_driver [ 3.635799][ T59] [ 3.646861][ T59] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator [ 3.659712][ T59] device_chose finished 139! [ 3.813980][ T13] sunxi_set_cur_vol_work()397 WARN: get power supply failed [ 3.895639][ T13] android_work: sent uevent USB_STATE=CONNECTED [ 3.930050][ C0] configfs-gadget gadget: high-speed config #1: c [ 3.937220][ T13] android_work: sent uevent USB_STATE=CONFIGURED root@TinaLinux:/#
-
好的,时间后面中括号的T是黑科技吗,我的没有这个
[ 3.415632][ T1]
-
@jmhh247 是kernel hacking的选项,不用管他
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号