Hacking Question How to fix sx-os "boot.dat?" error...

Status
Not open for further replies.

pikrachou

New Member
Newbie
Joined
Jul 17, 2018
Messages
2
Trophies
0
Age
42
XP
83
Country
France
If this can help someone, i tried these sd card, just to test the boot.dat :
noname 1GB microSD => OK
SanDisk 2GB microSD => OK
SanDisk 8GB microSDHC class 4 => error but sd card visible by the switch, that's the only sd card that give me all the time the boot.dat ? error
SanDisk 32GB microSDHC Ultra Plus class 10 => OK
 
Last edited by pikrachou,

DaveLister

Well-Known Member
Member
Joined
Apr 27, 2018
Messages
720
Trophies
0
Age
123
Location
lv426
XP
1,295
Country
Afghanistan
Update:
I download a hekate v3.2 source code and recompile it with some debug code. And see my SDcard failed in init process. The reason why init failed is the query command (CMD6) response data judgement failed in setting SD card to high speed (the sd card init process before is fine, this is the very last of SD card init process, before the fat32/exfat system mount ). So it has nothing to do with the SD card format. It is the incapability between SD card and hekate sd card driver(and SX OS).

A fast way to avoid this problem is to use a "correct" sd card to meet the sd card driver, but it needs to try.


code:
int _sd_storage_enable_highspeed(sdmmc_storage_t *storage, u32 hs_type, u8 *buf)
{
if (!_sd_storage_switch(storage, buf, SD_SWITCH_CHECK, 0, hs_type))
return 0;

u32 type_out = buf[16] & 0xF;
if (type_out != hs_type) //FAILED HERE
return 0;


if ((((u16)buf[0] << 8) | buf[1]) < 0x320)
{
if (!_sd_storage_switch(storage, buf, SD_SWITCH_SET, 0, hs_type))
return 0;

if (type_out != (buf[16] & 0xF))
return 0;
}

return 1;
}
God bless debug. Dis shit, if ya know da wae debugs me.
 

comput3rus3r

Well-Known Member
OP
Member
Joined
Aug 20, 2016
Messages
3,580
Trophies
1
Age
123
XP
4,921
Country
United States
Updated OP with a video of an sd problem my switch had. Don't know if it's related to the boot.dat? error. I'll find out soon.
 

DaveLister

Well-Known Member
Member
Joined
Apr 27, 2018
Messages
720
Trophies
0
Age
123
Location
lv426
XP
1,295
Country
Afghanistan
Get in . Ugghhh.

--------------------- MERGED ---------------------------

Just bought hot air reflow station soldering rig . Dead switch and m92t36 chip . I'm bored l lol.
 

comput3rus3r

Well-Known Member
OP
Member
Joined
Aug 20, 2016
Messages
3,580
Trophies
1
Age
123
XP
4,921
Country
United States
Was thinking the same .
from what i can tell there's not way for them to patch it once they switch leaves the factory line. The patch is applied during production not after.

--------------------- MERGED ---------------------------

You're lucky they didn't just send you a patched unit for your troubles XD
from what i can tell there's not way for them to patch it once they switch leaves the factory line. The patch is applied during production not after.
 

comput3rus3r

Well-Known Member
OP
Member
Joined
Aug 20, 2016
Messages
3,580
Trophies
1
Age
123
XP
4,921
Country
United States
No what I meant was swap your "broken beyond repair" unit with one that was patched.
ahh, i see. We'll they'd probably do that if they could tell the unit was tampered with otherwise it would not be cost effective for them to replace every single repair unit with a new patched unit. However they'd probably just deny the repair if they thought it was tampered with.
 

DaveLister

Well-Known Member
Member
Joined
Apr 27, 2018
Messages
720
Trophies
0
Age
123
Location
lv426
XP
1,295
Country
Afghanistan
Same RMA's often come back with new mobo in most cases if not a ready to go refurb, boom , smack, send that out . Fix it later , on to the pile . Shitheap city sold for pennies or later smashed to pieces .
 

comput3rus3r

Well-Known Member
OP
Member
Joined
Aug 20, 2016
Messages
3,580
Trophies
1
Age
123
XP
4,921
Country
United States
Same RMA's often come back with new mobo in most cases if not a ready to go refurb, boom , smack, send that out . Fix it later , on to the pile . Shitheap city sold for pennies or later smashed to pieces .
considering that it was "in service" for a week (you can log into nintendo site and track the progress) after they had received it, I'd say they're not doing that. Also mine came with a work order that stated specifically they replaced sd card reader.
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @SylverReZ, @AncientBoi my condolences to both of you +2