Odroid M2 - how to boot this board?

This is for ARMv8 based devices

Re: Odroid M2 - how to boot this board?

Postby nmset » Sun Mar 16, 2025 8:32 pm

There remain a few problems with the USB ports.

With the USB3 type-A port

- if the board is booted while a USB3 storage key or a USB3 spinning disk is plugged in, the storage is assigned to a USB2 bus. Using 'usbreset' , it can be re-assigned to a USB3 bus. This is a problem if the storage is used a home or swap.

- if the board is already booted and a USB3 storage is plugged on this port, it is found on a USB3 bus.

- if a bus powered USB3 hub is on this port, a USB3 storage on the hub gets reset, i.e lost, after a few hours.

- if a wall powered USB3 hub is on this port, a USB3 storage on the hub survives as one might expect.

With the USB3 type-C port

- a USB3 storage and a USB3 hub on this port are always ignored. An Android phone and a USB to HDMI adapter are detected.

- if the device tree file is modified setting 'try-power-role = "sink"' instead of "source", a USB3 storage and a USB3 hub on this port are detected, and the observations above concerning the type-A port do not apply.

With the USB2 type-A port, no problem has been observed.

The kernel's device tree file needs some optimisation.
nmset
 
Posts: 44
Joined: Sun Jul 29, 2012 7:09 pm

Re: Odroid M2 - how to boot this board?

Postby beakfire » Sat Apr 19, 2025 11:49 pm

Just fyi I've used a dirty work-around in the past.

1) Install Ubuntu
2) Remove all of Ubuntu's file system except the kernel, boot, and the kernel directories/libraries
3) Manually install the arch linux arm root file system along side Ubuntu's kernel
4) Re-configure so it sees all the arch linux partitions (fstab)

Most of the issues will stem from the kernel I would think, this worked for the Odroid-N2 when I first adopted it before there was any alarm support.

Otherwise you probably would need to compile a kernel from hardkernel's sources, packaged for alarm, I would think. You could do this from a different system and then install it with pacman and that could resolve your issues.

Just supplanting the root file system usually works though and probably a little quicker, plus it would add any fixes Ubuntu integrated. I have one I haven't started playing with yet.

Edit: I remember having trouble with the video driver at first with the N2 when I did this, but think the fbdev driver worked well enough if you're going for a graphical environment, otherwise there might be something that functions in the repos.
beakfire
 
Posts: 15
Joined: Sat Apr 21, 2018 10:13 pm

Previous

Return to ARMv8 Devices

Who is online

Users browsing this forum: No registered users and 3 guests