因为用户有贴牌需求,请问有没有可以单独更新logo图片的办法
wjp2547532 发布的帖子
-
T113-S3 CAN调试问题
https://bbs.aw-ol.com/topic/1926/t113-s3-can-linux-下已调通/12?_=1692855551540,按照帖子里的方法进行了修改,但是在执行“ifconfig can0 up”时提示
查了一下说是要先设置can速率,用“ip link set can0 up type can bitrate 125000”设置提示
应该是ip命令不支持,下载最新iproute2源码交叉编译,提示了一堆错误
这个应该怎么改呀;网上查了一下可以用另一种方式设置波特率:“echo 250000 > /sys/class/net/can0/can_bittiming/bitrate” ,然而发现我的这个路径下并没有这个文件。。。。。。。。。,
现在搞不懂究竟哪里有问题,有大佬了解么? -
回复: 请问下,T113-S3TinaLinux,如何新增文件到根文件系统中
@nlj_moon 如果提示的错误是缺少依赖库的话可以尝试在package/busybox-init-base-files/Makefile中添加
引号中改成你缺少的库名字就行 -
回复: t113 tina linux 内核开机logo不显示
@zh834773979 解决了,tina的logo流程跟标准流程不太一样,首先uboot的设备树中LCD和DISP相关配置要正确,然后在lichee/brandy-2.0/u-boot-2018/configs/sun8iw20p1_uart3_defconfig配置文件中打开下面几个配置 应该就可以了
-
回复: T113-S3 SD卡启动问题
@whycanservice2 自制的。为什么插上SD卡就会重启呢?还有就是为什么我插上一张全新的SD卡然后上电,可以正常从spi-nand启动,SD卡也可以正常挂载;但是我插上另一张曾制作成量产卡或启动卡,但是又通过DiskGenius.exe这个工具格式化后的SD卡后上电,好像还是要从SD卡启动。难道是格式化的不完全么?下面是启动信息:
[141]HELLO! BOOT0 is starting! [143]BOOT0 commit : 88480af-dirty [147]set pll start [153]periph0 has been enabled [156]set pll end [157][pmu]: bus read error [160]board init ok [162]ZQ value = 0x2e [164]get_pmu_exist() = -1 [166]ddr_efuse_type: 0xa [169]trefi:7.8ms [171][AUTO DEBUG] single rank and full DQ! [175]ddr_efuse_type: 0xa [178]trefi:7.8ms [180][AUTO DEBUG] rank 0 row = 13 [183][AUTO DEBUG] rank 0 bank = 8 [186][AUTO DEBUG] rank 0 page size = 2 KB [190]DRAM BOOT DRIVE INFO: V0.33 [194]DRAM CLK = 936 MHz [196]DRAM Type = 3 (2:DDR2,3:DDR3) [199]DRAMC read ODT off. [202]DRAM ODT value: 0x42. [204]ddr_efuse_type: 0xa [207]DRAM SIZE =128 M [209]dram_tpr4:0x0 [211]PLL_DDR_CTRL_REG:0xf8004d00 [214]DRAM_CLK_REG:0xc0000000 [217][TIMING DEBUG] MR2= 0x20 [225]DRAM simple test OK. [227]rtc standby flag is 0x0, super standby flag is 0x0 [232]dram size =128 [235]card no is 0 [237]sdcard 0 line count 4 [239][mmc]: mmc driver ver 2021-05-21 14:47 [248][mmc]: Wrong media type 0x0 [251][mmc]: ***Try SD card 0*** [276][mmc]: HSSDR52/SDR25 4 bit [279][mmc]: 50000000 Hz [281][mmc]: 3781 MB [283][mmc]: ***SD/MMC 0 init OK!!!*** [369]Loading boot-pkg Succeed(index=0). [373]Entry_name = u-boot [379]Entry_name = optee [383]Entry_name = dtb [386]mmc not para [388]Jump to second Boot. M/TC: OP-TEE version: 6aef7bb2-dirty (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Fri Jul 23 09:25:11 UTC 2021 arm U-Boot 2018.07-ge987def-dirty (Jul 21 2023 - 11:08:46 +0800) Allwinner Technology [00.440]CPU: Allwinner Family [00.443]Model: sun8iw20 I2C: FDT ERROR:fdt_set_all_pin:[twi0]-->FDT_ERR_BADPATH FDT ERROR:fdt_set_all_pin:[twi1]-->FDT_ERR_BADPATH ready [00.464]optee version: major:3 minor:7 [00.468]DRAM: 128 MiB [00.471]Relocation Offset is: 04ecb000 [00.495]secure enable bit: 0 [00.498]smc_tee_inform_fdt failed with: ffff000a [00.503]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.509]gic: sec monitor mode sunxi flash map init [00.514]flash init start [00.516]workmode = 17,storage type = 1 try card 2 set card number 2 get card number 2 [00.524][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00 [00.531][mmc]: Is not Boot mode! [00.533][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.545][mmc]: ************Try SD card 2************ [00.550][mmc]: mmc 2 cmd timeout 100 status 100 [00.554][mmc]: smc 2 err, cmd 8, RTO [00.557][mmc]: mmc 2 close bus gating and reset [00.562][mmc]: mmc 2 cmd timeout 100 status 100 [00.566][mmc]: smc 2 err, cmd 55, RTO [00.570][mmc]: mmc 2 close bus gating and reset [00.574][mmc]: ************Try MMC card 2************ [00.583][mmc]: mmc 2 cmd timeout 100 status 100 [00.587][mmc]: smc 2 err, cmd 1, RTO [00.591][mmc]: mmc 2 close bus gating and reset [00.595][mmc]: Card did not respond to voltage select! [00.600][mmc]: ************SD/MMC 2 init error!************ [00.605][mmc]: mmc init product failed MMC init failed try emmc fail [00.612]sunxi-spinand: AW SPINand MTD Layer Version: 1.8 20220106 [00.617]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.11 20211217 [00.625]sunxi-spinand-phy: request spi0 gpio ok [00.629]sunxi-spinand-phy: request general tx dma channel ok! [00.635]sunxi-spinand-phy: request general rx dma channel ok! [00.640]sunxi-spinand-phy: set spic0 clk to 20 Mhz [00.645]sunxi-spinand-phy: init spic0 clk ok [00.649]sunxi-spinand-phy: detect munufacture from id table: Winbond [00.655]sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff [00.660]sunxi-spinand-phy: ========== arch info ========== [00.666]sunxi-spinand-phy: Model: W25N01GVZEIG [00.671]sunxi-spinand-phy: Munufacture: Winbond [00.676]sunxi-spinand-phy: DieCntPerChip: 1 [00.680]sunxi-spinand-phy: BlkCntPerDie: 1024 [00.685]sunxi-spinand-phy: PageCntPerBlk: 64 [00.690]sunxi-spinand-phy: SectCntPerPage: 4 [00.694]sunxi-spinand-phy: OobSizePerPage: 64 [00.698]sunxi-spinand-phy: BadBlockFlag: 0x0 [00.703]sunxi-spinand-phy: OperationOpt: 0x7 [00.708]sunxi-spinand-phy: MaxEraseTimes: 65000 [00.712]sunxi-spinand-phy: EccFlag: 0x0 [00.717]sunxi-spinand-phy: EccType: 2 [00.721]sunxi-spinand-phy: EccProtectedType: 3 [00.726]sunxi-spinand-phy: ======================================== [00.732]sunxi-spinand-phy: [00.734]sunxi-spinand-phy: ========== physical info ========== [00.740]sunxi-spinand-phy: TotalSize: 128 M [00.744]sunxi-spinand-phy: SectorSize: 512 B [00.748]sunxi-spinand-phy: PageSize: 2 K [00.752]sunxi-spinand-phy: BlockSize: 128 K [00.756]sunxi-spinand-phy: OOBSize: 64 B [00.760]sunxi-spinand-phy: ======================================== [00.766]sunxi-spinand-phy: [00.769]sunxi-spinand-phy: ========== logical info ========== [00.774]sunxi-spinand-phy: TotalSize: 128 M [00.779]sunxi-spinand-phy: SectorSize: 512 B [00.783]sunxi-spinand-phy: PageSize: 4 K [00.787]sunxi-spinand-phy: BlockSize: 256 K [00.791]sunxi-spinand-phy: OOBSize: 128 B [00.795]sunxi-spinand-phy: ======================================== [00.801]sunxi-spinand-phy: set spic0 clk to 100 Mhz [00.806]sunxi-spinand-phy: block lock register: 0x00 [00.810]sunxi-spinand-phy: feature register: 0x19 [00.815]sunxi-spinand-phy: sunxi physic nand init end [00.820][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00 [00.825][mmc]: get sdc_type fail and use default host:tm1. [00.831][mmc]: can't find node "mmc0",will add new node [00.836][mmc]: fdt err returned <no error> [00.840][mmc]: Using default timing para [00.843][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.875][mmc]: card_caps:0x3000000a [00.879][mmc]: host_caps:0x3000003f [00.884]line:703 init_clocks [00.887]init_clocks:finish [00.889]drv_disp_init [00.896]get flash lcd idx 0 fdt get node offset faill: hdmi ****************** drv_disp_init ***************** lcd_init [00.908]drv_disp_init finish [00.911]boot_gui_init:start [00.914]set disp.dev2_output_type fail. using defval=0 [00.919]disp 0, clk: pll(372000000),clk(372000000),dclk(31000000) dsi_rate(150000000) clk real:pll(372000000),clk(372000000),dclk(93000000) dsi_rate(150000000) [00.954]switch device: sel=0, type=1, mode=4, format=0, bits=0, eotf=4, cs=260 [00.961]set disp.fb0_rot_used fail. using defval=0 [01.128]set disp.fb0_rot_degree fail. using defval=0 [01.134]boot_gui_init:finish [01.136]Loading Environment from SUNXI_FLASH... OK [01.141]try to burn key [01.143]out of usb burn from boot: not need burn key Hit any key to stop autoboot: 0 sunxi work mode=0x11 run card sprite [01.155]try sprite_led_gpio config [01.158]sprite_led_gpio start [01.161]sunxi sprite begin firmware name <NULL> img start = 0x93b0 try to read mmc start 37808 read mmc ok sunxi sprite error: iamge magic is bad sunxi sprite firmware probe fail sprite_test - do a sprite test Usage: sprite_test N[01.187]pwm device hdl is NULL [01.190]LCD open finish ULL =>
-
T113-S3 SD卡启动问题
程序烧录到SPI-NAND中,不插SD卡时可以正常从nand启动,但是一插上SD卡就会重启,并从SD卡启动,现在想让他插着SD卡时也从SPI-NAND启动,应该修改哪里,有大佬知道么
-
回复: T113:想在内核阶段显示logo,在uboot阶段不显示logo
@whycan bootlogo.bmp旋转90度后,在uboot阶段,可以正常,但是在内核阶段因为开了g2d,又会被旋转吧
-
T113:想在内核阶段显示logo,在uboot阶段不显示logo
因为我的屏幕需要旋转90度,但是uboot阶段没有g2d驱动,所以想关闭uboot的logo显示,在内核中显示logo,但是sunxi_fb驱动好像没有采用内核原本的logo显示流程,具体应该怎么搞啊,有大佬了解么
-
回复: T113-s3 mipi接口使用问题
@whycan 哦哦,没说明白,用来传输数据的,我现在用的是DSI-D0P,DSI-D0N,DSI-D1P,DSI-D1N,想改为DSI-D2P,DSI-D2N,DSI-D3P,DSI-D3N,不知道是否可行
-
回复: t113 tina linux 内核开机logo不显示
开机log
root@TinaLinux:/# [29]HELLO! BOOT0 is starting! [32]BOOT0 commit : 88480af-dirty [35]set pll start [37]fix vccio detect value:0xc0 [44]periph0 has been enabled [47]set pll end [48][pmu]: bus read error [51]board init ok [53]ZQ value = 0x2f [55]get_pmu_exist() = -1 [57]DRAM BOOT DRIVE INFO: V0.33 [60]DRAM CLK = 936 MHz [62]DRAM Type = 3 (2:DDR2,3:DDR3) [65]DRAMC read ODT off. [68]DRAM ODT value: 0x42. [70]ddr_efuse_type: 0xa [73]DRAM SIZE =128 M [75]dram_tpr4:0x0 [77]PLL_DDR_CTRL_REG:0xf8004d00 [80]DRAM_CLK_REG:0xc0000000 [83][TIMING DEBUG] MR2= 0x20 [90]DRAM simple test OK. [92]rtc standby flag is 0x0, super standby flag is 0x0 [97]dram size =128 [100]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 32 [105]block from 8 to 32 [210]Check is correct. [212]dma 0x29c0c int is not used yet [215]dma 0x29c0c int is free, you do not need to free it again [221]Entry_name = u-boot [228]Entry_name = optee [231]Entry_name = dtb [234]Jump to second Boot. M/TC: OP-TEE version: 6aef7bb2-dirty (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Fri Jul 23 09:25:11 UTC 2021 arm U-Boot 2018.07-ge987def-dirty (May 11 2023 - 16:21:04 +0800) Allwinner Technology [00.288]CPU: Allwinner Family [00.291]Model: sun8iw20 I2C: FDT ERROR:fdt_set_all_pin:[twi0]-->FDT_ERR_BADPATH FDT ERROR:fdt_set_all_pin:[twi1]-->FDT_ERR_BADPATH ready [00.312]DRAM: 128 MiB [00.315]Relocation Offset is: 04ecf000 [00.339]secure enable bit: 0 [00.341]smc_tee_inform_fdt failed with: ffff000a [00.347]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.353]gic: sec monitor mode sunxi flash map init [00.358]flash init start [00.360]workmode = 0,storage type = 0 device nand0 <nand>, # parts = 4 #: name size offset mask_flags 0: boot0 0x00100000 0x00000000 1 1: uboot 0x00300000 0x00100000 1 2: secure_storage 0x00100000 0x00400000 1 3: sys 0x07b00000 0x00500000 0 active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000 defaults: mtdids : nand0=nand mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys) [00.477]ubi0: attaching mtd4 [00.584]ubi0: scanning is finished [00.590]ubi0: attached mtd4 (name "sys", size 123 MiB) [00.595]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes [00.601]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048 [00.607]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [00.613]ubi0: good PEBs: 491, bad PEBs: 1, corrupted PEBs: 0 [00.619]ubi0: user volume: 9, internal volumes: 1, max. volumes count: 128 [00.625]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0 [00.633]ubi0: available PEBs: 0, total reserved PEBs: 491, PEBs reserved for bad PEB handling: 19 [00.642]sunxi flash init ok [00.644]line:703 init_clocks [00.647]drv_disp_init fdt get node offset faill: hdmi [00.659]drv_disp_init finish [00.760]Loading Environment from SUNXI_FLASH... OK [00.782]Item0 (Map) magic is bad secure storage read widevine fail [00.787]secure storage read widevine fail with:-1 secure storage read ec_key fail [00.795]secure storage read ec_key fail with:-1 secure storage read ec_cert1 fail [00.802]secure storage read ec_cert1 fail with:-1 secure storage read ec_cert2 fail [00.809]secure storage read ec_cert2 fail with:-1 secure storage read ec_cert3 fail [00.817]secure storage read ec_cert3 fail with:-1 secure storage read rsa_key fail [00.824]secure storage read rsa_key fail with:-1 secure storage read rsa_cert1 fail [00.832]secure storage read rsa_cert1 fail with:-1 secure storage read rsa_cert2 fail [00.839]secure storage read rsa_cert2 fail with:-1 secure storage read rsa_cert3 fail [00.847]secure storage read rsa_cert3 fail with:-1 [00.852]out of usb burn from boot: not need burn key [00.867]update bootcmd [00.880]change working_fdt 0x43e8ee70 to 0x43e6ee70 [00.895]update dts Hit any key to stop autoboot: 0 [04.126]no vendor_boot partition is found Android's image name: t113-hdp1w [04.137]Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.4.61 (root@wjp) (arm-openwrt-linux-muslgnueabi-gcc.bin (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) 6.4.1, GNU ld (GNU Binutils) 2.27) #73 SMP PREEMPT Tue May 16 03:53:36 UTC 2023 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: sun8iw20 [ 0.000000] printk: bootconsole [earlycon0] enabled [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] cma: Reserved 8 MiB at 0x47800000 [ 0.000000] On node 0 totalpages: 32768 [ 0.000000] Normal zone: 256 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 32768 pages, LIFO batch:7 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.0 [ 0.000000] percpu: Embedded 15 pages/cpu s30348 r8192 d22900 u61440 [ 0.000000] pcpu-alloc: s30348 r8192 d22900 u61440 alloc=15*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: ubi.mtd=sys ubi.block=0,rootfs earlyprintk=sunxi-uart,0x02500C00 clk_ignore_unused initcall_debug=0 console=ttyS3,115200 loglevel=8 root=/dev/ubiblock0_5 rootfstype=squashfs init=/pseudo_init partitions=mbr@ubi0_0:boot-resource@ubi0_1:env@ubi0_2:env-redund@ubi0_3:boot@ubi0_4:rootfs@ubi0_5:rootfs_data@ubi0_6:user_data@ubi0_7:UDISK@ubi0_8: cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun8iw20p1 boot_type=5 androidboot.boot_type=5 gpt=1 uboot_message=2018.07-ge987def-dirty(05/11/2023-16:21:04) aw-ubi-spinand.ubootblks=24 androidboot.dramsize=128 [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 109620K/131072K available (6144K kernel code, 280K rwdata, 1584K rodata, 1024K init, 1166K bss, 13260K reserved, 8192K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] random: get_random_bytes called from start_kernel+0x264/0x3e8 with crng_init=0 [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.008015] Switching to timer-based delay loop, resolution 41ns [ 0.014174] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.023876] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.034232] pid_max: default: 32768 minimum: 301 [ 0.038963] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.046287] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.054598] CPU: Testing write buffer coherency: ok [ 0.059811] /cpus/cpu@0 missing clock-frequency property [ 0.065136] /cpus/cpu@1 missing clock-frequency property [ 0.070465] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.076609] Setting up static identity map for 0x40100000 - 0x40100060 [ 0.083270] rcu: Hierarchical SRCU implementation. [ 0.088481] smp: Bringing up secondary CPUs ... [ 0.094093] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.094208] smp: Brought up 1 node, 2 CPUs [ 0.104003] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.110181] CPU: All CPU(s) started in SVC mode. [ 0.115240] devtmpfs: initialized [ 0.129613] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.137707] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.147576] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.154801] pinctrl core: initialized pinctrl subsystem [ 0.161210] NET: Registered protocol family 16 [ 0.167054] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.207866] rtc_ccu: sunxi ccu init OK [ 0.213944] ccu: sunxi ccu init OK [ 0.218009] r_ccu: sunxi ccu init OK [ 0.251342] sun6i-dma 3002000.dma-controller: sunxi dma probed [ 0.259181] iommu: Default domain type: Translated [ 0.265492] sunxi iommu: irq = 24 [ 0.269871] SCSI subsystem initialized [ 0.273930] usbcore: registered new interface driver usbfs [ 0.279605] usbcore: registered new interface driver hub [ 0.285008] usbcore: registered new device driver usb [ 0.291414] Advanced Linux Sound Architecture Driver Initialized. [ 0.298153] Bluetooth: Core ver 2.22 [ 0.301843] NET: Registered protocol family 31 [ 0.306299] Bluetooth: HCI device and connection manager initialized [ 0.312700] Bluetooth: HCI socket layer initialized [ 0.317592] Bluetooth: L2CAP socket layer initialized [ 0.322696] Bluetooth: SCO socket layer initialized [ 0.327868] pwm module init! [ 0.332100] g2d 5410000.g2d: Adding to iommu group 0 [ 0.337736] G2D: rcq version initialized.major:252 [ 0.343373] clocksource: Switched to clocksource arch_sys_counter [ 0.357762] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver [ 0.367387] NET: Registered protocol family 2 [ 0.372272] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.380671] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.388372] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.395459] TCP: Hash tables configured (established 1024 bind 1024) [ 0.401909] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.408485] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.415648] NET: Registered protocol family 1 [ 0.421014] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator [ 0.431334] spi spi0: spi0 supply spi not found, using dummy regulator [ 0.438097] sunxi_spi_resource_get()2438 - [spi0] SPI MASTER MODE [ 0.444248] sunxi_spi_resource_get()2476 - Failed to get sample mode [ 0.450592] sunxi_spi_resource_get()2481 - Failed to get sample delay [ 0.457051] sunxi_spi_resource_get()2485 - sample_mode:-1431633921 sample_delay:-1431633921 [ 0.465451] sunxi_spi_clk_init()2527 - [spi0] mclk 100000000 [ 0.471759] sunxi_spi_probe()2978 - [spi0]: driver probe succeed, base c881f000, irq 41 [ 0.481599] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 0.495543] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.501561] ntfs: driver 2.1.32 [Flags: R/W]. [ 0.536392] io scheduler mq-deadline registered [ 0.540923] io scheduler kyber registered [ 0.546287] [DISP]disp_module_init [ 0.550238] disp 5000000.disp: Adding to iommu group 0 [ 0.555946] [DISP] parser_disp_init_para,line:1430: [ 0.555949] of_property_read fb0_width fail [ 0.576181] disp 5000000.disp: 5000000.disp supply vcc-lcd not found, using dummy regulator [ 0.584803] disp 5000000.disp: 5000000.disp supply vcc-pd not found, using dummy regulator [ 0.598417] display_fb_request,fb_id:0 [ 0.604137] [DISP] Fb_copy_boot_fb,line:1445: [ 0.604141] no boot_fb0 [ 0.611110] rotation hw function is configed as no used [ 0.616882] disp_al_manager_apply ouput_type:0 [ 0.621676] [DISP] lcd_clk_config,line:774: [ 0.621686] disp 0, clk: pll(330000000),clk(330000000),dclk(55000000) dsi_rate(330000000) [ 0.621686] clk real:pll(324000000),clk(324000000),dclk(54000000) dsi_rate(0) [ 0.623838] [DISP]disp_module_init finish [ 0.625946] [DISP] disp_sys_pwm_config,line:509: [ 0.625949] disp_sys_pwm_Config, handle is NULL! [ 0.643274] sunxi_sid_init()783 - insmod ok [ 0.645855] [DISP] disp_sys_pwm_set_polarity,line:528: [ 0.645858] disp_sys_pwm_Set_Polarity, handle is NULL! [ 0.651815] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator [ 0.655911] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator [ 0.659465] uart uart1: uart1 supply uart not found, using dummy regulator [ 0.696333] uart1: ttyS1 at MMIO 0x2500400 (irq = 34, base_baud = 1500000) is a SUNXI [ 0.704934] uart uart3: uart3 supply uart not found, using dummy regulator [ 0.712106] uart3: ttyS3 at MMIO 0x2500c00 (irq = 35, base_baud = 1500000) is a SUNXI [ 0.713438] *********************** LCD_panel_init [ 0.720041] sw_console_setup()1807 - console setup baud 115200 parity n bits 8, flow n [ 0.732767] printk: console [ttyS3] enabled [ 0.732767] printk: console [ttyS3] enabled [ 0.741685] printk: bootconsole [earlycon0] disabled [ 0.741685] printk: bootconsole [earlycon0] disabled [ 0.753154] misc dump reg init [ 0.757963] [ADDR_MGT] addr_mgt_probe: module version: v1.0.11 [ 0.765179] [ADDR_MGT] addr_mgt_probe: success. [ 0.770581] dma-buf: Running sanitycheck [ 0.774993] dma-buf: Running dma_fence [ 0.779170] sizeof(dma_fence)=48 [ 0.782874] dma-buf: Running dma_fence/sanitycheck [ 0.788247] dma-buf: Running dma_fence/test_signaling [ 0.793899] dma-buf: Running dma_fence/test_add_callback [ 0.799820] dma-buf: Running dma_fence/test_late_add_callback [ 0.806237] dma-buf: Running dma_fence/test_rm_callback [ 0.812060] dma-buf: Running dma_fence/test_late_rm_callback [ 0.818379] dma-buf: Running dma_fence/test_status [ 0.823728] dma-buf: Running dma_fence/test_error [ 0.828969] dma-buf: Running dma_fence/test_wait [ 0.834126] dma-buf: Running dma_fence/test_wait_timeout [ 0.873387] dma-buf: Running dma_fence/test_stub [ 0.878552] dma-buf: Running dma_fence/race_signal_callback [ 0.893407] [DISP] disp_lcd_pwm_enable,line:1271: [ 0.893410] pwm device hdl is NULL [ 0.902467] [DISP] disp_sys_gpio_request,line:276: [ 0.902473] disp_sys_gpio_request failed, gpio_name=lcd_bl_en, gpio=123, value=0, ret=-517 [ 0.917076] [DISP] disp_device_attached_and_enable,line:233: [ 0.917080] attached ok, mgr0<-->dev0 [ 0.927483] [DISP] disp_device_attached_and_enable,line:236: [ 0.927491] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:0 dvi_hdmi:2, range:2 scan:0 ratio:8 [ 0.963375] thread_signal_callback[0] completed 27254 passes, 12024 misses [ 0.971064] thread_signal_callback[1] completed 15268 passes, 38 misses [ 1.043397] thread_signal_callback[0] completed 39312 passes, 39312 misses [ 1.051094] thread_signal_callback[1] completed 39325 passes, 39322 misses [ 1.059353] sunxi-spinand: AW SPINand MTD Layer Version: 2.3 20211223 [ 1.066638] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 [ 1.074457] sunxi-spinand-phy: not detect any munufacture from id table [ 1.081845] sunxi-spinand-phy: get spi-nand Model from fdt fail [ 1.088474] sunxi-spinand-phy: get phy info from fdt fail [ 1.094511] sunxi-spinand-phy: not detect munufacture from fdt [ 1.101084] sunxi-spinand-phy: detect munufacture from id table: Winbond [ 1.108584] sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff [ 1.115638] sunxi-spinand-phy: ========== arch info ========== [ 1.122151] sunxi-spinand-phy: Model: W25N01GVZEIG [ 1.128869] sunxi-spinand-phy: Munufacture: Winbond [ 1.135093] sunxi-spinand-phy: DieCntPerChip: 1 [ 1.140727] sunxi-spinand-phy: BlkCntPerDie: 1024 [ 1.146656] sunxi-spinand-phy: PageCntPerBlk: 64 [ 1.152386] sunxi-spinand-phy: SectCntPerPage: 4 [ 1.158063] sunxi-spinand-phy: OobSizePerPage: 64 [ 1.163805] sunxi-spinand-phy: BadBlockFlag: 0x0 [ 1.169634] sunxi-spinand-phy: OperationOpt: 0x7 [ 1.175467] sunxi-spinand-phy: MaxEraseTimes: 65000 [ 1.181488] sunxi-spinand-phy: EccFlag: 0x0 [ 1.187318] sunxi-spinand-phy: EccType: 2 [ 1.192944] sunxi-spinand-phy: EccProtectedType: 3 [ 1.198586] sunxi-spinand-phy: ======================================== [ 1.205965] sunxi-spinand-phy: [ 1.209460] sunxi-spinand-phy: ========== physical info ========== [ 1.216361] sunxi-spinand-phy: TotalSize: 128 M [ 1.221697] sunxi-spinand-phy: SectorSize: 512 B [ 1.227048] sunxi-spinand-phy: PageSize: 2 K [ 1.232190] sunxi-spinand-phy: BlockSize: 128 K [ 1.237536] sunxi-spinand-phy: OOBSize: 64 B [ 1.242780] sunxi-spinand-phy: ======================================== [ 1.250158] sunxi-spinand-phy: [ 1.253668] sunxi-spinand-phy: ========== logical info ========== [ 1.260464] sunxi-spinand-phy: TotalSize: 128 M [ 1.265810] sunxi-spinand-phy: SectorSize: 512 B [ 1.271152] sunxi-spinand-phy: PageSize: 4 K [ 1.276304] sunxi-spinand-phy: BlockSize: 256 K [ 1.281639] sunxi-spinand-phy: OOBSize: 128 B [ 1.286990] sunxi-spinand-phy: ======================================== [ 1.294444] sunxi-spinand-phy: block lock register: 0x00 [ 1.300425] sunxi-spinand-phy: feature register: 0x19 [ 1.306073] sunxi-spinand-phy: sunxi physic nand init end [ 1.312442] Creating 4 MTD partitions on "sunxi_mtd_nand": [ 1.318604] 0x000000000000-0x000000100000 : "boot0" [ 1.334288] 0x000000100000-0x000000400000 : "uboot" [ 1.344348] 0x000000400000-0x000000500000 : "secure_storage" [ 1.364330] 0x000000500000-0x000008000000 : "sys" [ 1.369850] random: fast init done [ 1.464574] sunxi-spinand-phy: phy blk 921 is bad [ 1.484935] libphy: Fixed MDIO Bus: probed [ 1.490694] gmac-power0: NULL [ 1.494088] gmac-power1: NULL [ 1.497394] gmac-power2: NULL [ 1.500843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator [ 1.512961] Failed to alloc md5 [ 1.516529] eth0: Use random mac address [ 1.521192] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.528493] sunxi-ehci: EHCI SUNXI driver [ 1.533459] get ehci1-controller wakeup-source is fail. [ 1.539385] sunxi ehci1-controller don't init wakeup source [ 1.545620] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0b62628, 0x:c8837000, irq_no:3c [ 1.557589] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator [ 1.570055] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator [ 1.582197] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller [ 1.589435] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 [ 1.599332] sunxi-ehci 4200000.ehci1-controller: irq 60, io mem 0x04200000 [ 1.633448] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 [ 1.642074] hub 1-0:1.0: USB hub found [ 1.646328] hub 1-0:1.0: 1 port detected [ 1.651342] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.658309] sunxi-ohci: OHCI SUNXI driver [ 1.663269] get ohci1-controller wakeup-source is fail. [ 1.669219] sunxi ohci1-controller don't init wakeup source [ 1.675465] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0b628b8 [ 1.685126] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator [ 1.697591] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator [ 1.709737] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller [ 1.716983] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 [ 1.726814] sunxi-ohci 4200400.ohci1-controller: irq 61, io mem 0x04200400 [ 1.808241] hub 2-0:1.0: USB hub found [ 1.812465] hub 2-0:1.0: 1 port detected [ 1.817614] usbcore: registered new interface driver usb-storage [ 1.824513] i2c /dev entries driver [ 1.828491] sunxi cedar version 1.1 [ 1.832568] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 [ 1.838899] VE: sunxi_cedar_probe power-domain init!!! [ 1.844646] VE: install start!!! [ 1.844646] [ 1.850189] VE: cedar-ve the get irq is 42 [ 1.850189] [ 1.856611] VE: ve_debug_proc_info:(ptrval), data:(ptrval), lock:(ptrval) [ 1.856611] [ 1.865862] VE: install end!!! [ 1.865862] [ 1.870908] VE: sunxi_cedar_probe [ 1.874886] Bluetooth: HCI UART driver ver 2.3 [ 1.879864] Bluetooth: HCI UART protocol H4 registered [ 1.885615] Bluetooth: HCI UART protocol BCSP registered [ 1.891792] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 [ 1.901022] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.25 2022-6-21 13:40) [ 1.910877] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 [ 1.917100] sunxi-mmc 4020000.sdmmc: No vmmc regulator found [ 1.923426] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found [ 1.929831] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found [ 1.936251] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found [ 1.942753] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found [ 1.949264] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found [ 1.955783] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found [ 1.962704] sunxi-mmc 4020000.sdmmc: Got CD GPIO [ 1.968068] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail [ 1.974715] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.985823] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator [ 2.005929] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.030285] sunxi-mmc 4020000.sdmmc: detmode:gpio irq [ 2.035969] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.047498] sun8iw20-pinctrl 2000000.pinctrl: pin PG0 already requested by 4500000.eth; cannot claim for 4021000.sdmmc [ 2.059480] sun8iw20-pinctrl 2000000.pinctrl: pin-192 (4021000.sdmmc) status -22 [ 2.067760] sun8iw20-pinctrl 2000000.pinctrl: could not request pin 192 (PG0) from group PG0 on device 2000000.pinctrl [ 2.079804] sunxi-mmc 4021000.sdmmc: Error applying setting, reverse things back [ 2.088094] sunxi-mmc: probe of 4021000.sdmmc failed with error -22 [ 2.095923] exFAT: Version 1.3.0 [ 2.102027] [AUDIOCODEC][sunxi_codec_parse_params][2437]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 [ 2.102027] [ 2.119201] [AUDIOCODEC][sunxi_codec_parse_params][2473]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 [ 2.130529] [AUDIOCODEC][sunxi_internal_codec_probe][2634]:codec probe finished [ 2.139670] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! [ 2.149471] [SNDCODEC][sunxi_card_init][583]:card init finished [ 2.156559] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok [ 2.167480] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 [ 2.179444] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished [ 2.187955] NET: Registered protocol family 10 [ 2.193423] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch [ 2.201403] Segment Routing with IPv6 [ 2.205617] NET: Registered protocol family 17 [ 2.210726] Bluetooth: RFCOMM TTY layer initialized [ 2.216268] Bluetooth: RFCOMM socket layer initialized [ 2.222022] Bluetooth: RFCOMM ver 1.11 [ 2.226848] Registering SWP/SWPB emulation handler [ 2.246663] sun8iw20-pinctrl 2000000.pinctrl: pin PG0 already requested by 4500000.eth; cannot claim for 4021000.sdmmc [ 2.258675] sun8iw20-pinctrl 2000000.pinctrl: pin-192 (4021000.sdmmc) status -22 [ 2.266946] sun8iw20-pinctrl 2000000.pinctrl: could not request pin 192 (PG0) from group PG0 on device 2000000.pinctrl [ 2.278990] sunxi-mmc 4021000.sdmmc: Error applying setting, reverse things back [ 2.287279] sunxi-mmc: probe of 4021000.sdmmc failed with error -22 [ 2.294693] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator [ 2.305152] sunxi-i2c sunxi-i2c2: probe success [ 2.310576] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator [ 2.321944] sunxi-i2c sunxi-i2c3: sunxi-i2c3 supply twi not found, using dummy regulator [ 2.354647] sunxi-i2c sunxi-i2c3: SLA+W has been transmitted; ACK not received [ 2.362708] sunxi-i2c sunxi-i2c3: engine mode: I2C BUS error state is 0x20 [ 2.370449] sunxi-i2c sunxi-i2c3: engine-mode: bus state: 0xf9, isn't idle [ 2.378112] sunxi-i2c sunxi-i2c3: STOP failed! [ 2.383082] sunxi-i2c sunxi-i2c3: engine-mode: xfer failed(dev addr:0x50) [ 2.414707] sunxi-i2c sunxi-i2c3: SLA+W has been transmitted; ACK not received [ 2.422761] sunxi-i2c sunxi-i2c3: engine mode: I2C BUS error state is 0x20 [ 2.430501] sunxi-i2c sunxi-i2c3: engine-mode: bus state: 0xf9, isn't idle [ 2.438163] sunxi-i2c sunxi-i2c3: STOP failed! [ 2.443130] sunxi-i2c sunxi-i2c3: engine-mode: xfer failed(dev addr:0x50) [ 2.452422] sunxi-i2c sunxi-i2c3: probe success [ 2.459993] get ehci0-controller wakeup-source is fail. [ 2.465943] sunxi ehci0-controller don't init wakeup source [ 2.472161] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0b62108, 0x:c88ab000, irq_no:3a [ 2.484098] [sunxi-ehci0]: Not init ehci0 [ 2.488929] get ohci0-controller wakeup-source is fail. [ 2.494872] sunxi ohci0-controller don't init wakeup source [ 2.501089] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0b62398 [ 2.510700] [sunxi-ohci0]: Not init ohci0 [ 2.515755] ubi0: attaching mtd3 [ 2.704489] ubi0: scanning is finished [ 2.716591] ubi0: attached mtd3 (name "sys", size 123 MiB) [ 2.722715] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes [ 2.730424] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048 [ 2.738003] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 2.745780] ubi0: good PEBs: 491, bad PEBs: 1, corrupted PEBs: 0 [ 2.752475] ubi0: user volume: 9, internal volumes: 1, max. volumes count: 128 [ 2.760540] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0 [ 2.769859] ubi0: available PEBs: 0, total reserved PEBs: 491, PEBs reserved for bad PEB handling: 19 [ 2.780165] ubi0: background thread "ubi_bgt0d" started, PID 885 [ 2.788122] block ubiblock0_5: created from ubi0:5(rootfs) [ 2.794795] otg manager soc@3000000:usbc0@0: soc@3000000:usbc0@0 supply usbc not found, using dummy regulator [ 2.808367] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 2.813444] clk: Not disabling unused clocks [ 2.818066] cfg80211: failed to load regulatory.db [ 2.822732] ALSA device list: [ 2.831482] #0: audiocodec [ 2.834734] alloc_fd: slot 0 not NULL! [ 2.841778] VFS: Mounted root (squashfs filesystem) readonly on device 254:0. [ 2.851697] devtmpfs: mounted [ 2.856936] Freeing unused kernel memory: 1024K [ 2.893521] Run /pseudo_init as init process mount: mounting none on /dev failed: Resource busy [ 3.073457] UBIFS (ubi0:6): Mounting in unauthenticated mode [ 3.079915] UBIFS (ubi0:6): background thread "ubifs_bgt0_6" started, PID 924 [ 3.113742] random: crng init done [ 3.133811] UBIFS (ubi0:6): recovery needed [ 3.264749] UBIFS (ubi0:6): recovery completed [ 3.269907] UBIFS (ubi0:6): UBIFS: mounted UBI device 0, volume 6, name "rootfs_data" [ 3.278705] UBIFS (ubi0:6): LEB size: 258048 bytes (252 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes [ 3.289785] UBIFS (ubi0:6): FS size: 18579456 bytes (17 MiB, 72 LEBs), journal size 2064385 bytes (1 MiB, 6 LEBs) [ 3.301252] UBIFS (ubi0:6): reserved for root: 877552 bytes (856 KiB) [ 3.308501] UBIFS (ubi0:6): media format: w5/r0 (latest is w5/r0), UUID 7DFEE526-6D59-44C4-966D-D42EB2FDEFDF, small LPT model can't run '/etc/preinit': No such file or directory mount: mounting proc on /proc failed: Resource busy hostname: can't open '/etc/hostname': No such file or directory ------run rc.preboot file----- [ 3.463549] UBIFS (ubi0:8): Mounting in unauthenticated mode [ 3.470017] UBIFS (ubi0:8): background thread "ubifs_bgt0_8" started, PID 954 [ 3.519820] UBIFS (ubi0:8): recovery needed [ 3.555368] UBIFS (ubi0:8): recovery completed [ 3.560523] UBIFS (ubi0:8): UBIFS: mounted UBI device 0, volume 8, name "UDISK" [ 3.568709] UBIFS (ubi0:8): LEB size: 258048 bytes (252 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes [ 3.579800] UBIFS (ubi0:8): FS size: 10838016 bytes (10 MiB, 42 LEBs), journal size 2064385 bytes (1 MiB, 6 LEBs) [ 3.591270] UBIFS (ubi0:8): reserved for root: 511905 bytes (499 KiB) [ 3.598473] UBIFS (ubi0:8): media format: w5/r0 (latest is w5/r0), UUID B548A428-6B73-4B42-BE7C-E697D7E1A575, small LPT model ------run rc.modules file----- [ 3.709972] sunxi_gpadc_init,2151, success [ 3.766035] ======== XRADIO WIFI OPEN ======== [ 3.771527] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 [ 3.778309] [XRADIO] Allocated hw_priv @ 767e2611 [ 3.884166] [XRADIO] Detect SDIO card 0 [ 6.053511] [XRADIO] Remove SDIO card 0 [ 6.067791] [SBUS_ERR] sdio probe timeout! [ 6.072353] [XRADIO_ERR] sbus_sdio_init failed [ 6.077607] xradio_core_init failed (-110)! [ 6.201949] ======== XRADIO WIFI OPEN ======== [ 6.207467] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 [ 6.214226] [XRADIO] Allocated hw_priv @ ab98aef0 [ 6.320098] [XRADIO] Detect SDIO card 0 [ 6.393659] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator [ 8.453532] [XRADIO] Remove SDIO card 0 [ 8.467814] [SBUS_ERR] sdio probe timeout! [ 8.472377] [XRADIO_ERR] sbus_sdio_init failed [ 8.477676] xradio_core_init failed (-110)! insmod: can't insert '/lib/modules/5.4.61/xr829.ko': Operation timed out Successfully initialized wpa_supplicant Could not read interface wlan0 flags: No such device nl80211: Driver does not support authentication/association or connect commands nl80211: deinit ifname=wlan0 disabled_11b_rates=0 Could not read interface wlan0 flags: No such device wlan0: Failed to initialize driver interface ------run rc.final file----- numid=30,iface=MIXER,name='Headphone Switch' ; type=BOOLEAN,access=rw------,values=1 : values=on ------light up RGB LED----- /etc/init.d/rcS: /etc/init.d/rc.final: line 15: can't create /sys/class/leds/sunxi_led0r/brightness: nonexistent directory /etc/init.d/rcS: /etc/init.d/rc.final: line 16: can't create /sys/class/leds/sunxi_led1g/brightness: nonexistent directory /etc/init.d/rcS: /etc/init.d/rc.final: line 17: can't create /sys/class/leds/sunxi_led2b/brightness: nonexistent directory /etc/init.d/rcS: /etc/init.d/rc.final: line 21: can't create /sys/class/leds/sunxi_led0r/brightness: nonexistent directory /etc/init.d/rcS: /etc/init.d/rc.final: line 22: can't create /sys/class/leds/sunxi_led0g/brightness: nonexistent directory /etc/init.d/rcS: /etc/init.d/rc.final: line 23: can't create /sys/class/leds/sunxi_led0b/brightness: nonexistent directory /etc/init.d/rcS: /etc/init.d/rc.final: line 24: can't create /sys/class/leds/sunxi_led1r/brightness: nonexistent directory /etc/init.d/rcS: /etc/init.d/rc.final: line 25: can't create /sys/class/leds/sunxi_led1g/brightness: nonexistent directory /etc/init.d/rcS: /etc/init.d/rc.final: line 26: can't create /sys/class/leds/sunxi_led1b/brightness: nonexistent directory /etc/init.d/rcS: /etc/init.d/rc.final: line 27: can't create /sys/class/leds/sunxi_led2r/brightness: nonexistent directory /etc/init.d/rcS: /etc/init.d/rc.final: line 2[ 9.944707] block ubiblock0_7: created from ubi0:7(user_data) 8: can't create /sys/class/leds/sunxi_led2g/brightness: nonexistent directory /etc/init.d/rcS: /etc/init.d/rc.final: line 29: c[ 9.957531] /dev/ubiblock0_7: Can't open blockdev an't create /sys/class/leds/sunxi_led2b/brightness: nonexistent directory ------light up LED----- BusyBox v1.27.2 () built-in shell (ash) ------run profile file----- _____ _ __ _ |_ _||_| ___ _ _ | | |_| ___ _ _ _ _ | | _ | || | | |__ | || || | ||_'_| | | | || | || _ | |_____||_||_|_||___||_,_| |_| |_||_|_||_|_| Tina is Based on OpenWrt! ---------------------------------------------- Tina Linux (Neptune, 61CC0487) ---------------------------------------------- Wed Jun 1 00:00:00 GMT 2022 nodev debugfs
-
t113 tina linux 内核开机logo不显示
打开内核logo模块
开机屏幕只有背光亮,没有任何图像,打印调试发现fb_prepare_logo(struct fb_info *info, int rotate)函数没有被调用,是我哪里弄错了还是有地方没有配置呢 -
tina uboot i2c驱动
t113-s3,想在uboot中通过i2c对lcd进行初始化,找了找发现现在的dts中没有twi相关配置,是需要自己在dts中添加i2c节点么?然后uboot中对应的全志i2c控制器的驱动在哪里找到?望大佬们不惜吝教,多谢多谢
-
T113-S3在target/allwinner/t113-hdp1w/busybox-init-base-files目录下添加文件后编译失败
添加的文件是用g++编译的可执行程序,添加后编译失败
如果添加的是用gcc编译的执行程序,可以正常编译,这是哪里不对呢 -
如何在Tina linux SDK中配置busybox
刚在全志官网下载的tina-d1-h SKD,好多命令busybox都没有配置,请问如何在Tina linux SDK中配置busybox,添加或删除命令 -
回复: D1s麻雀 关闭uboot的显示(#CONFIG_DISP2_SUNXI=y)后,内核dts不改动,lcd的data引脚就没有输出了
@wjp2547532
晕哥,我用了上图中你链接里的两个固件都在麻雀板子上试了,都挂在uboot初始化sd卡时,这俩固件不支持从sd卡启动么?启动日志如下:[576]HELLO! BOOT0 is starting! [578]BOOT0 commit : 88480af-dirty [582]set pll start [584]fix vccio detect value:0xc0 [587]periph0 has been enabled [590]set pll end [591][pmu]: bus read error [594]board init ok [596]ZQ value = 0x2e [598]get_pmu_exist() = -1 [600]ddr_efuse_type: 0xa [602]trefi:7.8ms [605][AUTO DEBUG] single rank and full DQ! [609]ddr_efuse_type: 0xa [611]trefi:7.8ms [613][AUTO DEBUG] rank 0 row = 13 [616][AUTO DEBUG] rank 0 bank = 4 [619][AUTO DEBUG] rank 0 page size = 2 KB [623]DRAM BOOT DRIVE INFO: V0.33 [626]DRAM CLK = 528 MHz [628]DRAM Type = 2 (2:DDR2,3:DDR3) [632]DRAMC read ODT off. [634]DRAM ODT off. [636]ddr_efuse_type: 0xa [639]DRAM SIZE =64 M [641]dram_tpr4:0x0 [642]PLL_DDR_CTRL_REG:0xf8002b00 [645]DRAM_CLK_REG:0xc0000000 [648][TIMING DEBUG] MR2= 0x0 [653]DRAM simple test OK. [655]dram size =64 [657]card no is 0 [658]sdcard 0 line count 4 [661][mmc]: mmc driver ver 2021-04-2 16:45 [670][mmc]: Wrong media type 0x0 [673][mmc]: ***Try SD card 0*** [682][mmc]: HSSDR52/SDR25 4 bit [685][mmc]: 50000000 Hz [687][mmc]: 3796 MB [689][mmc]: ***SD/MMC 0 init OK!!!*** [741]Loading boot-pkg Succeed(index=0). [744]Entry_name = opensbi [747]Entry_name = u-boot [751]Entry_name = dtb [754]mmc not para ?56]Jump to second Boot. U-Boot 2018.05-g24521d6-dirty (Nov 11 2022 - 13:32:11 +0800) Allwinner Technology [00.766]DRAM: 64 MiB [00.768]Relocation Offset is: 01ee3000 [00.772]secure enable bit: 0 [00.776]CPU=720 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.782]flash init start [00.784]workmode = 0,storage type = 1 [00.787][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 [00.793][mmc]: get sdc_type fail and use default host:tm1. FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL [00.805][mmc]: get card0 default pin fail [00.809][mmc]: can't find node "mmc0",will add new node [00.814][mmc]: fdt err returned <no error> [00.818][mmc]: Using default timing para [00.821][mmc]: sunxi mmc pin set failed! [00.825]error card no error [00.827][mmc]: MMC Device -1 not found fail to find one useful mmc card initcall sequence 0000000043f8f110 failed at call 000000004200e8c0 (err=-1) ### ERROR ### Please RESET the board ###
-
回复: D1s麻雀 关闭uboot的显示(#CONFIG_DISP2_SUNXI=y)后,内核dts不改动,lcd的data引脚就没有输出了
@wjp2547532 晕哥,你那里有没有F133小麻雀对应的用mipi-dsi接口点树莓派那个屏的固件
-
回复: D1s麻雀 关闭uboot的显示(#CONFIG_DISP2_SUNXI=y)后,内核dts不改动,lcd的data引脚就没有输出了
screen 0: de_rate 300000000 hz, ref_fps:60 mgr0: 800x480 fmt[rgb] cs[0x204] range[full] eotf[0x4] bits[8bits] err[0] force_sync[0] unblank direct_show[false] iommu[1] dmabuf: cache[0] cache max[0] umap skip[0] overflow[0] lcd output backlight( 10) fps:87.7 800x 480 err:0 skip:188 irq:5882 vsync:0 vsync_skip:0 BUF enable ch[1] lyr[0] z[16] prem[N] a[pixel 255] fmt[ 0] fb[ 800, 480; 800, 480; 800, 480] crop[ 0, 0, 800, 480] frame[ 0, 0, 800, 480] addr[ffc00000, 0, 0] flags[0x 0] trd[0,0]
这是我改成rgb接口的
-
回复: D1s麻雀 关闭uboot的显示(#CONFIG_DISP2_SUNXI=y)后,内核dts不改动,lcd的data引脚就没有输出了
@whycan 晕哥,我改为rgb接口以后测量数据管脚PD0~PD8也是没有信号
-
回复: D1s麻雀 关闭uboot的显示(#CONFIG_DISP2_SUNXI=y)后,内核dts不改动,lcd的data引脚就没有输出了
/* * Allwinner Technology CO., Ltd. sun20iw1p1 fpga. * * fpga support. */ /dts-v1/; #include "sun20iw1p1.dtsi" /{ compatible = "allwinner,d1", "arm,sun20iw1p1", "allwinner,sun20iw1p1"; aliases { dsp0 = &dsp0; dsp0_gpio_int= &dsp0_gpio_int; }; dsp0: dsp0 { compatible = "allwinner,sun20iw1-dsp"; status = "okay"; }; dsp0_gpio_int: dsp0_gpio_int { compatible = "allwinner,sun20iw1-dsp-gpio-int"; pin-group = "PB", "PC", "PD", "PE"; status = "disabled"; }; reg_vdd_cpu: vdd-cpu { compatible = "sunxi-pwm-regulator"; pwms = <&pwm 0 5000 0>; regulator-name = "vdd_cpu"; regulator-min-microvolt = <810000>; regulator-max-microvolt = <1160000>; regulator-ramp-delay = <25>; regulator-always-on; regulator-boot-on; status = "disabled"; }; reg_usb1_vbus: usb1-vbus { compatible = "regulator-fixed"; regulator-name = "usb1-vbus"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; regulator-enable-ramp-delay = <1000>; gpio = <&pio PB 3 GPIO_ACTIVE_HIGH>; enable-active-high; status = "disabled"; /* mango */ }; }; &CPU0 { cpu-supply = <®_vdd_cpu>; }; &pio { sdc0_pins_a: sdc0@0 { allwinner,pins = "PF0", "PF1", "PF2", "PF3", "PF4", "PF5"; allwinner,function = "sdc0"; allwinner,muxsel = <2>; allwinner,drive = <3>; allwinner,pull = <1>; pins = "PF0", "PF1", "PF2", "PF3", "PF4", "PF5"; function = "sdc0"; drive-strength = <30>; bias-pull-up; power-source = <3300>; }; sdc0_pins_b: sdc0@1 { pins = "PF0", "PF1", "PF2", "PF3", "PF4", "PF5"; function = "sdc0"; drive-strength = <30>; bias-pull-up; power-source = <1800>; }; sdc0_pins_c: sdc0@2 { pins = "PF0", "PF1", "PF2", "PF3", "PF4", "PF5"; function = "gpio_in"; }; /* TODO: add jtag pin */ sdc0_pins_d: sdc0@3 { pins = "PF2", "PF4"; function = "uart0"; drive-strength = <10>; bias-pull-up; }; sdc0_pins_e: sdc0@4 { pins = "PF0", "PF1", "PF3", "PF5"; function = "jtag"; drive-strength = <10>; bias-pull-up; }; sdc1_pins_a: sdc1@0 { pins = "PG0", "PG1", "PG2", "PG3", "PG4", "PG5"; function = "sdc1"; drive-strength = <30>; bias-pull-up; }; sdc1_pins_b: sdc1@1 { pins = "PG0", "PG1", "PG2", "PG3", "PG4", "PG5"; function = "gpio_in"; }; sdc2_pins_a: sdc2@0 { allwinner,pins = "PC2", "PC3", "PC4", "PC5", "PC6", "PC7"; allwinner,function = "sdc2"; allwinner,muxsel = <3>; allwinner,drive = <3>; allwinner,pull = <1>; pins = "PC2", "PC3", "PC4", "PC5", "PC6", "PC7"; function = "sdc2"; drive-strength = <30>; bias-pull-up; }; sdc2_pins_b: sdc2@1 { pins = "PC2", "PC3", "PC4", "PC5", "PC6", "PC7"; function = "gpio_in"; }; wlan_pins_a:wlan@0 { pins = "PG11"; function = "clk_fanout1"; }; #if 0 uart0_pins_a: uart0_pins@0 { /* For nezha board */ pins = "PB8", "PB9"; function = "uart0"; drive-strength = <10>; bias-pull-up; }; uart0_pins_b: uart0_pins@1 { /* For nezha board */ pins = "PB8", "PB9"; function = "gpio_in"; }; #endif uart0_pins_a: uart0_pins@0 { /* For nezha board */ pins = "PE2", "PE3"; function = "uart0"; drive-strength = <10>; bias-pull-up; }; uart0_pins_b: uart0_pins@1 { /* For nezha board */ pins = "PE2", "PE3"; function = "gpio_in"; }; uart1_pins_a: uart1_pins@0 { /* For EVB1 board */ pins = "PG6", "PG7", "PG8", "PG9"; function = "uart1"; drive-strength = <10>; bias-pull-up; }; uart1_pins_b: uart1_pins { /* For EVB1 board */ pins = "PG6", "PG7", "PG8", "PG9"; function = "gpio_in"; }; uart2_pins_a: uart2_pins@0 { /* For EVB1 board */ pins = "PC0", "PC1"; function = "uart2"; drive-strength = <10>; bias-pull-up; }; uart2_pins_b: uart2_pins@1 { /* For EVB1 board */ pins = "PC0", "PC1"; function = "gpio_in"; }; #if 0 uart3_pins_a: uart3_pins@0 { /* For EVB1 board */ pins = "PG8", "PG9"; function = "uart3"; muxsel = <5>; drive-strength = <10>; bias-pull-up; }; #endif uart3_pins_a: uart3_pins@0 { pins = "PG8", "PG9"; function = "uart3"; drive-strength = <10>; bias-pull-up; }; uart3_pins_b: uart3_pins@1 { pins = "PG8", "PG9"; function = "gpio_in"; }; twi0_pins_a: twi0@0 { pins = "PB2", "PB3"; /*sck sda*/ function = "twi0"; drive-strength = <10>; }; twi0_pins_b: twi0@1 { pins = "PB2", "PB3"; function = "gpio_in"; }; twi1_pins_a: twi1@0 { pins = "PB4", "PB5"; function = "twi1"; drive-strength = <10>; }; twi1_pins_b: twi1@1 { pins = "PB4", "PB5"; function = "gpio_in"; }; twi2_pins_a: twi2@0 { pins = "PE12", "PE13"; function = "twi2"; drive-strength = <10>; }; twi2_pins_b: twi2@1 { pins = "PE12", "PE13"; function = "gpio_in"; }; twi3_pins_a: twi3@0 { pins = "PB6", "PB7"; function = "twi3"; drive-strength = <10>; }; twi3_pins_b: twi3@1 { pins = "PB6", "PB7"; function = "gpio_in"; }; gmac_pins_a: gmac@0 { pins = "PE0", "PE1", "PE2", "PE3", "PE4", "PE5", "PE6", "PE7", "PE8", "PE9", "PE10", "PE11", "PE12", "PE13", "PE14", "PE15"; function = "gmac0"; drive-strength = <10>; }; gmac_pins_b: gmac@1 { pins = "PE0", "PE1", "PE2", "PE3", "PE4", "PE5", "PE6", "PE7", "PE8", "PE9", "PE10", "PE11", "PE12", "PE13", "PE14", "PE15"; function = "gpio_in"; }; dmic_pins_a: dmic@0 { /* DMIC_PIN: CLK, DATA0, DATA1, DATA2 */ pins = "PE17", "PB11", "PB10", "PD17"; function = "dmic"; drive-strength = <20>; bias-disable; }; dmic_pins_b: dmic@1 { pins = "PE17", "PB11", "PB10", "PD17"; function = "io_disabled"; drive-strength = <20>; bias-disable; }; daudio0_pins_a: daudio0@0 { pins = "PE17", "PE16", "PE15", "PE14", "PE13"; function = "i2s0"; drive-strength = <20>; bias-disable; }; daudio0_pins_b: daudio0_sleep@0 { pins = "PE17", "PE16", "PE15", "PE14", "PE13"; function = "io_disabled"; drive-strength = <20>; bias-disable; }; daudio1_pins_a: daudio1@0 { pins = "PG11", "PG12", "PG13", "PG14", "PG15"; function = "i2s1"; drive-strength = <20>; bias-disable; }; daudio1_pins_b: daudio1_sleep@0 { pins = "PG11", "PG12", "PG13", "PG14", "PG15"; function = "io_disabled"; drive-strength = <20>; bias-disable; }; daudio2_pins_a: daudio2@0 { /* I2S_PIN: MCLK, BCLK, LRCK */ pins = "PB7", "PB5", "PB6"; function = "i2s2"; drive-strength = <20>; bias-disable; }; daudio2_pins_b: daudio2@1 { /* I2S_PIN: DOUT0 */ pins = "PB4"; function = "i2s2_dout"; drive-strength = <20>; bias-disable; }; daudio2_pins_c: daudio2@2 { /* I2S_PIN: DIN0 */ pins = "PB3"; function = "i2s2_din"; drive-strength = <20>; bias-disable; }; daudio2_pins_d: daudio2_sleep@0 { pins = "PB7", "PB5", "PB6", "PB4", "PB3"; function = "io_disabled"; drive-strength = <20>; bias-disable; }; spdif_pins_a: spdif@0 { /* SPDIF_PIN: SPDIF_OUT */ pins = "PB0"; function = "spdif"; drive-strength = <20>; bias-disable; }; spdif_pins_b: spdif_sleep@0 { pins = "PB0"; function = "io_disabled"; drive-strength = <20>; bias-disable; }; spi0_pins_a: spi0@0 { pins = "PC2", "PC4", "PC5","PC7", "PC6"; /*clk mosi miso hold wp*/ function = "spi0"; muxsel = <2>; drive-strength = <10>; }; spi0_pins_b: spi0@1 { pins = "PC3", "PC7", "PC6"; function = "spi0"; muxsel = <2>; drive-strength = <10>; bias-pull-up; /* only CS should be pulled up */ }; spi0_pins_c: spi0@2 { pins = "PC2", "PC3", "PC4", "PC5","PC6", "PC7"; function = "gpio_in"; muxsel = <0>; drive-strength = <10>; }; spi1_pins_a: spi1@0 { pins = "PD11", "PD12", "PD13","PD14", "PD15"; /*clk mosi miso hold wp*/ function = "spi1"; drive-strength = <10>; }; spi1_pins_b: spi1@1 { pins = "PD10"; function = "spi1"; drive-strength = <10>; bias-pull-up; // only CS should be pulled up }; spi1_pins_c: spi1@2 { pins = "PD10", "PD11", "PD12", "PD13","PD14", "PD15"; function = "gpio_in"; drive-strength = <10>; }; ledc_pins_a: ledc@0 { pins = "PC0"; function = "ledc"; drive-strength = <10>; }; ledc_pins_b: ledc@1 { pins = "PC0"; function = "gpio_in"; }; pwm0_pin_a: pwm0@0 { pins = "PB5"; function = "pwm0"; drive-strength = <10>; bias-pull-up; }; pwm0_pin_b: pwm0@1 { pins = "PB5"; function = "gpio_in"; bias-disable; }; /* pwm2_pin_a: pwm2@0 { pins = "PD18"; function = "pwm2"; drive-strength = <10>; bias-pull-up; }; pwm2_pin_b: pwm2@1 { pins = "PD18"; function = "gpio_in"; }; */ /* pwm7_pin_a: pwm7@0 { pins = "PD22"; function = "pwm7"; drive-strength = <10>; bias-pull-up; }; pwm7_pin_b: pwm7@1 { pins = "PD22"; function = "gpio_in"; }; */ s_cir0_pins_a: s_cir@0 { pins = "PB7"; function = "ir"; drive-strength = <10>; bias-pull-up; }; s_cir0_pins_b: s_cir@1 { pins = "PB7"; function = "gpio_in"; }; ir1_pins_a: ir1@0 { pins = "PB0"; function = "ir"; drive-strength = <10>; bias-pull-up; }; ir1_pins_b: ir1@1 { pins = "PB0"; function = "gpio_in"; }; dsi2lane_pins_a: dsi2lane@0 { pins = "PD0", "PD1", "PD2", "PD3", "PD4", "PD5"; function = "dsi"; drive-strength = <30>; bias-disable; }; dsi2lane_pins_b: dsi2lane@1 { pins = "PD0", "PD1", "PD2", "PD3", "PD4", "PD5"; function = "io_disabled"; bias-disable; }; }; &uart0 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&uart0_pins_a>; pinctrl-1 = <&uart0_pins_b>; status = "okay"; }; &uart1 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&uart1_pins_a>; pinctrl-1 = <&uart1_pins_b>; status = "disabled"; }; &uart2 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&uart2_pins_a>; pinctrl-1 = <&uart2_pins_b>; status = "disabled"; }; &uart3 { /*compatible = "allwinner,sun20iw1-dsp-uart";*/ pinctrl-names = "default", "sleep"; pinctrl-0 = <&uart3_pins_a>; pinctrl-1 = <&uart3_pins_b>; status = "okay"; }; &soc { card0_boot_para@2 { /* * Avoid dtc compiling warnings. * @TODO: Developer should modify this to the actual value */ reg = <0x0 0x2 0x0 0x0>; device_type = "card0_boot_para"; card_ctrl = <0x0>; card_high_speed = <0x1>; card_line = <0x4>; pinctrl-0 = <&sdc0_pins_a>; }; card2_boot_para@3 { /* * Avoid dtc compiling warnings. * @TODO: Developer should modify this to the actual value */ reg = <0x0 0x3 0x0 0x0>; device_type = "card2_boot_para"; card_ctrl = <0x2>; card_high_speed = <0x1>; card_line = <0x4>; pinctrl-0 = <&sdc2_pins_a>; /*pinctrl-0 = <&sdc0_pins_a>;*/ /*sdc_ex_dly_used = <0x2>;*/ sdc_io_1v8 = <0x1>; /*sdc_type = "tm4";*/ sdc_tm4_hs200_max_freq = <150>; sdc_tm4_hs400_max_freq = <100>; sdc_ex_dly_used = <2>; /*sdc_tm4_win_th = <8>;*/ /*sdc_dis_host_caps = <0x180>;*/ }; rfkill: rfkill@0 { compatible = "allwinner,sunxi-rfkill"; chip_en; power_en; status = "okay"; wlan: wlan@0 { compatible = "allwinner,sunxi-wlan"; /*pinctrl-0 = <&wlan_pins_a>;*/ /*pinctrl-names = "default";*/ /*clock-names = "32k-fanout1";*/ /*clocks = <&ccu CLK_FANOUT1_OUT>;*/ wlan_busnum = <0x1>; wlan_regon = <&pio PG 12 GPIO_ACTIVE_HIGH>; wlan_hostwake = <&pio PG 10 GPIO_ACTIVE_HIGH>; /*wlan_power = "VCC-3V3";*/ /*wlan_power_vol = <3300000>;*/ /*interrupt-parent = <&pio>; interrupts = < PG 10 IRQ_TYPE_LEVEL_HIGH>;*/ wakeup-source; }; bt: bt@0 { compatible = "allwinner,sunxi-bt"; /*pinctrl-0 = <&wlan_pins_a>;*/ /*pinctrl-names = "default";*/ /*clock-names = "32k-fanout1";*/ /*clocks = <&ccu CLK_FANOUT1_OUT>;*/ /*bt_power_num = <0x01>;*/ /*bt_power = "axp803-dldo1";*/ /*bt_io_regulator = "axp803-dldo1";*/ /*bt_io_vol = <3300000>;*/ /*bt_power_vol = <330000>;*/ bt_rst_n = <&pio PG 15 GPIO_ACTIVE_LOW>; status = "okay"; }; }; btlpm: btlpm@0 { compatible = "allwinner,sunxi-btlpm"; uart_index = <0x1>; bt_wake = <&pio PG 13 GPIO_ACTIVE_HIGH>; bt_hostwake = <&pio PG 14 GPIO_ACTIVE_HIGH>; status = "okay"; }; addr_mgt: addr_mgt@0 { compatible = "allwinner,sunxi-addr_mgt"; type_addr_wifi = <0x0>; type_addr_bt = <0x0>; type_addr_eth = <0x0>; status = "okay"; }; }; &sdc2 { non-removable; bus-width = <4>; mmc-ddr-1_8v; mmc-hs200-1_8v; no-sdio; no-sd; ctl-spec-caps = <0x308>; cap-mmc-highspeed; sunxi-power-save-mode; sunxi-dis-signal-vol-sw; mmc-bootpart-noacc; max-frequency = <150000000>; /*vmmc-supply = <®_dcdc1>;*/ /*emmc io vol 3.3v*/ /*vqmmc-supply = <®_aldo1>;*/ /*emmc io vol 1.8v*/ /*vqmmc-supply = <®_eldo1>;*/ status = "disabled"; }; &sdc0 { bus-width = <4>; cd-gpios = <&pio PF 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; /*non-removable;*/ /*broken-cd;*/ /*cd-inverted;*/ /*data3-detect;*/ /*card-pwr-gpios = <&pio PH 14 1 1 2 0xffffffff>;*/ cd-used-24M; cap-sd-highspeed; /*sd-uhs-sdr50;*/ /*sd-uhs-ddr50;*/ /*sd-uhs-sdr104;*/ no-sdio; no-mmc; sunxi-power-save-mode; /*sunxi-dis-signal-vol-sw;*/ max-frequency = <150000000>; ctl-spec-caps = <0x8>; /*vmmc-supply = <®_dcdc1>;*/ /*vqmmc33sw-supply = <®_dcdc1>;*/ /*vdmmc33sw-supply = <®_dcdc1>;*/ /*vqmmc18sw-supply = <®_eldo1>;*/ /*vdmmc18sw-supply = <®_eldo1>;*/ status = "okay"; }; &sdc1 { bus-width = <4>; no-mmc; no-sd; cap-sd-highspeed; /*sd-uhs-sdr12*/ /*sd-uhs-sdr25;*/ /*sd-uhs-sdr50;*/ sd-uhs-ddr50; /*sd-uhs-sdr104;*/ /*sunxi-power-save-mode;*/ /*sunxi-dis-signal-vol-sw;*/ cap-sdio-irq; keep-power-in-suspend; ignore-pm-notify; max-frequency = <150000000>; ctl-spec-caps = <0x8>; status = "okay"; }; /* tvd configuration used (create device, 0: do not create device, 1: create device) agc_auto_enable (0: agc manual mode,agc_manual_value is valid; 1: agc auto mode) agc_manual_value (agc manual value, default value is 64) cagc_enable (cagc 0: disable, 1: enable) fliter_used (3d fliter 0: disable, 1: enable) support two PMU power (tvd_power0, tvd_power1) support two GPIO power (tvd_gpio0, tvd_gpio1) NOTICE: If tvd need pmu power or gpio power,params need be configured under [tvd] tvd_sw (the switch of all tvd driver.) tvd_interface (0: cvbs, 1: ypbpr,) tvd_format (0:TVD_PL_YUV420 , 1: MB_YUV420, 2: TVD_PL_YUV422) tvd_system (0:ntsc, 1:pal) tvd_row (total row number in multi channel mode 1-2) tvd_column (total column number in multi channel mode 1-2) tvd_channelx_en (0:disable, 1~4:position in multi channel mode,In single channel mode,mean enable) tvd_row*tvd_column is the total tvd channel number to be used in multichannel mode +--------------------+--------------------+ | | | | | | | 1 | 2 | | | | | | | +--------------------+--------------------+ | | | | | | | 3 | 4 | | | | | | | +--------------------+--------------------+ */ &tvd { tvd_sw = <1>; tvd_interface = <0>; tvd_format = <0>; tvd_system = <1>; tvd_row = <1>; tvd_column = <1>; tvd_channel0_en = <1>; tvd_channel1_en = <0>; tvd_channel2_en = <0>; tvd_channel3_en = <0>; /*tvd_gpio0 = <&pio PD 22 GPIO_ACTIVE_HIGH>;*/ /*tvd_gpio1 = <&pio PD 23 GPIO_ACTIVE_HIGH>;*/ /*tvd_gpio2 = <&pio PD 24 GPIO_ACTIVE_HIGH>;*/ /* dc1sw-supply = <®_dc1sw>;*/ /* eldo3-supply = <®_eldo3>;*/ /*tvd_power0 = "dc1sw"*/ /*tvd_power1 = "eldo3"*/ }; &tvd0 { used = <1>; agc_auto_enable = <1>; agc_manual_value = <64>; cagc_enable = <1>; fliter_used = <1>; }; /* Audio Driver modules */ &sunxi_rpaf_dsp0 { status = "disabled"; }; /* if audiocodec is used, sdc0 and uart0 should be closed to enable PA. */ &codec { /* MIC and headphone gain setting */ mic1gain = <0x13>; mic2gain = <0x13>; mic3gain = <0x13>; /* ADC/DAC DRC/HPF func enabled */ /* 0x1:DAP_HP_EN; 0x2:DAP_SPK_EN; 0x3:DAP_HPSPK_EN */ adcdrc_cfg = <0x0>; adchpf_cfg = <0x1>; dacdrc_cfg = <0x0>; dachpf_cfg = <0x0>; /* Volume about */ digital_vol = <0x00>; lineout_vol = <0x1a>; headphonegain = <0x03>; /* Pa enabled about */ pa_level = <0x01>; pa_pwr_level = <0x01>; pa_msleep_time = <0x78>; /* gpio-spk = <&pio PF 2 GPIO_ACTIVE_HIGH>; */ /* gpio-spk-pwr = <&pio PF 4 GPIO_ACTIVE_HIGH>; */ /* regulator about */ /* avcc-supply = <®_aldo1>; */ /* hpvcc-supply = <®_eldo1>; */ status = "okay"; }; &sndcodec { hp_detect_case = <0x01>; jack_enable = <0x01>; status = "okay"; }; &dummy_cpudai { /* CMA config about */ playback_cma = <128>; capture_cma = <256>; status = "okay"; }; &dmic { pinctrl-names = "default","sleep"; pinctrl-0 = <&dmic_pins_a>; pinctrl-1 = <&dmic_pins_b>; status = "okay"; }; &sounddmic { status = "okay"; }; &dmic_codec { status = "okay"; }; /*----------------------------------------------------------------------------- * pcm_lrck_period 16/32/64/128/256 * (set 0x20 for HDMI audio out) * slot_width_select 16bits/20bits/24bits/32bits * (set 0x20 for HDMI audio out) * frametype 0 --> short frame = 1 clock width; * 1 --> long frame = 2 clock width; * tdm_config 0 --> pcm * 1 --> i2s * (set 0x01 for HDMI audio out) * mclk_div 0 --> not output * 1/2/4/6/8/12/16/24/32/48/64/96/128/176/192 * (set mclk as external codec clk source, freq is pll_audio/mclk_div) * pinctrl_used 0 --> I2S/PCM use for internal (e.g. HDMI) * 1 --> I2S/PCM use for external audio * daudio_type: 0 --> external audio type * 1 --> HDMI audio type *---------------------------------------------------------------------------*/ &daudio0 { mclk_div = <0x01>; frametype = <0x00>; tdm_config = <0x01>; sign_extend = <0x00>; msb_lsb_first = <0x00>; pcm_lrck_period = <0x80>; slot_width_select = <0x20>; pinctrl-names = "default", "sleep"; pinctrl-0 = <&daudio0_pins_a>; pinctrl-1 = <&daudio0_pins_b>; pinctrl_used = <0x0>; status = "disabled"; }; /*----------------------------------------------------------------------------- * simple-audio-card,name name of sound card, e.g. * "snddaudio0" --> use for external audio * "sndhdmi" --> use for HDMI audio * sound-dai "snd-soc-dummy" --> use for I2S * "hdmiaudio" --> use for HDMI audio * "ac108" --> use for external audio of ac108 *---------------------------------------------------------------------------*/ &sounddaudio0 { /* simple-audio-card,format = "i2s"; */ /* simple-audio-card,frame-master = <&daudio0_master>; */ /* simple-audio-card,bitclock-master = <&daudio0_master>; */ /* simple-audio-card,bitclock-inversion; */ /* simple-audio-card,frame-inversion; */ status = "disabled"; daudio0_master: simple-audio-card,codec { /* sound-dai = <&ac108>; */ }; }; &daudio1 { mclk_div = <0x01>; frametype = <0x00>; tdm_config = <0x01>; sign_extend = <0x00>; msb_lsb_first = <0x00>; pcm_lrck_period = <0x80>; slot_width_select = <0x20>; pinctrl-names = "default", "sleep"; pinctrl-0 = <&daudio1_pins_a>; pinctrl-1 = <&daudio1_pins_b>; pinctrl_used = <0x0>; status = "disabled"; }; &sounddaudio1 { status = "disabled"; daudio1_master: simple-audio-card,codec { /* sound-dai = <&ac108>; */ }; }; &daudio2 { mclk_div = <0x00>; frametype = <0x00>; tdm_config = <0x01>; sign_extend = <0x00>; tx_data_mode = <0x00>; rx_data_mode = <0x00>; msb_lsb_first = <0x00>; pcm_lrck_period = <0x20>; slot_width_select = <0x20>; asrc_function_en = <0x00>; pinctrl-names = "default", "sleep"; /*pinctrl-0 = <&daudio2_pins_a &daudio2_pins_b &daudio2_pins_c>;*/ /*pinctrl-1 = <&daudio2_pins_d>;*/ /* HDMI audio, no need pin */ pinctrl-0; pinctrl-1; pinctrl_used = <0x0>; daudio_type = <0x1>; status = "disabled"; }; /* if HDMI audio is used, daudio2 should be enable. */ &hdmiaudio { status = "disabled"; }; &sounddaudio2 { status = "disabled"; simple-audio-card,name = "sndhdmi"; daudio2_master: simple-audio-card,codec { sound-dai = <&hdmiaudio>; }; }; &spdif { pinctrl-names = "default","sleep"; pinctrl-0 = <&spdif_pins_a>; pinctrl-1 = <&spdif_pins_b>; status = "disabled"; }; &soundspdif { status = "disabled"; }; /* *usb_port_type: usb mode. 0-device, 1-host, 2-otg. *usb_detect_type: usb hotplug detect mode. 0-none, 1-vbus/id detect, 2-id/dpdm detect. *usb_detect_mode: 0-thread scan, 1-id gpio interrupt. *usb_id_gpio: gpio for id detect. *usb_det_vbus_gpio: gpio for id detect. gpio or "axp_ctrl"; *usb_wakeup_suspend:0-SUPER_STANDBY, 1-USB_STANDBY. */ &usbc0 { device_type = "usbc0"; usb_port_type = <0x2>; usb_detect_type = <0x1>; usb_detect_mode = <0>; usb_id_gpio = <&pio PB 8 GPIO_ACTIVE_HIGH>; /*unused */ enable-active-high; usb_det_vbus_gpio = <&pio PB 9 GPIO_ACTIVE_HIGH>;/*unused */ usb_wakeup_suspend = <0>; usb_serial_unique = <0>; usb_serial_number = "20080411"; rndis_wceis = <1>; status = "okay"; }; &ehci0 { drvvbus-supply = <®_usb1_vbus>; }; &ohci0 { drvvbus-supply = <®_usb1_vbus>; }; &usbc1 { device_type = "usbc1"; usb_regulator_io = "nocare"; usb_wakeup_suspend = <0>; status = "okay"; }; &ehci1 { drvvbus-supply = <®_usb1_vbus>; status = "okay"; }; &ohci1 { drvvbus-supply = <®_usb1_vbus>; status = "okay"; }; &twi0 { clock-frequency = <400000>; pinctrl-0 = <&twi0_pins_a>; pinctrl-1 = <&twi0_pins_b>; pinctrl-names = "default", "sleep"; status = "disabled"; eeprom@50 { compatible = "atmel,24c16"; reg = <0x50>; status = "disabled"; }; }; &twi1 { clock-frequency = <400000>; pinctrl-0 = <&twi1_pins_a>; pinctrl-1 = <&twi1_pins_b>; pinctrl-names = "default", "sleep"; dmas = <&dma 44>, <&dma 44>; dma-names = "tx", "rx"; status = "disabled"; }; &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"; /* pcf8574-usage: * only use gpio0~7, 0 means PP0. * pin set: * gpios = <&pcf8574 0 GPIO_ACTIVE_LOW>; * interrupt set: * interrupt-parent = <&pcf8574>; * interrupts = <0 IRQ_TYPE_EDGE_FALLING>; */ /* pcf8574: gpio@38 { compatible = "nxp,pcf8574"; reg = <0x38>; gpio_base = <2020>; gpio-controller; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; interrupt-parent = <&pio>; interrupts = <PB 2 IRQ_TYPE_EDGE_FALLING>; status = "disabled"; }; */ 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 = <0x1E0>; ctp_revert_x_flag = <0x0>; ctp_revert_y_flag = <0x0>; ctp_exchange_x_y_flag = <0x0>; ctp_int_port = <&pio PB 3 GPIO_ACTIVE_HIGH>; ctp_wakeup = <&pio PB 2 GPIO_ACTIVE_HIGH>; }; }; &twi3 { clock-frequency = <400000>; pinctrl-0 = <&twi3_pins_a>; pinctrl-1 = <&twi3_pins_b>; pinctrl-names = "default", "sleep"; dmas = <&dma 46>, <&dma 46>; dma-names = "tx", "rx"; status = "disabled"; }; &gmac0 { phy-mode = "rgmii"; use_ephy25m = <1>; pinctrl-0 = <&gmac_pins_a>; pinctrl-1 = <&gmac_pins_b>; pinctrl-names = "default", "sleep"; phy-rst = <&pio PE 16 GPIO_ACTIVE_HIGH>; tx-delay = <3>; /*2~4*/ rx-delay = <0>; status = "disabled"; }; &spi0 { clock-frequency = <100000000>; pinctrl-0 = <&spi0_pins_a &spi0_pins_b>; pinctrl-1 = <&spi0_pins_c>; pinctrl-names = "default", "sleep"; /*spi-supply = <®_dcdc1>;*/ spi_slave_mode = <0>; spi0_cs_number = <1>; spi0_cs_bitmap = <1>; status = "okay"; spi-nand@0 { compatible = "spi-nand"; spi-max-frequency=<0x5F5E100>; reg = <0x0>; spi-rx-bus-width=<0x04>; spi-tx-bus-width=<0x04>; status="okay"; }; }; /* &spi1 { clock-frequency = <100000000>; pinctrl-0 = <&spi1_pins_a &spi1_pins_b>; pinctrl-1 = <&spi1_pins_c>; pinctrl-names = "default", "sleep"; spi_slave_mode = <0>; status = "disabled"; spi_board1@0 { device_type = "spi_board1"; compatible = "rohm,dh2228fv"; spi-max-frequency = <0x5f5e100>; reg = <0x0>; spi-rx-bus-width = <0x4>; spi-tx-bus-width = <0x4>; status = "disabled"; }; }; */ &ledc { pinctrl-names = "default", "sleep"; pinctrl-0 = <&ledc_pins_a>; pinctrl-1 = <&ledc_pins_b>; led_count = <12>; output_mode = "GRB"; reset_ns = <84>; t1h_ns = <800>; t1l_ns = <320>; t0h_ns = <300>; t0l_ns = <800>; wait_time0_ns = <84>; wait_time1_ns = <84>; wait_data_time_ns = <600000>; status = "disabled"; }; &keyboard0 { key0 = <210 0x160>; wakeup-source; status = "disabled"; }; /*---------------------------------------------------------------------------------- disp init configuration disp_mode (0:screen0<screen0,fb0>) screenx_output_type (0:none; 1:lcd; 2:tv; 3:hdmi;5:vdpo) screenx_output_mode (used for hdmi output, 0:480i 1:576i 2:480p 3:576p 4:720p50) (5:720p60 6:1080i50 7:1080i60 8:1080p24 9:1080p50 10:1080p60) screenx_output_format (for hdmi, 0:RGB 1:yuv444 2:yuv422 3:yuv420) screenx_output_bits (for hdmi, 0:8bit 1:10bit 2:12bit 2:16bit) screenx_output_eotf (for hdmi, 0:reserve 4:SDR 16:HDR10 18:HLG) screenx_output_cs (for hdmi, 0:undefined 257:BT709 260:BT601 263:BT2020) screenx_output_dvi_hdmi (for hdmi, 0:undefined 1:dvi mode 2:hdmi mode) screen0_output_range (for hdmi, 0:default 1:full 2:limited) screen0_output_scan (for hdmi, 0:no data 1:overscan 2:underscan) screen0_output_aspect_ratio (for hdmi, 8-same as original picture 9-4:3 10-16:9 11-14:9) fbx format (4:RGB655 5:RGB565 6:RGB556 7:ARGB1555 8:RGBA5551 9:RGB888 10:ARGB8888 12:ARGB4444) fbx pixel sequence (0:ARGB 1:BGRA 2:ABGR 3:RGBA) fb0_scaler_mode_enable(scaler mode enable, used FE) fbx_width,fbx_height (framebuffer horizontal/vertical pixels, fix to output resolution while equal 0) lcdx_backlight (lcd init backlight,the range:[0,256],default:197 lcdx_yy (lcd init screen bright/contrast/saturation/hue, value:0~100, default:50/50/57/50) lcd0_contrast (LCD contrast, 0~100) lcd0_saturation (LCD saturation, 0~100) lcd0_hue (LCD hue, 0~100) framebuffer software rotation setting: disp_rotation_used: (0:disable; 1:enable,you must set fbX_width to lcd_y, set fbX_height to lcd_x) degreeX: (X:screen index; 0:0 degree; 1:90 degree; 3:270 degree) degreeX_Y: (X:screen index; Y:layer index 0~15; 0:0 degree; 1:90 degree; 3:270 degree) devX_output_type : config output type in bootGUI framework in UBOOT-2018. (0:none; 1:lcd; 2:tv; 4:hdmi;) devX_output_mode : config output resolution(see include/video/sunxi_display2.h) of bootGUI framework in UBOOT-2018 devX_screen_id : config display index of bootGUI framework in UBOOT-2018 devX_do_hpd : whether do hpd detectation or not in UBOOT-2018 chn_cfg_mode : Hardware DE channel allocation config. 0:single display with 6 channel, 1:dual display with 4 channel in main display and 2 channel in second display, 2:dual display with 3 channel in main display and 3 channel in second in display. ----------------------------------------------------------------------------------*/ &disp { disp_init_enable = <1>; disp_mode = <0>; screen0_output_type = <1>; screen0_output_mode = <4>; screen1_output_type = <3>; screen1_output_mode = <10>; screen1_output_format = <0>; screen1_output_bits = <0>; screen1_output_eotf = <4>; screen1_output_cs = <257>; screen1_output_dvi_hdmi = <2>; screen1_output_range = <2>; screen1_output_scan = <0>; screen1_output_aspect_ratio = <8>; dev0_output_type = <1>; dev0_output_mode = <4>; dev0_screen_id = <0>; dev0_do_hpd = <0>; dev1_output_type = <4>; dev1_output_mode = <10>; dev1_screen_id = <1>; dev1_do_hpd = <1>; def_output_dev = <0>; hdmi_mode_check = <1>; fb0_format = <0>; fb0_width = <0>; fb0_height = <0>; fb1_format = <0>; fb1_width = <0>; fb1_height = <0>; chn_cfg_mode = <1>; disp_para_zone = <1>; /*VCC-LCD*/ /* dc1sw-supply = <®_dc1sw>;*/ /*VCC-DSI*/ /* eldo3-supply = <®_eldo3>;*/ /*VCC-PD*/ /* dcdc1-supply = <®_dcdc1>;*/ }; /*---------------------------------------------------------------------------------- ;lcd0 configuration ;lcd_if: 0:hv(sync+de); 1:8080; 2:ttl; 3:lvds; 4:dsi; 5:edp; 6:extend dsi ;lcd_hv_if 0:Parallel RGB; 8:Serial RGB; 10:Dummy RGB; 11: RGB Dummy;12:CCIR656 ;lcd_hv_clk_phase 0:0 degree;1:90 degree;2:180 degree;3:270 degree ;lcd_hv_sync_polarity 0:vs low,hs low; 1:vs high,hslow; 2:vs low,hs high; 3:vs high,hs high ;lcd_hv_syuv_seq 0:YUYV; 1:YVYU; 2:UYVY; 3:VYUY ;lcd_cpu_if 0:18bit/1 cycle parallel(RGB666); 4:16bit/1cycle parallel (RGB565) ; 6:18bit/3 cycle parallel(RGB666); 7:16bit/2cycle parallel (RGB565) ;lcd_cpu_te 0:frame auto trigger; 1:frame triggered by te rising edge; 2:frame triggered by te falling edge; ;lcd_dsi_if 0:video mode; 1: Command mode; 2:video burst mode ;lcd_dsi_te 0:frame auto trigger; 1:frame triggered by te rising edge; 2:frame triggered by te falling edge; ;lcd_x: lcd horizontal resolution ;lcd_y: lcd vertical resolution ;lcd_width: width of lcd in mm ;lcd_height: height of lcd in mm ;lcd_dclk_freq: in MHZ unit ;lcd_pwm_freq: in HZ unit ;lcd_pwm_pol: lcd backlight PWM polarity ;lcd_pwm_max_limit lcd backlight PWM max limit(<=255) ;lcd_hbp: hsync back porch(pixel) + hsync plus width(pixel); ;lcd_ht: hsync total cycle(pixel) ;lcd_vbp: vsync back porch(line) + vysnc plus width(line) ;lcd_vt: vysnc total cycle(line) ;lcd_hspw: hsync plus width(pixel) ;lcd_vspw: vysnc plus width(pixel) ;lcd_lvds_if: 0:single link; 1:dual link ;lcd_lvds_colordepth: 0:8bit; 1:6bit ;lcd_lvds_mode: 0:NS mode; 1:JEIDA mode ;lcd_frm: 0:disable; 1:enable rgb666 dither; 2:enable rgb656 dither ;lcd_io_phase: 0:noraml; 1:intert phase(0~3bit: vsync phase; 4~7bit:hsync phase; ; 8~11bit:dclk phase; 12~15bit:de phase) ;lcd_gamma_en lcd gamma correction enable ;lcd_bright_curve_en lcd bright curve correction enable ;lcd_cmap_en lcd color map function enable ;deu_mode 0:smoll lcd screen; 1:large lcd screen(larger than 10inch) ;lcdgamma4iep: Smart Backlight parameter, lcd gamma vale * 10; ; decrease it while lcd is not bright enough; increase while lcd is too bright ;smart_color 90:normal lcd screen 65:retina lcd screen(9.7inch) ;Pin setting for special function ie.LVDS, RGB data or vsync ; name(donot care) = port:PD12<pin function><pull up or pull down><drive ability><output level> ;Pin setting for gpio: ; lcd_gpio_X = port:PD12<pin function><pull up or pull down><drive ability><output level> ;Pin setting for backlight enable pin ; lcd_bl_en = port:PD12<pin function><pull up or pull down><drive ability><output level> ;fsync setting, pulse to csi ;lcd_fsync_en (0:disable fsync,1:enable) ;lcd_fsync_act_time (active time of fsync, unit:pixel) ;lcd_fsync_dis_time (disactive time of fsync, unit:pixel) ;lcd_fsync_pol (0:positive;1:negative) ;gpio config: <&pio for cpu or &r_pio for cpus, port, port num, pio function, pull up or pull down(default 0), driver level(default 1), data> ;For dual link lvds: use lvds2link_pins_a and lvds2link_pins_b instead ;For rgb24: use rgb24_pins_a and rgb24_pins_b instead ;For lvds1: use lvds1_pins_a and lvds1_pins_b instead ;For lvds0: use lvds0_pins_a and lvds0_pins_b instead ;----------------------------------------------------------------------------------*/ &lcd0 { lcd_used = <1>; lcd_driver_name = "default_lcd"; lcd_backlight = <50>; lcd_if = <4>; lcd_x = <480>; lcd_y = <800>; lcd_width = <81>; lcd_height = <34>; lcd_pwm_used = <1>; lcd_pwm_ch = <2>; lcd_pwm_freq = <1000>; lcd_pwm_pol = <0>; lcd_pwm_max_limit = <255>; lcd_dclk_freq = <31>; lcd_hbp = <120>; lcd_ht = <624>; lcd_hspw = <48>; lcd_vbp = <28>; lcd_vt = <908>; lcd_vspw = <12>; lcd_dsi_if = <0>; lcd_dsi_lane = <4>; deu_mode = <0>; lcdgamma4iep = <22>; smart_color = <90>; pinctrl-0 = <&dsi4lane_pins_a>; pinctrl-1 = <&dsi4lane_pins_b>; }; /* &lcd0 { // part 1 lcd_used = <1>; lcd_driver_name = "default_lcd"; // part 2 lcd_if = <4>; lcd_dsi_if = <0>; //lcd_hv_if = <0>; // part 3 lcd_width = <81>; lcd_height = <34>; lcd_x = <480>; lcd_y = <800>; lcd_dclk_freq = <31>; lcd_hbp = <72>; lcd_ht = <624>; lcd_hspw = <48>; lcd_vbp = <18>; lcd_vt = <831>; lcd_vspw = <12>; // part 4 //lcd_backlight = <10>; lcd_pwm_used = <0>; //lcd_pwm_ch = <8>; //lcd_pwm_freq = <10000>; //lcd_pwm_pol = <1>; //lcd_bl_en = <&pio PD 27 1 0 3 1>; //lcd_bright_curve_en = <0>; // part 5 lcd_dsi_lane = <2>; lcd_dsi_format = <0>; lcd_dsi_te = <0>; lcd_frm = <0>; //lcd_io_phase = <0x0000>; lcd_gamma_en = <0>; lcd_cmap_en = <0>; //lcd_hv_clk_phase = <0>; //lcd_hv_sync_polarity= <0>; // part 6 lcd_power = "vcc-lcd"; lcd_pin_power = "vcc-pd"; pinctrl-0 = <&dsi2lane_pins_a>; pinctrl-1 = <&dsi2lane_pins_b>; }; */ /* &lcd0 { // part 1 lcd_used = <1>; lcd_driver_name = "default_lcd"; // part 2 lcd_if = <0>; lcd_hv_if = <0>; // part 3 lcd_width = <150>; lcd_height = <94>; lcd_x = <800>; lcd_y = <480>; lcd_dclk_freq = <33>; lcd_hbp = <46>; lcd_ht = <1055>; lcd_hspw = <0>; lcd_vbp = <23>; lcd_vt = <525>; lcd_vspw = <0>; // part 4 lcd_backlight = <10>; lcd_pwm_used = <1>; lcd_pwm_ch = <8>; lcd_pwm_freq = <10000>; lcd_pwm_pol = <1>; lcd_bl_en = <&pio PD 27 1 0 3 1>; lcd_bright_curve_en = <0>; // part 5 lcd_frm = <1>; lcd_io_phase = <0x0000>; lcd_gamma_en = <0>; lcd_cmap_en = <0>; lcd_hv_clk_phase = <0>; lcd_hv_sync_polarity= <0>; // part 6 lcd_power = "vcc-lcd"; lcd_pin_power = "vcc-pd"; pinctrl-0 = <&rgb18_pins_a>; pinctrl-1 = <&rgb18_pins_b>; }; */ &hdmi { hdmi_used = <1>; hdmi_power_cnt = <0>; hdmi_cts_compatibility = <1>; hdmi_hdcp_enable = <1>; hdmi_hdcp22_enable = <0>; hdmi_cec_support = <1>; hdmi_cec_super_standby = <0>; ddc_en_io_ctrl = <0>; power_io_ctrl = <0>; }; /* &pwm0 { pinctrl-names = "active", "sleep"; pinctrl-0 = <&pwm0_pin_a>; pinctrl-1 = <&pwm0_pin_b>; status = "okay"; }; &pwm2 { pinctrl-names = "active", "sleep"; pinctrl-0 = <&pwm2_pin_a>; pinctrl-1 = <&pwm2_pin_b>; status = "okay"; }; */ /* &pwm7 { pinctrl-names = "active", "sleep"; pinctrl-0 = <&pwm7_pin_a>; pinctrl-1 = <&pwm7_pin_b>; status = "okay"; }; */ &rtp { allwinner,tp-sensitive-adjust = <0xf>; allwinner,filter-type = <0x1>; allwinner,ts-attached; status = "okay"; }; &gpadc { channel_num = <2>; channel_select = <3>; channel_data_select = <3>; channel_compare_select = <3>; channel_cld_select = <3>; channel_chd_select = <3>; channel0_compare_lowdata = <1700000>; channel0_compare_higdata = <1200000>; channel1_compare_lowdata = <460000>; channel1_compare_higdata = <1200000>; status = "disabled"; }; &s_cir0 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&s_cir0_pins_a>; pinctrl-1 = <&s_cir0_pins_b>; status = "disabled"; }; &ir1 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&ir1_pins_a>; pinctrl-1 = <&ir1_pins_b>; status = "disabled"; };
-
回复: D1s麻雀 关闭uboot的显示(#CONFIG_DISP2_SUNXI=y)后,内核dts不改动,lcd的data引脚就没有输出了
root@TinaLinux:/# [404]HELLO! BOOT0 is starting! [406]BOOT0 commit : 27369ab [409]set pll start [411]periph0 has been enabled [414]set pll end [415][pmu]: bus read error [418]board init ok [420]ZQ value = 0x2e*********** [423]get_pmu_exist() = -1 [425]ddr_efuse_type: 0xa [428][AUTO DEBUG] single rank and full DQ! [432]ddr_efuse_type: 0xa [435][AUTO DEBUG] rank 0 row = 13 [438][AUTO DEBUG] rank 0 bank = 4 [441][AUTO DEBUG] rank 0 page size = 2 KB [445]DRAM BOOT DRIVE INFO: V0.24 [448]DRAM CLK = 528 MHz [450]DRAM Type = 2 (2:DDR2,3:DDR3) [454]DRAMC read ODT off. [456]DRAM ODT off. [458]ddr_efuse_type: 0xa [461]DRAM SIZE =64 M [464]DRAM simple test OK. [467]dram size =64 [469]card no is 0 [470]sdcard 0 line count 4 [473][mmc]: mmc driver ver 2021-04-2 16:45 [482][mmc]: Wrong media type 0x0 [485][mmc]: ***Try SD card 0*** [494][mmc]: HSSDR52/SDR25 4 bit [497][mmc]: 50000000 Hz [499][mmc]: 3796 MB [501][mmc]: ***SD/MMC 0 init OK!!!*** [540]Loading boot-pkg Succeed(index=0). [544]Entry_name = opensbi [547]Entry_name = u-boot [550]Entry_name = dtb [553]mmc not para [555]Jump to second Boot. OpenSBI v0.6 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : T-HEAD Xuantie Platform Platform HART Features : RV64ACDFIMSUVX Platform Max HARTs : 1 Current Hart : 0 Firmware Base : 0x40000400 Firmware Size : 75 KB Runtime SBI Version : 0.2 MIDELEG : 0x0000000000000222 MEDELEG : 0x000000000000b1ff PMP0 : 0x0000000040000000-0x000000004001ffff (A) PMP1 : 0x0000000040000000-0x000000007fffffff (A,R,W,X) PMP2 : 0x0000000000000000-0x0000000007ffffff (A,R,W) PMP3 : 0x0000000009000000-0x000000000901ffff (A,R,W) PMP4 : 0x0000000010000000-0x0000000017ffffff (A,R,W) [ 0.000000] OF: fdt: Ignoring memory range 0x40000000 - 0x40200000 [ 0.000000] Linux version 5.4.61 (root@wjp) (riscv64-unknown-linux-gnu-gcc (C-SKY RISCV Tools V1.8.4 B20200702) 8.1.0, GNU ld (GNU Binutils) 2.32) #79 PREEMPT Thu Feb 16 08:48:45 UTC 2023 [ 0.000000] cma: Reserved 8 MiB at 0x0000000043800000 [ 0.000000] Zone ranges: [ 0.000000] DMA32 [mem 0x0000000040200000-0x0000000043ffffff] [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000040200000-0x0000000043ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000040200000-0x0000000043ffffff] [ 0.000000] On node 0 totalpages: 15872 [ 0.000000] DMA32 zone: 217 pages used for memmap [ 0.000000] DMA32 zone: 0 pages reserved [ 0.000000] DMA32 zone: 15872 pages, LIFO batch:3 [ 0.000000] elf_hwcap is 0x20112d [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 15655 [ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500c00 clk_ignore_unused initcall_debug=0 console=ttyS3,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:dsp0@mmcblk0p6:recovery@mmcblk0p7:rootfs_data@mmcblk0p8:UDISK@mmcblk0p9 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g0a88ac9-dirty(02/1 [ 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: 43648K/63488K available (6131K kernel code, 657K rwdata, 2113K rodata, 196K init, 252K bss, 11648K reserved, 8192K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 [ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. [ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] [ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000007] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000027] riscv_timer_clockevent depends on broadcast, but no broadcast function available [ 0.000366] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.001006] Console: colour dummy device 80x25 [ 0.001054] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.001074] pid_max: default: 32768 minimum: 301 [ 0.001282] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.001301] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.003375] ASID allocator initialised with 65536 entries [ 0.003580] rcu: Hierarchical SRCU implementation. [ 0.004304] devtmpfs: initialized [ 0.016091] random: get_random_u32 called from bucket_table_alloc.isra.31+0x4e/0x15e with crng_init=0 [ 0.017193] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.017227] futex hash table entries: 256 (order: 0, 6144 bytes, linear) [ 0.017775] pinctrl core: initialized pinctrl subsystem [ 0.019261] NET: Registered protocol family 16 [ 0.021482] DMA: preallocated 256 KiB pool for atomic allocations [ 0.022200] cpuidle: using governor menu [ 0.064090] rtc_ccu: sunxi ccu init OK [ 0.071866] clock: sunxi ccu init OK [ 0.072980] clock: sunxi ccu init OK [ 0.114150] iommu: Default domain type: Translated [ 0.114373] sunxi iommu: irq = 4 [ 0.115585] SCSI subsystem initialized [ 0.115966] usbcore: registered new interface driver usbfs [ 0.116079] usbcore: registered new interface driver hub [ 0.116209] usbcore: registered new device driver usb [ 0.116395] mc: Linux media interface: v0.10 [ 0.116459] videodev: Linux video capture interface: v2.00 [ 0.117724] sunxi-msgbox-amp 3003000.msgbox: invalid resource [ 0.118487] Advanced Linux Sound Architecture Driver Initialized. [ 0.119124] Bluetooth: Core ver 2.22 [ 0.119217] NET: Registered protocol family 31 [ 0.119229] Bluetooth: HCI device and connection manager initialized [ 0.119254] Bluetooth: HCI socket layer initialized [ 0.119269] Bluetooth: L2CAP socket layer initialized [ 0.119309] Bluetooth: SCO socket layer initialized [ 0.119652] pwm module init! [ 0.121413] g2d 5410000.g2d: Adding to iommu group 0 [ 0.121975] G2D: rcq version initialized.major:250 [ 0.123638] clocksource: Switched to clocksource riscv_clocksource [ 0.136837] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver [ 0.155119] thermal_sys: Registered thermal governor 'step_wise' [ 0.155125] thermal_sys: Registered thermal governor 'user_space' [ 0.155714] NET: Registered protocol family 2 [ 0.156615] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.156665] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.156685] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.156701] TCP: Hash tables configured (established 512 bind 512) [ 0.156876] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.156924] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.157179] NET: Registered protocol family 1 [ 0.158538] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator [ 0.159173] spi spi0: spi0 supply spi not found, using dummy regulator [ 0.159417] sunxi_spi_resource_get()2062 - [spi0] SPI MASTER MODE [ 0.159528] sunxi_spi_clk_init()2138 - [spi0] mclk 100000000 [ 0.160327] sunxi_spi_probe()2542 - [spi0]: driver probe succeed, base ffffffd00405e000, irq 31 [ 0.162456] Initialise system trusted keyrings [ 0.162706] workingset: timestamp_bits=62 max_order=14 bucket_order=0 [ 0.170866] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.192177] Key type asymmetric registered [ 0.192195] Asymmetric key parser 'x509' registered [ 0.192223] io scheduler mq-deadline registered [ 0.192232] io scheduler kyber registered [ 0.192255] atomic64_test: passed [ 0.193698] [DISP]disp_module_init [ 0.194328] disp 5000000.disp: Adding to iommu group 0 [ 0.237181] display_fb_request,fb_id:0 [ 0.251109] [DISP] Fb_copy_boot_fb,line:1444: [ 0.251113] no boot_fb0 [ 0.251628] disp_al_manager_apply ouput_type:0 [ 0.252049] [DISP] lcd_clk_config,line:731: [ 0.252063] disp 0, clk: pll(186000000),clk(186000000),dclk(31000000) dsi_rate(31000000) [ 0.252063] clk real:pll(288000000),clk(288000000),dclk(72000000) dsi_rate(150000000) [ 0.253304] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator [ 0.254079] [DISP]disp_module_init finish [ 0.255036] sunxi_sid_init()506 - insmod ok [ 0.263041] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator [ 0.263531] uart uart0: get regulator failed [ 0.263562] uart uart0: uart0 supply uart not found, using dummy regulator [ 0.264020] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI [ 0.264918] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator [ 0.265438] uart uart3: get regulator failed [ 0.265469] uart uart3: uart3 supply uart not found, using dummy regulator [ 0.265846] uart3: ttyS3 at MMIO 0x2500c00 (irq = 21, base_baud = 1500000) is a SUNXI [ 0.265878] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n [ 0.454781] platform 2000c12.pwm2: pinctrl_get failed! [ 0.454803] [DISP] disp_device_attached_and_enable,line:233: [ 0.454808] attached ok, mgr0<-->dev0 [ 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:8 [ 1.117864] printk: console [ttyS3] enabled [ 1.123819] misc dump reg init [ 1.128144] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 [ 1.135401] sunxi-rfkill soc@3000000:rfkill@0: devm_pinctrl_get() failed! [ 1.142982] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed [ 1.150304] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed [ 1.157724] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) [ 1.164265] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. [ 1.171196] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1 [ 1.179072] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 [ 1.187214] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled [ 1.194911] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. [ 1.201660] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=207 assert=0 [ 1.209847] [ADDR_MGT] addr_mgt_probe: module version: v1.0.9 [ 1.217514] [ADDR_MGT] addr_mgt_probe: success. [ 1.223635] sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 [ 1.230884] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 [ 1.245774] random: fast init done [ 1.611514] random: crng init done [ 2.233772] sunxi-spinand-phy: read id failed : -110 [ 2.239345] spi-nand: probe of spi0.0 failed with error -110 [ 2.246210] libphy: Fixed MDIO Bus: probed [ 2.250783] CAN device driver interface [ 2.255457] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.262741] sunxi-ehci: EHCI SUNXI driver [ 2.267805] get ehci0-controller wakeup-source is fail. [ 2.273804] sunxi ehci0-controller don't init wakeup source [ 2.280026] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe00090f3a8, 0x:ffffffd004076000, irq_no:2e [ 2.293539] [sunxi-ehci0]: Not init ehci0 [ 2.298436] get ehci1-controller wakeup-source is fail. [ 2.304435] sunxi ehci1-controller don't init wakeup source [ 2.310658] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe00090f768, 0x:ffffffd00407a000, irq_no:31 [ 2.324201] hci: sunxi_insmod_ehci()600 WARN: get supply failed [ 2.330845] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller [ 2.338108] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 [ 2.347985] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 [ 2.383685] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 [ 2.392605] hub 1-0:1.0: USB hub found [ 2.396959] hub 1-0:1.0: 1 port detected [ 2.402257] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 2.409285] sunxi-ohci: OHCI SUNXI driver [ 2.414391] get ohci0-controller wakeup-source is fail. [ 2.420367] sunxi ohci0-controller don't init wakeup source [ 2.426647] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe00090fee8 [ 2.437055] [sunxi-ohci0]: Not init ohci0 [ 2.441918] get ohci1-controller wakeup-source is fail. [ 2.447927] sunxi ohci1-controller don't init wakeup source [ 2.454193] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0009102a8 [ 2.464641] hci: sunxi_insmod_ohci()265 WARN: get supply failed [ 2.471289] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller [ 2.478556] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 [ 2.488441] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 [ 2.568747] hub 2-0:1.0: USB hub found [ 2.572996] hub 2-0:1.0: 1 port detected [ 2.578654] usbcore: registered new interface driver uas [ 2.584882] usbcore: registered new interface driver usb-storage [ 2.591657] usbcore: registered new interface driver ums-alauda [ 2.598435] usbcore: registered new interface driver ums-cypress [ 2.605270] usbcore: registered new interface driver ums-datafab [ 2.612035] usbcore: registered new interface driver ums_eneub6250 [ 2.619054] usbcore: registered new interface driver ums-freecom [ 2.625885] usbcore: registered new interface driver ums-isd200 [ 2.632581] usbcore: registered new interface driver ums-jumpshot [ 2.639510] usbcore: registered new interface driver ums-karma [ 2.646148] usbcore: registered new interface driver ums-onetouch [ 2.653032] usbcore: registered new interface driver ums-realtek [ 2.659865] usbcore: registered new interface driver ums-sddr09 [ 2.666599] usbcore: registered new interface driver ums-sddr55 [ 2.673290] usbcore: registered new interface driver ums-usbat [ 2.680341] mousedev: PS/2 mouse device common for all mice [ 2.687422] ts probe start [ 2.687846] input: 2009c00.rtp as /devices/platform/soc@3000000/2009c00.rtp/input/input0 [ 2.700494] ts probe success [ 2.700920] sunxi_gpadc_init,1968, success [ 2.709571] sunxi-rtc 7090000.rtc: errata__fix_alarm_day_reg_default_value(): ALARM0_DAY_REG=0, set it to 1 [ 2.721919] sunxi-rtc 7090000.rtc: registered as rtc0 [ 2.727724] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:00:04 UTC (4) [ 2.736626] sunxi-rtc 7090000.rtc: sunxi rtc probed [ 2.742464] i2c /dev entries driver [ 2.746549] IR NEC protocol handler initialized [ 2.751600] IR RC5(x/sz) protocol handler initialized [ 2.757273] IR RC6 protocol handler initialized [ 2.762325] IR JVC protocol handler initialized [ 2.767397] IR Sony protocol handler initialized [ 2.772545] IR SANYO protocol handler initialized [ 2.777812] IR Sharp protocol handler initialized [ 2.783056] IR MCE Keyboard/mouse protocol handler initialized [ 2.789579] IR XMP protocol handler initialized [ 2.794648] ir_imon_decoder: IR iMON protocol handler initialized [ 2.801440] IR RCMM protocol handler initialized [ 2.807318] sunxi cedar version 1.1 [ 2.811491] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 [ 2.817798] VE: install start!!! [ 2.817798] [ 2.823345] VE: cedar-ve the get irq is 6 [ 2.823345] [ 2.829746] VE: ve_debug_proc_info:000000003244b3da, data:000000003d5aa67a, lock:000000000fa1de3a [ 2.829746] [ 2.841338] VE: install end!!! [ 2.841338] [ 2.847874] sunxi-wdt 6011000.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 2.857064] Bluetooth: HCI UART driver ver 2.3 [ 2.862025] Bluetooth: HCI UART protocol H4 registered [ 2.867805] Bluetooth: HCI UART protocol BCSP registered [ 2.873755] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 [ 2.881041] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 [ 2.887488] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 [ 2.894075] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! [ 2.894075] [ 2.902711] [XR_BT_LPM] bluesleep_probe: uart_index(1) [ 2.911772] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.19 2021-03-24 19:50) [ 2.921793] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 [ 2.928020] sunxi-mmc 4020000.sdmmc: No vmmc regulator found [ 2.934365] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found [ 2.940772] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found [ 2.947211] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found [ 2.953746] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found [ 2.960251] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found [ 2.966786] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found [ 2.973854] sunxi-mmc 4020000.sdmmc: Got CD GPIO [ 2.979337] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail [ 2.986031] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.997186] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator [ 3.017340] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.041794] sunxi-mmc 4020000.sdmmc: detmode:gpio irq [ 3.047520] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.059796] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.19 2021-03-24 19:50) [ 3.069939] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 [ 3.076199] sunxi-mmc 4021000.sdmmc: No vmmc regulator found [ 3.082560] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found [ 3.089032] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.100617] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found [ 3.107060] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found [ 3.113563] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found [ 3.120212] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found [ 3.126786] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found [ 3.133368] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed [ 3.142437] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.154945] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.166161] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 3.175112] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.186713] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.211032] sunxi-mmc 4021000.sdmmc: detmode:manually by software [ 3.218740] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 3.226377] usbcore: registered new interface driver usbhid [ 3.232645] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 3.239558] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.251187] usbhid: USB HID core driver [ 3.257835] usbcore: registered new interface driver snd-usb-audio [ 3.264908] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.276527] mmc0: host does not support reading read-only switch, assuming write-enable [ 3.288389] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator [ 3.301352] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 3.312819] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 3.319858] [AUDIOCODEC][sunxi_codec_parse_params][2094]:digital_vol:0, lineout_vol:26, mic1gain:19, mic2gain:19 pa_msleep:120, pa_level:1, pa_pwr_level:1 [ 3.319858] [ 3.336950] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 3.343876] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 3.355531] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 3.362330] [AUDIOCODEC][sunxi_codec_parse_params][2130]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 [ 3.373211] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 3.380005] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 3.391280] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B [ 3.403618] [AUDIOCODEC][sunxi_internal_codec_probe][2266]:codec probe finished [ 3.411968] mmc0: new high speed SDHC card at address 1234 [ 3.419606] sid_rd_ver_reg()254 - ver >= 4, soc ver:5 [ 3.426802] mmcblk0: mmc0:1234 SA04G 3.71 GiB [ 3.433953] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! [ 3.444309] [SNDCODEC][sunxi_card_init][583]:card init finished [ 3.452726] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok [ 3.462817] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 [ 3.469529] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input1 [ 3.485144] [SNDCODEC][sunxi_card_dev_probe][832]:register card finished [ 3.493421] rpmsg_hifi 3003000.msgbox.sunxi,dsp-msgbox.514.258: id:sunxi,dsp-msgbox new channel: 0x202 -> 0x102! [ 3.505084] rpmsg_hifi 3003000.msgbox.sunxi,dsp-msgbox.514.258: rpmsg hifi[0] client driver is probed [ 3.517280] NET: Registered protocol family 10 [ 3.523877] Segment Routing with IPv6 [ 3.528169] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 3.535782] NET: Registered protocol family 17 [ 3.540825] can: controller area network core (rev 20170425 abi 9) [ 3.547942] NET: Registered protocol family 29 [ 3.552914] can: raw protocol (rev 20170425) [ 3.557718] can: broadcast manager protocol (rev 20170425 t) [ 3.564070] can: netlink gateway (rev 20190810) max_hops=1 [ 3.570551] Bluetooth: RFCOMM TTY layer initialized [ 3.576155] Bluetooth: RFCOMM socket layer initialized [ 3.581921] Bluetooth: RFCOMM ver 1.11 [ 3.587384] Loading compiled-in X.509 certificates [ 3.595545] HDMI 2.0 driver init start! [ 3.599842] boot_hdmi=false [ 3.603023] ERROR: pinctrl_get for HDMI2.0 DDC fail [ 3.610211] HDMI2.0 module init end [ 3.637415] twi twi2: twi2 supply twi not found, using dummy regulator [ 3.651034] sunxi_i2c_probe()2262 - [i2c2] probe success [ 3.660552] debugfs: Directory '2031000.dmic' with parent 'snddmic' already present! [ 3.671151] sunxi-audio-card 2031060.sounddmic: dmic-hifi <-> 2031000.dmic mapping ok [ 3.683260] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 3.694528] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 3.702010] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 3.711852] clk: Not disabling unused clocks [ 3.716705] cfg80211: failed to load regulatory.db [ 3.722145] ALSA device list: [ 3.725631] #0: audiocodec [ 3.728844] #1: snddmic [ 3.731773] alloc_fd: slot 0 not NULL! [ 3.749031] VFS: Mounted root (squashfs filesystem) readonly on device 179:5. [ 3.767611] devtmpfs: mounted [ 3.771175] Freeing unused kernel memory: 196K [ 3.776184] This architecture does not have kernel memory protection. [ 3.783369] Run /pseudo_init as init process [ 4.172483] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 mount: mounting none on /dev failed: Device or resource busy [ 5.962324] EXT4-fs: Warning: mounting with data=journal disables delayed allocation and O_DIRECT support! [ 5.980060] EXT4-fs (mmcblk0p8): mounted filesystem with journalled data mode. Opts: data=journal can't run '/etc/preinit': No such file or directory mount: mounting proc on /proc failed: Device or resource busy hostname: can't open '/etc/hostname': No such file or directory ------run rc.preboot file----- [ 6.405868] EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: (null) ------run rc.modules file----- ------run rc.final file----- Load mpp modules ifconfig: SIOCGIFFLAGS: No such device [ 6.829656] file system registered Failed to find videobuf2-core. Maybe it is a built in module ? [ 7.136181] read descriptors [ 7.139413] read strings Failed to find videobuf2-dma-contig. Maybe it is a built in module ? Failed to find videobuf2-v4l2. Maybe it is a built in module ? Failed to find vin_io. Maybe it is a built in module ? Failed to find imx386_mipi. Maybe it is a built in module ? Failed to find vin_v4l2. Maybe it is a built in module ? Failed to find sunxi_aio. Maybe it is a built in module ? Failed to find sunxi_eise. Maybe it is a built in module ? Starting logging: [ 7.343730] [ 7.343730] insmod_device_driver [ 7.343730] start-stop-daemon: unrecognized option '--exec' BusyBox v1.27.2 () multi-call binary. Usage: start-stop-daemon [OPTIONS] [-S|-K] ... [-- ARGS...] Search for matching processes, and then -K: stop all matching processes. -S: start a process unless a matching process is found. Process matching: -u USERNAME|UID Match only this user's processes -n NAME Match processes with NAME in comm field in /proc/PID/stat -x EXECUTABLE Match processes with this command command in /proc/PID/cmdline -p FILE Match a process with PID from the file All specified conditions must match -S only: -x EXECUTABLE Program to run -a NAME Zeroth argument -b Background -c USER[:[GRP]] Change to user/group -m Write PID to the pidfile specified by -p -K only: -s SIG Signal to send -t Match only, exit with 0 if a process is found Other: -q Quiet start-stop-daemon: unrecognized option '--exec' [ 7.513747] hdmi_hpd_sys_config_release BusyBox v1.27.2 () multi-call binary. Usage: start-stop-daemon [OPTIONS] [-S|-K] ... [-- ARGS...] Search for matching processes, and then -K: stop all matching processes. -S: start a process unless a matching process is found. Process matching: -u USERNAME|UID Match only this user's processes -n NAME Match processes with NAME in comm field in /proc/PID/stat -x EXECUTABLE Match processes with this command command in /proc/PID/cmdline -p FILE Match a process with PID from the file All specified conditions must match -S only: -x EXECUTABLE Program to run -a NAME Zeroth argument -b Background -c USER[:[GRP]] Change to user/group -m Write PID to the pidfile specified by -p -K only: -s SIG Signal to send -t Match only, exit with 0 if a process is found Other: -q Quiet OK mkdir: can't create directory '/dev/pts': File exists mkdir: can't create directory '/dev/shm': File exists Initializing random number generator... done. Starting network: Failed to connect to ubus /sbin/ifup: line 51: /sbin/wifi: not found FAIL ifconfig: invalid hw-addr 00: udhcpc: SIOCGIFINDEX: No such device Starting telnetd: OK enable android usb Failed to find sunxi_usb_udc. Maybe it is a built in module ? Failed to find sunxi_usbc. Maybe it is a built in module ? mount: mounting none on /sys/kernel/config failed: Device or resource busy mkdir: can't create directory '/sys/kernel/config/usb_gadget/g1': File exists mkdir: can't create directory '/sys/kernel/config/usb_gadget/g1/strings/0x409': File exists mkdir: can't create directory '/sys/kernel/config/usb_gadget/g1/functions/uvc.usb0': No such file or directory mkdir: can't create directory '/sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/': No such file or directory /etc/init.d/S50usb: line 99: can't create /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/mjpeg/m/720p/wWidth: nonexistent directory /etc/init.d/S50usb: line 99: can't create /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/mjpeg/m/720p/wHeight: nonexistent directory /etc/init.d/S50usb: line 99: can't create /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/mjpeg/m/720p/dwFrameInterval: nonexistent directory /etc/init.d/S50usb: line 99: can't create /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/mjpeg/m/720p/dwDefaultFrameInterval: nonexistent directory /etc/init.d/S50usb: line 99: can't create /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/mjpeg/m/720p/dwMinBitRate: nonexistent directory /etc/init.d/S50usb: line 99: can't create /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/mjpeg/m/720p/dwMaxBitRate: nonexistent directory /etc/init.d/S50usb: line 99: can't create /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/mjpeg/m/720p/dwMaxVideoFrameBufferSize: nonexistent directory mkdir: can't create directory '/sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/header/h': No such file or directory ln: /sys/kernel/config/usb_gadget/g1/functions/uvc.usb[ 8.375524] Mass Storage Function, version: 2009/09/11 0/streaming/header/h/: No such file or directory ln: /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/class/fs: No[ 8.391077] LUN: removable file: (no medium) such file or directory ln: /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/class/hs: No such file or directory mkdir: can't create directory '/sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/control/header/h': No such file or directory ln: /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/control/class/fs/: No such file or directory ln: /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/control/class/ss/: No such file or directory mkdir: can't create directory '/sys/kernel/config/u[ 8.442211] ffs_data_put(): freeing sb_gadget/g1/configs/c.1': File exists mkdir: can't create directory '/sys/kernel/config/usb_gadget/g1/configs/c.1/strings/0x409': File exists mkdir: can't create directory '/sys/kernel/config/usb_gadget/g1/functions/ffs.adb': File exists ln: /sys/kernel/config/usb_gadget/g1/configs/c.1/ffs.adb/ffs.adb: Operation not permitted mkdir: can't create directory '/dev/usb-ffs': File exists mkdir: can't create directory '/dev/usb-ffs/adb': File exists mount: mounting adb on /dev/usb-ffs/adb/ failed: Device or resource busy sh: write error: Device or resource busy mount: mounting /dev/mmcblk0p1 on /mnt/extsd failed: No such file or directory BusyBox v1.27.2 () built-in shell (ash) Trying to connect to SWUpdate... ------run profile file----- _____ _ __ _ |_ _||_| ___ _ _ | | |_| ___ _ _ _ _ | | _ | || | | |__ | || || | ||_'_| | | | || | || _ | |_____||_||_|_||___||_,_| |_| |_||_|_||_|_| Tina is Based on OpenWrt! ---------------------------------------------- Tina Linux (Neptune, 5C1C9C53) ---------------------------------------------- swu_param: #### swu_software: #### swu_mode: #### no swupdate_cmd to run, wait for next swupdate
-
回复: D1s麻雀 关闭uboot的显示(#CONFIG_DISP2_SUNXI=y)后,内核dts不改动,lcd的data引脚就没有输出了
@whycan 好的晕哥,我现在想用d1s的mipi-dsi接口,将mipi信号发送到fpga,然后fpga再转换成rgb发送到液晶,可是改了dts后测量DSI_CKN和DSI_CKP引脚上就没有信号,uboot显示已关闭,board.dts修改如下:
可能是哪里不对呢? -
D1s麻雀 关闭uboot的显示(#CONFIG_DISP2_SUNXI=y)后,内核dts不改动,lcd的data引脚就没有输出了
好像关掉uboot的显示后,内核的显示模块就不起作用了,有大佬碰到过这种情况么
-
回复: 麻雀开发板,spinand烧录问题,PhoenixSuit识别不到设备
@kelsey 已经可以烧录了,应该是PC端驱动的问题,换了一台电脑重新安装软件后可以识别设备并烧录了,谢谢大佬关心
-
回复: 麻雀开发板,spinand烧录问题,PhoenixSuit识别不到设备
@whycan 这个固件也不行,D1s可以用这个固件?晕哥,你那里有现成的D1s麻雀的spi-nand的固件么,我想先验证一下烧写有没有问题
-
回复: 麻雀开发板,spinand烧录问题,PhoenixSuit识别不到设备
@whycan 晕哥,现在PhoenixSuit可以识别到设备(我下载了APST,打开APST的时候就能识别到设备,不知道为啥),但是烧写失败
24242]fes begin commit:27369ab [24244]set pll start [24247]periph0 has been enabled [24250]set pll end [24251][pmu]: bus read error [24254]board init ok [24256]beign to init dram [24258]ZQ value = 0x2f*********** [24261]get_pmu_exist() = -1 [24264]ddr_efuse_type: 0xa [24267][AUTO DEBUG] single rank and full DQ! [24271]ddr_efuse_type: 0xa [24274][AUTO DEBUG] rank 0 row = 13 [24277][AUTO DEBUG] rank 0 bank = 4 [24281][AUTO DEBUG] rank 0 page size = 2 KB [24285]DRAM BOOT DRIVE INFO: V0.24 [24288]DRAM CLK = 528 MHz [24290]DRAM Type = 2 (2:DDR2,3:DDR3) [24294]DRAMC read ODT off. [24296]DRAM ODT off. [24298]ddr_efuse_type: 0xa [24301]DRAM SIZE =64 M [24305]DRAM simple test OK. [24308]init dram ok U-Boot 2018.05-g0a88ac9-config-dirty (Nov 10 2022 - 09:43:39 +0800) Allwinner Technology [27.334]DRAM: 64 MiB [27.339]Relocation Offset is: 01ef0000 [27.368]secure enable bit: 0 [27.372]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [27.378]flash init start [27.381]workmode = 16,storage type = 0 try card 2 set card number 2 get card number 2 [27.388][mmc]: mmc driver ver uboot2018:2021-04-16 14:23:00-1 [27.398][mmc]: get sdc_type fail and use default host:tm4. [27.428][mmc]: Is not Boot mode! [27.431][mmc]: SUNXI SDMMC Controller Version:0x50310 [27.442][mmc]: ************Try SD card 2************ [27.447][mmc]: mmc 2 cmd timeout 100 status 100 [27.451][mmc]: smc 2 err, cmd 8, RTO [27.455][mmc]: mmc 2 close bus gating and reset [27.460][mmc]: mmc 2 cmd timeout 100 status 100 [27.464][mmc]: smc 2 err, cmd 55, RTO [27.468][mmc]: mmc 2 close bus gating and reset [27.472][mmc]: ************Try MMC card 2************ [27.481][mmc]: mmc 2 cmd timeout 100 status 100 [27.485][mmc]: smc 2 err, cmd 1, RTO [27.488][mmc]: mmc 2 close bus gating and reset [27.492][mmc]: Card did not respond to voltage select! [27.497][mmc]: ************SD/MMC 2 init error!************ [27.503][mmc]: mmc init product failed MMC init failed try emmc fail [27.518]sunxi-spinand: AW SPINand MTD Layer Version: 1.5 20200407 [27.524]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.9 20200306 [27.584]sunxi-spinand-phy: request spi0 gpio ok [27.588]sunxi-spinand-phy: request general tx dma channel ok! [27.593]sunxi-spinand-phy: request general rx dma channel ok! [27.599]sunxi-spinand-phy: set spic0 clk to 20 Mhz [27.603]sunxi-spinand-phy: init spic0 clk ok [27.607]sunxi-spinand-phy: not detect any munufacture from id table [27.623]sunxi-spinand-phy: get spi-nand Model from fdt fail [27.628]sunxi-spinand-phy: get phy info from fdt fail [27.633]sunxi-spinand-phy: not detect munufacture from fdt [27.638]sunxi-spinand-phy: detect munufacture from id table: Winbond [27.644]sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff [27.649]sunxi-spinand-phy: ========== arch info ========== [27.655]sunxi-spinand-phy: Model: W25N01GVZEIG [27.660]sunxi-spinand-phy: Munufacture: Winbond [27.665]sunxi-spinand-phy: DieCntPerChip: 1 [27.669]sunxi-spinand-phy: BlkCntPerDie: 1024 [27.674]sunxi-spinand-phy: PageCntPerBlk: 64 [27.679]sunxi-spinand-phy: SectCntPerPage: 4 [27.683]sunxi-spinand-phy: OobSizePerPage: 64 [27.688]sunxi-spinand-phy: BadBlockFlag: 0x0 [27.692]sunxi-spinand-phy: OperationOpt: 0x7 [27.697]sunxi-spinand-phy: MaxEraseTimes: 65000 [27.701]sunxi-spinand-phy: EccFlag: 0x0 [27.706]sunxi-spinand-phy: EccType: 2 [27.711]sunxi-spinand-phy: EccProtectedType: 3 [27.715]sunxi-spinand-phy: ======================================== [27.721]sunxi-spinand-phy: [27.723]sunxi-spinand-phy: ========== physical info ========== [27.729]sunxi-spinand-phy: TotalSize: 128 M [27.733]sunxi-spinand-phy: SectorSize: 512 B [27.737]sunxi-spinand-phy: PageSize: 2 K [27.741]sunxi-spinand-phy: BlockSize: 128 K [27.745]sunxi-spinand-phy: OOBSize: 64 B [27.750]sunxi-spinand-phy: ======================================== [27.755]sunxi-spinand-phy: [27.758]sunxi-spinand-phy: ========== logical info ========== [27.763]sunxi-spinand-phy: TotalSize: 128 M [27.768]sunxi-spinand-phy: SectorSize: 512 B [27.772]sunxi-spinand-phy: PageSize: 4 K [27.776]sunxi-spinand-phy: BlockSize: 256 K [27.780]sunxi-spinand-phy: OOBSize: 128 B [27.784]sunxi-spinand-phy: ======================================== [27.800]sunxi-spinand-phy: W25N01GVZEIG reset rx bit width to 1 [27.805]sunxi-spinand-phy: W25N01GVZEIG reset tx bit width to 1 [27.811]sunxi-spinand-phy: set spic0 clk to 100 Mhz [27.815]sunxi-spinand-phy: block lock register: 0x00 [27.820]sunxi-spinand-phy: feature register: 0x19 [27.825]sunxi-spinand-phy: sunxi physic nand init end [27.834]Loading Environment from SUNXI_FLASH... OK [27.842]try to burn key [27.846]out of usb burn from boot: not need burn key Hit any key to stop autoboot: 0 sunxi work mode=0x10 run usb efex delay time 2500 weak:otg_phy_config usb init ok set address 0xa set address 0xa ok set address 0xb set address 0xb ok
晕哥帮忙看一下可能是啥原因,我做的烧写包有问题么?
-
麻雀开发板,spinand烧录问题,PhoenixSuit识别不到设备
自己焊接了一个nand到开发板,上电后设备管理器里可以正常识别设备,但是PhoenixSuit软件显示无设备连接,nand型号也在支持的列表里
哪里没搞对,可以指导一下么 -
请教一个关于tina打包rootfs的问题
![$KWRARHBJAKRPRIQVYP5{C.png 图中这句话是在哪个脚本里面执行的?然后如果我不想用squashfs,想生成ext4或ubifs的文件系统的话应该改哪里
-
回复: 芒果d1h用sd卡烧录后创建文件夹一直Read-only file system
@yuzukitsuru 大佬,这个有相关的文档介绍怎么改为ext4会ubifs么
-
回复: 芒果派麻雀到手试玩
大佬,请教一下,这是因为没有权限么,然后怎么才能获得root权限呢,烧写的是tina_d1-mangopi_mq_rgb800x480_gt9xx_uart0_20211214.img这个固件 -
回复: 芒果派麻雀到手试玩
我烧写的tina_d1-mangopi_mq_rgb800x480_gt9xx_uart0_20211214.img这个固件,现象如图,屏是和板子一起在淘宝买的,触摸也不能用,请问是固件用的不对么?