Open main menu

Wiki-Orange Pi β

Changes

Orange Pi Lite 2

1,610 bytes removed, 18:14, 21 June 2022
Program Linux system into EMMC Flash chip through script
<br>
<div>[[文件:Orange-pi-3-img25.png|800px]]</div>
<br>
 
=== '''Program Linux system into EMMC Flash chip through script''' ===
<br>
 If you purchased the Orange Pi 3 development board with EMMC Flash chip, after booting the Linux system through the TF card, you can also burn the Linux system into EMMC Flash through the install_to_emmc script.<br>
 Enter the install_to_emmc command in the Linux terminal, and then enter y as prompted, and the Linux system will automatically be burned into EMMC Flash. After the programming is complete, turn off the power, remove the TF card, and then power on the Linux system in EMMC Flash automatically.
<br>
<div style="border:1px solid #dddddd;background:#f1f1f1;padding:5px;">
root@OrangePi:~# '''install_to_emmc'''<br>
<br>
WARNING: EMMC WILL BE ERASED !, Continue (y/N)? y<br>
Erasing EMMC ...<br>
Creating new filesystem on EMMC ...<br>
<p style="padding-left:20px;">New filesystem created on /dev/mmcblk0.</p>
Partitioning EMMC ...<br>
<p style="padding-left:20px;">Creating boot & linux partitions<br>
OK.</p>
Formating fat partition ...
<p style="padding-left:20px;">fat partition formated.</p>
Formating linux partition (ext4), please wait ...
<p style="padding-left:20px;">linux partition formated.</p>
<br>
Instaling u-boot to EMMC ...<br>
<br>
Mounting EMMC partitions...<br>
FAT partitions mounted to /tmp/_fatdir<br>
linux partition mounted to /tmp/_extdir<br>
<br>
Copying file system to EMMC ...<br>
<br>
<p style="padding-left:20px;">Creating "fstab"</p>
<br>
<span>*******************************</span><br>
Linux system installed to EMMC.<br>
<span>*******************************</span>
</div>
<br>