Skip to content

Flashing the eMMC (AutoNOMOS Model v2)

AutoModelCar edited this page Mar 27, 2018 · 4 revisions

Use the latest image file from FU FTP-Server.

In order to get started, and after you plugged in the eMMC card (64 GB, Revision <=0.3) to your computer using the adapter, open your terminal. First, check the device name of the eMMC card (/dev/sdb or /dev/mmcblk0 for example).

$ sudo fdisk -l

You want to make sure you have chosen the right one before starting the installation. If you are not sure, unplug the card and insert it again to un-/show the device.

Update an existing eMMC card image

If you had already a working image an the eMMC card installed (if the odroid already boots from it and you can see two partitions like /dev/mmcblk0p1 and /dev/mmcblk0p2 with the fdisk command), then you can use the boot-partition-odroid-modelcar-v2.tar.gz and rootfs-partition-odroid-modelcar-v2.tar.gz files from the FTP-Server to update your eMMC card with the newest system files.

To update assure that the two partitions of the card are mounted to your computer (NOT to the odroid):

$ mount

In the output you should have entries like /dev/mmcblk0p1 on /media/user/boot .... Otherwise mount the partitions with sudo mount /dev/mmcblk0p1 /folder/of/your/choice or click at the file explorer on boot and rootfs. On the first boot partition you should see a few files like zImage, boot.ini and on the second rootfs partition there should be linux system folders like bin,lib etc.

In the terminal delete all files from mounted partition and uncompress the new files from archive into it:

$ sudo rm -rf /path/to/emmc/boot/*
$ cd /path/to/emmc/boot
$ sudo tar -xzf /path/to/boot-partition-odroid-modelcar-v2.tar.gz .
$ sync
$ sudo umount /path/to/emmc/boot

Do this for the rootfs partition too:

$ sudo rm -rf /path/to/emmc/rootfs/*
$ cd /path/to/emmc/rootfs
$ sudo tar -xzf /path/to/rootfs-partition-odroid-modelcar-v2.tar.gz .
$ sync
$ sudo umount /path/to/emmc/rootfs

It should take about 10 minutes to copy all files. After that you can remove the SD card and continue with the instructions on the Getting Started page.

Flash the whole eMMC card

If the above method doesn't work for you, then you maybe have to reflash the full eMMC image to the card. Make sure the existing partitions are not mounted! When you run:

$ mount

You should see that the eMMC partitions are not listed. If there is an output like /dev/mmcblk0p1 on /media/user/boot ... then you have to run:

$ umount /media/user/boot
$ umount /media/user/rootfs 

For flashing the whole eMMC card (including partition table etc.) run the following command:

$ gunzip -cd odroid-modelcar-v2.gz | sudo dd of=/dev/<x> bs=4096 conv=noerror

If for example, the eMMC is /dev/mmcblk0. So your command would be gunzip odroid-modelcar-v2.gz | sudo dd of=/dev/mmcblk0 bs=4096 conv=noerror.

Be careful, during the installation one step is going to format partitions, which may erase unwanted data. It takes about one hour to write the 64GB to the eMMC card. When it's finished and there were no error messages you can remove the SD card and continue with the instructions on the Getting Started page.

Clone this wiki locally