您尚未登录。

楼主 #1 2021-03-30 10:13:20

MagicKind
会员
注册时间: 2021-03-25
已发帖子: 41
积分: 18.5

求助F1C200S启动时,无法挂在根文件

启动日志
uboot部分

U-Boot 2014.07 (Mar 27 2021 - 11:07:01) Allwinner Technology 

initcall: 80809bd0
uboot commit : fe4e5a2b4205c27be53bc7aa7ed0396a9774aa21
 
U-Boot code: 80800000 -> 8083C29C  BSS: -> 80873078
initcall: 80800eb0
initcall: 80809908
initcall: 80817dc0
initcall: 80809e20
i2c_init: by cpux
gpio: conut=2, set gpio = 1
---name = twi_scl, port = 4,portnum=12,mul_sel=3,pull=-1 drive= -1, data=-1
+++name = twi_sda, port = 4,portnum=0,mul_sel=3,pull=-1 drive= -1, data=-1
[I2C-DEBUG]:i2c_set_clock() 354 
[I2C-ERROR]:twi_send_clk_9pulse() 136 SDA is still Stuck Low, failed. 
i2c_init ok
[0.238]pmbus:   ready
initcall: 80800d50
axp: get node[/soc/pmu0] error
axp_probe error
[0.247]PMU: cpux 408 Mhz,AXI=408 Mhz
PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz 
initcall: 80804664
key value = 4294967295, fel_key = [256,426]
initcall: 80809bb8
DRAM:  initcall: 80805e6c
32 MiB
initcall: 80809f00
Monitor len: 00073078
Ram size: 02000000
Ram top: 82000000
initcall: 80809b8c
Reserving 1048576k for uboot debugbuffer at 81f00000
initcall: 80809944
initcall: 80809b34
TLB table from 81ef0000 to 81ef4000
initcall: 8080995c
initcall: 80809ae8
Reserving 460k for U-Boot at: 81e7c000
initcall: 80809a84
Reserving 16640k for malloc() at: 80e3c000
Reserving 2048k for nocache malloc() at: 80c00000
initcall: 80809ddc
Reserving 88 Bytes for Board Info at: 80bfffa8
initcall: 80809964
initcall: 80809a50
Reserving 328 Bytes for Global Data at: 80bffe60
initcall: 80809d18
Reserving 49824 Bytes for FDT at: 80be7920
initcall: 80809cb0
Reserving 28k for soc config at: 80be0920
initcall: 8080996c
initcall: 808099ec
Reserving 8192 Bytes for IRQ stack at: 80bde910
initcall: 80809ee8
initcall: 808099d0
New Stack Pointer is: 80bde900
initcall: 80809c40
[0.344]fdt addr: 0x80be7920
[0.346]gd->fdt_size: 0xc2a0
initcall: 80809c14
initcall: 80809974
initcall: 8080997c
Relocation Offset is: 0167c000
Relocating to 81e7c000, new gd at 80bffe60, sp at 80bde900
before fix: vector 0, addr 81e7c660 ,value 0x80800904
after  fix: vector 0, addr 81e7c660 ,value 0x81e7c904
before fix: vector 1, addr 81e7c664 ,value 0x808006a0
after  fix: vector 1, addr 81e7c664 ,value 0x81e7c6a0
before fix: vector 2, addr 81e7c668 ,value 0x80800700
after  fix: vector 2, addr 81e7c668 ,value 0x81e7c700
before fix: vector 3, addr 81e7c66c ,value 0x80800760
after  fix: vector 3, addr 81e7c66c ,value 0x81e7c760
before fix: vector 4, addr 81e7c670 ,value 0x808007c0
after  fix: vector 4, addr 81e7c670 ,value 0x81e7c7c0
before fix: vector 5, addr 81e7c674 ,value 0x80800820
after  fix: vector 5, addr 81e7c674 ,value 0x81e7c820
before fix: vector 6, addr 81e7c678 ,value 0x80800880
after  fix: vector 6, addr 81e7c678 ,value 0x81e7c880
before fix: vector 7, addr 81e7c67c ,value 0x808008c0
after  fix: vector 7, addr 81e7c67c ,value 0x81e7c8c0
initcall: 81e855a0
initcall: 81e85750
initcall: 80809740
initcall: 80809730
dram_bank_mmu_setup: bank: 0
initcall: 80805e48
initcall: 808095a8
initcall: 808096c0
Now running in RAM - U-Boot at: 81e7c000
initcall: 808095d8
initcall: 808096dc
malloc start addr is 80e3c000, size 16640k 
no cache malloc start addr is 80c00000, size 16640k 
initcall: 80800fb0
initcall: 80809598
initcall: 808095e0
axp: get node[/soc/pmu0] error
initcall: 808136e4
initcall: 808096b0
initcall: 80810dec
initcall: 80801a44
IRQ_STACK_START=0x80be090c
initcall: 808096a0
initcall: 80809690
int sunxi_dma_init---
irq enable
initcall: 80805e00
initcall: 808097f0
[0.540]flash init start
workmode = 0,storage type = 3
[0.545]spinor:   0
flash size =0x8000 sectors
sunxi spinor is initing...int sunxi_dma_init---
irq enable
sunxi_dma_install_int ok
sunxi_dma_install_int ok
gpio: conut=4, set gpio = 1
---name = spi0_cs0, port = 3,portnum=1,mul_sel=2,pull=1 drive= -1, data=-1
+++name = spi0_sclk, port = 3,portnum=0,mul_sel=2,pull=-1 drive= -1, data=-1
+++name = spi0_mosi, port = 3,portnum=3,mul_sel=2,pull=-1 drive= -1, data=-1
+++name = spi0_miso, port = 3,portnum=2,mul_sel=2,pull=-1 drive= -1, data=-1
OK
spinor id:0x18400b
spi_freq = 40000000
[0.593]sunxi flash init ok
[0.595]sunxi flash init ok
sunxi flash init uboot
sunxi flash read : start 0, sector 32
spinor read: start 0x0, sector 0x20
spinor read: start 0x3e0, sector 0x20
drivers/spinor/sunxi_spinor.c 864
used mbr [0], count = 8
[0.617]flash init end
initcall: 80809670
[0.621]try to burn key
initcall: 8080961c
fdtdec_get_config_int: load-environment
env_relocate_spec storage_type = 3
sunxi flash read : start 1056, sector 512
spinor read: start 0x420, sector 0x200
spinor read: start 0x800, sector 0x200
drivers/spinor/sunxi_spinor.c 864
Destroy Hash Table: 81eb7864 table = 00000000
Create Hash Table: N=512
DELETE CANDIDATE: ""
hdelete: DELETE key ""
DELETE ERROR ##############################
INSERT: table 81eb7864, filled 1/521 rv 80e5c9e0 ==> name="enforcing" value="1"
INSERT: table 81eb7864, filled 2/521 rv 80e5cc60 ==> name="earlyprintk" value="sunxi-uart,0x01c25000"
INSERT: table 81eb7864, filled 3/521 rv 80e5d070 ==> name="initcall_debug" value="0"
INSERT: table 81eb7864, filled 4/521 rv 80e5e448 ==> name="console" value="ttyS0,115200"
INSERT: table 81eb7864, filled 5/521 rv 80e5df5c ==> name="nor_root" value="/dev/mtdblock4"
INSERT: table 81eb7864, filled 6/521 rv 80e5d688 ==> name="nand_root" value="/dev/nandd"
INSERT: table 81eb7864, filled 7/521 rv 80e5cdb4 ==> name="mmc_root" value="/dev/mmcblk0p7"
INSERT: table 81eb7864, filled 8/521 rv 80e5cda0 ==> name="init" value="/pseudo_init"
INSERT: table 81eb7864, filled 9/521 rv 80e5cfd0 ==> name="rdinit" value="/rdinit"
INSERT: table 81eb7864, filled 10/521 rv 80e5d660 ==> name="loglevel" value="8"
INSERT: table 81eb7864, filled 11/521 rv 80e5e178 ==> name="cma" value="32M"
INSERT: table 81eb7864, filled 12/521 rv 80e5cb84 ==> name="verify" value="no"
INSERT: table 81eb7864, filled 13/521 rv 80e5dbd8 ==> name="rootdelay" value="5"
INSERT: table 81eb7864, filled 14/521 rv 80e5e894 ==> name="setargs_nor" value="setenv bootargs enfor"
INSERT: table 81eb7864, filled 15/521 rv 80e5ea24 ==> name="setargs_nand" value="setenv bootargs enfo"
INSERT: table 81eb7864, filled 16/521 rv 80e5c300 ==> name="setargs_mmc" value="setenv  bootargs enfo"
INSERT: table 81eb7864, filled 17/521 rv 80e5ce90 ==> name="boot_normal" value="sunxi_flash read 8000"
INSERT: table 81eb7864, filled 18/521 rv 80e5d638 ==> name="boot_recovery" value="sunxi_flash read 80"
INSERT: table 81eb7864, filled 19/521 rv 80e5e010 ==> name="boot_fastboot" value="fastboot"
INSERT: table 81eb7864, filled 20/521 rv 80e5d2b4 ==> name="recovery_key_value_max" value="0x13"
INSERT: table 81eb7864, filled 21/521 rv 80e5d8e0 ==> name="recovery_key_value_min" value="0x10"
INSERT: table 81eb7864, filled 22/521 rv 80e5cbe8 ==> name="fastboot_key_value_max" value="0x8"
INSERT: table 81eb7864, filled 23/521 rv 80e5dfac ==> name="fastboot_key_value_min" value="0x2"
INSERT: table 81eb7864, filled 24/521 rv 80e5da98 ==> name="bootdelay" value="3"
INSERT: table 81eb7864, filled 25/521 rv 80e5d23c ==> name="bootcmd" value="run setargs_nor boot_norm"
INSERT: free(data = 80e3c180)
INSERT: done
initcall: 8080960c
do not find fastboot status flag
--------fastboot partitions--------
-total partitions:8-
-name-        -start-       -size-      
bootlogo    : 4000          80000       
env         : 84000         80000       
boot        : 104000        2c0000      
rootfs      : 3c4000        820000      
rootfs_data : be4000        80000       
misc        : c64000        10000       
private     : c74000        10000       
UDISK       : c84000        0           
-----------------------------------
Initial value for argc=3
Final value for argc=3
[1.009]base bootcmd=run setargs_nor boot_normal
[1.013]key -1
[1.014]cant find rcvy value
[1.017]cant find fstbt value
[1.020]misc partition found
sunxi flash read : start 25376, sector 4
spinor read: start 0x6320, sector 0x4
spinor read: start 0x6700, sector 0x4
drivers/spinor/sunxi_spinor.c 864
Initial value for argc=3
Final value for argc=3
[1.040]to be run cmd=run setargs_nor boot_normal
disable nand error: FDT_ERR_BADPATH
disable nand error: FDT_ERR_BADPATH
[1.061](weak)update dtb dram start
## error: update_fdt_dram_para : FDT_ERR_NOTFOUND
initcall: 808043a4
PowerBus = 0( 2:vBus 3:acBus other: not exist)
no battery exist
sunxi_bmp_logo_display
initcall: 808095d0
initcall: 808095f0
[1.085]inter uboot shell
### main_loop entered: bootdelay=3

