From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] can u-boot NFS mount my beaglebone rootfs over USB tether?
Date: Sun, 21 Jul 2013 19:00:11 +0200 [thread overview]
Message-ID: <20130721190011.4aedf90e@lilith> (raw)
In-Reply-To: <alpine.DEB.2.02.1307210746270.15241@oneiric>
Hi Robert,
On Sun, 21 Jul 2013 08:10:15 -0700 (PDT), "Robert P. J. Day"
<rpjday@crashcourse.ca> wrote:
> On Sun, 21 Jul 2013, Albert ARIBAUD wrote:
>
> > Hi Robert,
> >
> > On Sun, 21 Jul 2013 04:07:17 -0700 (PDT), "Robert P. J. Day"
> > <rpjday@crashcourse.ca> wrote:
> >
> > >
> > > i have a current production version of the beaglebone black, and i'd
> > > dearly love to NFS mount the root filesystem over the USB tether
> > > (which typically assigns net addresses of 192.68.7.[12] to the
> > > host/board).
> > >
> > > does u-boot support that? i just found this elinux article:
> > >
> > > http://elinux.org/Mount_BeagleBoard_Root_Filesystem_over_NFS_via_USB
> > >
> > > and am about to start poring over it, but if someone already knows if
> > > it can be done (or not), that would be great. thanks.
> >
> > If the kernel (and possibly initrd, for modules) is available locally,
> > then the whole NFS and USB tether rootfs mounting is a Linux thing, not
> > a U-boot one, isn't it?
>
> hmmmmmm ... now that i'm more awake, you may be right. i guess all i
> need is for RNDIS to kick in and assign the IP addresses to each end
> of the connection before any attempt is made to mount the root
> filesystem. for some reason, i thought it had to be done earlier.
>
> i'll give it a shot, thanks.
>
> rday
>
> p.s. just to be clear, when the BBB is up and running, the only
> active network interface is:
>
> usb0 Link encap:Ethernet HWaddr EA:60:E8:F4:F4:BD
> inet addr:192.168.7.2 Bcast:192.168.7.3 Mask:255.255.255.252
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:40 errors:0 dropped:0 overruns:0 frame:0
> TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:9579 (9.3 KiB) TX bytes:7401 (7.2 KiB)
>
> so you're suggesting that this requires no further tweaking of u-boot
> other than setting "nfsroot="?
Yes, I am. More precisely, I am suggesting that the only change in
u-boot is to pass the rootfs option to the kernel; but you may want to
make sure your kernel has support (either as a monolithic kernel or as a
module through a local initrd) for the hardware and network features
needed.
Amicalement,
--
Albert.
next prev parent reply other threads:[~2013-07-21 17:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-21 11:07 [U-Boot] can u-boot NFS mount my beaglebone rootfs over USB tether? Robert P. J. Day
2013-07-21 14:35 ` Albert ARIBAUD
2013-07-21 15:10 ` Robert P. J. Day
2013-07-21 17:00 ` Albert ARIBAUD [this message]
2013-07-21 17:43 ` Robert P. J. Day
2013-07-21 20:43 ` Robert P. J. Day
2013-07-21 21:55 ` Tom Rini
2013-07-21 22:34 ` Robert P. J. Day
2013-07-21 23:25 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130721190011.4aedf90e@lilith \
--to=albert.u.boot@aribaud.net \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.