您尚未登录。

楼主 #1 2020-03-13 12:01:03

yuanlwjt
会员
注册时间: 2019-10-23
已发帖子: 129
积分: 109

V3S 烧录TF卡启动盘

按照论坛里的教程:
    1) 删除TF卡所有分区
    2) 将uboot写入到sd卡8k偏移处(必须8K偏移, brom龟腚的)。
        sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/sdX bs=1024 seek=8
    3) 建立第一个分区,大小32M(可以随意填写), 格式FAT16, 把zImage, sun8i-v3s-licheepi-zero-dock.dtb拷贝到 这个分区
    4) 建立第二个分区,用尽剩余空间,格式ext4, 把buildroot产生的rootfs.tar解压到该分区根目录
        tar xvf output/images/rootfs.tar -C /挂载的tf卡第二个分区目录

在V3S ZERO开发板上运行后,出现如下情况:
[    1.391582] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    1.401860] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[    1.552817] EXT4-fs (mmcblk0p2): warning: mounting fs with errors, running e2fsck is recommended
[    1.567509] EXT4-fs (mmcblk0p2): recovery complete
[    1.577550] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.585719] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.594166] devtmpfs: mounted
[    1.598397] Freeing unused kernel memory: 1024K
[    1.613776] Starting init: /sbin/init exists but couldn't execute it (error -5)
[    1.623757] Starting init: /bin/sh exists but couldn't execute it (error -5)
[    1.630930] Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.
[    1.645087] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.13.16-licheepi-zero #1
[    1.652298] Hardware name: Allwinner sun8i Family
[    1.657036] [<c010e514>] (unwind_backtrace) from [<c010b1b8>] (show_stack+0x10/0x14)
[    1.664779] [<c010b1b8>] (show_stack) from [<c065e5a4>] (dump_stack+0x88/0x9c)
[    1.672001] [<c065e5a4>] (dump_stack) from [<c011b48c>] (panic+0xdc/0x248)
[    1.678875] [<c011b48c>] (panic) from [<c06700ec>] (kernel_init+0x100/0x110)
[    1.685919] [<c06700ec>] (kernel_init) from [<c0107538>] (ret_from_fork+0x14/0x3c)
[    1.693492] Rebooting in 5 seconds..
板子启动不了?是什么情况?

如果把第二步改一下:
  4) 建立第二个分区,大小100M,格式ext4, 把buildroot产生的rootfs.tar解压到该分区根目录
        tar xvf output/images/rootfs.tar -C /挂载的tf卡第二个分区目录
第二个分区改成100M,就可以正常启动。200M就不行了,是什么问题呢?

离线

楼主 #3 2020-03-14 21:54:57

yuanlwjt
会员
注册时间: 2019-10-23
已发帖子: 129
积分: 109

Re: V3S 烧录TF卡启动盘

https://whycan.cn/t_561.html
按照这个论坛做的,目前不知道该如何解决问题

离线

楼主 #4 2020-03-14 21:55:31

yuanlwjt
会员
注册时间: 2019-10-23
已发帖子: 129
积分: 109

Re: V3S 烧录TF卡启动盘

第二个分区100M可以,大于100M就不行了

离线

楼主 #5 2020-03-14 22:04:06

yuanlwjt
会员
注册时间: 2019-10-23
已发帖子: 129
积分: 109

Re: V3S 烧录TF卡启动盘

论坛里说sudo解压缩rootfs,明天我试试

离线

页脚

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

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