v853开发板遇到了Kernerl panic:rootfs不能挂载,进入crash dump的问题
-
在使用NPU Demo中的YOLOV3模型,进行Tina Linux SDK的编译,make之后并pack,遇到了rootfs.fex文件过大,分区容量设置过小的问题
mbr size = 4096 mbr magic softw411 disk name=boot-resource disk name=env disk name=boot disk name=rootfs ERROR: dl file rootfs.fex size too large ERROR: filename = rootfs.fex ERROR: dl_file_size = 119040 sector ERROR: part_size = 45360 sector update_for_part_info -1 ERROR: update mbr file fail ERROR: update_mbr failed
根据官方文档,修改了device/config/chips/v853/configs/vision/linux-4.9/sys_partition.fex文件中rootf.fex的大小
[partition] name = rootfs size = 119040 downloadfile = "rootfs.fex" user_type = 0x8000
之后进行make,pack之后,将img烧录在sd卡上,并插入v853开发板,启动,遇到了rootfs不能挂载,进入crash dump的问题,以下是完整的串口输出的log,请问大家有没有解决方法
[143]HELLO! BOOT0 is starting! [146]BOOT0 commit : 2a3ec52022 [149]set pll start [151]periph0 has been enabled [154]set pll end [157]PMU: AXP21 [159]board init ok [161]rtc[0] value = 0x80000001 [164]DRAM use external ZQ!! [167]chip id check OK [169]DRAM_VCC set to 1500 mv [172]trefi:7.8ms [175][AUTO DEBUG] single rank and full DQ! [179]trefi:7.8ms [181][AUTO DEBUG] rank 0 row = 15 [185][AUTO DEBUG] rank 0 bank = 8 [188][AUTO DEBUG] rank 0 page size = 2 KB [192]DRAM BOOT DRIVE INFO: V0.16 [195]DRAM CLK = 936 MHz [197]DRAM Type = 3 (2:DDR2,3:DDR3) [201]DRAMC ZQ value: 0x7b7bfb [203]DRAM ODT value: 0x42. [207]DRAM SIZE =512 M [209]dram_tpr4:0x0 [216]DRAM simple test OK. [219]rtc standby flag is 0x0, super standby flag is 0x0 [224]dram size =512 [227]audio:avcc calibration [229]card no is 0 [231]sdcard 0 line count 4 [233][mmc]: mmc driver ver 2021-12-27 10:07 [243][mmc]: Wrong media type 0x0 [246][mmc]: ***Try SD card 0*** [265][mmc]: HSSDR52/SDR25 4 bit [268][mmc]: 50000000 Hz [270][mmc]: 15193 MB [272][mmc]: ***SD/MMC 0 init OK!!!*** [349]Loading boot-pkg Succeed(index=0). [353]Entry_name = optee [356]Entry_name = u-boot [363]Entry_name = dtb [366]mmc not para [368]Jump to second Boot. M/TC: OP-TEE version: 15ee1539b (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Tue Mar 29 06:48:41 UTC 2022 arm U-Boot 2018.05-g3a34d5f (Jul 08 2022 - 07:00:11 +0000) Allwinner Technology [00.539]CPU: Allwinner Family [00.542]Model: sun8iw21 I2C: ready [00.568]DRAM: 512 MiB [00.571]Relocation Offset is: 1ced0000 [00.595]secure enable bit: 0 E/TC:0 fdt_getprop_u32:343 prop trace_level not found [00.610]PMU: AXP21 [00.612]BMU: AXP21 FDT ERROR:fdt_get_regulator_name:get property handle twi-supply error:FDT_ERR_INTERNAL bias_name:pc_bias bias_vol:1800 bias_name:pi_bias bias_vol:1800 [00.636]CPU=900 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=24Mhz MBus=300Mhz [00.642]gic: sec monitor mode sunxi flash map init [00.646]flash init start [00.649]workmode = 0,storage type = 1 [00.652][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00 [00.657][mmc]: get sdc_type fail and use default host:tm1. [00.664][mmc]: can't find node "mmc0",will add new node [00.669][mmc]: fdt err returned <no error> [00.672][mmc]: Using default timing para [00.676][mmc]: SUNXI SDMMC Controller Version:0x50400 [00.702][mmc]: card_caps:0x3000000a [00.705][mmc]: host_caps:0x3000003f [00.710]sunxi flash init ok [00.713]line:724 init_clocks [00.716]drv_disp_init request pwm success, pwm9:pwm9:0x2000c00. [00.730]drv_disp_init finish GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** part_get_info_efi: *** Using Backup GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** part_get_info_efi: *** Using Backup GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** part_get_info_efi: *** Using Backup GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** part_get_info_efi: *** Using Backup GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** part_get_info_efi: *** Using Backup GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** part_get_info_efi: *** Using Backup GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** part_get_info_efi: *** Using Backup GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** part_get_info_efi: *** Using Backup GPT *** [00.876]Loading Environment from SUNXI_FLASH... OK [00.897]boot_gui_init:start [00.899]set disp.dev2_output_type fail. using defval=0 [00.904][ICN6202 TO LVDS] LINE:0146-->lcd_open_flow: [00.909][ICN6202 TO LVDS] LINE:0167-->lcd_power_on: [00.927]boot_gui_init:finish GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** E[00.940][ICN6202 TO LVDS] LINE:0575-->lcd_panel_init: [01.106][ICN6202 TO LVDS] LINE:0620-->lcd_panel_init:initialization:icn6202 init reg from mipi RROR: Invalid GPT *** part_get_info_efi: *** Using Backup GPT *** partno erro : can't find partition bootloader 54 bytes read in 1 ms (52.7 KiB/s) [01.133]bmp_name=bootlogo.bmp size 38454 38454 bytes read in 3 ms (12.2 MiB/s) [01.161]Item0 (Map) magic is bad [01.163]the secure storage item0 copy0 magic is bad [01.183]Item0 (Map) magic is bad [01.185]the secure storage item0 copy1 magic is bad [01.190]Item0 (Map) magic is bad [01.193]out of usb burn from boot: not need burn key root_partition is rootfs GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** part_get_info_efi: *** Using Backup GPT *** set root to /dev/mmcblk0p4 [01.222]update part info GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** par[01.239][ICN6202 TO LVDS] LINE:0203-->lcd_bl_open: [01.245]LCD open finish t_get_info_efi: *** Using Backup GPT *** [01.251]update bootcmd GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** part_get_info_efi: *** Using Backup GPT *** [01.273]change working_fdt 0x5de8fe70 to 0x5de6fe70 disable nand error: FDT_ERR_BADPATH [01.288]The storage not support sample function [01.294]## error: update_fdt_dram_para : FDT_ERR_NOTFOUND [01.304]update dts Hit any key to stop autoboot: 0 GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** part_get_info_efi: *** Using Backup GPT *** [02.675]no vendor_boot partition is found Android's image name: sun8i_arm [02.724]Starting kernel ... [02.726][mmc]: MMC Device 2 not found [02.730][mmc]: mmc 2 not find, so not exit Uncompressing Linux...0229.332ms done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.191 (allwinner@allwinner-VirtualBox) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05) ) #1 PREEMPT Thu Oct 13 16:16:36 CST 2022 [ 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: sun8iw21 [ 0.000000] bootconsole [earlycon0] enabled [ 0.000000] ion_mem_reserve: err format for ion reserve list! [ 0.000000] disp reserve base 0x5df1a000 ,size 0x3e8000 [ 0.000000] Reserved memory: created DMA memory pool at 0x47000000, size 0 MiB [ 0.000000] OF: reserved mem: initialized node vdev0buffer@47000000, compatible id shared-dma-pool [ 0.000000] Memory policy: Data cache writeback [ 0.000000] On node 0 totalpages: 129920 [ 0.000000] free_area_init_node: node 0, pgdat c0b5d394, node_mem_map dfbf8000 [ 0.000000] Normal zone: 1024 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 129920 pages, LIFO batch:31 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.0 [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 128896 [ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p4 rootwait init=/init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:boot@mmcblk0p3:rootfs@mmcblk0p4:rootfs_data@mmcblk0p5:recovery@mmcblk0p6:UDISK@mmcblk0p7 cma= mac_addr= wifi_mac= bt_mac= selinux= specialstr= coherent_pool=32K ion_carveout_list= androidboot.mode=normal androidboot.hardware=sun8iw21p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g3a34d5f(07/08/2022-07:00:11) mbr_offset=1032192 disp_reserve=4096000,0x5df1a000 bootreason=unknow androidboot.dramsize=512 [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 498688K/519680K available (6144K kernel code, 377K rwdata, 2268K rodata, 1024K init, 182K bss, 20992K reserved, 0K cma-reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0700000 (7136 kB) [ 0.000000] .init : 0xc0a00000 - 0xc0b00000 (1024 kB) [ 0.000000] .data : 0xc0b00000 - 0xc0b5e490 ( 378 kB) [ 0.000000] .bss : 0xc0b5e490 - 0xc0b8bd28 ( 183 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.008121] Switching to timer-based delay loop, resolution 41ns [ 0.014455] Console: colour dummy device 80x30 [ 0.019043] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.029528] pid_max: default: 32768 minimum: 301 [ 0.034435] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.041176] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.048844] CPU: Testing write buffer coherency: ok [ 0.054385] Setting up static identity map for 0x40100000 - 0x40100058 [ 0.062526] devtmpfs: initialized [ 0.100611] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.108916] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.119079] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.125440] atomic64_test: passed [ 0.128923] pinctrl core: initialized pinctrl subsystem [ 0.135744] NET: Registered protocol family 16 [ 0.141291] DMA: preallocated 32 KiB pool for atomic coherent allocations [ 0.149947] dump_class_init,857, success [ 0.184188] cpuidle: using governor menu [ 0.189393] platform 2010000.iommu: iova_base: 0x48400000 [ 0.195677] sunxi iommu: irq = 22 [ 0.218576] sun8iw21p1-pinctrl pio: initialized sunXi PIO driver [ 0.226604] sunxi hwspinlock vbase:0xe0824000 [ 0.232961] iommu: Adding device npu to group 0 [ 0.239027] iommu: Adding device 1c0e000.ve to group 0 [ 0.257631] iommu: Adding device 5410000.g2d to group 0 [ 0.264100] iommu: Adding device 5000000.disp to group 0 [ 0.279557] iommu: Adding device 5908000.tdm to group 0 [ 0.285957] iommu: Adding device 5900000.isp to group 0 [ 0.292088] iommu: Adding device 58ffffc.isp to group 0 [ 0.298294] iommu: Adding device 58ffff8.isp to group 0 [ 0.304424] iommu: Adding device 58ffff4.isp to group 0 [ 0.310324] iommu: Adding device 5800800.vind:isp@4 to group 0 [ 0.317057] iommu: Adding device 5910000.scaler to group 0 [ 0.323226] iommu: Adding device 590fffc.scaler to group 0 [ 0.329364] iommu: Adding device 590fff8.scaler to group 0 [ 0.335507] iommu: Adding device 590fff4.scaler to group 0 [ 0.341888] iommu: Adding device 5910400.scaler to group 0 [ 0.348046] iommu: Adding device 59103fc.scaler to group 0 [ 0.354188] iommu: Adding device 59103f8.scaler to group 0 [ 0.360336] iommu: Adding device 59103f4.scaler to group 0 [ 0.366704] iommu: Adding device 5910800.scaler to group 0 [ 0.372878] iommu: Adding device 59107fc.scaler to group 0 [ 0.379027] iommu: Adding device 59107f8.scaler to group 0 [ 0.385170] iommu: Adding device 59107f4.scaler to group 0 [ 0.391574] iommu: Adding device 5910c00.scaler to group 0 [ 0.397702] iommu: Adding device 5910bfc.scaler to group 0 [ 0.403863] iommu: Adding device 5910bf8.scaler to group 0 [ 0.410013] iommu: Adding device 5910bf4.scaler to group 0 [ 0.416972] iommu: Adding device vinc0 to group 0 [ 0.422736] iommu: Adding device vinc4 to group 0 [ 0.428362] iommu: Adding device vinc8 to group 0 [ 0.433977] iommu: Adding device vinc12 to group 0 [ 0.445231] iommu: Adding device e907_rproc@0 to group 0 [ 0.451001] iommu: Adding device rpbuf_controller@0 to group 0 [ 0.494713] pwm module init! [ 0.505351] sunxi-pm debug v3.10 [ 0.511827] SCSI subsystem initialized [ 0.516919] usbcore: registered new interface driver usbfs [ 0.523216] usbcore: registered new interface driver hub [ 0.528869] usbcore: registered new device driver usb [ 0.534679] sunxi_i2c_adap_init()2754 - init [ 0.539554] sunxi_i2c_probe()2449 - [i2c0] twi_drv_used = 0 [ 0.545613] sunxi_i2c_probe()2456 - [i2c0] twi_pkt_interval = 0 [ 0.551725] twi_regulator_request()653 - [i2c0] regulator not found(isn't configured in dts)! [ 0.560437] twi_request_gpio()469 - [i2c0] init name: (null) [ 0.567090] sunxi_i2c_probe()2449 - [i2c1] twi_drv_used = 0 [ 0.573034] sunxi_i2c_probe()2456 - [i2c1] twi_pkt_interval = 0 [ 0.579136] twi_regulator_request()653 - [i2c1] regulator not found(isn't configured in dts)! [ 0.587871] twi_request_gpio()469 - [i2c1] init name: (null) [ 0.594504] sunxi_i2c_probe()2449 - [i2c2] twi_drv_used = 0 [ 0.600390] sunxi_i2c_probe()2456 - [i2c2] twi_pkt_interval = 0 [ 0.606492] twi_regulator_request()653 - [i2c2] regulator not found(isn't configured in dts)! [ 0.615195] twi_request_gpio()469 - [i2c2] init name: (null) [ 0.622272] sunxi_i2c_probe()2449 - [i2c3] twi_drv_used = 0 [ 0.628211] sunxi_i2c_probe()2456 - [i2c3] twi_pkt_interval = 0 [ 0.634341] twi_regulator_request()653 - [i2c3] regulator not found(isn't configured in dts)! [ 0.643040] twi_request_gpio()469 - [i2c3] init name: (null) [ 0.650025] sunxi_i2c_probe()2449 - [i2c4] twi_drv_used = 0 [ 0.655927] sunxi_i2c_probe()2456 - [i2c4] twi_pkt_interval = 0 [ 0.662042] twi_regulator_request()653 - [i2c4] regulator not found(isn't configured in dts)! [ 0.670789] twi_request_gpio()469 - [i2c4] init name: (null) [ 0.677493] axp20x-i2c 4-0034: AXP20x variant AXP2101 found [ 0.699740] random: fast init done [ 0.716250] axp20x-i2c 4-0034: AXP20X driver loaded [ 0.722679] media: Linux media interface: v0.10 [ 0.727687] Linux video capture interface: v2.00 [ 0.734740] ion_parse_dt_heap_common: id 0 type 0 name sys_user align 1000 [ 0.742622] ion_parse_dt_heap_common: id 4 type 4 name cma align 1000 [ 0.750157] Advanced Linux Sound Architecture Driver Initialized. [ 0.757619] Bluetooth: Core ver 2.22 [ 0.761697] NET: Registered protocol family 31 [ 0.766252] Bluetooth: HCI device and connection manager initialized [ 0.772890] Bluetooth: HCI socket layer initialized [ 0.777901] Bluetooth: L2CAP socket layer initialized [ 0.783219] Bluetooth: SCO socket layer initialized [ 0.790514] G2D: rcq version initialized.major:251 [ 0.797330] clocksource: Switched to clocksource arch_sys_counter [ 0.831378] udc_init,0 [ 0.835114] thermal thermal_zone1: power_allocator: sustainable_power will be estimated [ 0.844079] thermal thermal_zone2: power_allocator: sustainable_power will be estimated [ 0.852703] NET: Registered protocol family 2 [ 0.887484] TCP established hash table entries: 16 (order: -6, 64 bytes) [ 0.894270] TCP bind hash table entries: 16 (order: -6, 64 bytes) [ 0.900490] TCP: Hash tables configured (established 16 bind 16) [ 0.906641] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.912603] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.919200] NET: Registered protocol family 1 [ 0.927452] workingset: timestamp_bits=29 max_order=17 bucket_order=0 [ 0.950619] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.961398] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) [ 0.969432] io scheduler noop registered [ 0.973449] io scheduler deadline registered [ 0.978354] io scheduler cfq registered (default) [ 0.984862] [DISP]disp_module_init [ 0.990006] [DISP] disp_init,line:2340: [ 0.993679] smooth display screen:0 type:1 mode:4 [ 1.034861] lcd 0, driver_name icn6202, panel_name default_lcd [ 1.040991] lcd 0, driver_name icn6202, panel_name he0801a068 [ 1.046921] lcd 0, driver_name icn6202, panel_name inet_dsi_panel [ 1.053217] lcd 0, driver_name icn6202, panel_name lq101r1sx03 [ 1.059243] lcd 0, driver_name icn6202, panel_name WilliamLcd [ 1.065179] lcd 0, driver_name icn6202, panel_name bp101wx1 [ 1.070952] lcd 0, driver_name icn6202, panel_name k101im2qa04 [ 1.076966] lcd 0, driver_name icn6202, panel_name t050k589 [ 1.082748] lcd 0, driver_name icn6202, panel_name kd080d24 [ 1.088520] lcd 0, driver_name icn6202, panel_name icn6202 [ 1.094181] lcd 0, driver_name icn6202, panel_name super_lcd_driver [ 1.100761] display_fb_request,fb_id:0 [ 1.114891] [DISP] de_fcm_set_para,line:491: [ 1.119055] fcm lut 0 not find, auto retry after init [ 1.125690] [DISP]disp_module_init finish [ 1.130057] [DISP] de_fcm_set_para,line:491: [ 1.130057] fcm lut 0 not find, auto retry after init [ 1.130076] [DISP] de_fcm_set_para,line:491: [ 1.130076] fcm lut 0 not find, auto retry after init [ 1.130152] [DISP] lcd_clk_config,line:702: [ 1.130153] disp 0, clk: pll(426000000),clk(426000000),dclk(71000000) dsi_rate(71000000) [ 1.130153] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) [ 1.177435] Freeing logo buffer memory: 4000K [ 1.184261] uart0: ttyS0 at MMIO 0x2500000 (irq = 289, base_baud = 1500000) is a SUNXI [ 1.192507] sw_console_setup()2050 - console setup baud 115200 parity n bits 8, flow n [ 1.200722] console [ttyS0] enabled [ 1.200722] console [ttyS0] enabled [ 1.208275] bootconsole [earlycon0] disabled [ 1.208275] bootconsole [earlycon0] disabled [ 1.218929] uart3: ttyS3 at MMIO 0x2500c00 (irq = 290, base_baud = 1500000) is a SUNXI [ 1.229259] misc dump reg init [ 1.233497] npu[1][1] vipcore, platform driver device=0xdf5e2210 [ 1.240480] npu[1][1] vipcore irq number is 291. [ 1.245658] gckvip_drv_adjust_param 232 SUCCESS [ 1.250831] Want set pclk rate(504000000) support(504000000) real(504000000) [ 1.258865] Want set mclk rate(504000000) support(504000000) real(504000000) [ 1.266750] npu[1][1] This device support 64bits DMA [ 1.272802] npu[1][1] core_0, request irqline=291, name=vipcore_0 [ 1.279903] npu[1][1] =======vipcore parameter===== [ 1.285343] npu[1][1] registerMemBase 0x03050000, [ 1.291125] npu[1][1] registerMemSize 0x00020000, [ 1.296870] npu[1][1] irqLine 0x00000123, [ 1.302629] npu[1][1] contiguousSize 0x02000000 [ 1.308229] npu[1][1] contiguousBase 0x30000000 [ 1.313772] npu[1][1] vipContiguousBase 0x0 [ 1.318657] npu[1][1] drvType 0x00000000 [ 1.324189] npu[1][1] AXISramSize 0x00000000 [ 1.329759] npu[1][1] AXISramBaseAddress 0x00000000 [ 1.335289] npu[1][1] VIPSramSize 0x00020000 [ 1.340833] npu[1][1] VIPSramBaseAddress 0x00400000 [ 1.346372] npu[1][1] sysHeapSize 0x00200000 [ 1.351913] npu[1][1] =============================== [ 1.357635] npu[1][1] VIPLite driver version 1.8.0.0-AW-2022-04-21 [ 1.365813] sun8iw21p1-pinctrl pio: expect_func as:fanout0, but muxsel(3) is func:clk [ 1.374859] sunxi-wlan soc@03000000:wlan@0: wlan_busnum (1) [ 1.381175] sunxi-wlan soc@03000000:wlan@0: wlan power voltage (3300000) [ 1.388687] sunxi-wlan soc@03000000:wlan@0: wlan io voltage (3300000) [ 1.395878] sunxi-wlan soc@03000000:wlan@0: wlan_power_num (1) [ 1.402460] sunxi-wlan soc@03000000:wlan@0: wlan_power_name (axp2101-dcdc1) [ 1.410269] sunxi-wlan soc@03000000:wlan@0: io_regulator_name (axp2101-dcdc1) [ 1.418292] sunxi-wlan soc@03000000:wlan@0: wlan_regon gpio=239 mul-sel=1 pull=1 drv_level=2 data=0 [ 1.428821] sunxi-wlan soc@03000000:wlan@0: get gpio chip_en failed [ 1.435824] sunxi-wlan soc@03000000:wlan@0: wlan_hostwake gpio=199 mul-sel=14 pull=1 drv_level=2 data=0 [ 1.446830] sunxi-wlan soc@03000000:wlan@0: clk_name () [ 1.454143] libphy: Fixed MDIO Bus: probed [ 1.459631] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.467268] get ehci0-controller, regulator_io is no nocare [ 1.473667] get ehci0-controller wakeup-source is fail. [ 1.479747] sunxi ehci0-controller don't init wakeup source [ 1.485966] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0b7ecc8, 0x:e0848000, irq_no:136 [ 1.498144] [sunxi-ehci0]: Not init ehci0 [ 1.503093] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.510576] get ohci0-controller, regulator_io is no nocare [ 1.516792] get ohci0-controller wakeup-source is fail. [ 1.522842] sunxi ohci0-controller don't init wakeup source [ 1.529229] [sunxi-ohci0]: probe, pdev->name: 4101000.ohci0-controller, sunxi_ohci: 0xc0b7eeec [ 1.538894] [sunxi-ohci0]: Not init ohci0 [ 1.544021] usbcore: registered new interface driver uas [ 1.550378] usbcore: registered new interface driver usb-storage [ 1.557424] usbcore: registered new interface driver ums-alauda [ 1.564223] usbcore: registered new interface driver ums-cypress [ 1.571229] usbcore: registered new interface driver ums-datafab [ 1.578310] usbcore: registered new interface driver ums_eneub6250 [ 1.585456] usbcore: registered new interface driver ums-freecom [ 1.592429] usbcore: registered new interface driver ums-isd200 [ 1.599315] usbcore: registered new interface driver ums-jumpshot [ 1.606364] usbcore: registered new interface driver ums-karma [ 1.613172] usbcore: registered new interface driver ums-onetouch [ 1.620330] usbcore: registered new interface driver ums-realtek [ 1.627394] usbcore: registered new interface driver ums-sddr09 [ 1.634157] usbcore: registered new interface driver ums-sddr55 [ 1.641111] usbcore: registered new interface driver ums-usbat [ 1.647910] usb_serial_number:20080411 [ 1.652537] get ctp_power is fail, -22 [ 1.656720] get ctp_power_ldo_vol is fail, -22 [ 1.661951] sunxi_ctp_startup: ctp_power_io is invalid. [ 1.667903] fw_index:22 [ 1.714097] input: gslX680 as /devices/platform/soc/twi2/i2c-2/2-0040/input/input0 [ 1.723674] sunxi_i2c_do_xfer()1974 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x40) [ 1.733487] twi_stop()544 - engine-mode: bus state: 0x0, isn't idle [ 1.740563] sunxi_i2c_do_xfer()1974 - [i2c1] incomplete xfer (status: 0xff, dev addr: 0x40) [ 1.750103] sunxi_i2c_do_xfer()1974 - [i2c3] incomplete xfer (status: 0x20, dev addr: 0x40) [ 1.759658] sunxi_i2c_do_xfer()1974 - [i2c4] incomplete xfer (status: 0x20, dev addr: 0x40) [ 1.775748] input: axp2101-pek as /devices/platform/soc/twi4/i2c-4/4-0034/axp2101-pek.0/input/input1 [ 1.787972] input: sunxi-wiegand0 as /devices/virtual/input/input2 [ 1.796193] sunxi_gpadc_init,1949, success [ 1.801444] sunxi_gpadc_setup: get channel scan data failed [ 1.808919] input: sunxi-gpadc0 as /devices/virtual/input/input3 [ 1.817889] sunxi-rtc rtc: rtc core: registered sunxi-rtc as rtc0 [ 1.824758] sunxi-rtc rtc: RTC enabled [ 1.829286] fix to hot reboot, save boot reason [ 1.834754] i2c /dev entries driver [ 1.840498] sunxi cedar version 0.1 [ 1.844674] VE: install start!!! [ 1.844674] [ 1.850461] VE: cedar-ve the get irq is 292 [ 1.855228] VE: regs_csi = e0883000 [ 1.859851] VE: ve_debug_proc_info:c0b83748, data:decc8000, lock:c0b837d0, flag: 1 [ 1.859851] [ 1.870236] VE: install end!!! [ 1.870236] [ 1.875790] google_vp9: sunxi google vp9 version 0.1 [ 1.885203] axp2101_charger: read chipid = 4a [ 1.885203] [ 1.899193] thermal thermal_zone3: power_allocator: sustainable_power will be estimated [ 1.930340] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 1.940288] Bluetooth: HCI UART driver ver 2.2.d448471.20181218-163903 [ 1.948266] Bluetooth: HCI UART protocol H4 registered [ 1.954148] Bluetooth: HCI H4 protocol initialized [ 1.960653] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 01.00.07 [ 1.969672] axp2101_charger: the gauge have been reset, need to reload param [ 1.969672] [ 1.979739] bt_fdi debugfs_init [ 1.983293] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 900000 KHz [ 2.017387] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 912000 KHz [ 2.057910] cpuidle: enable-method property 'psci' found operations [ 2.067542] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v3.59 2022-4-21 13:40) [ 2.077074] sunxi-mmc sdc0: ***ctl-spec-caps*** 408 [ 2.084559] sunxi-mmc sdc0: No vqmmc regulator found [ 2.090268] sunxi-mmc sdc0: No vdmmc regulator found [ 2.096405] sunxi-mmc sdc0: set host busy [ 2.101147] sunxi-mmc sdc0: Got CD GPIO [ 2.106143] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 22 width 1 timing LEGACY(SDR12) dt B [ 2.357432] sunxi-mmc sdc0: no vqmmc,Check if there is regulator [ 2.387354] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B [ 2.427600] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B [ 2.438400] sunxi-mmc sdc0: detmode:gpio irq [ 2.439030] sunxi-mmc sdc1: SD/MMC/SDIO Host Controller Driver(v3.59 2022-4-21 13:40) [ 2.439175] sunxi-mmc sdc1: ***ctl-spec-caps*** 8 [ 2.439265] sunxi-mmc sdc1: No vmmc regulator found [ 2.439275] sunxi-mmc sdc1: No vqmmc regulator found [ 2.439279] sunxi-mmc sdc1: No vdmmc regulator found [ 2.439283] sunxi-mmc sdc1: No vd33sw regulator found [ 2.439286] sunxi-mmc sdc1: No vd18sw regulator found [ 2.439290] sunxi-mmc sdc1: No vq33sw regulator found [ 2.439299] sunxi-mmc sdc1: No vq18sw regulator found [ 2.440052] sunxi-mmc sdc1: set host busy [ 2.440128] mmc:failed to get gpios [ 2.440532] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.470769] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.499232] sunxi-mmc sdc1: detmode:manually by software [ 2.501006] usbcore: registered new interface driver usbhid [ 2.501008] usbhid: USB HID core driver [ 2.511914] [sound 1158][DAUDIO snd_sunxi_regulator_init] regulator missing or invalid [ 2.513691] sunxi-snd-mach soc@03000000:codec_mach: sunxi-snd-codec <-> soc@03000000:codec_plat mapping ok [ 2.522183] axp2101_charger: the gauge have been reset, need to reload param [ 2.522183] [ 2.524720] random: crng init done [ 2.528817] sunxi-snd-mach soc@03000000:daudio0_mach: snd-soc-dummy-dai <-> 2032000.daudio0_plat mapping ok [ 2.542025] Netfilter messages via NETLINK v0.30. [ 2.542483] nf_conntrack version 0.5.0 (8192 buckets, 32768 max) [ 2.542684] ctnetlink v0.93: registering with nfnetlink. [ 2.543079] ip_tables: (C) 2000-2006 Netfilter Core Team [ 2.545322] NET: Registered protocol family 10 [ 2.547067] NET: Registered protocol family 17 [ 2.547114] NET: Registered protocol family 15 [ 2.547256] Bluetooth: RFCOMM TTY layer initialized [ 2.547278] Bluetooth: RFCOMM socket layer initialized [ 2.547307] Bluetooth: RFCOMM ver 1.11 [ 2.549154] Registering SWP/SWPB emulation handler [ 2.691626] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B [ 2.704347] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 2.711203] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 2.717183] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.728598] sunxi-rtc rtc: setting system clock to 1970-01-01 00:16:32 UTC (992) [ 2.729505] clk: Not disabling unused clocks [ 2.729628] usb-vbus: disabling [ 2.730027] axp2101-dcdc2: disabling [ 2.739128] axp2101-rtcldo1: disabling [ 2.739298] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B [ 2.740504] axp2101-aldo2: disabling [ 2.746451] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B [ 2.747894] axp2101-aldo3: disabling [ 2.789816] axp2101-aldo4: disabling [ 2.794512] axp2101-bldo2: disabling [ 2.799936] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.811063] axp2101-dldo2: disabling [ 2.815943] axp2101-cpusldo: disabling [ 2.820179] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 2.826104] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 2.832007] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 2.837939] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 2.838975] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B [ 2.838999] sunxi-mmc sdc0: no vqmmc,Check if there is regulator [ 2.839027] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.840115] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.873335] sunxi-mmc sdc1: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.873463] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 1 timing LEGACY(SDR12) dt B [ 2.907116] ALSA device list: [ 2.910481] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 2.916501] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 2.916529] sunxi-mmc sdc1: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.924659] sunxi-mmc sdc1: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.936515] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 2.936546] mmc0: host does not support reading read-only switch, assuming write-enable [ 2.947335] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 2.953230] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 2.953257] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 4 timing LEGACY(SDR12) dt B [ 2.962377] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 2.962401] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 22 width 4 timing UHS-SDR104 dt B [ 2.962477] sunxi-mmc sdc0: sdc set ios:clk 150000000Hz bm PP pm ON vdd 22 width 4 timing UHS-SDR104 dt B [ 2.962605] mmc0: new ultra high speed SDR104 SDHC card at address aaaa [ 2.963116] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.964207] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.970766] mmcblk0: mmc0:aaaa SC16G 14.8 GiB [ 2.989068] sunxi-mmc sdc1: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.989316] Primary GPT is invalid, using alternate GPT. [ 2.989353] mmcblk0: p1 p2 p3 p4 p5 p6 p7 [ 3.028028] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 3.038428] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 3.038472] sunxi-mmc sdc1: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.050971] sunxi-mmc sdc1: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.057924] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.069170] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.075376] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.080024] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.080073] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 3.081169] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.115299] sunxi-mmc sdc1: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.149941] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 3.160272] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 3.160421] sunxi-mmc sdc1: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.173527] sunxi-mmc sdc1: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.180677] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.186795] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.197582] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.208510] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.208558] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 3.243733] #0: audiocodec [ 3.246965] #1: snddaudio0 [ 3.257038] List of all partitions: [ 3.261070] b300 15558144 mmcblk0 driver: mmcblk [ 3.267088] b301 3008 mmcblk0p1 a0085546-4166-744a-a353-fca9272b8e45 [ 3.275541] b302 504 mmcblk0p2 a0085546-4166-744a-a353-fca9272b8e46 [ 3.284072] b303 12600 mmcblk0p3 a0085546-4166-744a-a353-fca9272b8e47 [ 3.292507] b304 21920 mmcblk0p4 a0085546-4166-744a-a353-fca9272b8e48 [ 3.300952] b305 5040 mmcblk0p5 a0085546-4166-744a-a353-fca9272b8e49 [ 3.309367] b306 10080 mmcblk0p6 a0085546-4166-744a-a353-fca9272b8e4a [ 3.317783] b307 15480399 mmcblk0p7 a0085546-4166-744a-a353-fca9272b8e4b [ 3.326183] No filesystem could mount root, tried: ext3 ext2 ext4 squashfs vfat msdos [ 3.335144] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,4) [ 3.344602] CPU: 0 PID: 1 Comm: swapper Not tainted 4.9.191 #1 [ 3.351134] Hardware name: sun8iw21 [ 3.355063] [<c010d660>] (unwind_backtrace) from [<c010a754>] (show_stack+0x10/0x14) [ 3.363747] [<c010a754>] (show_stack) from [<c017074c>] (panic+0xac/0x2b8) [ 3.371458] [<c017074c>] (panic) from [<c0a012cc>] (mount_block_root+0x258/0x300) [ 3.379850] [<c0a012cc>] (mount_block_root) from [<c0a01500>] (prepare_namespace+0x118/0x178) [ 3.389410] [<c0a01500>] (prepare_namespace) from [<c0a00eb4>] (kernel_init_freeable+0x144/0x178) [ 3.399359] [<c0a00eb4>] (kernel_init_freeable) from [<c066ac8c>] (kernel_init+0x8/0x118) [ 3.408530] [<c066ac8c>] (kernel_init) from [<c0106ec8>] (ret_from_fork+0x14/0x2c) [ 3.417016] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,4) [ 3.427345] sunxi dump enabled [ 3.430760] dump regs done [ 3.433813] flush cache done [ 3.437048] crashdump enter
-
size再改大一点,重新烧录或者换张卡试一试。
-
@whycan
试了试扩大roofs.fex大小,换了张64G的SD卡,重新烧录,好像还是不行。不过其他的demo,比如lenet,是不会出现这个问题的。只有YOLOV3 会有这个问题。
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号