Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: manage mounted hard drive images via USB port (similar to #364) #367

Open
geneve9640 opened this issue Jan 21, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@geneve9640
Copy link

I find myself removing the SD card periodically to change HD images and assignments. A simple USB console feature would be a nice way to mount/dismount the hard drive images. This request is similar to idea #364 for CDs but intended for hard drive images:

mount image10_512.hda - mount hard drive image to SCSI ID1 lun0 (based on filename style)
or mount image.hda ID20 512 - generically named image mounted to ID2 LUN0 512 byte sector
list images - list available image files in the image folder
dismount ID1 - dismount the hard drive image associated with ID1

@aperezbios
Copy link
Collaborator

Hard drive images are, by their very definition, non-removable, so I am not really sure that this would be something that would be particularly straightforward to achieve. Most operating systems would likely not handle a change like this with much grace. That said, if you want to take a stab at it, we're happy to consider any potential pull requests.

@geneve9640
Copy link
Author

Thank you for the consideration. :) I should have been clear: I wasn't proposing any changes while the device is actively in use, this was meant as a way to update the associations via USB versus removing the SD card. Editing the .ini file via USB would also get the same results. As far as I could tell, accessing the .ini isn't possible via the USB port.

@aperezbios
Copy link
Collaborator

@geneve9640 which variant of ZuluSCSI board are you using?

@geneve9640
Copy link
Author

geneve9640 commented Feb 4, 2024

@geneve9640 which variant of ZuluSCSI board are you using?

Sorry for the late response. The ZuluSCSI RP2040 board rev is 2022d. I recently received an RP2040 rev 2023a that I have not yet put into a system.

@aperezbios
Copy link
Collaborator

aperezbios commented Feb 4, 2024

@geneve9640 In that case, can you try flashing this RP2040 firmware to your board https://github.com/ZuluSCSI/ZuluSCSI-firmware/releases/download/v2023.12.14-USBMassStor-BETA/ZuluSCSI_RP2040_MSC_2023-12-21_f424be9.bin

You should be able to simply copy the .bin file above to your SD card, power on your ZuluSCSI, and it should auto-update, and then remove the .bin file. The LED will flash rapidly for around one second, then the new firmware will execute.

The .uf2 version of this firmware is available at the URL below. In order to use it, you must hold down the BOOTLDR button while plugging your board in to a computer with USB, then simply copy the .uf2 file to the board.
https://github.com/ZuluSCSI/ZuluSCSI-firmware/releases/download/v2023.12.14-USBMassStor-BETA/ZuluSCSI_RP2040_MSC_2023-12-21_f424be9.uf2

Either firmware update mechanism will accomplish the same end result. The contributor of this RP2040-specific USB Mass Storage firmware is @ZigZagJoe.

@aperezbios aperezbios added the enhancement New feature or request label Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants