[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] u-boot error 'end address not on sector boundary' on ml403
Hi,
On Mon, Jun 8, 2009 at 9:26 PM, Aleksandar Sutic <asutic@xxxxxxxxx> wrote:
> I found out what was the problem. Actually, I enabled the MMU support in
> kernel, but I omitted to do it in XPS (MicroBlaze IP configuration).
Yes that will be a problem! :)
> At first I also didn't have CONFIG_ROOT_NFS=y, but even after I followed the
> instruction in the thread, still similar NFS problem exists. Or is it really
> NFS?
>
> Do you or anybody else have any idea what am I doing wrong? Could you share
> your config with me again? I didn't get it in the attachment.
You also need to enable IP autoconfiguration in the kernel config,
plus pass a commandline to the kernel that tells it where to find the
NFS root - it doesn't happen magically (unless you have a fully
configured bootp/dhcp setup, which it sounds like you don't.
>> petalinux-send-configs | grep NFS
> CONFIG_NFS_FS=y
> CONFIG_NFS_V3=y
> CONFIG_NFS_V3_ACL=y
> CONFIG_ROOT_NFS=y
> CONFIG_NFS_ACL_SUPPORT=y
> CONFIG_NFS_COMMON=y
> CONFIG_USER_BUSYBOX_NFSMOUNT=y
You also need to ensure at least the following:
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
CONFIG_IP_PNP_BOOTP=y
CONFIG_IP_PNP_RARP=y
then make sure you have something like the following on the kernel commandline:
ip=dhcp root=/dev/nfs
nfsroot=192.168.0.20:/path/to/nfsroot,,tcp,rsize=1024,wsize=1024,nfsvers=3
rw
of course substitute the IP address of your server, and the path on
that machine to the NFS root.
Plus you've got to make sure you are correctly assembling your NFS
root, with devnodes etc.
Regards,
John
--
John Williams, PhD, B.Eng, B.IT
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com p: +61-7-30090663 f: +61-7-30090663
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/