Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Kernel config] VFS: Unable to mount root fs via NFS

Featured Replies

Hello I'm trying to netboot a Rock 5C lite SBC via U-boot and a TFTP + NFS server.

U-boot is working fine and is able to fetch the armbian.Image and fdt file (rk3588s-rock-5c.dtb) I provide through pxelinux.cfg/{device_mac_addr} file:

 

LABEL Armbian
  MENU LABEL Armbian
  KERNEL /srv/tftp/armbian.Image
  FDT /srv/tftp/rk3588s-rock-5c.dtb
  APPEND root=/dev/nfs nfsroot=192.168.1.46:/srv/nfs/armbian,vers=3 rw ip=dhcp rootwait

 

(To be complete I have U-boot installed on a SPI flash module configured to fetch the files with pxe commands: pxe get; pxe boot).

To create the armbian.Image (kernel) I used the build repository and edited the kernel config with the attached file (linux-rockchip64-current.config):

 

./compile kernel-config ROOTFS_TYPE=nfs BOARD=rock-5c EXTRAWIFI=no BRANCH=current
cp output/config/linux-rockchip64-current.config config/kernel/
./compile SHARE_LOG=yes

 

(Unfortunately the log URL resulted in a HTML error strangely? So I'm going to provide it as an attachment instead.)

Then I extracted the vmlinuz file provided into output/debs/linux-image... renamed it to armbian.Image and put it on my TFTP server.

As you can see I enabled NFS in almost all ways because the rootfs is located on the NFS server (192.168.1.46).

However the serial console tells me it cannot boot (serial_output.txt).

It seems there's an issue with NFS whereas I thought I had enable it.

 

[  113.632537] VFS: Unable to mount root fs via NFS.

 

I'm pretty sure this is not the right way to get the bootable image (I mean by extracting it from the deb archives).

So I gave a try with https://github.com/ophub/kernel/releases/tag/kernel_rk3588 and it went further at least sending me into an initramfs I guess but failing to mount the NFS rootfs.

 

Can anyone bring some lights to me?

 

BR

Thomas

 

linux-rockchip64-current.config serial_output.txt log-build-B310C8B5-F0CC-4A98-90F3-D1EBE517955E.log

Edited by peltho

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.