NFS mount issue with linux-2.6.28 on imx27ads (imx27ads_defconfig)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

NFS mount issue with linux-2.6.28 on imx27ads (imx27ads_defconfig)

Jump to solution
1,562 Views
turbosree
Contributor I

Hi,

        I am having trouble in booting linux-2.6.28 on imx27ads. The details are below,

 

Setup:

ltib: LINUX_BSP_REL_2_0_IMX27ADS.iso/ltib-imx27ads-20070522

board: imx27ads (Linux OS Rev 2.0)

Ethernet device: External ethernet (cs8900a_eth0)

 

The linux kernel available in ltib (linux-2.6.19.2) boots fine with nfs root. With the same setup the 2.6.28 kernel built with imx27ads_defconfig gives the following errors,

 

IP-Config: No network devices available.

Looking up port of RPC 100003/2 on 199.63.244.43

rpcbind: server 199.63.244.43 not responding, timed out

Root-NFS: Unable to get nfsd port number from server, using default

Looking up port of RPC 100005/1 on 199.63.244.43

rpcbind: server 199.63.244.43 not responding, timed out

Root-NFS: Unable to get mountd port number from server, using default

Root-NFS: Server returned error -5 while mounting /srv/nfsroot/rfs-imx27ads/

VFS: Unable to mount root fs via NFS, trying floppy.

List of all partitions:

No filesystem could mount root, tried:

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

 

I have attached the full kernel console messages herewith. Any help is greatly appreciated.


Thanks

Sreejith

Original Attachment has been moved to: imx27ads_redboot_fconfig.txt.zip

Original Attachment has been moved to: imx27ads_kernel_console_msg.txt.zip

Labels (2)
0 Kudos
1 Solution
1,144 Views
fabio_estevam
NXP Employee
NXP Employee

1. I suggest you to upgrade your toolchain.

2. With the latest kernel you should use:

make imx_v4_v5_defconfig

View solution in original post

0 Kudos
7 Replies
1,144 Views
fabio_estevam
NXP Employee
NXP Employee

As you are updating your kernel, why don't you try the latest one from kernel.org instead?

Anyway, for mx27ads the most recent kernel from Freescale was 2.6.22, not 2.6.28.

1,144 Views
turbosree
Contributor I

With latest kernel (or any version >= 2.6.29), I am getting the following build error.

include/linux/compiler-gcc4.h:7:3: error: #error Your version of gcc miscompiles the __weak directive

make[1]: *** [kernel/bounds.s] Error 1

make: *** [prepare0] Error 2


With 2.6.22, I am not finding a suitable kernel configuration under arch/arm/configs/. Can I use mx1ads_defconfig to build a kernel for imx27ads?

Thanks
Sreejith

0 Kudos
1,145 Views
fabio_estevam
NXP Employee
NXP Employee

1. I suggest you to upgrade your toolchain.

2. With the latest kernel you should use:

make imx_v4_v5_defconfig

0 Kudos
1,144 Views
turbosree
Contributor I

Can you please post the link to the latest tool chain (ltib) for imx27ads?

Can you also suggest the recommended kernel version for imx27ads with the latest toolchain?

Thanks.

0 Kudos
1,144 Views
fabio_estevam
NXP Employee
NXP Employee

The latest BSP for mx27 that Freescale provides is based on 2.6.22 and you can use the toolchain that comes with it.

Or if you want a more recent toolchain you can use the one from mx28evk BSP.

You can decide on using the 2.6.22 or a more recent kernel from kernel.org.

0 Kudos
1,144 Views
turbosree
Contributor I

Where can I find Linux BSP for the Freescale i.MX27ADS -- Release 3 ISO for download?

I found the release note here, but not able to locate the download path from freescale website.

http://www.freescale.com/files/soft_dev_tools/doc/support_info/Release_Notes_mx27ads-r3.txt

0 Kudos
1,144 Views
Yuri
NXP Employee
NXP Employee

BSP packages for i.MX27 ADS are not available now on Freescale Web. Only ones for i.MX27 PDK may be found.

If the release 3 is really needed, please create SR, I can try to forward the ISO image via a FTP server.