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

Add the ability to delay boot #243

Merged
merged 2 commits into from Jun 13, 2023
Merged

Add the ability to delay boot #243

merged 2 commits into from Jun 13, 2023

Conversation

morio
Copy link
Collaborator

@morio morio commented Jun 13, 2023

Adds the ability to delay booting in milliseconds before and/or after the first time SCSI interface is initialized.

These settings are InitPreDelay and InitPostDelay in the "zuluscsi.ini" file.

This is to fix an issue with the RP2040 boards not working with an MPC3000. Thus a preset has been added for the device name MPC3000 and can be set by using the System="MPC3000" in the "zuluscsi.ini" file. The InitPreDelay is set to 500 milliseconds for the preset.

It should be noted that the InitPreDelay delays the first blink of the board turning on and InitPostDelay hold the LED on.

Adds the ability to delay booting in milliseconds before and/or
after the first time SCSI interface is initialized.

These settings are InitPreDelay and InitPostDelay in the "zuluscsi.ini"
file.

This is to fix an issue with the RP2040 boards not working with an
MPC3000. Thus a preset has been added for the device name MPC3000 and
can be set by using the System="MPC3000" in the "zuluscsi.ini" file.
The InitPreDelay is set to 500 milliseconds for the preset.

It should be noted that the InitPreDelay delays the first blink
of the board turning on and InitPostDelay hold the LED on.
@morio
Copy link
Collaborator Author

morio commented Jun 13, 2023

@PetteriAimonen could you do a quick code review. I'm not sure if the InitPostDelay would have any practical use as it would initialize the SCSI interface and then just hang for the delay amount.

@PetteriAimonen
Copy link
Collaborator

Code looks ok to merge.

The effect of pre and post delay is pretty much the same, because in either case ZuluSCSI won't have any effect on the SCSI bus before the scsi polling starts.

@aperezbios aperezbios merged commit fc6d551 into main Jun 13, 2023
2 checks passed
@aperezbios aperezbios deleted the boot-delay branch June 13, 2023 18:28
@chickeneps
Copy link

Tested directly on a MPC3000 here, works both with "System" and "InitPreDelay", the MPC works with the RP2040 now just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants