报出现 Warning: unable to open an initial console.
这个问题,会不会是init进程没启动,求大佬分析一下
RTQQQ 发布的帖子
-
回复: T113-S3 修改串口后无法登录进控制台
-
T113-S3 修改串口后无法登录进控制台
使用的是官方平台下载的的tina2.0的sdk,一直卡在这里,进不去控制台,修改的方法是按照论坛里的修改的。请教各位大佬看看原因。 -
Tina 编译系统时,如何把某个动态链接库编译进去
在编译镜像的时候,如何把package里的库编译进去,我想编译libsndfile这个库,在menuconfig里面默认选中了,在编译过程中也看到install 的相关信息了,但是在系统里面没有发现相关的动态链接库。
-
T113使用 主线配置 I2S 声卡,内核无法probe ,启动时报[ 12.007818] platform sound: deferred probe pending
在内核中,添加AC108声卡的代码,并选中asoc simple sound card的驱动,编译都通过了。但是启动的时候无任何输出。只有最终内核启动结束时报platform sound: deferred probe pending。
附上设备树sound { compatible = "simple-audio-card"; #address-cells = <1>; #size-cells = <0>; simple-audio-card,format = "i2s"; simple-audio-card,name = "8CH_MIC"; state="okay"; simple-audio-card,cpu{ sound-dai = <&i2s1>; }; simple-audio-card,codec { sound-dai = <&ac108>; }; }; &i2c1 { pinctrl-0 = <&i2c1_pg8_pins>; pinctrl-names = "default"; status = "okay"; ac108: ac108@3b{ #sound-dai-cells = <0>; compatible = "Allwinnertech,MicArray_0"; device_type ="MicArray_0"; reg = <0x3B>; power_voltage = <3300000>; regulator_name = "vcc-3v3"; power_gpio_used = <0x0>; reset_gpio_used = <0x0>; twi_bus = <0x1>; pga_gain = <0x14>; slot_width = <0x20>; lrck_period = <0x100>; ref_pga_used = <0x1>; ref_pga_gain = <0x10>; ref_channel = <0x3>; debug_mode = <0x0>; status ="okay"; }; ac108@35{ #sound-dai-cells = <0>; compatible = "Allwinnertech,MicArray_1"; device_type ="MicArray_1"; reg = <0x35>; power_voltage = <3300000>; regulator_name = "vcc-3v3"; power_gpio_used = <0x0>; reset_gpio_used = <0x0>; twi_bus = <0x1>; pga_gain = <0x14>; slot_width = <0x20>; lrck_period = <0x100>; ref_pga_used = <0x1>; ref_pga_gain = <0x10>; ref_channel = <0x3>; debug_mode = <0x0>; status ="okay"; }; }; &i2s1 { state="okay"; pinctrl-0 = <&i2s1_pg11_pins>,<&i2s1_din_pg14_pins>; pinctrl-names = "default"; };
再附上启动log
[I] Allwinner T113 starting... [W] SMHC: error 0x100 status 0x0 [W] SMHC: cmd timeout [W] SMHC: error 0x100 status 0x0 [W] SMHC: cmd timeout [I] SPI-NAND: W25N01GV detected [I] SPI-NAND: read dt blob of size 24763 at 43.00MB/S [I] SPI-NAND: read Image of size 5359640 at 49.00MB/S [I] booting linux... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 6.0.1-gd7d8c971c9c5-dirty (rtqq@DESKTOP-JHGQ7D4) (arm-linux-gnueabihf-gcc (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0, GNU ld (GNU Binutils for Ubuntu) 2.30) #50 SMP Sat May 6 11:22:20 CST 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: MangoPi MQ-Dual [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] cma: Reserved 16 MiB at 0x47000000 [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000040000000-0x0000000047ffffff] [ 0.000000] HighMem empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000040000000-0x0000000047ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x0000000047ffffff] [ 0.000000] percpu: Embedded 11 pages/cpu s15508 r8192 d21356 u45056 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: mem=128M ubi.mtd=3 rootfstype=ubifs root=ubi0:rootfs rw rootwait console=ttyS0,115200 [ 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: 99792K/131072K available (8192K kernel code, 951K rwdata, 2196K rodata, 1024K init, 270K bss, 14896K reserved, 16384K cma-reserved, 0K highmem) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 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.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000012] Switching to timer-based delay loop, resolution 41ns [ 0.000198] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000706] Console: colour dummy device 80x30 [ 0.000749] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.000764] pid_max: default: 32768 minimum: 301 [ 0.000926] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.000942] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.001488] CPU: Testing write buffer coherency: ok [ 0.001797] /cpus/cpu@0 missing clock-frequency property [ 0.001828] /cpus/cpu@1 missing clock-frequency property [ 0.001838] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.002599] Setting up static identity map for 0x40100000 - 0x40100060 [ 0.002739] rcu: Hierarchical SRCU implementation. [ 0.002745] rcu: Max phase no-delay instances is 1000. [ 0.003279] smp: Bringing up secondary CPUs ... [ 0.003968] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.004096] smp: Brought up 1 node, 2 CPUs [ 0.004108] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.004115] CPU: All CPU(s) started in SVC mode. [ 0.004631] devtmpfs: initialized [ 0.009008] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.009208] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.009234] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.009837] pinctrl core: initialized pinctrl subsystem [ 0.011206] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.012299] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.013136] thermal_sys: Registered thermal governor 'step_wise' [ 0.013442] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.013456] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.021646] platform 5460000.tcon-top: Fixing up cyclic dependency with 5200000.mixer [ 0.021719] platform 5460000.tcon-top: Fixing up cyclic dependency with 5100000.mixer [ 0.021981] platform 5461000.lcd-controller: Fixing up cyclic dependency with 5460000.tcon-top [ 0.022357] platform 5470000.lcd-controller: Fixing up cyclic dependency with 5604000.tv-encoder [ 0.022413] platform 5470000.lcd-controller: Fixing up cyclic dependency with 5460000.tcon-top [ 0.023187] platform 7090000.rtc: Fixing up cyclic dependency with 7010000.clock-controller [ 0.033708] SCSI subsystem initialized [ 0.034213] usbcore: registered new interface driver usbfs [ 0.034252] usbcore: registered new interface driver hub [ 0.034288] usbcore: registered new device driver usb [ 0.034496] mc: Linux media interface: v0.10 [ 0.034539] videodev: Linux video capture interface: v2.00 [ 0.034610] pps_core: LinuxPPS API ver. 1 registered [ 0.034616] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.034638] PTP clock support registered [ 0.035078] Advanced Linux Sound Architecture Driver Initialized. [ 0.035992] clocksource: Switched to clocksource arch_sys_counter [ 0.043278] NET: Registered PF_INET protocol family [ 0.043475] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.044017] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.044047] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.044060] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.044079] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.044099] TCP: Hash tables configured (established 1024 bind 1024) [ 0.044187] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.044223] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.044395] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.045097] RPC: Registered named UNIX socket transport module. [ 0.045110] RPC: Registered udp transport module. [ 0.045114] RPC: Registered tcp transport module. [ 0.045118] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.046437] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 0.051369] NFS: Registering the id_resolver key type [ 0.051469] Key type id_resolver registered [ 0.051475] Key type id_legacy registered [ 0.051628] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) [ 0.051638] io scheduler mq-deadline registered [ 0.051644] io scheduler kyber registered [ 0.110014] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 0.120208] CAN device driver interface [ 0.120958] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.120966] ehci-platform: EHCI generic platform driver [ 0.121103] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 0.121120] ohci-platform: OHCI generic platform driver [ 0.123587] sun6i-rtc 7090000.rtc: registered as rtc0 [ 0.123714] sun6i-rtc 7090000.rtc: setting system clock to 1970-01-02T00:00:36 UTC (86436) [ 0.123839] sun6i-rtc 7090000.rtc: RTC enabled [ 0.124182] i2c_dev: i2c /dev entries driver [ 0.126071] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 0.127337] sun8i-ce 3040000.crypto: Set mod clock to 300000000 (300 Mhz) from 400000000 (400 Mhz) [ 0.127671] sun8i-ce 3040000.crypto: will run requests pump with realtime priority [ 0.128005] sun8i-ce 3040000.crypto: will run requests pump with realtime priority [ 0.128230] sun8i-ce 3040000.crypto: will run requests pump with realtime priority [ 0.128418] sun8i-ce 3040000.crypto: will run requests pump with realtime priority [ 0.128556] sun8i-ce 3040000.crypto: Register cbc(aes) [ 0.128584] sun8i-ce 3040000.crypto: Register ecb(aes) [ 0.128594] sun8i-ce 3040000.crypto: Register cbc(des3_ede) [ 0.128603] sun8i-ce 3040000.crypto: Register ecb(des3_ede) [ 0.128633] sun8i-ce 3040000.crypto: CryptoEngine Die ID 0 [ 0.129527] usbcore: registered new interface driver usbhid [ 0.129537] usbhid: USB HID core driver [ 0.132540] NET: Registered PF_PACKET protocol family [ 0.132571] can: controller area network core [ 0.132645] NET: Registered PF_CAN protocol family [ 0.132652] can: raw protocol [ 0.132659] can: broadcast manager protocol [ 0.132668] can: netlink gateway - max_hops=1 [ 0.132779] Key type dns_resolver registered [ 0.132919] Registering SWP/SWPB emulation handler [ 0.153478] sun20i-d1-pinctrl 2000000.pinctrl: initialized sunXi PIO driver [ 0.154717] printk: console [ttyS0] disabled [ 0.175051] 2500000.serial: ttyS0 at MMIO 0x2500000 (irq = 231, base_baud = 1500000) is a 16550A [ 1.001471] printk: console [ttyS0] enabled [ 1.027528] 2500c00.serial: ttyS3 at MMIO 0x2500c00 (irq = 232, base_baud = 1500000) is a 16550A [ 1.038588] spi-nand spi0.0: Winbond SPI NAND was found. [ 1.043919] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64 [ 1.052720] 4 fixed-partitions partitions found on MTD device spi0.0 [ 1.059115] Creating 4 MTD partitions on "spi0.0": [ 1.063911] 0x000000000000-0x000000040000 : "awboot" [ 1.069687] 0x000000040000-0x0000000c0000 : "dtb" [ 1.075329] 0x000000080000-0x000000880000 : "kernel" [ 1.089037] 0x000000800000-0x000008800000 : "rootfs" [ 1.094008] mtd: partition "rootfs" extends beyond the end of device "spi0.0" -- size truncated to 0x7800000 [ 1.236696] usb_phy_generic usb_phy_generic.1.auto: dummy supplies not allowed for exclusive requests [ 1.246543] musb-hdrc musb-hdrc.2.auto: MUSB HDRC host driver [ 1.252314] musb-hdrc musb-hdrc.2.auto: new USB bus registered, assigned bus number 1 [ 1.260971] hub 1-0:1.0: USB hub found [ 1.264765] hub 1-0:1.0: 1 port detected [ 1.272840] ac108 0-003b: get regulator_used failed. [ 1.278755] ehci-platform 4200000.usb: EHCI Host Controller [ 1.279860] ohci-platform 4200400.usb: Generic Platform OHCI controller [ 1.284372] ehci-platform 4200000.usb: new USB bus registered, assigned bus number 2 [ 1.291029] ohci-platform 4200400.usb: new USB bus registered, assigned bus number 3 [ 1.306859] ohci-platform 4200400.usb: irq 239, io mem 0x04200400 [ 1.313130] ehci-platform 4200000.usb: irq 237, io mem 0x04200000 [ 1.326114] ac108 0-003b: ref_cfg.ref_channel:0x3, set ref_pga_gain:16 [ 1.345999] ehci-platform 4200000.usb: USB 2.0 started, EHCI 1.00 [ 1.352824] hub 2-0:1.0: USB hub found [ 1.356660] hub 2-0:1.0: 1 port detected [ 1.380615] hub 3-0:1.0: USB hub found [ 1.384418] hub 3-0:1.0: 1 port detected [ 1.397463] ac108 0-003b: i2c probe succeed. [ 1.402000] ac108 0-0035: get regulator_used failed. [ 1.415306] ac108 0-0035: ref_cfg.ref_channel:0x3, set ref_pga_gain:16 [ 1.487445] ac108 0-0035: i2c probe succeed. [ 1.498816] ubi0: attaching mtd3 [ 1.502801] sunxi-mmc 4021000.mmc: allocated mmc-pwrseq [ 1.523910] sunxi-mmc 4020000.mmc: initialized, max. request size: 2048 KB, uses new timings mode [ 1.528873] sunxi-mmc 4021000.mmc: initialized, max. request size: 2048 KB, uses new timings mode [ 1.590645] mmc0: new high speed SDXC card at address 5048 [ 1.597102] mmcblk0: mmc0:5048 SD128 119 GiB [ 1.604443] mmcblk0: p1 [ 1.656017] usb 2-1: new high-speed USB device number 2 using ehci-platform [ 1.735923] random: crng init done [ 1.857320] hub 2-1:1.0: USB hub found [ 1.861298] hub 2-1:1.0: 4 ports detected [ 2.186001] usb 2-1.3: new high-speed USB device number 3 using ehci-platform [ 2.303815] ubi0: scanning is finished [ 2.318088] ubi0: attached mtd3 (name "rootfs", size 120 MiB) [ 2.323854] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes [ 2.326101] phy phy-4100400.phy.0: Changing dr_mode to 1 [ 2.330753] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 [ 2.336075] ehci-platform 4101000.usb: EHCI Host Controller [ 2.342819] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 2.348418] ehci-platform 4101000.usb: new USB bus registered, assigned bus number 4 [ 2.355337] ubi0: good PEBs: 960, bad PEBs: 0, corrupted PEBs: 0 [ 2.369109] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128 [ 2.376358] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 409911256 [ 2.385405] ubi0: available PEBs: 0, total reserved PEBs: 960, PEBs reserved for bad PEB handling: 20 [ 2.394654] ubi0: background thread "ubi_bgt0d" started, PID 86 [ 2.394985] ALSA device list: [ 2.403586] No soundcards found. [ 2.407756] ehci-platform 4101000.usb: irq 236, io mem 0x04101000 [ 2.436024] ehci-platform 4101000.usb: USB 2.0 started, EHCI 1.00 [ 2.442816] hub 4-0:1.0: USB hub found [ 2.446653] hub 4-0:1.0: 1 port detected [ 2.576088] ohci-platform 4101400.usb: Generic Platform OHCI controller [ 2.582744] ohci-platform 4101400.usb: new USB bus registered, assigned bus number 5 [ 2.590727] ohci-platform 4101400.usb: irq 238, io mem 0x04101400 [ 2.670690] hub 5-0:1.0: USB hub found [ 2.674484] hub 5-0:1.0: 1 port detected [ 2.680339] UBIFS (ubi0:0): Mounting in unauthenticated mode [ 2.686550] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 87 [ 2.741007] UBIFS (ubi0:0): recovery needed [ 2.876515] UBIFS (ubi0:0): recovery completed [ 2.881078] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs" [ 2.888501] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes [ 2.898438] UBIFS (ubi0:0): FS size: 117452800 bytes (112 MiB, 925 LEBs), max 1024 LEBs, journal size 9023488 bytes (8 MiB, 72 LEBs) [ 2.910367] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB) [ 2.916217] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID 20022C72-77B7-4F94-B2C2-1BBAEFF21E98, small LPT model [ 2.930325] VFS: Mounted root (ubifs filesystem) on device 0:13. [ 2.938478] devtmpfs: mounted [ 2.942402] Freeing unused kernel image (initmem) memory: 1024K [ 2.948522] Run /sbin/init as init process Starting syslogd: OK Starting klogd: OK Running sysctl: OK Starting mdev... OK modprobe: can't change directory to '/lib/modules': No such file or directory Initializing random number generator: OK Saving random seed: OK Starting network: OK Starting ntpd: OK Starting dropbear sshd: OK Starting sshd: OK Starting vsftpd: OK Welcome to Buildroot buildroot login: [ 12.007818] platform sound: deferred probe pending
-
t113 如何移植FLAC
如题,如何移植FLAC软件,下载flac源代码,默认的make && make install使用的时gcc编译器,如果想要编译进Tina系统,需要如何操作?
-
回复: 使用自带codec录音报错, arecord: pcm_read:2072: read error: I/O error
@whycanservice
你好,这是amixer 的显示内容,请问如何操作呢?root@TinaLinux:/# amixer Simple mixer control 'Headphone',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] Simple mixer control 'Headphone volume',0 Capabilities: volume volume-joined Playback channels: Mono Capture channels: Mono Limits: 0 - 7 Mono: 4 [57%] Simple mixer control 'FMINL gain volume',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off] Simple mixer control 'FMINR gain volume',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off] Simple mixer control 'ADC1 ADC2 swap',0 Capabilities: enum Items: 'Off' 'On' Item0: 'Off' Simple mixer control 'ADC1 Input FMINL',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off] Simple mixer control 'ADC1 Input LINEINL',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off] Simple mixer control 'ADC1 Input MIC1 Boost',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off] Simple mixer control 'ADC1 volume',0 Capabilities: volume volume-joined Playback channels: Mono Capture channels: Mono Limits: 0 - 255 Mono: 160 [63%] Simple mixer control 'ADC2 Input FMINR',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off] Simple mixer control 'ADC2 Input LINEINR',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off] Simple mixer control 'ADC2 Input MIC2 Boost',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off] Simple mixer control 'ADC2 volume',0 Capabilities: volume volume-joined Playback channels: Mono Capture channels: Mono Limits: 0 - 255 Mono: 160 [63%] Simple mixer control 'ADC3 ADC4 swap',0 Capabilities: enum Items: 'Off' 'On' Item0: 'Off' Simple mixer control 'ADC3 Input MIC3 Boost',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off] Simple mixer control 'ADC3 volume',0 Capabilities: volume volume-joined Playback channels: Mono Capture channels: Mono Limits: 0 - 255 Mono: 160 [63%] Simple mixer control 'DAC volume',0 Capabilities: volume Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 255 Front Left: 160 [63%] Front Right: 160 [63%] Simple mixer control 'HpSpeaker',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off] Simple mixer control 'LINEINL gain volume',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off] Simple mixer control 'LINEINR gain volume',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off] Simple mixer control 'LINEOUT',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off] Simple mixer control 'LINEOUT volume',0 Capabilities: volume volume-joined Playback channels: Mono Capture channels: Mono Limits: 0 - 31 Mono: 26 [84%] Simple mixer control 'LINEOUTL Output Select',0 Capabilities: enum Items: 'DAC_SINGLE' 'DAC_DIFFER' Item0: 'DAC_DIFFER' Simple mixer control 'LINEOUTR Output Select',0 Capabilities: enum Items: 'DAC_SINGLE' 'DAC_DIFFER' Item0: 'DAC_DIFFER' Simple mixer control 'MIC1 Input Select',0 Capabilities: enum Items: 'MIC_DIFFER' 'MIC_SINGLE' Item0: 'MIC_DIFFER' Simple mixer control 'MIC1 gain volume',0 Capabilities: volume volume-joined Playback channels: Mono Capture channels: Mono Limits: 0 - 31 Mono: 31 [100%] Simple mixer control 'MIC2 Input Select',0 Capabilities: enum Items: 'MIC_DIFFER' 'MIC_SINGLE' Item0: 'MIC_DIFFER' Simple mixer control 'MIC2 gain volume',0 Capabilities: volume volume-joined Playback channels: Mono Capture channels: Mono Limits: 0 - 31 Mono: 31 [100%] Simple mixer control 'MIC3 Input Select',0 Capabilities: enum Items: 'MIC_DIFFER' 'MIC_SINGLE' Item0: 'MIC_DIFFER' Simple mixer control 'MIC3 gain volume',0 Capabilities: volume volume-joined Playback channels: Mono Capture channels: Mono Limits: 0 - 31 Mono: 31 [100%] Simple mixer control 'codec hub mode',0 Capabilities: enum Items: 'hub_disable' 'hub_enable' Item0: 'hub_disable' Simple mixer control 'digital volume',0 Capabilities: volume volume-joined Playback channels: Mono Capture channels: Mono Limits: 0 - 63 Mono: 63 [100%]
-
使用自带codec录音报错, arecord: pcm_read:2072: read error: I/O error
使用自带的codec进行录音,报错了,这是什么原因呢?alsamixer也设置了
root@TinaLinux:/# arecord -D hw:0,0 -f S16_LE test.wav Recording WAVE 'test.wav' : [ 162.476954] [SNDCODEC][sunxi_card_hw_params][620]:stream_flag: 1 Signed 16 bit Little Endian, Rate 8000 Hz, Mono arecord: pcm_read:2072: read error: I/O error
-
回复: 如何配置Tina 的sd卡热拔插和自动挂载
@whycanservice 在 如何配置Tina 的sd卡热拔插和自动挂载 中说:
配置热拔插中断模式
如何配置热拔插中断模式呢,有相关教程吗? -
T113-S3 官方TINA SDK 2.1中 pinctrl 的问题
今天在使用PG8 PG9 做为TWI1输出的时候,总是有问题,后面查询pinctrl-sun8iw20.c 文件发现,PG9的定义居然是,twi0的,datesheet里面显示function为twi1.不知道什么原因。是我拉的SDK有问题吗?
-
如何配置Tina 的sd卡热拔插和自动挂载
目前使用的是t113 tina5.4.使用官方SDK打补丁 启动介质时nand flash启动,但是sd卡无法热拔插和自动挂载,开机之后一插sd卡就重启,需要修改哪些地方呢?
-
回复: 编译T113的固件时,pack失败,显示u-boot.fex 无法打开
将brandy中的spl-pub文件夹重命名为spl然后 使用mboot之后可以解决该错误,但是又会出现新的错误ERROR: boot0 files are all invalid files, now exit
pack的log如下:rtqq@DESKTOP-JHGQ7D4:~/Tina-Linux$ pack --==========-- PACK_CHIP sun8iw20p1 PACK_PLATFORM tina PACK_BOARD t113-mq_r PACK_KERN PACK_DEBUG uart0 PACK_SIG none PACK_SECURE none PACK_MODE normal PACK_FUNC android PACK_PROGRAMMER none PACK_TAR_IMAGE none PACK_TOPDIR /home/rtqq/Tina-Linux --==========-- No kernel param, parse it from t113 copying tools file copying configs file storage_type value is 1 rm /home/rtqq/Tina-Linux/out/t113-mq_r/image/sys_partition_nor.fex rm /home/rtqq/Tina-Linux/out/t113-mq_r/image/image_nor.cfg copying boot resource copying boot file make user resource for : /home/rtqq/Tina-Linux/out/t113-mq_r/image/sys_partition.fex handle partition user-res no user resource partitions APP_PART_DOWNLOAD_FILE = /home/rtqq/Tina-Linux/out/t113-mq_r/image/app.fex Need size of filesystem no data resource partitions don't build dtbo ... update_chip sboot file Path=/home/rtqq/Tina-Linux/out/t113-mq_r/image/sboot.bin script file Path=/home/rtqq/Tina-Linux/out/t113-mq_r/image/sys_config.bin update:unable to open sboot file script update sboot ok pack boot package GetPrivateProfileSection read to end content_count=3 LICHEE_REDUNDANT_ENV_SIZE config in BoardConfig.mk --mkenvimage create redundant env data!-- ---redundant env data size 0x20000--- packing for tina linux normal mbr count = 4 partitation file Path=/home/rtqq/Tina-Linux/out/t113-mq_r/image/sys_partition.bin mbr_name file Path=/home/rtqq/Tina-Linux/out/t113-mq_r/image/sunxi_mbr.fex download_name file Path=/home/rtqq/Tina-Linux/out/t113-mq_r/image/dlinfo.fex mbr size = 16384 mbr magic softw411 disk name=boot-resource disk name=env disk name=env-redund disk name=boot disk name=rootfs disk name=private disk name=rootfs_data disk name=UDISK this is not a partition key update_for_part_info 0 crc 0 = 18a6eedc crc 1 = 8d1bbf81 crc 2 = e8ad4a27 crc 3 = 7d101b7a gpt_head->header_crc32 = 0x43fe0f4e GPT----part num 8--- gpt_entry: 128 gpt_header: 92 GPT:boot-resource: 12000 121f7 GPT:env : 121f8 123ef GPT:env-redund : 123f0 125e7 GPT:boot : 125e8 157e7 GPT:rootfs : 157e8 247e7 GPT:private : 247e8 26fe7 GPT:rootfs_data : 26fe8 334c7 GPT:UDISK : 334c8 ffffffde update gpt file ok update mbr file ok temp = 20 mbr count = 4 total_sectors = 15269888 logic_offset = 40960 partitation file Path=/home/rtqq/Tina-Linux/out/t113-mq_r/image/sys_partition.bin mbr_name file Path=/home/rtqq/Tina-Linux/out/t113-mq_r/image/sunxi_mbr.fex download_name file Path=/home/rtqq/Tina-Linux/out/t113-mq_r/image/dlinfo.fex mbr size = 16384 mbr magic softw411 disk name=boot-resource disk name=env disk name=env-redund disk name=boot disk name=rootfs disk name=private disk name=rootfs_data disk name=UDISK this is not a partition key update_for_part_info 0 crc 0 = 18a6eedc crc 1 = 8d1bbf81 crc 2 = e8ad4a27 crc 3 = 7d101b7a gpt_head->header_crc32 = 0xd9faa6dc GPT----part num 8--- gpt_entry: 128 gpt_header: 92 GPT:boot-resource: 12000 121f7 GPT:env : 121f8 123ef GPT:env-redund : 123f0 125e7 GPT:boot : 125e8 157e7 GPT:rootfs : 157e8 247e7 GPT:private : 247e8 26fe7 GPT:rootfs_data : 26fe8 334c7 GPT:UDISK : 334c8 e8ffde update gpt file ok update mbr file ok ==================================== show "sys_partition_for_dragon.fex" message ------------------------------------ [mbr] mbr_size : 16384 Kbyte ------------------------------------ partition_name : boot-resource partition_size : 504 downloadfile : boot-resource.fex boot-resource.fex size : 80K byte ------------------------------------ partition_name : env partition_size : 504 downloadfile : env.fex env.fex size : 128K byte ------------------------------------ partition_name : env-redund partition_size : 504 downloadfile : env.fex env.fex size : 128K byte ------------------------------------ partition_name : boot partition_size : 12800 downloadfile : boot.fex boot.fex -> /home/rtqq/Tina-Linux/out/t113-mq_r/boot.img boot.img size : 4.0M byte ------------------------------------ partition_name : rootfs partition_size : 61440 downloadfile : rootfs.fex rootfs.fex -> /home/rtqq/Tina-Linux/out/t113-mq_r/rootfs.img rootfs.img size : 14M byte ------------------------------------ partition_name : private partition_size : 10240 ------------------------------------ partition_name : rootfs_data partition_size : 50400 ------------------------------------ partition_name : UDISK ------------------------------------ ERROR: boot0 files are all invalid files, now exit
-
编译T113的固件时,pack失败,显示u-boot.fex 无法打开
使用芒果的tina固件,环境是Ubuntu 18.04 WSL2。make无报错,pack时报错,pack的log如下:
rtqq@DESKTOP-JHGQ7D4:~/Tina-Linux$ pack --==========-- PACK_CHIP sun8iw20p1 PACK_PLATFORM tina PACK_BOARD t113-mq_r PACK_KERN PACK_DEBUG uart0 PACK_SIG none PACK_SECURE none PACK_MODE normal PACK_FUNC android PACK_PROGRAMMER none PACK_TAR_IMAGE none PACK_TOPDIR /home/rtqq/Tina-Linux --==========-- No kernel param, parse it from t113 copying tools file copying configs file storage_type value is 1 rm /home/rtqq/Tina-Linux/out/t113-mq_r/image/sys_partition_nor.fex rm /home/rtqq/Tina-Linux/out/t113-mq_r/image/image_nor.cfg copying boot resource copying boot file make user resource for : /home/rtqq/Tina-Linux/out/t113-mq_r/image/sys_partition.fex handle partition user-res no user resource partitions APP_PART_DOWNLOAD_FILE = /home/rtqq/Tina-Linux/out/t113-mq_r/image/app.fex Need size of filesystem no data resource partitions don't build dtbo ... update_chip sboot file Path=/home/rtqq/Tina-Linux/out/t113-mq_r/image/sboot.bin script file Path=/home/rtqq/Tina-Linux/out/t113-mq_r/image/sys_config.bin update:unable to open sboot file script update sboot ok pack boot package GetPrivateProfileSection read to end content_count=3 file /home/rtqq/Tina-Linux/out/t113-mq_r/image/u-boot.fex cant be open /home/rtqq/Tina-Linux/scripts/pack_img.sh: line 1250: 25338 Segmentation fault dragonsecboot -pack boot_package.cfg ERROR: dragon pack run error
在git拉取时均没有报错,都是很顺利的拉下来了
在out文件夹中没有找到 u-boot.fex 这个文件,求助大家。 -
全志 V831芯片移植 声卡machine 层 simple-card 驱动,无法编译通过,求求各位大佬给个machine层驱动抄抄
系统内核版本 4.9 ,想使用simple-card这个machine驱动,在编译中选中时,无法编译通过,尝试过移植tina 5.4 中的 sunxi-simple-card.c 编译提示无法通过,求求大佬给个驱动抄抄,或者给个4.9的开发手册参考一下
-
回复: 关于全志V831 在SDK中编译python3.8 报错
@chengwei_peng 似乎也编译好了,compile_dir/target里面有libncurse和libncursesw这两个文件夹
-
回复: 关于全志V831 在SDK中编译python3.8 报错
@chengwei_peng -curse 的依赖是指 libncurse和libncursesw吗?这两个已经选中编译了,不过似乎没有被编译进去
-
关于全志V831 在SDK中编译python3.8 报错
在menuconfig 中 Language -> Python -> python3,make之后报错
错误信息:running build running build_ext INFO: Can't locate Tcl/Tk libs and/or headers building '_curses' extension arm-openwrt-linux-muslgnueabi-gcc -fPIC -Wno-unused-result -Wsign-compare -DNDEBUG -Os -pipe -march=armv7-a -mtune=cortex-a7 -mfpu=neon -fno-caller-saves -Wno-unused-result -mfloat-abi=hard -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Os -pipe -march=armv7-a -mtune=cortex-a7 -mfpu=neon -fno-caller-saves -Wno-unused-result -mfloat-abi=hard -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DNDEBUG -fno-inline -Os -pipe -march=armv7-a -mtune=cortex-a7 -mfpu=neon -fno-caller-saves -Wno-unused-result -mfloat-abi=hard -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DNDEBUG -fno-inline -I/home/tina/Desktop/tina-V83x/out/v831-YuzukiIRC/staging_dir/target/usr/include -I/home/tina/Desktop/tina-V83x/out/v831-YuzukiIRC/staging_dir/target/include -I/home/tina/Desktop/tina-V83x/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/usr/include -I/home/tina/Desktop/tina-V83x/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include -I/home/tina/Desktop/tina-V83x/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/fortify -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -g -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -fprofile-generate -I./Include/internal -DHAVE_NCURSESW=1 -I./Include -I. -I/home/tina/Desktop/tina-V83x/out/v831-YuzukiIRC/staging_dir/target/include -I/home/tina/Desktop/tina-V83x/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include -I/home/tina/Desktop/tina-V83x/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/include/fortify -I/home/tina/Desktop/tina-V83x/out/v831-YuzukiIRC/staging_dir/target/usr/include -I/home/tina/Desktop/tina-V83x/out/v831-YuzukiIRC/compile_dir/target/Python-3.8.5/Include -I/home/tina/Desktop/tina-V83x/out/v831-YuzukiIRC/compile_dir/target/Python-3.8.5 -c /home/tina/Desktop/tina-V83x/out/v831-YuzukiIRC/compile_dir/target/Python-3.8.5/Modules/_cursesmodule.c -o build/temp.linux-arm-3.8/home/tina/Desktop/tina-V83x/out/v831-YuzukiIRC/compile_dir/target/Python-3.8.5/Modules/_cursesmodule.o /home/tina/Desktop/tina-V83x/out/v831-YuzukiIRC/compile_dir/target/Python-3.8.5/Modules/_cursesmodule.c: In function '_curses_window_addch_impl': /home/tina/Desktop/tina-V83x/out/v831-YuzukiIRC/compile_dir/target/Python-3.8.5/Modules/_cursesmodule.c:621:9: error: implicit declaration of function 'setcchar' [-Werror=implicit-function-declaration] setcchar(&wcval, wstr, attr, attr_to_color_pair(attr), NULL); ^~~~~~~~ /home/tina/Desktop/tina-V83x/out/v831-YuzukiIRC/compile_dir/target/Python-3.8.5/Modules/_cursesmodule.c:623:19: error: implicit declaration of function 'mvwadd_wch' [-Werror=implicit-function-declaration] rtn = mvwadd_wch(self->win,y,x, &wcval); ^~~~~~~~~~ /home/tina/Desktop/tina-V83x/out/v831-YuzukiIRC/compile_dir/target/Python-3.8.5/Modules/_cursesmodule.c:625:19: error: implicit declaration of function 'wadd_wch' [-Werror=implicit-function-declaration] rtn = wadd_wch(self->win, &wcval); ^~~~~~~~ /home/tina/Desktop/tina-V83x/out/v831-YuzukiIRC/compile_dir/target/Python-3.8.5/Modules/_cursesmodule.c: In function '_curses_window_addstr_impl': /home/tina/Desktop/tina-V83x/out/v831-YuzukiIRC/compile_dir/target/Python-3.8.5/Modules/_cursesmodule.c:704:19: error: implicit declaration of function 'mvwaddwstr' [-Werror=implicit-function-declaration] rtn = mvwaddwstr(self->win,y,x,wstr); ^~~~~~~~~~ /home/tina/Desktop/tina-V83x/out/v831-YuzukiIRC/compile_dir/target/Python-3.8.5/Modules/_cursesmodule.c:706:19: error: implicit declaration of function 'waddwstr' [-Werror=implicit-function-declaration] rtn = waddwstr(self->win,wstr); ^~~~~~~~ /home/tina/Desktop/tina-V83x/out/v831-YuzukiIRC/compile_dir/target/Python-3.8.5/Modules/_cursesmodule.c: In function '_curses_window_addnstr_impl': /home/tina/Desktop/tina-V83x/out/v831-YuzukiIRC/compile_dir/target/Python-3.8.5/Modules/_cursesmodule.c:787:19: error: implicit declaration of function 'mvwaddnwstr' [-Werror=implicit-function-declaration] rtn = mvwaddnwstr(self->win,y,x,wstr,n); ^~~~~~~~~~~ /home/tina/Desktop/tina-V83x/out/v831-YuzukiIRC/compile_dir/target/Python-3.8.5/Modules/_cursesmodule.c:789:19: error: implicit declaration of function 'waddnwstr' [-Werror=implicit-function-declaration] rtn = waddnwstr(self->win,wstr,n); ^~~~~~~~~ /home/tina/Desktop/tina-V83x/out/v831-YuzukiIRC/compile_dir/target/Python-3.8.5/Modules/_cursesmodule.c: In function '_curses_window_get_wch_impl': /home/tina/Desktop/tina-V83x/out/v831-YuzukiIRC/compile_dir/target/Python-3.8.5/Modules/_cursesmodule.c:1360:14: error: implicit declaration of function 'wget_wch' [-Werror=implicit-function-declaration] ct = wget_wch(self->win ,&rtn); ^~~~~~~~ /home/tina/Desktop/tina-V83x/out/v831-YuzukiIRC/compile_dir/target/Python-3.8.5/Modules/_cursesmodule.c:1363:14: error: implicit declaration of function 'mvwget_wch' [-Werror=implicit-function-declaration] ct = mvwget_wch(self->win, y, x, &rtn); ^~~~~~~~~~ /home/tina/Desktop/tina-V83x/out/v831-YuzukiIRC/compile_dir/target/Python-3.8.5/Modules/_cursesmodule.c: In function '_curses_window_insstr_impl': /home/tina/Desktop/tina-V83x/out/v831-YuzukiIRC/compile_dir/target/Python-3.8.5/Modules/_cursesmodule.c:1705:19: error: implicit declaration of function 'mvwins_wstr' [-Werror=implicit-function-declaration] rtn = mvwins_wstr(self->win,y,x,wstr); ^~~~~~~~~~~ /home/tina/Desktop/tina-V83x/out/v831-YuzukiIRC/compile_dir/target/Python-3.8.5/Modules/_cursesmodule.c:1707:19: error: implicit declaration of function 'wins_wstr' [-Werror=implicit-function-declaration] rtn = wins_wstr(self->win,wstr); ^~~~~~~~~ /home/tina/Desktop/tina-V83x/out/v831-YuzukiIRC/compile_dir/target/Python-3.8.5/Modules/_cursesmodule.c: In function '_curses_window_insnstr_impl': /home/tina/Desktop/tina-V83x/out/v831-YuzukiIRC/compile_dir/target/Python-3.8.5/Modules/_cursesmodule.c:1790:19: error: implicit declaration of function 'mvwins_nwstr' [-Werror=implicit-function-declaration] rtn = mvwins_nwstr(self->win,y,x,wstr,n); ^~~~~~~~~~~~ /home/tina/Desktop/tina-V83x/out/v831-YuzukiIRC/compile_dir/target/Python-3.8.5/Modules/_cursesmodule.c:1792:19: error: implicit declaration of function 'wins_nwstr' [-Werror=implicit-function-declaration] rtn = wins_nwstr(self->win,wstr,n); ^~~~~~~~~~ /home/tina/Desktop/tina-V83x/out/v831-YuzukiIRC/compile_dir/target/Python-3.8.5/Modules/_cursesmodule.c: In function '_curses_unget_wch': /home/tina/Desktop/tina-V83x/out/v831-YuzukiIRC/compile_dir/target/Python-3.8.5/Modules/_cursesmodule.c:4243:29: error: implicit declaration of function 'unget_wch' [-Werror=implicit-function-declaration] return PyCursesCheckERR(unget_wch(wch), "unget_wch"); ^~~~~~~~~ cc1: some warnings being treated as errors Python build finished successfully! The necessary bits to build these optional modules were not found: _tkinter _uuid nis To find the necessary bits, look in setup.py in detect_modules() for the module's name. The following modules found by detect_modules() in setup.py, have been built by the Makefile instead, as configured by the Setup files: _abc atexit pwd time zlib Failed to build these modules: _curses
求求各位大佬帮忙看看
-
V831芯片 开机卡在I2C启动中,要近5分钟才能开机,i2c扫地址很慢,差不多5秒钟扫一次
开机的时候会在i2c上花费大量的时间,开机成功后使用i2cdetect也扫得很慢,求助大家帮忙看看什么原因?
下面附上board.dts 和启动日志/* * Allwinner Technology CO., Ltd. sun8iw19p1 soc board. * * soc board support. */ /dts-v1/; #include "sun8iw19p1.dtsi" /{ dram: dram { dram_clk = <0x000001e0>; dram_type = <0x00000003>; dram_zq = <0x00003bfb>; dram_odt_en = <0x00000001>; dram_para1 = <0x004310f2>; dram_para2 = <0x02000000>; dram_mr0 = <0x00001c70>; dram_mr1 = <0x00000000>; dram_mr2 = <0x00000018>; dram_mr3 = <0x00000000>; dram_tpr0 = <0x0046190d>; dram_tpr1 = <0x0121210a>; dram_tpr2 = <0x0005403b>; dram_tpr3 = <0x00002006>; dram_tpr4 = <0x05040405>; dram_tpr5 = <0x05050302>; dram_tpr6 = <0x90006644>; dram_tpr7 = <0x42c21590>; dram_tpr8 = <0xd05612c0>; dram_tpr9 = <0x00083def>; dram_tpr10 = <0x00000000>; dram_tpr11 = <0x00210000>; dram_tpr12 = <0x00000055>; dram_tpr13 = <0x00006003>; }; opp_dvfs_table:opp_dvfs_table { cluster_num = <1>; opp_table_count = <1>; cpu_opp_l_table0: opp_l_table0 { compatible = "allwinner,opp_l_table0"; opp_count = <2>; opp-shared; opp00 { opp-hz = /bits/ 64 <600000000>; opp-microvolt = <900000>; axi-bus-divide-ratio = <3>; clock-latency-ns = <2000000>; }; opp01 { opp-hz = /bits/ 64 <816000000>; opp-microvolt = <900000>; axi-bus-divide-ratio = <3>; clock-latency-ns = <2000000>; }; }; }; soc@03000000 { pinctrl@0300b000 { twi0_pins_a: twi0@0 { allwinner,pins = "PI3", "PI4"; allwinner,pname = "twi0_scl", "twi0_sda"; allwinner,function = "twi0"; allwinner,muxsel = <5>; allwinner,drive = <1>; allwinner,pull = <0>; }; twi0_pins_b: twi0@1 { allwinner,pins = "PI3", "PI4"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; twi1_pins_a: twi1@0 { allwinner,pins = "PI1", "PI2"; allwinner,pname = "twi1_scl", "twi1_sda"; allwinner,function = "twi1"; allwinner,muxsel = <5>; allwinner,drive = <1>; allwinner,pull = <0>; }; twi1_pins_b: twi1@1 { allwinner,pins = "PI1", "PI2"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; twi2_pins_a: twi2@0 { allwinner,pins = "PH5", "PH6"; allwinner,pname = "twi2_scl", "twi2_sda"; allwinner,function = "twi2"; allwinner,muxsel = <5>; allwinner,drive = <1>; allwinner,pull = <0>; }; twi2_pins_b: twi2@1 { allwinner,pins = "PH5", "PH6"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; spi0_pins_a: spi0@0 { allwinner,pins = "PC0", "PC2", "PC3", "PC5", "PC4"; allwinner,pname = "spi0_sclk", "spi0_mosi", "spi0_miso", "spi0_hold", "spi0_wp"; allwinner,function = "spi0"; allwinner,muxsel = <4>; allwinner,drive = <1>; allwinner,pull = <0>; }; spi0_pins_b: spi0@1 { allwinner,pins = "PC1", "PC6"; allwinner,pname = "spi0_cs0", "spi0_cs1"; allwinner,function = "spi0"; allwinner,muxsel = <4>; allwinner,drive = <1>; allwinner,pull = <1>; // only CS should be pulled up }; spi0_pins_c: spi0@2 { allwinner,pins = "PC0", "PC1", "PC2", "PC3", "PC4", "PC5", "PC6"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; spi1_pins_a: spi1@0 { allwinner,pins = "PH0", "PH1", "PH2"; allwinner,pname = "spi1_sclk", "spi1_mosi", "spi1_miso"; allwinner,function = "io_disabled"; allwinner,muxsel = <4>; allwinner,drive = <1>; allwinner,pull = <0>; }; spi1_pins_b: spi1@1 { allwinner,pins = "PH3"; allwinner,pname = "spi1_cs0"; allwinner,function = "io_disabled"; allwinner,muxsel = <4>; allwinner,drive = <1>; allwinner,pull = <1>; // only CS should be pulled up }; spi1_pins_c: spi1@2 { allwinner,pins = "PH0", "PH1", "PH2", "PH3"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; sdc0_pins_a: sdc0@0 { allwinner,pins = "PF0", "PF1", "PF2", "PF3", "PF4", "PF5"; allwinner,function = "sdc0"; allwinner,muxsel = <2>; allwinner,drive = <3>; allwinner,pull = <1>; }; sdc0_pins_b: sdc0@1 { allwinner,pins = "PF0", "PF1", "PF2", "PF3", "PF4", "PF5"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; sdc1_pins_a: sdc1@0 { allwinner,pins = "PG0", "PG1", "PG2", "PG3", "PG4", "PG5"; allwinner,function = "sdc1"; allwinner,muxsel = <2>; allwinner,drive = <3>; allwinner,pull = <1>; }; owc0_pins_a: owc0@0 { allwinner,pins = "PH4"; allwinner,pname = "owc0"; allwinner,function = "owc0"; allwinner,muxsel = <5>; allwinner,drive = <1>; allwinner,pull = <0>; }; owc0_pins_b: owc0_sleep@0 { allwinner,pins = "PH4"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm0_pins_a: pwm0@0 { allwinner,pins = "PH0"; allwinner,pname = "pwm0_positive"; allwinner,function = "pwm0"; allwinner,muxsel = <2>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm0_pins_b: pwm0@1 { allwinner,pins = "PH0"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm1_pins_a: pwm1@0 { allwinner,pins = "PH1"; allwinner,pname = "pwm1_positive"; allwinner,function = "pwm1"; allwinner,muxsel = <2>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm1_pins_b: pwm1@1 { allwinner,pins = "PH1"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm2_pins_a: pwm2@0 { allwinner,pins = "PH2"; allwinner,pname = "pwm2_positive"; allwinner,function = "pwm2"; allwinner,muxsel = <2>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm2_pins_b: pwm2@1 { allwinner,pins = "PH2"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm3_pins_a: pwm3@0 { allwinner,pins = "PH3"; allwinner,pname = "pwm3_positive"; allwinner,function = "pwm3"; allwinner,muxsel = <2>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm3_pins_b: pwm3@1 { allwinner,pins = "PH3"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm4_pins_a: pwm4@0 { allwinner,pins = "PH4"; allwinner,pname = "pwm4_positive"; allwinner,function = "pwm4"; allwinner,muxsel = <2>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm4_pins_b: pwm4@1 { allwinner,pins = "PH4"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; // pwm5_pins_a: pwm5@0 { // allwinner,pins = "PH5"; // allwinner,pname = "pwm5_positive"; // allwinner,function = "pwm5"; // allwinner,muxsel = <2>; // allwinner,drive = <1>; // allwinner,pull = <0>; // }; // pwm5_pins_b: pwm5@1 { // allwinner,pins = "PH5"; // allwinner,function = "io_disabled"; // allwinner,muxsel = <7>; // allwinner,drive = <1>; // allwinner,pull = <0>; // }; //pwm6_pins_a: pwm6@0 { // allwinner,pins = "PH6"; // allwinner,pname = "pwm6_positive"; // allwinner,function = "pwm6"; // allwinner,muxsel = <2>; // allwinner,drive = <1>; // allwinner,pull = <0>; // }; // //pwm6_pins_b: pwm6@1 { // allwinner,pins = "PH6"; // allwinner,function = "io_disabled"; // allwinner,muxsel = <7>; // allwinner,drive = <1>; // allwinner,pull = <0>; // }; pwm7_pins_a: pwm7@0 { allwinner,pins = "PH7"; allwinner,pname = "pwm7_positive"; allwinner,function = "pwm7"; allwinner,muxsel = <2>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm7_pins_b: pwm7@1 { allwinner,pins = "PH7"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm8_pins_a: pwm8@0 { allwinner,pins = "PH8"; allwinner,pname = "pwm8_positive"; allwinner,function = "pwm8"; allwinner,muxsel = <2>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm8_pins_b: pwm8@1 { allwinner,pins = "PH8"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm9_pins_a: pwm9@0 { allwinner,pins = "PH9"; allwinner,pname = "pwm9_positive"; allwinner,function = "pwm9"; allwinner,muxsel = <2>; allwinner,drive = <1>; allwinner,pull = <0>; }; pwm9_pins_b: pwm9@1 { allwinner,pins = "PH9"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; rgb8_pins_a: rgb8@0 { allwinner,pins = "PD1", "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", "PD8", "PD18", "PD19", "PD20"; allwinner,pname = "lcdd3", "lcdd4", "lcdd5", "lcdd6", "lcdd7", "lcdd10", "lcdd11", "lcdd12", "lcdclk", "lcdde", "lcdhsync"; allwinner,function = "lcd0"; allwinner,muxsel = <2>; allwinner,drive = <1>; allwinner,pull = <0>; }; rgb8_pins_b: rgb8@1 { allwinner,pins = "PD1", "PD2","PD3","PD4","PD5","PD6", "PD7","PD8","PD18","PD19","PD20"; allwinner,function = "io_disabled"; allwinner,muxsel = <7>; allwinner,drive = <1>; allwinner,pull = <0>; }; }; gpadc:gpadc{ channel_num = <1>; channel_select = <0x01>; channel_data_select = <0>; channel_compare_select = <0x01>; channel_cld_select = <0x01>; channel_chd_select = <0x01>; channel0_compare_lowdata = <1700000>; channel0_compare_higdata = <1200000>; key_cnt = <2>; key0_vol = <0>; key0_val = <2>; /* KEY_1 */ key1_vol = <160>; key1_val = <3>; /* KEY_2 */ status = "okay"; }; uart1: uart@05000400 { compatible = "allwinner,sun8i-uart"; device_type = "uart1"; reg = <0x0 0x05000400 0x0 0x400>; interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clk_uart1>; pinctrl-names = "default", "sleep"; pinctrl-0 = <&uart1_pins_a>; pinctrl-1 = <&uart1_pins_b>; uart1_port = <1>; uart1_type = <4>; status = "okay"; }; // uart3: uart@05000c00 { // compatible = "allwinner,sun8i-uart"; // device_type = "uart3"; // reg = <0x0 0x05000c00 0x0 0x400>; // interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>; // clocks = <&clk_uart3>; // pinctrl-names = "default", "sleep"; // pinctrl-0 = <&uart3_pins_a>; // pinctrl-1 = <&uart3_pins_b>; // uart3_port = <3>; // uart3_type = <4>; // status = "okay"; // }; twi0: twi@0x05002000{ pinctrl-0 = <&twi0_pins_a>; pinctrl-1 = <&twi0_pins_b>; twi_drv_used = <1>; status = "disable"; }; twi1: twi@0x05002400{ pinctrl-0 = <&twi1_pins_a>; pinctrl-1 = <&twi1_pins_b>; clock-frequency = <400000>; status = "okay"; }; twi2: twi@0x05002800{ pinctrl-0 = <&twi2_pins_a>; pinctrl-1 = <&twi2_pins_b>; clock-frequency = <200000>; status = "okay"; ac108@3b{ #sound-dai-cells = <0>; compatible = "Allwinner,MicArray_0"; reg = <0x3b>; regulator_used = <0x0>; power_voltage = <3300000>; regulator_name = "vcc-3v3"; power_gpio_used = <0x0>; reset_gpio_used = <0x0>; twi_bus = <2>; pga_gain = <0x1F>; slot_width = <0x20>; lrck_period = <0x80>; ref_pga_used = <0x1>; ref_pga_gain = <0x10>; ref_channel = <0x3>; debug_mode = <0x0>; status = "okay"; }; ac108@35{ compatible = "Allwinner,MicArray_1"; reg = <0x35>; regulator_used = <0x0>; power_voltage = <3300000>; regulator_name = "vcc-3v3"; power_gpio_used = <0x0>; reset_gpio_used = <0x0>; twi_bus = <2>; pga_gain = <0x1F>; slot_width = <0x20>; lrck_period = <0x80>; ref_pga_used = <0x1>; ref_pga_gain = <0x10>; ref_channel = <0x3>; debug_mode = <0x0>; status = "okay"; }; }; spi@05010000 { pinctrl-0 = <&spi0_pins_a &spi0_pins_b>; pinctrl-1 = <&spi0_pins_c>; status = "disable"; spi_board0 { device_type = "spi_board0"; compatible = "m25p80"; spi-max-frequency = <0x5f5e100>; reg = <0x0>; spi-rx-bus-width = <0x1>; spi-tx-bus-width = <0x1>; }; }; // spi@05011000 { // #address-cells = <1>; // #size-cells = <0>; // reg = <0x0 0x05011000 0x0 0x1000>; // interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>; // clocks = <&clk_pll_periph0>, <&clk_spi1>; // clock-frequency = <200000000>; // pinctrl-names = "default", "sleep"; // pinctrl-0 = <&spi1_pins_b>; // pinctrl-1 = <&spi1_pins_c>; // spi1_cs_number = <2>; // spi1_cs_bitmap = <3>; // status = "okay"; // spi_board1 { // device_type = "spi_board1"; // compatible = "spidev"; // spi-max-frequency = <0x5f5e100>; // reg = <0x0>; // spi-rx-bus-width = <0x1>; // spi-tx-bus-width = <0x1>; // }; // }; vind0:vind@0 { vind0_clk = <270000000>; vind0_isp = <200000000>; status = "okay"; actuator0:actuator@0 { device_type = "actuator0"; actuator0_name = "ad5820_act"; actuator0_slave = <0x18>; actuator0_af_pwdn = <>; actuator0_afvdd = "afvcc-csi"; actuator0_afvdd_vol = <2800000>; status = "disabled"; }; flash0:flash@0 { device_type = "flash0"; flash0_type = <2>; flash0_en = <>; flash0_mode = <>; flash0_flvdd = ""; flash0_flvdd_vol = <>; device_id = <0>; status = "disabled"; }; sensor0:sensor@0 { device_type = "sensor0"; // sensor0_mname = "ov9732_mipi"; sensor0_mname = "sp2305_mipi"; sensor0_twi_cci_id = <1>; // sensor0_twi_addr = <0x6c>; sensor0_twi_addr = <0x78>; sensor0_mclk_id = <0>; sensor0_pos = "rear"; sensor0_isp_used = <1>; sensor0_fmt = <1>; sensor0_stby_mode = <0>; sensor0_vflip = <0>; sensor0_hflip = <0>; sensor0_iovdd-supply = <>; sensor0_iovdd_vol = <1800000>; sensor0_avdd-supply = <>; sensor0_avdd_vol = <2800000>; sensor0_dvdd-supply = <>; sensor0_dvdd_vol = <1200000>; sensor0_power_en = <>; /* board error, we can not use the right config. */ sensor0_reset = <&pio PE 16 1 0 1 0>; sensor0_pwdn = <&pio PE 17 1 0 1 0>; status = "okay"; }; sensor1:sensor@1 { device_type = "sensor1"; sensor1_mname = "ov5647"; sensor1_twi_cci_id = <0>; sensor1_twi_addr = <0x6c>; sensor1_mclk_id = <1>; sensor1_pos = "front"; sensor1_isp_used = <0>; sensor1_fmt = <0>; sensor1_stby_mode = <0>; sensor1_vflip = <0>; sensor1_hflip = <0>; sensor1_iovdd-supply = <>; sensor1_iovdd_vol = <2800000>; sensor1_avdd-supply = <>; sensor1_avdd_vol = <2800000>; sensor1_dvdd-supply = <>; sensor1_dvdd_vol = <1500000>; sensor1_power_en = <>; sensor1_reset = <&pio PI 3 1 0 1 0>; sensor1_pwdn = <&pio PI 4 1 0 1 0>; status = "disabled"; }; vinc0:vinc@0 { vinc0_csi_sel = <0>; vinc0_mipi_sel = <0>; vinc0_isp_sel = <0>; vinc0_isp_tx_ch = <0>; vinc0_rear_sensor_sel = <0>; vinc0_front_sensor_sel = <0>; vinc0_sensor_list = <0>; status = "okay"; }; vinc1:vinc@1 { vinc1_csi_sel = <0>; vinc1_mipi_sel = <0>; vinc1_isp_sel = <0>; vinc1_isp_tx_ch = <0>; vinc1_rear_sensor_sel = <0>; vinc1_front_sensor_sel = <0>; vinc1_sensor_list = <0>; status = "okay"; }; vinc2:vinc@2 { vinc2_csi_sel = <0>; vinc2_mipi_sel = <0>; vinc2_isp_sel = <0>; vinc2_isp_tx_ch = <0>; vinc2_rear_sensor_sel = <0>; vinc2_front_sensor_sel = <0>; vinc2_sensor_list = <0>; status = "disabled"; }; vinc3:vinc@3 { vinc3_csi_sel = <1>; vinc3_mipi_sel = <0xff>; vinc3_isp_sel = <1>; vinc3_isp_tx_ch = <0>; vinc3_rear_sensor_sel = <1>; vinc3_front_sensor_sel = <1>; vinc3_sensor_list = <0>; status = "disabled"; }; }; s_owc0: s_owc@07040400 { pinctrl-0 = <&owc0_pins_a>; pinctrl-1 = <&owc0_pins_b>; status = "okay"; }; sdc0: sdmmc@04020000 { pinctrl-0 = <&sdc0_pins_a>; bus-width = <4>; // cd-gpios = <&pio PF 6 0 1 3 0xffffffff>; non-removable; card-pwr-gpios;// = <&pio PC 4 1 1 2 0xffffffff>; sunxi-power-save-mode; sunxi-signal-vol-sw-without-pmu; sd-uhs-sdr50; sd-uhs-ddr50; sd-uhs-sdr104; /*sunxi-dis-signal-vol-sw;*/ max-frequency = <150000000>; min-frequency = <100000>; cd-used-24M; no-sdio; /*broken-cd;*/ ctl-spec-caps = <0x8>; status = "okay"; }; card0_boot_para { device_type = "card0_boot_para"; card_ctrl = <0x0>; card_high_speed = <0x1>; card_line = <0x4>; time_pwroff_ms = <200>; pinctrl-1 = <&sdc0_pins_b>; card-pwr-gpios;// = <&pio PC 4 1 1 2 0xffffffff>; status = "okay"; }; sdc1: sdmmc@04021000 { pinctrl-0 = <&sdc1_pins_a>; bus-width = <4>; /*sunxi-power-save-mode;*/ /*sd-uhs-sdr12*/ /*sd-uhs-sdr25*/ /*sd-uhs-sdr50*/ /*sd-uhs-sdr104*/ /*sunxi-dis-signal-vol-sw;*/ cap-sdio-irq; keep-power-in-suspend; ignore-pm-notify; max-frequency = <50000000>; status = "okay"; }; usbc0:usbc0@0{ usb_port_type = <0>; usb_detect_type = <0>; usb_detect_mode = <0>; usb_id_gpio; usb_det_vbus_gpio; usb_drv_vbus_gpio; usb_host_init_state = <0>; status = "okay"; }; disp: disp@01000000 { disp_init_enable = <1>; disp_mode = <0>; screen0_output_type = <1>; screen0_output_mode = <4>; disp_rotation_used = <1>; degree0 = <0>; fb0_format = <8>; fb0_width = <240>; fb0_height = <240>; // fb0_height = <320>; lcd0_backlight = <50>; lcd0_bright = <50>; lcd0_contrast = <50>; lcd0_saturation = <57>; lcd0_hue = <50>; }; lcd0: lcd0@01c0c000 { lcd_used = <1>; lcd_size = "1.3"; lcd_model_name = "inv"; lcd_driver_name = "st7789v_cpu"; lcd_x = <240>; lcd_y = <240>; lcd_width = <108>; lcd_height = <64>; lcd_dclk_freq = <10>; lcd_backlight = <50>; lcd_pwm_used = <0>; lcd_pwm_ch = <1>; lcd_pwm_freq = <50000>; lcd_pwm_pol = <1>; lcd_pwm_max_limit = <255>; lcd_hbp = <60>; lcd_ht = <298>; lcd_hspw = <30>; lcd_vbp = <250>; lcd_vt = <265>; lcd_vspw = <2>; lcd_if = <1>; lcd_frm = <2>; lcd_cpu_mode = <1>; lcd_cpu_te = <0>; lcd_cpu_if = <14>; lcd_io_phase = <0x0000>; lcdgamma4iep = <22>; lcd_gamma_en = <0>; lcd_cmap_en = <0>; lcd_bright_curve_en = <0>; lcd_rb_swap = <0>; lcd_gpio_0 = <&pio PH 5 1 0 3 0>; /* rst */ lcd_gpio_1 = <&pio PD 21 1 0 3 0>; /* cs */ pinctrl-0 = <&rgb8_pins_a>; pinctrl-1 = <&rgb8_pins_b>; }; daudio0:daudio@0x05090000 { mclk_div = <0x0>; frametype = <0x00>; tdm_config = <0x01>; sign_extend = <0x00>; tx_data_mode = <0x00>; rx_data_mode = <0x00>; msb_lsb_first = <0x00>; pcm_lrck_period = <0x80>; slot_width_select = <0x20>; asrc_function_en = <0x00>; daudio_master = <0x04>; signal_inversion = <0x01>; audio_format = <0x01>; status = "okay"; }; daudio1:daudio@0x05091000 { mclk_div = <0x01>; frametype = <0x00>; tdm_config = <0x01>; sign_extend = <0x00>; tx_data_mode = <0x00>; rx_data_mode = <0x00>; msb_lsb_first = <0x00>; pcm_lrck_period = <0x80>; slot_width_select = <0x20>; status = "disabled"; }; codec:codec@0x05096000 { pa_level = <0x1>; main_gain = <0x17>; adcdrc_cfg = <0x00>; adchpf_cfg = <0x01>; dacdrc_cfg = <0x01>; dachpf_cfg = <0x00>; digital_vol = <0x00>; lineout_vol = <0x1f>; pa_msleep_time = <0xa0>; /* gpio-spk = <&pio PH 14 1 1 1 1>; */ status = "okay"; }; sndcodec:sound@0 { status = "disabled"; }; snddaudio0:sound@1 { audio_format = <0x01>; daudio_master = <0x04>; signal_inversion = <0x01>; sunxi,snddaudio-codec = "ac108.2-003b"; sunxi,snddaudio-codec-dai = "ac108-pcm0"; sunxi,cpudai-controller = <&daudio0>; status = "okay"; }; snddaudio1:sound@2 { audio_format = <0x01>; daudio_master = <0x04>; signal_inversion = <0x01>; status = "disabled"; }; }; //wlan:wlan { // compatible = "allwinner,sunxi-wlan"; // clocks = <&clk_losc_out>; // wlan_busnum = <1>; // wlan_usbnum = <3>; // wakeup_source = <0>; // // /* wlan_power-supply = <®_dcdc1>; */ // /* io_regulator-supply = <®_dcdc5>; */ // // /* wlan_power_vol = <3300000>; */ // /* io_regulator_vol = <3300000>; */ // // /* wlan_en; */ // wlan_regon = <&pio PH 4 1 0 1 0>; // /* wlan_hostwake = <&pio PG 7 0 0 1 0>; */ // wlan_hostwake; // status = "okay"; // }; };
以及启动日志
[32]HELLO! BOOT0 is starting! [35]BOOT0 commit : e3b2a9e [38]board init start [40]set pll start [42]set pll end [44][pmu]: bus read error [46][pmu]: bus read error [49]board init ok [51]chip id check OK [52]DRAM BOOT DRIVE INFO: V0.41 [56]DRAM CLK = 528 MHz [58]DRAM Type = 2 (2:DDR2,3:DDR3) [61]DRAMC read ODT off. [63]DRAM ODT off. [66]DRAM SIZE =64 M [72]DRAM simple test OK. [74]rtc standby flag is 0x0, super standby flag is 0x0 [79]dram size =64 [82]card no is 0 [83]sdcard 0 line count 4 [86][mmc]: mmc driver ver 2020-01-08 17:05 [90][mmc]: sdc0 spd mode error, 2 [93][mmc]: set f_max to 50M, set f_max_ddr to 25M [98][mmc]: mmc 0 bias 0 [106][mmc]: Wrong media type 0x0 [109][mmc]: ***Try SD card 0*** [119][mmc]: HSSDR52/SDR25 4 bit [122][mmc]: 50000000 Hz [125][mmc]: 7680 MB [127][mmc]: ***SD/MMC 0 init OK!!!*** [190]Loading boot-pkg Succeed(index=0). [194]Entry_name = optee [197]Entry_name = u-boot [203]Entry_name = dtb [206]Jump to second Boot. MESSAGE: [0x0] TEE-CORE: OP-TEE version: sun8iw19p1_v0.6.0-14-gf6954e7 #1 2019年 11月 21日 星期四 01:34:42 UTC arm ERROR: [0x0] TEE-CORE:platform_standby_fdt_parse:126: no pmu node ERROR: [0x0] TEE-CORE:sunxi_twi_parse_from_dt:84: no pmu node U-Boot 2018.05-00008-g384031a (Jan 16 2020 - 14:12:41 +0800) Allwinner Technology [00.278]CPU: Allwinner Family [00.280]Model: sun8iw19 I2C: ready [00.285]DRAM: 64 MiB [00.288]Relocation Offset is: f9f46000 [00.309]secure enable bit: 0 [00.312]pmu_axp152_probe pmic_bus_read fail [00.316]pmu_axp2101_probe pmic_bus_read fail [00.320]bmu_axp152_probe pmic_bus_read fail [00.323]bmu_axp2101_probe pmic_bus_read fail [00.327]CPU=816 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=132Mhz [00.334]gic: sec monitor mode [00.336]flash init start [00.339]workmode = 0,storage type = 1 [00.342]MMC: 0 [00.343]get mem for descripter OK ! card_caps:0x3000000a host_caps:0x3000003f [00.375]sunxi flash init ok [00.379]Loading Environment from SUNXI_FLASH... OK [00.406]update dts root_partition is rootfs set root to /dev/mmcblk0p4 [00.436]update part info [00.462]update bootcmd [00.464]No ethernet found. Hit any key to stop autoboot: 0 ## Booting kernel from Legacy Image at 45000000 ... Image Name: ARM OpenWrt Linux-4.9.118 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2956008 Bytes = 2.8 MiB Load Address: 40008000 Entry Point: 40008000 [01.856]Starting kernel ... [01.859]mmc 2 not find, so not exit [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.118 (tina@ubuntu) (gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) ) #10 PREEMPT Mon Nov 14 07:15:06 UTC 2022 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c5387d [ 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: sun8iw19 [ 0.000000] ion_mem_reserve: err format for ion reserve list! [ 0.000000] Memory policy: Data cache writeback [ 0.000000] On node 0 totalpages: 16384 [ 0.000000] free_area_init_node: node 0, pgdat c04c4058, node_mem_map c3f79000 [ 0.000000] Normal zone: 128 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 16384 pages, LIFO batch:3 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.0 [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x05000000 initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p4 rootwait init=/pseudo_init rdinit=/sbin/rdinit partitions=boot-res@mmcblk0p1:env@mmcblk0p2:boot@mmcblk0p3:rootfs@mmcblk0p4:UDISK@mmcblk0p5 cma=0 mac_addr= wifi_mac= bt_mac= selinux= specialstr= coherent_pool=16K ion_carveout_list= androidboot.mode=normal androidboot.hardware=sun8iw19p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-00008-g384031a(01/16/2020-14:12:41) mbr_offset=1032192 bootreason=unknow [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Memory: 59552K/65536K available (3120K kernel code, 235K rwdata, 1200K rodata, 136K init, 129K bss, 5984K reserved, 0K cma-reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xc4800000 - 0xff800000 ( 944 MB) [ 0.000000] lowmem : 0xc0000000 - 0xc4000000 ( 64 MB) [ 0.000000] modules : 0xbf800000 - 0xc0000000 ( 8 MB) [ 0.000000] .text : 0xc0008000 - 0xc0314240 (3121 kB) [ 0.000000] .init : 0xc0468000 - 0xc048a000 ( 136 kB) [ 0.000000] .data : 0xc048a000 - 0xc04c4c58 ( 236 kB) [ 0.000000] .bss : 0xc04c4c58 - 0xc04e5244 ( 130 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000021] Switching to timer-based delay loop, resolution 41ns [ 0.000158] Console: colour dummy device 80x30 [ 0.000185] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.000200] pid_max: default: 32768 minimum: 301 [ 0.000371] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000383] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000976] CPU: Testing write buffer coherency: ok [ 0.001247] Setting up static identity map for 0x400081c0 - 0x4000820c [ 0.002684] devtmpfs: initialized [ 0.030493] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.030831] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.030856] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.031013] atomic64_test: passed [ 0.031025] pinctrl core: initialized pinctrl subsystem [ 0.031904] NET: Registered protocol family 16 [ 0.032475] DMA: preallocated 16 KiB pool for atomic coherent allocations [ 0.033888] dump_class_init,857, success [ 0.035231] sunxi iommu: irq = 23 [ 0.041077] sun8iw19p1-r-pinctrl r_pio: initialized sunXi PIO driver [ 0.056831] use hosc , set rate 1000000 [ 0.056860] sun8iw19p1-pinctrl pio: initialized sunXi PIO driver [ 0.059076] iommu: Adding device 1c0e000.ve to group 0 [ 0.060828] iommu: Adding device 2300000.eise to group 0 [ 0.068299] iommu: Adding device 1000000.disp to group 0 [ 0.070078] iommu: Adding device 1480000.g2d to group 0 [ 0.070652] iommu: Adding device 2400000.nna to group 0 [ 0.074375] iommu: Adding device csi0 to group 0 [ 0.075663] iommu: Adding device csi1 to group 0 [ 0.076962] iommu: Adding device 2100000.isp to group 0 [ 0.077545] iommu: Adding device 2104000.scaler to group 0 [ 0.077927] iommu: Adding device 2104400.scaler to group 0 [ 0.078272] iommu: Adding device 2104800.scaler to group 0 [ 0.078773] iommu: Adding device 2104c00.scaler to group 0 [ 0.080373] iommu: Adding device vinc0 to group 0 [ 0.081121] iommu: Adding device vinc1 to group 0 [ 0.131316] pwm module init! [ 0.135165] SCSI subsystem initialized [ 0.135564] usbcore: registered new interface driver usbfs [ 0.135655] usbcore: registered new interface driver hub [ 0.138244] usbcore: registered new device driver usb [ 0.138521] sunxi_i2c_adap_init()2551 - init [ 0.139109] sunxi_i2c_probe()2288 - [i2c1] twi_drv_used = 1 [ 0.139124] sunxi_i2c_probe()2292 - [i2c1] twi_pkt_interval = 0 [ 0.139144] twi1 supply twi not found, using dummy regulator [ 0.139246] twi_request_gpio()455 - [i2c1] init name: twi1 [ 0.139566] sunxi_i2c_dma_request()1125 - [i2c1] using dma0chan0 (tx) and dma0chan1 (rx)for DMA transfers [ 0.139676] sun8iw19p1-pinctrl pio: expect_func as:twi2, but muxsel(5) is func:uart2 [ 0.139695] sun8iw19p1-pinctrl pio: expect_func as:twi2, but muxsel(5) is func:uart2 [ 0.140346] sunxi_i2c_probe()2288 - [i2c2] twi_drv_used = 0 [ 0.140361] sunxi_i2c_probe()2292 - [i2c2] twi_pkt_interval = 0 [ 0.140380] twi2 supply twi not found, using dummy regulator [ 0.140475] twi_request_gpio()455 - [i2c2] init name: twi2 [ 0.141853] media: Linux media interface: v0.10 [ 0.142008] Linux video capture interface: v2.00 [ 0.143268] ion_parse_dt_heap_common: id 0 type 0 name sys_user align 1000 [ 0.143523] ion_parse_dt_heap_common: id 1 type 1 name sys_contig align 1000 [ 0.143740] ion_parse_dt_heap_common: id 4 type 4 name cma align 1000 [ 0.145030] Advanced Linux Sound Architecture Driver Initialized. [ 0.148460] G2D: rcq version initialized.major:251 [ 0.149377] clocksource: Switched to clocksource arch_sys_counter [ 0.171664] udc_init,0 [ 0.171839] NET: Registered protocol family 2 [ 0.172678] TCP established hash table entries: 16 (order: -6, 64 bytes) [ 0.172696] TCP bind hash table entries: 16 (order: -6, 64 bytes) [ 0.172707] TCP: Hash tables configured (established 16 bind 16) [ 0.172773] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.172795] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.172965] NET: Registered protocol family 1 [ 0.175841] workingset: timestamp_bits=30 max_order=14 bucket_order=0 [ 0.192585] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.193368] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. [ 0.195961] NET: Registered protocol family 38 [ 0.196010] io scheduler noop registered [ 0.196020] io scheduler deadline registered [ 0.196314] io scheduler cfq registered (default) [ 0.197268] [DISP]disp_module_init [ 0.230897] [DISP] Fb_copy_boot_fb,line:1503: [ 0.230912] no boot_fb0 [ 0.233732] [DISP] disp_sys_pwm_config,line:618: [ 0.233744] disp_sys_pwm_Config, handle is NULL! [ 0.233755] [DISP] disp_sys_pwm_set_polarity,line:636: [ 0.233761] disp_sys_pwm_Set_Polarity, handle is NULL! [ 0.235155] [DISP]disp_module_init finish [ 0.237427] uart uart0: get regulator failed [ 0.237457] uart0 supply uart not found, using dummy regulator [ 0.237658] uart uart0: uart0 error to get fifo size property [ 0.237720] uart0: ttyS0 at MMIO 0x5000000 (irq = 294, base_baud = 1500000) is a SUNXI [ 0.237748] sw_console_setup()1830 - console setup baud 115200 parity n bits 8, flow n [ 0.365017] [ST7789V LCD INFO] LINE:0208-->LCD_panel_init: [ 0.365026] [ST7789V LCD INFO] LINE:0225-->lcd_panel_st7789v_init: [ 0.861362] [DISP] disp_lcd_pwm_enable,line:959: [ 0.861363] pwm device hdl is NULL [ 0.861375] [DISP] disp_device_attached_and_enable,line:221: [ 0.861376] attached ok, mgr0<-->dev0 [ 0.861387] [DISP] disp_device_attached_and_enable,line:224: [ 0.861388] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:0 dvi_hdmi:2, range:2 scan:0 ratio:8 [ 1.189520] console [ttyS0] enabled [ 1.194231] uart uart1: get regulator failed [ 1.199052] uart1 supply uart not found, using dummy regulator [ 1.206043] uart uart1: uart1 error to get fifo size property [ 1.212682] uart1: ttyS1 at MMIO 0x5000400 (irq = 295, base_baud = 1500000) is a SUNXI [ 1.222683] misc dump reg init [ 1.228568] libphy: Fixed MDIO Bus: probed [ 1.234332] sun8iw19p1-pinctrl pio: expect_func as:gmac0, but muxsel(5) is func:ephy [ 1.243476] sun8iw19p1-pinctrl pio: pin PD1 already requested by soc@03000000:lcd0@01c0c000; cannot claim for 5020000.eth [ 1.256042] sun8iw19p1-pinctrl pio: pin-97 (5020000.eth) status -22 [ 1.263162] sun8iw19p1-pinctrl pio: could not request pin 97 (PD1) from group PD1 on device pio [ 1.273105] sunxi-gmac 5020000.eth: Error applying setting, reverse things back [ 1.281392] sunxi-gmac: probe of 5020000.eth failed with error -22 [ 1.288604] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.296392] get drv_vbus is fail, 84 [ 1.300483] get ehci0-controller, regulator_io is no nocare [ 1.306794] get ehci0-controller wakeup-source is fail. [ 1.312883] sunxi ehci0-controller don't init wakeup source [ 1.319160] [sunxi-ehci0]: probe, pdev->name: 5101000.ehci0-controller, sunxi_ehci: 0xc04df698, 0x:c48dd000, irq_no:12c [ 1.331450] sunxi-ehci 5101000.ehci0-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.341723] sunxi-ehci 5101000.ehci0-controller: new USB bus registered, assigned bus number 1 [ 1.351614] sunxi-ehci 5101000.ehci0-controller: irq 300, io mem 0xc3057800 [ 1.389404] sunxi-ehci 5101000.ehci0-controller: USB 0.0 started, EHCI 1.00 [ 1.398309] hub 1-0:1.0: USB hub found [ 1.402829] hub 1-0:1.0: 1 port detected [ 1.407589] [ehci0-controller]: sunxi_usb_disable_ehci [ 1.413423] [sunxi-ehci0]: remove, pdev->name: 5101000.ehci0-controller, sunxi_ehci: 0xc04df698 [ 1.423284] sunxi-ehci 5101000.ehci0-controller: remove, state 1 [ 1.430133] usb usb1: USB disconnect, device number 1 [ 1.436562] sunxi-ehci 5101000.ehci0-controller: USB bus 1 deregistered [ 1.444798] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.452270] get drv_vbus is fail, 84 [ 1.456334] get ohci0-controller, regulator_io is no nocare [ 1.462697] get ohci0-controller wakeup-source is fail. [ 1.468736] sunxi ohci0-controller don't init wakeup source [ 1.475224] [sunxi-ohci0]: probe, pdev->name: 5101000.ohci0-controller, sunxi_ohci: 0xc04dee48 [ 1.485042] sunxi-ohci 5101000.ohci0-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 1.494911] sunxi-ohci 5101000.ohci0-controller: new USB bus registered, assigned bus number 1 [ 1.504663] sunxi-ohci 5101000.ohci0-controller: irq 301, io mem 0xc3057c00 [ 1.584438] hub 1-0:1.0: USB hub found [ 1.588904] hub 1-0:1.0: 1 port detected [ 1.593693] [ohci0-controller]: sunxi_usb_disable_ohci [ 1.599522] [sunxi-ohci0]: remove, pdev->name: 5101000.ohci0-controller, sunxi_ohci: 0xc04dee48 [ 1.609326] sunxi-ohci 5101000.ohci0-controller: remove, state 1 [ 1.616186] usb usb1: USB disconnect, device number 1 [ 1.622684] sunxi-ohci 5101000.ohci0-controller: USB bus 1 deregistered [ 1.631043] usbcore: registered new interface driver uas [ 1.637380] usbcore: registered new interface driver usb-storage [ 1.644406] usbcore: registered new interface driver ums-alauda [ 1.651430] usbcore: registered new interface driver ums-cypress [ 1.658395] usbcore: registered new interface driver ums-datafab [ 1.665384] usbcore: registered new interface driver ums_eneub6250 [ 1.672613] usbcore: registered new interface driver ums-freecom [ 1.679699] usbcore: registered new interface driver ums-isd200 [ 1.686602] usbcore: registered new interface driver ums-jumpshot [ 1.693696] usbcore: registered new interface driver ums-karma [ 1.700562] usbcore: registered new interface driver ums-onetouch [ 1.707707] usbcore: registered new interface driver ums-realtek [ 1.714720] usbcore: registered new interface driver ums-sddr09 [ 1.721668] usbcore: registered new interface driver ums-sddr55 [ 1.728599] usbcore: registered new interface driver ums-usbat [ 1.735346] usb_serial_number:20080411 [ 1.739984] sunxi_gpadc_init,1831, success [ 1.745081] sunxi_gpadc_setup: get channel scan data failed [ 1.752110] input: sunxi-gpadc0 as /devices/virtual/input/input0 [ 1.760284] sunxi-rtc rtc: rtc core: registered sunxi-rtc as rtc0 [ 1.767240] sunxi-rtc rtc: RTC enabled [ 1.772192] i2c /dev entries driver [ 1.776804] sunxi cedar version 0.1 [ 1.781176] VE: install start!!! [ 1.781176] [ 1.786632] cedar_ve: cedar-ve the get irq is 291 [ 1.792160] VE: line 1811 set the sram data [ 1.792160] [ 1.799051] VE: ve_debug_proc_info:c04e1910, data:c39dc000, lock:c04e1998 [ 1.799051] [ 1.808636] VE: install end!!! [ 1.808636] [ 1.814235] google_vp9: sunxi google vp9 version 0.1 [ 1.821052] sunxi-wdt 30090a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 1.832030] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v3.37 2019-12-4 9:48) [ 1.841276] sunxi-mmc sdc0: ***ctl-spec-caps*** 8 [ 1.846618] sunxi-mmc sdc0: No vmmc regulator found [ 1.852207] sunxi-mmc sdc0: No vqmmc regulator found [ 1.857801] sunxi-mmc sdc0: No vdmmc regulator found [ 1.863501] sunxi-mmc sdc0: No vd33sw regulator found [ 1.869200] sunxi-mmc sdc0: No vd18sw regulator found [ 1.874930] sunxi-mmc sdc0: No vq33sw regulator found [ 1.880660] sunxi-mmc sdc0: No vq18sw regulator found [ 1.886369] sunxi-mmc sdc0: Cann't get uart0 pinstate,check if needed [ 1.893642] sunxi-mmc sdc0: Cann't get sleep pinstate,check if needed [ 1.901385] sunxi-mmc sdc0: set host busy [ 1.905993] mmc:failed to get gpios [ 1.909963] sunxi-mmc sdc0: min-frequency:100000 [ 1.915444] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.925931] sunxi-mmc sdc0: no vqmmc,Check if there is regulator [ 1.959409] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.999409] sunxi-mmc sdc0: detmode:alway in(non removable) [ 1.999437] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.007828] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.030842] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.041992] sunxi-mmc sdc1: SD/MMC/SDIO Host Controller Driver(v3.37 2019-12-4 9:48) [ 2.042136] sunxi-mmc sdc1: No vmmc regulator found [ 2.042143] sunxi-mmc sdc1: No vqmmc regulator found [ 2.042148] sunxi-mmc sdc1: No vdmmc regulator found [ 2.042153] sunxi-mmc sdc1: No vd33sw regulator found [ 2.042159] sunxi-mmc sdc1: No vd18sw regulator found [ 2.042164] sunxi-mmc sdc1: No vq33sw regulator found [ 2.042170] sunxi-mmc sdc1: No vq18sw regulator found [ 2.042187] sunxi-mmc sdc1: Cann't get uart0 pinstate,check if needed [ 2.042602] sunxi-mmc sdc1: set host busy [ 2.042665] mmc:failed to get gpios [ 2.042941] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.042972] sunxi-mmc sdc1: no vqmmc,Check if there is regulator [ 2.074373] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.103395] sunxi-mmc sdc1: detmode:manually by software [ 2.148820] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.162856] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 2.169704] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 2.175748] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.187427] usbcore: registered new interface driver usbhid [ 2.187430] usbhid: USB HID core driver [ 2.187812] mostcore: init() [ 2.206705] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.219587] sunxi-mmc sdc1: smc 1 p1 err, cmd 8, RTO !! [ 2.225503] mmc0: host does not support reading read-only switch, assuming write-enable [ 2.235393] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 2.241320] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 2.252002] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 2.257917] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 2.263825] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 2.269741] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !! [ 2.275749] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !! [ 2.281757] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !! [ 2.287752] sunxi-mmc sdc1: smc 1 p1 err, cmd 55, RTO !! [ 2.287783] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.293855] sunxi-mmc sdc1: smc 1 p1 err, cmd 1, RTO !! [ 2.293887] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.322023] sunxi-mmc sdc0: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 2.333043] sunxi-mmc sdc0: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B [ 2.343986] mmc0: new high speed SDHC card at address 0001 [ 2.351023] mmcblk0: mmc0:0001 ASTC 7.50 GiB [ 2.359857] mmcblk0: p1 p2 p3 p4 p5 [ 2.567299] random: fast init done [ 7.209398] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 12.249393] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 17.289395] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 22.329394] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 27.369395] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 32.409396] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 37.449390] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 42.489388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 47.529400] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 52.569388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 57.609388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 62.649396] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 67.689388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 72.729388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 77.769387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 82.809388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 87.849387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 92.889388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 97.929388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 102.969387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 106.015423] random: crng init done [ 108.009389] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 113.049394] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 118.089388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 123.129388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 128.169388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 128.177044] ac108 2-003b: ref_cfg.ref_channel:0x3, set ref_pga_gain:16 [ 133.209388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 138.249387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 143.289387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 148.329387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 153.369387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 158.409388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 163.449388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 168.489387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 173.609387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 178.649387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x3b) [ 178.657072] ac108 2-003b: i2c probe succeed. [ 183.689394] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 188.729388] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 193.769387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 198.809387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 203.849387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 208.889387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 213.929394] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 218.969395] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 224.009387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 229.049387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 234.089393] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 239.129387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 244.169386] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 249.209387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 254.249386] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 259.289387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 264.329387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 269.369387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 274.409387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 279.449393] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 284.489387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 289.529387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 294.569386] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 299.609386] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 304.649386] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 304.657043] ac108 2-0035: ref_cfg.ref_channel:0x3, set ref_pga_gain:16 [ 309.689390] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 314.729387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 319.769387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 324.809387] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 329.849386] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 334.889386] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 339.929386] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 344.969393] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 350.089386] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 355.129386] sunxi_i2c_do_xfer()1935 - [i2c2] xfer timeout (dev addr:0x35) [ 355.137066] ac108 2-0035: i2c probe succeed. [ 355.142563] --->sunxi_daudio_dev_probe<--- strat. [ 355.148024] sunxi-daudio daudio0: regulator missing or invalid [ 355.154915] --->sunxi_daudio_dev_probe<--- end. [ 355.160826] digital_vol:0, lineout_vol:31, main_gain:23, pa_msleep:160, pa_level:1 [ 355.169597] adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:1, dachpf:0 [ 355.176277] sunxi-internal-codec codec: [sunxi_internal_codec_probe] codec probe finished. [ 355.187775] NET: Registered protocol family 10 [ 355.194629] NET: Registered protocol family 17 [ 355.199995] NET: Registered protocol family 15 [ 355.205769] Registering SWP/SWPB emulation handler [ 355.217662] get det_vbus is fail, 84 [ 355.221886] get id is fail, 84 [ 355.226226] sunxi-rtc rtc: setting system clock to 1970-01-01 00:17:11 UTC (1031) [ 355.235888] snddaudio snddaudio0: codec: ac108.2-003b, codec_dai: ac108-pcm0. [ 355.244523] snddaudio snddaudio0: ac108-pcm0 <-> daudio0 mapping ok [ 355.253138] ALSA device list: [ 355.256518] #0: sndac108.2-003b ^[ 355.262964] EXT4-fs (mmcblk0p4): couldn't mount as ext3 due to feature incompatibilities [ 355.282456] EXT4-fs (mmcblk0p4): mounted filesystem without journal. Opts: (null) [ 355.291283] VFS: Mounted root (ext4 filesystem) readonly on device 179:4. [ 355.299228] Freeing unused kernel memory: 136K [ 355.304318] This architecture does not have kernel memory protection. [ 355.491611] EXT4-fs (mmcblk0p4): warning: mounting unchecked fs, running e2fsck is recommended [ 355.507586] EXT4-fs error (device mmcblk0p4): ext4_has_uninit_itable:3049: comm mount: Inode table for bg 0 marked as needing zeroing [ 355.525377] EXT4-fs (mmcblk0p4): Remounting filesystem read-only [ 355.532191] EXT4-fs (mmcblk0p4): re-mounted. Opts: block_validity,delalloc,barrier,user_xattr ------run rc.preboot file----- [ 355.771252] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null) ------run rc.modules file----- ------run rc.final file----- Load mpp modules [ 355.979330] [sensor_power_err]fetch sensor0_phase from device_tree failed [ 356.053679] [VIN_ERR]registering sp2305_mipi, No such device! Initializing random number generator... done. Starting network... [ 356.381921] get wifi_sdc_id failed [ 356.516050] get wifi_sdc_id failed insmod: can't insert '/lib/modules/4.9.118/8189fs.ko': Operation not permitted ifconfig: SIOCGIFFLAGS: No such device Successfully initialized wpa_supplicant Line 6: Invalid passphrase length 0 (expected: 8..63) '"'. Line 6: failed to parse psk '""'. Line 7: failed to parse network block. Failed to read or parse configuration '/etc/wpa_supplicant.conf'. udhcpc: SIOCGIFINDEX: No such device Starting telnetd: OK enable android usb [ 358.666454] file system registered [ 358.677955] Mass Storage Function, version: 2009/09/11 [ 358.683941] LUN: removable file: (no medium) [ 358.721450] read descriptors [ 358.724713] read strings [ 359.289398] [ 359.289398] insmod_device_driver [ 359.289398] [ 359.296639] device_chose finished 124! sh: write error: Resource busy generate key Public key portion is: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKj6mtQSsizfGZRzCkxmXH05+mWT8NdT33msREbe2rwjCTryHxXyNzITB8dYtumpvQg7TvBhOSBqQ4nnTxmryoKlYAVpKOt3IVYtzWR3MVb/PjMHvZOi+whtJ3a+pekCrdnsv8zYhp0Kh7tUnPA1vRwzxEPRn9GfxrNuRioVhF0pGlEpiGzZc+z39HIZJfuS82JYxJvthCaHtJnAm3IYIdFaGKGQhaTZ2RG0K17Hmpxr8MHJPVOqcNNIOQm0884HMQJjK765CdPgj13ePpVkihIyYruntvJsCIWnILou7DRc4Ns2syMj9GSqf97eDXpEfBI8PtUeXb7CM7lf/u/9xX root@YuzukiIRC Fingerprint: md5 db:94:52:29:18:2d:16:90:cc:05:75:6d:24:d7:d1:84 Start dropbear: OK Starting ntpd: done BusyBox v1.27.2 () built-in shell (ash) ------run profile file----- _ _ _ ____ _____ | | | | Powered by OpenWRT | | / __ \ / ____| | | | |_ __ _ _ ___ ___ | | __ _| | | | (___ | | | | '_ \| | | / __|/ _ \| |/ _` | | | |\___ \ | |__| | | | | |_| \__ \ (_) | | (_| | |__| |____) | \____/|_| |_|\__,_|___/\___/|_|\__,_|\____/|_____/ ---------------------------------------------------- Yuzuki UnusolaOS (v1.0, Tina: 5C1C9C53) ---------------------------------------------------- root@YuzukiIRC:/# w