peter 发表于 2018-4-17 16:21:39

banana pi R2 安装ubuntu到EMMC

How to program Ubuntu image to EMMC

[*]a. Program ubuntu image to SD card
b. 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_roto enable /dev/mmcblk1boot0 write mode`
      g. To write preloader to EMMC by running command:
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.gz69
   h. To copy ubuntu image to EMMC:
   
unzip -p <font color="navy"><XXX.img.zip></font> | pv | dd of=<font color="navy"><device></font> bs=10M status=noxfer   or

   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 ,
   and where should be /dev/mmcblk1.i. power off
j, remove SD & power on

[*]How to control GPIO Please refer to link: https://github.com/BPI-SINOVOIP/BPI-R2-bsp/issues/11#issuecomment-326988062


页: [1]
查看完整版本: banana pi R2 安装ubuntu到EMMC