[fedora-arm] [F15] NFS boot [howto]

Niels de Vos devos at fedoraproject.org
Sat Jul 30 17:35:11 UTC 2011


On Tue, Jul 26, 2011 at 01:54:00AM +0200, Zoran Pericic wrote:
> This is how I configured NFS root on my pandaboard. There is also 
> complete boot partition in [1]

Maybe it is nice to have this in the wiki? There are some How-Tos
already:
- https://fedoraproject.org/wiki/Architectures/ARM
 
> 1) Install grubby, u-boot and dracut-network from my repo [2]

Can you explain why the normal Fedora packages are not sufficient? If
patches were added, do all of them have a Bug filed upstream?

> 2) Install kernel-omap. This kernel have path that allow you to set mac 
> address for smsc95xx with smsc95xx.macaddr kernel boot argument.

Which kernel-omap? I guess the one from dmarlin? Are there restrictions
one the kernel version that you know of? The EfikaMX (for Genesi)
systems can not upgrade to a 2.6.32+ (required for f14) yet :-/ Maybe
there are more similar issues for other boards?

> 3) Change KERNEL_ARG in /etc/sysconfig/uboot for dracut network boot [3]
> 
> KERNEL_ARGS="ro vram=32M root=dhcp fixrtc console=ttyO2,115200 
> mem=460M at 0x80000000 mem=512M at 0xA0000000 omapdss.def_disp=dvi 
> smsc95xx.macaddr=5A:3E:83:2D:BA:41 selinux=0"

These are quite specific for a PandaBoard. If you document this in the
wiki, please mention that as well.

> 4) Add option "root-path=SERVER:PATH" to dhcp server
>      host pandaboard1 {
>          hardware ethernet 5a:3e:83:2d:ba:41;
>          fixed-address 10.21.38.31;
>          option root-path "10.21.38.4:/nfs/pandaboard1-fc15";
>      }

There is a nice reference on root-over-NFS in the Storage Guide:
- http://docs.fedoraproject.org/en-US/Fedora/14/html/Storage_Administration_Guide/nfs-diskless-systems.html

> 5) Run "flash-kernel --update-bootscript 2.6.38.8-36.06.fc15.armv7hl.omap"

I'm not 100% sure how this works. Do you know if it comes with a
standard uboot script?

Thanks for sharing,
Niels


> [1] http://zpericic.fedorapeople.org/boot/
> 
> [2] http://zpericic.fedorapeople.org/RPMS/
> 
> [3] http://fedoraproject.org/wiki/Dracut/Options#Network


More information about the arm mailing list