Firefly Open Source Community

Title: Can't recognize USB device after build new imag [Print This Page]

Author: erenes    Time: 4/3/2020 11:11
Title: Can't recognize USB device after build new imag
Hello,

I am using FireFly-RK3399 Board for Android7.1
I made image and updated to board.  It can boot and can see on EDP lcd.
But when I connect to my PC,  PC doesn't recognize USB device.

Here is what I have done....


1. I followed this wiki page (Build Android7.1)
   http://wiki.t-firefly.com/en/Fir ... id7.1_firmware.html
   
   My computer : Ubuntu14.  8G RAM.  300GB disk space
   
2. Installed OpenJDK8
   Done Ubunt13.10/14.04 packages install
   Installed ARM cross compiling toolchain
   
3. Downloaded Android7.1SDK and Bundle
4. Unzip and git stuff (git reset --hard,  git rebase FETCH_HEAD)

5. Executed these
    export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
    export PATH=$JAVA_HOME/binPATH
    export CLASSPATH=.JAVA_HOME/libJAVA_HOME/lib/tools.jar
   
6. And I have 8GB RAM, Not 16GB RAM.  So excuted these too.
    export JACK_SERVER_VM_ARGUMENTS=".-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx:4096m"
    out/host/linux-x86/bin/jack-admin kill-server
    out/host/linux-x86/bin/jack-admin start-server
   
7. I have EDP LCD. So I did... "Compile EDP7.85"
    ./FFTools/make.sh -j8 -d rk3399-firefly-edp -l rk3399_firefly_edp_box-userdebug
    ./FFTools/mkupdate/mkupdate.sh -l rk3399_firefly_edp_box-userdebug
   
8. Successfully made image.

9. And updated image using AndroidTool
    rockdev/Firefly-RK3399_Android7.1.2_EDP785_200402.img
  
10. Successfully updated.  And can see Android launcher in  EDP LCD

11. And I connected USB to Computer.  But Computer(Windows, Ubuntu14) can not recognize device.
    In device manager, just can see "USB Composite Device"  

   
What did I miss ??  





Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1