Installation / Removal > Sandisk - Installation/Removal
C200V2 bootloader installed but no effect
funman:
I'm working on a modification to mkamsboot (the current code appear to only work on some c200v2, including the one I had and sent to bertrik)
Just wait until it's ready for testing and don't mess with dualboot.S if you aren't fully self-confident.
bricked c200v2 can not be unbricked
xordos:
Hi funman,
Thanks for your reply, I know I really should contact your guys first, but I guess I was "too confident" about rb code (or myself) ;)
Anyway, not sure the experiment I did before it brick is useful or not, just FYI:
http://forums.sandisk.com/sansa/board/message?board.id=c200&thread.id=4523&page=2
Thanks, really appreciate the great work
xordos
funman:
If you didn't modify the check for USB connection you should be able to boot the OF.
Just power your device by USB
Be sure it is off before you plug it (remove battery for example)
xordos:
I didn't modify any other part, The only change I did is I repeated that ""ldr r1, [r0, #256]" a few times. But unfortunately, I tried power up with USB plug in with (and without) battery, no luck.
P.S. I guess now I know where I did wrong. I forget copy dualboot.h from dualboot to upper directory when I build my testing mkamsboot!
In my first try, I changed the 256 to 64, then compiled the "mkamsboot", I noticed "mkamsboot" doesn't change at all. Then I figured out the dualboot.c need to copied from .../mkamsboot/dualboot to .../mkamsboot. generated file still doesn't work but didn't brick anything. (This misleads me that I then think dualboot.c is the only file I need copy over.)
Then 2nd try, I repeated that line in dualboot.S, make, then only copied dualboot.c to upper directory.
Today, I realized the dualboot.h changed in 2nd case and need copy over:
diff ./dualboot.h dualboot/dualboot.h
6c6
< extern unsigned char dualboot_c200v2[228];
---
> extern unsigned char dualboot_c200v2[240];
so, I guess, this incorrect size here really messed up the code and/or some label/address offset. >:(
Again, I even don't know above build method is right or not. I guess that night I am too excited and eager to put rb into my c200v2 as other people's has done it succesfully. Yes, I was too confident, brave, or stupid.
... ...
funman:
I didn't have these tested by bertrik so I'll just post them.
To decrease risk of bricking your devices I have made another patch to test if the check for USB connection is working right.
1/ apply usbcheck.diff : powering the c200v2 by the button should take an additional 5 seconds with black screen, and powering by USB connection should be instant.
Do not apply the second patch if the first doesn't work !
I have included the diff to the generated dualboot.c and dualboot.h so you just have to run make in rbutil/mkamsboot
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version