你发的是我提供的固件吧,你提供下你的固件打印信息
wxgd2017 发布的帖子
-
回复: T113 tina 使用spi nand flash启动报Kernel panic
@zhangheyang
#kernel command arguments
earlyprintk=sunxi-uart,0x02500000
initcall_debug=0
console=ttyS0,115200
nand_root=/dev/ubiblock0_5
mmc_root=/dev/mmcblk0p5
nor_root=/dev/mtdblock5
mtd_name=sys
rootfstype=squashfs
root_partition=rootfs
boot_partition=boot
init=/sbin/init
loglevel=8
cma=0M
mac=
wifi_mac=
bt_mac=
specialstr=
keybox_list=widevine,ec_key,ec_cert1,ec_cert2,ec_cert3,rsa_key,rsa_cert1,rsa_cert2,rsa_cert3
dsp0_partition=dsp0
#set kernel cmdline if boot.img or recovery.img has no cmdline we will use this
setargs_nand=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
setargs_nand_ubi=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
setargs_mmc=setenv bootargs earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${mmc_root} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
setargs_nor=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nor_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
#nand command syntax: sunxi_flash read address partition_name read_bytes
#0x4007f800 = 0x40080000(kernel entry) - 0x800(boot.img header 2k)
boot_dsp0=sunxi_flash read 45000000 ${dsp0_partition};bootr 45000000 0 0
boot_normal=sunxi_flash read 41000000 ${boot_partition};bootm 41000000
boot_recovery=sunxi_flash read 45000000 recovery;bootm 45000000
boot_fastboot=fastboot#uboot system env config
bootdelay=2
#default bootcmd, will change at runtime according to key press
#default nand boot
bootcmd=run setargs_nand boot_normal -
回复: T113+tina,RMII连接10Mbps/Half,能发送,不能接收
破案了,原来是linux kernel的device drivers > network device support > PHY Device support ...下使能了RTL-8363NB。禁用RTL8201F就变成100M,网络也正常了。
-
T113+tina,RMII连接10Mbps/Half,能发送,不能接收
phy是RTL8201F,board.dts配置RMII,linux系统下显示10Mbps/Half,能发送,不能接收。电脑端显示100M,也无法接收,和解?
[ 7.447421] libphy: 4500000.eth: probed [ 7.454977] sunxi-gmac 4500000.eth eth0: eth0: -Type(7) PHY ID 00070007 at 0 IRQ poll (4500000.eth-0:00) priv->phy_ext: 1 [ 7.484909] sunxi-gmac 4500000.eth eth0: Link is Up - 10Mbps/Half - flow control off
-
回复: T113 tina 使用spi nand flash启动报Kernel panic
破案了,根文件系统要求squashfs,默认配置是ext4格式文件系统,make menuconfig改成squashfs,同时禁用ext4,就可以了
-
T113 longan uboot无输出
修改了uart0 到PF2/PF4 ,但是uboot阶段无输出,请问下还需要修改哪里?sys_config.fex 已经注释了sd0的配置信息
HELLO! BOOT0 is starting! [32]BOOT0 commit : 5224261 [35]set pll start [40]periph0 has been enabled [43]set pll end [45][pmu]: bus read error [47]board init ok [49]enable_jtag [51]ZQ value = 0x31 [53]get_pmu_exist() = -1 [55]DRAM BOOT DRIVE INFO: V0.32 [58]DRAM CLK = 792 MHz [60]DRAM Type = 3 (2:DDR2,3:DDR3) [64]DRAMC read ODT off. [66]DRAM ODT value: 0x42. [69]ddr_efuse_type: 0xa [71]mark_id: 0x60 [73]DRAM SIZE =128 M [75]PLL_DDR_CTRL_REG:0xf8004100 [78]DRAM_CLK_REG:0xc0000000 [81][TIMING DEBUG] MR2= 0x18 [88]DRAM simple test OK. [91]rtc standby flag is 0x0, super standby flag is 0x0 [96]dram size =128 [98]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 32 [104]block from 8 to 32 [243]Check is correct. [245]dma 0x29c4c int is not used yet [248]dma 0x29c4c int is free, you do not need to free it again [254]Entry_name = u-boot [261]Entry_name = optee [265]Entry_name = dtb [268]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
-
回复: T113 tina 使用spi nand flash启动报Kernel panic
@yuzukitsuru
用了你的这个env.cfg,也不行U-Boot 2018.05 (Apr 02 2022 - 06:28:13 +0000) Allwinner Technology [00.302]CPU: Allwinner Family [00.305]Model: sun8iw20 [00.307]DRAM: 128 MiB [00.310]Relocation Offset is: 04ea5000 [00.338]secure enable bit: 0 [00.341]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.347]gic: sec monitor mode [00.350]flash init start [00.352]workmode = 0,storage type = 0 sspi->base_addr = 0x4025000, the SPI control register: [VER] 0x4025000 = 0x00010001, [GCR] 0x4025004 = 0x00000083, [TCR] 0x4025008 = 0x00000184 [ICR] 0x4025010 = 0x00000f00, [ISR] 0x4025014 = 0x00000032, [FCR] 0x4025018 = 0x00200020 [FSR] 0x402501c = 0x00000000, [WCR] 0x4025020 = 0x00000000, [CCR] 0x4025024 = 0x00000002 [SDC] 0x4025028 = 0x00002000, [BCR] 0x4025030 = 0x00000000, [TCR] 0x4025034 = 0x00000000 [BCC] 0x4025038 = 0x20000000, [DMA] 0x4025088 = 0x000000e5 [00.398]sunxi-spinand-phy: not detect any munufacture from id table [00.405]sunxi-spinand-phy: get spi-nand Model from fdt fail [00.410]sunxi-spinand-phy: get phy info from fdt fail 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.611]ubi0: attaching mtd4 [00.723]ubi0: scanning is finished [00.730]ubi0: attached mtd4 (name "sys", size 123 MiB) [00.734]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes [00.741]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048 [00.747]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [00.753]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0 [00.758]ubi0: user volume: 7, internal volumes: 1, max. volumes count: 128 [00.765]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0 [00.773]ubi0: available PEBs: 0, total reserved PEBs: 492, PEBs reserved for bad PEB handling: 20 [00.781]sunxi flash init ok [00.784]line:703 init_clocks [00.787]drv_disp_init request pwm success, pwm7:pwm7:0x2000c00. [00.800]drv_disp_init finish [00.802]boot_gui_init:start [00.805]set disp.dev2_output_type fail. using defval=0 [00.811]boot_gui_init:finish partno erro : can't find partition bootloader 54 bytes read in 0 ms [00.924]bmp_name=bootlogo.bmp size 38454 38454 bytes read in 3 ms (12.2 MiB/s) [00.992]LCD open finish [01.031]Loading Environment from SUNXI_FLASH... OK [01.054]Item0 (Map) magic is bad secure storage read widevine fail [01.060]secure storage read widevine fail with:-1 secure storage read ec_key fail [01.067]secure storage read ec_key fail with:-1 secure storage read ec_cert1 fail [01.074]secure storage read ec_cert1 fail with:-1 secure storage read ec_cert2 fail [01.082]secure storage read ec_cert2 fail with:-1 secure storage read ec_cert3 fail [01.089]secure storage read ec_cert3 fail with:-1 secure storage read rsa_key fail [01.097]secure storage read rsa_key fail with:-1 secure storage read rsa_cert1 fail [01.104]secure storage read rsa_cert1 fail with:-1 secure storage read rsa_cert2 fail [01.112]secure storage read rsa_cert2 fail with:-1 secure storage read rsa_cert3 fail [01.119]secure storage read rsa_cert3 fail with:-1 [01.124]out of usb burn from boot: not need burn key partno erro : can't find partition private [01.156]update bootcmd [01.170]change working_fdt 0x46a64e70 to 0x46a44e70 [01.190]update dts geth_sys_init:624: get node 'gmac0' error geth_sys_init fail! [01.197]Board Net Initialization Failed [01.201]No ethernet found. Hit any key to stop autoboot: 0 [03.489]no vendor_boot partition is found Android's image name: t113-mq [03.501]Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.4.61 (easyboard@V3S) (arm-openwrt-linux-muslgnueabi-gcc.bin (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) 6.4.1, GNU ld (GNU Binutils) 2.27) #9 SMP PREEMPT Wed Apr 13 13:01:21 UTC 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: sun8iw20 [ 0.000000] printk: bootconsole [earlycon0] enabled [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] On node 0 totalpages: 32512 [ 0.000000] Normal zone: 256 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 32512 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 s30796 r8192 d22452 u61440 [ 0.000000] pcpu-alloc: s30796 r8192 d22452 u61440 alloc=15*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32256 [ 0.000000] Kernel command line: ubi.mtd=sys ubi.block=0,rootfs earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=ubi0_5 rootfstype=squashfs init=/sbin/init partitions=mbr@ubi0_0:boot-resource@ubi0_1:env@ubi0_2:env-redund@ubi0_3:boot@ubi0_4:rootfs@ubi0_5:UDISK@ubi0_6: cma=0M 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.05(04/02/2022-06:28:13) mbr_offset=1032192 disp_reserve=1536000,0x46ae8000 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: 114172K/130048K available (7168K kernel code, 353K rwdata, 1900K rodata, 1024K init, 177K bss, 15876K reserved, 0K 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+0x254/0x3d8 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.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.008018] Switching to timer-based delay loop, resolution 41ns [ 0.014201] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.023961] Console: colour dummy device 80x30 [ 0.028441] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.038822] pid_max: default: 32768 minimum: 301 [ 0.043565] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.050912] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.059278] CPU: Testing write buffer coherency: ok [ 0.064521] /cpus/cpu@0 missing clock-frequency property [ 0.069850] /cpus/cpu@1 missing clock-frequency property [ 0.075196] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.081458] Setting up static identity map for 0x40100000 - 0x40100060 [ 0.088137] rcu: Hierarchical SRCU implementation. [ 0.093419] smp: Bringing up secondary CPUs ... [ 0.099198] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.099359] smp: Brought up 1 node, 2 CPUs [ 0.109175] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.115372] CPU: All CPU(s) started in SVC mode. [ 0.120486] devtmpfs: initialized [ 0.136208] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.144417] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.154281] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.161228] pinctrl core: initialized pinctrl subsystem [ 0.167875] NET: Registered protocol family 16 [ 0.173154] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.220731] rtc_ccu: sunxi ccu init OK [ 0.226688] ccu: sunxi ccu init OK [ 0.230558] r_ccu: sunxi ccu init OK [ 0.286854] iommu: Default domain type: Translated [ 0.292027] sunxi iommu: irq = 24 [ 0.296521] SCSI subsystem initialized [ 0.300636] usbcore: registered new interface driver usbfs [ 0.306276] usbcore: registered new interface driver hub [ 0.311704] usbcore: registered new device driver usb [ 0.316957] mc: Linux media interface: v0.10 [ 0.321330] videodev: Linux video capture interface: v2.00 [ 0.328304] sunxi-msgbox-amp 3003000.msgbox: invalid resource [ 0.335113] Advanced Linux Sound Architecture Driver Initialized. [ 0.341980] Bluetooth: Core ver 2.22 [ 0.345639] NET: Registered protocol family 31 [ 0.350087] Bluetooth: HCI device and connection manager initialized [ 0.356678] Bluetooth: HCI socket layer initialized [ 0.361583] Bluetooth: L2CAP socket layer initialized [ 0.366694] Bluetooth: SCO socket layer initialized [ 0.371962] pwm module init! [ 0.376269] ths test int keyboard for ONE_CHANNEL [ 0.381298] input: sunxi-keyboard as /devices/virtual/input/input0 [ 0.389043] clocksource: Switched to clocksource arch_sys_counter [ 0.404565] sun8iw20-pinctrl pio: initialized sunXi PIO driver [ 0.425441] thermal_sys: Registered thermal governor 'user_space' [ 0.425449] thermal_sys: Registered thermal governor 'power_allocator' [ 0.432326] NET: Registered protocol family 2 [ 0.444032] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.452474] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.460199] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.467269] TCP: Hash tables configured (established 1024 bind 1024) [ 0.473773] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.480368] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.487572] NET: Registered protocol family 1 [ 0.493351] sun8iw20-pinctrl pio: pio supply vcc-pc not found, using dummy regulator [ 0.501677] spi spi0: spi0 supply spi not found, using dummy regulator [ 0.508404] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE [ 0.514629] sunxi_spi_resource_get()2189 - Failed to get sample mode [ 0.521016] sunxi_spi_resource_get()2194 - Failed to get sample delay [ 0.527474] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 [ 0.535884] sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 [ 0.542320] spi spi0: chipselect 0 already in use [ 0.547037] spi_master spi0: spi_device register error /soc@3000000/spi@4025000/spi_board@0 [ 0.555444] spi_master spi0: Failed to create SPI device for /soc@3000000/spi@4025000/spi_board@0 [ 0.564372] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base c8868000, irq 42 [ 0.574378] Initialise system trusted keyrings [ 0.579165] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 0.593804] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.627599] Key type asymmetric registered [ 0.631731] Asymmetric key parser 'x509' registered [ 0.636637] io scheduler mq-deadline registered [ 0.641276] io scheduler kyber registered [ 0.645391] atomic64_test: passed [ 0.650466] [DISP]disp_module_init [ 0.654520] disp 5000000.disp: Adding to iommu group 0 [ 0.660369] [DISP] disp_init,line:2329: [ 0.660375] smooth display screen:0 type:1 mode:4 [ 0.685529] display_fb_request,fb_id:0 [ 0.694593] Freeing logo buffer memory: 1500K [ 0.699571] disp_al_manager_apply ouput_type:1 [ 0.704297] [DISP] lcd_clk_config,line:731: [ 0.704309] disp 0, clk: pll(364000000),clk(364000000),dclk(52000000) dsi_rate(364000000) [ 0.704309] clk real:pll(360000000),clk(360000000),dclk(51428571) dsi_rate(0) [ 0.709888] [DISP]disp_module_init finish [ 0.724737] sun8iw20-pinctrl pio: pio supply vcc-pd not found, using dummy regulator [ 0.730234] sunxi_sid_init()551 - insmod ok [ 0.741084] pwm-regulator: supplied by regulator-dummy [ 0.748600] uart uart0: get regulator failed [ 0.752946] uart uart0: uart0 supply uart not found, using dummy regulator [ 0.760212] uart0: ttyS0 at MMIO 0x2500000 (irq = 34, base_baud = 1500000) is a SUNXI [ 0.768108] sw_console_setup()1784 - console setup baud 115200 parity n bits 8, flow n [ 0.776191] printk: console [ttyS0] enabled [ 0.776191] printk: console [ttyS0] enabled [ 0.785073] printk: bootconsole [earlycon0] disabled [ 0.785073] printk: bootconsole [earlycon0] disabled [ 0.796421] uart uart2: get regulator failed [ 0.801280] uart uart2: uart2 supply uart not found, using dummy regulator [ 0.809364] uart2: ttyS2 at MMIO 0x2500800 (irq = 35, base_baud = 1500000) is a SUNXI [ 0.818839] sun8iw20-pinctrl pio: pio supply vcc-pg not found, using dummy regulator [ 0.827924] uart uart3: get regulator failed [ 0.832743] uart uart3: uart3 supply uart not found, using dummy regulator [ 0.840747] uart3: ttyS3 at MMIO 0x2500c00 (irq = 36, base_baud = 1500000) is a SUNXI [ 0.850646] misc dump reg init [ 0.856739] sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 [ 0.863990] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 [ 0.871964] sunxi-spinand-phy: not detect any munufacture from id table [ 0.879372] sunxi-spinand-phy: get spi-nand Model from fdt fail [ 0.885986] sunxi-spinand-phy: get phy info from fdt fail [ 0.892019] sunxi-spinand-phy: not detect munufacture from fdt [ 0.898705] sunxi-spinand-phy: detect munufacture from id table: Dosilicon [ 0.906399] sunxi-spinand-phy: detect spinand id: ffff71e5 ffffffff [ 0.913409] sunxi-spinand-phy: ========== arch info ========== [ 0.919923] sunxi-spinand-phy: Model: DS35X1GAXXX [ 0.926532] sunxi-spinand-phy: Munufacture: Dosilicon [ 0.932947] sunxi-spinand-phy: DieCntPerChip: 1 [ 0.938584] sunxi-spinand-phy: BlkCntPerDie: 1024 [ 0.944515] sunxi-spinand-phy: PageCntPerBlk: 64 [ 0.950259] sunxi-spinand-phy: SectCntPerPage: 4 [ 0.955888] sunxi-spinand-phy: OobSizePerPage: 64 [ 0.961624] sunxi-spinand-phy: BadBlockFlag: 0x1 [ 0.967454] sunxi-spinand-phy: OperationOpt: 0x7 [ 0.973288] sunxi-spinand-phy: MaxEraseTimes: 65000 [ 0.979329] sunxi-spinand-phy: EccFlag: 0x0 [ 0.985152] sunxi-spinand-phy: EccType: 2 [ 0.990799] sunxi-spinand-phy: EccProtectedType: 3 [ 0.996428] sunxi-spinand-phy: ======================================== [ 1.003818] sunxi-spinand-phy: [ 1.007315] sunxi-spinand-phy: ========== physical info ========== [ 1.014215] sunxi-spinand-phy: TotalSize: 128 M [ 1.019587] sunxi-spinand-phy: SectorSize: 512 B [ 1.024926] sunxi-spinand-phy: PageSize: 2 K [ 1.030099] sunxi-spinand-phy: BlockSize: 128 K [ 1.035438] sunxi-spinand-phy: OOBSize: 64 B [ 1.040691] sunxi-spinand-phy: ======================================== [ 1.048071] sunxi-spinand-phy: [ 1.051580] sunxi-spinand-phy: ========== logical info ========== [ 1.058379] sunxi-spinand-phy: TotalSize: 128 M [ 1.063728] sunxi-spinand-phy: SectorSize: 512 B [ 1.069077] sunxi-spinand-phy: PageSize: 4 K [ 1.074229] sunxi-spinand-phy: BlockSize: 256 K [ 1.079584] sunxi-spinand-phy: OOBSize: 128 B [ 1.084930] sunxi-spinand-phy: ======================================== [ 1.092440] sunxi-spinand-phy: block lock register: 0x00 [ 1.098500] sunxi-spinand-phy: feature register: 0x11 [ 1.104158] sunxi-spinand-phy: sunxi physic nand init end [ 1.110675] Creating 4 MTD partitions on "sunxi_mtd_nand": [ 1.116800] 0x000000000000-0x000000100000 : "boot0" [ 1.130195] 0x000000100000-0x000000400000 : "uboot" [ 1.138620] random: fast init done [ 1.160210] 0x000000400000-0x000000500000 : "secure_storage" [ 1.180182] 0x000000500000-0x000008000000 : "sys" [ 1.637231] random: crng init done [ 1.690747] libphy: Fixed MDIO Bus: probed [ 1.695984] sun8iw20-pinctrl pio: pio supply vcc-pe not found, using dummy regulator [ 1.705089] sunxi gmac driver's version: 1.0.0 [ 1.710290] gmac-power0: NULL [ 1.713599] gmac-power1: NULL [ 1.716927] gmac-power2: NULL [ 1.720342] rtl8363nb_vb_init->575 rtk8363 init===== [ 1.725888] rtk_switch_probe->1011 flyranchao data = 0x0 regValue = 0x0=== [ 1.733590] rtk switch init failed! [ 1.738553] Failed to alloc md5 [ 1.742156] eth0: Use random mac address [ 1.746872] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.754215] sunxi-ehci: EHCI SUNXI driver [ 1.759140] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.766060] sunxi-ohci: OHCI SUNXI driver [ 1.771231] usbcore: registered new interface driver uas [ 1.777244] usbcore: registered new interface driver usb-storage [ 1.784051] usbcore: registered new interface driver ums-alauda [ 1.790770] usbcore: registered new interface driver ums-cypress [ 1.797526] usbcore: registered new interface driver ums-datafab [ 1.804314] usbcore: registered new interface driver ums_eneub6250 [ 1.811284] usbcore: registered new interface driver ums-freecom [ 1.818034] usbcore: registered new interface driver ums-isd200 [ 1.824711] usbcore: registered new interface driver ums-jumpshot [ 1.831583] usbcore: registered new interface driver ums-karma [ 1.838144] usbcore: registered new interface driver ums-onetouch [ 1.845042] usbcore: registered new interface driver ums-realtek [ 1.851821] usbcore: registered new interface driver ums-sddr09 [ 1.858488] usbcore: registered new interface driver ums-sddr55 [ 1.865172] usbcore: registered new interface driver ums-usbat [ 1.871757] usbcore: registered new interface driver idmouse [ 1.878919] sunxi_gpadc_init,2113, success [ 1.883883] sunxi_gpadc_setup: get channel scan data failed [ 1.890407] input: sunxi-gpadc0 as /devices/virtual/input/input1 [ 1.899590] sunxi-rtc 7090000.rtc: registered as rtc0 [ 1.905360] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:00:34 UTC (34) [ 1.914364] sunxi-rtc 7090000.rtc: sunxi rtc probed [ 1.920288] i2c /dev entries driver [ 1.924307] IR NEC protocol handler initialized [ 1.929833] sun8iw20-pinctrl pio: pio supply vcc-pb not found, using dummy regulator [ 1.938773] sunxi_ir_startup: get ir protocol failed [ 1.938793] (NULL device *): deviceless supply not found, using dummy regulator [ 1.952707] Registered IR keymap rc_map_sunxi [ 1.957732] rc rc0: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0 [ 1.966436] rc rc0: lirc_dev: driver sunxi-rc-recv registered at minor = 0, raw IR receiver, no transmitter [ 1.977545] input: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0/s_cir_rx [ 1.987851] sunxi cedar version 1.1 [ 1.991988] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 [ 1.998248] VE: sunxi_cedar_probe power-domain init!!! [ 2.004006] VE: install start!!! [ 2.004006] [ 2.009607] VE: cedar-ve the get irq is 43 [ 2.009607] [ 2.016062] VE: ve_debug_proc_info:1d4e605e, data:6f2b805c, lock:ab2f5335 [ 2.016062] [ 2.025321] VE: install end!!! [ 2.025321] [ 2.030387] VE: sunxi_cedar_probe [ 2.035683] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 2.044844] Bluetooth: HCI UART driver ver 2.3 [ 2.049829] Bluetooth: HCI UART protocol H4 registered [ 2.055558] Bluetooth: HCI UART protocol BCSP registered [ 2.061494] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 [ 2.068707] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 [ 2.075089] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 [ 2.081622] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! [ 2.081622] [ 2.090270] [XR_BT_LPM] bluesleep_probe: uart_index(1) [ 2.098422] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.20 2021-05-12 11:02) [ 2.108356] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 [ 2.114553] sunxi-mmc 4021000.sdmmc: No vmmc regulator found [ 2.120907] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found [ 2.127316] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found [ 2.133751] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found [ 2.140271] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found [ 2.146777] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found [ 2.153292] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found [ 2.159835] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed [ 2.169258] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.180378] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 2.200479] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.224679] sunxi-mmc 4021000.sdmmc: detmode:manually by software [ 2.232236] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.240154] usbcore: registered new interface driver usbhid [ 2.250160] usbhid: USB HID core driver [ 2.251332] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.254466] exFAT: Version 1.3.0 [ 2.269681] sunxi-mmc 4021000.sdmmc: card claims to support voltages below defined range [ 2.280818] usbcore: registered new interface driver snd-usb-audio [ 2.289929] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 [ 2.289929] [ 2.307078] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 [ 2.318481] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished [ 2.327918] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! [ 2.337742] [SNDCODEC][sunxi_card_init][583]:card init finished [ 2.344838] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok [ 2.356050] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input3 [ 2.368324] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished [ 2.376790] sunxi-rpaf-dsp soc@3000000:rpaf-dsp@203034c: register device finished! [ 2.385328] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch [ 2.389136] sunxi-rpaf-dsp soc@3000000:rpaf-dsp@203034c: [rpaf_dsp0] probe finished! [ 2.401305] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 2.409551] rpmsg_hifi 3003000.msgbox.sunxi,dsp-msgbox.1.257: id:sunxi,dsp-msgbox new channel: 0x1 -> 0x101! [ 2.413069] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 2.424220] rpmsg_hifi 3003000.msgbox.sunxi,dsp-msgbox.1.257: rpmsg hifi[0] client driver is probed [ 2.445639] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B [ 2.458409] mmc0: new high speed SDIO card at address 0001 [ 2.459313] NET: Registered protocol family 10 [ 2.471584] Segment Routing with IPv6 [ 2.475801] NET: Registered protocol family 17 [ 2.480980] Bluetooth: RFCOMM TTY layer initialized [ 2.486444] Bluetooth: RFCOMM socket layer initialized [ 2.492246] Bluetooth: RFCOMM ver 1.11 [ 2.496477] 8021q: 802.1Q VLAN Support v1.8 [ 2.502041] Registering SWP/SWPB emulation handler [ 2.507779] Loading compiled-in X.509 certificates [ 2.513723] fs-verity: Initialized fs-verity [ 2.538490] twi twi3: twi3 supply twi not found, using dummy regulator [ 2.546779] sunxi_i2c_probe()2266 - [i2c3] probe success [ 2.590365] get ehci0-controller wakeup-source is fail. [ 2.596346] sunxi ehci0-controller don't init wakeup source [ 2.602732] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0c797b0, 0x:c94ef000, irq_no:3c [ 2.614811] [sunxi-ehci0]: Not init ehci0 [ 2.619730] get ohci0-controller wakeup-source is fail. [ 2.625716] sunxi ohci0-controller don't init wakeup source [ 2.632020] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0c79a40 [ 2.641707] [sunxi-ohci0]: Not init ohci0 [ 2.646594] get ehci1-controller wakeup-source is fail. [ 2.652589] sunxi ehci1-controller don't init wakeup source [ 2.658871] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0c79cd0, 0x:c94f9000, irq_no:3e [ 2.671162] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator [ 2.684666] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller [ 2.691960] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 [ 2.701809] sunxi-ehci 4200000.ehci1-controller: irq 62, io mem 0x04200000 [ 2.739060] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 [ 2.747779] hub 1-0:1.0: USB hub found [ 2.752081] hub 1-0:1.0: 1 port detected [ 2.757346] get ohci1-controller wakeup-source is fail. [ 2.763400] sunxi ohci1-controller don't init wakeup source [ 2.769681] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0c79f60 [ 2.779628] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator [ 2.792002] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller [ 2.799289] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 [ 2.809154] sunxi-ohci 4200400.ohci1-controller: irq 63, io mem 0x04200400 [ 2.883960] hub 2-0:1.0: USB hub found [ 2.888231] hub 2-0:1.0: 1 port detected [ 2.894610] ubi0: attaching mtd3 [ 3.165367] ubi0: scanning is finished [ 3.178903] ubi0: attached mtd3 (name "sys", size 123 MiB) [ 3.185169] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes [ 3.192928] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048 [ 3.200569] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 3.208391] ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0 [ 3.215147] ubi0: user volume: 7, internal volumes: 1, max. volumes count: 128 [ 3.223271] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0 [ 3.232704] ubi0: available PEBs: 0, total reserved PEBs: 492, PEBs reserved for bad PEB handling: 20 [ 3.243091] ubi0: background thread "ubi_bgt0d" started, PID 1075 [ 3.251222] block ubiblock0_5: created from ubi0:5(rootfs) [ 3.257931] sun8iw20-pinctrl pio: pin PB6 already requested by 2502c00.twi; cannot claim for pio:38 [ 3.268144] sun8iw20-pinctrl pio: pin-38 (pio:38) status -22 [ 3.274503] ERR: id gpio_request failed [ 3.281094] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 3.292353] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 3.299835] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 3.309079] clk: Not disabling unused clocks [ 3.309531] cfg80211: failed to load regulatory.db [ 3.314299] ALSA device list: [ 3.323103] #0: audiocodec [ 3.326377] alloc_fd: slot 0 not NULL! [ 3.331019] ubi0_5: Can't open blockdev [ 3.335339] VFS: Cannot open root device "ubi0_5" or unknown-block(0,0): error -2 [ 3.343797] Please append a correct "root=" boot option; here are the available partitions: [ 3.353225] 1f00 1024 mtdblock0 [ 3.353228] (driver?) [ 3.360583] 1f01 3072 mtdblock1 [ 3.360586] (driver?) [ 3.367930] 1f02 1024 mtdblock2 [ 3.367932] (driver?) [ 3.375289] 1f03 125952 mtdblock3 [ 3.375292] (driver?) [ 3.382709] fe00 102564 ubiblock0_5 [ 3.382712] (driver?) [ 3.390265] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 3.399538] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.4.61 #9 [ 3.406174] Hardware name: Generic DT based system [ 3.411566] [<c010e248>] (unwind_backtrace) from [<c010a870>] (show_stack+0x10/0x14) [ 3.420258] [<c010a870>] (show_stack) from [<c0799760>] (dump_stack+0x7c/0x98) [ 3.428365] [<c0799760>] (dump_stack) from [<c011956c>] (panic+0x104/0x3d8) [ 3.436179] [<c011956c>] (panic) from [<c0b01270>] (mount_block_root+0x254/0x2fc) [ 3.444577] [<c0b01270>] (mount_block_root) from [<c0b0141c>] (prepare_namespace+0x84/0x178) [ 3.454046] [<c0b0141c>] (prepare_namespace) from [<c07adc60>] (kernel_init+0x8/0x10c) [ 3.462931] [<c07adc60>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c) [ 3.471419] Exception stack(0xc7825fb0 to 0xc7825ff8) [ 3.477084] 5fa0: 00000000 00000000 00000000 00000000 [ 3.486258] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 3.495432] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 3.502856] CPU1: stopping [ 3.505891] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.4.61 #9 [ 3.512527] Hardware name: Generic DT based system [ 3.517904] [<c010e248>] (unwind_backtrace) from [<c010a870>] (show_stack+0x10/0x14) [ 3.526593] [<c010a870>] (show_stack) from [<c0799760>] (dump_stack+0x7c/0x98) [ 3.534697] [<c0799760>] (dump_stack) from [<c010c648>] (handle_IPI+0xcc/0x168) [ 3.542901] [<c010c648>] (handle_IPI) from [<c0367a24>] (gic_handle_irq+0x70/0x78) [ 3.551396] [<c0367a24>] (gic_handle_irq) from [<c01021cc>] (__irq_svc+0x6c/0xa8) [ 3.559787] Exception stack(0xc7865f80 to 0xc7865fc8) [ 3.565454] 5f80: 00010ac8 c7ecc4f4 00000000 c0114b40 00000002 c7864000 c0c04e28 c0c04e64 [ 3.574629] 5fa0: 4000406a 410fc075 00000000 00000000 c0c637d0 c7865fd0 c0107f94 c0107f84 [ 3.583800] 5fc0: 60000013 ffffffff [ 3.587715] [<c01021cc>] (__irq_svc) from [<c0107f84>] (arch_cpu_idle+0x1c/0x38) [ 3.596016] [<c0107f84>] (arch_cpu_idle) from [<c013de94>] (do_idle+0xd0/0x120) [ 3.604216] [<c013de94>] (do_idle) from [<c013e180>] (cpu_startup_entry+0x18/0x20) [ 3.612709] [<c013e180>] (cpu_startup_entry) from [<40102bec>] (0x40102bec) [ 3.620530] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
-
回复: T113 tina 使用spi nand flash启动报Kernel panic
@yuzukitsuru
请问下怎么改,以下内容为env.cfg内容,谢谢#kernel command arguments earlyprintk=sunxi-uart,0x02500000 initcall_debug=0 console=ttyS0,115200 nand_root=/dev/ubiblock0_5 mmc_root=/dev/mmcblk0p5 nor_root=/dev/mtdblock5 mtd_name=sys rootfstype=squashfs root_partition=rootfs boot_partition=boot init=/sbin/init loglevel=8 cma=0M mac= wifi_mac= bt_mac= specialstr= keybox_list=widevine,ec_key,ec_cert1,ec_cert2,ec_cert3,rsa_key,rsa_cert1,rsa_cert2,rsa_cert3 dsp0_partition=dsp0 #set kernel cmdline if boot.img or recovery.img has no cmdline we will use this setargs_nand=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1 setargs_nand_ubi=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1 setargs_mmc=setenv bootargs earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${mmc_root} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1 setargs_nor=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nor_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1 #nand command syntax: sunxi_flash read address partition_name read_bytes #0x4007f800 = 0x40080000(kernel entry) - 0x800(boot.img header 2k) boot_dsp0=sunxi_flash read 45000000 ${dsp0_partition};bootr 45000000 0 0 boot_normal=sunxi_flash read 41000000 ${boot_partition};bootm 41000000 boot_recovery=sunxi_flash read 45000000 recovery;bootm 45000000 boot_fastboot=fastboot #uboot system env config bootdelay=2 #default bootcmd, will change at runtime according to key press #default nand boot bootcmd=run setargs_mmc boot_normal
-
T113 tina 使用spi nand flash启动报Kernel panic
[ 2.610043] hub 1-0:1.0: USB hub found [ 2.614291] hub 1-0:1.0: 1 port detected [ 2.619509] get ohci1-controller wakeup-source is fail. [ 2.625476] sunxi ohci1-controller don't init wakeup source [ 2.631696] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0c79f60 [ 2.641599] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator [ 2.653841] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller [ 2.661048] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 [ 2.670795] sunxi-ohci 4200400.ohci1-controller: irq 63, io mem 0x04200400 [ 2.746265] hub 2-0:1.0: USB hub found [ 2.750480] hub 2-0:1.0: 1 port detected [ 2.757313] sun8iw20-pinctrl pio: pin PB6 already requested by 2502c00.twi; cannot claim for pio:38 [ 2.767455] sun8iw20-pinctrl pio: pin-38 (pio:38) status -22 [ 2.773766] ERR: id gpio_request failed [ 2.780248] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 2.791454] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 2.798874] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 2.801430] clk: Not disabling unused clocks [ 2.808508] cfg80211: failed to load regulatory.db [ 2.813270] ALSA device list: [ 2.821983] #0: audiocodec [ 2.825206] alloc_fd: slot 0 not NULL! [ 2.829766] VFS: Cannot open root device "mmcblk0p5" or unknown-block(0,0): error -6 [ 2.838448] Please append a correct "root=" boot option; here are the available partitions: [ 2.847858] 1f00 1024 mtdblock0 [ 2.847861] (driver?) [ 2.855167] 1f01 3072 mtdblock1 [ 2.855170] (driver?) [ 2.862491] 1f02 1024 mtdblock2 [ 2.862494] (driver?) [ 2.869769] 1f03 125952 mtdblock3 [ 2.869771] (driver?) [ 2.877086] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 2.886285] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.4.61 #3 [ 2.892866] Hardware name: Generic DT based system [ 2.898217] [<c010e248>] (unwind_backtrace) from [<c010a870>] (show_stack+0x10/0x14) [ 2.906837] [<c010a870>] (show_stack) from [<c07946e0>] (dump_stack+0x7c/0x98) [ 2.914878] [<c07946e0>] (dump_stack) from [<c011956c>] (panic+0x104/0x3d8) [ 2.922631] [<c011956c>] (panic) from [<c0b01270>] (mount_block_root+0x254/0x2fc) [ 2.930963] [<c0b01270>] (mount_block_root) from [<c0b014d0>] (prepare_namespace+0x138/0x178) [ 2.940451] [<c0b014d0>] (prepare_namespace) from [<c07a8be0>] (kernel_init+0x8/0x10c) [ 2.949266] [<c07a8be0>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c) [ 2.957683] Exception stack(0xc7825fb0 to 0xc7825ff8) [ 2.963301] 5fa0: 00000000 00000000 00000000 00000000 [ 2.972399] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 2.981497] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 2.988861] CPU1: stopping [ 2.991872] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.4.61 #3 [ 2.998454] Hardware name: Generic DT based system [ 3.003791] [<c010e248>] (unwind_backtrace) from [<c010a870>] (show_stack+0x10/0x14) [ 3.012410] [<c010a870>] (show_stack) from [<c07946e0>] (dump_stack+0x7c/0x98) [ 3.020448] [<c07946e0>] (dump_stack) from [<c010c648>] (handle_IPI+0xcc/0x168) [ 3.028587] [<c010c648>] (handle_IPI) from [<c03629a4>] (gic_handle_irq+0x70/0x78) [ 3.037014] [<c03629a4>] (gic_handle_irq) from [<c01021cc>] (__irq_svc+0x6c/0xa8) [ 3.045337] Exception stack(0xc7865f80 to 0xc7865fc8) [ 3.050958] 5f80: 00009214 c7ecc4f4 00000000 c0114b40 00000002 c7864000 c0c04e28 c0c04e64 [ 3.060060] 5fa0: 4000406a 410fc075 00000000 00000000 c0c637d0 c7865fd0 c0107f94 c0107f84 [ 3.069157] 5fc0: 60000113 ffffffff [ 3.073041] [<c01021cc>] (__irq_svc) from [<c0107f84>] (arch_cpu_idle+0x1c/0x38) [ 3.081273] [<c0107f84>] (arch_cpu_idle) from [<c013de94>] (do_idle+0xd0/0x120) [ 3.089410] [<c013de94>] (do_idle) from [<c013e180>] (cpu_startup_entry+0x18/0x20) [ 3.097837] [<c013e180>] (cpu_startup_entry) from [<40102bec>] (0x40102bec) [ 3.105599] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
-
修改debug 串口,提示sync错误
用t113 tina,修改debug为uart2,修改了sys_config.fex为uart2(PF2 PF4),编译时提示warning:your configuration is out of sync,please run make menuconfig ,old config or defconfig
-
T113编译固件288M,如何裁减烧录到128M flash中
T113按照longan系统默认配置,编译生成固件有288M,无法烧录128M spi nand flash中,该如何裁减或配置才能实现?
-
F133检测spi flash 型号是否支持或者硬件是否OK
自制了一块F133,otg已识别设备,但是烧录bin文件失败,提示“检查固件是否正确或设备是否工作正常”,请问有没有工具检查spi flash 型号是否支持或者硬件是否OK?
-
T113烧录R528的img文件失败
T113和R528是同一个die,但是用R528的tina 打包的img无法烧录到T113,提示检查文件有效性和设备是否正常工作,有人尝试吗?
-
麻雀dual无法连接phoenixsuit1.19
麻雀dual在未接存储设备,插了sd卡或者焊接了spi nand flash等三种情况,通过usb otg均无法连接到phoenixsuit,但系统驱动能正确识别,求助
-
回复: 麻雀加核计划:MQ增加双核内置128M版本,MQ-Pro则增加四核版本
@mangogeek 将压缩文件解压后,是隐藏文件夹“.repo”,repo目录下有:manifests manifest.xml project-objects repo manifests.git project.list projects,无法按照tina编译方法操作
-
回复: 麻雀加核计划:MQ增加双核内置128M版本,MQ-Pro则增加四核版本
@mangogeek 这个sdk我下载了,用cat链接后成.tar.gz,后面就解压不了,,,求助
-
如何修改 D1s默认串口为 UART0(PF2/PF4) ?
系统调试串口uart0 输出引脚默认是PE2、PE3,设计了个板子,uart0需要从PF2、PF4出,请问下uboot和linxu系统分别怎么修改,可以实现这个功能,麻烦大佬了
-
F133 的以太网GMAC与wifi共存方案
请问下,F133 的以太网GMAC与wifi共存方案有推荐电路吗?看芯片手册GMAC与WIFI部分已经重叠了。除了USB转以太网。F133的以太网驱动在Tina中已经集成了吗?