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

rkdeveloptool shows device, absolutely no command works #69

Open
juliaszone opened this issue Aug 5, 2022 · 3 comments
Open

rkdeveloptool shows device, absolutely no command works #69

juliaszone opened this issue Aug 5, 2022 · 3 comments

Comments

@juliaszone
Copy link

Hello,
I have a NanoPC T4 with an RK3399,
Recently I was able to use rkdeveloptool just fine, but yesterday it would not work anymore, absolutely not.
Every command failed, even though it was listed on the devices list.
I tried 2 computers and one VM, multiple cables and usb ports but absolutely nothing seemed to make it work.
The exit code is always 1, there is nothing useful logged and there is nothing in the dmesg.

# rkdeveloptool ld
DevNo=1 Vid=0x2207,Pid=0x330c,LocationID=101    Maskrom
# rkdeveloptool ppt
Read GPT failed!
Read parameter failed!
Not found any partition table!
# rkdeveloptool ef
Starting to erase flash...
Getting flash info from device failed!
# rkdeveloptool td
Test Device failed!
# rkdeveloptool rd
Reset Device failed!
# rkdeveloptool rid
Reading flash ID failed!
# rkdeveloptool rfi
Read Flash Info failed!
# rkdeveloptool rci
Read Chip Info failed!
# rkdeveloptool rcb
Read capability Fail!
# rkdeveloptool ld
DevNo=1 Vid=0x2207,Pid=0x330c,LocationID=101    Maskrom

This is what I am always getting, no matter where and how I connected it.
I'm at a point where I seriously don't know what to do anymore and I feel like I'm about to go crazy.
Is the board defective? Because I honestly just can't think of any other reason, especially since there is no logging at all

@7ROLI101
Copy link

7ROLI101 commented Sep 28, 2022

I think it's because you need to do the download boot command first.
Try rkdeveloptool db (name of the loader file).
I've had this same thing happen to me using a Radxa CM3, and that was how I solved my issue.

@wtjcn
Copy link

wtjcn commented May 1, 2023

https://opensource.rock-chips.com/wiki_Rkdeveloptool
use download boot command to make target init DRAM and run usbplug;

@anomaly256
Copy link

Unsure if it’s the same problem or not but I’m experiencing the same symptom even after downloading the spl. It stays in maskrom mode and no other commands work.

BUT, using the windows rkdevtool and the exact same SPL does work. Something isn’t right with this Linux version.

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

4 participants