您尚未登录。

楼主 #1 2019-08-25 23:08:38

gunge204
会员
注册时间: 2019-08-24
已发帖子: 26
积分: 26

Licheepi ZERO 下载flash镜像的问题

按照LIcheepi Zero的“SPI系统杂谈”的顺序,编译好了所有文件,搞好了所有镜像(过程都是按照32M准备的,flash是MX25L256),
出现问题有两个:
1、用fel工具的时候,如果fel-spiflash.c文件不改动,还是用默认的最大16M,则用sudo sunxi-fel spiflash-info  命令能正常检测到32M的flash
但是按照说明改动fel-spiflash.c使其能使用32M的flash,再编译安装后,则用sudo sunxi-fel spiflash-info  命令失效,不能检测到flash
2、为了保险起见,先改回fel-spiflash.c文件到默认的16M的flash模式,同时重新制作了一个16M的镜像,下载成功,板子串口有输出,但是错误,启动信息如下:

U-Boot SPL 2017.01-rc2-00073-gdd6e8740dc-dirty (Aug 24 2019 - 23:32:05)
DRAM: 64 MiB
Trying to boot from sunxi SPI

U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (Aug 24 2019 - 23:32:05 +0800) 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

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000


U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (Aug 24 2019 - 23:32:05 +0800) 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

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
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 42dff389 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.10.15-licheepi-zero+ (qiup@qiup-virtual-machine) (gcc version 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1) ) #22 SMP Sun Aug 25 17:34:28 CST 2019
[    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 @c3dea000 s24716 r8192 d24436 u57344
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 15883
[    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: 53640K/64036K available (6144K kernel code, 200K rwdata, 1412K rodata, 1024K init, 262K bss, 10396K 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 : 0xc4000000 - 0xff800000   ( 952 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc3e89000   (  62 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 - 0xc0a321c0   ( 201 kB)
[    0.000000]        .bss : 0xc0a34000 - 0xc0a7584c   ( 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.000137] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000345] Console: colour dummy device 80x30
[    0.000382] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000397] pid_max: default: 32768 minimum: 301
[    0.000534] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000545] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001240] CPU: Testing write buffer coherency: ok
[    0.001651] /cpus/cpu@0 missing clock-frequency property
[    0.001677] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002042] Setting up static identity map for 0x40100000 - 0x40100058
[    0.002798] smp: Bringing up secondary CPUs ...
[    0.002816] smp: Brought up 1 node, 1 CPU
[    0.002826] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.002832] CPU: All CPU(s) started in SVC mode.
[    0.003632] devtmpfs: initialized
[    0.006571] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.006841] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006870] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.007023] pinctrl core: initialized pinctrl subsystem
[    0.008039] NET: Registered protocol family 16
[    0.008527] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009770] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.009786] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.021388] SCSI subsystem initialized
[    0.021664] usbcore: registered new interface driver usbfs
[    0.021726] usbcore: registered new interface driver hub
[    0.021825] usbcore: registered new device driver usb
[    0.022064] pps_core: LinuxPPS API ver. 1 registered
[    0.022073] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.022095] PTP clock support registered
[    0.022298] Advanced Linux Sound Architecture Driver Initialized.
[    0.024145] clocksource: Switched to clocksource arch_sys_counter
[    0.024979] simple-framebuffer 43e89000.framebuffer: framebuffer at 0x43e89000, 0x177000 bytes, mapped to 0xc4080000
[    0.024999] simple-framebuffer 43e89000.framebuffer: format=x8r8g8b8, mode=800x480x32, linelength=3200
[    0.031858] Console: switching to colour frame buffer device 100x30
[    0.038026] simple-framebuffer 43e89000.framebuffer: fb0: simplefb registered!
[    0.048235] NET: Registered protocol family 2
[    0.048866] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.048895] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.048918] TCP: Hash tables configured (established 1024 bind 1024)
[    0.049007] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.049054] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.049260] NET: Registered protocol family 1
[    0.049892] RPC: Registered named UNIX socket transport module.
[    0.049912] RPC: Registered udp transport module.
[    0.049918] RPC: Registered tcp transport module.
[    0.049922] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.052182] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.061359] NFS: Registering the id_resolver key type
[    0.061412] Key type id_resolver registered
[    0.061420] Key type id_legacy registered
[    0.061472] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.066442] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.066462] io scheduler noop registered
[    0.066469] io scheduler deadline registered
[    0.066687] io scheduler cfq registered (default)
[    0.070798] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.140944] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.144351] console [ttyS0] disabled
[    0.164574] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 31, base_baud = 1500000) is a U6_16550A
[    0.763550] console [ttyS0] enabled
[    0.788519] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 32, base_baud = 1500000) is a U6_16550A
[    0.798204] [drm] Initialized
[    0.803157] SPI driver: fifo=64
[    0.804366] m25p80 spi32766.0: mx25l25635e (32768 Kbytes)
[    0.812931] 4 cmdlinepart partitions found on MTD device spi32766.0
[    0.819268] Creating 4 MTD partitions on "spi32766.0":
[    0.824436] 0x000000000000-0x000000100000 : "uboot"
[    0.829975] 0x000000100000-0x000000110000 : "dtb"
[    0.835221] 0x000000110000-0x000000510000 : "kernel"
[    0.840583] 0x000000510000-0x000002000000 : "rootfs"
[    0.846096] sun6i-spi 1c68000.spi: chipselect 0 already in use
[    0.851930] spi_master spi32766: spi_device register error /soc/spi@01c68000/spiuart@0x00
[    0.860161] spi_master spi32766: Failed to create SPI device for /soc/spi@01c68000/spiuart@0x00
[    0.869262] libphy: Fixed MDIO Bus: probed
[    0.873681] usbcore: registered new interface driver r8152
[    0.879284] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.885838] ehci-platform: EHCI generic platform driver
[    0.891175] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.897413] ohci-platform: OHCI generic platform driver
[    0.903114] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    0.912818] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    0.919694] sun6i-rtc 1c20400.rtc: RTC enabled
[    0.924258] i2c /dev entries driver
[    0.929079] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input0
[    0.938687] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.004189] sunxi-mmc 1c0f000.mmc: base:0xc406d000 irq:23
[    1.010509] usbcore: registered new interface driver usbhid
[    1.016168] usbhid: USB HID core driver
[    1.021714] NET: Registered protocol family 17
[    1.026429] Key type dns_resolver registered
[    1.030858] Registering SWP/SWPB emulation handler
[    1.042064] usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.050024] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.055875] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    1.067157] hub 1-0:1.0: USB hub found
[    1.071034] hub 1-0:1.0: 1 port detected
[    1.075800] using random self ethernet address
[    1.080291] using random host ethernet address
[    1.085898] usb0: HOST MAC e6:5d:b1:9b:59:b1
[    1.090214] usb0: MAC f2:ea:ac:bd:ea:31
[    1.094092] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.101678] g_cdc gadget: g_cdc ready
[    1.105700] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:05:07 UTC (307)
[    1.114023] vcc3v0: disabling
[    1.117071] vcc5v0: disabling
[    1.120039] ALSA device list:
[    1.123001]   No soundcards found.
[    1.128588] random: fast init done
[    1.170230] random: crng init done
[    3.503370] VFS: Mounted root (jffs2 filesystem) on device 31:3.
[    3.510528] devtmpfs: mounted
[    3.514741] Freeing unused kernel memory: 1024K
mount: you must be root
[    5.710109] ------------[ cut here ]------------
[    5.714850] WARNING: CPU: 0 PID: 1 at drivers/mtd/spi-nor/spi-nor.c:1182 spi_nor_write+0x138/0x198
[    5.723797] Writing at offset 36 into a NOR page. Writing partial pages may decrease reliability and increase wear of NOR flash.
[    5.723802] Modules linked in:
[    5.738437] CPU: 0 PID: 1 Comm: init Not tainted 4.10.15-licheepi-zero+ #22
[    5.745386] Hardware name: Allwinner sun8i Family
[    5.750117] [<c010e2a4>] (unwind_backtrace) from [<c010afa0>] (show_stack+0x10/0x14)
[    5.757858] [<c010afa0>] (show_stack) from [<c0345978>] (dump_stack+0x88/0x9c)
[    5.765080] [<c0345978>] (dump_stack) from [<c011b3f4>] (__warn+0xe8/0x100)
[    5.772038] [<c011b3f4>] (__warn) from [<c011b444>] (warn_slowpath_fmt+0x38/0x48)
[    5.779517] [<c011b444>] (warn_slowpath_fmt) from [<c0450ef4>] (spi_nor_write+0x138/0x198)
[    5.787778] [<c0450ef4>] (spi_nor_write) from [<c04494f8>] (mtd_writev+0x94/0xe4)
[    5.795259] [<c04494f8>] (mtd_writev) from [<c02fb0f4>] (jffs2_flash_writev+0x2cc/0x48c)
[    5.803344] [<c02fb0f4>] (jffs2_flash_writev) from [<c02f41c0>] (jffs2_write_dnode+0xfc/0x328)
[    5.811947] [<c02f41c0>] (jffs2_write_dnode) from [<c02f4a9c>] (jffs2_do_create+0x90/0x230)
[    5.820291] [<c02f4a9c>] (jffs2_do_create) from [<c02ef138>] (jffs2_create+0xa0/0x120)
[    5.828203] [<c02ef138>] (jffs2_create) from [<c01fed80>] (path_openat+0xc78/0x1128)
[    5.835941] [<c01fed80>] (path_openat) from [<c0200510>] (do_filp_open+0x60/0xc4)
[    5.843418] [<c0200510>] (do_filp_open) from [<c01ef524>] (do_sys_open+0x15c/0x1dc)
[    5.851069] [<c01ef524>] (do_sys_open) from [<c0107480>] (ret_fast_syscall+0x0/0x3c)
[    5.858875] ---[ end trace 00f85cd09215ed06 ]---
mount: you must be root
mkdir: can't create directory '/dev/pts': Permission denied
mkdir: can't create directory '/dev/shm': Permission denied
mount: you must be root
hostname: sethostname: Operation not permitted
Starting logging: OK
Starting mdev...
/etc/init.d/S10mdev: line 21: can't create /proc/sys/kernel/hotplug: nonexistent directory
mdev: /sys/dev: No such file or directory
modprobe: can't change directory to '/lib/modules': No such file or directory
Initializing random number generator... done.
Starting network: ip: RTNETLINK answers: Operation not permitted
ip: SIOCSIFFLAGS: Operation not permitted
FAIL
can't open /dev/ttyS0: Permission denied
can't open /dev/ttyS0: Permission denied
can't open /dev/ttyS0: Permission denied
can't open /dev/ttyS0: Permission denied
can't open /dev/ttyS0: Permission denied

