On 02/14/2015 11:13 AM, Ioan Stan wrote:
Hi Gordan,
Many thanks for the quick reply. So, redsleeve on Dreamplug does not boot from
NFS server but from local micro or SD card, am I right?
It can boot from either, depends on what you want and how you configured
it. The instructions on the wiki are for DHCP/TFT/NFS booting because
that was what I was setting up at a time.
If so, do I need to prepare the micro/SD card in any way (any format,
partitions)?
Of course, same as you would do for putting it on any other ARM device.
You could, for example, take the R-Pi image, dd that to a clean SD card,
add the kernel uimage, uinitrd and /lib/modules for the appropriate
kernel, adjust the uboot parameters and /etc/fstab to match, and it
should work.
And in the setenv below given in
http://wiki.redsleeve.org/index.php/KirkwoodPlug, I will actually replace
/dev/nfs with /dev/sda3 (or sdb3).
setenv bootargs_root rw root=/dev/nfs
nfsroot=10.10.1.3:/nfsroot/sheeva1,proto=tcp ip=dhcp
If you want the rootfs to be on the SD card, you would need to replace
that whole line with something like:
setenv bootargs_root ro root=/dev/sda3
You will also need to modify /etc/fstab on the rootfs.
If you want the kernel to also come from the SD card you will need to
change the bootcmd in uboot (setenv bootcmd) to load the kernel from
there. I don't recall the exact incantation of uboot you will need for
this off the top of my head - most DreamPlugs come with helper macros
already pre-defined, so you would only need to modify those slightly,
depending on whether you are booting from the internal or external SD card.
Gordan
_______________________________________________
users mailing list
[email protected]
http://lists.redsleeve.org/mailman/listinfo/users