Milk-V Megrez Install OS
Boot Instructions
The Megrez mainboard supports booting the system from four types of media: SD card, eMMC module, SSD (M.2 SATA), and SATA hard drive.
The onboard SPI Flash is used to store boot programs like u-boot, which then loads the operating system from eMMC or SSD based on the boot priority.
System Image Information
Currently, the Megrez image package format is img.zip
.
- System image packages with the
.img.zip
suffix:- Can be flashed using tools like
balenaEtcher
,Rufus
, orWin32DiskImager
. On Linux, thedd
command can be used. Some tools support flashing directly from the zip file, while others require extracting it to an.img
file first. Please try accordingly.
- Can be flashed using tools like
(Recommended) Using BalenaEtcher to Install the System onto SD Card/M.2 SATA SSD/SATA Hard Drive/eMMC Module
Preparation
- A MicroSD card (greater than 16GB), M.2 SATA SSD, SATA hard drive, or eMMC module.
- An SD card reader, M.2 SATA enclosure, SATA hard drive enclosure, or eMMC module reader.
Using balenaEtcher
as an example, the flashing process is as follows:
First, connect the storage media to your PC via the appropriate reader. Installing the system on the target drive will erase all existing data on the storage media, so back up any important files beforehand.
Download the appropriate system image package (suffix .img.zip
) from the resource download page: Resource Download Overview.
You can either extract it to an .img
file before flashing or flash it directly without extracting, as balenaEtcher
supports loading zip files.
- Download and install the flashing tool balenaEtcher.
- Click
Flash from file
and select the downloaded image. - Click
Select target
and choose the storage media. - Click
Flash!
to start the flashing process.
After flashing is complete, insert the storage media into the Megrez mainboard and power it on. Since the system does not currently support automatic partition resizing on first boot, please manually resize the system partition as described in the "System Partition Resizing" section.
Using Fastboot to Install the System onto SD Card/M.2 SATA SSD/eMMC Module
Coming soon.