后边就一直重复这这句话,而且LCD屏幕上在uboot阶段还能打印信息,过去之后也没信息显示了。

最近编辑记录 gunge204 (2019-08-25 23:37:14)

离线

楼主 #2 2019-08-26 21:13:11

gunge204
会员
注册时间: 2019-08-24
已发帖子: 26
积分: 26

Re: Licheepi ZERO 下载flash镜像的问题

晕哥在哪里,求助啊
第1个问题暂且不提,第2个是咋回事?
我看中间有“mount: you must be root”,难道是挂载根文件的时候需要root权限的意思?可是我是从咱文档里边直接用的推荐的配置好的rootfs-brmin的啊
搞不动了,求助

离线

#3 2019-08-26 21:44:19

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: Licheepi ZERO 下载flash镜像的问题

感觉还是你烧录问题, 可能是 jffs2 根文件系统不完整.





离线

楼主 #4 2019-08-26 21:57:39

gunge204
会员
注册时间: 2019-08-24
已发帖子: 26
积分: 26

Re: Licheepi ZERO 下载flash镜像的问题

谢谢,膜拜大神,我又搞了一遍jffs2,居然成功了!
第1个问题还在想办法,

晕哥 说:

感觉还是你烧录问题, 可能是 jffs2 根文件系统不完整.

