[Announcement] New kernel for Odroid N2 device

The Odroid N2 / N2+ devices will share the same kernel as the PineBook Pro laptop.
Which as of the issue date of this post is:


Any new installations on a Odroid N2 or Odroid N2 Plus will utilize the linux-eos-arm kernel.

Existing Odroid N2 installs

Do this at your own risk.
Make sure any valuable data is properly backed up.
For existing EnOS installs on an Odroid N2 device, the new kernel may be manually installed.
This involves two steps:
1 manually edit the file /boot/boot.ini
2 Use pacman to replace the linux-odroid-6.2.14-1 kernel with the new kernel.

Step 1 Update boot.ini

In a terminal window, update the system

sudo pacman -Syu
sudo cp /boot/boot.ini /boot/boot.ini-bkup

Make sure to make that backup of the boot.ini file.

sudo nano /boot/boot.ini

below is a snippet of a statement almost at the bottom of the /boot/boot.ini file

if test "${variant}" = "n2_plus"; then
    load mmc ${devno}:1 ${dtb_loadaddr} /dtbs/amlogic/meson64_odroidn2_plus.dtb
    load mmc ${devno}:1 ${dtb_loadaddr} /dtbs/amlogic/meson64_odroidn2.dtb

Line 1 has an arrow pointing to “n2_plus” change that to “n2-plus”
Line 2 specfies the Odroid N2+ meson driver for mesa.
“meson64_odroidn2_plus.dtb” change to " meson-g12b-odroid-n2-plus.dtb"
Line 4 specifies the Odroid N2 meson driver for mesa
“meson64_odroidn2.dtb” change to “meson-g12b-odroid-n2.dtb”

The altered if statement should now look like this:

if test "${variant}" = "n2-plus"; then
    load mmc ${devno}:1 ${dtb_loadaddr} /dtbs/amlogic/meson-g12b-odroid-n2-plus.dtb
    load mmc ${devno}:1 ${dtb_loadaddr} /dtbs/amlogic/meson-g12b-odroid-n2.dtb

Save the edited boot.ini file — DO NOT reboot at this time.

Step 2 install new kernel

sudo pacman -Syu linux-eos-arm linux-eos-arm-headers

pacman should state “linux-eos-arm and linux-odroid are in conflict (linux) Remove linux-odroid [y/N]” Tell it yes. Do the same for linux-eos-arm-headers

After pacman is finished installing the new kernel, do a restart.

If the first restart just gives a black screen, multiple restarts may be necessary.
Once it comes up and gives the login screen, then it is good to go.