|  | 
 
| How to program Ubuntu image to EMMC 
 g. To write preloader to EMMC by running command:a. Program ubuntu image to SD cardb. Install this SD to R2 board and boot from SD
 c. Enter the Uboot prompt, and run command emmc pconf 48 to change Partition config of EMMC
 d. And then run command reset, let it boot to OS
 e. Enter the system with username pi or root
 f. Run command
 echo 0 > /sys/block/mmcblk1boot0/force_ro  to enable /dev/mmcblk1boot0 write mode`
 
 
 复制代码bpi-bootsel BPI-R2-EMMC-boot0-DDR1600-0k-0905.img.gz /dev/mmcblk1boot0
where BPI-R2-EMMC-boot0-DDR1600-0k-0905.img.gz is the preloader for emmc,
 please download it from link https://github.com/BPI-SINOVOIP/BPI-files/blob/master/SD/100MB/BPI-R2-EMMC-boot0-DDR1600-0k-0905.img.gz
 [size=0.7579em]69 h. To copy ubuntu image to EMMC:
 
 
 or复制代码 unzip -p <font color="navy"><XXX.img.zip></font> | pv | dd of=<font color="navy"><device></font> bs=10M status=noxfer
 
 复制代码   bpi-copy  <XXX.img.zip> <device> 
where the XXX.img.zip is ubuntu image we can get it from http://www.banana-pi.org/r2-download.html
 ,  i. power off
 j, remove SD & power on
 
 
 
 | 
 |