--- Quote Start ---
originally posted by mfm@Apr 30 2006, 02:58 AM
hi scott,
well, i've done the following:
- i programmed the u-boot.bin in flash memory using the flash programmer at the user space of the flash (0x400000).
- u-boot works fine but when i type flinfo this is what i get
==> flinfo
bank# 1: size: 0 kb in 0 sectors
sector start addresses:
==>
- when i try to save my variables with saveenv:
==> saveenv
saving environment to flash...
error: start address not on sector boundary
==>
besides, i feel confused between flash and sdram adresses, i can't even decide what adresses to submit to mkimage, is the adress i've programmed u-boot at is suitable and how u-boot proceeds to boot a kernel and a fs images.
all adresses matter is troubling me.
so if you could explain me that i'm gonna be thankful.
ps. i'm using a stratix pro 1s40 board
warm regards
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14852)</div> --- Quote End ---
You can find it in u-boot wiki,
http://www.denx.de/wiki/view/dulg/linuxnfsroot (
http://www.denx.de/wiki/view/dulg/linuxnfsroot)
But nios2 uclinux won't expect kernel parameters from boot loader, so it might not work with passed parameters.
You can just add them to kernel command line in kernel config.
root=/dev/nfs rw nfsroot=10.0.0.2:/home/mfm/roofs ip=10.0.0.99:10.0.0.2:10.0.0.2:255.0.0.0:tqm::off
In kernel config, check File systems -> Network File Systems
[*] NFS file system support
[*] Provide NFSv3 client support
Another approach, boot with initramfs, mount nfs, then switch root to nfs.
You may find an example from
www.ltsp.org lbe source cvs, initramfs_src/initramfs_tree/initramfs_tree/init
You may take a trial of the ltsp4.2 on PCs to get some idea of it.