Skip to main content
Explorer
June 26, 2025
Solved

auto-mount a USB

  • June 26, 2025
  • 1 reply
  • 692 views

 


"is there possibility we can auto mount a usb when connected to usb host and how to build the udev-extraconf package for my stm32mp157f-dk2" 

how to build this   please give the steps to build for my stm32mp157f-dk2 as i want my pendrive to mount automatically                                                                                                                                                                       /home/sharan/STM32MPU/Distribution-Package/layers/openembedded-core/meta/recipes-core/udev/udev-extraconf

    This topic has been closed for replies.
    Best answer by Sharan

    go to this folder and add the below code to the local.conf file                                                                                        sohum@sohum-aero:~/STM32MPU-Ecosystem1/Distribution-Package/build-openstlinuxweston-stm32mp15-disco/conf$ nano local.conf

    IMAGE_INSTALL:append = " udev-extraconf"
    IMAGE_ROOTFS_MAXSIZE = "1048576"

     

    After adding build using bitbake st-image-weston or bitbake st-image-qt and flash your board 

    1 reply

    SharanAuthorAnswer
    Explorer
    September 19, 2025

    go to this folder and add the below code to the local.conf file                                                                                        sohum@sohum-aero:~/STM32MPU-Ecosystem1/Distribution-Package/build-openstlinuxweston-stm32mp15-disco/conf$ nano local.conf

    IMAGE_INSTALL:append = " udev-extraconf"
    IMAGE_ROOTFS_MAXSIZE = "1048576"

     

    After adding build using bitbake st-image-weston or bitbake st-image-qt and flash your board