Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] ITX-3568jq load kernel via TFTP and mount rootfs via NFS

91

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
91

【Linux】 ITX-3568jq load kernel via TFTP and mount rootfs via NFS

Posted at 5/11/2023 16:18:58      View:2231 | Replies:3        Print      Only Author   [Copy Link] 1#
  • Type: Self-Compiled Firmware
  • SDK Package Name: rk356x_linux_release_20230425_v1.3.2c.xml
  • Last Commit: 0000-00-00 00:00:00
  • Modification Content: kernel
  • Log: trying_nfs_rootfs.txt.gz
Problem description and steps to reproduce:
I am trying to get kernel via TFTP (which works quite ok) and mount rootfs via NFS. I have commented out
  1. /*bootargs = "earlycon=uart8250,mmio32,0xfe660000 console=ttyFIQ0 root=PARTLABEL=rootfs rootfstype=ext4 ro rootwait overlayroot=device:dev=PARTLABEL=userdata,fstype=ext4,mkfs=1 coherent_pool=1m systemd.gpt_auto=0 cgroup_enable=memory swapaccount=1 swiotlb=0x10000";*/
Copy the code
and have modified u-boot to support TFTP and NFS and timeout to 5 seconds to be able to enter my own bootcmd
  1. setenv bootcmd "setenv ipaddr 169.0.0.7;setenv serverip 169.0.0.1;setenv netmask 255.255.255.0; setenv nfsroot 169.0.0.1:/home/geekay/devel/netboot/nfs_export,vers=3,tcp;setenv root /dev/nfs; setenv rootfstype nfs;tftp ${ramdisk_addr_r} 169.0.0.1:initrd-4.19.232; tftp ${kernel_addr_r} 169.0.0.1:Image-4.19.232; tftp ${fdt_addr_r} 169.0.0.1:rk-kernel.dtb; booti ${kernel_addr_r} - ${fdt_addr_r}"
Copy the code
The NFS export mounts good when I boot from eMMC, but something (maibe a parameter.txt?) is keeping the board from mounting the NFS export. What more should I do to succeed?




RK356x_build_log.tar.gz

2.31 KB, Down times: 0

trying_nfs_rootfs.txt.gz

30.22 KB, Down times: 0

Reply

Use props Report

123

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
123
Posted at 1/13/2026 20:42:55        Only Author  2#
This article is exceptional, I truly appreciate you sharing it! Free Latest AP-212 exam pass4sure available for improving your IT skills. Wishing you the best!
Reply

Use props Report

138

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
138
Posted at yesterday 13:49        Only Author  3#
This article really resonated with me, thank you for sharing! Free access to the Latest SCS-C02 exam guide materials test questions. Best of luck to everyone!
Reply

Use props Report

129

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
129
Posted at yesterday 19:15        Only Author  4#
The article provided me with so much to ponder. The Visual 300-610 cert exam questions were key in securing my promotion and raise—now it’s your turn! Get them for free!
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list