Zepan / ilichee

荔枝板DIY直播室
GNU General Public License v3.0
264 stars 177 forks source link

镜像烧写完 不能进入系统 #16

Open chifen opened 7 years ago

chifen commented 7 years ago

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 95 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 104 *\ 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: 1  0

part_init: try 'EFI': ret=-1 part_init: try 'DOS': ret=0 err=0 mmc_init: 0, time 122 switch to partitions #0, OK mmc0 is current device

Scanning mmc 0:1... Found U-Boot script /boot.scr reading /boot.scr 343 bytes read in 20 ms (16.6 KiB/s)

Executing script at 43100000

reading script.bin

28744 bytes read in 31 ms (905.3 KiB/s) reading uImage

4437720 bytes read in 312 ms (13.6 MiB/s) bootm - boot application image from memory

Usage: bootm [addr [arg ...]]

Sub-commands to do part of the bootm sequence. The sub-commands must be issued in the order below (it's ok to not issue all sub-commands): start [addr [arg ...]] loados - load OS image ramdisk - relocate initrd, set env initrd_start/initrd_end fdt - relocate flat device tree cmdline - OS specific command line processing/setup bdt - OS specific bd_t processing prep - OS specific prep before relocation or go go - start OS

SCRIPT FAILED: continuing...

Card did not respond to voltage select! mmc_init: -17, time 28

USB device 0: unknown device No ethernet found. missing environment variable: pxeuuid missing environment variable: bootfile Retrieving file: pxelinux.cfg/00000000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/0000000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/000000 No ethernet found. missing environment variable: bootfile

Retrieving file: pxelinux.cfg/00000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/0000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/00 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/0

No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/default-arm-sunxi No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/default-arm No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/default No ethernet found. Config file not found No ethernet found. No ethernet found.

=>

串口代码

操作: 写入 1,格式化为 第一分区 FAT,16M, 开始为2048,第二分区为EXT3或者EXT4文件系统, 2, sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/sdb bs=1024 seek=8 sudo sync

3, uImage,script.bin,boot.scr 三个文件写入 第一分区,(试过好几种方法写入,分区大小16M ,FAT格式)

4, 第二分区境像写根目录

chifen commented 7 years ago

bootm 0x42000000

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-2ubuntu1~14.04.1) ) #29 PREEMPT Mon Sep 26 18:47:40 CST 2016 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 - 0x48ff ffff ( 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=10 <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 [sw_hcd0](close_usb_clock): usb host driver initialize........ [sw_hcd0](close_usb_clock): host_init_state = 1 [sw_hcd0](close_usb_clock): platform is usb host [sw_hcd0](close_usb_clock): sw_hcd_host0: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx (X), HB-ISO Tx (X), SoftConn) [sw_hcd0](close_usb_clock): sw_hcd_init_controller: sw_hcd_host0: USB Host mode controller at f1c13000 using PIO, IRQ 38 <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](close_usb_clock): 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_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_cl k = 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 dcdc3 range to (1200000, 1200000) uV <3>but we keep dcdc3 = 1250000 uV from the bootloader <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-supplyer.28/input/input1 [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(SDR12) dt 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(SDR12) dt B <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(SDR12) dt 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 LEGACY(SDR12) dt B <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: Re gistered 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 LEGACY(SDR12) dt B <6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B <6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B <6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B <6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B <6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B <6>[mmc-msg] sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B <6>[mmc-msg] sdc0 set round clock 46153846, src 600000000 <6>[mmc-msg] sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B <6>mmc0: new high speed SD card at address c96b <6>mmcblk0: mmc0:c96b SD02G 1.83 GiB <6> mmcblk0: p1 p2 <6>[mmc-msg] sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B <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 LEGACY(SDR12) dt B <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 LEGACY(SDR12) dt B <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 LEGACY(SDR12) dt B <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 LEGACY(SDR12) dt B <6>[mmc-msg] sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing L EGACY(SDR12) dt 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 c onstraints, 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): recovery complete <6>EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode <6>VFS: Mounted root (ext3 filesystem) on device 179:2. <6>devtmpfs: mounted <6>Freeing init memory: 176K <30>udevd[158]: starting version 175 <3>rtk_btusb: btusb_open hdev->promisc ==0 <6>usbcore: registered new interface driver rtk_btusb RTL871X: module init start RTL871X: rtl8723bu v4.3.16_14189.20150519_BTCOEX20150119-5844 RTL871X: build time: Sep 1 2016 16:28:51 RTL871X: rtl8723bu BT-Coex version = BTCOEX20150119-5844 <3>rtk_btusb: fw name is rtl8723b_fw <3>rtk_btusb: This is not 8723a, use new patch style! RTL871X: rtw_ndev_init(wlan0) <6>usbcore: registered new interface driver rtl8723bu RTL8 71X: module init ret=0 <3>rtk_btusb: bind udp socket error, err = -99 <30>udevd[192]: renamed network interface wlan0 to wlan14 <6>EXT3-fs (mmcblk0p2): using internal journal UMP: UMP device driver loaded Mali: permit MALI_IOC_MEM_MAP_EXT ioctl for framebuffer (paddr=0x49000000, size=33554432) <6>mali: use config clk_div 2 <6>mali: clk_div 2 Mali: mali clock set completed, clock is 180000000 Hz <6>mali: use config clk_div 2 <6>mali: clk_div 2 Mali: mali clock set completed, clock is 180000000 Hz Mali: Mali device driver loaded ERR: script_parser_fetch usb_controller_type failed <6>usbcore: registered new interface driver rtl8192cu <6>sunxi _gpio driver init ver 1.3 <6>gpiochip_add: registered GPIOs 1 to 4 on device: A1X_GPIO [cedar dev]: install start!!! [cedar dev]: install end!!! <6>input: sun4i-keyboard as /devices/virtual/input/input2 Debian GNU/Linux 7.0 Lichee ttyS0 Lichee login: root (automatic login) <6>sunxi_leds driver init <7>Registered led device: red <7>Registered led device: green <7>Registered led device: blue Last login: Tue Sep 27 10:35:02 UTC 2016 on tty1 Linux Lichee 3.4.104 #29 PREEMPT Mon Sep 26 18:47:40 CST 2016 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the i ndividual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. <6>[CSI]Welcome to CSI driver <6>[CSI]csi_init <6>[CSI]registered sub device,input_num = 0 <4>axp20_ldo4: Failed to create debugfs directory <4>axp20_ldo4: Failed to create debugfs directory <4>axp20_ldo3: Failed to create debugfs directory <6>[CSI_ERR]get csi_isp clk error! root@Lichee:~# <6>[CSI_ERR] csi_isp set parent failed <6>[CSI_ERR]set csi_isp clock error <6>[CSI]V4L2 device registered as video0 <6>[CSI_ERR][OV2640]cci_write_a8_d8 error! slave = 0x30, addr = 0xff, value = 0x 1 <6>[CSI_ERR][OV2640]cci_write_a8_d8 error! slave = 0x30, addr = 0xff, value = 0x 1 <6>[CSI_ERR][OV2640]cci_write_a8_d8 error! slave = 0x30, addr = 0xff, value = 0x 1 <6>[CSI_ERR][OV2640]error at sensor_detect <6>[CSI_ERR][OV2640]chip found is not an target chip. <6>[CSI_ERR]sensor initial error when csi open! RTL871X: nolinked power save enter <6>[C SI_ERR][OV2640]cci_write_a8_d8 error! slave = 0x30, addr = 0xff, value = 0x 1 <6>[CSI_ERR][OV2640]cci_write_a8_d8 error! slave = 0x30, addr = 0xff, value = 0x 1 <6>[CSI_ERR][OV2640]cci_write_a8_d8 error! slave = 0x30, addr = 0xff, value = 0x 1 <6>[CSI_ERR][OV2640]error at sensor_detect <6>[CSI_ERR][OV2640]chip found is not an target chip. <6>[CSI_ERR]sensor initial error when csi open! <6>[CSI_ERR][OV2640]cci_write_a8_d8 error! slave = 0x30, addr = 0xff, value = 0x 1 <6>[CSI_ ERR][OV2640]cci_write_a8_d8 error! slave = 0x30, addr = 0xff, value = 0x 1 <6>[CSI_ERR][OV2640]cci_write_a8_d8 error! slave = 0x30, addr = 0xff, value = 0x 1 <6>[CSI_ERR][OV2640]error at sensor_detect <6>[CSI_ERR][OV2640]chip found is not an target chip. <6>[CSI_ERR]sensor initial error when csi open!
chifen commented 7 years ago

