U-Boot SPL 2019.10-ge71ae959-dirty (Dec 10 2019 - 19:15:16 +0000)
DRAM: 64 MiB
Trying to boot from MMC1
U-Boot 2019.10-ge71ae959-dirty (Dec 10 2019 - 19:15:16 +0000) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: mmc@01c0f000: 0
Loading Environment from FAT... *** Warning - bad CRC, using default environment
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
Net: No ethernet found.
starting USB...
No working controllers found
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
207 bytes read in 3 ms (67.4 KiB/s)
1: Linux vanilla
Retrieving file: /boot/initramfs-vanilla
6588262 bytes read in 300 ms (20.9 MiB/s)
Retrieving file: /boot/zImage
3608368 bytes read in 177 ms (19.4 MiB/s)
append: modules=loop,squashfs,sd-mod,usb-storage quiet
Retrieving file: /boot/dtbs/sun8i-v3s-licheepi-zero.dtb
8455 bytes read in 16 ms (515.6 KiB/s)
## Flattened Device Tree blob at 41800000
Booting using the fdt blob at 0x41800000
Loading Ramdisk to 427b7000, end 42dff766 ... OK
Loading Device Tree to 427b1000, end 427b6106 ... OK
Starting kernel ...
[ 0.001675] /cpus/cpu@0 missing clock-frequency property
OpenRC 0.41.2.6fc2696f3e is starting up Linux 4.10.0-rc1-gdd75eb5de (armv7l)
* /proc is already mounted
* Mounting /run ... * /run/openrc: creating directory
* /run/lock: creating directory
* /run/lock: correcting owner
* Caching service dependencies ... [ ok ]
* Clock skew detected with `(null)'
* Adjusting mtime of `/run/openrc/deptree' to Mon Jun 10 08:36:51 2019
* WARNING: clock skew detected!
* Remounting devtmpfs on /dev ... [ ok ]
* Mounting modloop ... * Verifying modloop
mount: can't setup loop device: No such device or address
[ !! ]
* ERROR: modloop failed to start
* Mounting debug filesystem ... [ ok ]
* Starting busybox mdev ... [ ok ]
* Loading hardware drivers ... [ ok ]
* WARNING: clock skew detected!
* Mounting modloop ... * Verifying modloop
mount: can't setup loop device: No such device or address
[ !! ]
* ERROR: modloop failed to start
* Loading modules ...modprobe: can't change directory to '/lib/modules': No such file or directory
modprobe: can't change directory to '/lib/modules': No such file or directory
[ ok ]
* Setting system clock using the hardware clock [UTC] ... [ ok ]
* Checking local filesystems ... [ ok ]
* Remounting filesystems ... [ ok ]
* Mounting local filesystems ... [ ok ]
* Configuring kernel parameters ...sysctl: error: 'net.ipv4.tcp_syncookies' is an unknown key
sysctl: error: 'net.ipv6.conf.all.accept_redirects' is an unknown key
sysctl: error: 'net.ipv6.conf.all.accept_source_route' is an unknown key
sysctl: error: 'net.ipv6.conf.default.use_tempaddr' is an unknown key
sysctl: error: 'net.ipv6.conf.all.use_tempaddr' is an unknown key
[ ok ]
* Migrating /var/lock to /run/lock ... [ ok ]
* Creating user login records ... [ ok ]
* Wiping /tmp directory ... [ ok ]
* Setting hostname ... [ ok ]
* Starting busybox syslog ... [ ok ]
* WARNING: clock skew detected!
* Mounting modloop ... * Verifying modloop
mount: can't setup loop device: No such device or address
[ !! ]
* ERROR: modloop failed to start
Welcome to Alpine Linux 3.10
Kernel 4.10.0-rc1-gdd75eb5de on an armv7l (/dev/ttyS0)
alpine login:
离线
终于跑起来,主要问题更新 sd 卡 u-boot-sunxi-with-spl.bin 和 zimage
- sudo dd if=<board>/u-boot-sunxi-with-spl.bin of=/dev/<sdX> bs=1024 seek=8
- zimage 开启 initramfs 支持,并修改 size 为 32768,数量为 1
- /extlinux/extlinux.conf
- KERNEL /boot/vmlinuz-vanilla
>> KERNEL /boot/zimage
- /boot/grub/grub.cfg
- linux /boot/vmlinuz-vanilla modules=loop,squashfs,sd-mod,usb-storage quiet
>> linux /boot/zimage modules=loop,squashfs,sd-mod,usb-storage quiet
----
login: root
>> setup-alpine 执行 Alpine linux 安装
TODO...
最近编辑记录 Iron (2019-12-11 04:54:07)
离线
alpine linux 怎么玩的,有没有教程?
https://wiki.alpinelinux.org/wiki/Main_Page
只能看官方文档咯0..0,我也不熟,学习摸索中。
离线