Jump to content

Recommended Posts

Posted (edited)

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines