Inthegraphicalinterfaceoperation,formattedinto:100Mreserve+50M(Fat32format)+500M(Ext4format)
Note:theformattingFat32andcorruptionpartitionsizecanbeadjusted,canadjusttheFat32is200m,corruptionallUSES
theremainingspace
6,2,mountSDcard,Fat32Partitionmountedasusb1,Ext4Partitionmountedasusb2.
sudomount/dev/sdb1/mnt/usb1
sudomount/dev/sdb2/mnt/usb2
6,3,madebusyboxrootfilesystem:
downloadlink:
https://github.com/BPI-SINOVOIP/BPI-files/blob/master/rootfs/busybox-1.24.2_bash-root.tgz
ExtractthedownloadedfiletoExt4partition
sudomount/dev/sdb2/mnt/usb2
sudotarxvfbusybox-1.24.2_bash-root.tgz-C/mnt/usb2
6,4,unzipSDcard.tgzfiletodifferentpartitions
cdBPI_M2P_bsp/SD
sudotarxvf./BPI-BOOT-bpi-m2p.tgz-C/mnt/usb1
sudotarxvf./BOOTLOADER-bpi-m2p.tgz-C/mnt/usb2
sudotarxvf./3.4.39-BPI-M2P-Kernel.tgz-C/mnt/usb2
6,5,Usebpi-boottoolproductionstart(Thefirst100M)
sudo../../bpi-tools/bpi-bootsel./100MB/BPI_M2P_720P.img.gz/dev/sdb
6,6Productionprocesstakeslongtime,pleasewaituntilitfinish.
7,whenfinish:
BPI-M2+boardinsertSDcardandpoweron.
8,Cloningsystem,operatingunderBPI-M2+board:
InsertSDcardthroughthecardreaderintotheusbportofBPI-M2+board,calledequipment:/dev/sda
Note:dd700Mhere,alreadycontainsthesystempartofatotalof650M,100Mpartition(tenure)+(Fat32)50M+500M
(Ext4)=650M
8.1Directcloningsystem:
ddif=/dev/mmcblk0of=/dev/sdabs=10Mcount=70
8.1Cloningtoimagefile:
mount/dev/sda0/mnt/sd
ddif=/dev/mmcblk0of=/mnt/sd/m2p_os.imgbs=10Mcount=70
8.2CloningtoeMMCflash:
ddif=/dev/mmcblk0of=/dev/mmcblk1bs=10Mcount=70
9,useimgfilemadebootSDcard:
HowtocompileBPI-M2+BSPandbootimage