页次: 1
看起来如楼上几位所说,文件没copy成功。
我按照那个教程做过debain10,没问题,有兴趣可以试试。
这是我做的,比较大,压缩包500M。
链接: https://pan.baidu.com/s/1hZTClevmgj8ss8zsHqBdkg
提取码:nvxg这个是比较小的版本,压缩包130M。
链接: https://pan.baidu.com/s/1TsvrBg0MdCDpPhfchd9peA
提取码:z5ot
太
谢谢你了,我已经启动成功
可以看到有这样一个报错:/sbin/init: error while loading shared libraries: /usr/lib/arm-linux-gnueabihf/liblz4.so.1: file too short
可是我不知道是为什么,希望有懂的人可以帮我看一下
大家好,我的板子是lichee zero,按照晕哥的教程成功用uboot+linux+buildroot制作了tf卡,成功开启。于是我接下来又按照Debian 9.9 (stretch) 文件系统制作想做一个debian的文件系统,因为那样可以包管理,比较方便。
我按照链接的教程做完了,然后插卡上电,却不断“五秒后重启”。串口连接电脑,有以下启动信息:
U-Boot SPL 2017.01-rc2 (Jan 19 2021 - 23:08:21)
DRAM: 64 MiB
Trying to boot from MMC1
U-Boot 2017.01-rc2 (Jan 19 2021 - 23:08:21 -0800) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
U-Boot 2017.01-rc2 (Jan 19 2021 - 23:08:21 -0800) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
*** 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
reading zImage
3816728 bytes read in 198 ms (18.4 MiB/s)
reading sun8i-v3s-licheepi-zero-dock.dtb
9262 bytes read in 25 ms (361.3 KiB/s)
## Flattened Device Tree blob at 41800000
Booting using the fdt blob at 0x41800000
Loading Device Tree to 42dfa000, end 42dff42d ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.10.15-licheepi-zero (francolin@ubuntu) (gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) ) #1 SMP Wed Jan 20 00:50:08 PST 2021
[ 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 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 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw vt.global_cursor_default=0
[ 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: 55156K/65536K available (6144K kernel code, 199K rwdata, 1388K rodata, 1024K init, 259K bss, 10380K 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 - 0xc0a31e40 ( 200 kB)
[ 0.000000] .bss : 0xc0a33000 - 0xc0a73f0c ( 260 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.000019] Switching to timer-based delay loop, resolution 41ns
[ 0.000138] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000353] Console: colour dummy device 80x30
[ 0.000391] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000406] pid_max: default: 32768 minimum: 301
[ 0.000537] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000547] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.001239] CPU: Testing write buffer coherency: ok
[ 0.001634] /cpus/cpu@0 missing clock-frequency property
[ 0.001656] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.002006] Setting up static identity map for 0x40100000 - 0x40100058
[ 0.002732] smp: Bringing up secondary CPUs ...
[ 0.002748] smp: Brought up 1 node, 1 CPU
[ 0.002758] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.002765] CPU: All CPU(s) started in SVC mode.
[ 0.003538] devtmpfs: initialized
[ 0.006373] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.006639] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.006667] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.006816] pinctrl core: initialized pinctrl subsystem
[ 0.007792] NET: Registered protocol family 16
[ 0.008224] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.009416] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.009432] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.021123] SCSI subsystem initialized
[ 0.021380] usbcore: registered new interface driver usbfs
[ 0.021462] usbcore: registered new interface driver hub
[ 0.021569] usbcore: registered new device driver usb
[ 0.021788] pps_core: LinuxPPS API ver. 1 registered
[ 0.021798] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.021821] PTP clock support registered
[ 0.022024] Advanced Linux Sound Architecture Driver Initialized.
[ 0.023813] clocksource: Switched to clocksource arch_sys_counter
[ 0.034967] NET: Registered protocol family 2
[ 0.035584] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.035614] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.035638] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.035724] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.035769] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.035970] NET: Registered protocol family 1
[ 0.036567] RPC: Registered named UNIX socket transport module.
[ 0.036586] RPC: Registered udp transport module.
[ 0.036592] RPC: Registered tcp transport module.
[ 0.036597] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.038767] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.047830] NFS: Registering the id_resolver key type
[ 0.047884] Key type id_resolver registered
[ 0.047893] Key type id_legacy registered
[ 0.051897] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.051919] io scheduler noop registered
[ 0.051927] io scheduler deadline registered
[ 0.052113] io scheduler cfq registered (default)
[ 0.056306] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.126981] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.130173] console [ttyS0] disabled
[ 0.150455] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 34, base_baud = 1500000) is a U6_16550A
[ 0.705765] console [ttyS0] enabled
[ 0.709982] [drm] Initialized
[ 0.714864] libphy: Fixed MDIO Bus: probed
[ 0.719164] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.725772] ehci-platform: EHCI generic platform driver
[ 0.731089] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.737314] ohci-platform: OHCI generic platform driver
[ 0.742976] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[ 0.752452] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[ 0.761396] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[ 0.768299] sun6i-rtc 1c20400.rtc: RTC enabled
[ 0.772843] i2c /dev entries driver
[ 0.777690] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[ 0.787255] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 0.853860] sunxi-mmc 1c0f000.mmc: base:0xc485f000 irq:23
[ 0.903801] mmc0: host does not support reading read-only switch, assuming write-enable
[ 0.913843] sunxi-mmc 1c10000.mmc: base:0xc4863000 irq:24
[ 0.920199] usbcore: registered new interface driver usbhid
[ 0.925856] usbhid: USB HID core driver
[ 0.930409] mmc0: new high speed SDHC card at address e624
[ 0.937626] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01c23000 not registered
[ 0.945689] sun4i-codec 1c22c00.codec: Failed to register our card
[ 0.952416] mmcblk0: mmc0:e624 SC32G 29.7 GiB
[ 0.958796] NET: Registered protocol family 17
[ 0.963404] Key type dns_resolver registered
[ 0.967925] Registering SWP/SWPB emulation handler
[ 0.974311] mmcblk0: p1 p2
[ 0.985163] usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 0.992972] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 0.998838] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[ 1.007971] hub 1-0:1.0: USB hub found
[ 1.011847] hub 1-0:1.0: 1 port detected
[ 1.016629] using random self ethernet address
[ 1.021125] using random host ethernet address
[ 1.026678] usb0: HOST MAC f2:11:5c:a1:e5:da
[ 1.030992] usb0: MAC fe:1f:a9:4e:6f:b8
[ 1.034978] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[ 1.042458] g_cdc gadget: g_cdc ready
[ 1.048564] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[ 1.057595] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:00:55 UTC (55)
[ 1.065911] vcc5v0: disabling
[ 1.068886] ALSA device list:
[ 1.071850] #0: V3s Audio Codec
[ 1.080210] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[ 1.091361] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[ 1.114705] EXT4-fs (mmcblk0p2): recovery complete
[ 1.119526] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.127795] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 1.144080] devtmpfs: mounted
[ 1.148253] Freeing unused kernel memory: 1024K
/sbin/init: error while loading shared libraries: /usr/lib/arm-linux-gnueabihf/liblz4.so.1: file too short
[ 1.324007] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
[ 1.324007]
[ 1.333151] CPU: 0 PID: 1 Comm: init Not tainted 4.10.15-licheepi-zero #1
[ 1.339927] Hardware name: Allwinner sun8i Family
[ 1.344666] [<c010e2a4>] (unwind_backtrace) from [<c010afa0>] (show_stack+0x10/0x14)
[ 1.352411] [<c010afa0>] (show_stack) from [<c0335b78>] (dump_stack+0x88/0x9c)
[ 1.359634] [<c0335b78>] (dump_stack) from [<c01a681c>] (panic+0xdc/0x248)
[ 1.366509] [<c01a681c>] (panic) from [<c011e130>] (complete_and_exit+0x0/0x1c)
[ 1.373813] [<c011e130>] (complete_and_exit) from [<c3833f70>] (0xc3833f70)
[ 1.380774] Rebooting in 5 seconds..
希望大家可以帮我看一下是什么问题
页次: 1