CIFS on i.MX6

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

CIFS on i.MX6

2,418 次查看
manjunathjoshi
Contributor V

Hello all,

Can anybody tell me how do i configure CIFS to my i.mx6 SABRESD. I have configured CIFS in menuconfig. I am using 3.10.17 kernel. If i want to mount the CIFS

mount: wrong fs type, bad option, bad superblock on //10.20.1.123/Downloads,

       missing codepage or helper program, or other error

       (for several filesystems (e.g. nfs, cifs) you might

       need a /sbin/mount.<type> helper program)

       In some cases useful info is found in syslog - try

       dmesg | tail or so.

is the error message.

As i saw there was no /sbin/mount.cifs file.

There is not much of information on CIFS - utils in YOCTO but there is an option for NFS-Utils. Will NFS-Utils in any way help mounting CIFS if i add package. I wanted to run samba server on i.MX6

Regards,

Manju

标签 (4)
标记 (4)
0 项奖励
回复
3 回复数

1,861 次查看
jaimeignacioper
Contributor I

Hi Manjunath

I think that you shoul try to add a new layer to your project, from the next repo.

git clone git://git.yoctoproject.org/meta-baryon

And you should install from connectivity recipes all samba packages and also cifs packages as you can see in the link.

meta-baryon - Example NAS layer

Best regards.

Jaime.

0 项奖励
回复

1,861 次查看
manjunathjoshi
Contributor V

Hello Jaime,

I guess the layer meta-baryon requires  lot of changes. As i have tried the same, "recipes-kernel" gives error. So do others.This was the error with "recipes-kernel",

ERROR: No recipes available for:

  /home/pga/projects/fsl-community-bsp/sources/meta-baryon/recipes-kernel/linux/linux-yocto_3.8.bbappend

  /home/pga/projects/fsl-community-bsp/sources/meta-baryon/recipes-kernel/linux/linux-yocto_3.4.bbappend

I did not require all so removed one by one. At every step i got errors, so i went for only samba related.

For only "recipes-connectivity" i got,

ERROR: Function failed: do_configure (log file is located at /home/pga/projects/fsl-community-bsp/build_toolchain/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/samba/3.6.8-r7/temp/log.do_configure.7098)

ERROR: Logfile of failure stored in: /home/pga/projects/fsl-community-bsp/build_toolchain/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/samba/3.6.8-r7/temp/log.do_configure.7098

Log data follows:

| DEBUG: Executing python function sysroot_cleansstate

| DEBUG: Python function sysroot_cleansstate finished

| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']

| DEBUG: Executing shell function autotools_preconfigure

| DEBUG: Shell function autotools_preconfigure finished

| DEBUG: Executing python function autotools_copy_aclocals

| DEBUG: Python function autotools_copy_aclocals finished

| DEBUG: Executing shell function do_configure

| /home/pga/projects/fsl-community-bsp/build_toolchain/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/samba/3.6.8-r7/temp/run.do_configure.7098: 109: /home/pga/projects/fsl-community-bsp/build_toolchain/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/samba/3.6.8-r7/temp/run.do_configure.7098: ./script/mkversion.sh: not found

| WARNING: exit code 127 from a shell command.

| ERROR: Function failed: do_configure (log file is located at /home/pga/projects/fsl-community-bsp/build_toolchain/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/samba/3.6.8-r7/temp/log.do_configure.7098)

ERROR: Task 764 (/home/pga/projects/fsl-community-bsp/sources/meta-baryon/recipes-connectivity/samba/samba_3.6.8.bb, do_configure) failed with exit code '1'

NOTE: Tasks Summary: Attempted 4231 tasks of which 4230 didn't need to be rerun and 1 failed.

No currently running tasks (3880 of 5719)

Summary: 1 task failed:

  /home/pga/projects/fsl-community-bsp/sources/meta-baryon/recipes-connectivity/samba/samba_3.6.8.bb, do_configure

Summary: There was 1 ERROR message shown, returning a non-zero exit code.

So i think do_configure in samba_3.6.8.bb needs bit of change . Please reply if correction is required.

Regards,

Manju

0 项奖励
回复

1,860 次查看
jamesbone
NXP TechSupport
NXP TechSupport

jaimeignacioperezdelossantos, can you please help?

0 项奖励
回复