Jump to content

ODROID N2+: Difference between revisions

From postmarketOS Wiki
K-laus (talk | contribs)
m display working.
K-laus (talk | contribs)
runs 5.14.3 (near) mainline kernel. add link to pmaports fork.
Line 15: Line 15:
| architecture = aarch64
| architecture = aarch64
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) -->
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) -->
| status_usbnet = <!-- USB networking does work? then put Y here and delete this comment -->
| status_usbnet = -<!-- USB networking does work? then put Y here and delete this comment -->
| status_flashing = <!-- Flashing with "pmbootstrap flasher" works? Put Y here. It works the same for everything coming below. -->
| status_flashing = -<!-- Flashing with "pmbootstrap flasher" works? Put Y here. It works the same for everything coming below. -->
| status_touch = Unavailable
| status_touch = -
| status_screen = Y
| status_screen = Y
| status_wifi = Unavailable
| status_wifi = -
| status_xwayland = <!-- Showing X11 applications in a Wayland compositor (Weston, KWin, ...) works? -->
| status_xwayland = -<!-- Showing X11 applications in a Wayland compositor (Weston, KWin, ...) works? -->
| status_fde = <!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? -->
| status_fde = -<!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? -->
| status_mainline = <!-- Instead of a Linux kernel fork, it is possible to run mainline. -->
| status_mainline = Y
| status_battery = Unavailable
| status_battery = -
| status_3d = <!-- Hardware accelerated 3D graphics (e.g. with freedreno) -->
| status_3d = <!-- Hardware accelerated 3D graphics (e.g. with freedreno) -->
| status_accel = <!-- The sensor that measures proper acceleration works -->
| status_accel = -<!-- The sensor that measures proper acceleration works -->
| status_audio = <!-- Using the device's speakers/headphone jack works -->
| status_audio = -<!-- Using the device's speakers/headphone jack works -->
| status_bluetooth = <!-- It's possible to pair and use other devices via the bluetooth protocol -->
| status_bluetooth = -<!-- It's possible to pair and use other devices via the bluetooth protocol -->
| status_camera = Unavailable
| status_camera = -
| status_gps = Unavailable
| status_gps = -
| status_mobiledata = Unavailable
| status_mobiledata = -
| status_sms = Unavailable
| status_sms = -
| status_calls = Unavailable
| status_calls = -
| status = <!-- Text displayed in the "not booting" table on the Devices page , e.g "kernel compiles, doesn't boot" -->
| status = <!-- Text displayed in the "not booting" table on the Devices page , e.g "kernel compiles, doesn't boot" -->
| status_otg = <!-- USB-OTG adapters work, e.g. to connect an USB flash drive to the device -->
| status_otg = -<!-- USB-OTG adapters work, e.g. to connect an USB flash drive to the device -->
| status_nfc = Unavailable
| status_nfc = -
| booting = yes <!-- The device is booting at all, can be yes/no *IMPORTANT* -->
| booting = yes <!-- The device is booting at all, can be yes/no *IMPORTANT* -->
| pmoskernel = 5.14.1
| pmoskernel = 5.14.3
| whet_dhry = 4142.2
| whet_dhry = 4142.2
}}
}}
Line 57: Line 57:
Preparation
Preparation
The device uses u-boot with petitboot loader loaded in spi memory.
The device uses u-boot with petitboot loader loaded in spi memory.
Installation to eMMC was tested:
   pmbootstrap build linux-odroid-n2plus
   pmbootstrap build linux-odroid-n2plus
   pmbootstrap build device-odroid-n2plus
   pmbootstrap build device-odroid-n2plus
Put an eMMC card into eMMC-to-USB3 reader, assumption is it appears as /dev/sdX, and install to it:
Put an eMMC card into eMMC-to-USB3 reader, assumption is it appears as /dev/sdX (replace sdX with correct devicename below), and install to it:
   pmbootstrap install --sdcard /dev/sdX
   pmbootstrap install --sdcard /dev/sdX
Afterwards, still manual steps needed:  
Afterwards, still this '''manual''' step is needed to create u-boot compatible initramfs:  
mount /dev/sdc1 as /mnt/boot and copy u-boot.bin from archlinuxarm installation to /mnt/boot, create initramfs.uimg using
  mount /dev/sdX1 /mnt/boot && \
   cd /mnt/boot; mkimage -A arm64 -T ramdisk -C none -n initramfs -d initramfs initramfs.uimg
   cd /mnt/boot && \
  mkimage -A arm64 -T ramdisk -C none -n initramfs -d initramfs initramfs.uimg


== See also ==
== See also ==
odroid-n2plus branch - https://gitlab.com/k-laus/pmaports/-/commit/5fff9e5aaa20be0756af4fb27ba4cbc6cf09c94a
<!--
<!--
Link to related GitLab issues or merge requests like the following (replace CHANGEME with the ID, e.g. 1234):
Link to related GitLab issues or merge requests like the following (replace CHANGEME with the ID, e.g. 1234):

Revision as of 15:53, 26 September 2021

ODROID N2+
odroid-n2plus runs postmarketOS
odroid-n2plus runs postmarketOS
Manufacturer ODROID
Name N2+
Codename odroid-n2plus
Released 2020
Hardware
Chipset Amlogic S922X 12nm
CPU Quad-core Cortex-A73 @ 1.8GHz and Dual-core Cortex-A53 @ 1.9GHz
GPU Mali-G52 GPU with 6x Execution Engines @ 800MHz
Display none, but HDMI 2.0 connector up to 4K@60Hz with HDR,CEC,EDID
Storage eMMC connector (8/16/32/64/128GB) and microSD slot (DS/HS modes up to UHS-I SDR104)
Memory 4GB DDR4 with 32bit bus width, 2640 MT/s data rate (PC4-21333 grade), 1.2V low power design
Architecture aarch64
Software
Original software Ubuntu 20.04 or Android Pie
postmarketOS
Category testing
Pre-built images no
Mainline yes
postmarketOS kernel 5.14.3
Unixbench Whet/Dhry score 4142.2
Features
Internal storage
No data
SD card
No data
Screen
Works
Multimedia
3D Acceleration
No data
Camera Flash
No data
Miscellaneous
HDMI/DP
No data
Sensors
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data


Contributors

  • k-laus

Users owning this device

  • k-laus



How to enter flash mode

Installation

Preparation The device uses u-boot with petitboot loader loaded in spi memory. Installation to eMMC was tested:

 pmbootstrap build linux-odroid-n2plus
 pmbootstrap build device-odroid-n2plus

Put an eMMC card into eMMC-to-USB3 reader, assumption is it appears as /dev/sdX (replace sdX with correct devicename below), and install to it:

 pmbootstrap install --sdcard /dev/sdX

Afterwards, still this manual step is needed to create u-boot compatible initramfs:

 mount /dev/sdX1 /mnt/boot && \
 cd /mnt/boot && \
 mkimage -A arm64 -T ramdisk -C none -n initramfs -d initramfs initramfs.uimg

See also

odroid-n2plus branch - https://gitlab.com/k-laus/pmaports/-/commit/5fff9e5aaa20be0756af4fb27ba4cbc6cf09c94a