### main_loop: bootcmd="run setargs_nor boot_normal"
Hit any key to stop autoboot:  0 
Initial value for argc=12
Final value for argc=12
[4.105]read partition: boot or recovery
sunxi flash read : start 2080, sector 64
spinor read: start 0x820, sector 0x40
spinor read: start 0xc00, sector 0x40
drivers/spinor/sunxi_spinor.c 864
rblock=5089, start=2080
sunxi flash read : start 2144, sector 5089
spinor read: start 0x860, sector 0x13e1
spinor read: start 0xc40, sector 0x13e1
drivers/spinor/sunxi_spinor.c 864
[4.353]sunxi flash read :offset 104000, 2638672 bytes OK
Initial value for argc=3
Final value for argc=3
## Current stack ends at 0x80bde628 *  kernel: cmdline image address = 0x80007fc0
## Booting kernel from Legacy Image at 80007fc0 ...
   Image Name:   ARM OpenWrt Linux-3.10.65
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2638096 Bytes = 2.5 MiB
   Load Address: 80008000
   Entry Point:  80008000
   kernel data at 0x80008000, len = 0x00284110 (2638096)
## No init Ramdisk
   ramdisk start = 0x00000000, ramdisk end = 0x00000000
Initial value for argc=3
Final value for argc=3
   XIP Kernel Image ... OK
   kernel loaded at 0x80008000, end = 0x8028c110
