Which preloader image to use?


(xbgmsharp) #1

There is multiple image available and wonder which one should i use?

  • BPI-R2-720P-2k.img.gz
  • BPI-R2-EMMC-boot0-DDR1600-0k-0905.img.gz

(Frank W.) #2

first is uboot-image (not preloader) for SD-card and must begin at 2k (skip 2048 byte) as the name says.

http://fw-web.de/dokuwiki/doku.php?id=en/bpi-r2/uboot#update_uboot

second one is preloader for emmc (0k) which must be written to boot0-partition starting at byte 0 (from beginning)

http://fw-web.de/dokuwiki/doku.php?id=en/bpi-r2/storage#install_os_on_emmc

maybe it’s needed also for SD-card…have used my SD-Cards with jessie image and replaced only uboot, kernel and OS-files

the 0k/2k says where the image starts, see https://github.com/BPI-SINOVOIP/bpi-tools/blob/master/bpi-bootsel#L230 for details

for SD-Card-image https://github.com/BPI-SINOVOIP/BPI-R2-bsp/blob/3823964822219743e0fe785e04832813726862a1/scripts/bootloader.sh#L26 is the reference, here preloader_iotg7623Np1_emmc.bin is used