Create A Burning Card From Command Line

This guide contains step-by-step instructions to create a Burning Card for Linux users. You may also use this Windows Guide instead.


Before You Start

If your SD-Card has >1 partition.

$ ls /dev/sdb*
/dev/sdb /dev/sdb1 /dev/sdb2

You may have to delete the other partitions first:

fdisk /dev/sdb

Create the Burning SD-Card

Insert the SD-Card into your PC, and make sure the disk is unmounted:

$ umount /dev/sdb1

Format the SD-Card to FAT32:

$ sudo mkfs.vfat /dev/sdb1

Use dd to write the Bootloader/U-Boot to the first sector of SD-Card:

$ sudo dd of=/dev/sdb conv=fsync,notrunc bs=1 count=444
$ sudo dd of=/dev/sdb conv=fsync,notrunc bs=512 skip=1 seek=1

Notice: u-boot file is build for SD, and u-boot.bin is for EMMC.

Copy the images to your SD-Card:
Insert the SD-Card in again, then run the following command:

$ cp -a aml_sdc_burn.ini Vim_Marshmallow_160928/update.img /media/gouwa/9CE9-3938/

Tip: aml_sdc_burn.ini is a configuration file for U-Boot to burn/download images into the onboard eMMC storage

Eject the SD-Card:

$ sudo eject /dev/sdb


Upgrade Using Your “Burning Card”

  1. Insert your Burning Card into your VIM, and power-on.
  2. Follow this guide to boot into Upgrade Mode.
  3. Wait till the process completes.

Further Reading: