Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不断重启,无法进入根文件系统 #18

Open
ZhouChenghong opened this issue Mar 13, 2017 · 0 comments
Open

不断重启,无法进入根文件系统 #18

ZhouChenghong opened this issue Mar 13, 2017 · 0 comments

Comments

@ZhouChenghong
Copy link

是哪里出了问题呢?不太了解ARM,给个解决问题的建议吧。。
U-Boot SPL 2016.09-rc1 (Oct 01 2016 - 21:31:35)
init i2c
rand test 0 MB RW, err cnt = 0
DRAM: 512 MiB ~
CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2
sunxi_board_init ok!
Trying to boot from MMC1
mmc_dev=0
common/spl/spl_mmc.c L138: mmc_initialize ok
common/spl/spl_mmc.c L155: find_mmc_device ok
part_init: try 'EFI': ret=-1
err=0
mmc_init: 0, time 56
common/spl/spl_mmc.c L298: mmc_init ok
common/spl/spl_mmc.c L335: goto mmc_load_image_raw_sector
hdr read sector 50, count=1
load_legacy
read 906 sectors to 49ffffc0
Jumping to U-Boot
SPL malloc() used 656 bytes (0 KB)
loaded - jumping to U-Boot...
image entry point: 0x
###in board_init_f

U-Boot 2016.09-rc1 (Oct 01 2016 - 21:31:35 +0800) Allwinner Technology

CPU: Allwinner A13 (SUN5I)
Model: Lichee A13
I2C: ready
DRAM: 512 MiB
###out board_init_f
###in board_init_r
MMC: part_init: try 'EFI': ret=-1
part_init: try 'DOS': ret=0
err=0
mmc_init: 0, time 65
*** Warning - bad CRC, using default environment

Setting up a 800x480 lcd console (overscan 0x0)
###set hbp=110, ht=1080, hspw=10
###set vbp=45, vt=527, vspw=10
bl_en=42
pwm=34
In: serial
Out: vga
Err: vga
Net: No ethernet found.
common/main.c L54
starting USB...
USB0: USB EHCI 1.00
USB1: USB OHCI 1.0
scanning bus 0 for devices... 2 USB Device(s) found
common/main.c L63: s=run distro_bootcmd
common/main.c L67: prepare autoboot_command
Hit any key to stop autoboot: 0
part_init: try 'EFI': ret=-1
part_init: try 'DOS': ret=0
err=0
mmc_init: 0, time 84
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
338 bytes read in 78 ms (3.9 KiB/s)

Executing script at 43100000

28744 bytes read in 86 ms (326.2 KiB/s)
4437720 bytes read in 478 ms (8.9 MiB/s)

Booting kernel from Legacy Image at 42000000 ...

Image Name: Linux-3.4.104
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4437656 Bytes = 4.2 MiB
Load Address: 40008000
Entry Point: 40008000
Verifying Checksum ... OK
Loading Kernel Image ... OK

Starting kernel ...

<6>Booting Linux on physical CPU 0
<6>Initializing cgroup subsys cpuset
<5>Linux version 3.4.104 (zp@ubuntu64) (gcc version 4.8.4 (Ubuntu/Linaro 4.8.4-6
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: sun5i
<6>Memory Reserved:
<6> SYS : 0x43000000 - 0x4300ffff ( 64 kB)
<6> VE : 0x44000000 - 0x48ffffff ( 80 MB)
<6> LCD : 0x49000000 - 0x4affffff ( 32 MB)
Memory policy: ECC disabled, Data cache writeback
<6>sunxi: Allwinner A13 revision B (AW1625/sun5i) detected.
<7>On node 0 totalpages: 131072
<7>free_area_init_node: node 0, pgdat c09153b0, node_mem_map d0000000
<7> DMA zone: 512 pages used for memmap
<7> DMA zone: 0 pages reserved
<7> DMA zone: 65024 pages, LIFO batch:15
<7> Normal zone: 512 pages used for memmap
<7> Normal zone: 65024 pages, LIFO batch:15
<7>pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
<7>pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
<5>Kernel command line: console=tty1,115200 root=/dev/mmcblk0p2 rootwait panic=0
<6>PID hash table entries: 2048 (order: 1, 8192 bytes)
<6>Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
<6>Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
<6>Memory: 512MB = 512MB total
<5>Memory: 394924k/394924k available, 129364k reserved, 0K highmem
<5>Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)
lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc085acc4 (8524 kB)
.init : 0xc085b000 - 0xc0887000 ( 176 kB)
.data : 0xc0888000 - 0xc0920348 ( 609 kB)
.bss : 0xc092036c - 0xc09d43d0 ( 721 kB)
<6>SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
<6>NR_IRQS:128
<6>sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
<6>Console: colour dummy device 80x30
<6>console [tty1] enabled
<6>Calibrating delay loop... 1001.88 BogoMIPS (lpj=5009408)
<6>pid_max: default: 32768 minimum: 301
<6>Mount-cache hash table entries: 512
<6>Initializing cgroup subsys cpuacct
<6>Initializing cgroup subsys devices
<6>Initializing cgroup subsys freezer
<6>Initializing cgroup subsys blkio
<6>CPU: Testing write buffer coherency: ok
<6>hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
<6>Setting up static identity map for 0x4053d1f8 - 0x4053d22c
<6>devtmpfs: initialized
<6>dummy:
<6>NET: Registered protocol family 16
<6>DMA: preallocated 256 KiB pool for atomic coherent allocations
<6>hw-breakpoint: debug architecture 0x4 unsupported.
<6>Init eGon pin module V2.0
SOFTWINNER DMA Driver, (c) 2003-2004,2006 Simtec Electronics
<6>Initialize DMAC OK
<6>bio: create slab at 0
<5>SCSI subsystem initialized
<6>usbcore: registered new interface driver usbfs
<6>usbcore: registered new interface driver hub
<6>usbcore: registered new device driver usb
<6>Linux video capture interface: v2.00
<6>Advanced Linux Sound Architecture Driver Version 1.0.25.
<6>Bluetooth: Core ver 2.16
<6>NET: Registered protocol family 31
<6>Bluetooth: HCI device and connection manager initialized
<6>Bluetooth: HCI socket layer initialized
<6>Bluetooth: L2CAP socket layer initialized
<6>Bluetooth: SCO socket layer initialized
<6>Switching to clocksource aw_64bits_counter
<6>cfg80211: Calling CRDA to update world regulatory domain
<5>FS-Cache: Loaded
<6>CacheFiles: Loaded
[usb_manager]: CONFIG_USB_SW_SUNXI_USB0_OTG
[sw_hcd0]: usb host driver initialize........
[sw_hcd0]: open_usb_clock
[sw_hcd0]: host_init_state = 1
[sw_hcd0]: platform is usb host
[sw_hcd0]: sw_hcd_host0: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk)
[sw_hcd0]: sw_hcd_init_controller: sw_hcd_host0: USB Host mode controller at f18
<6>sw_hcd_host0 sw_hcd_host0: sw_hcd host driver
<6>sw_hcd_host0 sw_hcd_host0: new USB bus registered, assigned bus number 1
<6>hub 1-0:1.0: USB hub found
<6>hub 1-0:1.0: 1 port detected
wrn: hcd is not enable, need not start hcd
[sw_hcd0]: sw_usb_host0_disable start
-------sw_hcd0_soft_disconnect---------
is_on = 0, hcd0_set_vbus_cnt = 0
[sw_hcd_host0]: Set USB Power Off
wrn: hcd is not enable, need not stop hcd
[sw_hcd0]: close_usb_clock
[sw_hcd0]: sw_usb_host0_disable end
[sw_udc]: udc_init: version 20080411
<6>NET: Registered protocol family 2
<6>IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
<6>TCP established hash table entries: 16384 (order: 5, 131072 bytes)
<6>TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
<6>TCP: Hash tables configured (established 16384 bind 16384)
<6>TCP: reno registered
<6>UDP hash table entries: 256 (order: 0, 4096 bytes)
<6>UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
<6>NET: Registered protocol family 1
<6>RPC: Registered named UNIX socket transport module.
<6>RPC: Registered udp transport module.
<6>RPC: Registered tcp transport module.
<6>RPC: Registered tcp NFSv4.1 backchannel transport module.
<6>audit: initializing netlink socket (disabled)
<5>type=2000 audit(0.359:1): initialized
<5>VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
<5>NFS: Registering the id_resolver key type
<6>NTFS driver 2.1.30 [Flags: R/W].
<6>fuse init (API version 7.18)
<6>msgmni has been set to 771
<6>alg: No test for stdrng (krng)
<6>Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
<6>io scheduler noop registered
<6>io scheduler deadline registered
<6>io scheduler cfq registered (default)
<6>sunxi disp driver loaded (/dev/disp api 1.0)
<6>Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
<6>[uart]: used uart info.: 0x02
<6>[uart]: serial probe 1 irq 2 mapbase 0x01c28400
<6>sunxi-uart.1: ttyS0 at MMIO 0x1c28400 (irq = 2) is a U6_16550A
<6>brd: module loaded
<6>loop: module loaded
nand driver is disabled
[spi]: sw spi init !!
[spi]: Get spi devices number failed
[spi]: register spi devices board info failed
[spi]: bus num = 0, spi used = 1
[spi]: source = sdram_pll_p, src_clk = 960000000, mclk 96000000
<6>sun5i-spi sun5i-spi.0: master is unqueued, this is deprecated
[spi]: allwinners SoC SPI Driver loaded for Bus SPI-0 with 1 Slaves attached
[spi]: [spi-0]: driver probe succeed, base f1c05000, irq 10, dma_id 0!
<4>emac_init fetch emac using configuration failed
<6>emac driver is disabled
<6>ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
<6>ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
WRN:L430(drivers/usb/host/sw_hci_sunxi.c):ERR: gpio_request failed
WRN:L816(drivers/usb/host/sw_hci_sunxi.c):ERR: alloc_pin failed
WRN:L430(drivers/usb/host/sw_hci_sunxi.c):ERR: gpio_request failed
WRN:L816(drivers/usb/host/sw_hci_sunxi.c):ERR: alloc_pin failed
[sw-ehci1]: open clock
[sw-ehci1]: Set USB Power ON
<6>sw-ehci sw-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
<6>sw-ehci sw-ehci.1: new USB bus registered, assigned bus number 2
<6>sw-ehci sw-ehci.1: irq 39, io mem 0x01c14000
<6>sw-ehci sw-ehci.1: USB 2.0 started, EHCI 1.00
ehci_irq: port change detect
<6>hub 2-0:1.0: USB hub found
<6>hub 2-0:1.0: 1 port detected
[sw-ohci1]: open clock
<6>sw-ohci sw-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver
<6>sw-ohci sw-ohci.1: new USB bus registered, assigned bus number 3
<6>sw-ohci sw-ohci.1: irq 40, io mem 0x01c14400
<6>hub 3-0:1.0: USB hub found
<6>hub 3-0:1.0: 1 port detected
<6>Initializing USB Mass Storage driver...
<6>usbcore: registered new interface driver usb-storage
<6>USB Mass Storage support registered.
<6>usbcore: registered new interface driver ums-alauda
<6>usbcore: registered new interface driver ums-cypress
<6>usbcore: registered new interface driver ums-datafab
<6>usbcore: registered new interface driver ums_eneub6250
<6>usbcore: registered new interface driver ums-freecom
<6>usbcore: registered new interface driver ums-isd200
<6>usbcore: registered new interface driver ums-jumpshot
<6>usbcore: registered new interface driver ums-karma
<6>usbcore: registered new interface driver ums-onetouch
<6>usbcore: registered new interface driver ums-realtek
<6>usbcore: registered new interface driver ums-sddr09
<6>usbcore: registered new interface driver ums-sddr55
<6>usbcore: registered new interface driver ums-usbat
<6>usbcore: registered new interface driver usbserial
<6>usbcore: registered new interface driver usbserial_generic
<6>USB Serial support registered for generic
<6>usb 2-1: new high-speed USB device number 2 using sw-ehci
<6>usbserial: USB Serial Driver core
<6>usbcore: registered new interface driver ftdi_sio
<6>USB Serial support registered for FTDI USB Serial Device
<6>ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
<6>mousedev: PS/2 mouse device common for all mice
rtp_used == 1.
sun4i-ts: tp_press_threshold_enable is 0.
sun4i-ts: rtp_sensitive_level is 15.
sun4i-ts: rtp_exchange_x_y_flag is 0.
sun4i-ts: rtp_exchange_x_flag is 0.
sun4i-ts: rtp_exchange_y_flag is 0.
sun4i-ts: rtp_x_oft is 0.
sun4i-ts: rtp_y_oft is 0.
sun4i-ts: rtp_x_c is 1000.
sun4i-ts: rtp_y_c is 1000.
<6>input: sun4i-ts as /devices/platform/sun4i-ts/input/input0
========RTC Inital ===================
<3>rtc_fetch_sysconfig_para: rtc_unused.
rtc_fetch_sysconfig_para:ok
pcf8563_init: after fetch_sysconfig_para: normal_i2c: 0x0. normal_i2c[1]: 0x0
<6>i2c /dev entries driver
config i2c gpio with gpio_config api
<6>axp_mfd 0-0034: AXP (CHIP ID: 0x41) detected
<4>i2c i2c-0: Invalid probe address 0x00
<6>I2C: i2c-0: AW16XX I2C adapter
config i2c gpio with gpio_config api
<4>i2c i2c-1: Invalid probe address 0x00
<6>I2C: i2c-1: AW16XX I2C adapter
config i2c gpio with gpio_config api
<4>i2c i2c-2: Invalid probe address 0x00
<6>I2C: i2c-2: AW16XX I2C adapter
<6>lirc_dev: IR Remote Control driver registered, major 251
<6>IR NEC protocol handler initialized
<6>IR RC5(x) protocol handler initialized
<6>IR RC6 protocol handler initialized
<6>IR JVC protocol handler initialized
<6>IR Sony protocol handler initialized
<6>IR RC5 (streamzap) protocol handler initialized
<6>IR SANYO protocol handler initialized
<6>IR MCE Keyboard/mouse protocol handler initialized
<6>IR LIRC bridge handler initialized
<6>usbcore: registered new interface driver uvcvideo
<6>USB Video Class driver (1.1.1)
[pa_drv] start!!!
[pa_drv] init end!!!
<6>axp20_ldo1: 1300 mV
<6>axp20_ldo2: 1800 <--> 3300 mV at 3000 mV
<6>axp20_ldo3: 700 <--> 3500 mV at 1300 mV
<6>axp20_ldo4: 1250 <--> 3300 mV at 2800 mV
<6>axp20_buck2: 700 <--> 2275 mV at 1400 mV
<3>somebody is trying to set <6>axp20_buck3: 700 <--> 3500 mV at 1250 mV
<6>axp20_ldoio0: 1800 <--> 3300 mV at 2800 mV
<6>input: axp20-supplyer as /devices/platform/sunxi-i2c.0/i2c-0/0-0034/axp20-su1
[AXP]axp driver uning configuration failed(1579)
[AXP]pmu_suspendpwroff_vol = 3500
<4>axp20_ldo2: Failed to create debugfs directory
<6>[mmc-msg] sw_mci_init
<6>[mmc-msg] MMC host used card: 0x3, boot card: 0x3, io_card 2
<6>[mmc-msg] sdc0 set round clock 400000, src 24000000
<6>[mmc-msg] sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(B
<6>[mmc-msg] sdc0 Probe: base:0xf1c0f000 irq:32 sg_cpu:e08e5000(4fc00000) ret 0.
<6>[mmc-msg] sdc0 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SB
<6>[mmc-msg] sdc0 power on
[ccmu] set sdc0 reset status to 0 failed!
<3>[mmc-err] Failed to release sdc0 reset
<6>[mmc-msg] sdc1 set round clock 400000, src 24000000
<6>[mmc-msg] sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(B
<6>[mmc-msg] sdc1 Probe: base:0xf1c10000 irq:33 sg_cpu:e08e7000(4fc01000) ret 0.
[mmc_pm]: no sdio card used in configuration
<6>usbcore: registered new interface driver usbhid
<6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGB
<6>usbhid: USB HID core driver
<6>[mmc-msg] sdc0 set round clock 400000, src 24000000
<6>IPv4 over IPv4 tunneling driver
<6>TCP: cubic registered
<6>Initializing XFRM netlink socket
<6>NET: Registered protocol family 17
<6>NET: Registered protocol family 15
<6>8021q: 802.1Q VLAN Support v1.8
<5>Registering the dns_resolver key type
<6>VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
<5>Registering SWP/SWPB emulation handler
<6>registered taskstats version 1
<6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGB
<6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGB
<6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGB
<6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGB
<6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGB
<6>[mmc-msg] sdc0 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing LB
<6>[mmc-msg] sdc0 set round clock 25000000, src 600000000
<6>[mmc-msg] sdc0 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 4 timing LB
<6>mmc0: new SDHC card at address 0001
<6>mmcblk0: mmc0:0001 SD 7.48 GiB
<6> mmcblk0: p1 p2
<6>[mmc-msg] sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SB
<6>[mmc-msg] sdc1 power on
[ccmu] set sdc1 reset status to 0 failed!
<3>[mmc-err] Failed to release sdc1 reset
<6>[mmc-msg] sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGB
<6>[mmc-msg] sdc1 set round clock 400000, src 24000000
<6>[mmc-msg] sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGB
<3>[mmc-err] smc 1 err, cmd 0, RE
<6>[mmc-msg] sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGB
<4>mmc1: host doesn't support card's voltages
<3>mmc1: error -22 whilst initialising SDIO card
<6>[mmc-msg] sdc1 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGB
<6>[mmc-msg] sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(B
<6>[mmc-msg] sdc1 power off
<6>Console: switching to colour frame buffer device 100x30
<4>axp20_buck3: incomplete constraints, leaving on
<4>axp20_buck2: incomplete constraints, leaving on
<4>axp20_ldo4: incomplete constraints, leaving on
<4>axp20_ldo3: incomplete constraints, leaving on
<4>axp20_ldo2: incomplete constraints, leaving on
<4>axp20_ldo1: incomplete constraints, leaving on
<3>drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
<6>ALSA device list:
<6> #0: sunxi-CODEC Audio Codec
<6>kjournald starting. Commit interval 5 seconds
<6>EXT3-fs (mmcblk0p2): using internal journal
<6>EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
<6>VFS: Mounted root (ext3 filesystem) on device 179:2.
<2>EXT3-fs error (device mmcblk0p2): ext3_lookup: deleted inode referenced: 3279
<6>devtmpfs: error mounting -5
<6>Freeing init memory: 176K
<2>EXT3-fs error (device mmcblk0p2): ext3_lookup: deleted inode referenced: 1149
<2>EXT3-fs error (device mmcblk0p2): ext3_lookup: deleted inode referenced: 1149
<0>Kernel panic - not syncing: No init found. Try passing init= option to kern.
[] (unwind_backtrace+0x0/0x134) from [] (panic+0x94/0x1bc)
[] (panic+0x94/0x1bc) from [] (vfp_single_dump.part.1+0x0/0)
[] (vfp_single_dump.part.1+0x0/0x48) from [] (kernel_init+0)
<0>Rebooting in 10 seconds..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant