gigatron-rom
gigatron-rom copied to clipboard
GTOS: Vol.ID 0000 Failed
Finding the partition doesn't work for all SD cards. It seems the wrong sector is read.
https://forum.gigatron.io/viewtopic.php?p=1215#p1215 https://forum.gigatron.io/viewtopic.php?p=1334#p1334
From skimming over the older CardTest code, I conclude that byte addressing isn't detected correctly. And even it if were, it wouldn't work anyway, because the way it is handled further on isn't correct. I believe this is consistent with the observations so far, including jwolfram's today. This is purely a software issue to be solved in GTOS at some point perhaps. It isn't related to the expander circuit itself.
The first fix is to reject byte addressing cards, instead of failing later on.
Suggesting to close this issue since this has been fixed in CardBoot (but was trickier than expected: https://forum.gigatron.io/viewtopic.php?t=369 and https://github.com/lb3361/gigatron-os/commit/b06080f2c1af007809a30a48152f68d182a490e9, https://github.com/kervinck/gigatron-rom/commit/bc35b947687b87c96f25f3588d159a999f56e458)