using: FDT
   reserving fdt memory region: addr=81000000 size=10000
## cmdline at 0x80bdd520 ... 0x80bdd676
## initrd_high = 0xffffffff, copy_to_ram = 1
   ramdisk load start = 0x00000000, ramdisk load end = 0x00000000
   Using Device Tree in place at 81000000, end 8100f29f
Initial value for argc=3
Final value for argc=3
No ethernet MAC Address defined
## Transferring control to Linux (at address 80008000)...

内核部分

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.65 (cotodo@cotodo) (gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.1
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Allwinner A1X (Device Tree), model: sun3iw1p1
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] cma: CMA: failed to reserve 32 MiB
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat c055d36c, node_mem_map c058b000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    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: 8128
[    0.000000] Kernel command line: enforcing=1 earlyprintk=sunxi-uart,0x01c25000 initcall_debug=0 co3
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Memory: 32MB = 32MB total
[    0.000000] Memory: 26656k/26656k available, 6112k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xc2800000 - 0xff000000   ( 968 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc2000000   (  32 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0453f84   (4400 kB)
[    0.000000]       .init : 0xc0454000 - 0xc0472390   ( 121 kB)
[    0.000000]       .data : 0xc0474000 - 0xc055dc88   ( 936 kB)
[    0.000000]        .bss : 0xc055dc88 - 0xc058aba0   ( 180 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] of_sunxi_clocks_init : sunxi_clk_base[0xf1c20000]
[    0.000000] pll_cpu-set_default_rate=552000000 success!
[    0.000000] pll_video-set_default_rate=297000000 success!
[    0.000000] pll_ddr-set_default_rate=312000000 success!
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.005326] Calibrating delay loop... 275.25 BogoMIPS (lpj=1376256)
[    0.075249] pid_max: default: 32768 minimum: 301
[    0.080423] Mount-cache hash table entries: 512
[    0.086411] CPU: Testing write buffer coherency: ok
[    0.092197] Setting up static identity map for 0xc0350938 - 0xc0350990
[    0.101482] devtmpfs: initialized
[    0.106949] pinctrl core: initialized pinctrl subsystem
[    0.112808] NET: Registered protocol family 16
[    0.117963] DMA: failed to allocate 256 KiB pool for atomic coherent allocation
[    0.125991] dump_class_init,844, success
[    0.134787] sun3iw1p1-pinctrl pio: initialized sunXi PIO driver
[    0.160428] bio: create slab <bio-0> at 0
[    0.165942] pwm module init!
[    0.170734] SCSI subsystem initialized
[    0.175059] usbcore: registered new interface driver usbfs
[    0.180858] usbcore: registered new interface driver hub
[    0.186748] usbcore: registered new device driver usb
[    0.194354] gpio=0,mul_sel=0,pull=0,drv_level=0,data=0
[    0.199825] twi_start()387 - [i2c0] START can't sendout!
[    0.205623] twi_start()387 - [i2c0] START can't sendout!
[    0.211330] twi_start()387 - [i2c0] START can't sendout!
[    0.216965] pcf857x 0-0020: retry commucation.7
[    0.221782] twi_start()387 - [i2c0] START can't sendout!
[    0.227512] twi_start()387 - [i2c0] START can't sendout!
[    0.233234] twi_start()387 - [i2c0] START can't sendout!
[    0.238825] pcf857x 0-0020: retry commucation.6
[    0.243661] twi_start()387 - [i2c0] START can't sendout!
[    0.249362] twi_start()387 - [i2c0] START can't sendout!
[    0.255084] twi_start()387 - [i2c0] START can't sendout!
[    0.260674] pcf857x 0-0020: retry commucation.5
[    0.265507] twi_start()387 - [i2c0] START can't sendout!
[    0.271207] twi_start()387 - [i2c0] START can't sendout!
[    0.276929] twi_start()387 - [i2c0] START can't sendout!
[    0.282536] pcf857x 0-0020: retry commucation.4
[    0.287348] twi_start()387 - [i2c0] START can't sendout!
[    0.293070] twi_start()387 - [i2c0] START can't sendout!
[    0.298772] twi_start()387 - [i2c0] START can't sendout!
[    0.304377] pcf857x 0-0020: retry commucation.3
[    0.309189] twi_start()387 - [i2c0] START can't sendout!
[    0.314910] twi_start()387 - [i2c0] START can't sendout!
[    0.320611] twi_start()387 - [i2c0] START can't sendout!
[    0.326216] pcf857x 0-0020: retry commucation.2
[    0.331028] twi_start()387 - [i2c0] START can't sendout!
[    0.336750] twi_start()387 - [i2c0] START can't sendout!
[    0.342468] twi_start()387 - [i2c0] START can't sendout!
[    0.348056] pcf857x 0-0020: retry commucation.1
[    0.352888] twi_start()387 - [i2c0] START can't sendout!
[    0.358591] twi_start()387 - [i2c0] START can't sendout!
[    0.364310] twi_start()387 - [i2c0] START can't sendout!
[    0.369929] pcf857x: probe of 0-0020 failed with error -121
[    0.379619] Linux video capture interface: v2.00
[    0.385012] Advanced Linux Sound Architecture Driver Initialized.
[    0.393218] cfg80211: Calling CRDA to update world regulatory domain
[    0.400597] Switching to clocksource sun3i high-res couter
[    0.425784] get det_vbus is fail, 84
[    0.431283] NET: Registered protocol family 2
[    0.437960] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.445073] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.451734] TCP: Hash tables configured (established 512 bind 512)
[    0.458289] TCP: reno registered
[    0.461691] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.467803] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.474874] NET: Registered protocol family 1
[    0.492901] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.499589] jffs2: version 2.2. © 2001-2006 Red Hat, Inc.
[    0.506028] msgmni has been set to 52
[    0.513138] io scheduler noop registered
[    0.517433] io scheduler cfq registered (default)
[    0.522309] [pm]aw_pm_init!
[    0.525576] [pm]valid
[    0.528067] [pm]valid
[    0.530810] [DISP]disp_module_init
[    0.586477] pll_freq=297000000HZ, lcd_dclk_freq=33000000HZ, clk_div=9
[    0.593896] num_screens=1
[    0.596760] screen_id=0
[    0.599339] para->mclk[MOD_CLK_LCD1CH0]=0xc180c300
[    0.604290] para->mclk[MOD_CLK_LCD1CH1]=0xc180c400
[    0.609285] disp tv init
[    0.611955] tcon_clk=0xc180c300, tcon_clk_parent=0x0
[    0.617121] tcon_clk=0xc180c300, tcon_clk_parent=0xc18043c0
[    0.622867] tve_clk=0xc180c400, tve_clk_parent=0xc18043c0
[    0.628476] disp al tv init
[    0.634157] fetch script datadisp.screen2_output_type fail
[    0.640241] fetch script datadisp.screen2_output_mode fail
[    0.648626] fetch script datadisp.fb2_format fail
[    0.653804] fetch script datadisp.fb2_scaler_mode_enable fail
[    0.660109] fetch script datadisp.fb2_width fail
[    0.665198] fetch script datadisp.fb2_height fail
[    0.670161] disp_malloc fail, size=0x2ee000
[    0.674498] disp_malloc fail!
[    0.677665] [DISP] Fb_map_kernel_logo,line:545:    Fb_map_kernel_logo failed!
[    0.689417] [DISP]disp_module_init finish
[    0.708204] uart0: ttyS0 at MMIO 0x1c25000 (irq = 104) is a SUNXI
[    0.714531] sw_console_setup()1324 - console setup baud 115200 parity n bits 8, flow n
[    0.722801] console [ttyS0] enabled, bootconsole disabled
[    0.722801] console [ttyS0] enabled, bootconsole disabled
[    0.735398] uart1: ttyS1 at MMIO 0x1c25400 (irq = 105) is a SUNXI
[    0.743371] misc dump reg init
[    0.748226] sunxi-wlan wlan: wlan_busnum (0)
[    0.752995] sunxi-wlan wlan: wlan_power_num (0)
[    0.758146] sunxi-wlan wlan: Missing wlan_io_regulator.
[    0.763955] sunxi-wlan wlan: io_regulator_name ((null))
[    0.769840] sunxi-wlan wlan: request pincrtl handle for device [wlan] failed
[    0.777697] ------------SUNXI_RF: Set regon for SUN3IW1P1_R6!----------------
[    0.785640] sunxi-wlan wlan: wlan_regon gpio=-1048163584  mul-sel=-1048355436  pull=-1048355480  d0
[    0.799292] sunxi-wlan wlan: can't request wlan_regon gpio 2041
[    0.805898] platform wlan: Driver sunxi-wlan requests probe deferral
[    0.813357] lradc_battery_probe:lradc_battery_probe ++++++
[    0.819534] lradc_battery_dts_parse:lradc_battery_dts_parse ++++++
[    0.826471] key base: f1c23400
[    0.829998] irq num: 117 !
[    0.833004] battery_data_hw_init:battery_data_hw_init ++++++
[    0.839402] lradc_battery_probe:lradc_battery_probe ------
[    0.848217] spi spi0: master is unqueued, this is deprecated
[    0.855841] m25p80 spi0.0: unrecognized JEDEC id 0b4018
[    0.862140] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.870067] usbcore: registered new interface driver usb-storage
[    0.876933] usbcore: registered new interface driver ums-alauda
[    0.883635] usbcore: registered new interface driver ums-cypress
[    0.890470] usbcore: registered new interface driver ums-datafab
[    0.897295] usbcore: registered new interface driver ums_eneub6250
[    0.904240] usbcore: registered new interface driver ums-freecom
[    0.911061] usbcore: registered new interface driver ums-isd200
[    0.917783] usbcore: registered new interface driver ums-jumpshot
[    0.924634] usbcore: registered new interface driver ums-karma
[    0.931258] usbcore: registered new interface driver ums-onetouch
[    0.938215] usbcore: registered new interface driver ums-realtek
[    0.945007] usbcore: registered new interface driver ums-sddr09
[    0.951749] usbcore: registered new interface driver ums-sddr55
[    0.958477] usbcore: registered new interface driver ums-usbat
[    0.965848] gpio_request failed
[    0.969467] get regulator_io is no nocare
[    0.974065] sunxi_hcd_host0 1c13000.otghci0-controller: sunxi_hcd host driver
[    0.982083] sunxi_hcd_host0 1c13000.otghci0-controller: new USB bus registered, assigned bus numbe1
[    0.993842] hub 1-0:1.0: USB hub found
[    0.998184] hub 1-0:1.0: 1 port detected
[    1.003020] wrn: hcd is not enable, need not stop hcd
[    1.009516] sunxi_keyboard_startup: keyboard has no clk.
[    1.015954] input: sunxi-keyboard as /devices/virtual/input/input0
[    1.024039] rtc-pcf8563 0-0051: chip found, driver version 0.4.3
[    1.031056] twi_start()387 - [i2c0] START can't sendout!
[    1.037251] twi_start()387 - [i2c0] START can't sendout!
[    1.043363] twi_start()387 - [i2c0] START can't sendout!
[    1.049505] rtc-pcf8563 0-0051: pcf8563_get_datetime: read error
[    1.056824] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
[    1.064376] sunxi cedar version 0.1 
[    1.068633] VE: install start!!!
[    1.068633] 
[    1.074020] cedar_ve: cedar-ve the get irq is 103
[    1.079947] VE: install end!!!
[    1.079947] 
[    1.086806] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v0.91 2018-5-29 14:19) Compiled in 7
[    1.099408] sunxi-mmc sdc0: Can't get vmmc regulator string
[    1.105648] sunxi-mmc sdc0: Can't get vqmmc regulator string
[    1.112014] sunxi-mmc sdc0: Can't get vdmmc regulator string
[    1.118344] sunxi-mmc sdc0: Failed getting OCR mask: 0
[    1.124527] sunxi-mmc sdc0: Failed to allocate DMA descriptor mem
[    1.131795] sunxi-mmc: probe of sdc0 failed with error -12
[    1.138432] sun3iw1p1-pinctrl pio: pin PC0 already requested by spi0; cannot claim for sdc1
[    1.147803] sun3iw1p1-pinctrl pio: pin-64 (sdc1) status -22
[    1.154017] sun3iw1p1-pinctrl pio: could not request pin 64 on device pio
[    1.161593] sunxi-mmc sdc1: Error applying setting, reverse things back
[    1.169041] sunxi-mmc sdc1: SD/MMC/SDIO Host Controller Driver(v0.91 2018-5-29 14:19) Compiled in 7
[    1.181482] sunxi-mmc sdc1: Can't get vmmc regulator string
[    1.187761] sunxi-mmc sdc1: Can't get vqmmc regulator string
[    1.194050] sunxi-mmc sdc1: Can't get vdmmc regulator string
[    1.200405] sunxi-mmc sdc1: Failed getting OCR mask: 0
[    1.207179] sunxi-mmc sdc1: Failed to allocate DMA descriptor mem
[    1.214305] sunxi-mmc: probe of sdc1 failed with error -12
[    1.224732] failed to get gpio-spk and gpio_num
[    1.231867] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTR
[    1.239933] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTL
[    1.247908] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKL
[    1.255656] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKR
[    1.263419] sunxi-codec-machine sound.2: ASoC: DAPM unknown pin External Speaker
[    1.271843] sunxi-internal-cpudai 1c23c00.cpudai0-controller: ASoC: pcm constructor failed: -12
[    1.281588] sunxi-codec-machine sound.2: ASoC: can't create pcm SUNXI-CODEC :-12
[    1.289838] sunxi-codec-machine sound.2: ASoC: failed to instantiate card -12
[    1.298159] snd_soc_register_card failed -12
[    1.302935] sunxi-codec-machine: probe of sound.2 failed with error -12
[    1.311088] ipip: IPv4 over IPv4 tunneling driver
[    1.317547] gre: GRE over IPv4 demultiplexor driver
[    1.322981] ip_gre: GRE over IPv4 tunneling driver
[    1.330601] TCP: cubic registered
[    1.334333] Initializing XFRM netlink socket
[    1.339216] NET: Registered protocol family 17
[    1.344231] NET: Registered protocol family 15
[    1.349701] VFP support v0.3: not present
[    1.355394] [LCD]lcd_module_init
[    1.363105] enhance_en=1
[    1.365983] matrixresult:(0x0, 0x3c4, 0x0, 0x0)
[    1.371269] pll_freq=297000000HZ, lcd_dclk_freq=33000000HZ, clk_div=9
[    1.378525] clk_div=9
[    1.381065] [DISP] disp_sys_gpio_request,line:303:    disp_sys_gpio_request failed, gpio_name=lcd_7
[    1.395172] [LCD]open, step 0 finish
[    1.436447] [LCD]open, step 1 finish
[    1.496450] [LCD]open, step 2 finish
[    1.616480] ------------[ cut here ]------------
[    1.621677] WARNING: at drivers/gpio/gpiolib.c:126 gpio_to_desc+0x28/0x4c()
[    1.629470] invalid GPIO -517
[    1.632790] Modules linked in:
[    1.636198] CPU: 0 PID: 25 Comm: kworker/0:1 Not tainted 3.10.65 #38
[    1.643345] Workqueue: events start_work
[    1.647795] Backtrace: 
[    1.650589] [<c0013328>] (dump_backtrace+0x0/0x104) from [<c0013534>] (show_stack+0x18/0x1c)
[    1.660013]  r7:0000007e r6:c0405e3a r5:00000009 r4:c189fda8
[    1.666462] [<c001351c>] (show_stack+0x0/0x1c) from [<c034d840>] (dump_stack+0x20/0x28)
[    1.675416] [<c034d820>] (dump_stack+0x0/0x28) from [<c001b9dc>] (warn_slowpath_common+0x54/0x70)
[    1.685390] [<c001b988>] (warn_slowpath_common+0x0/0x70) from [<c001ba30>] (warn_slowpath_fmt+0x38)
[    1.695975]  r9:c056fa80 r8:c0406cca r7:00000001 r6:00000000 r5:c18cc3c0
r4:fffffdfb
[    1.704847] [<c001b9f8>] (warn_slowpath_fmt+0x0/0x40) from [<c014bb98>] (gpio_to_desc+0x28/0x4c)
[    1.714647]  r3:fffffdfb r2:c0405e29
[    1.718733] [<c014bb70>] (gpio_to_desc+0x0/0x4c) from [<c014bc3c>] (gpio_get_value_cansleep+0x10/0)
[    1.729175] [<c014bc2c>] (gpio_get_value_cansleep+0x0/0x44) from [<c015bbd0>] (disp_sys_gpio_set_d)
[    1.741089] [<c015bbb0>] (disp_sys_gpio_set_direction+0x0/0xb8) from [<c0172130>] (disp_lcd_gpio_s)
[    1.753334]  r5:c18cc3c0 r4:c1814000
[    1.757408] [<c0172088>] (disp_lcd_gpio_set_direction+0x0/0xc8) from [<c016db04>] (bsp_disp_lcd_gp)
[    1.770012]  r7:c1814000 r6:c056f808 r5:00000001 r4:00000000
[    1.776383] [<c016dacc>] (bsp_disp_lcd_gpio_set_direction+0x0/0x44) from [<c0178648>] (sunxi_lcd_g)
[    1.789092]  r5:00000000 r4:00000003
[    1.793123] [<c0178628>] (sunxi_lcd_gpio_set_direction+0x0/0x30) from [<c017bd94>] (LCD_bl_open+0x)
[    1.803961] [<c017bd6c>] (LCD_bl_open+0x0/0x3c) from [<c01553e4>] (drv_lcd_enable+0xa0/0xe0)
[    1.813410] [<c0155344>] (drv_lcd_enable+0x0/0xe0) from [<c0155530>] (start_work+0x10c/0x1cc)
[    1.822936]  r9:c056fa80 r8:c0406ce7 r7:00000001 r6:c0406c77 r5:c056fcf4
r4:00000000
[    1.831736] [<c0155424>] (start_work+0x0/0x1cc) from [<c0031cc0>] (process_one_work+0x1e8/0x330)
[    1.841574] [<c0031ad8>] (process_one_work+0x0/0x330) from [<c0031e38>] (process_scheduled_works+0)
[    1.852470] [<c0031e08>] (process_scheduled_works+0x0/0x34) from [<c0032b78>] (worker_thread+0x1e0)
[    1.863117]  r5:c0480bd0 r4:c189c060
[    1.867191] [<c0032998>] (worker_thread+0x0/0x358) from [<c0037cf8>] (kthread+0xa8/0xb4)
[    1.876226] [<c0037c50>] (kthread+0x0/0xb4) from [<c000f930>] (ret_from_fork+0x14/0x24)
[    1.885173]  r7:00000000 r6:00000000 r5:c0037c50 r4:c1849e7c
[    1.891520] ---[ end trace 77f3c8ee3675178e ]---
[    1.896677] ------------[ cut here ]------------
[    1.901869] WARNING: at drivers/gpio/gpiolib.c:126 gpio_to_desc+0x28/0x4c()
[    1.909636] invalid GPIO -517
[    1.912924] Modules linked in:
[    1.916328] CPU: 0 PID: 25 Comm: kworker/0:1 Tainted: G        W    3.10.65 #38
[    1.924532] Workqueue: events start_work
[    1.928945] Backtrace: 
[    1.931726] [<c0013328>] (dump_backtrace+0x0/0x104) from [<c0013534>] (show_stack+0x18/0x1c)
[    1.941158]  r7:0000007e r6:c0405e3a r5:00000009 r4:c189fda0
[    1.947561] [<c001351c>] (show_stack+0x0/0x1c) from [<c034d840>] (dump_stack+0x20/0x28)
[    1.956567] [<c034d820>] (dump_stack+0x0/0x28) from [<c001b9dc>] (warn_slowpath_common+0x54/0x70)
[    1.966512] [<c001b988>] (warn_slowpath_common+0x0/0x70) from [<c001ba30>] (warn_slowpath_fmt+0x38)
[    1.977089]  r9:c056fa80 r8:c0406cca r7:00000001 r6:00000000 r5:c18cc3c0
r4:00000000
[    1.985922] [<c001b9f8>] (warn_slowpath_fmt+0x0/0x40) from [<c014bb98>] (gpio_to_desc+0x28/0x4c)
[    1.995723]  r3:fffffdfb r2:c0405e29
[    1.999794] [<c014bb70>] (gpio_to_desc+0x0/0x4c) from [<c014c628>] (gpio_direction_output+0x14/0x2)
[    2.010067] [<c014c614>] (gpio_direction_output+0x0/0x20) from [<c015bbdc>] (disp_sys_gpio_set_dir)
[    2.021725]  r5:c18cc3c0 r4:fffffdfb
[    2.025780] [<c015bbb0>] (disp_sys_gpio_set_direction+0x0/0xb8) from [<c0172130>] (disp_lcd_gpio_s)
[    2.038028]  r5:c18cc3c0 r4:c1814000
[    2.042060] [<c0172088>] (disp_lcd_gpio_set_direction+0x0/0xc8) from [<c016db04>] (bsp_disp_lcd_gp)
[    2.054670]  r7:c1814000 r6:c056f808 r5:00000001 r4:00000000
[    2.061084] [<c016dacc>] (bsp_disp_lcd_gpio_set_direction+0x0/0x44) from [<c0178648>] (sunxi_lcd_g)
[    2.073782]  r5:00000000 r4:00000003
[    2.077851] [<c0178628>] (sunxi_lcd_gpio_set_direction+0x0/0x30) from [<c017bd94>] (LCD_bl_open+0x)
[    2.088688] [<c017bd6c>] (LCD_bl_open+0x0/0x3c) from [<c01553e4>] (drv_lcd_enable+0xa0/0xe0)
[    2.098130] [<c0155344>] (drv_lcd_enable+0x0/0xe0) from [<c0155530>] (start_work+0x10c/0x1cc)
[    2.107649]  r9:c056fa80 r8:c0406ce7 r7:00000001 r6:c0406c77 r5:c056fcf4
r4:00000000
[    2.116446] [<c0155424>] (start_work+0x0/0x1cc) from [<c0031cc0>] (process_one_work+0x1e8/0x330)
[    2.126235] [<c0031ad8>] (process_one_work+0x0/0x330) from [<c0031e38>] (process_scheduled_works+0)
[    2.137142] [<c0031e08>] (process_scheduled_works+0x0/0x34) from [<c0032b78>] (worker_thread+0x1e0)
[    2.147789]  r5:c0480bd0 r4:c189c060
[    2.151844] [<c0032998>] (worker_thread+0x0/0x358) from [<c0037cf8>] (kthread+0xa8/0xb4)
[    2.160936] [<c0037c50>] (kthread+0x0/0xb4) from [<c000f930>] (ret_from_fork+0x14/0x24)
[    2.169873]  r7:00000000 r6:00000000 r5:c0037c50 r4:c1849e7c
[    2.176179] ---[ end trace 77f3c8ee3675178f ]---
[    2.181337] gpiod_direction_output: invalid GPIO
[    2.186517] [DISP] disp_sys_gpio_set_direction,line:413:    gpio_direction_output fail!
[    2.195407] ------------[ cut here ]------------
[    2.200607] WARNING: at drivers/gpio/gpiolib.c:126 gpio_to_desc+0x28/0x4c()
[    2.208400] invalid GPIO -517
[    2.211705] Modules linked in:
[    2.215108] CPU: 0 PID: 25 Comm: kworker/0:1 Tainted: G        W    3.10.65 #38
[    2.223297] Workqueue: events start_work
[    2.227701] Backtrace: 
[    2.230484] [<c0013328>] (dump_backtrace+0x0/0x104) from [<c0013534>] (show_stack+0x18/0x1c)
[    2.239922]  r7:0000007e r6:c0405e3a r5:00000009 r4:c189fda8
[    2.246273] [<c001351c>] (show_stack+0x0/0x1c) from [<c034d840>] (dump_stack+0x20/0x28)
[    2.255278] [<c034d820>] (dump_stack+0x0/0x28) from [<c001b9dc>] (warn_slowpath_common+0x54/0x70)
[    2.265222] [<c001b988>] (warn_slowpath_common+0x0/0x70) from [<c001ba30>] (warn_slowpath_fmt+0x38)
[    2.275801]  r9:c056fa80 r8:c0406cca r7:00000001 r6:00000000 r5:c18cc3c0
r4:00000001
[    2.284619] [<c001b9f8>] (warn_slowpath_fmt+0x0/0x40) from [<c014bb98>] (gpio_to_desc+0x28/0x4c)
[    2.294444]  r3:fffffdfb r2:c0405e29
[    2.298511] [<c014bb70>] (gpio_to_desc+0x0/0x4c) from [<c014be10>] (gpio_set_value_cansleep+0x14/0)
[    2.308934] [<c014bdfc>] (gpio_set_value_cansleep+0x0/0x6c) from [<c015bccc>] (disp_sys_gpio_set_v)
[    2.320402]  r5:c18cc3c0 r4:c1814000
[    2.324445] [<c015bcb4>] (disp_sys_gpio_set_value+0x0/0x4c) from [<c0172068>] (disp_lcd_gpio_set_v)
[    2.335937] [<c0171fc0>] (disp_lcd_gpio_set_value+0x0/0xc8) from [<c016dac0>] (bsp_disp_lcd_gpio_s)
[    2.347780]  r7:c1814000 r6:c056f808 r5:00000001 r4:00000000
[    2.354173] [<c016da88>] (bsp_disp_lcd_gpio_set_value+0x0/0x44) from [<c0178618>] (sunxi_lcd_gpio_)
[    2.366114]  r5:00000000 r4:00000003
[    2.370222] [<c01785f8>] (sunxi_lcd_gpio_set_value+0x0/0x30) from [<c017bda4>] (LCD_bl_open+0x38/0)
[    2.380655] [<c017bd6c>] (LCD_bl_open+0x0/0x3c) from [<c01553e4>] (drv_lcd_enable+0xa0/0xe0)
[    2.390126] [<c0155344>] (drv_lcd_enable+0x0/0xe0) from [<c0155530>] (start_work+0x10c/0x1cc)
[    2.399636]  r9:c056fa80 r8:c0406ce7 r7:00000001 r6:c0406c77 r5:c056fcf4
r4:00000000
[    2.408461] [<c0155424>] (start_work+0x0/0x1cc) from [<c0031cc0>] (process_one_work+0x1e8/0x330)
[    2.418284] [<c0031ad8>] (process_one_work+0x0/0x330) from [<c0031e38>] (process_scheduled_works+0)
[    2.429176] [<c0031e08>] (process_scheduled_works+0x0/0x34) from [<c0032b78>] (worker_thread+0x1e0)
[    2.439845]  r5:c0480bd0 r4:c189c060
[    2.443882] [<c0032998>] (worker_thread+0x0/0x358) from [<c0037cf8>] (kthread+0xa8/0xb4)
[    2.452953] [<c0037c50>] (kthread+0x0/0xb4) from [<c000f930>] (ret_from_fork+0x14/0x24)
[    2.461895]  r7:00000000 r6:00000000 r5:c0037c50 r4:c1849e7c
[    2.468237] ---[ end trace 77f3c8ee36751790 ]---
[    2.473390] [LCD]open, step 3 finish
[    2.486969] [LCD]lcd_module_init finish
[    2.491953] sunxi-wlan wlan: wlan_busnum (0)
[    2.496868] sunxi-wlan wlan: wlan_power_num (0)
[    2.501919] sunxi-wlan wlan: Missing wlan_io_regulator.
[    2.507816] sunxi-wlan wlan: io_regulator_name ((null))
[    2.513732] sunxi-wlan wlan: request pincrtl handle for device [wlan] failed
[    2.521708] ------------SUNXI_RF: Set regon for SUN3IW1P1_R6!----------------
[    2.529728] sunxi-wlan wlan: wlan_regon gpio=-1048163584  mul-sel=-1047978604  pull=-1047978648  d0
[    2.543416] sunxi-wlan wlan: can't request wlan_regon gpio 2041
[    2.550094] platform wlan: Driver sunxi-wlan requests probe deferral
[    2.557531] usb_serial_number:20080411
[    2.562323] file system registered
[    2.569004] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    2.576843] android_usb gadget: Number of LUNs=3
[    2.581984]  lun0: LUN: removable file: (no medium)
[    2.587460]  lun1: LUN: removable file: (no medium)
[    2.592907]  lun2: LUN: removable file: (no medium)
[    2.599293] android_usb gadget: android_usb ready
[    2.604744] twi_start()387 - [i2c0] START can't sendout!
[    2.611023] twi_start()387 - [i2c0] START can't sendout!
[    2.617196] twi_start()387 - [i2c0] START can't sendout!
[    2.623231] rtc-pcf8563 0-0051: pcf8563_get_datetime: read error
[    2.629966] rtc-pcf8563 0-0051: hctosys: unable to read the hardware clock
[    2.637892] ALSA device list:
[    2.641243]   No soundcards found.
[    2.646072] VFS: Cannot open root device "mtdblock4" or unknown-block(0,0): error -6
[    2.654817] Please append a correct "root=" boot option; here are the available partitions:
[    2.664187] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

nor的fex文件配置

partition_start]

[partition]
    name         = bootlogo
    size         = 1024
    downloadfile = "bootlogo.fex"
    user_type    = 0x8000

[partition]
    name         = env
    ;size         = 256
    size         = 1024
    downloadfile = "env.fex"
    user_type    = 0x8000

[partition]
    name         = boot
    ;size         = 5120
    size         = 5632
    downloadfile = "boot.fex"
    user_type    = 0x8000

[partition]
    name         = rootfs
    ;size         = 1024
    ;size         = 16640
    size         = 17920
    downloadfile = "rootfs.fex"
    user_type    = 0x8000

[partition]
    name         = rootfs_data
    size         = 1024
    user_type    = 0x8000

;[partition]
;    name         = extend
;    size         = 8192
;    downloadfile = "usr.fex"
;    user_type    = 0x8000

[partition]
    name         = misc
    size         = 128
    user_type    = 0x8000

[partition]
    name         = private
    size         = 128
    user_type    = 0x8000

[partition]
    name         = UDISK
    user_type    = 0x8100

希望路过的大佬能够指点一二,小弟在此谢过了

最近编辑记录 MagicKind (2021-03-30 10:21:08)

离线

楼主 #3 2021-03-30 11:18:22

MagicKind
会员
注册时间: 2021-03-25
已发帖子: 41
积分: 18.5

