mount开机自动挂载smb路径

root用户编辑/etc/fstab文件,在末尾加入一行:

 //ip地址或计算机名/共享文件夹名 挂载点  smbfs   username=用户名,password=密码 0 0

说明:ubuntu12.10之后,smbfs被cifs代替了,需要:

  1. sudo apt-get install cifs-utils
  2. 将上面中的smbfs 换位cifs

从0开玩lichee zero-5-mmc烧录

一般比较小的系统我们用spi flash。 比较大的系统比如debian,我们需要mmc sd卡。

分区

file

准备

将所需的所有目标文件,都拷贝到当前目录下。

uboot

dd if=u-boot-sunxi-with-spl.bin of=/dev/sdb bs=1024 seek=8

第一分区

cp boot.scr /mnt/sd/part1
cp sun8i-v3s-licheepi-zero-dock.dtb /mnt/sd/part1/
cp zImage /mnt/sd/part1

第二分区

tar vxf rootfs.tar -C /mnt/sd/part2