# \[Announcement\] New kernel for Odroid N2 device

**URL:** <https://forum.endeavouros.com/t/announcement-new-kernel-for-odroid-n2-device/51083>\
**Category:** General system\
**Created:** [February 13, 2024, 1:57am UTC](https://forum.endeavouros.com/t/announcement-new-kernel-for-odroid-n2-device/51083 "2024-02-13T01:57:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pudge](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pudge/32/17155_2.png) [@Pudge](https://forum.endeavouros.com/u/Pudge)\
**Post date:** [February 13, 2024, 1:57am UTC](https://forum.endeavouros.com/t/announcement-new-kernel-for-odroid-n2-device/51083/1 "2024-02-13T01:57:34Z")

</div>

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:

```auto
linux-eos-arm-6.7.4-1

```

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

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

```

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

```auto
sudo nano /boot/boot.ini

```

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

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

```

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:

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

```

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

# Step 2 install new kernel

```auto
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.

Pudge