Re: 求助F1C200S启动时,无法挂在根文件

大佬,可以方便指导一下,怎么样修改的吗,我改不成功

离线

楼主 #4 2021-03-30 13:33:20

MagicKind
会员
注册时间: 2021-03-25
已发帖子: 41
积分: 18.5

Re: 求助F1C200S启动时,无法挂在根文件

感谢大佬,我修改成功了,谢谢

离线

楼主 #6 2021-03-30 17:41:54

MagicKind
会员
注册时间: 2021-03-25
已发帖子: 41
积分: 18.5

Re: 求助F1C200S启动时,无法挂在根文件

raspberryman 说:

请问是如何修改的?

我修改了两个地方,一个是设备树文件sun3iw1p1-c200s-F1C200s.dts文件

			nor_flash@0 {
				#address-cells = <1>;
				#size-cells = <1>;
                                将compatible = "st,m25p64";
				改为compatible = "macronix,mx25l12805d","jedec,spi-nor";
				spi-max-frequency = <50000000>;
				reg = <0>;	/* Chip select 0 */
			};

一个是m25p80.c文件

{ "mx25l12805d", INFO(0xc22018, 0, 64 * 1024, 256, 0) },
改为
{ "mx25l12805d", INFO(0x0b4018, 0, 64 * 1024, 256, 0) },

最近编辑记录 MagicKind (2021-03-30 17:42:41)

离线

楼主 #8 2021-03-31 09:48:58

MagicKind
会员
注册时间: 2021-03-25
已发帖子: 41
积分: 18.5

Re: 求助F1C200S启动时,无法挂在根文件

无根浮萍 说:

@MagicKind 感觉前面那一步应该可以用不做, 只改 m25p80.c 就可以了

嗯嗯,应该可以的,不过,能用我就没有试了

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn