Closed poodle-dog closed 11 months ago
And, yes, to be 100% transparent, I named the build machine daddy
, so I can claim that I have daddy
issues when things don't work. (Very, very stupid joke, but it's the only thing enjoyable about this scenario!) :laughing:
Your NFS is working fine as reported by the VFS: Mounted root (nfs filesystem) on device 0:16.
line. Could you check if your Busybox binary is statically linked?
Great call @tpetazzoni - that turned out to be the problem. I could have sworn I had ticked the option to statically link, but I apparently did not. I recompiled with the statically linked binary, reran make install
, and got to a shell first go.
Thanks a bunch for your help, and for all of your wonderful tutorials. They are head and shoulders above all other embedded linux resources I can find online. :heart: (Do you sell bootlin t-shirts? I'd buy one. :shirt: :penguin:)
Glad to hear the issue is resolved. And no we do not sell T-Shirts (maybe we should!). If you want to support us, the best way it to just spread the word about our engineering and training services around you!
I'd love a suggestion from the bootlin team about how I might be making a mistake with my nfs mount. I'm following along with the BeagleBone Black guide posted here - https://bootlin.com/doc/training/embedded-linux-bbb/embedded-linux-bbb-labs.pdf
Had absolutely no trouble getting Uboot or the kernel up and running. My trouble has been entirely with getting the rootfs to mount using
nfs
.I've tried this using both Ethernet (which I set up using my own research) and Ethernet-over-USB as the guide recommends. The furthest I have gotten is as follows, which shows the failure I get when appending the
debug
kernel argument to Uboot'sbootargs
.Here are my
bootargs
from Ethernet over USB:And
bootargs
from Ethernet:I have some confidence that the Ethernet arguments are correct, as I'm able to get the following message in
/var/log/syslog
when the device is configured to boot from Ethernet:I also have no problem getting either Uboot or the DTS file via TFTP, which gives me yet another sign that the networking connection is A-OK.
I also am pretty sure I have
/etc/exports
configured correctly,I have run
sudo exportfs -r
to export these settings after editing them, to no effect. I have also changed the client from192.168.1.206
to*
to be super permissive, just to be sure that isn't the source of the problem either.I've also modified the ownership and permissions of my local
busybox
binary through the following steps:sudo chown root:root bin/busybox
sudo chmod u+s bin/busybox
...but neither of these have the desired effect.I'm also pretty sure my directory structure is correct (filtered for brevity):
I have also changed options in busybox's
menuconfig
to change these to hard-links instead of soft-links - this also had no effect.What am I missing? What else can I check to be sure of the source of the problem? Any suggestions about file permissions, directory structures, logs I can check, or other dumb "gotchas" are most welcome.