? - alias for 'help' base - print or set address offset bdinfo - print Board Info structure boot - boot default, i.e., run 'bootcmd' bootd - boot default, i.e., run 'bootcmd' bootefi - Boots an EFI payload from memory bootelf - Boot from an ELF image in memory bootm - boot application image from memory bootp - boot image via network using BOOTP/TFTP protocol bootvx - Boot vxWorks from an ELF image bootz - boot Linux zImage image from memory clrlogo - fill the boot logo area with black cmp - memory compare coninfo - print console devices and information cp - memory copy crc32 - checksum calculation dcache - enable or disable data cache dfu - Device Firmware Upgrade dhcp - boot image via network using DHCP/TFTP protocol dm - Driver model low level access echo - echo args to console editenv - edit environment variable env - environment handling commands exit - exit script ext2load- load binary file from a Ext2 filesystem ext2ls - list files in a directory (default /) ext4load- load binary file from a Ext4 filesystem ext4ls - list files in a directory (default /) ext4size- determine a file's size false - do nothing, unsuccessfully fastboot- use USB Fastboot protocol fatinfo - print information about filesystem fatload - load binary file from a dos filesystem fatls - list files in a directory (default /) fatsize - determine a file's size fatwrite- write file into a dos filesystem fdt - flattened device tree utility commands fstype - Look up a filesystem type go - start application at address 'addr' gpio - query and control gpio pins help - print command description/usage i2c - I2C sub-system icache - enable or disable instruction cache iminfo - print header information for application image imxtract- extract a part of a multi-image itest - return true/false on integer compare load - load binary file from a filesystem loadb - load binary file over serial line (kermit mode) loads - load S-Record file over serial line loadx - load binary file over serial line (xmodem mode) loady - load binary file over serial line (ymodem mode) loop - infinite loop on address range ls - list files in a directory (default /) md - memory display meminfo - display memory information mii - MII utility commands mm - memory modify (auto-incrementing address) mmc - MMC sub system mmcinfo - display MMC info mtest - simple RAM read/write test mw - memory write (fill) nfs - boot image via network using NFS protocol nm - memory modify (constant address) part - disk partition related commands ping - send ICMP ECHO_REQUEST to network host poweroff- Perform POWEROFF of the device printenv- print environment variables pxe - commands to get and boot from pxe files reset - Perform RESET of the CPU run - run commands in an environment variable save - save file to a filesystem saveenv - save environment variables to persistent storage setenv - set environment variables setexpr - set environment variable as the result of eval expression showvar - print local hushshell variables size - determine a file's size sleep - delay execution for some time source - run script from memory sysboot - command to get and boot from syslinux files test - minimal test like /bin/sh tftpboot- boot image via network using TFTP protocol true - do nothing, successfully ums - Use the UMS [USB Mass Storage] usb - USB sub-system usbboot - boot from USB device version - print monitor, compiler and linker version

toobor commented 7 years ago

最后怎么处理的 ?我的情况跟你一样

chifen commented 7 years ago

解决方法 setenv bootm_boot_mode sec setenv bootargs console=tty1,115200 root=/dev/mmcblk0p2 rootwait panic=10 load mmc 0:1 0x43000000 script.bin || load mmc 0:1 0x43000000 boot/script.bin load mmc 0:1 0x42000000 uImage || load mmc 0:1 0x42000000 boot/uImage bootm 0x42000000

原始 BOOT.CMD文件的最后一个把后面不可见的字符删除