This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Installing SD cards

How to download and install the OS image

Introduction

The NOREYA NEXUS uses two SDCards in mirrored (RAID1) mode.
For details see the Mainboard docu.

Pre-requirements

To flash the SDCards you need:

  • A microSD card compatible reader
  • Two compatible SDCards of at least 64GB size
    • Running the SDCards in mirrored/RAID mode requires verified SDCards. We have tested a lot and not every SDCards works in this mode.
    • Using incomaptible cards may result in broken/resyncing RAID or total system failure.
    • You must use two SDCards of the same size.
    • You must always use two different SDCards to ensure the do not fail at the same time.
    • You must only use a pair of official SDCards. We sell them as spare part in our online shop.

Replacing SD cards

Initial state:

Initial state

Gently press the SD card inwards to release its lock

Press inwards to release the lock

The situation should look like this

Situation after release

Remove the SD card with the pliers

Remove the SD card

The SD card is now removed

Removed SD card

Inserting SD cards

Follow the procedure in reverse order

Downloads

Download the latest os image.

Download balena Etcher to flash the SDCards.

Flashing

  • Insert the SAMSUNG SDCard into the SDCard reader.
    • (Backup the old data if needed)
  • Start the Etcher, select the os image and the inserted SDCard
  • Wait for the process to finish
  • Insert the SANDISK SDCARD into the SDCard reader.
    • (Backup the old data if needed)
  • Start the Etcher, select the dummy image and the inserted SDCard
  • Wait for the process to finish
  • Insert the SDCards into the Mainboard
    • The SAMSUNG card must be in SDCard Slot 0
    • The SANDISK card must be in SDCard Slot 1

USB Bootloader (for experts)

The NOREYA NEXUS can also be flashed without removing the SDCards or an SDCard reader.

For this the official Raspberry Pi Usbboot is required.

  • Install usbboot/rpiboot
  • Start rpiboot
  • Shutdown the Nexus using the power switch on the front
    • Wait for the system to shutdown
  • Connect the Mainboard using the USB Port C to your device
  • Turn on the Mainboard using the power switch, press the bootloader/reset button on the Mainboard for 3 seconds until the sound appears and release it immideatley (holding it for 6 seconds will reset the bmc firmware)
  • rpiboot should detect the device within 90 seconds
    • The Mainboard resets after 30 seconds for 3 times (90 seconds in total) if it is not detected by rpiboot.
      It will automatically boot back to normal if no connection could be established!
  • The SDCard 0 should appear as disk on your device
  • Flash it with Etcher like described above
  • Start the Mainboard by turning the power switch back on after flashing

The second SDCard is usually unused after boot.
You can login via console to fix it:
sudo dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=1
It will start syncing after a few minutes automatically.