kervinck / gigatron-rom

System, apps and tooling for the Gigatron TTL microcomputer
BSD 2-Clause "Simplified" License
235 stars 80 forks source link

GTOS: Vol.ID 0000 Failed #161

Open kervinck opened 4 years ago

kervinck commented 4 years ago

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 commented 4 years ago

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.

lb3361 commented 2 years ago

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)