离线

#5 2019-08-26 22:19:14

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: Licheepi ZERO 下载flash镜像的问题

试一试windows版本的: https://whycan.cn/t_444.html





离线

#6 2019-08-27 15:28:08

Han
会员
注册时间: 2019-08-12
已发帖子: 30
积分: 30

Re: Licheepi ZERO 下载flash镜像的问题

gunge204 说:

谢谢,膜拜大神,我又搞了一遍jffs2,居然成功了!
第1个问题还在想办法,

晕哥 说:

感觉还是你烧录问题, 可能是 jffs2 根文件系统不完整.

你好,我最近也是烧录16M spi flash 时遇到了问题,不过我重新制作根文件系统,并没有解决问题,可以发一下你编译的系统镜像和根文件系统吗?

离线

#7 2019-08-27 15:30:20

Han
会员
注册时间: 2019-08-12
已发帖子: 30
积分: 30

Re: Licheepi ZERO 下载flash镜像的问题

U-Boot SPL 2017.01-rc2-00073-gdd6e8740dc-dirty (Aug 25 2019 - 20:26:43)
DRAM: 64 MiB
Trying to boot from sunxi SPI

U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (Aug 25 2019 - 20:26:43 -0700) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In:    serial@01c28800
Out:   serial@01c28800
Err:   serial@01c28800


U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (Aug 25 2019 - 20:26:43 -0700) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In:    serial@01c28800
Out:   serial@01c28800
Err:   serial@01c28800
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0 
SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 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 42df9000, end 42dff144 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.13.16-licheepi-zero (han@ubuntu) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02)) #3 SMP Wed Aug 21 23:03:30 PDT 2019
[    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 with Dock
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 16 pages/cpu @c3de5000 s33868 r8192 d23476 u65536
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 15883
[    0.000000] Kernel command line: console=ttyS2,115200 earlyprintk panic=5 rootwait root=/dev/mtdblock3 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: 53576K/64036K available (6144K kernel code, 218K rwdata, 1460K rodata, 1024K init, 264K bss, 10460K 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 : 0xc4000000 - 0xff800000   ( 952 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc3e89000   (  62 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 - 0xc0a36840   ( 219 kB)
[    0.000000]        .bss : 0xc0a3db14 - 0xc0a7fcec   ( 265 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU event tracing is enabled.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: 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.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000020] Switching to timer-based delay loop, resolution 41ns
[    0.000189] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000424] Console: colour dummy device 80x30
[    0.000459] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000473] pid_max: default: 32768 minimum: 301
[    0.000599] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000612] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001204] CPU: Testing write buffer coherency: ok
[    0.001574] /cpus/cpu@0 missing clock-frequency property
[    0.001599] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002038] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002223] Hierarchical SRCU implementation.
[    0.002733] smp: Bringing up secondary CPUs ...
[    0.002746] 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.003530] devtmpfs: initialized
[    0.006808] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.007098] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.007123] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.007305] pinctrl core: initialized pinctrl subsystem
[    0.008138] random: get_random_u32 called from bucket_table_alloc+0xf4/0x244 with crng_init=0
[    0.008269] NET: Registered protocol family 16
[    0.008746] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009864] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.009882] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.023745] SCSI subsystem initialized
[    0.024051] usbcore: registered new interface driver usbfs
[    0.024120] usbcore: registered new interface driver hub
[    0.024225] usbcore: registered new device driver usb
[    0.024463] pps_core: LinuxPPS API ver. 1 registered
[    0.024472] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.024493] PTP clock support registered
[    0.024745] Advanced Linux Sound Architecture Driver Initialized.
[    0.026600] clocksource: Switched to clocksource arch_sys_counter
[    0.037375] NET: Registered protocol family 2
[    0.037952] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.037987] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.038012] TCP: Hash tables configured (established 1024 bind 1024)
[    0.038141] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.038190] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.038403] NET: Registered protocol family 1
[    0.038999] RPC: Registered named UNIX socket transport module.
[    0.039018] RPC: Registered udp transport module.
[    0.039023] RPC: Registered tcp transport module.
[    0.039030] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.041094] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.050183] NFS: Registering the id_resolver key type
[    0.050232] Key type id_resolver registered
[    0.050239] Key type id_legacy registered
[    0.050284] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.051807] random: fast init done
[    0.054730] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.054752] io scheduler noop registered
[    0.054761] io scheduler deadline registered
[    0.054969] io scheduler cfq registered (default)
[    0.054980] io scheduler mq-deadline registered
[    0.054987] io scheduler kyber registered
[    0.059445] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.128306] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.151679] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[    0.173199] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 37, base_baud = 1500000) is a U6_16550A
[    0.762354] console [ttyS2] enabled
[    0.770467] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.775534] spi0.0: parser cmdlinepart: 0
[    0.779650] spi0.0: parser ofpart: 4
[    0.783223] 4 ofpart partitions found on MTD device spi0.0
[    0.788726] Creating 4 MTD partitions on "spi0.0":
[    0.793522] 0x000000000000-0x000000100000 : "u-boot"
[    0.799953] 0x000000100000-0x000000110000 : "dtb"
[    0.805885] 0x000000110000-0x000000510000 : "kernel"
[    0.812236] 0x000000510000-0x000001000000 : "rootfs"
[    0.818990] libphy: Fixed MDIO Bus: probed
[    0.823594] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    0.829489] dwmac-sun8i 1c30000.ethernet: No regulator found
[    0.835197] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[    0.841385] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    0.847081] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    0.854295] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    0.859964] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    0.867189] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    0.872147] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    0.879129] libphy: stmmac: probed
[    0.884340] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.891003] ehci-platform: EHCI generic platform driver
[    0.896534] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.902222] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.910175] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    0.936616] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.943763] hub 1-0:1.0: USB hub found
[    0.947709] hub 1-0:1.0: 1 port detected
[    0.952185] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.958484] ohci-platform: OHCI generic platform driver
[    0.964055] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    0.970779] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    0.978700] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    1.051675] hub 2-0:1.0: USB hub found
[    1.055495] hub 2-0:1.0: 1 port detected
[    1.063112] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    1.072661] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    1.081641] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    1.088548] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.093089] i2c /dev entries driver
[    1.098036] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[    1.107560] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.176658] sunxi-mmc 1c0f000.mmc: base:0xc407d000 irq:23
[    1.236632] sunxi-mmc 1c10000.mmc: base:0xc423d000 irq:24
[    1.243094] usbcore: registered new interface driver usbhid
[    1.248746] usbhid: USB HID core driver
[    1.254197] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01c23000 not registered
[    1.262243] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.269799] NET: Registered protocol family 17
[    1.274360] Key type dns_resolver registered
[    1.278890] Registering SWP/SWPB emulation handler
[    1.291408] simple-framebuffer 43e89000.framebuffer: framebuffer at 0x43e89000, 0x177000 bytes, mapped to 0xc4400000
[    1.302125] simple-framebuffer 43e89000.framebuffer: format=x8r8g8b8, mode=800x480x32, linelength=3200
[    1.318455] Console: switching to colour frame buffer device 100x30
[    1.330867] simple-framebuffer 43e89000.framebuffer: fb0: simplefb registered!
[    1.339502] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.350900] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.356744] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.365841] hub 3-0:1.0: USB hub found
[    1.369819] hub 3-0:1.0: 1 port detected
[    1.374859] using random self ethernet address
[    1.379412] using random host ethernet address
[    1.384872] usb0: HOST MAC ca:89:de:d3:77:49
[    1.389297] usb0: MAC 2a:37:7d:77:6e:11
[    1.393195] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.400719] g_cdc gadget: g_cdc ready
[    1.407149] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    1.416778] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:06:01 UTC (361)
[    1.425112] vcc3v3: disabling
[    1.428150] vcc5v0: disabling
[    1.431119] ALSA device list:
[    1.434082]   #0: V3s Audio Codec
[    1.476604] random: crng init done
[    3.745056] VFS: Mounted root (jffs2 filesystem) on device 31:3.
[    3.752127] devtmpfs: mounted
[    3.756391] Freeing unused kernel memory: 1024K
Starting logging: OK
Starting mdev...
modprobe: can't change directory to '/lib/modules': No such file or directory
Initializing random number generator... done.
Starting network: OK

离线

#8 2019-08-27 15:46:11

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: Licheepi ZERO 下载flash镜像的问题





离线

#9 2019-08-27 15:53:34

Han
会员
注册时间: 2019-08-12
已发帖子: 30
积分: 30

Re: Licheepi ZERO 下载flash镜像的问题

晕哥 说:

晕哥,这链接里没找到这个问题相关的说明呀 hmm

离线

#10 2019-08-27 16:06:32

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: Licheepi ZERO 下载flash镜像的问题

你这个貌似没有什么问题,除了驱动模块没有安装,你试一试 CTRL + C 有没有反应





离线

#11 2019-08-27 16:17:08

Han
会员
注册时间: 2019-08-12
已发帖子: 30
积分: 30

Re: Licheepi ZERO 下载flash镜像的问题

晕哥 说:

你这个貌似没有什么问题,除了驱动模块没有安装,你试一试 CTRL + C 有没有反应

按CTRL+C除了显示:^C之外也没其他反应。

离线

#12 2019-08-27 16:26:03

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: Licheepi ZERO 下载flash镜像的问题

你是不是改过 /etc/init.d 里面的文件?
如果这里面有阻塞的命令, 那么也不会到 shell 提示符。





离线

#13 2019-08-27 16:35:58

Han
会员
注册时间: 2019-08-12
已发帖子: 30
积分: 30

Re: Licheepi ZERO 下载flash镜像的问题

晕哥 说:

你是不是改过 /etc/init.d 里面的文件?
如果这里面有阻塞的命令, 那么也不会到 shell 提示符。

没有,,所有操作都是按照荔枝派教程里操作的

离线

#14 2019-08-27 17:10:29

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: Licheepi ZERO 下载flash镜像的问题

可能是烧录问题, 也可能是文件系统本身有问题, 试一试上面推荐的固件看情况。





离线

#15 2019-08-28 19:06:59

Han
会员
注册时间: 2019-08-12
已发帖子: 30
积分: 30

Re: Licheepi ZERO 下载flash镜像的问题

U-Boot SPL 2017.01-rc2 (Aug 28 2019 - 00:04:52)
DRAM: 64 MiB
Trying to boot from sunxi SPI

U-Boot 2017.01-rc2 (Aug 28 2019 - 00:04:52 -0700) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: unrecognized JEDEC id bytes: c2, 20, 19
*** Warning - spi_flash_probe() failed, using default environment

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000


U-Boot 2017.01-rc2 (Aug 28 2019 - 00:04:52 -0700) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: unrecognized JEDEC id bytes: c2, 20, 19
*** Warning - spi_flash_probe() failed, using default environment

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
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: unrecognized JEDEC id bytes: c2, 20, 19
Failed to initialize SPI flash at 0:0 (error -2)
No SPI flash selected. Please run `sf probe'
No SPI flash selected. Please run `sf probe'
=> 

我试了试32M的MX25L25635F,用烧录器烧录的,结果连内核都启动不了

离线

#16 2019-08-28 20:16:56

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: Licheepi ZERO 下载flash镜像的问题

CONFIG_SPI_FLASH_MACRONIX=y

把 u-boot的这个选项开起来就可以了.





离线

#17 2019-08-30 17:10:45

Han
会员
注册时间: 2019-08-12
已发帖子: 30
积分: 30

Re: Licheepi ZERO 下载flash镜像的问题

U-Boot SPL 2017.01-rc2 (Aug 29 2019 - 20:11:47)
DRAM: 64 MiB
Trying to boot from sunxi SPI

