搞定了, 执行 mboot 重新编译,然后重新pack就OK了.

whycan 发布的帖子
-
H133 SDK 编译烧录正常,运行出错
OP-TEE version: e9372c9c-dirty (gcc version 5.3.1 20160412 (Linaro GOC 5.3-2016,05)) #2 Sat Mar 19 11:09:45 UTIC 202 arm E/TC:0 0 check hardware info:90 hardware check errorl E/TC:0 0 Panic at core/arch/arm/plat-sun8iw20p1/main.c:314 <plat init> E/TC:0 0 Call stack: E/TC:00 0x41b0aa29
-
回复: f133编译报错 缺少libatomic.so.1 Package harfbuzz is missing dependencies for the following libraries: libatomic.so.1
@yuwei
我也遇到这种问题了,分析了很久,很可能因为前面使用了 make -jX 多线程编译,导致 libatomic.so.1 所在的包没有正确编译或安装造成。比如我的这个编译出现:
pile_dir/target/awcast/ipkg-sunxi/awcast/usr/lib/ cp -fpR -r /opt/H133/H133-lianhe/out/h133-p1/compile_dir/target/awcast/airplay/lib/lib32/openwrt-arm-musl/libcoolserver.so /opt/H133/H133-lianhe/out/h133-p1/compile_dir/target/awcast/ipkg-sunxi/awcast/usr/lib/ install -m0755 /opt/H133/H133-lianhe/out/h133-p1/compile_dir/target/awcast/awcast /opt/H133/H133-lianhe/out/h133-p1/compile_dir/target/awcast/ipkg-sunxi/awcast/usr/bin install -d -m0755 /opt/H133/H133-lianhe/out/h133-p1/compile_dir/target/awcast/ipkg-sunxi/awcast/etc/init.d install -m0755 ./files/awcast.init /opt/H133/H133-lianhe/out/h133-p1/compile_dir/target/awcast/ipkg-sunxi/awcast/etc/init.d/awcast #install -m0644 /opt/H133/H133-lianhe/external/awcast/conf/awcast.cfg /opt/H133/H133-lianhe/out/h133-p1/compile_dir/target/awcast/ipkg-sunxi/awcast/usr/local/etc/awcast.cfg install -m0644 /opt/H133/H133-lianhe/external/awcast/conf/MiniGUI.cfg /opt/H133/H133-lianhe/out/h133-p1/compile_dir/target/awcast/ipkg-sunxi/awcast/usr/local/etc/MiniGUI.cfg find /opt/H133/H133-lianhe/out/h133-p1/compile_dir/target/awcast/ipkg-sunxi/awcast -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf Package awcast is missing dependencies for the following libraries: libqrcode.so Makefile:130: recipe for target '/opt/H133/H133-lianhe/out/h133-p1/packages/base/awcast_1-1_sunxi.ipk' failed make[3]: *** [/opt/H133/H133-lianhe/out/h133-p1/packages/base/awcast_1-1_sunxi.ipk] Error 1 make[3]: Leaving directory '/opt/H133/H133-lianhe/package/allwinner/homlet/awcast' package/Makefile:192: recipe for target 'package/allwinner/homlet/awcast/compile' failed make[2]: *** [package/allwinner/homlet/awcast/compile] Error 2 make[2]: Leaving directory '/opt/H133/H133-lianhe' package/Makefile:189: recipe for target '/opt/H133/H133-lianhe/out/h133-p1/staging_dir/target/stamp/.package_compile' failed make[1]: *** [/opt/H133/H133-lianhe/out/h133-p1/staging_dir/target/stamp/.package_compile] Error 2 make[1]: Leaving directory '/opt/H133/H133-lianhe' /opt/H133/H133-
只要执行:
make package/utils/qrcode/compile make package/utils/qrcode/install
然后执行awcast编译就能成功:
make package/allwinner/homlet/awcast/compile
-
回复: A133 GPIO无法输出0v,最低0.1V
https://linux-sunxi.org/Fex_Guide
Port Definitions
Description of the GPIO configuration in the form:port:<port><mux feature><pullup/down><drive capability><output level>
where:<port> is the port to configure (ie. PH15)
<mux feature> is the function to configure the port for, mux 0 is as input, mux 1 as output and for 2-7 see A10/PIO, A13/PIO, or A20/PIO for details.
<pullup/down> is 0 = disabled; 1 = pullup enabled; 2 = pulldown enabled (only valid when port is an input)
<drive capability> defines the output drive in mA, values are 0-3 corresponding to 10mA, 20mA, 30mA and 40mA.
<output level> sets the initial output level for the port; 0 = low; 1 = high (only valid for outputs)
The <pullup/down> <drive capability> and <output level> can be set to <default> which means don't change. Any trailing <default> options can be omitted. -
回复: 如何在全志 D1-H_Tina_Open V2.1基础上添加 T113/F133支持
D1 tina SDK 2.0 本身就支持 D1s(F133),再改改就支持T113了。
-
回复: D1s麻雀 关闭uboot的显示(#CONFIG_DISP2_SUNXI=y)后,内核dts不改动,lcd的data引脚就没有输出了
@wjp2547532
dts要改下才行,后来我改了,但是没有更新。晚点我更新一下。
-
回复: V853启动不了
@z272ro
这个貌似官方SDK的一个bug,如果执行过 buildroot 编译方案,又再执行 openwrt 编译打包,会触发这个bug。
试一试: rm out/ -rf
然后重新配置、编译、打包。
-
回复: D1s麻雀 关闭uboot的显示(#CONFIG_DISP2_SUNXI=y)后,内核dts不改动,lcd的data引脚就没有输出了
没有,但是有 别的D1s开发板+别的mipi显示屏固件:
复制这段内容后打开百度网盘APP,操作更方便哦。 链接:https://pan.baidu.com/s/1h-yRCvY3I7fhlVL9tVIfvw?pwd=awol
提取码:awol--来自百度网盘超级会员V4的分享 -
回复: V851编出来的tina_v851s-perf1_uart0_nor.img,烧到SD卡后,sd卡找不到了
@plwl20220517
可能是分区格式在windows不能识别,你试一试插入ubuntu。 -
回复: D1s麻雀 关闭uboot的显示(#CONFIG_DISP2_SUNXI=y)后,内核dts不改动,lcd的data引脚就没有输出了
@wjp2547532 在 D1s麻雀 关闭uboot的显示(#CONFIG_DISP2_SUNXI=y)后,内核dts不改动,lcd的data引脚就没有输出了 中说:
[ 0.454812] [DISP] disp_device_attached_and_enable,line:236:
[ 0.454821] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:0 dvi_hdmi:2, range:2 scan:0 ratio:8linux 的 board.dts 完整贴出来看看。
-
回复: D1s麻雀 关闭uboot的显示(#CONFIG_DISP2_SUNXI=y)后,内核dts不改动,lcd的data引脚就没有输出了
linux 配好 dts 和 CONFIG_DISP2_SUNXI 就可以了。
-
回复: V853编译成啦tina_v853-perf1_uart0_nor.img,怎么去掉_nor
@plwl20220517
板级目录下 sys_config.fex 的 storage_type 节点值。 -
回复: D1-H Tinalinux下spi1 slave模式如何使用
4.2 Slave 模式驱动范例
需要在 board.dts 中相应的 SPI 节点设备配置 spi_slave_mode = <1>。
4.2.1 Slave 写数据
以 spidev1.0 设备为例,发送 0~9 十个数据:1 #define DEVICE_NAME "/dev/spidev1.0" 2 #define HEAD_LEN 5 3 #define PKT_MAX_LEN 0x40 4 #define STATUS_LEN 0x01 5 6 #define SUNXI_OP_WRITE 0x01 7 #define SUNXI_OP_READ 0x03 8 9 #define STATUS_WRITABLE 0x02 10 #define STATUS_READABLE 0x04 11 12 #define WRITE_DELAY 200 13 #define READ_DELAY 100000 14 15 void dump_data(unsigned char *buf, unsigned int len) 16 { 17 unsigned int i; 18 unsigned char tmp[len*2], cnt = 0; 19 20 for (i = 0; i < len; i++) { 21 if (i%0x10== 0) 22 cnt += sprintf(tmp + cnt, "0x%08x: ", i); 23 24 cnt += sprintf(tmp + cnt, "%02x ", buf[i]); 25 26 if ( (i%0x10== 0x0f) || (i == (len -1)) ) { 27 printf("%s\n", tmp); 28 cnt = 0; 29 } 30 } 31 } 32 33 void batch_rand(char *buf, unsigned int length) 34 { 35 unsigned int i; 36 srand(time(0)); 37 38 for(i = 0; i < length; i++) { 39 *(buf + i) = rand() % 256; 40 } 41 } 42 43 int main(int argc, const char *argv[]) 44 { 45 unsigned int length = 0, test_len; 46 char wbuf_head[HEAD_LEN] = {SUNXI_OP_WRITE, 0x00, 0x00, 0x00, 0x00}; 47 char rbuf_head[HEAD_LEN] = {SUNXI_OP_READ, 0x00, 0x00, 0x00, 0x00}; 48 char wbuf[PKT_MAX_LEN], rbuf[PKT_MAX_LEN], i, time; 49 int fd, ret; 50 51 test_len = 10;//send 10 numbers 52 if (test_len > PKT_MAX_LEN) { 53 printf("invalid argument, numbers must less 64B\n"); 54 return -1; 55 } 56 57 wbuf_head[4] = test_len; 58 rbuf_head[4] = test_len; 59 60 for (i = 0; i < test_len; i++) 61 wbuf[i] = i; 62 printf("wbuf:\n"); 63 dump_data(wbuf, test_len); 64 65 fd = open(DEVICE_NAME, O_RDWR); 66 if (fd <= 0) { 67 printf("Fail to to open %s\n", DEVICE_NAME); 68 ret = -1; 69 return ret; 70 } 71 72 {//write 73 if (write(fd, wbuf_head, HEAD_LEN) != HEAD_LEN) { 74 printf("W Fail to write head\n"); 75 ret = -1; 76 goto err; 77 } else 78 printf("W write head successful\n"); 79 80 usleep(WRITE_DELAY); 81 82 if (write(fd, wbuf, test_len) != test_len) { 83 printf("W Fail to write data\n"); 84 ret = -1; 85 goto err; 86 } else 87 printf("W write data successful\n"); 88 89 usleep(READ_DELAY); 90 } 91 92 err: 93 if (fd > 0) 94 close(fd); 95 96 return ret; 97 }
4.2.2 Slave 读数据
以 spidev1.0 设备为例,读十个数据:1 #define DEVICE_NAME "/dev/spidev1.0" 2 #define HEAD_LEN 5 3 #define PKT_MAX_LEN 0x40 4 #define STATUS_LEN 0x01 5 6 #define SUNXI_OP_WRITE 0x01 7 #define SUNXI_OP_READ 0x03 8 9 #define STATUS_WRITABLE 0x02 10 #define STATUS_READABLE 0x04 11 12 #define WRITE_DELAY 200 13 #define READ_DELAY 100000 15 void dump_data(unsigned char *buf, unsigned int len) 16 { 17 unsigned int i; 18 unsigned char tmp[len*2], cnt = 0; 19 20 for (i = 0; i < len; i++) { 21 if (i%0x10== 0) 22 cnt += sprintf(tmp + cnt, "0x%08x: ", i); 23 24 cnt += sprintf(tmp + cnt, "%02x ", buf[i]); 25 26 if ( (i%0x10== 0x0f) || (i == (len -1)) ) { 27 printf("%s\n", tmp); 28 cnt = 0; 29 } 30 } 31 } 32 33 void batch_rand(char *buf, unsigned int length) 34 { 35 unsigned int i; 36 srand(time(0)); 37 38 for(i = 0; i < length; i++) { 39 *(buf + i) = rand() % 256; 40 } 41 } 42 43 int main(int argc, const char *argv[]) 44 { 45 unsigned int length = 0, test_len; 46 char wbuf_head[HEAD_LEN] = {SUNXI_OP_WRITE, 0x00, 0x00, 0x00, 0x00}; 47 char rbuf_head[HEAD_LEN] = {SUNXI_OP_READ, 0x00, 0x00, 0x00, 0x00}; 48 char wbuf[PKT_MAX_LEN], rbuf[PKT_MAX_LEN], i, time; 49 int fd, ret; 50 51 test_len = 10; 52 if (test_len > PKT_MAX_LEN) { 53 printf("inval argument, numbers must less 64B\n"); 54 return -1; 55 } 56 57 wbuf_head[4] = test_len; 58 rbuf_head[4] = test_len; 59 60 fd = open(DEVICE_NAME, O_RDWR); 61 if (fd <= 0) { 62 printf("Fail to to open %s\n", DEVICE_NAME); 63 ret = -1; 64 return ret; 65 } 66 67 {//read 68 if (write(fd, rbuf_head, HEAD_LEN) != HEAD_LEN) { 69 printf("R Fail to write head\n"); 70 ret = -1; 71 goto err; 72 } else 73 printf("R write head successful\n"); 75 usleep(READ_DELAY); 76 77 if (read(fd, rbuf, test_len) != test_len) { 78 printf("R Fail to read data\n"); 79 ret = -1; 80 goto err; 81 } else 82 printf("R read data successful\n"); 83 84 usleep(READ_DELAY); 85 86 } 87 88 printf("rbuf:\n"); 89 dump_data(rbuf, test_len); 90 91 err: 92 if (fd > 0) 93 close(fd); 94 95 return ret; 96 }
-
回复: D1-H 使能spi0和spi1的问题
https://wiki.stmicroelectronics.cn/stm32mpu/wiki/How_to_use_SPI_from_Linux_userland_with_spidev
&spi4 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&spi4_pins_a>; pinctrl-1 = <&spi4_sleep_pins_a>; status = "okay"; spidev@0{ compatible = "spidev"; reg = <0>; spi-max-frequency = <4000000>; }; };
-
回复: 试着用t113的uboot测试mipi屏幕,出现问题,能不能帮帮我
@smiletiger
我也出现一模一样的问题了,同样的D1s板子,同一个固件,淘宝上面买的渣TF卡,有一张卡不正常:
[32]HELLO! BOOT0 is starting! [35]BOOT0 commit : 88480af-dirty [38]set pll start [40]periph0 has been enabled [43]set pll end [44][pmu]: bus read error [47]board init ok [48]ZQ value = 0x30 [50]get_pmu_exist() = -1 [53]ddr_efuse_type: 0xa [55]trefi:7.8ms [57][AUTO DEBUG] single rank and full DQ! [61]ddr_efuse_type: 0xa [63]trefi:7.8ms [65][AUTO DEBUG] rank 0 row = 13 [68][AUTO DEBUG] rank 0 bank = 4 [71][AUTO DEBUG] rank 0 page size = 2 KB [75]DRAM BOOT DRIVE INFO: V0.33 [78]DRAM CLK = 528 MHz [80]DRAM Type = 2 (2:DDR2,3:DDR3) [83]DRAMC read ODT off. [86]DRAM ODT off. [87]ddr_efuse_type: 0xa [90]DRAM SIZE =64 M [92]dram_tpr4:0x0 [94]PLL_DDR_CTRL_REG:0xf8002b00 [97]DRAM_CLK_REG:0xc0000000 [99][TIMING DEBUG] MR2= 0x0 [104]DRAM simple test OK. [106]dram size =64 [108]card no is 0 [109]sdcard 0 line count 4 [112][mmc]: mmc driver ver 2021-04-2 16:45 [121][mmc]: Wrong media type 0x0 [124][mmc]: ***Try SD card 0*** [133][mmc]: HSSDR52/SDR25 4 bit [136][mmc]: 50000000 Hz [138][mmc]: 3763 MB [140][mmc]: ***SD/MMC 0 init OK!!!*** [179]Loading boot-pkg Succeed(index=0). [182]Entry_name = opensbi [186]Entry_name = u-boot [189]Entry_name = dtb [192]mmc not para ▒193]Jump to second Boot. U-Boot 2018.05-g24521d6-dirty (Feb 08 2023 - 22:56:48 +0800) Allwinner Technology [00.203]DRAM: 64 MiB [00.206]Relocation Offset is: 01f27000 [00.210]secure enable bit: 0 [00.213]CPU=720 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.219]flash init start [00.221]workmode = 0,storage type = 1 [00.225][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 [00.230][mmc]: get sdc_type fail and use default host:tm1. [00.237][mmc]: can't find node "mmc0",will add new node [00.242][mmc]: fdt err returned <no error> [00.246][mmc]: Using default timing para [00.249][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.267][mmc]: card_caps:0x3000000a [00.270][mmc]: host_caps:0x3000003f [00.274]sunxi flash init ok [00.276]line:703 init_clocks GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** [00.304]Loading Environment from SUNXI_FLASH... GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** Can't find env partition *** Warning - no device, using default environment Failed (-19) [00.340]out of usb burn from boot: not need burn key cann't get the boot_base from the env [00.348]Item0 (Map) magic is bad [00.351]the secure storage item0 copy0 magic is bad [00.356]Item0 (Map) magic is bad [00.359]the secure storage item0 copy1 magic is bad [00.364]Item0 (Map) magic is bad GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** partno erro : can't find partition private GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** [00.417]update part info GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** [00.443]update bootcmd GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** [00.492]change working_fdt 0x42ae6da0 to 0x42ac6da0 disable nand error: FDT_ERR_BADPATH No reserved memory region found in source FDT [00.527]update dts noncached_alloc(): addr = 0x42b4ba00 noncached_alloc(): addr = 0x42b4ba40 noncached_alloc(): addr = 0x42b4ba80 noncached_alloc(): addr = 0x42b4c2c0 geth_sys_init:634: get node 'gmac0' error geth_sys_init fail! [00.547]Board Net Initialization Failed [00.551]No ethernet found. Hit any key to stop autoboot: 0 ## Error: "distro_bootcmd" not defined => => =>
有一张正常:
[35]HELLO! BOOT0 is starting! [38]BOOT0 commit : 88480af-dirty [41]set pll start [43]periph0 has been enabled [46]set pll end [48][pmu]: bus read error [50]board init ok [52]ZQ value = 0x30 [54]get_pmu_exist() = -1 [56]ddr_efuse_type: 0xa [58]trefi:7.8ms [60][AUTO DEBUG] single rank and full DQ! [64]ddr_efuse_type: 0xa [66]trefi:7.8ms [68][AUTO DEBUG] rank 0 row = 13 [71][AUTO DEBUG] rank 0 bank = 4 [75][AUTO DEBUG] rank 0 page size = 2 KB [78]DRAM BOOT DRIVE INFO: V0.33 [81]DRAM CLK = 528 MHz [83]DRAM Type = 2 (2:DDR2,3:DDR3) [87]DRAMC read ODT off. [89]DRAM ODT off. [91]ddr_efuse_type: 0xa [93]DRAM SIZE =64 M [95]dram_tpr4:0x0 [97]PLL_DDR_CTRL_REG:0xf8002b00 [100]DRAM_CLK_REG:0xc0000000 [102][TIMING DEBUG] MR2= 0x0 [107]DRAM simple test OK. [109]dram size =64 [111]card no is 0 [113]sdcard 0 line count 4 [115][mmc]: mmc driver ver 2021-04-2 16:45 [125][mmc]: Wrong media type 0x0 [127][mmc]: ***Try SD card 0*** [140][mmc]: HSSDR52/SDR25 4 bit [143][mmc]: 50000000 Hz [145][mmc]: 3780 MB [147][mmc]: ***SD/MMC 0 init OK!!!*** [191]Loading boot-pkg Succeed(index=0). [195]Entry_name = opensbi [198]Entry_name = u-boot [202]Entry_name = dtb [204]mmc not para ▒206]Jump to second Boot. U-Boot 2018.05-g24521d6-dirty (Feb 09 2023 - 21:12:54 +0800) Allwinner Technology [00.216]DRAM: 64 MiB [00.218]Relocation Offset is: 01f27000 [00.222]secure enable bit: 0 [00.226]CPU=720 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.232]flash init start [00.234]workmode = 0,storage type = 1 [00.237][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 [00.243][mmc]: get sdc_type fail and use default host:tm1. [00.250][mmc]: can't find node "mmc0",will add new node [00.254][mmc]: fdt err returned <no error> [00.258][mmc]: Using default timing para [00.262][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.282][mmc]: card_caps:0x3000000a [00.285][mmc]: host_caps:0x3000003f [00.290]sunxi flash init ok [00.292]line:703 init_clocks [00.318]Loading Environment from SUNXI_FLASH... OK [00.343]out of usb burn from boot: not need burn key [00.348]Item0 (Map) magic is bad [00.351]the secure storage item0 copy0 magic is bad [00.356]Item0 (Map) magic is bad [00.359]the secure storage item0 copy1 magic is bad [00.363]Item0 (Map) magic is bad partno erro : can't find partition private root_partition is rootfs set root to /dev/mmcblk0p5 [00.380]update part info [00.385]update bootcmd [00.390]change working_fdt 0x42ae6da0 to 0x42ac6da0 disable nand error: FDT_ERR_BADPATH No reserved memory region found in source FDT [00.425]update dts noncached_alloc(): addr = 0x42b4afc0 noncached_alloc(): addr = 0x42b4b000 noncached_alloc(): addr = 0x42b4b040 noncached_alloc(): addr = 0x42b4b880 geth_sys_init:634: get node 'gmac0' error geth_sys_init fail! [00.445]Board Net Initialization Failed [00.448]No ethernet found. Hit any key to stop autoboot: 0 [00.656]no vendor_boot partition is found Android's image name: d1s-whycanpih Detect comp gzip [00.935] Starting kernel ... [00.938][mmc]: MMC Device 2 not found [00.941][mmc]: mmc 2 not find, so not exit ▒** 17 printk messages dropped ** [ 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: 56316K/65536K available (4943K kernel code, 428K rwdata, 1914K rodata, 156K init, 237K bss, 9220K reserved, 0K 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.000009] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000032] riscv_timer_clockevent depends on broadcast, but no broadcast function available [ 0.000437] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.001236] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.001261] pid_max: default: 32768 minimum: 301 [ 0.001480] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.001504] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.003805] ASID allocator initialised with 65536 entries [ 0.004015] rcu: Hierarchical SRCU implementation. [ 0.004826] devtmpfs: initialized [ 0.025392] random: get_random_u32 called from bucket_table_alloc.isra.27+0x10a/0x12c with crng_init=0 [ 0.026850] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.026891] futex hash table entries: 256 (order: 0, 6144 bytes, linear) [ 0.027080] pinctrl core: initialized pinctrl subsystem [ 0.028945] NET: Registered protocol family 16 [ 0.030003] DMA: preallocated 256 KiB pool for atomic allocations [ 0.035896] cpuidle: using governor menu [ 0.145503] rtc_ccu: sunxi ccu init OK [ 0.156066] clock: sunxi ccu init OK [ 0.157489] clock: sunxi ccu init OK [ 0.290983] iommu: Default domain type: Translated [ 0.291915] sunxi iommu: irq = 4 [ 0.295166] SCSI subsystem initialized [ 0.296614] usbcore: registered new interface driver usbfs [ 0.296940] usbcore: registered new interface driver hub [ 0.297252] usbcore: registered new device driver usb [ 0.298245] mc: Linux media interface: v0.10 [ 0.298684] videodev: Linux video capture interface: v2.00 [ 0.304674] Advanced Linux Sound Architecture Driver Initialized. [ 0.306109] Bluetooth: Core ver 2.22 [ 0.306386] NET: Registered protocol family 31 [ 0.306402] Bluetooth: HCI device and connection manager initialized [ 0.306429] Bluetooth: HCI socket layer initialized [ 0.306444] Bluetooth: L2CAP socket layer initialized [ 0.306498] Bluetooth: SCO socket layer initialized [ 0.307200] pwm module init! [ 0.310031] g2d 5410000.g2d: Adding to iommu group 0 [ 0.310996] G2D: rcq version initialized.major:251 [ 0.312811] clocksource: Switched to clocksource riscv_clocksource [ 0.334719] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver [ 0.343333] NET: Registered protocol family 2 [ 0.344718] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.344777] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.344806] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.344824] TCP: Hash tables configured (established 512 bind 512) [ 0.345003] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.345058] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.345364] NET: Registered protocol family 1 [ 0.347805] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator [ 0.348690] spi spi0: spi0 supply spi not found, using dummy regulator [ 0.349244] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE [ 0.349325] sunxi_spi_resource_get()2189 - Failed to get sample mode [ 0.349337] sunxi_spi_resource_get()2194 - Failed to get sample delay [ 0.349349] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 [ 0.349431] sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 [ 0.351018] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 [ 0.356804] workingset: timestamp_bits=62 max_order=14 bucket_order=0 [ 0.392652] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.394012] ntfs: driver 2.1.32 [Flags: R/W]. [ 0.425659] io scheduler mq-deadline registered [ 0.425677] io scheduler kyber registered [ 0.427921] [DISP]disp_module_init [ 0.428947] disp 5000000.disp: Adding to iommu group 0 [ 0.479607] display_fb_request,fb_id:0 [ 0.483653] [DISP] Fb_copy_boot_fb,line:1443: [ 0.483658] no boot_fb0 [ 0.484431] disp_al_manager_apply ouput_type:0 [ 0.484914] [DISP] lcd_clk_config,line:744: [ 0.484931] disp 0, clk: pll(224000000),clk(224000000),dclk(8000000) dsi_rate(224000000) [ 0.484931] clk real:pll(288000000),clk(288000000),dclk(10285714) dsi_rate(0) [ 0.484990] LCD_open_flow line136: 1111111111111111111111111111111111 [ 0.485004] LCD_power_on line158: 1111111111111111111111111111111111 [ 0.486182] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator [ 0.487407] [DISP]disp_module_init finish [ 0.489365] sunxi_sid_init()551 - insmod ok [ 0.490695] pwm-regulator: supplied by regulator-dummy [ 0.494140] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator [ 0.494754] uart uart1: get regulator failed [ 0.494792] uart uart1: uart1 supply uart not found, using dummy regulator [ 0.496189] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI [ 0.497418] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator [ 0.497965] uart uart3: get regulator failed [ 0.498002] uart uart3: uart3 supply uart not found, using dummy regulator [ 0.498689] uart3: ttyS3 at MMIO 0x2500c00 (irq = 21, base_baud = 1500000) is a SUNXI [ 0.498722] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n [ 0.613592] LCD_panel_init line200: 1111111111111111111111111111111111 [ 0.613599] [ST7789V LCD INFO] LINE:0201-->LCD_panel_init: [ 0.613604] [ST7789V LCD INFO] LINE:0202-->LCD_panel_init:init statr! [ 0.613606] ili9327 statr [ 0.613612] lcd_panel_ili9327_init line218: 1111111111111111111111111111111111 [ 0.613617] lcd_panel_ili9327_init line219: 1111111111111111111111111111111111 [ 0.613622] lcd_panel_ili9327_init line220: 1111111111111111111111111111111111 [ 0.613627] [ST7789V LCD INFO] LINE:0222-->lcd_panel_ili9327_init: [ 0.633378] [ST7789V LCD INFO] LINE:0226-->lcd_panel_ili9327_init:reset do! [ 0.633383] ili9327 reset! [ 1.061128] ili9327 init over! [ 1.223203] LCD_bl_open line182: 1111111111111111111111111111111111 [ 1.223210] [ST7789V LCD INFO] LINE:0183-->LCD_bl_open:bl open! [ 1.223212] ili9327 open [ 1.223533] [DISP] disp_device_attached_and_enable,line:233: [ 1.223540] attached ok, mgr0<-->dev0 [ 1.223544] [DISP] disp_device_attached_and_enable,line:236: [ 1.223557] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:0 dvi_hdmi:2, range:2 scan:0 ratio:8 [ 1.287862] printk: console [ttyS3] enabled [ 1.295053] misc dump reg init [ 1.300955] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 [ 1.308725] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed [ 1.316253] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed [ 1.323863] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) [ 1.330380] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. [ 1.337529] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1) [ 1.345388] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1 [ 1.353439] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 [ 1.361550] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled [ 1.369606] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. [ 1.376626] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1) [ 1.384329] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=141 assert=0 [ 1.391969] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator [ 1.404966] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 [ 1.413930] [ADDR_MGT] addr_mgt_probe: success. [ 1.421428] sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 [ 1.429684] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 [ 1.437867] sunxi-spinand-phy: not detect any munufacture from id table [ 1.445517] sunxi-spinand-phy: get spi-nand Model from fdt fail [ 1.452176] sunxi-spinand-phy: get phy info from fdt fail [ 1.458432] sunxi-spinand-phy: not detect munufacture from fdt [ 1.465359] sunxi-spinand-phy: detect munufacture from id table: GD [ 1.472396] sunxi-spinand-phy: get spi-nand Model from fdt fail [ 1.479114] sunxi-spinand-phy: get phy info from fdt fail [ 1.485264] sunxi-spinand-phy: not detect munufacture from fdt [ 1.491820] sunxi-spinand-phy: not match spinand: f1c8f1c8 f1c8f1c8 [ 1.500032] libphy: Fixed MDIO Bus: probed [ 1.505646] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.513263] sunxi-ehci: EHCI SUNXI driver [ 1.518445] get ehci0-controller wakeup-source is fail. [ 1.524641] sunxi ehci0-controller don't init wakeup source [ 1.530928] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe00076f910, 0x:ffffffd00406f000, irq_no:2e [ 1.544618] [sunxi-ehci0]: Not init ehci0 [ 1.549821] get ehci1-controller wakeup-source is fail. [ 1.556114] sunxi ehci1-controller don't init wakeup source [ 1.562405] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0007700a0, 0x:ffffffd004073000, irq_no:31 [ 1.576146] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator [ 1.589134] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator [ 1.601819] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller [ 1.609204] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 [ 1.619306] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 [ 1.652885] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 [ 1.662384] hub 1-0:1.0: USB hub found [ 1.667096] hub 1-0:1.0: 1 port detected [ 1.673442] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.680456] sunxi-ohci: OHCI SUNXI driver [ 1.686319] get ohci0-controller wakeup-source is fail. [ 1.692289] sunxi ohci0-controller don't init wakeup source [ 1.698759] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe00076fcd8 [ 1.709320] [sunxi-ohci0]: Not init ohci0 [ 1.714640] get ohci1-controller wakeup-source is fail. [ 1.720690] sunxi ohci1-controller don't init wakeup source [ 1.727269] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe000770468 [ 1.737889] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator [ 1.750901] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator [ 1.763569] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller [ 1.770883] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 [ 1.781408] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 [ 1.858499] hub 2-0:1.0: USB hub found [ 1.863208] hub 2-0:1.0: 1 port detected [ 1.869955] sunxi_gpadc_init,2151, success [ 1.875866] sunxi_gpadc_setup: get channel scan data failed [ 1.883334] input: sunxi-gpadc0 as /devices/virtual/input/input0 [ 1.895405] sunxi-rtc 7090000.rtc: registered as rtc0 [ 1.901265] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T04:02:42 UTC (14562) [ 1.911365] sunxi-rtc 7090000.rtc: sunxi rtc probed [ 1.917931] i2c /dev entries driver [ 1.922493] IR NEC protocol handler initialized [ 1.928116] sun8iw20-pinctrl 2000000.pinctrl: pin PB7 already requested by 2500c00.uart; cannot claim for 7040000.s_cir [ 1.940457] sun8iw20-pinctrl 2000000.pinctrl: pin-39 (7040000.s_cir) status -22 [ 1.948690] sun8iw20-pinctrl 2000000.pinctrl: could not request pin 39 (PB7) from group PB7 on device 2000000.pinctrl [ 1.960835] sunxi-rc-recv 7040000.s_cir: Error applying setting, reverse things back [ 1.969608] sunxi-rc-recv: probe of 7040000.s_cir failed with error -22 [ 1.981799] usbcore: registered new interface driver uvcvideo [ 1.988838] USB Video Class driver (1.1.1) [ 1.993597] sunxi cedar version 1.1 [ 1.997842] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 [ 2.004346] VE: install start!!! [ 2.004346] [ 2.010362] VE: cedar-ve the get irq is 6 [ 2.010362] [ 2.017218] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) [ 2.017218] [ 2.028944] VE: install end!!! [ 2.028944] [ 2.034098] VE: sunxi_cedar_probe [ 2.038489] Bluetooth: HCI UART driver ver 2.3 [ 2.043917] Bluetooth: HCI UART protocol H4 registered [ 2.049743] Bluetooth: HCI UART protocol BCSP registered [ 2.055791] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 [ 2.063350] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 [ 2.069843] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 [ 2.076617] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! [ 2.076617] [ 2.085437] [XR_BT_LPM] bluesleep_probe: uart_index(1) [ 2.096723] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) [ 2.107138] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 [ 2.113483] sunxi-mmc 4020000.sdmmc: No vmmc regulator found [ 2.119860] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found [ 2.126599] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found [ 2.133128] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found [ 2.139687] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found [ 2.146352] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found [ 2.152934] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found [ 2.160077] sunxi-mmc 4020000.sdmmc: Got CD GPIO [ 2.165563] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail [ 2.172475] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.183909] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator [ 2.202921] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.227584] sunxi-mmc 4020000.sdmmc: detmode:gpio irq [ 2.233340] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.246119] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) [ 2.256697] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 [ 2.263024] sunxi-mmc 4021000.sdmmc: No vmmc regulator found [ 2.269466] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found [ 2.276015] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.287717] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found [ 2.294298] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found [ 2.300821] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found [ 2.307629] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found [ 2.314306] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found [ 2.320912] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed [ 2.330097] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.342761] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.354387] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 2.363756] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.375412] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.399922] sunxi-mmc 4021000.sdmmc: detmode:manually by software [ 2.407711] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 2.415499] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 2.422420] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.434840] sunxi_led_probe()1751 - start [ 2.439740] sunxi_get_str_of_property()1597 - failed to get the string of propname led_regulator! [ 2.450066] sunxi_register_led_classdev()1485 - led_classdev start [ 2.458589] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.472453] mmc0: host does not support reading read-only switch, assuming write-enable [ 2.481921] sunxi_led_probe()1847 - finish [ 2.488557] ledtrig-cpu: registered to indicate activity on CPUs [ 2.496828] ashmem: initialized [ 2.500495] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 2.512463] exFAT: Version 1.3.0 [ 2.516119] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.523319] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 2.535036] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.542805] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.550505] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.557360] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.570218] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B [ 2.588877] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 [ 2.588877] [ 2.606464] mmc0: new high speed SDHC card at address 0001 [ 2.614631] mmcblk0: mmc0:0001 3333 3.69 GiB [ 2.619846] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 [ 2.634941] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished [ 2.644853] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 [ 2.651190] sid_rd_ver_reg()254 - ver >= 4, soc ver:5 [ 2.663456] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! [ 2.673623] [SNDCODEC][sunxi_card_init][583]:card init finished [ 2.683254] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok [ 2.695942] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input1 [ 2.709314] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished [ 2.722526] NET: Registered protocol family 10 [ 2.727679] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch [ 2.737647] Segment Routing with IPv6 [ 2.742026] NET: Registered protocol family 17 [ 2.747617] Bluetooth: RFCOMM TTY layer initialized [ 2.753476] Bluetooth: RFCOMM socket layer initialized [ 2.759287] Bluetooth: RFCOMM ver 1.11 [ 2.797946] sunxi-i2c sunxi-i2c0: sunxi-i2c0 supply twi not found, using dummy regulator [ 2.817440] sunxi-i2c sunxi-i2c0: probe success [ 2.824419] sun8iw20-pinctrl 2000000.pinctrl: pin PB7 already requested by 2500c00.uart; cannot claim for 7040000.s_cir [ 2.836820] sun8iw20-pinctrl 2000000.pinctrl: pin-39 (7040000.s_cir) status -22 [ 2.845188] sun8iw20-pinctrl 2000000.pinctrl: could not request pin 39 (PB7) from group PB7 on device 2000000.pinctrl [ 2.857286] sunxi-rc-recv 7040000.s_cir: Error applying setting, reverse things back [ 2.866115] sunxi-rc-recv: probe of 7040000.s_cir failed with error -22 [ 2.879560] clk: Not disabling unused clocks [ 2.884886] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 2.895096] ALSA device list: [ 2.898411] #0: audiocodec [ 2.901685] alloc_fd: slot 0 not NULL! [ 2.906068] cfg80211: failed to load regulatory.db [ 2.920827] VFS: Mounted root (squashfs filesystem) readonly on device 179:5. [ 2.934454] devtmpfs: mounted [ 2.937996] Freeing unused kernel memory: 156K [ 2.943068] This architecture does not have kernel memory protection.
-
回复: 试着用t113的uboot测试mipi屏幕,出现问题,能不能帮帮我
@smiletiger
我也出现一模一样的问题了,同样的D1s板子,同一个固件,淘宝上面买的渣TF卡,有一张卡不正常:
[32]HELLO! BOOT0 is starting! [35]BOOT0 commit : 88480af-dirty [38]set pll start [40]periph0 has been enabled [43]set pll end [44][pmu]: bus read error [47]board init ok [48]ZQ value = 0x30 [50]get_pmu_exist() = -1 [53]ddr_efuse_type: 0xa [55]trefi:7.8ms [57][AUTO DEBUG] single rank and full DQ! [61]ddr_efuse_type: 0xa [63]trefi:7.8ms [65][AUTO DEBUG] rank 0 row = 13 [68][AUTO DEBUG] rank 0 bank = 4 [71][AUTO DEBUG] rank 0 page size = 2 KB [75]DRAM BOOT DRIVE INFO: V0.33 [78]DRAM CLK = 528 MHz [80]DRAM Type = 2 (2:DDR2,3:DDR3) [83]DRAMC read ODT off. [86]DRAM ODT off. [87]ddr_efuse_type: 0xa [90]DRAM SIZE =64 M [92]dram_tpr4:0x0 [94]PLL_DDR_CTRL_REG:0xf8002b00 [97]DRAM_CLK_REG:0xc0000000 [99][TIMING DEBUG] MR2= 0x0 [104]DRAM simple test OK. [106]dram size =64 [108]card no is 0 [109]sdcard 0 line count 4 [112][mmc]: mmc driver ver 2021-04-2 16:45 [121][mmc]: Wrong media type 0x0 [124][mmc]: ***Try SD card 0*** [133][mmc]: HSSDR52/SDR25 4 bit [136][mmc]: 50000000 Hz [138][mmc]: 3763 MB [140][mmc]: ***SD/MMC 0 init OK!!!*** [179]Loading boot-pkg Succeed(index=0). [182]Entry_name = opensbi [186]Entry_name = u-boot [189]Entry_name = dtb [192]mmc not para ▒193]Jump to second Boot. U-Boot 2018.05-g24521d6-dirty (Feb 08 2023 - 22:56:48 +0800) Allwinner Technology [00.203]DRAM: 64 MiB [00.206]Relocation Offset is: 01f27000 [00.210]secure enable bit: 0 [00.213]CPU=720 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.219]flash init start [00.221]workmode = 0,storage type = 1 [00.225][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 [00.230][mmc]: get sdc_type fail and use default host:tm1. [00.237][mmc]: can't find node "mmc0",will add new node [00.242][mmc]: fdt err returned <no error> [00.246][mmc]: Using default timing para [00.249][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.267][mmc]: card_caps:0x3000000a [00.270][mmc]: host_caps:0x3000003f [00.274]sunxi flash init ok [00.276]line:703 init_clocks GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** [00.304]Loading Environment from SUNXI_FLASH... GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** Can't find env partition *** Warning - no device, using default environment Failed (-19) [00.340]out of usb burn from boot: not need burn key cann't get the boot_base from the env [00.348]Item0 (Map) magic is bad [00.351]the secure storage item0 copy0 magic is bad [00.356]Item0 (Map) magic is bad [00.359]the secure storage item0 copy1 magic is bad [00.364]Item0 (Map) magic is bad GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** partno erro : can't find partition private GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** [00.417]update part info GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** [00.443]update bootcmd GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** [00.492]change working_fdt 0x42ae6da0 to 0x42ac6da0 disable nand error: FDT_ERR_BADPATH No reserved memory region found in source FDT [00.527]update dts noncached_alloc(): addr = 0x42b4ba00 noncached_alloc(): addr = 0x42b4ba40 noncached_alloc(): addr = 0x42b4ba80 noncached_alloc(): addr = 0x42b4c2c0 geth_sys_init:634: get node 'gmac0' error geth_sys_init fail! [00.547]Board Net Initialization Failed [00.551]No ethernet found. Hit any key to stop autoboot: 0 ## Error: "distro_bootcmd" not defined => => =>
有一张正常:
[35]HELLO! BOOT0 is starting! [38]BOOT0 commit : 88480af-dirty [41]set pll start [43]periph0 has been enabled [46]set pll end [48][pmu]: bus read error [50]board init ok [52]ZQ value = 0x30 [54]get_pmu_exist() = -1 [56]ddr_efuse_type: 0xa [58]trefi:7.8ms [60][AUTO DEBUG] single rank and full DQ! [64]ddr_efuse_type: 0xa [66]trefi:7.8ms [68][AUTO DEBUG] rank 0 row = 13 [71][AUTO DEBUG] rank 0 bank = 4 [75][AUTO DEBUG] rank 0 page size = 2 KB [78]DRAM BOOT DRIVE INFO: V0.33 [81]DRAM CLK = 528 MHz [83]DRAM Type = 2 (2:DDR2,3:DDR3) [87]DRAMC read ODT off. [89]DRAM ODT off. [91]ddr_efuse_type: 0xa [93]DRAM SIZE =64 M [95]dram_tpr4:0x0 [97]PLL_DDR_CTRL_REG:0xf8002b00 [100]DRAM_CLK_REG:0xc0000000 [102][TIMING DEBUG] MR2= 0x0 [107]DRAM simple test OK. [109]dram size =64 [111]card no is 0 [113]sdcard 0 line count 4 [115][mmc]: mmc driver ver 2021-04-2 16:45 [125][mmc]: Wrong media type 0x0 [127][mmc]: ***Try SD card 0*** [140][mmc]: HSSDR52/SDR25 4 bit [143][mmc]: 50000000 Hz [145][mmc]: 3780 MB [147][mmc]: ***SD/MMC 0 init OK!!!*** [191]Loading boot-pkg Succeed(index=0). [195]Entry_name = opensbi [198]Entry_name = u-boot [202]Entry_name = dtb [204]mmc not para ▒206]Jump to second Boot. U-Boot 2018.05-g24521d6-dirty (Feb 09 2023 - 21:12:54 +0800) Allwinner Technology [00.216]DRAM: 64 MiB [00.218]Relocation Offset is: 01f27000 [00.222]secure enable bit: 0 [00.226]CPU=720 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.232]flash init start [00.234]workmode = 0,storage type = 1 [00.237][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 [00.243][mmc]: get sdc_type fail and use default host:tm1. [00.250][mmc]: can't find node "mmc0",will add new node [00.254][mmc]: fdt err returned <no error> [00.258][mmc]: Using default timing para [00.262][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.282][mmc]: card_caps:0x3000000a [00.285][mmc]: host_caps:0x3000003f [00.290]sunxi flash init ok [00.292]line:703 init_clocks [00.318]Loading Environment from SUNXI_FLASH... OK [00.343]out of usb burn from boot: not need burn key [00.348]Item0 (Map) magic is bad [00.351]the secure storage item0 copy0 magic is bad [00.356]Item0 (Map) magic is bad [00.359]the secure storage item0 copy1 magic is bad [00.363]Item0 (Map) magic is bad partno erro : can't find partition private root_partition is rootfs set root to /dev/mmcblk0p5 [00.380]update part info [00.385]update bootcmd [00.390]change working_fdt 0x42ae6da0 to 0x42ac6da0 disable nand error: FDT_ERR_BADPATH No reserved memory region found in source FDT [00.425]update dts noncached_alloc(): addr = 0x42b4afc0 noncached_alloc(): addr = 0x42b4b000 noncached_alloc(): addr = 0x42b4b040 noncached_alloc(): addr = 0x42b4b880 geth_sys_init:634: get node 'gmac0' error geth_sys_init fail! [00.445]Board Net Initialization Failed [00.448]No ethernet found. Hit any key to stop autoboot: 0 [00.656]no vendor_boot partition is found Android's image name: d1s-whycanpih Detect comp gzip [00.935] Starting kernel ... [00.938][mmc]: MMC Device 2 not found [00.941][mmc]: mmc 2 not find, so not exit ▒** 17 printk messages dropped ** [ 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: 56316K/65536K available (4943K kernel code, 428K rwdata, 1914K rodata, 156K init, 237K bss, 9220K reserved, 0K 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.000009] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000032] riscv_timer_clockevent depends on broadcast, but no broadcast function available [ 0.000437] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.001236] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.001261] pid_max: default: 32768 minimum: 301 [ 0.001480] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.001504] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.003805] ASID allocator initialised with 65536 entries [ 0.004015] rcu: Hierarchical SRCU implementation. [ 0.004826] devtmpfs: initialized [ 0.025392] random: get_random_u32 called from bucket_table_alloc.isra.27+0x10a/0x12c with crng_init=0 [ 0.026850] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.026891] futex hash table entries: 256 (order: 0, 6144 bytes, linear) [ 0.027080] pinctrl core: initialized pinctrl subsystem [ 0.028945] NET: Registered protocol family 16 [ 0.030003] DMA: preallocated 256 KiB pool for atomic allocations [ 0.035896] cpuidle: using governor menu [ 0.145503] rtc_ccu: sunxi ccu init OK [ 0.156066] clock: sunxi ccu init OK [ 0.157489] clock: sunxi ccu init OK [ 0.290983] iommu: Default domain type: Translated [ 0.291915] sunxi iommu: irq = 4 [ 0.295166] SCSI subsystem initialized [ 0.296614] usbcore: registered new interface driver usbfs [ 0.296940] usbcore: registered new interface driver hub [ 0.297252] usbcore: registered new device driver usb [ 0.298245] mc: Linux media interface: v0.10 [ 0.298684] videodev: Linux video capture interface: v2.00 [ 0.304674] Advanced Linux Sound Architecture Driver Initialized. [ 0.306109] Bluetooth: Core ver 2.22 [ 0.306386] NET: Registered protocol family 31 [ 0.306402] Bluetooth: HCI device and connection manager initialized [ 0.306429] Bluetooth: HCI socket layer initialized [ 0.306444] Bluetooth: L2CAP socket layer initialized [ 0.306498] Bluetooth: SCO socket layer initialized [ 0.307200] pwm module init! [ 0.310031] g2d 5410000.g2d: Adding to iommu group 0 [ 0.310996] G2D: rcq version initialized.major:251 [ 0.312811] clocksource: Switched to clocksource riscv_clocksource [ 0.334719] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver [ 0.343333] NET: Registered protocol family 2 [ 0.344718] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.344777] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.344806] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.344824] TCP: Hash tables configured (established 512 bind 512) [ 0.345003] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.345058] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.345364] NET: Registered protocol family 1 [ 0.347805] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator [ 0.348690] spi spi0: spi0 supply spi not found, using dummy regulator [ 0.349244] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE [ 0.349325] sunxi_spi_resource_get()2189 - Failed to get sample mode [ 0.349337] sunxi_spi_resource_get()2194 - Failed to get sample delay [ 0.349349] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 [ 0.349431] sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 [ 0.351018] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 [ 0.356804] workingset: timestamp_bits=62 max_order=14 bucket_order=0 [ 0.392652] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.394012] ntfs: driver 2.1.32 [Flags: R/W]. [ 0.425659] io scheduler mq-deadline registered [ 0.425677] io scheduler kyber registered [ 0.427921] [DISP]disp_module_init [ 0.428947] disp 5000000.disp: Adding to iommu group 0 [ 0.479607] display_fb_request,fb_id:0 [ 0.483653] [DISP] Fb_copy_boot_fb,line:1443: [ 0.483658] no boot_fb0 [ 0.484431] disp_al_manager_apply ouput_type:0 [ 0.484914] [DISP] lcd_clk_config,line:744: [ 0.484931] disp 0, clk: pll(224000000),clk(224000000),dclk(8000000) dsi_rate(224000000) [ 0.484931] clk real:pll(288000000),clk(288000000),dclk(10285714) dsi_rate(0) [ 0.484990] LCD_open_flow line136: 1111111111111111111111111111111111 [ 0.485004] LCD_power_on line158: 1111111111111111111111111111111111 [ 0.486182] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator [ 0.487407] [DISP]disp_module_init finish [ 0.489365] sunxi_sid_init()551 - insmod ok [ 0.490695] pwm-regulator: supplied by regulator-dummy [ 0.494140] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator [ 0.494754] uart uart1: get regulator failed [ 0.494792] uart uart1: uart1 supply uart not found, using dummy regulator [ 0.496189] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI [ 0.497418] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator [ 0.497965] uart uart3: get regulator failed [ 0.498002] uart uart3: uart3 supply uart not found, using dummy regulator [ 0.498689] uart3: ttyS3 at MMIO 0x2500c00 (irq = 21, base_baud = 1500000) is a SUNXI [ 0.498722] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n [ 0.613592] LCD_panel_init line200: 1111111111111111111111111111111111 [ 0.613599] [ST7789V LCD INFO] LINE:0201-->LCD_panel_init: [ 0.613604] [ST7789V LCD INFO] LINE:0202-->LCD_panel_init:init statr! [ 0.613606] ili9327 statr [ 0.613612] lcd_panel_ili9327_init line218: 1111111111111111111111111111111111 [ 0.613617] lcd_panel_ili9327_init line219: 1111111111111111111111111111111111 [ 0.613622] lcd_panel_ili9327_init line220: 1111111111111111111111111111111111 [ 0.613627] [ST7789V LCD INFO] LINE:0222-->lcd_panel_ili9327_init: [ 0.633378] [ST7789V LCD INFO] LINE:0226-->lcd_panel_ili9327_init:reset do! [ 0.633383] ili9327 reset! [ 1.061128] ili9327 init over! [ 1.223203] LCD_bl_open line182: 1111111111111111111111111111111111 [ 1.223210] [ST7789V LCD INFO] LINE:0183-->LCD_bl_open:bl open! [ 1.223212] ili9327 open [ 1.223533] [DISP] disp_device_attached_and_enable,line:233: [ 1.223540] attached ok, mgr0<-->dev0 [ 1.223544] [DISP] disp_device_attached_and_enable,line:236: [ 1.223557] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:0 dvi_hdmi:2, range:2 scan:0 ratio:8 [ 1.287862] printk: console [ttyS3] enabled [ 1.295053] misc dump reg init [ 1.300955] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 [ 1.308725] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed [ 1.316253] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed [ 1.323863] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) [ 1.330380] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. [ 1.337529] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1) [ 1.345388] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1 [ 1.353439] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 [ 1.361550] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled [ 1.369606] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. [ 1.376626] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1) [ 1.384329] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=141 assert=0 [ 1.391969] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator [ 1.404966] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 [ 1.413930] [ADDR_MGT] addr_mgt_probe: success. [ 1.421428] sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 [ 1.429684] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 [ 1.437867] sunxi-spinand-phy: not detect any munufacture from id table [ 1.445517] sunxi-spinand-phy: get spi-nand Model from fdt fail [ 1.452176] sunxi-spinand-phy: get phy info from fdt fail [ 1.458432] sunxi-spinand-phy: not detect munufacture from fdt [ 1.465359] sunxi-spinand-phy: detect munufacture from id table: GD [ 1.472396] sunxi-spinand-phy: get spi-nand Model from fdt fail [ 1.479114] sunxi-spinand-phy: get phy info from fdt fail [ 1.485264] sunxi-spinand-phy: not detect munufacture from fdt [ 1.491820] sunxi-spinand-phy: not match spinand: f1c8f1c8 f1c8f1c8 [ 1.500032] libphy: Fixed MDIO Bus: probed [ 1.505646] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.513263] sunxi-ehci: EHCI SUNXI driver [ 1.518445] get ehci0-controller wakeup-source is fail. [ 1.524641] sunxi ehci0-controller don't init wakeup source [ 1.530928] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe00076f910, 0x:ffffffd00406f000, irq_no:2e [ 1.544618] [sunxi-ehci0]: Not init ehci0 [ 1.549821] get ehci1-controller wakeup-source is fail. [ 1.556114] sunxi ehci1-controller don't init wakeup source [ 1.562405] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0007700a0, 0x:ffffffd004073000, irq_no:31 [ 1.576146] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator [ 1.589134] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator [ 1.601819] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller [ 1.609204] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 [ 1.619306] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 [ 1.652885] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 [ 1.662384] hub 1-0:1.0: USB hub found [ 1.667096] hub 1-0:1.0: 1 port detected [ 1.673442] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.680456] sunxi-ohci: OHCI SUNXI driver [ 1.686319] get ohci0-controller wakeup-source is fail. [ 1.692289] sunxi ohci0-controller don't init wakeup source [ 1.698759] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe00076fcd8 [ 1.709320] [sunxi-ohci0]: Not init ohci0 [ 1.714640] get ohci1-controller wakeup-source is fail. [ 1.720690] sunxi ohci1-controller don't init wakeup source [ 1.727269] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe000770468 [ 1.737889] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator [ 1.750901] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator [ 1.763569] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller [ 1.770883] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 [ 1.781408] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 [ 1.858499] hub 2-0:1.0: USB hub found [ 1.863208] hub 2-0:1.0: 1 port detected [ 1.869955] sunxi_gpadc_init,2151, success [ 1.875866] sunxi_gpadc_setup: get channel scan data failed [ 1.883334] input: sunxi-gpadc0 as /devices/virtual/input/input0 [ 1.895405] sunxi-rtc 7090000.rtc: registered as rtc0 [ 1.901265] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T04:02:42 UTC (14562) [ 1.911365] sunxi-rtc 7090000.rtc: sunxi rtc probed [ 1.917931] i2c /dev entries driver [ 1.922493] IR NEC protocol handler initialized [ 1.928116] sun8iw20-pinctrl 2000000.pinctrl: pin PB7 already requested by 2500c00.uart; cannot claim for 7040000.s_cir [ 1.940457] sun8iw20-pinctrl 2000000.pinctrl: pin-39 (7040000.s_cir) status -22 [ 1.948690] sun8iw20-pinctrl 2000000.pinctrl: could not request pin 39 (PB7) from group PB7 on device 2000000.pinctrl [ 1.960835] sunxi-rc-recv 7040000.s_cir: Error applying setting, reverse things back [ 1.969608] sunxi-rc-recv: probe of 7040000.s_cir failed with error -22 [ 1.981799] usbcore: registered new interface driver uvcvideo [ 1.988838] USB Video Class driver (1.1.1) [ 1.993597] sunxi cedar version 1.1 [ 1.997842] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 [ 2.004346] VE: install start!!! [ 2.004346] [ 2.010362] VE: cedar-ve the get irq is 6 [ 2.010362] [ 2.017218] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) [ 2.017218] [ 2.028944] VE: install end!!! [ 2.028944] [ 2.034098] VE: sunxi_cedar_probe [ 2.038489] Bluetooth: HCI UART driver ver 2.3 [ 2.043917] Bluetooth: HCI UART protocol H4 registered [ 2.049743] Bluetooth: HCI UART protocol BCSP registered [ 2.055791] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 [ 2.063350] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 [ 2.069843] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 [ 2.076617] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! [ 2.076617] [ 2.085437] [XR_BT_LPM] bluesleep_probe: uart_index(1) [ 2.096723] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) [ 2.107138] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 [ 2.113483] sunxi-mmc 4020000.sdmmc: No vmmc regulator found [ 2.119860] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found [ 2.126599] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found [ 2.133128] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found [ 2.139687] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found [ 2.146352] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found [ 2.152934] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found [ 2.160077] sunxi-mmc 4020000.sdmmc: Got CD GPIO [ 2.165563] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail [ 2.172475] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.183909] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator [ 2.202921] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.227584] sunxi-mmc 4020000.sdmmc: detmode:gpio irq [ 2.233340] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.246119] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) [ 2.256697] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 [ 2.263024] sunxi-mmc 4021000.sdmmc: No vmmc regulator found [ 2.269466] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found [ 2.276015] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.287717] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found [ 2.294298] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found [ 2.300821] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found [ 2.307629] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found [ 2.314306] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found [ 2.320912] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed [ 2.330097] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.342761] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.354387] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 2.363756] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.375412] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.399922] sunxi-mmc 4021000.sdmmc: detmode:manually by software [ 2.407711] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 2.415499] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 2.422420] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.434840] sunxi_led_probe()1751 - start [ 2.439740] sunxi_get_str_of_property()1597 - failed to get the string of propname led_regulator! [ 2.450066] sunxi_register_led_classdev()1485 - led_classdev start [ 2.458589] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.472453] mmc0: host does not support reading read-only switch, assuming write-enable [ 2.481921] sunxi_led_probe()1847 - finish [ 2.488557] ledtrig-cpu: registered to indicate activity on CPUs [ 2.496828] ashmem: initialized [ 2.500495] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 2.512463] exFAT: Version 1.3.0 [ 2.516119] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.523319] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 2.535036] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.542805] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.550505] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.557360] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.570218] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B [ 2.588877] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 [ 2.588877] [ 2.606464] mmc0: new high speed SDHC card at address 0001 [ 2.614631] mmcblk0: mmc0:0001 3333 3.69 GiB [ 2.619846] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 [ 2.634941] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished [ 2.644853] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 [ 2.651190] sid_rd_ver_reg()254 - ver >= 4, soc ver:5 [ 2.663456] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! [ 2.673623] [SNDCODEC][sunxi_card_init][583]:card init finished [ 2.683254] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok [ 2.695942] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input1 [ 2.709314] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished [ 2.722526] NET: Registered protocol family 10 [ 2.727679] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch [ 2.737647] Segment Routing with IPv6 [ 2.742026] NET: Registered protocol family 17 [ 2.747617] Bluetooth: RFCOMM TTY layer initialized [ 2.753476] Bluetooth: RFCOMM socket layer initialized [ 2.759287] Bluetooth: RFCOMM ver 1.11 [ 2.797946] sunxi-i2c sunxi-i2c0: sunxi-i2c0 supply twi not found, using dummy regulator [ 2.817440] sunxi-i2c sunxi-i2c0: probe success [ 2.824419] sun8iw20-pinctrl 2000000.pinctrl: pin PB7 already requested by 2500c00.uart; cannot claim for 7040000.s_cir [ 2.836820] sun8iw20-pinctrl 2000000.pinctrl: pin-39 (7040000.s_cir) status -22 [ 2.845188] sun8iw20-pinctrl 2000000.pinctrl: could not request pin 39 (PB7) from group PB7 on device 2000000.pinctrl [ 2.857286] sunxi-rc-recv 7040000.s_cir: Error applying setting, reverse things back [ 2.866115] sunxi-rc-recv: probe of 7040000.s_cir failed with error -22 [ 2.879560] clk: Not disabling unused clocks [ 2.884886] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 2.895096] ALSA device list: [ 2.898411] #0: audiocodec [ 2.901685] alloc_fd: slot 0 not NULL! [ 2.906068] cfg80211: failed to load regulatory.db [ 2.920827] VFS: Mounted root (squashfs filesystem) readonly on device 179:5. [ 2.934454] devtmpfs: mounted [ 2.937996] Freeing unused kernel memory: 156K [ 2.943068] This architecture does not have kernel memory protection.
-
回复: 试着用t113的uboot测试mipi屏幕,出现问题,能不能帮帮我
@smiletiger
我也出现一模一样的问题了,同样的D1s板子,同一个固件,淘宝上面买的渣TF卡,有一张卡不正常:
[32]HELLO! BOOT0 is starting! [35]BOOT0 commit : 88480af-dirty [38]set pll start [40]periph0 has been enabled [43]set pll end [44][pmu]: bus read error [47]board init ok [48]ZQ value = 0x30 [50]get_pmu_exist() = -1 [53]ddr_efuse_type: 0xa [55]trefi:7.8ms [57][AUTO DEBUG] single rank and full DQ! [61]ddr_efuse_type: 0xa [63]trefi:7.8ms [65][AUTO DEBUG] rank 0 row = 13 [68][AUTO DEBUG] rank 0 bank = 4 [71][AUTO DEBUG] rank 0 page size = 2 KB [75]DRAM BOOT DRIVE INFO: V0.33 [78]DRAM CLK = 528 MHz [80]DRAM Type = 2 (2:DDR2,3:DDR3) [83]DRAMC read ODT off. [86]DRAM ODT off. [87]ddr_efuse_type: 0xa [90]DRAM SIZE =64 M [92]dram_tpr4:0x0 [94]PLL_DDR_CTRL_REG:0xf8002b00 [97]DRAM_CLK_REG:0xc0000000 [99][TIMING DEBUG] MR2= 0x0 [104]DRAM simple test OK. [106]dram size =64 [108]card no is 0 [109]sdcard 0 line count 4 [112][mmc]: mmc driver ver 2021-04-2 16:45 [121][mmc]: Wrong media type 0x0 [124][mmc]: ***Try SD card 0*** [133][mmc]: HSSDR52/SDR25 4 bit [136][mmc]: 50000000 Hz [138][mmc]: 3763 MB [140][mmc]: ***SD/MMC 0 init OK!!!*** [179]Loading boot-pkg Succeed(index=0). [182]Entry_name = opensbi [186]Entry_name = u-boot [189]Entry_name = dtb [192]mmc not para ▒193]Jump to second Boot. U-Boot 2018.05-g24521d6-dirty (Feb 08 2023 - 22:56:48 +0800) Allwinner Technology [00.203]DRAM: 64 MiB [00.206]Relocation Offset is: 01f27000 [00.210]secure enable bit: 0 [00.213]CPU=720 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.219]flash init start [00.221]workmode = 0,storage type = 1 [00.225][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 [00.230][mmc]: get sdc_type fail and use default host:tm1. [00.237][mmc]: can't find node "mmc0",will add new node [00.242][mmc]: fdt err returned <no error> [00.246][mmc]: Using default timing para [00.249][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.267][mmc]: card_caps:0x3000000a [00.270][mmc]: host_caps:0x3000003f [00.274]sunxi flash init ok [00.276]line:703 init_clocks GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** [00.304]Loading Environment from SUNXI_FLASH... GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** Can't find env partition *** Warning - no device, using default environment Failed (-19) [00.340]out of usb burn from boot: not need burn key cann't get the boot_base from the env [00.348]Item0 (Map) magic is bad [00.351]the secure storage item0 copy0 magic is bad [00.356]Item0 (Map) magic is bad [00.359]the secure storage item0 copy1 magic is bad [00.364]Item0 (Map) magic is bad GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** partno erro : can't find partition private GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** [00.417]update part info GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** [00.443]update bootcmd GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** [00.492]change working_fdt 0x42ae6da0 to 0x42ac6da0 disable nand error: FDT_ERR_BADPATH No reserved memory region found in source FDT [00.527]update dts noncached_alloc(): addr = 0x42b4ba00 noncached_alloc(): addr = 0x42b4ba40 noncached_alloc(): addr = 0x42b4ba80 noncached_alloc(): addr = 0x42b4c2c0 geth_sys_init:634: get node 'gmac0' error geth_sys_init fail! [00.547]Board Net Initialization Failed [00.551]No ethernet found. Hit any key to stop autoboot: 0 ## Error: "distro_bootcmd" not defined => => =>
有一张正常:
[35]HELLO! BOOT0 is starting! [38]BOOT0 commit : 88480af-dirty [41]set pll start [43]periph0 has been enabled [46]set pll end [48][pmu]: bus read error [50]board init ok [52]ZQ value = 0x30 [54]get_pmu_exist() = -1 [56]ddr_efuse_type: 0xa [58]trefi:7.8ms [60][AUTO DEBUG] single rank and full DQ! [64]ddr_efuse_type: 0xa [66]trefi:7.8ms [68][AUTO DEBUG] rank 0 row = 13 [71][AUTO DEBUG] rank 0 bank = 4 [75][AUTO DEBUG] rank 0 page size = 2 KB [78]DRAM BOOT DRIVE INFO: V0.33 [81]DRAM CLK = 528 MHz [83]DRAM Type = 2 (2:DDR2,3:DDR3) [87]DRAMC read ODT off. [89]DRAM ODT off. [91]ddr_efuse_type: 0xa [93]DRAM SIZE =64 M [95]dram_tpr4:0x0 [97]PLL_DDR_CTRL_REG:0xf8002b00 [100]DRAM_CLK_REG:0xc0000000 [102][TIMING DEBUG] MR2= 0x0 [107]DRAM simple test OK. [109]dram size =64 [111]card no is 0 [113]sdcard 0 line count 4 [115][mmc]: mmc driver ver 2021-04-2 16:45 [125][mmc]: Wrong media type 0x0 [127][mmc]: ***Try SD card 0*** [140][mmc]: HSSDR52/SDR25 4 bit [143][mmc]: 50000000 Hz [145][mmc]: 3780 MB [147][mmc]: ***SD/MMC 0 init OK!!!*** [191]Loading boot-pkg Succeed(index=0). [195]Entry_name = opensbi [198]Entry_name = u-boot [202]Entry_name = dtb [204]mmc not para ▒206]Jump to second Boot. U-Boot 2018.05-g24521d6-dirty (Feb 09 2023 - 21:12:54 +0800) Allwinner Technology [00.216]DRAM: 64 MiB [00.218]Relocation Offset is: 01f27000 [00.222]secure enable bit: 0 [00.226]CPU=720 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.232]flash init start [00.234]workmode = 0,storage type = 1 [00.237][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 [00.243][mmc]: get sdc_type fail and use default host:tm1. [00.250][mmc]: can't find node "mmc0",will add new node [00.254][mmc]: fdt err returned <no error> [00.258][mmc]: Using default timing para [00.262][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.282][mmc]: card_caps:0x3000000a [00.285][mmc]: host_caps:0x3000003f [00.290]sunxi flash init ok [00.292]line:703 init_clocks [00.318]Loading Environment from SUNXI_FLASH... OK [00.343]out of usb burn from boot: not need burn key [00.348]Item0 (Map) magic is bad [00.351]the secure storage item0 copy0 magic is bad [00.356]Item0 (Map) magic is bad [00.359]the secure storage item0 copy1 magic is bad [00.363]Item0 (Map) magic is bad partno erro : can't find partition private root_partition is rootfs set root to /dev/mmcblk0p5 [00.380]update part info [00.385]update bootcmd [00.390]change working_fdt 0x42ae6da0 to 0x42ac6da0 disable nand error: FDT_ERR_BADPATH No reserved memory region found in source FDT [00.425]update dts noncached_alloc(): addr = 0x42b4afc0 noncached_alloc(): addr = 0x42b4b000 noncached_alloc(): addr = 0x42b4b040 noncached_alloc(): addr = 0x42b4b880 geth_sys_init:634: get node 'gmac0' error geth_sys_init fail! [00.445]Board Net Initialization Failed [00.448]No ethernet found. Hit any key to stop autoboot: 0 [00.656]no vendor_boot partition is found Android's image name: d1s-whycanpih Detect comp gzip [00.935] Starting kernel ... [00.938][mmc]: MMC Device 2 not found [00.941][mmc]: mmc 2 not find, so not exit ▒** 17 printk messages dropped ** [ 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: 56316K/65536K available (4943K kernel code, 428K rwdata, 1914K rodata, 156K init, 237K bss, 9220K reserved, 0K 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.000009] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000032] riscv_timer_clockevent depends on broadcast, but no broadcast function available [ 0.000437] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.001236] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.001261] pid_max: default: 32768 minimum: 301 [ 0.001480] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.001504] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.003805] ASID allocator initialised with 65536 entries [ 0.004015] rcu: Hierarchical SRCU implementation. [ 0.004826] devtmpfs: initialized [ 0.025392] random: get_random_u32 called from bucket_table_alloc.isra.27+0x10a/0x12c with crng_init=0 [ 0.026850] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.026891] futex hash table entries: 256 (order: 0, 6144 bytes, linear) [ 0.027080] pinctrl core: initialized pinctrl subsystem [ 0.028945] NET: Registered protocol family 16 [ 0.030003] DMA: preallocated 256 KiB pool for atomic allocations [ 0.035896] cpuidle: using governor menu [ 0.145503] rtc_ccu: sunxi ccu init OK [ 0.156066] clock: sunxi ccu init OK [ 0.157489] clock: sunxi ccu init OK [ 0.290983] iommu: Default domain type: Translated [ 0.291915] sunxi iommu: irq = 4 [ 0.295166] SCSI subsystem initialized [ 0.296614] usbcore: registered new interface driver usbfs [ 0.296940] usbcore: registered new interface driver hub [ 0.297252] usbcore: registered new device driver usb [ 0.298245] mc: Linux media interface: v0.10 [ 0.298684] videodev: Linux video capture interface: v2.00 [ 0.304674] Advanced Linux Sound Architecture Driver Initialized. [ 0.306109] Bluetooth: Core ver 2.22 [ 0.306386] NET: Registered protocol family 31 [ 0.306402] Bluetooth: HCI device and connection manager initialized [ 0.306429] Bluetooth: HCI socket layer initialized [ 0.306444] Bluetooth: L2CAP socket layer initialized [ 0.306498] Bluetooth: SCO socket layer initialized [ 0.307200] pwm module init! [ 0.310031] g2d 5410000.g2d: Adding to iommu group 0 [ 0.310996] G2D: rcq version initialized.major:251 [ 0.312811] clocksource: Switched to clocksource riscv_clocksource [ 0.334719] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver [ 0.343333] NET: Registered protocol family 2 [ 0.344718] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.344777] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.344806] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.344824] TCP: Hash tables configured (established 512 bind 512) [ 0.345003] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.345058] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.345364] NET: Registered protocol family 1 [ 0.347805] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator [ 0.348690] spi spi0: spi0 supply spi not found, using dummy regulator [ 0.349244] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE [ 0.349325] sunxi_spi_resource_get()2189 - Failed to get sample mode [ 0.349337] sunxi_spi_resource_get()2194 - Failed to get sample delay [ 0.349349] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 [ 0.349431] sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 [ 0.351018] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 [ 0.356804] workingset: timestamp_bits=62 max_order=14 bucket_order=0 [ 0.392652] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.394012] ntfs: driver 2.1.32 [Flags: R/W]. [ 0.425659] io scheduler mq-deadline registered [ 0.425677] io scheduler kyber registered [ 0.427921] [DISP]disp_module_init [ 0.428947] disp 5000000.disp: Adding to iommu group 0 [ 0.479607] display_fb_request,fb_id:0 [ 0.483653] [DISP] Fb_copy_boot_fb,line:1443: [ 0.483658] no boot_fb0 [ 0.484431] disp_al_manager_apply ouput_type:0 [ 0.484914] [DISP] lcd_clk_config,line:744: [ 0.484931] disp 0, clk: pll(224000000),clk(224000000),dclk(8000000) dsi_rate(224000000) [ 0.484931] clk real:pll(288000000),clk(288000000),dclk(10285714) dsi_rate(0) [ 0.484990] LCD_open_flow line136: 1111111111111111111111111111111111 [ 0.485004] LCD_power_on line158: 1111111111111111111111111111111111 [ 0.486182] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator [ 0.487407] [DISP]disp_module_init finish [ 0.489365] sunxi_sid_init()551 - insmod ok [ 0.490695] pwm-regulator: supplied by regulator-dummy [ 0.494140] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator [ 0.494754] uart uart1: get regulator failed [ 0.494792] uart uart1: uart1 supply uart not found, using dummy regulator [ 0.496189] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI [ 0.497418] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator [ 0.497965] uart uart3: get regulator failed [ 0.498002] uart uart3: uart3 supply uart not found, using dummy regulator [ 0.498689] uart3: ttyS3 at MMIO 0x2500c00 (irq = 21, base_baud = 1500000) is a SUNXI [ 0.498722] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n [ 0.613592] LCD_panel_init line200: 1111111111111111111111111111111111 [ 0.613599] [ST7789V LCD INFO] LINE:0201-->LCD_panel_init: [ 0.613604] [ST7789V LCD INFO] LINE:0202-->LCD_panel_init:init statr! [ 0.613606] ili9327 statr [ 0.613612] lcd_panel_ili9327_init line218: 1111111111111111111111111111111111 [ 0.613617] lcd_panel_ili9327_init line219: 1111111111111111111111111111111111 [ 0.613622] lcd_panel_ili9327_init line220: 1111111111111111111111111111111111 [ 0.613627] [ST7789V LCD INFO] LINE:0222-->lcd_panel_ili9327_init: [ 0.633378] [ST7789V LCD INFO] LINE:0226-->lcd_panel_ili9327_init:reset do! [ 0.633383] ili9327 reset! [ 1.061128] ili9327 init over! [ 1.223203] LCD_bl_open line182: 1111111111111111111111111111111111 [ 1.223210] [ST7789V LCD INFO] LINE:0183-->LCD_bl_open:bl open! [ 1.223212] ili9327 open [ 1.223533] [DISP] disp_device_attached_and_enable,line:233: [ 1.223540] attached ok, mgr0<-->dev0 [ 1.223544] [DISP] disp_device_attached_and_enable,line:236: [ 1.223557] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:0 dvi_hdmi:2, range:2 scan:0 ratio:8 [ 1.287862] printk: console [ttyS3] enabled [ 1.295053] misc dump reg init [ 1.300955] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 [ 1.308725] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed [ 1.316253] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed [ 1.323863] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) [ 1.330380] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. [ 1.337529] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1) [ 1.345388] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1 [ 1.353439] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 [ 1.361550] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled [ 1.369606] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. [ 1.376626] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1) [ 1.384329] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=141 assert=0 [ 1.391969] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator [ 1.404966] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 [ 1.413930] [ADDR_MGT] addr_mgt_probe: success. [ 1.421428] sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 [ 1.429684] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 [ 1.437867] sunxi-spinand-phy: not detect any munufacture from id table [ 1.445517] sunxi-spinand-phy: get spi-nand Model from fdt fail [ 1.452176] sunxi-spinand-phy: get phy info from fdt fail [ 1.458432] sunxi-spinand-phy: not detect munufacture from fdt [ 1.465359] sunxi-spinand-phy: detect munufacture from id table: GD [ 1.472396] sunxi-spinand-phy: get spi-nand Model from fdt fail [ 1.479114] sunxi-spinand-phy: get phy info from fdt fail [ 1.485264] sunxi-spinand-phy: not detect munufacture from fdt [ 1.491820] sunxi-spinand-phy: not match spinand: f1c8f1c8 f1c8f1c8 [ 1.500032] libphy: Fixed MDIO Bus: probed [ 1.505646] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.513263] sunxi-ehci: EHCI SUNXI driver [ 1.518445] get ehci0-controller wakeup-source is fail. [ 1.524641] sunxi ehci0-controller don't init wakeup source [ 1.530928] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe00076f910, 0x:ffffffd00406f000, irq_no:2e [ 1.544618] [sunxi-ehci0]: Not init ehci0 [ 1.549821] get ehci1-controller wakeup-source is fail. [ 1.556114] sunxi ehci1-controller don't init wakeup source [ 1.562405] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0007700a0, 0x:ffffffd004073000, irq_no:31 [ 1.576146] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator [ 1.589134] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator [ 1.601819] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller [ 1.609204] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 [ 1.619306] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 [ 1.652885] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 [ 1.662384] hub 1-0:1.0: USB hub found [ 1.667096] hub 1-0:1.0: 1 port detected [ 1.673442] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.680456] sunxi-ohci: OHCI SUNXI driver [ 1.686319] get ohci0-controller wakeup-source is fail. [ 1.692289] sunxi ohci0-controller don't init wakeup source [ 1.698759] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe00076fcd8 [ 1.709320] [sunxi-ohci0]: Not init ohci0 [ 1.714640] get ohci1-controller wakeup-source is fail. [ 1.720690] sunxi ohci1-controller don't init wakeup source [ 1.727269] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe000770468 [ 1.737889] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator [ 1.750901] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator [ 1.763569] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller [ 1.770883] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 [ 1.781408] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 [ 1.858499] hub 2-0:1.0: USB hub found [ 1.863208] hub 2-0:1.0: 1 port detected [ 1.869955] sunxi_gpadc_init,2151, success [ 1.875866] sunxi_gpadc_setup: get channel scan data failed [ 1.883334] input: sunxi-gpadc0 as /devices/virtual/input/input0 [ 1.895405] sunxi-rtc 7090000.rtc: registered as rtc0 [ 1.901265] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T04:02:42 UTC (14562) [ 1.911365] sunxi-rtc 7090000.rtc: sunxi rtc probed [ 1.917931] i2c /dev entries driver [ 1.922493] IR NEC protocol handler initialized [ 1.928116] sun8iw20-pinctrl 2000000.pinctrl: pin PB7 already requested by 2500c00.uart; cannot claim for 7040000.s_cir [ 1.940457] sun8iw20-pinctrl 2000000.pinctrl: pin-39 (7040000.s_cir) status -22 [ 1.948690] sun8iw20-pinctrl 2000000.pinctrl: could not request pin 39 (PB7) from group PB7 on device 2000000.pinctrl [ 1.960835] sunxi-rc-recv 7040000.s_cir: Error applying setting, reverse things back [ 1.969608] sunxi-rc-recv: probe of 7040000.s_cir failed with error -22 [ 1.981799] usbcore: registered new interface driver uvcvideo [ 1.988838] USB Video Class driver (1.1.1) [ 1.993597] sunxi cedar version 1.1 [ 1.997842] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 [ 2.004346] VE: install start!!! [ 2.004346] [ 2.010362] VE: cedar-ve the get irq is 6 [ 2.010362] [ 2.017218] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) [ 2.017218] [ 2.028944] VE: install end!!! [ 2.028944] [ 2.034098] VE: sunxi_cedar_probe [ 2.038489] Bluetooth: HCI UART driver ver 2.3 [ 2.043917] Bluetooth: HCI UART protocol H4 registered [ 2.049743] Bluetooth: HCI UART protocol BCSP registered [ 2.055791] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 [ 2.063350] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 [ 2.069843] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 [ 2.076617] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! [ 2.076617] [ 2.085437] [XR_BT_LPM] bluesleep_probe: uart_index(1) [ 2.096723] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) [ 2.107138] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 [ 2.113483] sunxi-mmc 4020000.sdmmc: No vmmc regulator found [ 2.119860] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found [ 2.126599] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found [ 2.133128] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found [ 2.139687] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found [ 2.146352] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found [ 2.152934] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found [ 2.160077] sunxi-mmc 4020000.sdmmc: Got CD GPIO [ 2.165563] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail [ 2.172475] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.183909] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator [ 2.202921] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.227584] sunxi-mmc 4020000.sdmmc: detmode:gpio irq [ 2.233340] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.246119] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) [ 2.256697] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 [ 2.263024] sunxi-mmc 4021000.sdmmc: No vmmc regulator found [ 2.269466] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found [ 2.276015] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.287717] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found [ 2.294298] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found [ 2.300821] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found [ 2.307629] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found [ 2.314306] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found [ 2.320912] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed [ 2.330097] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.342761] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.354387] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 2.363756] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.375412] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.399922] sunxi-mmc 4021000.sdmmc: detmode:manually by software [ 2.407711] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 2.415499] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 2.422420] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.434840] sunxi_led_probe()1751 - start [ 2.439740] sunxi_get_str_of_property()1597 - failed to get the string of propname led_regulator! [ 2.450066] sunxi_register_led_classdev()1485 - led_classdev start [ 2.458589] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.472453] mmc0: host does not support reading read-only switch, assuming write-enable [ 2.481921] sunxi_led_probe()1847 - finish [ 2.488557] ledtrig-cpu: registered to indicate activity on CPUs [ 2.496828] ashmem: initialized [ 2.500495] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 2.512463] exFAT: Version 1.3.0 [ 2.516119] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.523319] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 2.535036] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.542805] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.550505] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.557360] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.570218] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B [ 2.588877] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 [ 2.588877] [ 2.606464] mmc0: new high speed SDHC card at address 0001 [ 2.614631] mmcblk0: mmc0:0001 3333 3.69 GiB [ 2.619846] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 [ 2.634941] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished [ 2.644853] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 [ 2.651190] sid_rd_ver_reg()254 - ver >= 4, soc ver:5 [ 2.663456] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! [ 2.673623] [SNDCODEC][sunxi_card_init][583]:card init finished [ 2.683254] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok [ 2.695942] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input1 [ 2.709314] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished [ 2.722526] NET: Registered protocol family 10 [ 2.727679] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch [ 2.737647] Segment Routing with IPv6 [ 2.742026] NET: Registered protocol family 17 [ 2.747617] Bluetooth: RFCOMM TTY layer initialized [ 2.753476] Bluetooth: RFCOMM socket layer initialized [ 2.759287] Bluetooth: RFCOMM ver 1.11 [ 2.797946] sunxi-i2c sunxi-i2c0: sunxi-i2c0 supply twi not found, using dummy regulator [ 2.817440] sunxi-i2c sunxi-i2c0: probe success [ 2.824419] sun8iw20-pinctrl 2000000.pinctrl: pin PB7 already requested by 2500c00.uart; cannot claim for 7040000.s_cir [ 2.836820] sun8iw20-pinctrl 2000000.pinctrl: pin-39 (7040000.s_cir) status -22 [ 2.845188] sun8iw20-pinctrl 2000000.pinctrl: could not request pin 39 (PB7) from group PB7 on device 2000000.pinctrl [ 2.857286] sunxi-rc-recv 7040000.s_cir: Error applying setting, reverse things back [ 2.866115] sunxi-rc-recv: probe of 7040000.s_cir failed with error -22 [ 2.879560] clk: Not disabling unused clocks [ 2.884886] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 2.895096] ALSA device list: [ 2.898411] #0: audiocodec [ 2.901685] alloc_fd: slot 0 not NULL! [ 2.906068] cfg80211: failed to load regulatory.db [ 2.920827] VFS: Mounted root (squashfs filesystem) readonly on device 179:5. [ 2.934454] devtmpfs: mounted [ 2.937996] Freeing unused kernel memory: 156K [ 2.943068] This architecture does not have kernel memory protection.
-
回复: v853 sdk版本1.0编译gdb工具报错
如果确实编译不过,试一试曲线救锅,用buildroot,选外部工具链(extern toolchain),用V853 SDK里面的gcc,编译出来复制到tina里面即可.
-
回复: [求助]寻XR829 SDK包
@apollo5520
那你到百问网韦老师的代码仓库里面找找,他们移植到了mainline linux,应该已经修改过了,或许你再复制过去就不用修改了. -
回复: [求助]寻XR829 SDK包
lichee/linux-5.4/drivers/net/wireless/xr829
把这个目录复制过去编译成ko文件
在设备树里面启用对应的sdc,先手动拉高两个wifi使能脚,一般就能用了.
-
回复: t113s3_mq_r电容触摸
参考哪吒的SDK:
board.dts配置:
&twi2 { clock-frequency = <400000>; pinctrl-0 = <&twi2_pins_a>; pinctrl-1 = <&twi2_pins_b>; pinctrl-names = "default", "sleep"; dmas = <&dma 45>, <&dma 45>; dma-names = "tx", "rx"; status = "okay"; ctp@14 { compatible = "allwinner,goodix"; device_type = "ctp"; reg = <0x14>; status = "okay"; ctp_name = "gt9xxnew_ts"; ctp_twi_id = <0x2>; ctp_twi_addr = <0x14>; ctp_screen_max_x = <0x320>; ctp_screen_max_y = <0x500>; ctp_revert_x_flag = <0x0>; ctp_revert_y_flag = <0x1>; ctp_exchange_x_y_flag = <0x0>; ctp_int_port = <&pio PG 14 GPIO_ACTIVE_HIGH>; ctp_wakeup = <&pio PG 15 GPIO_ACTIVE_HIGH>; }; };
驱动开启以下选项:
CONFIG_TOUCHSCREEN_GT9XXNEW_TS CONFIG_TOUCHSCREEN_GT9XXNEWDUP_TS
-
回复: D1H开机启动项拉不起来
@lgkgkfg 在 D1H开机启动项拉不起来 中说:
start_service() {
/lgkgkfg/gui &&
[ -e /bin/setusbconfig ] && {
/bin/setusbconfig adb
}
[ -d /sys/kernel/config/usb_gadget ] || {
mount -t configfs none /sys/kernel/config
mkdir /sys/kernel/config/usb_gadget/g1
echo "0x18d1" > /sys/kernel/config/usb_gadget/g1/idVendor
echo "0xD002" > /sys/kernel/config/usb_gadget/g1/idProduct
mkdir /sys/kernel/config/usb_gadget/g1/strings/0x409
echo "Allwinner" > /sys/kernel/config/usb_gadget/g1/strings/0x409/manufacturer
echo "Tina" > /sys/kernel/config/usb_gadget/g1/strings/0x409/product
}插到这个位置
-
回复: D1H开机启动项拉不起来
@lgkgkfg 在 D1H开机启动项拉不起来 中说:
/etc/init.d/
是不是有一个 /etc/init.d/adbd 文件?
找到这个文件, 把需要启动的命令行写到 start_service( ) 里面试一试
-
回复: 为什么D1的buildroot编译出来内存只有400多M
@linstcl 在 为什么D1的buildroot编译出来内存只有400多M 中说:
[155]DRAM SIZE =1024 M
boot0 识别正确
U-Boot 2021.10 (Feb 02 2023 - 04:26:07 +0800)
DRAM: 1 GiBuboot识别正确
[ 0.000000] Memory: 497720K/522240K available (5678K kernel code, 4861K rwdata, 2048K rodata, 2092K init, 266K bss, 24520K reserved, 0K cma-reserved)
Linux识别不对
楼主你自己找一下原因, mainline linux 我没有用过.
-
回复: v3s芯片,启动时有这样提示是什么原因
@chinajav
板子电源有问题, 把CPU和DDR频率都降下来:这次做了5片全志Allwinner V3s板子,手贴一片正常,机贴4片均不正常,路过的大神帮我分析分析。 -
回复: D1 SD卡启动失败,概率100%
@yixintai 在 D1 SD卡启动失败,概率100% 中说:
[87]HELLO! BOOT0 is starting! [90]BOOT0 commit : 88480af [92]set pll start [94]fix vccio detect value:0xc0 [97]periph0 has been enabled [100]set pll end [101][pmu]: bus read error [104]board init ok [106]get_pmu_exist() = -1 [108]ddr_efuse_type: 0x0 [111]trefi:7.8ms [113][AUTO DEBUG] two rank and full DQ! [117]ddr_efuse_type: 0x0 [119]trefi:7.8ms [122][AUTO DEBUG] rank 0 row = 15 [125][AUTO DEBUG] rank 0 bank = 8 [128][AUTO DEBUG] rank 0 page size = 2 KB [132][AUTO DEBUG] rank 1 row = 15 [135][AUTO DEBUG] rank 1 bank = 8 [138][AUTO DEBUG] rank 1 page size = 2 KB [142]rank1 config same as rank0 [145]DRAM BOOT DRIVE INFO: V0.33 [148]DRAM CLK = 480 MHz [150]DRAM Type = 3 (2:DDR2,3:DDR3) [153]DRAMC ZQ value: 0x7b7bfb [156]DRAM ODT value: 0x42. [159]ddr_efuse_type: 0x0 [162]DRAM SIZE =1024 M [164]dram_tpr4:0x0 [166]PLL_DDR_CTRL_REG:0xf8002700 [169]DRAM_CLK_REG:0xc0000000 [171][TIMING DEBUG] MR2= 0x18 [176]DRAM simple test OK. [179]dram size =1024 [181]card no is 0 [182]sdcard 0 line count 4 [185][mmc]: mmc driver ver 2021-04-2 16:45 [194][mmc]: Wrong media type 0x0 [197][mmc]: ***Try SD card 0*** [210][mmc]: HSSDR52/SDR25 4 bit [212][mmc]: 50000000 Hz [215][mmc]: 1876 MB [217][mmc]: ***SD/MMC 0 init OK!!!*** [276]Loading boot-pkg Succeed(index=0). [279]Entry_name = opensbi [282]Entry_name = u-boot [286]Entry_name = dtb [289]mmc not para [290]Jump to second Boot. OpenSBI auto-t113-linux-V0.8-3-ge39e937 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : T-HEAD Xuantie Platform Platform HART Features : RV64ACDFIMSUVX Platform Max HARTs : 1 Current Hart : 0 Firmware Base : 0x41fc0400 Firmware Size : 75 KB Runtime SBI Version : 0.2 MIDELEG : 0x0000000000000222 MEDELEG : 0x000000000000b1ff PMP0 : 0x0000000041fc0000-0x0000000041fdffff (A) PMP1 : 0x0000000040000000-0x000000007fffffff (A,R,W,X) PMP2 : 0x0000000080000000-0x00000000bfffffff (A,R,W,X) PMP3 : 0x0000000000020000-0x0000000000027fff (A,▒[00.371][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00 [00.377][mmc]: get sdc_type fail and use default host:tm1. [00.383][mmc]: can't find node "mmc0",will add new node [00.388][mmc]: fdt err returned <no error> [00.392][mmc]: Using default timing para [00.395][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.416][mmc]: card_caps:0x3000000a [00.419][mmc]: host_caps:0x3000003f [00.464]set disp.dev2_output_type fail. using defval=0 [00.491]set disp.fb0_rot_used fail. using defval=0 [00.495]set disp.fb0_rot_degree fail. using defval=0 [00.685]out of usb burn from boot: not need burn key [00.695]Item0 (Map) magic is bad [00.698]the secure storage item0 copy0 magic is bad [00.708]Item0 (Map) magic is bad [00.711]the secure storage item0 copy1 magic is bad [00.716]Item0 (Map) magic is bad [01.563]The storage not support sample function [01.620]dts_get_dsp_memory: no /reserved-memory/dsp0 in fdt [01.625]dts_get_dsp_memory fail [01.830]no vendor_boot partition is found [02.043] Starting kernel ... [02.046][mmc]: MMC Device 2 not found [02.049][mmc]: mmc 2 not find, so not exit [ 0.212672] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed [ 0.220084] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed [ 0.301259] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 0.309005] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 0.321264] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 0.328932] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 0.336517] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 0.344171] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! formating /dev/by-name/UDISK to ext4 /etc/preinit: line 1: mkfs.ext4: not found [ 7.286489] block: extroot: cannot find device UDISK Please press Enter to activate this console. [ 9.408310] configfs-gadget 4100000.udc-controller: failed to start g1: -19 [ 12.891002] ======== XRADIO WIFI OPEN ======== [ 12.897389] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 [ 12.904585] [XRADIO] Allocated hw_priv @ (____ptrval____) [ 13.246950] [XRADIO] Detect SDIO card 1 [ 13.283677] [SBUS] XRadio Device:sdio clk=50000000 [ 13.291391] [XRADIO] XRADIO_HW_REV 1.0 detected. [ 13.397745] [XRADIO] xradio_update_dpllctrl: DPLL_CTRL Sync=0x00c00000. [ 13.483530] [XRADIO] Bootloader complete [ 13.676308] [XRADIO] Firmware completed. [ 13.682888] [WSM] Firmware Label:XR_C09.08.52.73_DBG_02.122 2GHZ HT40 May 18 2021 13:36:09 [ 13.700485] [XRADIO] Firmware Startup Done. [ 13.705712] [XRADIO_WRN] enable Multi-Rx! kmodloader done [ 14.564957] ieee80211_do_open: vif_type=2, p2p=0, ch=3, addr=8c:3b:fb:a2:39:ce [ 14.600626] [STA] !!!xradio_vif_setup: id=0, type=2, p2p=0, addr=8c:3b:fb:a2:39:ce [ 14.621872] [AP_WRN] BSS_CHANGED_ASSOC but driver is unjoined. BusyBox v1.27.2 () built-in shell (ash) _____ _ __ _ |_ _||_| ___ _ _ | | |_| ___ _ _ _ _ | | _ | || | | |__ | || || | ||_'_| | | | || | || _ | |_____||_||_|_||___||_,_| |_| |_||_|_||_|_| Tina is Based on OpenWrt! ---------------------------------------------- Tina Linux (Neptune, 61CC0487) ---------------------------------------------- root@TinaLinux:/# root@TinaLinux:/#
我这里一切正常.
-
回复: A64求助大佬帮看看日志,进不去,
@abedong 在 A64求助大佬帮看看日志,进不去, 中说:
try card 2
[mmc]: mmc driver ver 2015-12-07 18:31:00
[mmc]: get sdc_ex_dly_used 2, use auto tuning sdly
[mmc]: current is product mode, it will tune sdly later
SUNXI SD/MMC: 2
[mmc]: start mmc_calibrate_delay_unit, don't access device...
[mmc]: delay chain cal done, sample: 200(ps)
[mmc]: delay chain cal done, ds: 200(ps)
[mmc]: Try SD card 2
[mmc]: mmc send if cond failed
[mmc]: send app cmd failed
[mmc]: Try MMC card 2
[mmc]: host caps: 0x6f
[mmc]: MID 000015 PSN 84708f1d
[mmc]: PNM 8GME4R -- 0x38-47-4d-45-34
[mmc]: PRV 0.1
[mmc]: MDT m-1 y-2018
[mmc]: MMC v5.1
[mmc]: speed mode : HSSDR52/SDR25
[mmc]: clock : 50000000 Hz
[mmc]: bus_width : 8 bit
[mmc]: user capacity : 7456 MB
[mmc]: boot capacity : 4096 KB
[mmc]: rpmb capacity : 512 KB
[mmc]: SD/MMC 2 init OK!!!
[mmc]: EOL Info(Rev blks): Urgent!!
[mmc]: Wear out(type A): Exceeded its max estimated life time
[mmc]: Wear out(type B): Exceeded its max estimated life time
[mmc]: gen_tuning_blk_bus8: total blk 10
[mmc]: gen_tuning_blk_bus4: total blk 6
[mmc]: write_tuning_try_freq: write ok
[mmc]: Pattern compare ok
[mmc]: Write tuning pattern ok
[mmc]: ================== start tuning HSSDR52_SDR25...
[mmc]: already at HSSDR52_SDR25 mode
[mmc]: skip current freq 400000
[mmc]: skip current freq 25000000
[mmc]: start tuning freq: 2-50000000
[mmc]: s0-255 e0-0 s1-0 e1-0
[mmc]: s0-255 e0-0 s1-0 e1-0
[mmc]: s0-0 e0-4 s1-255 e1-0
[mmc]: ================== start tuning HSDDR52_DDR50...
[mmc]: already at HSSDR52_SDR25 mode
[mmc]: mmc switch failed
[mmc]: mmc swtich status error
[mmc]: mmc switch bus width failed
[mmc]: switch bus width fail
[mmc]: switch to HSDDR52/DDR50 fail
[mmc]: tuning fail at HSDDR52_DDR50
[mmc]: already at HSSDR52_SDR25 mode
[mmc]: mmc switch failed
[mmc]: mmc swtich status error
[mmc]: mmc switch bus width failed
[mmc]: switch bus width fail
[mmc]: switch back to HSSDR52_SDR25 8bit fail
[mmc]: bus tuning fail, err -6
[mmc]: mmc_init: mmc init fail, err -6检查eMMC
-
回复: 麻烦大佬们指点一下,日志中文件系统报错是怎么回事,怎么解决
@jinxiangwzh 在 麻烦大佬们指点一下,日志中文件系统报错是怎么回事,怎么解决 中说:
Filesystem too small for a journal
可能是 rootfs_data 这个分区太小了。
-
回复: Tina SDK 根路径下面的dl应用包的编译过程
-
没有区别,openwrt内置的开源软件用tar解压到编译目录,allwinner 软件代码一般用cp命令复制到编译目录
-
make menuconfig 配置开启关闭,编译过程看具体软件包里面的Makefile等相关文件
-
-
回复: D1 SD卡启动失败,概率100%
@yixintai 在 D1 SD卡启动失败,概率100% 中说:
[ 0.294604] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[ 0.302321] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[ 0.314643] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 0.322283] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 0.329918] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 0.337553] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!这张卡烧官方固件正常吗?
-
回复: F133挂载点错误
sun8iw20-pinctrl 2000000.pinctrl: pin PF2 already requested by 2500000.uart; cannot claim for 4020000.sdmmc
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
sun8iw20-pinctrl 2000000.pinctrl: pin-162 (4020000.sdmmc) status -22
sun8iw20-pinctrl 2000000.pinctrl: could not request pin 162 (PF2) from group PF2 on device 2000000.pinctrlLinux的board.dts 里面看下是不是PF2被别的外设占用了,如果是 uart0,那把 status属性改为disabled
-
回复: Tina adb调试
@wyljkl
刚刚我也出现这个问题,发现 adb_socketpair() 无法执行,检查发现内核里面把CONFIG_NET选项屏蔽了,把这个选购开起来就正常了. -
回复: Tina adb调试
@wyljkl 在 Tina adb调试 中说:
root@TinaLinux:/# adbd
init adb main
[adbd D]qemu_pipe_open: Could not open /dev/qemu_pipe: No such file or directory[adbd D]Handling main()
Handling main()
[adbd D]Warning: ADB_EXTERNAL_STORAGE is not set. Leaving EXTERNAL_STORAGE unchanged.
cannot bind 'tcp:5037'执行 /etc/init.d/adbd start 是不是这样:
root@TinaLinux:/# /etc/init.d/adbd start root@TinaLinux:/# error: Function not implemented: cannot open transport registration socketpair
-
回复: F1C200s类似正点原子驱动开发指南的资料?
这个代码风格和正点原子接近: https://item.taobao.com/item.htm?id=589639202997 (没有PY关系, 三思再下手)
-
回复: 编译编译 Tina Linux失败
@cunjiang 在 编译编译 Tina Linux失败 中说:
configure: error: you should not run configure as root (set FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check)
不建议用 root 用户编译.
-
回复: 关于Maix-II-Dock(v831)的一些问题
在D1的tina上整上overlayfs
https://bbs.aw-ol.com/topic/1000/share/1 -
回复: 关于Maix-II-Dock(v831)的一些问题
[ 3.010332] EXT4-fs warning (device mmcblk0p3): ext4_clear_journal_err:4767: Filesystem error recorded from previous mount: IO failure [ 3.024011] EXT4-fs warning (device mmcblk0p3): ext4_clear_journal_err:4768: Marking fs in need of filesystem check. [ 3.063979] EXT4-fs (mmcblk0p3): recovery complete [ 3.076097] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null) [ 3.085300] VFS: Mounted root (ext4 filesystem) readonly on device 179:3. [ 3.093196] Freeing unused kernel memory: 140K [ 3.098223] This architecture does not have kernel memory protection. [ 3.208242] EXT4-fs (mmcblk0p3): warning: mounting fs with errors, running e2fsck is recommended [ 3.228256] EXT4-fs error (device mmcblk0p3): ext4_has_uninit_itable:3049: comm mount: Inode table for bg 0 marked as needing zeroing [ 3.251344] Aborting journal on device mmcblk0p3-8. [ 3.266356] EXT4-fs (mmcblk0p3): Remounting filesystem read-only [ 3.273151] EXT4-fs (mmcblk0p3): re-mounted. Opts: data=ordered [ 3.290857] EXT4-fs error (device mmcblk0p3): ext4_journal_check_start:56: Detected aborted journal
Maix-II-Dock的v831镜像如何挂载 /dev/root 为可读写模式
https://bbs.aw-ol.com/topic/1215/share/6