fdisk -c 1
1表示给TF卡分区,以下四条是个分区格式化的
fatformat mmc 1:1
ext3format mmc 1:2
ext3format mmc 1:3
ext3format mmc 1:4
3,将TF卡插入电脑虚拟机,即debian系统,不是主机。(我这里会提示是连接到主机,还是虚拟机的)
4,将光盘上的“H:\iTOP-4412精英版光盘资料\06_源码_uboot和kernel”里面的CodeSign4SecureBoot_SCP和iTop4412_uboot_20180320.tar共享到虚拟机的qt目录(qt目录是我自己建的)下,并将iTop4412_uboot_20180320.tar解压,此刻如下:
root@debian:/home/gyz/qt# ls
CodeSign4SecureBoot_SCP iTop4412_uboot iTop4412_uboot_20180320.tar.gz
我已经su -切换为root超级用户了。
5,将光盘上“H:\iTOP-4412精英版光盘资料\04_镜像_QT文件系统\uboot\scp\1G DDR”里的u-boot-iTOP-4412.bin拷贝到上一步解压的文件夹里,之后如下:
root@debian:/home/gyz/qt# cd iTop4412_uboot/
root@debian:/home/gyz/qt/iTop4412_uboot# ls
all00_padding.bin E4412_N.bl1.bin lib_nios onenand_ipl
api examples lib_nios2 paddingaa
board fs lib_ppc post
build_uboot.sh include