如题,在使用T113-i的DSP做定时器类测试时,希望可以产生一个周期中断,在中断中完成定时任务,但是手册中对于DSP中断的应用讲解的非常少,不知道有没有人了解可以给讲讲,或者给个资料也可以啊。
story_xjj 发布的帖子
-
T113-i中DSP部分如何响应中断
-
回复: 通过Buildroot创建东山派D1s的镜像后,通过网络接口写入文件出现死机情况
问题有新的进展了,因为boot分区时fat格式的,我将boot分区挂载到root分区的目录下,然后通过sftp将文件传送到boot分区中,传送成功了,系统并没有死机。似乎这个文件复制过程死机和ext4文件系统有关系。原来传输的文件大小为5k左右,我把文件调大到10k,传输同样会失败。我现在也不清楚时文件系统格式的问题还是文件大小的问题,有没有大神可以出来指导一下。
-
回复: 通过Buildroot创建东山派D1s的镜像后,通过网络接口写入文件出现死机情况
@story_xjj
我还发现了一个怪现象,因为创建的SD卡镜像中,boot分区时fat格式的,如果用读卡器把文件复制到boot分区中,然后重新引导系统,挂载boot分区,再把文件复制到或移动到根分区中,就不会出现死机的情况。一切正常。
而且编译的文件可以正确执行。[root@buildroot ~]# ls mywork nfs nfs.sh [root@buildroot ~]# mount -t vfat /dev/disk/by-partlabel/boot nfs [root@buildroot ~]# cd nfs [root@buildroot nfs]# ls Image boot.img sun20i-d1s-nezha-linux.dtb System Volume Information main [root@buildroot nfs]# mv main ../mywork/ [root@buildroot nfs]# ls Image boot.img System Volume Information sun20i-d1s-nezha-linux.dtb [root@buildroot nfs]# cd .. [root@buildroot ~]# ls mywork nfs nfs.sh [root@buildroot ~]# cd mywork/ [root@buildroot mywork]# ls main [root@buildroot mywork]# ll total 12 -rwxr-xr-x 1 root root 11608 Jun 7 2023 main [root@buildroot mywork]# ./main hello world! [root@buildroot mywork]#
-
通过Buildroot创建东山派D1s的镜像后,通过网络接口写入文件出现死机情况
根据网上的buildroot创建了一个D1s的镜像,启动和运行都是比较正常的,由于东山派D1s没有网络接口,所以我利用RNDIS虚拟了一个网络,SSH可以正常登录,执行命令和查看修改系统的信息没有任何问题。在通过SFTP方式上传是出现了死机的情况,于是采用nfs链接windows的nfs服务器,可以正确链接,向windows的nfs服务器创建文件没有任何问题,但是向linux系统拷贝文件同样会出现死机的情况。
下面是系统打印的日志,请各位看看是什么原因导致的。
[53]HELLO! BOOT0 is starting! [56]BOOT0 commit : 603490b [58]set pll start [60]periph0 has been enabled [63]set pll end [65][pmu]: bus read error [67]board init ok [69]ZQ value = 0x2e*********** [72]get_pmu_exist() = -1 [74]ddr_efuse_type: 0xa [77][AUTO DEBUG] single rank and full DQ! [81]ddr_efuse_type: 0xa [83][AUTO DEBUG] rank 0 row = 13 [86][AUTO DEBUG] rank 0 bank = 4 [90][AUTO DEBUG] rank 0 page size = 2 KB [93]DRAM BOOT DRIVE INFO: V0.24 [96]DRAM CLK = 528 MHz [98]DRAM Type = 2 (2:DDR2,3:DDR3) [102]DRAMC read ODT off. [104]DRAM ODT off. [106]ddr_efuse_type: 0xa [109]DRAM SIZE =64 M [112]DRAM simple test OK. [115]dram size =64 [116]card no is 0 [118]sdcard 0 line count 4 [121][mmc]: mmc driver ver 2021-04-2 16:45 [130][mmc]: Wrong media type 0x0 [133][mmc]: ***Try SD card 0*** [161][mmc]: HSSDR52/SDR25 4 bit [164][mmc]: 50000000 Hz [166][mmc]: 1886 MB [168][mmc]: ***SD/MMC 0 init OK!!!*** [231]Loading boot-pkg Succeed(index=0). [234]Entry_name = opensbi [237]Entry_name = u-boot [241]Entry_name = dtb [244]mmc not para [245]Jump to second Boot. OpenSBI v0.6 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : Allwinner SUN20i - T-HEAD Xuantie Platform Platform HART Features : RV64ACDFIMSUVX Platform Max HARTs : 1 Current Hart : 0 Firmware Base : 0x40000400 Firmware Size : 75 KB Runtime SBI Version : 0.2 MIDELEG : 0x0000000000000222 MEDELEG : 0x000000000000b1ff PMP0 : 0x0000000040000000-0x000000004001ffff (A) PMP1 : 0x0000000040000000-0x000000007fffffff (A,R,W,X) PMP2 : 0x0000000080000000-0x00000000bfffffff (A,R,W,X) PMP3 : 0x0000000000020000-0x0000000000027fff (A,▒ U-Boot 2018.05 (Jun 06 2023 - 14:43:23 +0800) Allwinner Technology [00.329]DRAM: 64 MiB [00.331]Relocation Offset is: 01ee9000 [00.336]secure enable bit: 0 [00.339]CPU=720 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.345]flash init start [00.347]workmode = 0,storage type = 1 [00.351][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 [00.356][mmc]: get sdc_type fail and use default host:tm1. [00.363][mmc]: can't find node "mmc0",will add new node [00.368][mmc]: fdt err returned <no error> [00.372][mmc]: Using default timing para [00.375][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.411][mmc]: card_caps:0x3000000a [00.414][mmc]: host_caps:0x3000003f [00.422]sunxi flash init ok [00.424]line:703 init_clocks [00.427]drv_disp_init request pwm success, pwm7:pwm7:0x2000c00. [00.448]drv_disp_init finish [00.451]boot_gui_init:start [00.454]set disp.dev2_output_type fail. using defval=0 [00.461]boot_gui_init:finish partno erro : can't find partition bootloader partno erro : can't find partition boot-resource [00.530]Get bootloader and boot-resource partition number fail! [00.564]Loading Environment from SUNXI_FLASH... OK [00.587]out of usb burn from boot: not need burn key root_partition is rootfs set root to /dev/mmcblk0p5 [00.602]update part info [00.608]update bootcmd [00.617]change working_fdt 0x42aa8da0 to 0x42a88da0 disable nand error: FDT_ERR_BADPATH No reserved memory region found in source FDT FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 [00.653]LCD open finish [00.667]update dts Hit any key to stop autoboot: 0 card0 has inited curr_device:0 Device: SUNXI SD/MMC Manufacturer ID: 3 OEM: 5344 Name: SU02G Bus Speed: 50000000 Mode : SD High Speed (50MHz) Rd Block Len: 512 SD version 3.0 High Capacity: No Capacity: 1.8 GiB Bus Width: 4-bit Erase Group Size: 512 Bytes Partition Map for MMC device 0 -- Partition Type: EFI Part Start LBA End LBA Name Attributes Type GUID Partition GUID 1 0x00008820 0x0000891f "env" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: 4bc1c54f-615a-4e61-b876-285795eddced 2 0x00008920 0x00008a1f "env-redund" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: 500cb3e6-be80-4c8e-8180-3a66fc6db8b9 3 0x00008a20 0x00018a1f "boot" attrs: 0x0000000000000004 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: bd535aa2-0c9e-4d1d-9ceb-2f181e0f3cd8 4 0x00018a20 0x0001ca1f "data" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: dda40b61-ba8e-40b7-b569-38d88ea31c2a 5 0x0001ca20 0x0009ca1f "rootfs" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: 4dcc9a9e-1b69-4513-8edc-561a33b9507b 7157760 bytes read in 375 ms (18.2 MiB/s) [03.176]no vendor_boot partition is found Android's image name: sun20i [03.191] Starting kernel ... [03.194][mmc]: MMC Device 2 not found [03.197][mmc]: mmc 2 not find, so not exit ** 13 printk messages dropped ** [ 0.000000] DMA32 zone: 15872 pages, LIFO batch:3 [ 0.000000] elf_hwcap is 0x20112d [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 15655 [ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/sbin/init partitions=ext4 cma=8M gpt=1 androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05(06/06/2023-14:43:23) mbr_offset=1556480 disp_reserve=522240,0x0000000042b15000 androidboot.dramsize=64 [ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.000000] Sorting __ex_table... [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 46388K/63488K available (4808K kernel code, 445K rwdata, 1292K rodata, 164K init, 267K bss, 8908K 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.000009] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000030] riscv_timer_clockevent depends on broadcast, but no broadcast function available [ 0.000440] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.001337] Console: colour dummy device 80x25 [ 0.001389] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.001409] pid_max: default: 32768 minimum: 301 [ 0.001572] LSM: Security Framework initializing [ 0.001624] SELinux: Initializing. [ 0.001813] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.001835] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.004265] ASID allocator initialised with 65536 entries [ 0.004477] rcu: Hierarchical SRCU implementation. [ 0.005330] devtmpfs: initialized [ 0.026890] random: get_random_u32 called from 0xffffffe0002619ca with crng_init=0 [ 0.028002] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.028039] futex hash table entries: 256 (order: 0, 6144 bytes, linear) [ 0.028621] pinctrl core: initialized pinctrl subsystem [ 0.030497] NET: Registered protocol family 16 [ 0.032941] DMA: preallocated 256 KiB pool for atomic allocations [ 0.032989] audit: initializing netlink subsys (disabled) [ 0.034157] audit: type=2000 audit(0.030:1): state=initialized audit_enabled=0 res=1 [ 0.034189] cpuidle: using governor menu [ 0.092602] rtc_ccu: sunxi ccu init OK [ 0.102573] clock: sunxi ccu init OK [ 0.103808] clock: sunxi ccu init OK [ 0.149479] iommu: Default domain type: Translated [ 0.149708] sunxi iommu: irq = 4 [ 0.151399] SCSI subsystem initialized [ 0.153758] pwm module init! [ 0.156151] clocksource: Switched to clocksource riscv_clocksource [ 0.174454] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver [ 0.199293] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator [ 0.200350] NET: Registered protocol family 2 [ 0.201470] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.201529] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.201554] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.201574] TCP: Hash tables configured (established 512 bind 512) [ 0.201772] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.201826] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.202106] NET: Registered protocol family 1 [ 0.203052] RPC: Registered named UNIX socket transport module. [ 0.203068] RPC: Registered udp transport module. [ 0.203076] RPC: Registered tcp transport module. [ 0.203083] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.203769] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator [ 0.204558] spi spi0: spi0 supply spi not found, using dummy regulator [ 0.204900] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE [ 0.204983] sunxi_spi_resource_get()2189 - Failed to get sample mode [ 0.204997] sunxi_spi_resource_get()2194 - Failed to get sample delay [ 0.205008] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 [ 0.205091] sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 [ 0.206115] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd00405a000, irq 31 [ 0.209015] workingset: timestamp_bits=62 max_order=14 bucket_order=0 [ 0.220136] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.221717] NFS: Registering the id_resolver key type [ 0.221786] Key type id_resolver registered [ 0.221797] Key type id_legacy registered [ 0.221825] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.221836] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 0.221845] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 0.223431] ntfs: driver 2.1.32 [Flags: R/W]. [ 0.252354] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 0.252372] io scheduler mq-deadline registered [ 0.252383] io scheduler kyber registered [ 0.253838] [DISP]disp_module_init [ 0.254716] disp 5000000.disp: Adding to iommu group 0 [ 0.255678] [DISP] disp_init,line:2386: [ 0.255686] smooth display screen:0 type:1 mode:4 [ 0.304151] display_fb_request,fb_id:0 [ 0.312032] disp_al_manager_apply ouput_type:1 [ 0.312245] [DISP] lcd_clk_config,line:744: [ 0.312262] disp 0, clk: pll(144000000),clk(144000000),dclk(24000000) dsi_rate(144000000) [ 0.312262] clk real:pll(288000000),clk(288000000),dclk(24000000) dsi_rate(0) [ 0.313992] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator [ 0.573128] Console: switching to colour frame buffer device 60x34 [ 0.595688] [DISP]disp_module_init finish [ 0.596841] sunxi_sid_init()551 - insmod ok [ 0.597581] pwm-regulator: supplied by regulator-dummy [ 0.600021] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator [ 0.600595] uart uart0: get regulator failed [ 0.600634] uart uart0: uart0 supply uart not found, using dummy regulator [ 0.601160] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI [ 0.601196] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n [ 0.729826] free logo buffer src_phy_addr=0x42b15000 fb_height=272 src_stride=1920 [ 0.730413] Freeing logo buffer memory: 512K [ 1.342486] printk: console [ttyS0] enabled [ 1.348720] misc dump reg init [ 1.354109] sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 [ 1.361395] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 [ 1.377323] random: fast init done [ 1.877371] random: crng init done [ 2.366319] sunxi-spinand-phy: read id failed : -110 [ 2.371943] spi-nand: probe of spi0.0 failed with error -110 [ 2.378885] libphy: Fixed MDIO Bus: probed [ 2.383776] using random self ethernet address [ 2.388865] using random host ethernet address [ 2.394683] usb0: HOST MAC de:32:0e:9f:12:b4 [ 2.399684] usb0: MAC 3a:b5:56:4b:1d:f6 [ 2.404027] using random self ethernet address [ 2.409037] using random host ethernet address [ 2.414159] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008 [ 2.421654] g_ether gadget: g_ether ready [ 2.428474] sunxi-rtc 7090000.rtc: registered as rtc0 [ 2.434246] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:15:45 UTC (945) [ 2.443532] sunxi-rtc 7090000.rtc: sunxi rtc probed [ 2.449641] i2c /dev entries driver [ 2.453605] IR NEC protocol handler initialized [ 2.462334] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) [ 2.472441] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 [ 2.478708] sunxi-mmc 4020000.sdmmc: No vmmc regulator found [ 2.485073] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found [ 2.491520] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found [ 2.497974] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found [ 2.504493] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found [ 2.511070] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found [ 2.517620] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found [ 2.525363] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.536566] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator [ 2.556750] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.581061] sunxi-mmc 4020000.sdmmc: detmode:gpio polling [ 2.587191] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.599877] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator [ 2.611116] sunxi_set_cur_vol_work()397 WARN: get power supply failed [ 2.618856] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) [ 2.628700] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.640668] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 [ 2.647008] sunxi-mmc 4021000.sdmmc: No vmmc regulator found [ 2.653384] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found [ 2.660185] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found [ 2.666758] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found [ 2.673405] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found [ 2.680040] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found [ 2.686649] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.698318] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found [ 2.704871] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed [ 2.714814] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.726079] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 2.735048] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.746731] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.771161] sunxi-mmc 4021000.sdmmc: detmode:manually by software [ 2.778904] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 2.786484] ashmem: initialized [ 2.790034] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 2.796966] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.808789] exFAT: Version 1.3.0 [ 2.812421] g_ether gadget: high-speed config #2: RNDIS [ 2.821746] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.836038] NET: Registered protocol family 10 [ 2.843370] Segment Routing with IPv6 [ 2.847709] mmc0: host does not support reading read-only switch, assuming write-enable [ 2.857253] NET: Registered protocol family 17 [ 2.862293] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.869512] Key type dns_resolver registered [ 2.874380] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.881288] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 2.893735] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.900739] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 2.912440] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.919382] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.956476] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B [ 2.981654] mmc0: new high speed SD card at address e624 [ 2.989522] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator [ 2.999742] mmcblk0: mmc0:e624 SU02G 1.84 GiB [ 3.016137] sunxi-i2c sunxi-i2c2: probe success [ 3.022617] sunxi-i2c sunxi-i2c3: sunxi-i2c3 supply twi not found, using dummy regulator [ 3.044217] GPT:Primary header thinks Alt. header is not at the end of the disk. [ 3.052635] sunxi-i2c sunxi-i2c3: probe success [ 3.060905] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator [ 3.071944] GPT:641607 != 3862527 [ 3.075655] GPT:Alternate GPT header not at the end of the disk. [ 3.082411] GPT:641607 != 3862527 [ 3.088650] GPT: Use GNU Parted to correct GPT errors. [ 3.094537] mmcblk0: p1 p2 p3 p4 p5 [ 3.100639] OF: fdt: not creating '/sys/firmware/fdt': CRC check failed [ 3.108186] clk: Not disabling unused clocks [ 3.112992] alloc_fd: slot 0 not NULL! [ 3.124331] EXT4-fs (mmcblk0p5): INFO: recovery required on readonly filesystem [ 3.132649] EXT4-fs (mmcblk0p5): write access will be enabled during recovery [ 3.398100] EXT4-fs (mmcblk0p5): recovery complete [ 3.407612] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null) [ 3.416816] VFS: Mounted root (ext4 filesystem) readonly on device 179:5. [ 3.427057] devtmpfs: mounted [ 3.430695] Freeing unused kernel memory: 164K [ 3.435666] This architecture does not have kernel memory protection. [ 3.442927] Run /sbin/init as init process SELinux: Could not open policy file <= /etc/selinux/targeted/policy/policy.33: No such file or directory [ 3.793658] EXT4-fs (mmcblk0p5): re-mounted. Opts: (null) Starting syslogd: OK Starting klogd: OK Running sysctl: OK Populating /dev using udev: [ 4.399733] udevd[99]: starting version 3.2.11 [ 4.510830] udevd[100]: starting eudev-3.2.11 [ 5.111156] sunxi_gpadc_init,2151, success [ 5.156743] sunxi_gpadc_setup: get channel scan data failed [ 5.163738] input: sunxi-gpadc0 as /devices/virtual/input/input0 done Initializing random number generator: OK Saving random seed: OK Starting system message bus: done Starting rpcbind: OK Starting network: OK Starting sshd: OK Starting NFS statd: OK Starting NFS services: OK Starting NFS daemon: [ 10.396690] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory [ 10.405529] NFSD: unable to find recovery directory /var/lib/nfs/v4recovery [ 10.414286] NFSD: Unable to initialize client recovery tracking! (-2) [ 10.421975] NFSD: starting 90-second grace period (net f0000019) OK Starting NFS mountd: OK Starting IIO Server Daemon Welcome to Buildroot buildroot login: [ 33.126226] usb1-vbus: disabling [ 344.313661] BUG: Bad page state in process swapper pfn:42ac8 [ 344.320109] page:ffffffe0035b4bc0 refcount:-2 mapcount:0 mapping:0000000000000000 index:0x0 [ 344.329455] flags: 0x0() [ 344.332291] raw: 0000000000000000 0000000000000100 0000000000000122 0000000000000000 [ 344.340960] raw: 0000000000000000 0000000000000000 fffffffeffffffff [ 344.347969] page dumped because: nonzero _refcount [ 344.353323] Modules linked in: snd_soc_sunxi_simple_card snd_soc_dmic snd_soc_simple_card_utils snd_soc_core snd_pcm_dmaengine snd_pcm snd_timer snd soundcore sunxi_gpadc [ 344.370383] CPU: 0 PID: 0 Comm: swapper Not tainted 5.4.61 #4 [ 344.376811] Call Trace: [ 344.379545] [<ffffffe00002b0ca>] 0xffffffe00002b0ca [ 344.384999] [<ffffffe00002b282>] 0xffffffe00002b282 [ 344.390457] [<ffffffe0004c5232>] 0xffffffe0004c5232 [ 344.395913] [<ffffffe0000a33ee>] 0xffffffe0000a33ee [ 344.401369] [<ffffffe0000a34b6>] 0xffffffe0000a34b6 [ 344.406824] [<ffffffe0000a5824>] 0xffffffe0000a5824 [ 344.412279] [<ffffffe0000a6324>] 0xffffffe0000a6324 [ 344.417736] [<ffffffe0000a643e>] 0xffffffe0000a643e [ 344.423193] [<ffffffe0003e3706>] 0xffffffe0003e3706 [ 344.428646] [<ffffffe000386a86>] 0xffffffe000386a86 [ 344.434103] [<ffffffe000386c04>] 0xffffffe000386c04 [ 344.439560] [<ffffffe00038eef0>] 0xffffffe00038eef0 [ 344.445015] [<ffffffe00038f104>] 0xffffffe00038f104 [ 344.450471] [<ffffffe00038fc88>] 0xffffffe00038fc88 [ 344.455927] [<ffffffe000390bb0>] 0xffffffe000390bb0 [ 344.461381] [<ffffffe000053b7a>] 0xffffffe000053b7a [ 344.466837] [<ffffffe000053c06>] 0xffffffe000053c06 [ 344.472294] [<ffffffe000053c80>] 0xffffffe000053c80 [ 344.477748] [<ffffffe000056a38>] 0xffffffe000056a38 [ 344.483203] [<ffffffe0000530b0>] 0xffffffe0000530b0 [ 344.488660] [<ffffffe0002a6104>] 0xffffffe0002a6104 [ 344.494116] [<ffffffe0004da23e>] 0xffffffe0004da23e [ 344.499571] [<ffffffe000029e18>] 0xffffffe000029e18 [ 344.505025] [<ffffffe00005cba0>] 0xffffffe00005cba0 [ 344.510480] Disabling lock debugging due to kernel taint [ 373.079383] BUG: Bad page state in process swapper pfn:422e0 [ 373.085837] page:ffffffe003599100 refcount:-1 mapcount:0 mapping:0000000000000000 index:0x0 [ 373.095183] flags: 0x0() [ 373.098021] raw: 0000000000000000 0000000000000100 0000000000000122 0000000000000000 [ 373.106694] raw: 0000000000000000 0000000000000000 ffffffffffffffff [ 373.113695] page dumped because: nonzero _refcount [ 373.119052] Modules linked in: snd_soc_sunxi_simple_card snd_soc_dmic snd_soc_simple_card_utils snd_soc_core snd_pcm_dmaengine snd_pcm snd_timer snd soundcore sunxi_gpadc [ 373.136144] CPU: 0 PID: 0 Comm: swapper Tainted: G B 5.4.61 #4 [ 373.144129] Call Trace: [ 373.146865] [<ffffffe00002b0ca>] 0xffffffe00002b0ca [ 373.152325] [<ffffffe00002b282>] 0xffffffe00002b282 [ 373.157783] [<ffffffe0004c5232>] 0xffffffe0004c5232 [ 373.163242] [<ffffffe0000a33ee>] 0xffffffe0000a33ee [ 373.168701] [<ffffffe0000a34b6>] 0xffffffe0000a34b6 [ 373.174161] [<ffffffe0000a5824>] 0xffffffe0000a5824 [ 373.179620] [<ffffffe0000a6324>] 0xffffffe0000a6324 [ 373.185079] [<ffffffe0000a643e>] 0xffffffe0000a643e [ 373.190538] [<ffffffe0003e3706>] 0xffffffe0003e3706 [ 373.195997] [<ffffffe000386a86>] 0xffffffe000386a86 [ 373.201456] [<ffffffe000386c04>] 0xffffffe000386c04 [ 373.206915] [<ffffffe00038eef0>] 0xffffffe00038eef0 [ 373.212375] [<ffffffe00038f104>] 0xffffffe00038f104 [ 373.217834] [<ffffffe000390074>] 0xffffffe000390074 [ 373.223293] [<ffffffe0003901b0>] 0xffffffe0003901b0 [ 373.228752] [<ffffffe000390c06>] 0xffffffe000390c06 [ 373.234212] [<ffffffe000053b7a>] 0xffffffe000053b7a [ 373.239672] [<ffffffe000053c06>] 0xffffffe000053c06 [ 373.245130] [<ffffffe000053c80>] 0xffffffe000053c80 [ 373.250590] [<ffffffe000056a38>] 0xffffffe000056a38 [ 373.256049] [<ffffffe0000530b0>] 0xffffffe0000530b0 [ 373.261508] [<ffffffe0002a6104>] 0xffffffe0002a6104 [ 373.266968] [<ffffffe0004da23e>] 0xffffffe0004da23e [ 373.272427] [<ffffffe000029e18>] 0xffffffe000029e18 [ 373.277887] [<ffffffe00005cba0>] 0xffffffe00005cba0 [ 375.083493] ------------[ cut here ]------------ [ 375.088671] kernel BUG at mm/slub.c:3995! [ 375.093157] Kernel BUG [#1] [ 375.096278] Modules linked in: snd_soc_sunxi_simple_card snd_soc_dmic snd_soc_simple_card_utils snd_soc_core snd_pcm_dmaengine snd_pcm snd_timer snd soundcore sunxi_gpadc [ 375.113355] CPU: 0 PID: 0 Comm: swapper Tainted: G B 5.4.61 #4 [ 375.121340] sepc: ffffffe0000aac98 ra : ffffffe0000aac68 sp : ffffffe000623a40 [ 375.129425] gp : ffffffe00068e138 tp : ffffffe000628660 t0 : 322e3535322e3535 [ 375.137508] t1 : 0d303039313a3035 t2 : cb0000450008b412 s0 : ffffffe000623a90 [ 375.145585] s1 : ffffffe0035994f0 a0 : ffffffe0035994f0 a1 : 0000000000000000 [ 375.153658] a2 : 000000000000007f a3 : ffffffe0020f2147 a4 : 0000000000000000 [ 375.161724] a5 : 0000000000000000 a6 : 534f480a0d312e31 a7 : 322e393332203a54 [ 375.169795] s2 : ffffffe00066df50 s3 : 0000000000000000 s4 : ffffffe0020f2042 [ 375.177863] s5 : ffffffe00066df80 s6 : 0000000000000105 s7 : 0000000000000001 [ 375.185943] s8 : ffffffd004056004 s9 : 000000000000062a s10: 0000000000000105 [ 375.194017] s11: 0000000000000001 t3 : fe011101000080ff t4 : faffffef0107a8c0 [ 375.202096] t5 : eef3b7006c070bde t6 : ffffffe0020e0147 [ 375.208032] sstatus: 0000000200000100 sbadaddr: 0000000000000000 scause: 0000000000000003 [ 375.217241] ---[ end trace 6a0a5cb09348a66f ]--- [ 375.222396] Kernel panic - not syncing: Fatal exception in interrupt [ 375.229510] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---
-
回复: tina linux 调整了rootfs分区大小为204800后,启动失败
解决:问题找到了,tina linux内核rootfs只支持squashfs文件系统,如果选用其它文件系统就会出现上面的情况
-
tina linux 调整了rootfs分区大小为204800后,启动失败
针对d1s,调整了rootfs分区的大小为204800后,重新编译生成的img文件达到了58M左右。烧录后启动提示root分区无法打开。
启动信息记录如下:[02.259] Starting kernel ... [02.261][mmc]: MMC Device 2 not found [02.265][mmc]: mmc 2 not find, so not exit ** 7 printk messages dropped ** Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] On node 0 totalpages: 16384 DMA32 zone: 224 pages used for memmap DMA32 zone: 0 pages reserved DMA32 zone: 16384 pages, LIFO batch:3 elf_hwcap is 0x20112d pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 pcpu-alloc: [0] 0 Built 1 zonelists, mobility grouping on. Total pages: 16160 Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr=rootwait gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52: Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) Sorting __ex_table... mem auto-init: stack:off, heap alloc:off, heap free:off Memory: 53012K/65536K available (4488K kernel code, 399K rwdata, 1713K rodata, 144K init, 229K bss, 12524K reserved, 0K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 rcu: Preemptible hierarchical RCU implementation. Tasks RCU enabled. rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 plic: mapped 200 interrupts with 1 handlers for 2 contexts. riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns riscv_timer_clockevent depends on broadcast, but no broadcast function available clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) ASID allocator initialised with 65536 entries rcu: Hierarchical SRCU implementation. devtmpfs: initialized random: get_random_u32 called from bucket_table_alloc.isra.27+0x102/0x124 with crng_init=0 clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns futex hash table entries: 256 (order: 0, 6144 bytes, linear) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 256 KiB pool for atomic allocations cpuidle: using governor menu rtc_ccu: sunxi ccu init OK clock: sunxi ccu init OK clock: sunxi ccu init OK iommu: Default domain type: Translated sunxi iommu: irq = 4 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb videodev: Linux video capture interface: v2.00 Advanced Linux Sound Architecture Driver Initialized. Bluetooth: Core ver 2.22 NET: Registered protocol family 31 Bluetooth: HCI device and connection manager initialized Bluetooth: HCI socket layer initialized Bluetooth: L2CAP socket layer initialized pwm module init! g2d 5410000.g2d: Adding to iommu group 0 G2D: rcq version initialized.major:252 clocksource: Switched to clocksource riscv_clocksource sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver NET: Registered protocol family 2 tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) TCP: Hash tables configured (established 512 bind 512) UDP hash table entries: 256 (order: 1, 8192 bytes, linear) UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) NET: Registered protocol family 1 sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator spi spi0: spi0 supply spi not found, using dummy regulator sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE sunxi_spi_resource_get()2189 - Failed to get sample mode sunxi_spi_resource_get()2194 - Failed to get sample delay sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 workingset: timestamp_bits=62 max_order=14 bucket_order=0 squashfs: version 4.0 (2009/01/31) Phillip Lougher ntfs: driver 2.1.32 [Flags: R/W]. io scheduler mq-deadline registered io scheduler kyber registered [DISP]disp_module_init disp 5000000.disp: Adding to iommu group 0 [DISP] disp_init,line:2386: smooth display screen:0 type:1 mode:4 display_fb_request,fb_id:0 Freeing logo buffer memory: 4000K disp_al_manager_apply ouput_type:1 [DISP] lcd_clk_config,line:732: disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator [DISP]disp_module_init finish sunxi_sid_init()551 - insmod ok pwm-regulator: supplied by regulator-dummy sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator uart uart0: get regulator failed uart uart0: uart0 supply uart not found, using dummy regulator uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n printk: console [ttyS0] enabled sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator uart uart1: get regulator failed uart uart1: uart1 supply uart not found, using dummy regulator uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI misc dump reg init sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 [ADDR_MGT] addr_mgt_probe: success. sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 random: fast init done random: crng init done sunxi-spinand-phy: read id failed : -110 spi-nand: probe of spi0.0 failed with error -110 ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver sunxi-ehci: EHCI SUNXI driver get ehci1-controller wakeup-source is fail. sunxi ehci1-controller don't init wakeup source [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver sunxi-ohci: OHCI SUNXI driver get ohci1-controller wakeup-source is fail. sunxi ohci1-controller don't init wakeup source [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected sunxi-rtc 7090000.rtc: errata__fix_alarm_day_reg_default_value(): ALARM0_DAY_REG=0, set it to 1 sunxi-rtc 7090000.rtc: registered as rtc0 sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T01:14:33 UTC (4473) sunxi-rtc 7090000.rtc: sunxi rtc probed i2c /dev entries driver IR NEC protocol handler initialized uvcvideo: Unable to create debugfs directory usbcore: registered new interface driver uvcvideo USB Video Class driver (1.1.1) sunxi cedar version 1.1 sunxi-cedar 1c0e000.ve: Adding to iommu group 0 VE: install start!!! VE: cedar-ve the get irq is 6 VE: install end!!! VE: sunxi_cedar_probe Bluetooth: HCI UART driver ver 2.3 Bluetooth: HCI UART protocol H4 registered Bluetooth: HCI UART protocol BCSP registered Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! [XR_BT_LPM] bluesleep_probe: uart_index(1) sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 sunxi-mmc 4020000.sdmmc: No vmmc regulator found sunxi-mmc 4020000.sdmmc: No vqmmc regulator found sunxi-mmc 4020000.sdmmc: No vdmmc regulator found sunxi-mmc 4020000.sdmmc: No vd33sw regulator found sunxi-mmc 4020000.sdmmc: No vd18sw regulator found sunxi-mmc 4020000.sdmmc: No vq33sw regulator found sunxi-mmc 4020000.sdmmc: No vq18sw regulator found sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4020000.sdmmc: detmode:gpio polling sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 sunxi-mmc 4021000.sdmmc: No vmmc regulator found sunxi-mmc 4021000.sdmmc: No vqmmc regulator found sunxi-mmc 4021000.sdmmc: No vdmmc regulator found sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: No vd33sw regulator found sunxi-mmc 4021000.sdmmc: No vd18sw regulator found sunxi-mmc 4021000.sdmmc: No vq33sw regulator found sunxi-mmc 4021000.sdmmc: No vq18sw regulator found sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: detmode:manually by software sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! ashmem: initialized sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B exFAT: Version 1.3.0 sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 mmc0: host does not support reading read-only switch, assuming write-enable [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [SNDCODEC][sunxi_card_init][583]:card init finished sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok mmc0: new high speed SD card at address e624 input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 mmcblk0: mmc0:e624 SU02G 1.84 GiB [SNDCODEC][sunxi_card_dev_probe][836]:register card finished mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 NET: Registered protocol family 10 Segment Routing with IPv6 NET: Registered protocol family 17 sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator sunxi-i2c sunxi-i2c2: probe success sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator get ehci0-controller wakeup-source is fail. sunxi ehci0-controller don't init wakeup source [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e [sunxi-ehci0]: Not init ehci0 get ohci0-controller wakeup-source is fail. sunxi ohci0-controller don't init wakeup source [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 [sunxi-ohci0]: Not init ohci0 clk: Not disabling unused clocks ALSA device list: #0: audiocodec alloc_fd: slot 0 not NULL! platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 cfg80211: failed to load regulatory.db [EXFAT] trying to mount... VFS: Cannot open root device "mmcblk0p5" or unknown-block(179,5): error -5 Please append a correct "root=" boot option; here are the available partitions: b300 1931264 mmcblk0 driver: mmcblk b301 252 mmcblk0p1 a0085546-4166-744a-a353-fca9272b8e45 b302 252 mmcblk0p2 a0085546-4166-744a-a353-fca9272b8e46 b303 252 mmcblk0p3 a0085546-4166-744a-a353-fca9272b8e47 b304 10240 mmcblk0p4 a0085546-4166-744a-a353-fca9272b8e48 b305 102400 mmcblk0p5 a0085546-4166-744a-a353-fca9272b8e49 b306 11200 mmcblk0p6 a0085546-4166-744a-a353-fca9272b8e4a b307 102400 mmcblk0p7 a0085546-4166-744a-a353-fca9272b8e4b 103:00000 1666380 mmcblk0p8 a0085546-4166-744a-a353-fca9272b8e4c Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,5) CPU: 0 PID: 1 Comm: swapper Not tainted 5.4.61 #25 Call Trace: [<ffffffe00002612c>] walk_stackframe+0x0/0x98 [<ffffffe0000262e4>] show_stack+0x2a/0x34 [<ffffffe0004703ea>] dump_stack+0x20/0x28 [<ffffffe00002a6ec>] panic+0xec/0x272 [<ffffffe000000ef6>] mount_block_root+0x214/0x27a [<ffffffe000000fe2>] mount_root+0x86/0x90 [<ffffffe000001134>] prepare_namespace+0x148/0x152 [<ffffffe000000b58>] kernel_init_freeable+0x166/0x198 [<ffffffe000480fb8>] kernel_init+0x12/0xee [<ffffffe000024e98>] ret_from_exception+0x0/0xc ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,5) ]---
-
回复: DongshanPI-D1s 烧录tina linux到spinor存储器后,无法通过xfel在编程了
我遇到了相似的问题,不知道是什么问题,希望了解的人可以提示一下
-
基于D1s,在melis4.0中适配新的lcd问题
采用melis测试基于D1s的LCD显示,LCD为百问网开发板带的100ASK-LCD0701-1024x600-C,不知道要如是配置才可以正确的驱动。
目前修改sys_cofig_nor.fex中lcd0参数为:[lcd0] lcd_used = 1 lcd_driver_name = "default_lcd" lcd_backlight = 0 lcd_if = 0 lcd_x = 600 lcd_y = 1024 lcd_width = 150 lcd_height = 94 lcd_rb_swap = 0 lcd_dclk_freq = 51 lcd_pwm_used = 1 lcd_pwm_ch = 7 lcd_pwm_freq = 50000 lcd_pwm_pol = 1 lcd_hbp = 320 lcd_ht = 1344 lcd_hspw = 0 lcd_vbp = 35 lcd_vt = 635 lcd_vspw = 0 lcd_lvds_if = 0 lcd_lvds_colordepth = 0 lcd_lvds_mode = 0 lcd_frm = 0 lcd_io_phase = 0x0000 lcd_gamma_en = 0 lcd_bright_curve_en = 0 lcd_cmap_en = 0 deu_mode = 0 lcdgamma4iep = 22 smart_color = 90 ;lcd_bl_en = port:PH06<1><0><default><1> ;lcd_power = port:power2<1><0><default><1> ;lcd_fsync_en =1 ;lcd_fsync_act_time = 1000 ;lcd_fsync_pol = 0 lcd_gpio_0 = port:PD00<2><0><default><default> lcd_gpio_1 = port:PD01<2><0><default><default> lcd_gpio_2 = port:PD02<2><0><default><default> lcd_gpio_3 = port:PD03<2><0><default><default> lcd_gpio_4 = port:PD04<2><0><default><default> lcd_gpio_5 = port:PD05<2><0><default><default> lcd_gpio_6 = port:PD06<2><0><default><default> lcd_gpio_7 = port:PD07<2><0><default><default> lcd_gpio_8 = port:PD08<2><0><default><default> lcd_gpio_9 = port:PD09<2><0><default><default> lcd_gpio_10 = port:PD10<2><0><default><default> lcd_gpio_11 = port:PD11<2><0><default><default> lcd_gpio_12 = port:PD12<2><0><default><default> lcd_gpio_13 = port:PD13<2><0><default><default> lcd_gpio_14 = port:PD14<2><0><default><default> lcd_gpio_15 = port:PD15<2><0><default><default> lcd_gpio_16 = port:PD16<2><0><default><default> lcd_gpio_17 = port:PD17<2><0><default><default> lcd_gpio_18 = port:PD18<2><0><default><default> lcd_gpio_19 = port:PD19<2><0><default><default> lcd_gpio_20 = port:PD20<2><0><default><default> lcd_gpio_21 = port:PD21<2><0><default><default> lcd_gpio_22 = port:PD22<2><0><default><default> ;lcd_gpio_23 = port:PD23<2><0><default><default> ;lcdclk = port:PD18<2><0><default><default> ;fsync = port:PD19<2><0><default><default> ;lcdhs = port:PD20<2><0><default><default> ;lcdvs = port:PD21<2><0><default><default>
屏幕有显示,但是屏幕闪烁,并且图片内容有重影。
在终端执行disp命令的显示信息如下:msh />disp screen 0: de_rate 300000000 hz, ref_fps: 59 mgr0: 600x1024 fmt[rgb] cs[0x204] range[full] eotf[0x4] bits[8bits] err[0] force_sync[0] unblank direct_show[false] dmabuf: cache[0] cache max[0] umap skip[0] overflow[0] lcd output backlight(192) fps:7.9 600x1024 err:0 skip:0 irq:1489 vsync:0 vsync_skip:0 BUF enable ch[0] lyr[0] z[1] prem[N] a[pixel 0] fmt[ 72] fb[ 800, 480; 400, 240; 400, 240] crop[ 0, 0, 800, 480] frame[ 0, 0, 600,1024] addr[0x40f58000,0x40fcd300,0x40fb5c00] flags[0x 0] trd[0,0] BUF enable ch[1] lyr[0] z[8] prem[N] a[pixel 0] fmt[ 0] fb[ 600,1024; 600,1024; 600,1024] crop[ 0, 0, 600,1024] frame[ 0, 0, 600,1024] addr[0x41241000,0x00000000,0x00000000] flags[0x 0] trd[0,0] BUF enable ch[1] lyr[1] z[11] prem[N] a[pixel 0] fmt[ 0] fb[ 800, 46; 800, 46; 800, 46] crop[ 0, 0, 800, 46] frame[ 0, 0, 800, 46] addr[0x4164d000,0x00000000,0x00000000] flags[0x 0] trd[0,0]
感觉刷新率似乎不正确。
-
回复: 通过CK-Link lite 连接dongshanPI-D1s失败
我后来找到了问题,发现cklink不能通过计算机扩展的usb hub方式识别处理器,我采用主板上的usb连接cklink就可以正确的识别和仿真了。
-
通过CK-Link lite 连接dongshanPI-D1s失败
连接东山派D1s后,win10下可以正确枚举cklink仿真器接口,但是打开t-headdebugserver却不能完成识别处理器信息。
请问是什么原因导致的。