display:rk3288随笔

http://www.t-firefly.com/doc/download/page/id/4.html

  1. 安装:RK驱动助手
  2. 安装:windows固件升级工具
  3. 下载:Ubuntu系统
  4. 下载:linux-sdk gpt源码包
  • 根据wiki设置rk3288进去maskrom
  • 打开Android_tool

     

  • 升级为ubuntu[选中固件,擦除flash,升级固件]

本地编译版本

  • build.sh脚本运行完成后,会将分区镜像和统一固件update.img放在rockdev/目录下,同时创建IMAGE/目录备份。

烧写本地image

  •  

  •  

  • 烧录成功 

    测试hdmi以及touch功能是否正常

    • 成功点亮,weston log以及kernellog关键如下

    • [12:15:26.150] event4  - [12:15:26.150] eGalax Inc. eGalaxTouch EXC3146-1934-05.00.00: [12:15:26.150] is tagged by udev as: Touchscreen
      [12:15:26.150] event4  - [12:15:26.150] eGalax Inc. eGalaxTouch EXC3146-1934-05.00.00: [12:15:26.150] device is a touch device
      
      [12:15:26.445] EDID data 'LLP', '32V3H-H6A', '1'
      [12:15:26.445] Output HDMI-A-1, (connector 81, crtc 57)
                     mode [email protected], preferred, current
                     mode [email protected]
                     mode [email protected]
                     mode [email protected]
                     mode [email protected]
                     mode [email protected]
                     mode [email protected]
                     mode [email protected]
      
      
      ======
      [    4.820742] input: eGalax Inc. eGalaxTouch EXC3146-1934-05.00.00 as /devices/platform/ff540000.usb/usb1/1-1/1-1.1/1-1.1:1.0/0003:0EEF:C000.0001/input/input4
      [    4.892968] hid-multitouch 0003:0EEF:C000.0001: input,hiddev0,hidraw0: USB HID v2.10 Pointer [eGalax Inc. eGalaxTouch EXC3146-1934-05.00.00] on usb-ff540000.usb-1.1/input0
      

      weston代码位置:/work/rk3288/buildroot/output/rockchip_rk3288/build/weston-3.0.0
      对应的initrc:/work/rk3288/buildroot/board/rockchip/common/qtapp/etc/init.d/S50launcher

  • 安装vysor for ubuntu

 

尝试yocto的rk3288包,这个更加符合我目前的工作情况

http://rockchip.wikidot.com/yocto-user-guide

https://github.com/rockchip-linux/manifests

# default Yocto/Pyro release for Rockchip 
repo init --repo-url=https://github.com/rockchip-linux/repo --no-clone-bundle  -u https://github.com/rockchip-linux/manifests -b yocto -m pyro.xml

#RK3288/Release
repo init --repo-url=https://github.com/rockchip-linux/repo --no-clone-bundle -u https://github.com/rockchip-linux/manifests -b master -m rk3288_linux_release.xml

 

  1. repo init --repo-url=https://github.com/rockchip-linux/repo --no-clone-bundle -u https://github.com/rockchip-linux/manifests -b master -m rk3288_linux_release.xml
  2. repo sync -c --no-tags
    1. 1.error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
      export GIT_TRACE_PACKET=1; export GIT_TRACE=1; export GIT_CURL_VERBOSE=1
      git config --global http.postBuffer 1048576000 //1G buffer
      git config --global core.compression -1
      
      repo init --depth=1
      如果之后又想获取完整历史信息,可以使用下面的命令:
      $ git fetch --unshallow
      
      
      
  3. sudo apt-get install gawk wget git-core diffstat unzip texinfo build-essential chrpath socat cpio python python3 libsdl1.2-dev xterm make xsltproc docbook-utils fop dblatex xmlto python-git libssl-dev pv python3-pip python3-pexpect
  4. MACHINE=firefly-rk3288  DISTRO=rk-wayland  . ./setup-environment  -b  rk-wayland/

Error 1:

bb.data_smart.ExpansionError: Failure expanding variable AVAILABLE_LICENSES[:=], expression was ${@' '.join(available_licenses(d))} which triggered exception FileNotFoundError: [Errno 2] No such file or directory: '/home/maze/work/rk-yocto-bsp/sources/meta-rockchip-extra/licenses'



FIXED:
 2102  cd meta-rockchip-extra/
 2103  ls
 2104  ls -al
 2105  mkdir licenses

Error 2: 

bitbake world

ERROR: Layer 'browser-layer' depends on layer 'clang-layer', but this layer is not enabled in your configuration

FIXED:
1.sources/meta-openembedded$ git clone git://github.com/kraj/meta-clang
2.vim rk-wayland/conf/bblayers.conf  +${BSPDIR}/sources/meta-openembedded/meta-clang \

dynamic_debug:

root@sa8155:/data/test# echo "file drivers/gpu/drm/* +p " > /sys/kernel/debug/dynamic_debug/control 
root@sa8155:/data/test# echo 8 > /proc/sys/kernel/printk
 

 

 

 

For git learning

https://learngitbranching.js.org/

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章