SMB/CIFS Support on FX30

I managed to figure this out so I thought I’d post the solution in case anyone else needs it:

I had to rebuild the kernel to have CIFS support (I decided to use a kernel module rather than build it in):

  1. Run make dev this will set up build env and put you in a new shell in ~/swi-linux-src/build_bin

  2. Run bitbake linux-quic -c menuconfig this will open the kernel config gui in a new terminal window

  3. Enable CIFS support under File Systems --> Network File Systems --> CIFS Support (Press M to build support as a kernel module). Save changes to .config, exit config tool (<ESC><ESC>)

  4. Exit dev mode shell, run exit (should return you to ~/swi-linux-src)

  5. Edit and save file ~/swi-linux-src/build_bin/conf/local.conf and add the following line under the Additonal Image Features paragraph:
    `KERNEL_MODULE_AUTOLOAD += “cifs”

  6. Edit and save file ~/swi-linux-src/meta-swi/meta-swi-mdm9x28/recipes-core/images/mdm9x28-image.inc and add the following lines before the line “create_ubinize_config() {”:

     # Add cifs-utils package
     IMAGE_INSTALL_append = " cifs-utils"
     # Add samba package (not needed if you only want client support)
     #IMAGE_INSTALL_append = " samba"
    
  7. Run make from ~/swi-linux-src and and deploy resulting image:
    ~/swi-linux-src/build-bin/tmp/deploy/images/boot-yocto-legato_wp77xx.cwe

2 Likes