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

Difference between revisions of "Rock5/install/microSD"

< Rock5‎ | install
(Created page with "{{rock5_header}} {{Languages|rock5/install/microSD}} ROCK 5 > Installation > Install the image to microSD ==...")
 
Line 9: Line 9:
 
This guide describes how to write images to microSD and erase microSD card for ROCK 5 serial boards.
 
This guide describes how to write images to microSD and erase microSD card for ROCK 5 serial boards.
  
=== Part one: Write one system image to microSD ===
+
=== Option 1: Write image to microSD ===
  
 
In part one let's focus on writing one system image to microSD. Here we test it with ROCK 5B board.
 
In part one let's focus on writing one system image to microSD. Here we test it with ROCK 5B board.
Line 53: Line 53:
 
Done! Now you have successfully installed the OS image on microSD card.
 
Done! Now you have successfully installed the OS image on microSD card.
  
=== Part two: Erase microSD ===
+
=== Option 2: Erase microSD ===
  
 
When microSD is written with Android (or Linux) images before, now we change to Linux( or Android). It's recommended that you erase microSD first. Then write the target images.
 
When microSD is written with Android (or Linux) images before, now we change to Linux( or Android). It's recommended that you erase microSD first. Then write the target images.
  
=== Part three: Write U-Boot images to microSD ===
+
=== Option 3: Write bootloader only to microSD ===
  
 
In part three let's take a look know to write U-Boot images to microSD.
 
In part three let's take a look know to write U-Boot images to microSD.

Revision as of 06:12, 31 October 2022

    ROCK 5 >  Installation >  Install the image to microSD

Install the image to microSD

This guide describes how to write images to microSD and erase microSD card for ROCK 5 serial boards.

Option 1: Write image to microSD

In part one let's focus on writing one system image to microSD. Here we test it with ROCK 5B board.

Step one: Requirements

  • ROCK 5B board with power supply
  • a microSD card, larger than 8GB, class 10 or better
  • a microSD card reader, either a USB card reader or the SD card reader on laptop
  • a PC/laptop running Windows or Linux or MacOS

Step two: Download necessary tools and image

Here we use the following image for writing.

rock-5b-debian-bullseye-xfce4-arm64-20220615-1045-gpt.img.xz

Step three: Write the image to microSD card

  • Insert the microSD Card into microSD Card Reader, which connects to host computer.
  • Run the application. For example double click balenaEtcher-1.7.9-x64.AppImage on Ubuntu 20.04:
  • In the etcher window, we click button Select image.

Etcher-rock-5b-1.png

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

Etcher-rock-5b-2.png

  • In the etcher window, we click button Flash.

Etcher-rock-5b-3.png

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

Etcher-rock-5b-4.png

Done! Now you have successfully installed the OS image on microSD card.

Option 2: Erase microSD

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

Option 3: Write bootloader only to microSD

In part three let's take a look know to write U-Boot images to microSD. 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