khadas / utils

Utils/Tools for development
141 stars 74 forks source link

rk3399 doesn't seen by tools #2

Closed SergAnD closed 6 years ago

SergAnD commented 6 years ago

Hi. My OrangePI rk3399 now under Android. I try to use tools for flash/view that device and noone tools open device but I can see it via ADB tool. I need flash to device something like debian9/Ubuntu/LUbuntu. Is it possible using that tool?? Could you please help with that trouble? Thank you

PS. I didn't find any native OPi tools to decide a trouble.

numbqq commented 6 years ago

Hello SergAnD,

I think it's possible to use this tool to burn image. Please refer to this documentation about how to use this tool.

https://docs.khadas.com/edge/UpgradeViaUSBCable.html#Upgrade-On-Ubuntu

SergAnD commented 6 years ago

Hi numbqq Yes/ I have use that link to work with board but on step "Check the USB driver" I have got a fail. As I wrote before, I have see device via ADB SHELL but it is impossible to use "tool" for board That is my log unitool.txt

Could you please make some recommendations for that trouble?

Thank you.

numbqq commented 6 years ago

Hello SergAnD,

You want to burn image for rk3399, right? So please ignore the information for Amlogic.

Try the following command to burn image:

$ burn-tool -v rk -i /path/to/image
SergAnD commented 6 years ago

Hello numbqq

Unfortunatelly something wrong. "burn-tool" found my image but dont found device/ But device has been found by grep.

root@u# lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 0bda:b008 Realtek Semiconductor Corp. Bus 001 Device 027: ID 2207:0011
Bus 001 Device 003: ID 03f0:094a Hewlett-Packard Optical Mouse [672662-001] Bus 001 Device 002: ID 0461:0010 Primax Electronics, Ltd HP PR1101U / Primax PMX-KPR1101U Keyboard Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

root@u# dmesg | grep usb [155235.056570] usb 1-4: new high-speed USB device number 27 using xhci_hcd [155235.197473] usb 1-4: New USB device found, idVendor=2207, idProduct=0011 [155235.197483] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [155235.197490] usb 1-4: Product: rk3399-mid [155235.197497] usb 1-4: Manufacturer: rockchip [155235.197502] usb 1-4: SerialNumber: CBI9SBJG62

root@u# burn-tool -v rk -i OrangePi-rk3399_Debian9_20171218.img Try to burn Rockchip image... Rockchip Android image (or linux image compatible with AndroidTool one image burning) found! Try to burn Rockchip image... No found any rockusb device,please plug device in!

numbqq commented 6 years ago

Hello SergAnD,

You should enter Loader USB mode or MASKROM mode, if you enter successfully, you will find the usb device. Bus 001 Device 006: ID 2207:330c

I don't how OrangePi enter these modes, but you can refer to our Edge about this: https://docs.khadas.com/edge/HowtoBootIntoUpgradeMode.html

SergAnD commented 6 years ago

Thank you. It helps