ODROID-N2

The ODROID-N2 is a $79 hexa-core computer using the Amlogic S922X 12nm SoC, which provides a quad-core ARM Cortex-A73 cluster and a dual-core ARM Cortex-A53 cluster with 4GB of 1320MHz DDR4 RAM

Features of the board include:

  • Amlogic S922X 1.8GHz quad ARM Cortex-A73 and dual ARM Cortex-A53
  • Mali-G52 GPU (OpenGL ES 1.1, 2.0, 3.0, 3.1, and 3.2; OpenCL 1.2 and 2.0)
  • 4GB DDR4 RAM
  • Gigabit Ethernet
  • HDMI 2.0 4K/60Hz display
  • 40-pin IO port
  • eMMC flash storage slot
  • MicroSD card slot
  • 4x USB 3.0 Host, 1x Micro-USB OTG
  • 8MB SPI boot flash
  • Infrared (IR) Receiver
Architecture
ARMv8 Cortex-A73
Processor
Amlogic S922X 1.8GHz Hexa-core
RAM
4GB
SD
Micro SD
USB
4
Ethernet
Gigabit

Micro SD and eMMC Creation

Replace sdX in the following instructions with the device name for the SD card as it appears on your computer. Use the provided micro SD to eMMC adapter card to install to eMMC.

  1. Zero the beginning of the SD card or eMMC module:
    dd if=/dev/zero of=/dev/sdX bs=1M count=8
  2. Start fdisk to partition the SD card:
    fdisk /dev/sdX
  3. At the fdisk prompt, create the new partition:
    1. Type o. This will clear out any partitions on the drive.
    2. Type p to list partitions. There should be no partitions left.
    3. Now type n, then p for primary, 1 for the first partition on the drive, 2048 for the first sector, and then +256M for the last sector.
    4. Type t, then c to set the first partition to type W95 FAT32 (LBA).
    5. Type n, then p for primary, 2 for the second partition on the drive, then press ENTER twice to accept the default first and last sector.
    6. Write the partition table and exit by typing w.
  4. Create and mount the FAT filesystem:
    mkfs.vfat /dev/sdX1
    mkdir boot
    mount /dev/sdX1 boot
  5. Create and mount the ext4 filesystem:
    mkfs.ext4 /dev/sdX2
    mkdir root
    mount /dev/sdX2 root
  6. Download and extract the root filesystem (as root, not via sudo):
    wget http://os.archlinuxarm.org/os/ArchLinuxARM-odroid-n2-latest.tar.gz
    bsdtar -xpf ArchLinuxARM-odroid-n2-latest.tar.gz -C root
    mv root/boot/* boot
  7. Write the bootloader:
    dd if=boot/u-boot.bin of=/dev/sdX conv=fsync,notrunc bs=512 seek=1
  8. (Optional) Set the screen resolution for your monitor:
    1. Open the file boot/boot.ini with a text editor.
    2. Copy the desired resolution configuration into the hdmimode variable.
    3. Save and close the file.
  9. (eMMC) Edit root/etc/fstab and change the boot partition to /dev/mmcblk0p1.
  10. Unmount the partitions:
    umount root boot
  11. Move the boot selector switch to MMC.
  12. Insert the micro SD card or eMMC module into the device, connect ethernet, and apply 12V power.
  13. Use the serial console or SSH to the IP address given to the board by your router.
    • Login as the default user alarm with the password alarm.
    • The default root password is root.
  14. Initialize the pacman keyring and populate the Arch Linux ARM package signing keys:
    pacman-key --init
    pacman-key --populate archlinuxarm

Copyright ©2009-2022 Arch Linux ARM
The registered trademark Linux® is used pursuant to a sublicense from LMI, the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis.
The Arch Linux™ name and logo are used under permission of the Arch Linux Project Lead.