rockchip-linux / rkdeveloptool

GNU General Public License v2.0
159 stars 91 forks source link

Flashing a NanoPI M4 #33

Closed landersson closed 5 years ago

landersson commented 5 years ago

I'm trying to use this tool to update the kernel image on a NanoPI M4 (RK 3399). I can enter maskrom mode by pulling out the eMMC card, and the device is detected by rkdeveloptool:

kdeveloptool:>./rkdeveloptool ld
DevNo=1 Vid=0x2207,Pid=0x330c,LocationID=102    Maskrom

All other commands seem to fail though:

./rkdeveloptool rd 3
Reset Device failed!

./rkdeveloptool rl 0xe000 1000 out.bin
Read LBA failed!

Any idea why this isn't working?

landersson commented 5 years ago

Entering maskrom mode via the "rockusb" command rather than by pulling out the eMMC card fixes the problem for me.