U-Boot 2017.01-rc2 (Aug 29 2019 - 20:11:47 -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
SF: Warning - Only lower 16MiB accessible, Full access #define CONFIG_SPI_FLASH_BAR
*** Warning - bad CRC, using default environment

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In:    serial@01c28800
Out:   serial@01c28800
Err:   serial@01c28800


U-Boot 2017.01-rc2 (Aug 29 2019 - 20:11:47 -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
SF: Warning - Only lower 16MiB accessible, Full access #define CONFIG_SPI_FLASH_BAR
*** Warning - bad CRC, using default environment

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In:    serial@01c28800
Out:   serial@01c28800
Err:   serial@01c28800
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
SF: Warning - Only lower 16MiB accessible, Full access #define CONFIG_SPI_FLASH_BAR
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 42dfff82 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.2.0-licheepi-zero (han@ubuntu) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02)) #3 SMP Thu Aug 29 03:27:06 PDT 2019
[    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 with Dock
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 16 pages/cpu s34508 r8192 d22836 u65536
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 15883
[    0.000000] Kernel command line: console=ttyS2,115200 earlyprintk panic=5 rootwait root=/dev/mtdblock3 rw rootfstype=jffs2
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 53544K/64036K available (6144K kernel code, 301K rwdata, 1676K rodata, 1024K init, 252K bss, 10492K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x300/0x48c with crng_init=0
[    0.000000] arch_timer: 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.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000020] Switching to timer-based delay loop, resolution 41ns
[    0.000213] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000448] Console: colour dummy device 80x30
[    0.000505] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000522] pid_max: default: 32768 minimum: 301
[    0.000688] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000705] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001532] CPU: Testing write buffer coherency: ok
[    0.002046] /cpus/cpu@0 missing clock-frequency property
[    0.002072] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002890] Setting up static identity map for 0x40100000 - 0x40100060
[    0.003114] rcu: Hierarchical SRCU implementation.
[    0.003675] smp: Bringing up secondary CPUs ...
[    0.003698] smp: Brought up 1 node, 1 CPU
[    0.003708] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.003715] CPU: All CPU(s) started in SVC mode.
[    0.004809] devtmpfs: initialized
[    0.008416] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.008741] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.008775] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.009026] pinctrl core: initialized pinctrl subsystem
[    0.010189] NET: Registered protocol family 16
[    0.010741] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.012013] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.012031] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.036184] SCSI subsystem initialized
[    0.036361] usbcore: registered new interface driver usbfs
[    0.036416] usbcore: registered new interface driver hub
[    0.036527] usbcore: registered new device driver usb
[    0.036762] mc: Linux media interface: v0.10
[    0.036803] videodev: Linux video capture interface: v2.00
[    0.037008] Advanced Linux Sound Architecture Driver Initialized.
[    0.038352] clocksource: Switched to clocksource arch_sys_counter
[    0.051326] NET: Registered protocol family 2
[    0.052161] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.052199] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.052224] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.052247] TCP: Hash tables configured (established 1024 bind 1024)
[    0.052399] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.052454] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.052773] NET: Registered protocol family 1
[    0.054694] Initialise system trusted keyrings
[    0.055072] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.092765] Key type asymmetric registered
[    0.092785] Asymmetric key parser 'x509' registered
[    0.092907] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.092920] io scheduler mq-deadline registered
[    0.092926] io scheduler kyber registered
[    0.093977] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[    0.097818] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.170783] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.173212] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[    0.194612] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[    0.216472] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 37, base_baud = 1500000) is a U6_16550A
[    0.729698] printk: console [ttyS2] enabled
[    0.759125] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pc not found, using dummy regulator
[    0.770749] m25p80 spi0.0: mx25l25635e (32768 Kbytes)
[    0.776375] 4 fixed-partitions partitions found on MTD device spi0.0
[    0.782843] Creating 4 MTD partitions on "spi0.0":
[    0.787642] 0x000000000000-0x000000100000 : "u-boot"
[    0.793433] 0x000000100000-0x000000110000 : "dtb"
[    0.798863] 0x000000110000-0x000000510000 : "kernel"
[    0.804430] 0x000000510000-0x000002000000 : "rootfs"
[    0.810453] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.816987] ehci-platform: EHCI generic platform driver
[    0.822669] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.828358] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.836315] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    0.868322] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.875533] hub 1-0:1.0: USB hub found
[    0.879490] hub 1-0:1.0: 1 port detected
[    0.884083] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.890396] ohci-platform: OHCI generic platform driver
[    0.895937] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    0.902663] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    0.910621] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    0.983457] hub 2-0:1.0: USB hub found
[    0.987296] hub 2-0:1.0: 1 port detected
[    0.994669] usbcore: registered new interface driver usb-storage
[    1.001990] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    1.011313] sun6i-rtc 1c20400.rtc: registered as rtc0
[    1.016375] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.021111] i2c /dev entries driver
[    1.026038] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[    1.035708] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.044430] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[    1.080970] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.088212] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[    1.125100] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[    1.133285] usbcore: registered new interface driver usbhid
[    1.138952] usbhid: USB HID core driver
[    1.144658] sun4i-codec 1c22c00.codec: ASoC: codec-analog@01c23000 not registered
[    1.152288] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.159700] Initializing XFRM netlink socket
[    1.164013] NET: Registered protocol family 17
[    1.169290] Registering SWP/SWPB emulation handler
[    1.175267] Loading compiled-in X.509 certificates
[    1.185454] simple-framebuffer 43e89000.framebuffer: framebuffer at 0x43e89000, 0x177000 bytes, mapped to 0x(ptrval)
[    1.196147] simple-framebuffer 43e89000.framebuffer: format=x8r8g8b8, mode=800x480x32, linelength=3200
[    1.212471] Console: switching to colour frame buffer device 100x30
[    1.224912] simple-framebuffer 43e89000.framebuffer: fb0: simplefb registered!
[    1.233759] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.245220] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.251070] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.260452] hub 3-0:1.0: USB hub found
[    1.264364] hub 3-0:1.0: 1 port detected
[    1.270931] debugfs: Directory '1c22c00.codec' with parent 'V3s Audio Codec' already present!
[    1.279610] sun4i-codec 1c22c00.codec: ASoC: Failed to create component debugfs directory: -17
[    1.289778] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    1.298485] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T00:00:06 UTC (6)
[    1.306713] vcc5v0: disabling
[    1.309753] ALSA device list:
[    1.312722]   #0: V3s Audio Codec
[    1.317090] Waiting for root device /dev/mtdblock3...
[    5.723345] random: fast init done

停在这里了,,

离线

#18 2019-08-30 17:12:11

Han
会员
注册时间: 2019-08-12
已发帖子: 30
积分: 30

Re: Licheepi ZERO 下载flash镜像的问题

是我的根文件系统有问题吗,,

离线

#19 2019-08-30 17:58:04

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: Licheepi ZERO 下载flash镜像的问题

1. CONFIG_MTD_BLOCK  这个开了吗?
2. bootargs 改成这样: root=31:03 试一试





离线

#20 2019-09-05 16:52:13

Han
会员
注册时间: 2019-08-12
已发帖子: 30
积分: 30

