MEGA65 / mega65-fdisk

FDISK+Format Utility for MEGA65
GNU General Public License v3.0
12 stars 8 forks source link

Populate SD card sees 8 slots on R3 #20

Closed deftmega closed 9 months ago

deftmega commented 1 year ago

R3 boards only have 4, not 8 flash slots, but fdisk sees them twice for the SD-Card pre-population (please see screenshot)

Snapshot_20230202_135717

lydon42 commented 10 months ago

The only way this could be changed is by letting MEGAFLASH write some info about the QSPI in some upper memory area, so fdisk (and/or other tools) can look it up there. QSPI access is limited to HYPPO and DIP #3 special bootup, so by default there is no way for the program to determine where the flash ends.

Different solution: just suppress slots that read exactly the same as the slots already in the list.