ODROID-N2 - Unable to boot f2fs on root

This is for ARMv8 based devices

ODROID-N2 - Unable to boot f2fs on root

Postby surfbluecrab » Thu Oct 03, 2019 7:23 am

Hi everyone, I rarely ask for help but I am currently stuck. :(

I just bougth a new ODROID-N2 with both an industrial sd card and eMMC.

I havent tried the eMMC yet, I just wanted to test the device with the sd card first.

I followed the guide on Arch Linux ARM and was able to boot no problem with the recomended ext4 but I am unable to boot if I replace the filesystem with f2fs.

I have an old Raspberry Pi 1 running Arch with f2fs on root ( and VFAT on boot ) that has been running great.

I bougth this ODROID-N2 to upgrade the pi.

Aslo I do not have a monitor for it, I just log in thru the network.

When I try booting on f2fs I just cant see the device on the network however the blue ligth on it flash so according to the documentation the kernel ( which is on vfat on /boot ) is running.

I guess that the kernel boots but is unable to mount the f2fs root. I also tried btrfs with no luck and I also tried using rootfstype=f2fs in the boot.ini.

Any help on how to get the device to boot on f2fs would be greatly appreciated.
surfbluecrab
 
Posts: 2
Joined: Tue Nov 25, 2014 5:42 am

Re: ODROID-N2 - Unable to boot f2fs on root

Postby summers » Tue Oct 08, 2019 10:16 am

probably the problem is that the default kernel doesn;t have f2fs compiled in by default, and so needs to be loaded as a module.

What this means is that when the kernel boots, when it reaches the mounting of root, this stage fails and you can go no further (this should be shown in the logs, probably on the device UART serial line).

Way round this this is you set up an initrd, that is loaded on boot. This has an image that contains any drivers needed.

Usually this created when you install a kernel, but think you can do it my hand, the command is something like mkinitcdio. Problem is how do you run this. What I'd usually do is boot off another os, then chroot into the new arch arm linux. Then when in the chroot you should be able to recreate the initrd.
summers
 
Posts: 995
Joined: Sat Sep 06, 2014 12:56 pm


Return to ARMv8 Devices

Who is online

Users browsing this forum: No registered users and 9 guests