Re: Licheepi ZERO 下载flash镜像的问题

多谢晕哥,16M和32M都成功启动了。
还有个问题,我想把默认的打印串口由UART0换为UART2,结果修改了之后就启动不了,下面是打印信息:

U-Boot SPL 2017.01-rc2 (Sep 05 2019 - 00:14:15)
DRAM: 64 MiB
Trying to boot from sunxi SPI

U-Boot 2017.01-rc2 (Sep 05 2019 - 00:14:15 -0700) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

In:    serial@01c28800
Out:   serial@01c28800
Err:   serial@01c28800


U-Boot 2017.01-rc2 (Sep 05 2019 - 00:14:15 -0700) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

In:    serial@01c28800
Out:   serial@01c28800
Err:   serial@01c28800
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0 
SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 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 42dfff75 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.13.16-licheepi-zero (han@ubuntu) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02)) #1 SMP Mon Sep 2 01:48:47 PDT 2019
[    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 with Dock
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 16 pages/cpu @c3f5f000 s33868 r8192 d23476 u65536
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS2,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: 55080K/65536K available (6144K kernel code, 217K rwdata, 1456K rodata, 1024K init, 264K bss, 10456K 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 - 0xc0a367c0   ( 218 kB)
[    0.000000]        .bss : 0xc0a3daf0 - 0xc0a7fcac   ( 265 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU event tracing is enabled.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: 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.000020] Switching to timer-based delay loop, resolution 41ns
[    0.000186] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000413] Console: colour dummy device 80x30
[    0.000448] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000462] pid_max: default: 32768 minimum: 301
[    0.000588] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000602] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001189] CPU: Testing write buffer coherency: ok
[    0.001552] /cpus/cpu@0 missing clock-frequency property
[    0.001575] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002007] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002181] Hierarchical SRCU implementation.
[    0.002686] smp: Bringing up secondary CPUs ...
[    0.002701] smp: Brought up 1 node, 1 CPU
[    0.002710] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.002717] CPU: All CPU(s) started in SVC mode.
[    0.003478] devtmpfs: initialized
[    0.006595] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.006893] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006921] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.007087] pinctrl core: initialized pinctrl subsystem
[    0.007920] random: get_random_u32 called from bucket_table_alloc+0xf4/0x244 with crng_init=0
[    0.008057] NET: Registered protocol family 16
[    0.008509] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009615] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.009632] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.023092] SCSI subsystem initialized
[    0.023371] usbcore: registered new interface driver usbfs
[    0.023436] usbcore: registered new interface driver hub
[    0.023539] usbcore: registered new device driver usb
[    0.023802] pps_core: LinuxPPS API ver. 1 registered
[    0.023811] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.023833] PTP clock support registered
[    0.024061] Advanced Linux Sound Architecture Driver Initialized.
[    0.025881] clocksource: Switched to clocksource arch_sys_counter
[    0.036241] NET: Registered protocol family 2
[    0.036809] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.036842] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.036866] TCP: Hash tables configured (established 1024 bind 1024)
[    0.036987] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.037034] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.037237] NET: Registered protocol family 1
[    0.037819] RPC: Registered named UNIX socket transport module.
[    0.037836] RPC: Registered udp transport module.
[    0.037842] RPC: Registered tcp transport module.
[    0.037849] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.039903] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.048772] NFS: Registering the id_resolver key type
[    0.048821] Key type id_resolver registered
[    0.048828] Key type id_legacy registered
[    0.048871] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.050348] random: fast init done
[    0.053161] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.053182] io scheduler noop registered
[    0.053189] io scheduler deadline registered
[    0.053425] io scheduler cfq registered (default)
[    0.053437] io scheduler mq-deadline registered
[    0.053445] io scheduler kyber registered
[    0.057733] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.126386] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.149781] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[    0.171330] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 37, base_baud = 1500000) is a U6_16550A
[    0.765307] console [ttyS2] enabled
[    0.773104] m25p80 spi32766.0: mx25l12805d (16384 Kbytes)
[    0.778618] spi32766.0: parser cmdlinepart: 4
[    0.782974] 4 cmdlinepart partitions found on MTD device spi32766.0
[    0.789258] Creating 4 MTD partitions on "spi32766.0":
[    0.794400] 0x000000000000-0x000000100000 : "uboot"
[    0.799911] 0x000000100000-0x000000110000 : "dtb"
[    0.805016] 0x000000110000-0x000000510000 : "kernel"
[    0.810451] 0x000000510000-0x000001000000 : "rootfs"
[    0.816250] libphy: Fixed MDIO Bus: probed
[    0.820869] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    0.826750] dwmac-sun8i 1c30000.ethernet: No regulator found
[    0.832458] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[    0.838642] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    0.844308] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    0.851560] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    0.857232] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    0.864444] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    0.869416] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    0.876416] libphy: stmmac: probed
[    0.881661] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.888318] ehci-platform: EHCI generic platform driver
[    0.893839] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.899523] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.907457] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    0.935901] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.943172] hub 1-0:1.0: USB hub found
[    0.947124] hub 1-0:1.0: 1 port detected
[    0.951637] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.957935] ohci-platform: OHCI generic platform driver
[    0.963476] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    0.970218] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    0.978169] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    1.051014] hub 2-0:1.0: USB hub found
[    1.054833] hub 2-0:1.0: 1 port detected
[    1.062467] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    1.072015] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    1.080886] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    1.087794] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.092328] i2c /dev entries driver
[    1.097213] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[    1.106700] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.175926] sunxi-mmc 1c0f000.mmc: base:0xc48d1000 irq:23
[    1.235913] sunxi-mmc 1c10000.mmc: base:0xc48d5000 irq:24
[    1.242299] usbcore: registered new interface driver usbhid
[    1.247950] usbhid: USB HID core driver
[    1.253365] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01c23000 not registered
[    1.261402] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.268848] NET: Registered protocol family 17
[    1.273429] Key type dns_resolver registered
[    1.277967] Registering SWP/SWPB emulation handler
[    1.291484] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.302940] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.308795] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.317887] hub 3-0:1.0: USB hub found
[    1.321740] hub 3-0:1.0: 1 port detected
[    1.327010] using random self ethernet address
[    1.331499] using random host ethernet address
[    1.337132] usb0: HOST MAC ae:0f:e9:21:d0:9d
[    1.341453] usb0: MAC 42:d5:68:5d:d6:d9
[    1.345331] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.352906] g_cdc gadget: g_cdc ready
[    1.359095] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    1.367698] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:00:06 UTC (6)
[    1.375957] vcc5v0: disabling
[    1.378933] ALSA device list:
[    1.381895]   #0: V3s Audio Codec
[    1.425223] random: crng init done
[    3.698237] VFS: Mounted root (jffs2 filesystem) on device 31:3.
[    3.705255] devtmpfs: mounted
[    3.709496] Freeing unused kernel memory: 1024K
Starting logging: OK
Starting mdev...
modprobe: can't change directory to '/lib/modules': No such file or directory
Initializing random number generator... done.
Starting network: OK

离线

#21 2019-09-05 17:08:31

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: Licheepi ZERO 下载flash镜像的问题

bootargs 改成这样: root=31:03

是改成这样就可以了对吧?


你的u-boot 是 uart0 吗?





离线

#22 2019-09-05 18:29:50

Han
会员
注册时间: 2019-08-12
已发帖子: 30
积分: 30

Re: Licheepi ZERO 下载flash镜像的问题

晕哥 说:

bootargs 改成这样: root=31:03

是改成这样就可以了对吧?


你的u-boot 是 uart0 吗?

当时改了也不行,后来重新下载的Linux 4.13源码,重新修改编译后就可以了。
u-boot也改为了uart2。

离线

#23 2019-09-05 18:45:32

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: Licheepi ZERO 下载flash镜像的问题

https://whycan.cn/t_1417.html#p7175

stdout-path 改了吗?





离线

#24 2019-09-05 19:26:22

Han
会员
注册时间: 2019-08-12
已发帖子: 30
积分: 30

Re: Licheepi ZERO 下载flash镜像的问题

晕哥 说:

https://whycan.cn/t_1417.html#p7175

stdout-path 改了吗?

嗯嗯,改了的。我以前用SD卡启动时,从uart0改为uart2是正常的,用spi flash 启动时修改之后就会卡在上面显示的那个地方

离线

#25 2019-09-05 19:39:46

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: Licheepi ZERO 下载flash镜像的问题

敲回车有反应吗?





离线

#26 2019-09-06 14:24:35

Han
会员
注册时间: 2019-08-12
已发帖子: 30
积分: 30

Re: Licheepi ZERO 下载flash镜像的问题

晕哥 说:

敲回车有反应吗?

回车就直接下一行,但还是空白

离线

#27 2019-09-06 15:08:07

岁月留痕
会员
注册时间: 2019-09-06
已发帖子: 4
积分: 4

Re: Licheepi ZERO 下载flash镜像的问题

说明你的串口没有问题, 是被塞住了,

按 ctrl + c 就能中断并回到 shell 提示符了。

再不行按 ctrl + z

离线

#28 2019-09-09 11:09:05

Han
会员
注册时间: 2019-08-12
已发帖子: 30
积分: 30

Re: Licheepi ZERO 下载flash镜像的问题

岁月留痕 说:

说明你的串口没有问题, 是被塞住了,

按 ctrl + c 就能中断并回到 shell 提示符了。

再不行按 ctrl + z

也不行,,

Starting logging: OK
Starting mdev...
modprobe: can't change directory to '/lib/modules': No such file or directory
Initializing random number generator... done.
Starting network: OK
^Z^C

离线

#29 2019-09-09 11:12:33

awfans
会员
注册时间: 2018-04-03
已发帖子: 264
积分: 264

Re: Licheepi ZERO 下载flash镜像的问题

文件系统有问题, 用 buildroot 重新做一个吧

离线

#30 2019-09-09 14:19:40

Han
会员
注册时间: 2019-08-12
已发帖子: 30
积分: 30

Re: Licheepi ZERO 下载flash镜像的问题

awfans 说:

文件系统有问题, 用 buildroot 重新做一个吧

我用Uart0打印信息的时候就可以启动,只是换成uart2后就不行了,和根文件系统也有关吗?
这里根文件系统用的是rootfs-brmin,buildroot太大了吧

离线

页脚

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

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