gigatron-rom icon indicating copy to clipboard operation
gigatron-rom copied to clipboard

GTOS: Vol.ID 0000 Failed

Open kervinck opened this issue 5 years ago • 2 comments

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

kervinck avatar Feb 10 '20 11:02 kervinck

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.

kervinck avatar Feb 10 '20 23:02 kervinck

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)

lb3361 avatar Aug 25 '22 13:08 lb3361