您尚未登录。

楼主 # 2023-09-27 14:49:04

Cloud_Lee
会员
注册时间: 2023-08-02
已发帖子: 4
积分: 4

F1C200S tina linux3.5.1卡在内核启动

打印log如下:

U-Boot 2014.07 (Jul 31 2018 - 14:59:26) Allwinner Technology 

uboot commit : 6604446f7bddb8fe53f2b993100929f92a5f4d6e
 
i2c_init: by cpux
[I2C-DEBUG]:i2c_set_clock() 354 
[I2C-ERROR]:twi_send_clk_9pulse() 136 SDA is still Stuck Low, failed. 
i2c_init ok
[0.187]pmbus:   ready
axp: get node[/soc/pmu0] error
axp_probe error
[0.193]PMU: cpux 408 Mhz,AXI=408 Mhz
PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz 
key value = 4294967295, fel_key = [256,426]
DRAM:  64 MiB
Relocation Offset is: 03581000
axp: get node[/soc/pmu0] error
int sunxi_dma_init---
irq enable
workmode = 0,storage type = 3
[0.257]spinor:   0
flash size =0x10000 sectors
sunxi spinor is initing...int sunxi_dma_init---
irq enable
sunxi_dma_install_int ok
sunxi_dma_install_int ok
OK
spinor id:0x1940c8
spinor enter 4bytes addr
spi_freq = 40000000
[0.277]sunxi flash init ok
spinor read: start 0x3e0, sector 0x20
used mbr [0], count = 8
spinor read: start 0x800, sector 0x200
backup env check CRC fail
Now update backup env
spinor write: start 0x900, sector 0x100
start = 0x900, cnt=0x80
start = 0x980, cnt=0x80
logo addr = 0x83f00000
spinor read: start 0x400, sector 0x400
sunxi_read_bootlogo: read bootlogo partition successful
do not find fastboot status flag
--------fastboot partitions--------
-total partitions:8-
-name-        -start-       -size-      
bootlogo    : 4000          80000       
env         : 84000         40000       
boot        : c4000         400000      
rootfs      : 4c4000        800000      
rootfs_data : cc4000        80000       
misc        : d44000        10000       
private     : d54000        10000       
UDISK       : d64000        0           
-----------------------------------
spinor read: start 0x6e00, sector 0x4
disable nand error: FDT_ERR_BADPATH
disable nand error: FDT_ERR_BADPATH
## error: update_fdt_dram_para : FDT_ERR_NOTFOUND
PowerBus = 0( 2:vBus 3:acBus other: not exist)
no battery exist
sunxi_bmp_logo_display
Hit any key to stop autoboot:  0 
spinor read: start 0xa00, sector 0x40
spinor read: start 0xa40, sector 0x152e
## Booting kernel from Legacy Image at 80007fc0 ...
   Image Name:   ARM OpenWrt Linux-3.10.65
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2808272 Bytes = 2.7 MiB
   Load Address: 80008000
   Entry Point:  80008000
   XIP Kernel Image ... OK
   reserving fdt memory region: addr=81000000 size=10000
   Using Device Tree in place at 81000000, end 8100f29f

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 (cloud@cloud) (gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) ) #13 Wed Sep 27 06:34:02 UTC 2023
[    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: reserved 32 MiB at 82000000
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat c05a764c, node_mem_map c05d6000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    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: 16256
[    0.000000] Kernel command line: enforcing=1 earlyprintk=sunxi-uart,0x01c25000 initcall_debug=0 console=ttyS1,115200 loglevel=8 root=/dev/mtdblock4 init=/pseudo_init rdinit=/rdinit partitions=bootlogo@mtdblock1:env@mtdblock2:boot@mtdblock3:rootfs@mtdblock4:rootfs_data@mtdblock5:misc@mtdblock6:private@mtdblock7:UDISK@mtdblock8 cma=32M fb_base=0x83f00000 androidboot.serialno=<NULL> boot_type=3
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 64MB = 64MB total
[    0.000000] Memory: 26012k/26012k available, 39524k 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 : 0xc4800000 - 0xff000000   ( 936 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc049df84   (4696 kB)
[    0.000000]       .init : 0xc049e000 - 0xc04bcaf8   ( 123 kB)
[    0.000000]       .data : 0xc04be000 - 0xc05a7f68   ( 936 kB)
[    0.000000]        .bss : 0xc05a7f68 - 0xc05d5200   ( 181 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.005330] Calibrating delay loop... 275.25 BogoMIPS (lpj=1376256)
[    0.075249] pid_max: default: 32768 minimum: 301
[    0.080428] Mount-cache hash table entries: 512
[    0.086394] CPU: Testing write buffer coherency: ok
[    0.092172] Setting up static identity map for 0xc038eff0 - 0xc038f048
[    0.101455] devtmpfs: initialized
[    0.107041] pinctrl core: initialized pinctrl subsystem
[    0.119376] NET: Registered protocol family 16
[    0.127343] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.135025] dump_class_init,844, success
[    0.143896] sun3iw1p1-pinctrl pio: initialized sunXi PIO driver
[    0.168378] bio: create slab <bio-0> at 0
[    0.173889] pwm module init!
[    0.178664] SCSI subsystem initialized
[    0.182961] usbcore: registered new interface driver usbfs
[    0.188742] usbcore: registered new interface driver hub
[    0.194667] usbcore: registered new device driver usb
[    0.202210] gpio=0,mul_sel=0,pull=0,drv_level=0,data=0
[    0.207926] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.216479] pcf857x 0-0020: retry commucation.7
[    0.221446] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.229973] pcf857x 0-0020: retry commucation.6
[    0.234949] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.243471] pcf857x 0-0020: retry commucation.5
[    0.248425] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.256946] pcf857x 0-0020: retry commucation.4
[    0.261900] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.270419] pcf857x 0-0020: retry commucation.3
[    0.275398] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.283919] pcf857x 0-0020: retry commucation.2
[    0.288870] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.297393] pcf857x 0-0020: retry commucation.1
[    0.302346] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
[    0.310893] pcf857x: probe of 0-0020 failed with error -70
[    0.320446] Linux video capture interface: v2.00
[    0.325883] Advanced Linux Sound Architecture Driver Initialized.
[    0.333862] cfg80211: Calling CRDA to update world regulatory domain
[    0.341323] Switching to clocksource sun3i high-res couter
[    0.367467] get det_vbus is fail, 84
[    0.372839] NET: Registered protocol family 2
[    0.379484] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.386597] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.393261] TCP: Hash tables configured (established 512 bind 512)
[    0.399813] TCP: reno registered
[    0.403209] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.409324] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.416413] NET: Registered protocol family 1
[    0.437381] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.443971] jffs2: version 2.2. © 2001-2006 Red Hat, Inc.
[    0.450569] msgmni has been set to 114
[    0.457833] io scheduler noop registered
[    0.462010] io scheduler cfq registered (default)
[    0.466878] [pm]aw_pm_init!
[    0.470256] [pm]valid
[    0.472668] [pm]valid
[    0.475394] [DISP]disp_module_init
[    0.487974] num_screens=1
[    0.490744] screen_id=0
[    0.493320] para->mclk[MOD_CLK_LCD1CH0]=0xc180c340
[    0.498364] para->mclk[MOD_CLK_LCD1CH1]=0xc180c440
[    0.503317] disp tv init
[    0.505982] tcon_clk=0xc180c340, tcon_clk_parent=0x0
[    0.511159] tcon_clk=0xc180c340, tcon_clk_parent=0xc1804400
[    0.516909] tve_clk=0xc180c440, tve_clk_parent=0xc1804400
[    0.522526] disp al tv init
[    0.528328] fetch script datadisp.screen2_output_type fail
[    0.534308] fetch script datadisp.screen2_output_mode fail
[    0.542667] fetch script datadisp.fb2_format fail
[    0.547923] fetch script datadisp.fb2_scaler_mode_enable fail
[    0.554155] fetch script datadisp.fb2_width fail
[    0.559319] fetch script datadisp.fb2_height fail
[    0.564212] invalid paras xres(0, yres(0) in Display_Fb_Request
[    0.574822] [DISP]disp_module_init finish
[    0.593750] uart1: ttyS1 at MMIO 0x1c25400 (irq = 104) is a SUNXI
[    0.600187] sw_console_setup()1324 - console setup baud 115200 parity n bits 8, flow n
[    0.608404] console [ttyS1] enabled, bootconsole disabled
[    0.608404] console [ttyS1] enabled, bootconsole disabled
[    0.621020] misc dump reg init
[    0.625892] lradc_battery_probe:lradc_battery_probe ++++++
[    0.632113] lradc_battery_dts_parse:lradc_battery_dts_parse ++++++
[    0.639058] key base: f1c23400
[    0.642583] irq num: 114 !
[    0.645588] battery_data_hw_init:battery_data_hw_init ++++++
[    0.651988] lradc_battery_probe:lradc_battery_probe ------
[    0.660749] spi spi0: master is unqueued, this is deprecated
[    0.668443] m25p80 spi0.0: unrecognized JEDEC id c84019
[    0.674602] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.682500] usbcore: registered new interface driver usb-storage
[    0.689364] usbcore: registered new interface driver ums-alauda
[    0.696012] usbcore: registered new interface driver ums-cypress
[    0.702836] usbcore: registered new interface driver ums-datafab
[    0.709655] usbcore: registered new interface driver ums_eneub6250
[    0.716593] usbcore: registered new interface driver ums-freecom
[    0.723407] usbcore: registered new interface driver ums-isd200
[    0.730123] usbcore: registered new interface driver ums-jumpshot
[    0.736960] usbcore: registered new interface driver ums-karma
[    0.743578] usbcore: registered new interface driver ums-onetouch
[    0.750554] usbcore: registered new interface driver ums-realtek
[    0.757391] usbcore: registered new interface driver ums-sddr09
[    0.764041] usbcore: registered new interface driver ums-sddr55
[    0.770764] usbcore: registered new interface driver ums-usbat
[    0.778167] gpio_request failed
[    0.781675] get regulator_io is no nocare
[    0.786261] sunxi_hcd_host0 1c13000.otghci0-controller: sunxi_hcd host driver
[    0.794319] sunxi_hcd_host0 1c13000.otghci0-controller: new USB bus registered, assigned bus number 1
[    0.806120] hub 1-0:1.0: USB hub found
[    0.810464] hub 1-0:1.0: 1 port detected
[    0.815304] wrn: hcd is not enable, need not stop hcd
[    0.821756] sunxi_keyboard_startup: keyboard has no clk.
[    0.828331] input: sunxi-keyboard as /devices/virtual/input/input0
[    0.836251] rtc-pcf8563 0-0051: chip found, driver version 0.4.3
[    0.843443] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x51)
[    0.852700] rtc-pcf8563 0-0051: pcf8563_get_datetime: read error
[    0.859901] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
[    0.867553] sunxi cedar version 0.1 
[    0.871674] VE: install start!!!
[    0.871674] 
[    0.877054] cedar_ve: cedar-ve the get irq is 103
[    0.883016] VE: install end!!!
[    0.883016] 
[    0.892824] failed to get gpio-spk and gpio_num
[    0.899904] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTR
[    0.907978] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTL
[    0.915905] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKL
[    0.923687] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKR
[    0.931459] sunxi-codec-machine sound.2: ASoC: DAPM unknown pin External Speaker
[    0.946984] sunxi-codec-machine sound.2:  sun3iw1codec <-> 1c23c00.cpudai0-controller mapping ok
[    0.956941] sunxi-codec-machine sound.2: ASoC: no sink widget found for MainMic Bias
[    0.965619] sunxi-codec-machine sound.2: ASoC: Failed to add route External MainMic -> direct -> MainMic Bias
[    0.976667] sunxi-codec-machine sound.2: ASoC: no source widget found for MainMic Bias
[    0.985493] sunxi-codec-machine sound.2: ASoC: Failed to add route MainMic Bias -> direct -> MIC1P
[    0.995469] sunxi-codec-machine sound.2: ASoC: no source widget found for MainMic Bias
[    1.004298] sunxi-codec-machine sound.2: ASoC: Failed to add route MainMic Bias -> direct -> MIC1N
[    1.016734] ipip: IPv4 over IPv4 tunneling driver
[    1.023270] gre: GRE over IPv4 demultiplexor driver
[    1.028809] ip_gre: GRE over IPv4 tunneling driver
[    1.036409] TCP: cubic registered
[    1.040243] Initializing XFRM netlink socket
[    1.045133] NET: Registered protocol family 17
[    1.050273] NET: Registered protocol family 15
[    1.055710] VFP support v0.3: not present
[    1.061502] [LCD]lcd_module_init
[    1.069232] [LCD]lcd_module_init finish
[    1.073949] usb_serial_number:20080411
[    1.078783] file system registered
[    1.085130] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    1.092891] android_usb gadget: Number of LUNs=3
[    1.098069]  lun0: LUN: removable file: (no medium)
[    1.103485]  lun1: LUN: removable file: (no medium)
[    1.108932]  lun2: LUN: removable file: (no medium)
[    1.115193] android_usb gadget: android_usb ready
[    1.120915] sunxi_i2c_do_xfer()928 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x51)
[    1.130175] rtc-pcf8563 0-0051: pcf8563_get_datetime: read error
[    1.136845] rtc-pcf8563 0-0051: hctosys: unable to read the hardware clock
[    1.144715] ALSA device list:
[    1.148096]   #0: audiocodec
[    1.152270] VFS: Cannot open root device "mtdblock4" or unknown-block(0,0): error -6
[    1.160973] Please append a correct "root=" boot option; here are the available partitions:
[    1.170297] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

研究了几天了,有没有大佬支援一下,跪求

离线

#1 2023-09-27 14:53:36

哇酷小二
管理员
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,387
积分: 1902
个人网站

Re: F1C200S tina linux3.5.1卡在内核启动

没有生成 /dev/mtdX 分区





离线

楼主 #2 2023-09-27 14:54:18

Cloud_Lee
会员
注册时间: 2023-08-02
已发帖子: 4
积分: 4

Re: F1C200S tina linux3.5.1卡在内核启动

哇酷小二 说:

没有生成 /dev/mtdX 分区

大佬,这个怎么解决?

离线

楼主 #3 2023-09-27 16:04:38

Cloud_Lee
会员
注册时间: 2023-08-02
已发帖子: 4
积分: 4

Re: F1C200S tina linux3.5.1卡在内核启动

哇酷小二 说:

没有生成 /dev/mtdX 分区

可以了,在驱动里面加上flash id

离线

#4 2023-09-28 14:33:20

怪兽研究员
会员
注册时间: 2023-09-28
已发帖子: 1
积分: 1

Re: F1C200S tina linux3.5.1卡在内核启动

你这个应该是spinor吧,能分享一下配置吗?
我烧入进去就启动后就卡在uboot那里了。:p

U-Boot 2014.07 (Jul 31 2018 - 14:59:26) Allwinner Technology 

uboot commit : 6604446f7bddb8fe53f2b993100929f92a5f4d6e
 
i2c_init: by cpux
[I2C-DEBUG]:i2c_set_clock() 354 
[I2C-ERROR]:twi_send_clk_9pulse() 136 SDA is still Stuck Low, failed. 
i2c_init ok
[0.187]pmbus:   ready
axp: get node[/soc/pmu0] error
axp_probe error
[0.193]PMU: cpux 408 Mhz,AXI=408 Mhz
PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz 
key value = 4294967295, fel_key = [256,426]
DRAM:  64 MiB
Relocation Offset is: 03581000
axp: get node[/soc/pmu0] error
int sunxi_dma_init---
irq enable
workmode = 0,storage type = 3
[0.257]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
OK
spinor id:0x1720c2
spi_freq = 40000000
[0.275]sunxi flash init ok
spinor read: start 0x3e0, sector 0x20
crc mbr copy[0] failed
spinor read: start 0x400, sector 0x20
crc mbr copy[1] failed
spinor read: start 0x420, sector 0x20
crc mbr copy[2] failed
spinor read: start 0x440, sector 0x20
crc mbr copy[3] failed
fail to find part named env
Using default environment

logo addr = 0x83f00000
can't get bootlogo partition
do not find fastboot status flag
--------fastboot partitions--------
mbr not exist
no misc partition is found
disable nand error: FDT_ERR_BADPATH
disable nand error: FDT_ERR_BADPATH
## error: update_fdt_dram_para : FDT_ERR_NOTFOUND
PowerBus = 0( 2:vBus 3:acBus other: not exist)
no battery exist
sunxi_bmp_logo_display
Hit any key to stop autoboot:  0 
Unknown command '<NULL>' - try 'help'
sunxi#
sunxi#
sunxi#ls
Unknown command 'ls' - try 'help'
sunxi#

离线

页脚

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

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