oot@ubuntu:/home/lucifer/lizhe/tools/sunxi-tools# sudo sunxi-fel -p spiflash-write 0 flashimg.bin
100% [================================================] 33554 kB, 3045.6 kB/s
root@ubuntu:/home/lucifer/lizhe/tools/sunxi-tools#
离线
还有这个问题,我用其他电脑烧录进去后,输入不了U-Boot SPL 2017.01-rc2 (May 21 2020 - 07:47:08)
DRAM: 64 MiB
Trying to boot from sunxi SPI
U-Boot 2017.01-rc2 (May 21 2020 - 07:47:08 -0700) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
U-Boot 2017.01-rc2 (May 21 2020 - 07:47:08 -0700) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
Net: No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot: 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
device 0 offset 0x100000, size 0x10000
SF: 65536 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK
## Flattened Device Tree blob at 41800000
Booting using the fdt blob at 0x41800000
Loading Device Tree to 42dfa000, end 42dff20a ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.10.15-licheepi-zero (root@ubuntu) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #4 SMP Thu May 21 01:46:30 PDT 2020
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt:Machine model: Lichee Pi Zero
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] percpu: Embedded 14 pages/cpu @c3f63000 s24716 r8192 d24436 u57344
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi32766.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jffs2
[ 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: 55152K/65536K available (6144K kernel code, 199K rwdata, 1412K rodata, 1024K init, 262K bss, 10384K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xc4800000 - 0xff800000 ( 944 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0700000 (7136 kB)
[ 0.000000] .init : 0xc0900000 - 0xc0a00000 (1024 kB)
[ 0.000000] .data : 0xc0a00000 - 0xc0a31f00 ( 200 kB)
[ 0.000000] .bss : 0xc0a33000 - 0xc0a7484c ( 263 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000018] Switching to timer-based delay loop, resolution 41ns
[ 0.000135] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000339] Console: colour dummy device 80x30
[ 0.000373] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000386] pid_max: default: 32768 minimum: 301
[ 0.000523] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000536] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.001231] CPU: Testing write buffer coherency: ok
[ 0.001629] /cpus/cpu@0 missing clock-frequency property
[ 0.001654] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.002001] Setting up static identity map for 0x40100000 - 0x40100058
[ 0.002730] smp: Bringing up secondary CPUs ...
[ 0.002748] smp: Brought up 1 node, 1 CPU
[ 0.002756] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.002763] CPU: All CPU(s) started in SVC mode.
[ 0.003536] devtmpfs: initialized
[ 0.006302] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.006592] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.006620] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.006776] pinctrl core: initialized pinctrl subsystem
[ 0.007794] NET: Registered protocol family 16
[ 0.008247] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.009456] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.009472] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.020884] SCSI subsystem initialized
[ 0.021167] usbcore: registered new interface driver usbfs
[ 0.021228] usbcore: registered new interface driver hub
[ 0.021319] usbcore: registered new device driver usb
[ 0.021559] pps_core: LinuxPPS API ver. 1 registered
[ 0.021568] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.021591] PTP clock support registered
[ 0.021793] Advanced Linux Sound Architecture Driver Initialized.
[ 0.023594] clocksource: Switched to clocksource arch_sys_counter
[ 0.034073] NET: Registered protocol family 2
[ 0.034709] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.034742] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.034765] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.034853] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.034898] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.035104] NET: Registered protocol family 1
[ 0.035697] RPC: Registered named UNIX socket transport module.
[ 0.035716] RPC: Registered udp transport module.
[ 0.035722] RPC: Registered tcp transport module.
[ 0.035727] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.037905] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.046841] NFS: Registering the id_resolver key type
[ 0.046895] Key type id_resolver registered
[ 0.046901] Key type id_legacy registered
[ 0.046946] jffs2: version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
[ 0.051410] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.051431] io scheduler noop registered
[ 0.051439] io scheduler deadline registered
[ 0.051645] io scheduler cfq registered (default)
[ 0.055815] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.123523] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.126814] console [ttyS0] disabled
[ 0.147096] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 31, base_baud = 1500000) is a U6_16550A
[ 0.710895] console [ttyS0] enabled
[ 0.715089] [drm] Initialized
[ 0.720827] m25p80 spi32766.0: mx25l25635e (32768 Kbytes)
[ 0.726349] 4 cmdlinepart partitions found on MTD device spi32766.0
[ 0.732610] Creating 4 MTD partitions on "spi32766.0":
[ 0.737775] 0x000000000000-0x000000100000 : "uboot"
[ 0.743293] 0x000000100000-0x000000110000 : "dtb"
[ 0.748502] 0x000000110000-0x000000510000 : "kernel"
[ 0.753922] 0x000000510000-0x000002000000 : "rootfs"
[ 0.759618] libphy: Fixed MDIO Bus: probed
[ 0.764048] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.770572] ehci-platform: EHCI generic platform driver
[ 0.775936] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.782130] ohci-platform: OHCI generic platform driver
[ 0.787839] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[ 0.797511] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[ 0.804389] sun6i-rtc 1c20400.rtc: RTC enabled
[ 0.808921] i2c /dev entries driver
[ 0.813794] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input0
[ 0.823300] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 0.883637] sunxi-mmc 1c0f000.mmc: base:0xc48ae000 irq:23
[ 0.889970] usbcore: registered new interface driver usbhid
[ 0.895629] usbhid: USB HID core driver
[ 0.901138] NET: Registered protocol family 17
[ 0.905822] Key type dns_resolver registered
[ 0.910239] Registering SWP/SWPB emulation handler
[ 0.921332] usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 0.929259] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 0.935108] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[ 0.946311] hub 1-0:1.0: USB hub found
[ 0.950170] hub 1-0:1.0: 1 port detected
[ 0.954949] using random self ethernet address
[ 0.959440] using random host ethernet address
[ 0.964994] usb0: HOST MAC 02:35:68:24:ba:db
[ 0.969322] usb0: MAC de:95:07:bf:a2:32
[ 0.973197] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[ 0.980782] g_cdc gadget: g_cdc ready
[ 0.984797] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:00:05 UTC (5)
[ 0.992951] vcc3v0: disabling
[ 0.996003] vcc5v0: disabling
[ 0.998971] ALSA device list:
[ 1.001932] No soundcards found.
[ 1.007473] random: fast init done
[ 1.049807] random: crng init done
[ 3.183959] VFS: Mounted root (jffs2 filesystem) on device 31:3.
[ 3.190897] devtmpfs: mounted
[ 3.195121] Freeing unused kernel memory: 1024K
Starting logging: OK
Starting mdev...
modprobe: can't change directory to '/lib/modules': No such file or directory
[ 6.889352] ------------[ cut here ]------------
[ 6.894071] WARNING: CPU: 0 PID: 87 at drivers/mtd/spi-nor/spi-nor.c:1182 spi_nor_write+0x138/0x1b4
[ 6.903106] Writing at offset 200 into a NOR page. Writing partial pages may decrease reliability and increase wear of NOR flash.
[ 6.903110] Modules linked in:
[ 6.917841] CPU: 0 PID: 87 Comm: touch Not tainted 4.10.15-licheepi-zero #4
[ 6.924790] Hardware name: Allwinner sun8i Family
[ 6.929517] [<c010e2fc>] (unwind_backtrace) from [<c010b098>] (show_stack+0x10/0x14)
[ 6.937260] [<c010b098>] (show_stack) from [<c03465c4>] (dump_stack+0x84/0x98)
[ 6.944481] [<c03465c4>] (dump_stack) from [<c011b634>] (__warn+0xe8/0x100)
[ 6.951439] [<c011b634>] (__warn) from [<c011b684>] (warn_slowpath_fmt+0x38/0x48)
[ 6.958919] [<c011b684>] (warn_slowpath_fmt) from [<c0452fb8>] (spi_nor_write+0x138/0x1b4)
[ 6.967178] [<c0452fb8>] (spi_nor_write) from [<c044b454>] (mtd_writev+0xa4/0xec)
[ 6.974660] [<c044b454>] (mtd_writev) from [<c02fbec8>] (jffs2_flash_writev+0x414/0x4b0)
[ 6.982745] [<c02fbec8>] (jffs2_flash_writev) from [<c02f4d48>] (jffs2_write_dnode+0xd4/0x328)
[ 6.991350] [<c02f4d48>] (jffs2_write_dnode) from [<c02f9458>] (jffs2_do_setattr+0x280/0x558)
[ 6.999866] [<c02f9458>] (jffs2_do_setattr) from [<c02f9754>] (jffs2_setattr+0x24/0x48)
[ 7.007866] [<c02f9754>] (jffs2_setattr) from [<c020d990>] (notify_change+0x1c4/0x3d0)
[ 7.015777] [<c020d990>] (notify_change) from [<c021e65c>] (utimes_common+0xa8/0x170)
[ 7.023599] [<c021e65c>] (utimes_common) from [<c021e7d4>] (do_utimes+0xb0/0x144)
[ 7.031073] [<c021e7d4>] (do_utimes) from [<c021ea10>] (SyS_futimesat+0xd0/0xfc)
[ 7.038463] [<c021ea10>] (SyS_futimesat) from [<c0107580>] (ret_fast_syscall+0x0/0x3c)
[ 7.046436] ---[ end trace df9cb2cc7927e455 ]---
Initializing random number generator... done.
Starting network: OK
Welcome to Lichee Pi
Lichee login:
-----就到这里,上面的报错怎么解决,还是不需要解决?
最近编辑记录 luciferseva (2020-05-22 00:31:09)
离线
进入后查看,好像是根文件系统没有挂载起来?
离线
有没有大师,帮忙看一下哇
离线