介绍
- 使用了两个git库分别为:
- A库:https://github.com/100askTeam/buildroot_aw-ol
- B库:https://github.com/100askTeam/buildroot-external-mq
A库使用介绍
安装环境:
sudo apt-get install -y which sed make binutils build-essential gcc g++ bash patch gzip bzip2 perl tar cpio unzip rsync file bc wget python ncurses5 bazaar cvs git mercurial rsync scp subversion android-tools-mkbootimg
单独编译各个部分
单独编译 opensbi阶段
sudo time make opensbi-rebuild V=1 -j16
单独编译 uboot阶段
sudo time make uboot-rebuild V=1 -j16
单独编译 kernel阶段
sudo time make linux-rebuild V=1 -j16
单独编译文件系统
指定完成工具链 系统配置 需要安装的包 以及所需的格式 执行如下命令,最后生成的镜像在 output/image目录下。
make all //完整编译系统
从这条路走下去是没有问题的:环境
安装软件包:
sudo apt install debianutils sed make binutils build-essential gcc g++ bash patch gzip bzip2 perl tar cpio unzip rsync file bc git
获取Buildroot源代码
获取buildroot源码
sudo git clone https://github.com/100askTeam/buildroot_aw-ol.git buildroot
获取buildroot源码后,可以单独获取 芒果PI MQ 的 BR2_EXTERNAL 源码。
sudo git clone -b main https://github.com/100askTeam/buildroot-external-mq.git
首先进入到buildroot目录
接下来执行配置命令,来使用 mq_core_defconfig配置文件进行配置。
cd buildroot
sudo make BR2_EXTERNAL=../buildroot-external-mq mq_core_defconfig
指定配置文件后,可以使用 make menuconfig 命令来增加自己需要的包。
增加完成软件包后,就可以直接执行 make 命令开始编译了。
sudo make -j16
编译时会自动下载所需的软件包,进行配置编译最后打包成一个完成的系统镜像,整个时间受网络环境而定,我花了4个小时才编译完成,只不过出现了一个错误。
......
GetPrivateProfileSection read to end
content_count=3
boot.img .....
/home/liefyuan/RV64/Buildroot/buildroot-external-mq/board/mq/post-build.sh: 8: /home/liefyuan/RV64/Buildroot/buildroot-external-mq/board/mq/post-build.sh: mkbootimg: not found
Makefile:751: recipe for target 'target-finalize' failed
有说法是没有安装android-tools-mkbootimg
这个包
那就安装
liefyuan@ubuntu:~/RV64/Buildroot/buildroot$ sudo apt-get install -y android-tools-mkbootimg
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 无法定位软件包 android-tools-mkbootimg
装不了!
**换源!**参考:https://blog.csdn.net/qq_35451572/article/details/79516563
sudo apt-get install android-tools-mkbootimg
安装好以后就可以了。
home/liefyuan/RV64/Buildroot/buildroot-external-mq/board/mq/genimage.cfg:45: no sub-section title/index for 'config'
INFO: cmd: "mkdir -p "/home/liefyuan/RV64/Buildroot/buildroot/output/build/genimage.tmp"" (stderr):
INFO: cmd: "rm -rf "/home/liefyuan/RV64/Buildroot/buildroot/output/build/genimage.tmp"/*" (stderr):
INFO: cmd: "mkdir -p "/home/liefyuan/RV64/Buildroot/buildroot/output/build/genimage.tmp"" (stderr):
INFO: cmd: "cp -a "/tmp/tmp.vigHAPONnh" "/home/liefyuan/RV64/Buildroot/buildroot/output/build/genimage.tmp/root"" (stderr):
INFO: cmd: "find '/home/liefyuan/RV64/Buildroot/buildroot/output/build/genimage.tmp/root' -depth -type d -printf '%P\0' | xargs -0 -I {} touch -r '/tmp/tmp.vigHAPONnh/{}' '/home/liefyuan/RV64/Buildroot/buildroot/output/build/genimage.tmp/root/{}'" (stderr):
INFO: cmd: "mkdir -p "/home/liefyuan/RV64/Buildroot/buildroot/output/images"" (stderr):
INFO: vfat(boot.vfat): cmd: "dd if=/dev/zero of="/home/liefyuan/RV64/Buildroot/buildroot/output/images/boot.vfat" seek=33554432 count=0 bs=1 2>/dev/null" (stderr):
INFO: vfat(boot.vfat): cmd: "mkdosfs '/home/liefyuan/RV64/Buildroot/buildroot/output/images/boot.vfat'" (stderr):
INFO: vfat(boot.vfat): adding file 'boot.img' as 'boot.img' ...
INFO: vfat(boot.vfat): cmd: "MTOOLS_SKIP_CHECK=1 mcopy -bsp -i '/home/liefyuan/RV64/Buildroot/buildroot/output/images/boot.vfat' '/home/liefyuan/RV64/Buildroot/buildroot/output/images/boot.img' '::'" (stderr):
INFO: vfat(boot.vfat): adding file 'Image' as 'Image' ...
INFO: vfat(boot.vfat): cmd: "MTOOLS_SKIP_CHECK=1 mcopy -bsp -i '/home/liefyuan/RV64/Buildroot/buildroot/output/images/boot.vfat' '/home/liefyuan/RV64/Buildroot/buildroot/output/images/Image' '::'" (stderr):
INFO: vfat(boot.vfat): adding file 'board.dtb' as 'board.dtb' ...
INFO: vfat(boot.vfat): cmd: "MTOOLS_SKIP_CHECK=1 mcopy -bsp -i '/home/liefyuan/RV64/Buildroot/buildroot/output/images/boot.vfat' '/home/liefyuan/RV64/Buildroot/buildroot/output/images/board.dtb' '::'" (stderr):
INFO: hdimage(sdcard.img): adding partition 'boot0' from 'boot0_sdcard.fex' ...
INFO: hdimage(sdcard.img): adding partition 'boot-packages' from 'boot_package.fex' ...
INFO: hdimage(sdcard.img): adding partition 'env' (in MBR) from 'env.fex' ...
INFO: hdimage(sdcard.img): adding partition 'env-redund' (in MBR) from 'env.fex' ...
INFO: hdimage(sdcard.img): adding partition 'boot' (in MBR) from 'boot.vfat' ...
INFO: hdimage(sdcard.img): adding partition 'rootfs' (in MBR) from 'rootfs.ext4' ...
INFO: hdimage(sdcard.img): writing GPT
INFO: hdimage(sdcard.img): writing hybrid MBR
real 10m26.372s
user 33m28.247s
sys 6m52.360s
再次编译花了10分钟。
烧写并启动系统
编译完成后,会生成一个sdcard.img 系统镜像,镜像文件存放在 output/images/目录下。
执行如下命令讲镜像烧录进 tf卡即可,注意 /dev/sdX sdX 指的是tf卡设备的主分区。
或者可以使用 wind32diskimage进行烧写。
buildroot/ $ dd if=output/images/sdcard.img of=/dev/sdX bs=1M
烧写完成后,将卡插入至开发板,连接电源线,设置为 tf卡启动,即可启动开发板,之后连接串口,等待进入终端命令行,系统默认的登录用户名是 root 。
注意这个只是最小系统,大家想做什么二次开发 直接在上面进行适配即可。
连接串口
P3双排针,引脚7和引脚8是串口0的TX/RX。
上电成功
[32]HELLO! BOOT0 is starting!
[35]BOOT0 commit : 603490b
[37]set pll start
[39]periph0 has been enabled
[42]set pll end
[43][pmu]: bus read error
[46]board init ok
[48]ZQ value = 0x2e***********
[50]get_pmu_exist() = -1
[53]ddr_efuse_type: 0xa
[56][AUTO DEBUG] single rank and full DQ!
[59]ddr_efuse_type: 0xa
[62][AUTO DEBUG] rank 0 row = 13
[65][AUTO DEBUG] rank 0 bank = 4
[68][AUTO DEBUG] rank 0 page size = 2 KB
[72]DRAM BOOT DRIVE INFO: V0.24
[75]DRAM CLK = 528 MHz
[77]DRAM Type = 2 (2:DDR2,3:DDR3)
[80]DRAMC read ODT off.
[83]DRAM ODT off.
[84]ddr_efuse_type: 0xa
[87]DRAM SIZE =64 M
[91]DRAM simple test OK.
[93]dram size =64
[95]card no is 0
[96]sdcard 0 line count 4
[99][mmc]: mmc driver ver 2021-04-2 16:45
[108][mmc]: Wrong media type 0x0
[111][mmc]: ***Try SD card 0***
[119][mmc]: HSSDR52/SDR25 4 bit
[122][mmc]: 50000000 Hz
[124][mmc]: 29520 MB
[126][mmc]: ***SD/MMC 0 init OK!!!***
[174]Loading boot-pkg Succeed(index=0).
[177]Entry_name = opensbi
[180]Entry_name = u-boot
[184]Entry_name = dtb
[187]mmc not para
[188]Jump to second Boot.
OpenSBI v0.6
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
\____/| .__/ \___|_| |_|_____/|____/_____|
| |
|_|
Platform Name : T-HEAD Xuantie Platform
Platform HART Features : RV64ACDFIMSUVX
Platform Max HARTs : 1
Current Hart : 0
Firmware Base : 0x40000400
Firmware Size : 75 KB
Runtime SBI Version : 0.2
MIDELEG : 0x0000000000000222
MEDELEG : 0x000000000000b1ff
PMP0 : 0x0000000040000000-0x000000004001ffff (A)
PMP1 : 0x0000000040000000-0x000000007fffffff (A,R,W,X)
PMP2 : 0x0000000080000000-0x00000000bfffffff (A,R,W,X)
PMP3 : 0x0000000000020000-0x0000000000027fff (A,▒[00.266][mmc]: mmc driver ver uboot2018:2021-04-16 14:23:00-1
[00.271][mmc]: get sdc_type fail and use default host:tm1.
[00.277][mmc]: can't find node "mmc0",will add new node
[00.282][mmc]: fdt err returned <no error>
[00.286][mmc]: Using default timing para
[00.290][mmc]: SUNXI SDMMC Controller Version:0x50310
[00.307][mmc]: card_caps:0x3000000a
[00.310][mmc]: host_caps:0x3000003f
[00.326]set disp.dev2_output_type fail. using defval=0
[00.350]Get bootloader and boot-resource partition number fail!
[00.379]out of usb burn from boot: not need burn key
[01.825]
Starting kernel ...
[01.828][mmc]: MMC Device 2 not found
[01.831][mmc]: mmc 2 not find, so not exit
[ 0.000000] OF: fdt: Ignoring memory range 0x40000000 - 0x40200000
[ 0.000000] Linux version 5.4.61 (root@ubuntu) (riscv64-unknown-linux-gnu-gcc (C-SKY RISCV Tools V1.8.4 B20200702) 8.1.0, GNU ld (GNU Binut ils) 2.32) #3 PREEMPT Thu Jan 13 02:11:37 CST 2022
[ 0.000000] cma: Reserved 8 MiB at 0x0000000043800000
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000040200000-0x0000000043ffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040200000-0x0000000043ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040200000-0x0000000043ffffff]
[ 0.000000] On node 0 totalpages: 15872
[ 0.000000] DMA32 zone: 217 pages used for memmap
[ 0.000000] DMA32 zone: 0 pages reserved
[ 0.000000] DMA32 zone: 15872 pages, LIFO batch:3
[ 0.000000] elf_hwcap is 0x20112d
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 15655
[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root= /dev/mmcblk0p4 init=/sbin/init partitions=ext4 cma=8M gpt=1 androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_ message=2018.05(01/05/2022-03:36:39) mbr_offset=1556480 disp_reserve=4096000,0x0000000042b1b280 androidboot.dramsize=64
[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.000000] Sorting __ex_table...
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 39688K/63488K available (6040K kernel code, 645K rwdata, 2096K rodata, 272K init, 253K bss, 15608K reserved, 8192K cma- reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0
[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts.
[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000007] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available
[ 0.000363] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.001000] Console: colour dummy device 80x25
[ 0.001042] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.001060] pid_max: default: 32768 minimum: 301
[ 0.001233] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.001253] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.003245] ASID allocator initialised with 65536 entries
[ 0.003440] rcu: Hierarchical SRCU implementation.
[ 0.004164] devtmpfs: initialized
[ 0.016262] random: get_random_u32 called from bucket_table_alloc.isra.31+0x4e/0x15e with crng_init=0
[ 0.017346] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.017385] futex hash table entries: 256 (order: 0, 6144 bytes, linear)
[ 0.017905] pinctrl core: initialized pinctrl subsystem
[ 0.019418] NET: Registered protocol family 16
[ 0.021586] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.022291] cpuidle: using governor menu
[ 0.063983] rtc_ccu: sunxi ccu init OK
[ 0.072509] clock: sunxi ccu init OK
[ 0.073627] clock: sunxi ccu init OK
[ 0.115107] iommu: Default domain type: Translated
[ 0.115312] sunxi iommu: irq = 4
[ 0.116552] SCSI subsystem initialized
[ 0.116924] usbcore: registered new interface driver usbfs
[ 0.117012] usbcore: registered new interface driver hub
[ 0.117137] usbcore: registered new device driver usb
[ 0.117316] mc: Linux media interface: v0.10
[ 0.117399] videodev: Linux video capture interface: v2.00
[ 0.118639] sunxi-msgbox-amp 3003000.msgbox: invalid resource
[ 0.119458] Advanced Linux Sound Architecture Driver Initialized.
[ 0.120107] Bluetooth: Core ver 2.22
[ 0.120194] NET: Registered protocol family 31
[ 0.120205] Bluetooth: HCI device and connection manager initialized
[ 0.120229] Bluetooth: HCI socket layer initialized
[ 0.120243] Bluetooth: L2CAP socket layer initialized
[ 0.120281] Bluetooth: SCO socket layer initialized
[ 0.120740] pwm module init!
[ 0.123366] clocksource: Switched to clocksource riscv_clocksource
[ 0.136407] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
[ 0.154705] thermal_sys: Registered thermal governor 'step_wise'
[ 0.154712] thermal_sys: Registered thermal governor 'user_space'
[ 0.155312] NET: Registered protocol family 2
[ 0.156209] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.156261] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.156282] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.156297] TCP: Hash tables configured (established 512 bind 512)
[ 0.156471] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.156518] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.156787] NET: Registered protocol family 1
[ 0.159648] Initialise system trusted keyrings
[ 0.159974] workingset: timestamp_bits=62 max_order=14 bucket_order=0
[ 0.167904] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.188738] Key type asymmetric registered
[ 0.188756] Asymmetric key parser 'x509' registered
[ 0.188837] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.188851] io scheduler mq-deadline registered
[ 0.188859] io scheduler kyber registered
[ 0.188882] atomic64_test: passed
[ 0.190226] [DISP]disp_module_init
[ 0.190905] disp 5000000.disp: Adding to iommu group 0
[ 0.191675] [DISP] disp_init,line:2385:
[ 0.191681] smooth display screen:0 type:1 mode:4
[ 0.220093] disp 5000000.disp: 5000000.disp supply vcc-lcd not found, using dummy regulator
[ 0.220368] disp 5000000.disp: 5000000.disp supply vcc-pd not found, using dummy regulator
[ 0.232958] [DISP] disp_sys_pwm_request,line:442:
[ 0.232965] disp_sys_pwm_request pwm 8 fail! -517
[ 0.232982] [DISP] disp_sys_pwm_config,line:509:
[ 0.232985] disp_sys_pwm_Config, handle is NULL!
[ 0.233772] display_fb_request,fb_id:0
[ 0.247746] [DISP] Fb_copy_boot_fb,line:1506:
[ 0.247752] src_height(1280) > dst_height(480),please cut the height
[ 0.248273] disp_al_manager_apply ouput_type:1
[ 0.248482] [DISP] lcd_clk_config,line:731:
[ 0.248495] disp 0, clk: pll(198000000),clk(198000000),dclk(33000000) dsi_rate(198000000)
[ 0.248495] clk real:pll(288000000),clk(288000000),dclk(48000000) dsi_rate(0)
[ 0.248554] [DISP] disp_sys_gpio_request,line:276:
[ 0.248562] disp_sys_gpio_request failed, gpio_name=lcd_bl_en, gpio=123, value=0, ret=-517
[ 0.248577] [DISP] disp_sys_pwm_request,line:442:
[ 0.248581] disp_sys_pwm_request pwm 8 fail! -517
[ 0.249166] [DISP]disp_module_init finish
[ 0.250093] sunxi_sid_init()506 - insmod ok
[ 0.258433] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
[ 0.259120] uart uart0: get regulator failed
[ 0.259152] uart uart0: uart0 supply uart not found, using dummy regulator
[ 0.259522] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI
[ 0.259554] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n
[ 1.056166] printk: console [ttyS0] enabled
[ 1.061744] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
[ 1.073263] uart uart1: get regulator failed
[ 1.078103] uart uart1: uart1 supply uart not found, using dummy regulator
[ 1.086222] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI
[ 1.095864] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
[ 1.107330] uart uart3: get regulator failed
[ 1.112112] uart uart3: uart3 supply uart not found, using dummy regulator
[ 1.120225] uart3: ttyS3 at MMIO 0x2500c00 (irq = 21, base_baud = 1500000) is a SUNXI
[ 1.130222] misc dump reg init
[ 1.134639] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9
[ 1.141840] sunxi-rfkill soc@3000000:rfkill@0: devm_pinctrl_get() failed!
[ 1.149482] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
[ 1.156803] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
[ 1.164225] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
[ 1.170735] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
[ 1.177695] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1
[ 1.185577] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1
[ 1.193725] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled
[ 1.201387] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power.
[ 1.208197] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=207 assert=0
[ 1.216376] [ADDR_MGT] addr_mgt_probe: module version: v1.0.9
[ 1.224089] [ADDR_MGT] addr_mgt_probe: success.
[ 1.230615] libphy: Fixed MDIO Bus: probed
[ 1.235250] CAN device driver interface
[ 1.239873] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.247206] sunxi-ehci: EHCI SUNXI driver
[ 1.252223] get ehci0-controller wakeup-source is fail.
[ 1.258223] sunxi ehci0-controller don't init wakeup source
[ 1.264489] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe000904940, 0x:ffffffd004079000, irq_no:2e
[ 1.277997] [sunxi-ehci0]: Not init ehci0
[ 1.282870] get ehci1-controller wakeup-source is fail.
[ 1.288889] sunxi ehci1-controller don't init wakeup source
[ 1.295158] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe000904d00, 0x:ffffffd00407d000, irq_no:31
[ 1.308689] hci: sunxi_insmod_ehci()600 WARN: get supply failed
[ 1.315366] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
[ 1.322612] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
[ 1.332490] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000
[ 1.363409] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
[ 1.372293] hub 1-0:1.0: USB hub found
[ 1.376624] hub 1-0:1.0: 1 port detected
[ 1.381929] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.388951] sunxi-ohci: OHCI SUNXI driver
[ 1.394073] get ohci0-controller wakeup-source is fail.
[ 1.400026] sunxi ohci0-controller don't init wakeup source
[ 1.406306] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe000905480
[ 1.416714] [sunxi-ohci0]: Not init ohci0
[ 1.421607] get ohci1-controller wakeup-source is fail.
[ 1.427621] sunxi ohci1-controller don't init wakeup source
[ 1.433887] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe000905840
[ 1.444320] hci: sunxi_insmod_ohci()265 WARN: get supply failed
[ 1.450964] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
[ 1.458226] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
[ 1.468076] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400
[ 1.548487] hub 2-0:1.0: USB hub found
[ 1.552760] hub 2-0:1.0: 1 port detected
[ 1.558440] usbcore: registered new interface driver uas
[ 1.564667] usbcore: registered new interface driver usb-storage
[ 1.571447] usbcore: registered new interface driver ums-alauda
[ 1.578231] usbcore: registered new interface driver ums-cypress
[ 1.585062] usbcore: registered new interface driver ums-datafab
[ 1.591826] usbcore: registered new interface driver ums_eneub6250
[ 1.598851] usbcore: registered new interface driver ums-freecom
[ 1.605695] usbcore: registered new interface driver ums-isd200
[ 1.612371] usbcore: registered new interface driver ums-jumpshot
[ 1.619314] usbcore: registered new interface driver ums-karma
[ 1.625955] usbcore: registered new interface driver ums-onetouch
[ 1.632839] usbcore: registered new interface driver ums-realtek
[ 1.639675] usbcore: registered new interface driver ums-sddr09
[ 1.646411] usbcore: registered new interface driver ums-sddr55
[ 1.653104] usbcore: registered new interface driver ums-usbat
[ 1.660153] mousedev: PS/2 mouse device common for all mice
[ 1.667255] ts probe start
[ 1.667688] input: 2009c00.rtp as /devices/platform/soc@3000000/2009c00.rtp/input/input0
[ 1.680347] ts probe success
[ 1.680755] sunxi_gpadc_init,1968, success
[ 1.690819] sunxi-rtc 7090000.rtc: registered as rtc0
[ 1.696627] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:07:52 UTC (472)
[ 1.705718] sunxi-rtc 7090000.rtc: sunxi rtc probed
[ 1.711559] i2c /dev entries driver
[ 1.715626] IR NEC protocol handler initialized
[ 1.720681] IR RC5(x/sz) protocol handler initialized
[ 1.726354] IR RC6 protocol handler initialized
[ 1.731405] IR JVC protocol handler initialized
[ 1.736478] IR Sony protocol handler initialized
[ 1.741623] IR SANYO protocol handler initialized
[ 1.746890] IR Sharp protocol handler initialized
[ 1.752134] IR MCE Keyboard/mouse protocol handler initialized
[ 1.758663] IR XMP protocol handler initialized
[ 1.763733] ir_imon_decoder: IR iMON protocol handler initialized
[ 1.770526] IR RCMM protocol handler initialized
[ 1.776395] sunxi cedar version 1.1
[ 1.780584] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
[ 1.786902] VE: install start!!!
[ 1.786902]
[ 1.792459] VE: cedar-ve the get irq is 6
[ 1.792459]
[ 1.798860] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____)
[ 1.798860]
[ 1.810456] VE: install end!!!
[ 1.810456]
[ 1.817027] sunxi-wdt 6011000.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 1.826218] Bluetooth: HCI UART driver ver 2.3
[ 1.831177] Bluetooth: HCI UART protocol H4 registered
[ 1.836958] Bluetooth: HCI UART protocol BCSP registered
[ 1.842882] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10
[ 1.850214] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1
[ 1.856659] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1
[ 1.863198] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled!
[ 1.863198]
[ 1.871880] [XR_BT_LPM] bluesleep_probe: uart_index(1)
[ 1.880865] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.19 2021-03-24 19:50)
[ 1.890899] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
[ 1.897127] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
[ 1.903469] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
[ 1.909878] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
[ 1.916310] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
[ 1.922815] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
[ 1.929342] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
[ 1.935867] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
[ 1.942894] sunxi-mmc 4020000.sdmmc: Got CD GPIO
[ 1.948433] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail
[ 1.955174] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 1.966335] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
[ 1.986487] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.010947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
[ 2.016671] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.028996] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.19 2021-03-24 19:50)
[ 2.039153] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
[ 2.045423] sunxi-mmc 4021000.sdmmc: No vmmc regulator found
[ 2.051796] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
[ 2.058270] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.069851] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
[ 2.076289] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
[ 2.082793] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
[ 2.089436] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
[ 2.096006] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
[ 2.102589] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
[ 2.111661] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.124200] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.135414] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[ 2.144333] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.155933] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.180249] sunxi-mmc 4021000.sdmmc: detmode:manually by software
[ 2.187960] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[ 2.195533] usbcore: registered new interface driver usbhid
[ 2.201797] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[ 2.208704] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.220325] usbhid: USB HID core driver
[ 2.226953] usbcore: registered new interface driver snd-usb-audio
[ 2.234017] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.245635] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.258084] [AUDIOCODEC][sunxi_codec_parse_params][2094]:digital_vol:0, lineout_vol:26, mic1gain:19, mic2gain:19 pa_msleep:120, pa_level:1, pa_pwr_level:1
[ 2.258084]
[ 2.275422] [AUDIOCODEC][sunxi_codec_parse_params][2130]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0
[ 2.286412] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[ 2.298513] [AUDIOCODEC][sunxi_internal_codec_probe][2266]:codec probe finished
[ 2.306695] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 2.313618] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[ 2.325275] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 2.332867] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 2.339673] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
[ 2.352179] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 2.358982] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 2.370186] mmc0: new high speed SDHC card at address 1234
[ 2.376352] sid_rd_ver_reg()254 - ver >= 4, soc ver:5
[ 2.382036] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present!
[ 2.393334] mmcblk0: mmc0:1234 SA32G 28.8 GiB
[ 2.401487] [SNDCODEC][sunxi_card_init][583]:card init finished
[ 2.412971] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok
[ 2.424575] GPT:Primary header thinks Alt. header is not at the end of the disk.
[ 2.432834] GPT:1124864 != 60456959
[ 2.437634] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input1
[ 2.449056] GPT:Alternate GPT header not at the end of the disk.
[ 2.456581] [SNDCODEC][sunxi_card_dev_probe][832]:register card finished
[ 2.464130] GPT:1124864 != 60456959
[ 2.468016] GPT: Use GNU Parted to correct GPT errors.
[ 2.474580] rpmsg_hifi 3003000.msgbox.sunxi,dsp-msgbox.514.258: id:sunxi,dsp-msgbox new channel: 0x202 -> 0x102!
[ 2.486060] mmcblk0: p1 p2 p3 p4
[ 2.492090] rpmsg_hifi 3003000.msgbox.sunxi,dsp-msgbox.514.258: rpmsg hifi[0] client driver is probed
[ 2.504247] NET: Registered protocol family 10
[ 2.510579] Segment Routing with IPv6
[ 2.515043] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.522553] NET: Registered protocol family 17
[ 2.527692] can: controller area network core (rev 20170425 abi 9)
[ 2.534788] NET: Registered protocol family 29
[ 2.539755] can: raw protocol (rev 20170425)
[ 2.544559] can: broadcast manager protocol (rev 20170425 t)
[ 2.550883] can: netlink gateway (rev 20190810) max_hops=1
[ 2.557412] Bluetooth: RFCOMM TTY layer initialized
[ 2.562875] Bluetooth: RFCOMM socket layer initialized
[ 2.568749] Bluetooth: RFCOMM ver 1.11
[ 2.574206] Loading compiled-in X.509 certificates
[ 2.582268] HDMI 2.0 driver init start!
[ 2.586660] boot_hdmi=false
[ 2.589847] ERROR: pinctrl_get for HDMI2.0 DDC fail
[ 2.597044] HDMI2.0 module init end
[ 2.629895] twi twi2: twi2 supply twi not found, using dummy regulator
[ 2.643303] sunxi_i2c_probe()2262 - [i2c2] probe success
[ 2.655712] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 2.667443] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 2.675118] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 2.684850] clk: Not disabling unused clocks
[ 2.689624] ALSA device list:
[ 2.692930] #0: audiocodec
[ 2.696289] cfg80211: failed to load regulatory.db
[ 2.701736] alloc_fd: slot 0 not NULL!
[ 2.710280] EXT4-fs (mmcblk0p4): INFO: recovery required on readonly filesystem
[ 2.718544] EXT4-fs (mmcblk0p4): write access will be enabled during recovery
[ 2.767331] EXT4-fs (mmcblk0p4): recovery complete
[ 2.776627] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null)
[ 2.785804] VFS: Mounted root (ext4 filesystem) readonly on device 179:4.
[ 2.794388] devtmpfs: mounted
[ 2.798020] Freeing unused kernel memory: 272K
[ 2.802972] This architecture does not have kernel memory protection.
[ 2.810230] Run /sbin/init as init process
[ 2.941857] EXT4-fs (mmcblk0p4): re-mounted. Opts: (null)
Starting syslogd: OK
Starting klogd: OK
Running sysctl: [ 3.153496] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1
OK
Populating /dev using udev: [ 3.219924] udevd[103]: starting version 3.2.9
[ 3.234666] random: udevd: uninitialized urandom read (16 bytes read)
[ 3.244140] random: udevd: uninitialized urandom read (16 bytes read)
[ 3.251455] random: udevd: uninitialized urandom read (16 bytes read)
[ 3.301825] udevd[104]: starting eudev-3.2.9
done
Welcome to Buildroot
buildroot login: [ 6.193399] hdmi_hpd_sys_config_release
[ 6.203813]
[ 6.203813] insmod_device_driver
[ 6.203813]
Welcome to Buildroot
buildroot login: root
#
# [ 67.094613] random: fast init done
# ls
# ls
# cd /
# ls
bin lib64 media root tmp
dev lib64xthead mnt run usr
etc linuxrc opt sbin var
lib lost+found proc sys
#
看得出来这个是最小文件系统。
tina系统+五寸RGB电容屏
使用phoenixCard软件烧录Tina系统(选择启动卡),也是没有问题的。
屏幕显示正常,电容触摸也是正常的。
[99]HELLO! BOOT0 is starting!
[102]BOOT0 commit : 27369ab-dirty
[105]set pll start
[107]periph0 has been enabled
[110]set pll end
[112][pmu]: bus read error
[114]board init ok
[116]ZQ value = 0x2d***********
[119]get_pmu_exist() = -1
[122]ddr_efuse_type: 0xa
[125][AUTO DEBUG] single rank and full DQ!
[129]ddr_efuse_type: 0xa
[131][AUTO DEBUG] rank 0 row = 13
[135][AUTO DEBUG] rank 0 bank = 4
[138][AUTO DEBUG] rank 0 page size = 2 KB
[142]DRAM BOOT DRIVE INFO: V0.24
[145]DRAM CLK = 528 MHz
[147]DRAM Type = 2 (2:DDR2,3:DDR3)
[150]DRAMC read ODT off.
[153]DRAM ODT off.
[155]ddr_efuse_type: 0xa
[157]DRAM SIZE =64 M
[161]DRAM simple test OK.
[163]dram size =64
[165]card no is 0
[167]sdcard 0 line count 4
[169][mmc]: mmc driver ver 2021-04-2 16:45
[179][mmc]: Wrong media type 0x0
[182][mmc]: ***Try SD card 0***
[190][mmc]: HSSDR52/SDR25 4 bit
[193][mmc]: 50000000 Hz
[195][mmc]: 29520 MB
[197][mmc]: ***SD/MMC 0 init OK!!!***
[242]Loading boot-pkg Succeed(index=0).
[246]Entry_name = opensbi
[249]Entry_name = u-boot
[252]Entry_name = dtb
[255]mmc not para
[257]Jump to second Boot.
OpenSBI v0.6
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
\____/| .__/ \___|_| |_|_____/|____/_____|
| |
|_|
Platform Name : T-HEAD Xuantie Platform
Platform HART Features : RV64ACDFIMSUVX
Platform Max HARTs : 1
Current Hart : 0
Firmware Base : 0x40000400
Firmware Size : 75 KB
Runtime SBI Version : 0.2
MIDELEG : 0x0000000000000222
MEDELEG : 0x000000000000b1ff
PMP0 : 0x0000000040000000-0x000000004001ffff (A)
PMP1 : 0x0000000040000000-0x000000007fffffff (A,R,W,X)
PMP2 : 0x0000000080000000-0x00000000bfffffff (A,R,W,X)
PMP3 : 0x0000000000020000-0x0000000000027fff (A,▒
U-Boot 2018.05-g0a88ac9-dirty-config-dirty (Dec 24 2021 - 22:58:59 +0800) Allwinner Technology
[00.341]DRAM: 64 MiB
[00.343]Relocation Offset is: 01f02000
[00.348]secure enable bit: 0
[00.350]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
[00.356]flash init start
[00.359]workmode = 0,storage type = 1
[00.362][mmc]: mmc driver ver uboot2018:2021-04-16 14:23:00-1
[00.368][mmc]: get sdc_type fail and use default host:tm1.
[00.374][mmc]: can't find node "mmc0",will add new node
[00.379][mmc]: fdt err returned <no error>
[00.383][mmc]: Using default timing para
[00.386][mmc]: SUNXI SDMMC Controller Version:0x50310
[00.404][mmc]: card_caps:0x3000000a
[00.407][mmc]: host_caps:0x3000003f
[00.410]sunxi flash init ok
[00.413]line:714 init_clocks
__clk_init: clk pll_periph0x2 already initialized
register fix_factor clk error
[00.423]drv_disp_init
fdt_getprop_u32 s_pwm.pwm-base fail
[00.437]drv_disp_init finish
[00.440]boot_gui_init:start
[00.443]set disp.dev2_output_type fail. using defval=0
[00.449]boot_gui_init:finish
sunxi_partition_get_partno_byname: try part 1, ret = 0
sunxi_partition_get_partno_byname: try part 2, ret = 0
sunxi_partition_get_partno_byname: try part 3, ret = 0
sunxi_partition_get_partno_byname: try part 4, ret = 0
sunxi_partition_get_partno_byname: try part 5, ret = 0
sunxi_partition_get_partno_byname: try part 6, ret = 0
sunxi_partition_get_partno_byname: try part 7, ret = 0
sunxi_partition_get_partno_byname: try part 8, ret = 0
sunxi_partition_get_partno_byname: try part 9, ret = -1
partno erro : can't find partition bootloader
sunxi_partition_get_partno_byname: try part 1, ret = 0
54 bytes read in 1 ms (52.7 KiB/s)
[00.520]bmp_name=bootlogo.bmp size 1152054
1152054 bytes read in 50 ms (22 MiB/s)
[00.597]Loading Environment from SUNXI_FLASH... OK
[00.616]out of usb burn from boot: not need burn key
root_partition is rootfs
set root to /dev/mmcblk0p5
[00.626]update part info
[00.629]LCD open finish
[00.632]update bootcmd
[00.635]change working_fdt 0x42ac1da8 to 0x42aa1da8
[00.656]update dts
Hit any key to stop autoboot: 0
Android's image name: d1-mangopi_mq_rg
No reserved memory region found in source FDT
[01.080]
Starting kernel ...
[01.083][mmc]: MMC Device 2 not found
[01.086][mmc]: mmc 2 not find, so not exit
[ 0.000000] OF: fdt: Ignoring memory range 0x40000000 - 0x40200000
[ 0.000000] Linux version 5.4.61 (whycan@ubuntu) (riscv64-unknown-linux-gnu-gcc (C-SKY RISCV Tools V1.8.4 B20200702) 8.1.0, GNU ld (GNU Binutils) 2.32) #224 PREEMPT Fri Dec 24 14:59:56 UTC 2021
[ 0.000000] cma: Reserved 8 MiB at 0x0000000043800000
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000040200000-0x0000000043ffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040200000-0x0000000043ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040200000-0x0000000043ffffff]
[ 0.000000] On node 0 totalpages: 15872
[ 0.000000] DMA32 zone: 217 pages used for memmap
[ 0.000000] DMA32 zone: 0 pages reserved
[ 0.000000] DMA32 zone: 15872 pages, LIFO batch:3
[ 0.000000] elf_hwcap is 0x20112d
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 15655
[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/sbin/init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:dsp0@mmcblk0p6:recovery@mmcblk0p7:UDISK@mmcblk0p8 cma=8M 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-g0a88ac9-dirty-config-dirty(12/24/2021-22:5
[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.000000] Sorting __ex_table...
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 42188K/63488K available (6104K kernel code, 652K rwdata, 2103K rodata, 196K init, 254K bss, 13108K reserved, 8192K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0
[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts.
[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000007] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000027] riscv_timer_clockevent depends on broadcast, but no broadcast function available
[ 0.000372] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.001010] Console: colour dummy device 80x25
[ 0.001058] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.001078] pid_max: default: 32768 minimum: 301
[ 0.001270] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.001291] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.003341] ASID allocator initialised with 65536 entries
[ 0.003540] rcu: Hierarchical SRCU implementation.
[ 0.004280] devtmpfs: initialized
[ 0.016951] random: get_random_u32 called from bucket_table_alloc.isra.31+0x4e/0x15e with crng_init=0
[ 0.018072] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.018109] futex hash table entries: 256 (order: 0, 6144 bytes, linear)
[ 0.018659] pinctrl core: initialized pinctrl subsystem
[ 0.020294] NET: Registered protocol family 16
[ 0.022494] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.023195] cpuidle: using governor menu
[ 0.065126] rtc_ccu: sunxi ccu init OK
[ 0.073463] clock: sunxi ccu init OK
[ 0.074604] clock: sunxi ccu init OK
[ 0.114755] iommu: Default domain type: Translated
[ 0.114959] sunxi iommu: irq = 4
[ 0.116219] SCSI subsystem initialized
[ 0.116593] usbcore: registered new interface driver usbfs
[ 0.116692] usbcore: registered new interface driver hub
[ 0.116822] usbcore: registered new device driver usb
[ 0.117002] mc: Linux media interface: v0.10
[ 0.117059] videodev: Linux video capture interface: v2.00
[ 0.118322] sunxi-msgbox-amp 3003000.msgbox: invalid resource
[ 0.119150] Advanced Linux Sound Architecture Driver Initialized.
[ 0.119814] Bluetooth: Core ver 2.22
[ 0.119909] NET: Registered protocol family 31
[ 0.119923] Bluetooth: HCI device and connection manager initialized
[ 0.119947] Bluetooth: HCI socket layer initialized
[ 0.119965] Bluetooth: L2CAP socket layer initialized
[ 0.120012] Bluetooth: SCO socket layer initialized
[ 0.120374] pwm module init!
[ 0.123182] clocksource: Switched to clocksource riscv_clocksource
[ 0.136683] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
[ 0.155343] thermal_sys: Registered thermal governor 'step_wise'
[ 0.155349] thermal_sys: Registered thermal governor 'user_space'
[ 0.155960] NET: Registered protocol family 2
[ 0.156855] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.156906] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.156927] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.156943] TCP: Hash tables configured (established 512 bind 512)
[ 0.157122] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.157169] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.157476] NET: Registered protocol family 1
[ 0.160397] Initialise system trusted keyrings
[ 0.160724] workingset: timestamp_bits=62 max_order=14 bucket_order=0
[ 0.168364] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.189113] Key type asymmetric registered
[ 0.189131] Asymmetric key parser 'x509' registered
[ 0.189156] io scheduler mq-deadline registered
[ 0.189166] io scheduler kyber registered
[ 0.189191] atomic64_test: passed
[ 0.190550] [DISP]disp_module_init
[ 0.191250] disp 5000000.disp: Adding to iommu group 0
[ 0.192013] [DISP] disp_init,line:2385:
[ 0.192019] smooth display screen:0 type:1 mode:4
[ 0.219929] disp 5000000.disp: 5000000.disp supply vcc-lcd not found, using dummy regulator
[ 0.220215] disp 5000000.disp: 5000000.disp supply vcc-pd not found, using dummy regulator
[ 0.232740] [DISP] disp_sys_pwm_request,line:442:
[ 0.232747] disp_sys_pwm_request pwm 8 fail! -517
[ 0.232763] [DISP] disp_sys_pwm_config,line:509:
[ 0.232766] disp_sys_pwm_Config, handle is NULL!
[ 0.233550] display_fb_request,fb_id:0
[ 0.253358] disp_al_manager_apply ouput_type:1
[ 0.253570] [DISP] disp_sys_gpio_request,line:276:
[ 0.253578] disp_sys_gpio_request failed, gpio_name=lcd_bl_en, gpio=123, value=0, ret=-517
[ 0.253596] [DISP] disp_sys_pwm_request,line:442:
[ 0.253601] disp_sys_pwm_request pwm 8 fail! -517
[ 0.254247] [DISP]disp_module_init finish
[ 0.255187] sunxi_sid_init()506 - insmod ok
[ 0.263574] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
[ 0.264233] uart uart0: get regulator failed
[ 0.264264] uart uart0: uart0 supply uart not found, using dummy regulator
[ 0.264699] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI
[ 0.264731] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n
[ 1.035292] printk: console [ttyS0] enabled
[ 1.040924] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
[ 1.052432] uart uart1: get regulator failed
[ 1.057326] uart uart1: uart1 supply uart not found, using dummy regulator
[ 1.065498] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI
[ 1.075180] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
[ 1.086668] uart uart3: get regulator failed
[ 1.091487] uart uart3: uart3 supply uart not found, using dummy regulator
[ 1.099630] uart3: ttyS3 at MMIO 0x2500c00 (irq = 21, base_baud = 1500000) is a SUNXI
[ 1.109698] misc dump reg init
[ 1.114095] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9
[ 1.121298] sunxi-rfkill soc@3000000:rfkill@0: devm_pinctrl_get() failed!
[ 1.128998] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
[ 1.136327] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
[ 1.143788] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
[ 1.150298] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
[ 1.157335] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1
[ 1.165226] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1
[ 1.173371] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled
[ 1.181072] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power.
[ 1.187898] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=207 assert=0
[ 1.196124] [ADDR_MGT] addr_mgt_probe: module version: v1.0.9
[ 1.203886] [ADDR_MGT] addr_mgt_probe: success.
[ 1.210466] libphy: Fixed MDIO Bus: probed
[ 1.215100] CAN device driver interface
[ 1.219729] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.227121] sunxi-ehci: EHCI SUNXI driver
[ 1.232175] get ehci0-controller wakeup-source is fail.
[ 1.238177] sunxi ehci0-controller don't init wakeup source
[ 1.244501] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe000904a40, 0x:ffffffd004078000, irq_no:2e
[ 1.258084] [sunxi-ehci0]: Not init ehci0
[ 1.262965] get ehci1-controller wakeup-source is fail.
[ 1.268970] sunxi ehci1-controller don't init wakeup source
[ 1.275318] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe000904e00, 0x:ffffffd00407c000, irq_no:31
[ 1.288858] hci: sunxi_insmod_ehci()600 WARN: get supply failed
[ 1.295580] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
[ 1.302808] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
[ 1.312749] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000
[ 1.343236] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
[ 1.352132] hub 1-0:1.0: USB hub found
[ 1.356466] hub 1-0:1.0: 1 port detected
[ 1.361813] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.368837] sunxi-ohci: OHCI SUNXI driver
[ 1.373967] get ohci0-controller wakeup-source is fail.
[ 1.379959] sunxi ohci0-controller don't init wakeup source
[ 1.386242] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe000905580
[ 1.396700] [sunxi-ohci0]: Not init ohci0
[ 1.401585] get ohci1-controller wakeup-source is fail.
[ 1.407599] sunxi ohci1-controller don't init wakeup source
[ 1.413920] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe000905940
[ 1.424359] hci: sunxi_insmod_ohci()265 WARN: get supply failed
[ 1.431033] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
[ 1.438300] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
[ 1.448193] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400
[ 1.528306] hub 2-0:1.0: USB hub found
[ 1.532565] hub 2-0:1.0: 1 port detected
[ 1.538267] usbcore: registered new interface driver uas
[ 1.544550] usbcore: registered new interface driver usb-storage
[ 1.551331] usbcore: registered new interface driver ums-alauda
[ 1.558118] usbcore: registered new interface driver ums-cypress
[ 1.565024] usbcore: registered new interface driver ums-datafab
[ 1.571794] usbcore: registered new interface driver ums_eneub6250
[ 1.578887] usbcore: registered new interface driver ums-freecom
[ 1.585726] usbcore: registered new interface driver ums-isd200
[ 1.592420] usbcore: registered new interface driver ums-jumpshot
[ 1.599421] usbcore: registered new interface driver ums-karma
[ 1.606063] usbcore: registered new interface driver ums-onetouch
[ 1.613032] usbcore: registered new interface driver ums-realtek
[ 1.619883] usbcore: registered new interface driver ums-sddr09
[ 1.626624] usbcore: registered new interface driver ums-sddr55
[ 1.633428] usbcore: registered new interface driver ums-usbat
[ 1.640471] mousedev: PS/2 mouse device common for all mice
[ 1.647623] ts probe start
[ 1.648040] input: 2009c00.rtp as /devices/platform/soc@3000000/2009c00.rtp/input/input0
[ 1.660751] ts probe success
[ 1.661164] sunxi_gpadc_init,1968, success
[ 1.669838] sunxi-rtc 7090000.rtc: errata__fix_alarm_day_reg_default_value(): ALARM0_DAY_REG=0, set it to 1
[ 1.682250] sunxi-rtc 7090000.rtc: registered as rtc0
[ 1.688054] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:00:02 UTC (2)
[ 1.697015] sunxi-rtc 7090000.rtc: sunxi rtc probed
[ 1.702860] i2c /dev entries driver
[ 1.706929] IR NEC protocol handler initialized
[ 1.712015] IR RC5(x/sz) protocol handler initialized
[ 1.717689] IR RC6 protocol handler initialized
[ 1.722736] IR JVC protocol handler initialized
[ 1.727889] IR Sony protocol handler initialized
[ 1.733039] IR SANYO protocol handler initialized
[ 1.738314] IR Sharp protocol handler initialized
[ 1.743577] IR MCE Keyboard/mouse protocol handler initialized
[ 1.750101] IR XMP protocol handler initialized
[ 1.755182] ir_imon_decoder: IR iMON protocol handler initialized
[ 1.762014] IR RCMM protocol handler initialized
[ 1.767917] sunxi cedar version 1.1
[ 1.772094] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
[ 1.778483] VE: install start!!!
[ 1.778483]
[ 1.784098] VE: cedar-ve the get irq is 6
[ 1.784098]
[ 1.790468] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____)
[ 1.790468]
[ 1.802117] VE: install end!!!
[ 1.802117]
[ 1.808694] sunxi-wdt 6011000.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 1.817945] Bluetooth: HCI UART driver ver 2.3
[ 1.822907] Bluetooth: HCI UART protocol H4 registered
[ 1.828765] Bluetooth: HCI UART protocol BCSP registered
[ 1.834718] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10
[ 1.842022] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1
[ 1.848532] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1
[ 1.855117] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled!
[ 1.855117]
[ 1.863845] [XR_BT_LPM] bluesleep_probe: uart_index(1)
[ 1.872904] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.19 2021-03-24 19:50)
[ 1.883002] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
[ 1.889230] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
[ 1.895568] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
[ 1.902007] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
[ 1.908447] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
[ 1.915007] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
[ 1.921514] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
[ 1.928049] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
[ 1.935128] sunxi-mmc 4020000.sdmmc: Got CD GPIO
[ 1.940610] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail
[ 1.947374] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 1.958529] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
[ 1.978736] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.003286] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
[ 2.008964] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.021320] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.19 2021-03-24 19:50)
[ 2.031398] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
[ 2.037744] sunxi-mmc 4021000.sdmmc: No vmmc regulator found
[ 2.044137] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
[ 2.050625] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
[ 2.057094] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.068717] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
[ 2.075262] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
[ 2.081790] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
[ 2.088445] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
[ 2.095050] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
[ 2.104613] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.116886] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.128088] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[ 2.137059] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.148694] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.173031] sunxi-mmc 4021000.sdmmc: detmode:manually by software
[ 2.180754] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[ 2.188403] usbcore: registered new interface driver usbhid
[ 2.194667] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[ 2.201610] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.213215] usbhid: USB HID core driver
[ 2.219425] usbcore: registered new interface driver snd-usb-audio
[ 2.229599] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.241261] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.251374] [AUDIOCODEC][sunxi_codec_parse_params][2094]:digital_vol:0, lineout_vol:26, mic1gain:19, mic2gain:19 pa_msleep:120, pa_level:1, pa_pwr_level:1
[ 2.251374]
[ 2.268766] [AUDIOCODEC][sunxi_codec_parse_params][2130]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0
[ 2.279741] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[ 2.291890] [AUDIOCODEC][sunxi_internal_codec_probe][2266]:codec probe finished
[ 2.300072] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 2.307030] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[ 2.318686] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 2.326321] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 2.333345] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
[ 2.344999] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 2.351803] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 2.363699] sid_rd_ver_reg()254 - ver >= 4, soc ver:5
[ 2.369424] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present!
[ 2.379288] mmc0: new high speed SDHC card at address 1234
[ 2.385681] [SNDCODEC][sunxi_card_init][583]:card init finished
[ 2.393913] mmcblk0: mmc0:1234 SA32G 28.8 GiB
[ 2.403938] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok
[ 2.416894] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8
[ 2.422194] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input1
[ 2.437534] [SNDCODEC][sunxi_card_dev_probe][832]:register card finished
[ 2.445921] rpmsg_hifi 3003000.msgbox.sunxi,dsp-msgbox.514.258: id:sunxi,dsp-msgbox new channel: 0x202 -> 0x102!
[ 2.457647] rpmsg_hifi 3003000.msgbox.sunxi,dsp-msgbox.514.258: rpmsg hifi[0] client driver is probed
[ 2.469929] NET: Registered protocol family 10
[ 2.476505] Segment Routing with IPv6
[ 2.480793] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.488485] NET: Registered protocol family 17
[ 2.493628] can: controller area network core (rev 20170425 abi 9)
[ 2.500707] NET: Registered protocol family 29
[ 2.505762] can: raw protocol (rev 20170425)
[ 2.510527] can: broadcast manager protocol (rev 20170425 t)
[ 2.516966] can: netlink gateway (rev 20190810) max_hops=1
[ 2.523499] Bluetooth: RFCOMM TTY layer initialized
[ 2.528970] Bluetooth: RFCOMM socket layer initialized
[ 2.534919] Bluetooth: RFCOMM ver 1.11
[ 2.540355] Loading compiled-in X.509 certificates
[ 2.548630] HDMI 2.0 driver init start!
[ 2.552978] boot_hdmi=false
[ 2.556267] ERROR: pinctrl_get for HDMI2.0 DDC fail
[ 2.563440] HDMI2.0 module init end
[ 2.601959] twi twi2: twi2 supply twi not found, using dummy regulator
[ 2.615494] sunxi_i2c_probe()2262 - [i2c2] probe success
[ 2.627855] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 2.639676] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 2.647402] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 2.657162] clk: Not disabling unused clocks
[ 2.661937] ALSA device list:
[ 2.665400] cfg80211: failed to load regulatory.db
[ 2.670867] #0: audiocodec
[ 2.674193] alloc_fd: slot 0 not NULL!
[ 2.690654] EXT4-fs (mmcblk0p5): mounted filesystem without journal. Opts: (null)
[ 2.699205] VFS: Mounted root (ext4 filesystem) readonly on device 179:5.
[ 2.708110] devtmpfs: mounted
[ 2.711661] Freeing unused kernel memory: 196K
[ 2.716724] This architecture does not have kernel memory protection.
[ 2.723999] Run /sbin/init as init process
[ 2.852769] init: Console is alive
[ 2.857047] init: - watchdog -
[ 2.860636] init: - preinit -
[ 2.903348] random: fast init done
[ 3.123339] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1
formating /dev/by-name/UDISK to ext4
/etc/preinit: line 1: mkfs.ext4: not found
[ 3.242279] mount_root: mounting /dev/root
[ 3.247414] EXT4-fs (mmcblk0p5): re-mounted. Opts: (null)
[ 3.253920] mount_root: loading kmods from internal overlay
[ 3.369421] block: attempting to load /etc/config/fstab
[ 3.378301] block: extroot: device not present, retrying in 5 seconds
[ 3.684825] random: procd: uninitialized urandom read (4 bytes read)
[ 6.153230] hdmi_hpd_sys_config_release
[ 6.203209]
[ 6.203209] insmod_device_driver
[ 6.203209]
[ 8.456817] block: extroot: cannot find device UDISK
[ 8.477305] procd: - early -
[ 8.480703] procd: - watchdog -
[ 8.496069] random: procd: uninitialized urandom read (4 bytes read)
[ 8.850137] procd: - watchdog -
[ 8.859734] procd: - ubus -
[ 8.863833] procd (1): /proc/114/oom_adj is deprecated, please use /proc/114/oom_score_adj instead.
[ 8.887464] random: ubusd: uninitialized urandom read (4 bytes read)
[ 8.919877] random: ubusd: uninitialized urandom read (4 bytes read)
[ 8.935621] procd: - init -
Please press Enter to activate this console.
[ 10.169349] fuse: init (API version 7.31)
[ 10.230351] file system registered
[ 10.424640] configfs-gadget 4100000.udc-controller: failed to start g1: -19
[ 10.753816] read descriptors
[ 10.757067] read strings
[ 15.877455] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 29.122387] RTL871X: module init start
[ 29.126686] RTL871X: rtl8189fs v4.3.24.8_22657.20170607
[ 29.132813] RTL871X: module init ret=0
[ 41.579630] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1
[ 41.595922] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success
[ 41.703063] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 41.717782] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[ 41.739807] get ctp_power is fail, -22
[ 41.744120] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 41.755781] get ctp_power_ldo_vol is fail, -22
[ 41.760793] sunxi_ctp_startup: ctp_power_io is invalid.
[ 41.766884] get ctp_gesture_wakeup fail, no gesture wakeup
[ 41.773036] gt9xxnew_ts 2-0014: 2-0014 supply ctp not found, using dummy regulator
[ 41.782457] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 41.797349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 41.810763] sunxi-mmc 4021000.sdmmc: card claims to support voltages below defined range
[ 41.829786] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[ 41.842984] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[ 41.861699] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
[ 41.874433] mmc1: new high speed SDIO card at address 0001
[ 41.881649] RTL871X: CHIP TYPE: RTL8188F
[ 41.886584] RTL871X: rtw_hal_config_rftype RF_Type is 3 TotalTxPath is 1
[ 41.894325] RTL871X: Chip Version Info: CHIP_8188F_Normal_Chip_SMIC_B_CUT_1T1R_RomVer(0)
[ 41.903624] RTL871X: SetHwReg8188F: hci_sus_state=1
[ 41.911029] RTL871X: SetHwReg8188F: bMacPwrCtrlOn=1
[ 41.916538] RTL871X: SetHwReg8188F: hci_sus_state=2
[ 41.922288] RTL871X: PowerOnCheck: val_mix:0x0000063f, res:0x0000063f
[ 41.929559] RTL871X: PowerOnCheck: 0x100 the result of cmd52 and cmd53 is the same.
[ 41.938259] RTL871X: PowerOnCheck: 0x1B8 test Pass.
[ 41.943853] RTL871X: EEPROM type is E-FUSE
[ 41.948799] RTL871X: hal_EfuseSwitchToBank: Efuse switch bank to 0
[ 41.993548] input: gt9xxnew_ts as /devices/virtual/input/input2
[ 42.034433] RTL871X: hal_ReadEFuse_WiFi: data end at address=0x98
[ 42.064286] xt_time: kernel timezone is -0000
[ 42.071239] RTL871X: HW EFUSE
[ 42.076089] RTL871X: 0x000:
[ 42.076096] 29
[ 42.093307] 81
[ 42.095300] 03
[ 42.097247] CC
[ 42.099191] 00
[ 42.101137] 00
[ 42.103083] 50
[ 42.113318] 00
[ 42.115273] 00
[ 42.117509] 00
[ 42.119454] 04
[ 42.121397] CC
[ 42.133346] 0A
[ 42.135301] 0C
[ 42.137247] 00
[ 42.139193] 00
[ 42.142983] RTL871X: 0x010:
[ 42.142986] 2A
[ 42.150342] 2A
[ 42.153660] 2A
[ 42.159764] 2A
[ 42.161756] 2A
[ 42.173351] 2A
[ 42.175307] 2D
[ 42.177253] 2D
[ 42.179234] 2D
[ 42.181471] 2D
[ 42.186641] 2D
[ 42.193306] 03
[ 42.195296] FF
[ 42.197242] FF
[ 42.199188] FF
[ 42.201133] FF
[ 42.216629] RTL871X: 0x020:
[ 42.216636] FF
[ 42.219851] FF
[ 42.221797] FF
[ 42.227089] FF
[ 42.229778] FF
[ 42.243287] FF
[ 42.245305] FF
[ 42.247252] FF
[ 42.249198] FF
[ 42.251435] FF
[ 42.259710] FF
[ 42.261730] FF
[ 42.271359] FF
[ 42.273432] FF
[ 42.275382] FF
[ 42.277328] FF
[ 42.281153] RTL871X: 0x030:
[ 42.281156] FF
[ 42.293350] FF
[ 42.295370] FF
[ 42.297317] FF
[ 42.299261] FF
[ 42.301207] FF
[ 42.303153] FF
[ 42.316573] FF
[ 42.318528] FF
[ 42.320764] FF
[ 42.322709] FF
[ 42.326896] FF
[ 42.333364] FF
[ 42.335318] FF
[ 42.337264] FF
[ 42.339210] FF
[ 42.342997] RTL871X: 0x040:
[ 42.342999] FF
[ 42.360888] FF
[ 42.365341] FF
[ 42.367296] FF
[ 42.369241] FF
[ 42.371186] FF
[ 42.373129] FF
[ 42.384125] FF
[ 42.386081] FF
[ 42.388317] FF
[ 42.390263] FF
[ 42.392209] FF
[ 42.403753] FF
[ 42.405709] FF
[ 42.407655] FF
[ 42.409601] FF
[ 42.422382] RTL871X: 0x050:
[ 42.422389] FF
[ 42.427288] FF
[ 42.431475] FF
[ 42.440961] FF
[ 42.442917] FF
[ 42.444966] FF
[ 42.446953] FF
[ 42.448900] FF
[ 42.450845] FF
[ 42.453082] FF
[ 42.463288] FF
[ 42.465244] FF
[ 42.467190] FF
[ 42.469135] FF
[ 42.471082] FF
[ 42.473026] FF
[ 42.480776] RTL871X: 0x060:
[ 42.480782] FF
[ 42.485004] FF
[ 42.486959] FF
[ 42.488905] FF
[ 42.490851] FF
[ 42.492795] FF
[ 42.503343] FF
[ 42.505299] FF
[ 42.507245] FF
[ 42.509481] FF
[ 42.511427] FF
[ 42.523359] FF
[ 42.525314] FF
[ 42.527260] FF
[ 42.529205] FF
[ 42.531188] FF
[ 42.535976] RTL871X: 0x070:
[ 42.535983] FF
[ 42.543142] FF
[ 42.552643] FF
[ 42.554770] FF
[ 42.556722] FF
[ 42.558668] FF
[ 42.560613] FF
[ 42.562558] FF
[ 42.567600] FF
[ 42.569845] FF
[ 42.571791] FF
[ 42.581156] FF
[ 42.583112] FF
[ 42.586742] FF
[ 42.589494] FF
[ 42.593323] FF
[ 42.597184] RTL871X: 0x080:
[ 42.597189] FF
[ 42.600396] FF
[ 42.602343] FF
[ 42.613074] FF
[ 42.616789] FF
[ 42.618744] FF
[ 42.620691] FF
[ 42.622637] FF
[ 42.631917] FF
[ 42.635911] FF
[ 42.638815] FF
[ 42.640771] FF
[ 42.642718] FF
[ 42.651639] FF
[ 42.653713] FF
[ 42.655663] FF
[ 42.659454] RTL871X: 0x090:
[ 42.659457] FF
[ 42.662662] FF
[ 42.675742] FF
[ 42.677697] FF
[ 42.679644] FF
[ 42.681653] FF
[ 42.692402] FF
[ 42.694551] FF
[ 42.696505] FF
[ 42.698776] FF
[ 42.700722] FF
[ 42.702667] FF
[ 42.706306] FF
[ 42.709465] FF
[ 42.711420] FF
[ 42.721005] FF
[ 42.725006] RTL871X: 0x0a0:
[ 42.725012] FF
[ 42.728223] FF
[ 42.730168] FF
[ 42.732146] FF
[ 42.743291] FF
[ 42.745246] FF
[ 42.747193] FF
[ 42.749173] FF
[ 42.751118] FF
[ 42.762699] FF
[ 42.767725] FF
[ 42.769681] FF
[ 42.771625] FF
[ 42.774181] FF
[ 42.777278] FF
[ 42.781416] FF
[ 42.786851] RTL871X: 0x0b0:
[ 42.786857] FF
[ 42.793322] FF
[ 42.795277] FF
[ 42.797223] FF
[ 42.799230] FF
[ 42.801176] FF
[ 42.803122] FF
[ 42.817713] FF
[ 42.819667] 20
[ 42.821904] 25
[ 42.841021] 1A
[ 42.842977] 00
[ 42.853424] 00
[ 42.855380] 00
[ 42.857326] 00
[ 42.859272] FF
[ 42.901754] RTL871X: 0x0c0:
[ 42.901760] FF
[ 42.910660] 11
[ 42.912615] 00
[ 42.961634] 10
[ 42.963796] 00
[ 42.965748] FF
[ 42.967730] 00
[ 42.969677] FF
[ 42.971623] 00
[ 43.003371] 00
[ 43.005328] FF
[ 43.007275] FF
[ 43.009220] FF
[ 43.011166] FF
[ 43.013111] FF
[ 43.023761] EXT4-fs (mmcblk0p5): warning: mounting unchecked fs, running e2fsck is recommended
[ 43.039918] FF
[ 43.041777] RTL871X: 0x0d0:
[ 43.041780] 3E
[ 43.063463] 10
[ 43.065419] 01
[ 43.067428] 12
[ 43.069376] 23
[ 43.071321] FF
[ 43.077749] FF
[ 43.079705] FF
[ 43.081650] 20
[ 43.084208] EXT4-fs (mmcblk0p5): re-mounted. Opts: (null)
[ 43.097768] 04
[ 43.097773] 4C
[ 43.099729] 02
[ 43.115452] 79
[ 43.117472] F1
[ 43.119419] 21
[ 43.121903] 02
[ 43.127138] RTL871X: 0x0e0:
[ 43.127146] 0C
[ 43.130360] 00
[ 43.153299] 22
[ 43.155255] 04
[ 43.157202] 00
[ 43.159147] 08
[ 43.161092] 00
[ 43.163038] 32
[ 43.193302] FF
[ 43.195548] 21
[ 43.197494] 02
[ 43.199439] 0C
[ 43.201444] 00
[ 43.223286] 22
[ 43.225242] 2A
[ 43.227189] 01
[ 43.230979] RTL871X: 0x0f0:
[ 43.230982] 01
[ 43.253302] 00
[ 43.255256] 00
[ 43.257202] 00
[ 43.259148] 00
[ 43.261093] 00
[ 43.263038] 00
[ 43.287214] 00
[ 43.293327] 00
[ 43.295573] 00
[ 43.297517] 00
[ 43.299463] 00
[ 43.301408] 02
[ 43.312375] 00
[ 43.314819] FF
[ 43.317999] FF
[ 43.321836] RTL871X: 0x100:
[ 43.321840] 00
[ 43.334285] 00
[ 43.342379] 00
[ 43.344439] 00
[ 43.346390] 00
[ 43.352102] 00
[ 43.359343] 00
[ 43.361297] 00
[ 43.363335] 00
[ 43.368355] 00
[ 43.374979] 00
[ 43.382157] 00
[ 43.384215] 00
[ 43.386227] 00
[ 43.390842] 00
[ 43.392799] 00
[ 43.402824] RTL871X: 0x110:
[ 43.402830] 00
[ 43.407948] EB
[ 43.409903] 00
[ 43.411850] 6E
[ 43.423383] 01
[ 43.430552] 00
[ 43.432507] 00
[ 43.436732] 00
[ 43.438686] 00
[ 43.440922] FF
[ 43.448074] 94
[ 43.450028] A4
[ 43.451975] 08
[ 43.459202] C5
[ 43.461157] 17
[ 43.463102] 7C
[ 43.476045] RTL871X: 0x120:
[ 43.476052] FF
[ 43.481477] FF
[ 43.484491] FF
[ 43.486448] FF
[ 43.488431] FF
[ 43.498021] FF
[ 43.499977] FF
[ 43.507881] FF
[ 43.509838] FF
[ 43.512074] FF
[ 43.514442] FF
[ 43.523049] FF
[ 43.525141] FF
[ 43.527089] FF
[ 43.529035] FF
[ 43.548233] FF
[ 43.567791] RTL871X: 0x130:
[ 43.567798] FF
[ 43.571078] FF
[ 43.588477] FF
[ 43.590432] FF
[ 43.592378] FF
[ 43.615147] FF
[ 43.617101] FF
[ 43.619047] FF
[ 43.635972] FF
[ 43.651172] FF
[ 43.653128] FF
[ 43.663296] FF
[ 43.665250] FF
[ 43.679778] FF
[ 43.681734] FF
[ 43.692132] FF
[ 43.702508] RTL871X: 0x140:
[ 43.702516] FF
[ 43.712210] FF
[ 43.721718] FF
[ 43.725217] FF
[ 43.732115] FF
[ 43.739573] FF
[ 43.744707] FF
[ 43.749071] FF
[ 43.754822] FF
[ 43.759799] FF
[ 43.762210] FF
[ 43.769760] FF
[ 43.783370] FF
[ 43.793400] FF
[ 43.795356] FF
[ 43.813367] FF
[ 43.817169] RTL871X: 0x150:
[ 43.817171] FF
[ 43.841213] FF
[ 43.848880] FF
[ 43.850835] FF
[ 43.862046] FF
[ 43.874315] FF
[ 43.881497] FF
[ 43.893297] FF
[ 43.895253] FF
[ 43.906459] FF
[ 43.923294] FF
[ 43.928248] FF
[ 43.930204] FF
[ 43.947883] FF
[ 43.949839] FF
[ 43.951786] FF
[ 43.969828] RTL871X: 0x160:
[ 43.969835] FF
[ 43.985559] FF
[ 43.987514] FF
[ 44.005217] FF
[ 44.014361] FF
[ 44.022364] FF
[ 44.029444] FF
[ 44.031397] FF
[ 44.053409] FF
[ 44.055655] FF
[ 44.073371] FF
[ 44.075362] FF
[ 44.077310] FF
[ 44.103293] FF
[ 44.105249] FF
[ 44.132529] FF
[ 44.143359] RTL871X: 0x170:
[ 44.143367] FF
[ 44.146580] FF
[ 44.170651] FF
[ 44.172607] FF
[ 44.183402] FF
[ 44.185357] FF
[ 44.197692] FF
[ 44.199648] FF
[ 44.201594] FF
[ 44.223338] FF
[ 44.225438] FF
[ 44.227388] FF
[ 44.229334] FF
[ 44.242286] FF
[ 44.257349] FF
[ 44.259370] FF
[ 44.273314] RTL871X: 0x180:
[ 44.273322] FF
[ 44.281788] FF
[ 44.291087] FF
[ 44.298991] FF
[ 44.300947] FF
[ 44.302891] FF
[ 44.314818] FF
[ 44.323383] FF
[ 44.325340] FF
[ 44.333057] FF
[ 44.343341] FF
[ 44.345297] FF
[ 44.347244] FF
[ 44.361508] FF
[ 44.372632] FF
[ 44.374705] FF
[ 44.388944] RTL871X: 0x190:
[ 44.388951] FF
[ 44.392166] FF
[ 44.403385] FF
[ 44.408203] FF
[ 44.410220] FF
[ 44.427046] FF
[ 44.431260] FF
[ 44.439615] FF
[ 44.441571] FF
[ 44.453379] FF
[ 44.460549] FF
[ 44.462506] FF
[ 44.471346] FF
[ 44.479466] FF
[ 44.481421] FF
[ 44.493304] FF
[ 44.502155] RTL871X: 0x1a0:
[ 44.502163] FF
[ 44.510931] FF
[ 44.512887] FF
[ 44.535921] FF
[ 44.549182] FF
[ 44.553678] FF
[ 44.573316] FF
[ 44.579820] FF
[ 44.587008] FF
[ 44.589255] FF
[ 44.591200] FF
[ 44.623395] FF
[ 44.634839] FF
[ 44.647779] FF
[ 44.649734] FF
[ 44.651679] FF
[ 44.676331] RTL871X: 0x1b0:
[ 44.676338] FF
[ 44.679589] FF
[ 44.714296] FF
[ 44.716249] FF
[ 44.718195] FF
[ 44.762348] FF
[ 44.790958] FF
[ 44.792914] FF
[ 44.821336] FF
[ 44.843374] FF
[ 44.845330] FF
[ 44.875447] FF
[ 44.877403] FF
[ 44.900176] FF
[ 44.902132] FF
[ 44.925985] FF
[ 44.929786] RTL871X: 0x1c0:
[ 44.929789] FF
[ 44.973423] FF
[ 44.991427] FF
[ 45.003296] FF
[ 45.005250] FF
[ 45.034017] FF
[ 45.074026] [SNDCODEC][sunxi_card_hw_params][620]:stream_flag: 0
[ 45.101149] FF
[ 45.101154] FF
Trying to connect to SWUpdate...[ 45.103109] FF
[ 45.129116] FF
[ 45.169831] FF
[ 45.192078] FF
[ 45.228713] FF
[ 45.230669] FF
[ 45.232679] FF
[ 45.267423] FF
[ 45.271222] RTL871X: 0x1d0:
[ 45.271225] FF
[ 45.309195] FF
[ 45.320149] FF
[ 45.338406] FF
[ 45.353338] FF
[ 45.355294] FF
[ 45.372091] FF
[ 45.386697] FF
[ 45.388653] FF
[ 45.390889] FF
[ 45.422588] FF
[ 45.435094] FF
[ 45.437049] FF
[ 45.456076] FF
[ 45.458030] FF
[ 45.486608] FF
[ 45.493340] RTL871X: 0x1e0:
[ 45.493347] FF
[ 45.512209] FF
[ 45.517339] FF
[ 45.519330] FF
[ 45.529436] FF
[ 45.531392] FF
[ 45.546776] FF
[ 45.548730] FF
[ 45.550677] FF
[ 45.554711] FF
[ 45.556668] FF
[ 45.566682] FF
[ 45.568675] FF
[ 45.574901] FF
[ 45.582081] FF
[ 45.591204] FF
[ 45.600428] RTL871X: 0x1f0:
[ 45.600435] FF
[ 45.607394] FF
[ 45.609350] FF
[ 45.611295] FF
[ 45.616834] FF
[ 45.626088] FF
[ 45.628044] FF
[ 45.633284] FF
[ 45.635301] FF
[ 45.647890] FF
[ 45.649846] FF
[ 45.651855] FF
[ 45.658025] FF
[ 45.662716] FF
[ 45.673361] FF
[ 45.675317] FF
[ 45.682766]
[ 45.687933] RTL871X: hal_com_config_channel_plan chplan:0x20
[ 45.710155] RTL871X: kfree flag:1
[ 45.718402] RTL871X: bb_gain:4
[ 45.746593] RTL871X: rtl8188f_FirmwareDownload((null)) tmp_ps=3
[ 45.775194] RTL871X: rtl8188f_FirmwareDownload fw: FW_NIC, size: 21020
[ 45.811646] RTL871X: rtl8188f_FirmwareDownload: fw_ver=4 fw_subver=0000 sig=0x88f1, Month=08, Date=22, Hour=17, Minute=36
[ 45.854161] RTL871X: rtl8188f_FirmwareDownload(): Shift for fw header!
[ 45.876780] RTL871X: rtl8188f_FirmwareDownload by IO write!
[ 46.396557] RTL871X: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x07050105
[ 46.410590] RTL871X: _8051Reset8188: Finish
[ 46.426588] RTL871X: _FWFreeToGo: Polling FW ready OK! (95, 20ms), REG_MCUFWDL:0x070501c6
[ 46.435974] RTL871X: rtl8188f_FirmwareDownload: DLFW OK !
[ 46.442298] RTL871X: rtl8188f_FirmwareDownload success. write_fw:1, 560ms
[ 46.453516] RTL871X: <=== rtl8188f_FirmwareDownload()
[ 46.459783] RTL871X: hal_read_mac_hidden_rpt OK! (1, 0ms), fwdl:1, id:0x19
[ 46.471606] RTL871X: SetHwReg8188F: bMacPwrCtrlOn=0
[ 46.477435] RTL871X: SetHwReg8188F: hci_sus_state=3
[ 46.486560] RTL871X: SetHwReg8188F: hci_sus_state=0
[ 46.493655] RTL871X: rtw_hal_read_chip_info in 4590 ms
[ 46.507004] RTL871X: init_channel_set((null)) ChannelPlan ID:0x20, ch num:13
[ 46.521505] RTL871X: rtw_alloc_macid((null)) if1, hwaddr:ff:ff:ff:ff:ff:ff macid:1
[ 46.533614] RTL871X: Init_ODM_ComInfo_8188f(): fab_ver=0 cut_ver=1
[ 46.540597] RTL871X: rtw_regsty_chk_target_tx_power_valid return _FALSE for band:0, path:0, rs:0, t:-1
[ 46.554890] RTL871X: phy_ConfigBBWithPgParaFile(): No File PHY_REG_PG.txt, Load from HWImg Array!
[ 46.567678] RTL871X: default power by rate loaded
[ 46.573751] RTL871X: rtw_macaddr_cfg mac addr:94:a4:08:c5:17:7c
[ 46.580784] RTL871X: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0
[ 46.594708] RTL871X: rtw_wiphy_alloc(phy0)
[ 46.599284] RTL871X: rtw_wdev_alloc(padapter=(____ptrval____))
[ 46.609198] RTL871X: rtw_wiphy_register(phy0)
[ 46.614213] RTL871X: Register RTW cfg80211 vendor cmd(0x67) interface
[ 46.622261] RTL871X: _rtw_reg_notifier
[ 46.630111] RTL871X: _rtw_reg_notifier_apply: NL80211_REGDOM_SET_BY_CORE to DRV
[ 46.639272] RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=94:a4:08:c5:17:7c
[ 46.653618] RTL871X: cfg80211_rtw_get_txpower
[ 54.614527] random: crng init done
[ 54.618331] random: 6 urandom warning(s) missed due to ratelimiting
[ 57.586171] RTL871X: cfg80211_rtw_get_txpower
[ 57.596537] RTL871X: cfg80211_rtw_get_txpower
[ 57.608349] RTL871X: cfg80211_rtw_get_txpower
[ 57.613568] RTL871X: cfg80211_rtw_get_txpower
[ 57.621367] RTL871X: cfg80211_rtw_get_txpower
[ 57.626994] RTL871X: +871x_drv - drv_open, bup=0
[ 57.632643] RTL871X: FW does not exist before power on!!
[ 57.639801] RTL871X: SetHwReg8188F: hci_sus_state=1
[ 57.647485] RTL871X: SetHwReg8188F: bMacPwrCtrlOn=1
[ 57.653065] RTL871X: SetHwReg8188F: hci_sus_state=2
[ 57.659133] RTL871X: PowerOnCheck: val_mix:0x0000063f, res:0x0000063f
[ 57.666456] RTL871X: PowerOnCheck: 0x100 the result of cmd52 and cmd53 is the same.
[ 57.675630] RTL871X: PowerOnCheck: 0x1B8 test Pass.
[ 57.681146] RTL871X: Power on ok!
[ 57.685206] RTL871X: rtl8188f_FirmwareDownload(wlan0) tmp_ps=3
[ 57.691969] RTL871X: rtl8188f_FirmwareDownload fw: FW_NIC, size: 21020
[ 57.699405] RTL871X: rtl8188f_FirmwareDownload: fw_ver=4 fw_subver=0000 sig=0x88f1, Month=08, Date=22, Hour=17, Minute=36
[ 57.712087] RTL871X: rtl8188f_FirmwareDownload(): Shift for fw header!
[ 57.719603] RTL871X: rtl8188f_FirmwareDownload by IO write!
[ 57.964664] RTL871X: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x00050105
[ 57.975164] RTL871X: _8051Reset8188: Finish
[ 57.988698] RTL871X: _FWFreeToGo: Polling FW ready OK! (95, 10ms), REG_MCUFWDL:0x000501c6
[ 57.998281] RTL871X: rtl8188f_FirmwareDownload: DLFW OK !
[ 58.004489] RTL871X: rtl8188f_FirmwareDownload success. write_fw:1, 290ms
[ 58.012337] RTL871X: <=== rtl8188f_FirmwareDownload()
[ 58.018221] RTL871X: HalDetectPwrDownMode(): PDN=0
[ 58.023862] RTL871X: Set RF Chip ID to RF_6052 and RF type to 3.
[ 58.596067] RTL871X: #### hw_var_set_opmode() -4815 iface_type(0) mode = 2 ####
[ 58.604646] RTL871X: rtw_rf_get_kfree_tx_gain_offset path:0, ch:6, bb_gain_sel:0, kfree_offset:4
[ 58.615228] RTL871X: kfree gain_offset 0x55:0x82060
[ 58.616121] RTL871X: after :0x92060
[ 58.626267] RTL871X: MAC Address = 94:a4:08:c5:17:7c
[ 58.632557] RTL871X: rtw_cfg80211_init_wiphy:rf_type=3
[ 58.638592] RTL871X: start rtl8188fs_xmit_thread(wlan0)
[ 58.644608] RTL871X: [HT] HAL Support STBC = 0x01
[ 58.650057] RTL871X: -871x_drv - drv_open, bup=1
[ 58.655967] RTL871X: cfg80211_rtw_set_power_mgmt(wlan0) enabled:1, timeout:-1
[ 58.694518] RTL871X: cfg80211_rtw_flush_pmksa(wlan0)
[ 60.728824] RTL871X: ==>rtw_ps_processor .fw_state(8)
[ 60.734739] RTL871X: ==>ips_enter cnts:1
[ 60.739115] RTL871X: nolinked power save enter
[ 60.744677] RTL871X: ===> rtw_ips_pwr_down...................
[ 60.751284] RTL871X: ====> rtw_ips_dev_unload...
[ 60.768230] RTL871X: SetHwReg8188F: bMacPwrCtrlOn=0
[ 60.773943] RTL871X: SetHwReg8188F: hci_sus_state=3
[ 60.780319] RTL871X: SetHwReg8188F: hci_sus_state=0
[ 60.786178] RTL871X: <=== rtw_ips_pwr_down..................... in 40ms