@Robert - Thanks for confirming! @William - Interesting. Can you shed some additional light on this approach? usbnet is Ethernet over USB, correct? Is this just an alternative to using the wired Ethernet jack...and thus one still is mounting the rootfs via NFS from a NAS or something like that? Or is this a different approach? How does the BBB access/mount the rootfs? Would this approach work for supporting cross development on a Linux laptop with a filesystem shared with the BBB?
I was able to download a kernel via TFTP, boot and successfully mount an NFS rootfs...sorta. I had originally setup a rootfs on the NFS share as follows: Setup a uSD card: - Created using https://rcn-ee.net/deb/testing/2014-08-05/lxde/bone-debian-7.6-lxde-armhf-2014-08-05-4gb.img.xz - Configured and setup on a BBB Rev C. - Successfully booted, run, and updated numerous times on the BBB. Shutdown the BBB, move the uSD card to my MAC. Then, from Linux Mint running in Virtual Box on the MAC: - Mount the uSD card. - Create a tarball from the mounted uSD card whilst sudo. - Untar the tarball into the exported NFS share location on Linux Mint whilst sudo. My assumption was that I should be able to move/copy the rootfs from the uSD card using a separate system. Note that the uSD card was NOT running a live system when I made the copies. Unfortunately, when the BBB subsequently tries to boot using the copied rootfs, the following happens: [....] Checking root file system...fsck from util-linux 2.20.1 fsck.ext4: No such device or address while trying to open /run/rootdev Possibly non-existent or swap device? fsck died with exit status 8 So, I resorted to creating a fresh rootfs using https://rcn-ee.net/deb/testing/2014-08-05/lxde/debian-7.6-lxde-armhf-2014-08-05.tar.xz. All went fine and the system booted and I could ssh to it. Unfortunately, this system seems to have some broken network setup. A bit of digging reveals that /etc/resolv.conf is not setup correctly: domain localdomain search localdomain nameserver 192.168.1.1 Whilst /etc/resolv.conf from the rootfs on the original uSD card that I've been using: domain hsd1.wa.comcast.net. search hsd1.wa.comcast.net. nameserver 10.0.1.1 Also, /etc/network/interfaces does not have the stanzas for the USB gadget, and /etc/udhcpd.conf is not setup properly. There may be other issues, but this is as far as I've looked. Obviously something is either missing or went awry. Thoughts? Cheers, ba -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
