Skip to content

Refactor ATA driver, improve adapter compatibility, and fix display shutdown bug - #20

Open
oxGorou wants to merge 3 commits into
crozone:masterfrom
oxGorou:master
Open

Refactor ATA driver, improve adapter compatibility, and fix display shutdown bug#20
oxGorou wants to merge 3 commits into
crozone:masterfrom
oxGorou:master

Conversation

@oxGorou

@oxGorou oxGorou commented Aug 25, 2026

Copy link
Copy Markdown

ipodloader2 previously used 0x10 PIO mode. While faster, this could lead to data corruption with certain CF, SD, and SATA adapters..., causing the Invalid MBR error reported in #7. While commit f3bdd31 resolved most of these errors, porting ATA features from the Rockbox bootloader provides significantly better reliability across adapters.

This update also fixes a display controller bug where putting the Monochrome iPod into standby from ipodloader2 and waking it caused random vertical lines to appear due to an improper display shutdown sequence.

Tested on:

  • iPod 4th Gen Monochrome (128GB mSATA)

@EvergreenTrone

EvergreenTrone commented Aug 26, 2026

Copy link
Copy Markdown

Sounds good! That's great—I'd love to test it out. How does it actually work? Do you have a ready-made .bin for us? Thanks for your work.

@oxGorou

oxGorou commented Aug 26, 2026

Copy link
Copy Markdown
Author

Sounds good! That's great—I'd love to test it out. How does it actually work? Do you have a ready-made .bin for us? Thanks for your work.

You can download the loader at https://github.com/oxGorou/ipodloader2/actions/runs/32807890972#artifacts
Since I disabled debugging for this build, you will need to modify the code to enable debug prints if you need to troubleshoot.
The loader works well on my iPod 4th Gen Monochrome with an mSATA adapter, it can boot the stock OS, Rockbox, and Linux. However I'm not sure about other monochrome/video iPods and adapters, as I am currently just trying to port most of the new ATA features from Rockbox

@oxGorou

oxGorou commented Aug 26, 2026

Copy link
Copy Markdown
Author

@EvergreenTrone Did it work?

@oxGorou

oxGorou commented Aug 26, 2026

Copy link
Copy Markdown
Author

Sounds good! That's great—I'd love to test it out. How does it actually work? Do you have a ready-made .bin for us? Thanks for your work.

You can download the loader at oxGorou/ipodloader2/actions/runs/32807890972#artifacts Since I disabled debugging for this build, you will need to modify the code to enable debug prints if you need to troubleshoot. The loader works well on my iPod 4th Gen Monochrome with an mSATA adapter, it can boot the stock OS, Rockbox, and Linux. However I'm not sure about other monochrome/video iPods and adapters, as I am currently just trying to port most of the new ATA features from Rockbox

https://github.com/oxGorou/ipodloader2/releases/tag/2.9.0

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.

2 participants