Does anyone know how to create two mass storage devices with the buildroot image?
-
I have UMS_EN=on in /etc/init.d/S50usbdevice and can get a single USB mass storage device to appear on the host computer when I plug in a LuckFox Pico Mini B. However I need to get a 2nd drive to appear. Right now I have UMS_BLOCK=/userdata/ums_shared.img and I want to have a UMS_BLOCK2=/oem/ums_shared2.img as well.
I refer you to this article: viewtopic.php?p=3411&hilit=UMS_BLOCK#p3411 Maybe you can find inspiration!static23 wrote: ↑2024-10-28 20:54 I have UMS_EN=on in /etc/init.d/S50usbdevice and can get a single USB mass storage device to appear on the host computer when I plug in a LuckFox Pico Mini B. However I need to get a 2nd drive to appear. Right now I have UMS_BLOCK=/userdata/ums_shared.img and I want to have a UMS_BLOCK2=/oem/ums_shared2.img as well.
I looked at that already and it was helpful in figuring out how to get a single USB mass storage device up and running. Unfortunately no matter what I tried I couldn't figure out how to get two USB mass storage devices up and running. It would appear the script isn't designed to handle two and while I tried everything I could think of there seems to be something missing and not enough information on how it's working. I've looked at documentation elsewhere, but the way luckfox is doing things seems to be different than elsewhere.Alenwowo wrote: ↑2024-10-29 1:19I refer you to this article: viewtopic.php?p=3411&hilit=UMS_BLOCK#p3411 Maybe you can find inspiration!static23 wrote: ↑2024-10-28 20:54 I have UMS_EN=on in /etc/init.d/S50usbdevice and can get a single USB mass storage device to appear on the host computer when I plug in a LuckFox Pico Mini B. However I need to get a 2nd drive to appear. Right now I have UMS_BLOCK=/userdata/ums_shared.img and I want to have a UMS_BLOCK2=/oem/ums_shared2.img as well.
I think you might be able to join our exchange group (Tencent QQ group number: 194290073). Go and discuss this with everyone, maybe someone else has looked into the same issue as you, we haven't had an in-depth study of using two USB mass storage devices to get up and running.static23 wrote: ↑2024-10-29 2:25I looked at that already and it was helpful in figuring out how to get a single USB mass storage device up and running. Unfortunately no matter what I tried I couldn't figure out how to get two USB mass storage devices up and running. It would appear the script isn't designed to handle two and while I tried everything I could think of there seems to be something missing and not enough information on how it's working. I've looked at documentation elsewhere, but the way luckfox is doing things seems to be different than elsewhere.Alenwowo wrote: ↑2024-10-29 1:19I refer you to this article: viewtopic.php?p=3411&hilit=UMS_BLOCK#p3411 Maybe you can find inspiration!static23 wrote: ↑2024-10-28 20:54 I have UMS_EN=on in /etc/init.d/S50usbdevice and can get a single USB mass storage device to appear on the host computer when I plug in a LuckFox Pico Mini B. However I need to get a 2nd drive to appear. Right now I have UMS_BLOCK=/userdata/ums_shared.img and I want to have a UMS_BLOCK2=/oem/ums_shared2.img as well.