Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

Difference between revisions of "Rock3/install/eMMC"

< Rock3‎ | install
(Part two: Erase eMMC module)
 
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
{{Languages|rock3/install/microSD}}
 
{{Languages|rock3/install/microSD}}
  
     [[rock3 | ROCK 3]] > [[rock3/install | Installation]] > [[rock3/install/eMMC | Install on eMMC with USB to eMMC Reader]]
+
     [[rock3 | ROCK 3]] > [[rock3/install | Installation]] > [[rock3/install/eMMC | Install the image to eMMC with USB to eMMC Reader]]
  
=== Install on eMMC with USB to eMMC Reader ===
+
== Install the image to eMMC module with USB to eMMC Reader ==
  
This page describes how to download and install the image on eMMC and boot on ROCK 3. You need at least the following.
+
This guide describes how to write images to eMMC module and erase eMMC module for ROCK 3 serial boards.
  
====Step1: Requirements ====
+
Available ROCK 3 boards:
  
* ROCK 3 board with power supply
+
* ROCK 3A
* a eMMC module, larger than 8GB, class 10 or better
+
* ROCK 3B
* a USB to eMMC reader
+
* a PC/laptop running Windows or Linux or MacOS
+
  
====Step 2: Download necessary tools and image ====
+
=== Part one: Write one system image to eMMC module ===
  
* Etcher is the tool we use to write image. Download the right Etcher for your PC from [[rock3/downloads]] page and install it. Check [[https://www.balena.io/etcher/ Etcher website]] for more info about Etcher.
+
In part one let's focus on writing one system image to eMMC module. Here we test it with ROCK 3A board.
* Choose the image you want to install from [[rock3/downloads]] page.
+
  
rock3a_debian_buster_xfce4_arm64_20210824_0136-gpt.img.gz
+
====Step one: Requirements ====
  
We will use it for the writing.
+
* ROCK 3A board with power supply
 +
* one eMMC module, larger than 8GB
 +
* one USB to eMMC reader
 +
* one PC/laptop running Windows or Linux or MacOS
  
====Step 3: Write the image to eMMC module ====
+
====Step two: Download necessary tools and image ====
  
1. Insert the eMMC module into USB to eMMC reader, which connects to host computer.  
+
* Etcher is the tool we use to write image. Download the right Etcher for your PC from [[rock3/downloads | ROCK 3 Downloads]] page and install it. Check [https://www.balena.io/etcher/  Etcher website] for more info about Etcher.
 +
* Choose the image you want to install from [[rock3/downloads | ROCK 3 Downloads]] page.
  
2. Run the application. For example double click balenaEtcher-1.5.116-x64.AppImage on Ubuntu 20.04:
+
Here we use the following image for writing.
  
3. In the etcher window, we click button Select image.
+
rock3a_debian_buster_xfce4_arm64_20210824_0136-gpt.img.gz
 +
 
 +
====Step three: Write the image to eMMC module ====
 +
 
 +
* Insert the eMMC module into USB to eMMC reader, which connects to host computer.
 +
 
 +
* Run the application. For example double click balenaEtcher-1.5.116-x64.AppImage on Ubuntu 20.04:
 +
 
 +
* In the etcher window, we click button Select image.
  
 
[[File:etcher_select_image_1.png]]
 
[[File:etcher_select_image_1.png]]
  
4. In the etcher window, we click button Select Drive.
+
* In the etcher window, we click button Select Drive.
  
 
[[File:etcher_select_driver_1.png]]
 
[[File:etcher_select_driver_1.png]]
  
5. In the etcher window, we click button Flash.
+
* In the etcher window, we click button Flash.
  
 
[[File:etcher_select_flash_button_1.png]]
 
[[File:etcher_select_flash_button_1.png]]
  
6. In the etcher window, it shows us Flash Complete!
+
* In the etcher window, it shows us Flash Complete!
  
 
[[File:etcher_show_complete_1.png]]
 
[[File:etcher_show_complete_1.png]]
  
 
Done! Now you have successfully installed the OS image on eMMC module.
 
Done! Now you have successfully installed the OS image on eMMC module.
 +
 +
=== Part two: Erase eMMC module ===
 +
 +
When eMMC module is written with Android (or Linux) images before, now we change to Android( or Linux). It's recommended that you erase eMMC module first. Then write the target images.
 +
 +
=== Part three: Write U-Boot images to eMMC module ===
 +
 +
In part three let's take a look know to write U-Boot images to eMMC module.
 +
We have prebuilt u-boot images built via rockchip-bsp SDK.
 +
They're idbloader.img and u-boot.itb.
 +
 +
On Linux PC:
 +
 +
<pre>
 +
$ sudo dd  if=./idbloader.img  of=/dev/sdX  seek=64
 +
$ sudo dd  if=./u-boot.itb  of=/dev/sdX  seek=16384
 +
</pre>
 +
 +
On Mac PC:
 +
 +
<pre>
 +
% sudo dd  if=./idbloader.img  of=/dev/diskX  seek=64
 +
% sudo dd  if=./u-boot.itb  of=/dev/diskX  seek=16384
 +
</pre>

Latest revision as of 07:26, 22 June 2022

    ROCK 3 >  Installation >  Install the image to eMMC with USB to eMMC Reader

Install the image to eMMC module with USB to eMMC Reader

This guide describes how to write images to eMMC module and erase eMMC module for ROCK 3 serial boards.

Available ROCK 3 boards:

  • ROCK 3A
  • ROCK 3B

Part one: Write one system image to eMMC module

In part one let's focus on writing one system image to eMMC module. Here we test it with ROCK 3A board.

Step one: Requirements

  • ROCK 3A board with power supply
  • one eMMC module, larger than 8GB
  • one USB to eMMC reader
  • one PC/laptop running Windows or Linux or MacOS

Step two: Download necessary tools and image

Here we use the following image for writing.

rock3a_debian_buster_xfce4_arm64_20210824_0136-gpt.img.gz

Step three: Write the image to eMMC module

  • Insert the eMMC module into USB to eMMC reader, which connects to host computer.
  • Run the application. For example double click balenaEtcher-1.5.116-x64.AppImage on Ubuntu 20.04:
  • In the etcher window, we click button Select image.

Etcher select image 1.png

  • In the etcher window, we click button Select Drive.

Etcher select driver 1.png

  • In the etcher window, we click button Flash.

Etcher select flash button 1.png

  • In the etcher window, it shows us Flash Complete!

Etcher show complete 1.png

Done! Now you have successfully installed the OS image on eMMC module.

Part two: Erase eMMC module

When eMMC module is written with Android (or Linux) images before, now we change to Android( or Linux). It's recommended that you erase eMMC module first. Then write the target images.

Part three: Write U-Boot images to eMMC module

In part three let's take a look know to write U-Boot images to eMMC module. We have prebuilt u-boot images built via rockchip-bsp SDK. They're idbloader.img and u-boot.itb.

On Linux PC:

$ sudo dd  if=./idbloader.img  of=/dev/sdX  seek=64
$ sudo dd  if=./u-boot.itb   of=/dev/sdX  seek=16384 

On Mac PC:

% sudo dd  if=./idbloader.img  of=/dev/diskX  seek=64
% sudo dd  if=./u-boot.itb  of=/dev/diskX  seek=16384