Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to upload recovery bootloader #42

Closed
matsbror opened this issue May 15, 2023 · 6 comments
Closed

Unable to upload recovery bootloader #42

matsbror opened this issue May 15, 2023 · 6 comments

Comments

@matsbror
Copy link

One of the cards I have won’t boot so I thought I should flash the bootloader reovery over UART. I set the dip switches so I get the CCCCC on the serial port as per the instructions. I use minicom to transfer the recovery file which is initiated correctly but I get a CRC Error and then the CCCC continues. Any help is appreciated.

@matsbror matsbror mentioned this issue May 15, 2023
@MichaelZhuxx
Copy link
Collaborator

maybe this link starfive-tech/Tools#3 will help on this

@matsbror
Copy link
Author

Thanks, I tried this once, but here are more details and I will try it.

@matsbror
Copy link
Author

It's stuck int Waiting for bootloader mode on /dev/ttyUSB0...

@matsbror
Copy link
Author

I switched to the vf2 branch and now this happened:

mats@ubuntu-Latitude-9510:~/riscv-debian-images$ sudo ./vf2-recover -D /dev/ttyUSB0 -r jh7110-recovery-20230322.bin 
Waiting for bootloader mode on /dev/ttyUSB0...
CCCCCCCCC
Bootloader mode active

Uploading recovery binary...
	Waiting for XMODEM request[C]...
	Sending jh7110-recovery-20230322.bin 
[########################################] 100%  173118/173118 Bytes
CRC Error, Try again

@matsbror
Copy link
Author

I still am not able to use the recovery image over the serial port but I managed to flash a new bootloader through booting from QSPI.

@MichaelZhuxx
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants