请问D1 tina v1.0.0 是不是默认支持了自带的mipi屏幕, 可是为什么我的没有显示呢?背光是亮的
-
me@ubuntu:/opt/lichee/brandy-2.0/u-boot-2018$ git log . commit 0a88ac94ab4c4c7942423d3b447e6a147fae7fbd (HEAD -> product-smartx-d1-tina-v1.0-release, tag: smartx-d1-tina-v1.0.1-release, tag: smartx-d1-tina-v1.0.0-release, tina/product-smartx-d1-tina-v1.0-release, m/master) Author: liwencong <liwencong@allwinnertech.com> Date: Fri Apr 30 19:23:28 2021 +0800 smartx-d1-tina-v1.0.0-release release me@ubuntu:/opt/lichee/brandy-2.0/u-boot-2018$
烧这个固件可以显示:
https://d1.docs.aw-ol.com/source/3_getimg/ -
v 1.0.1 默认是支持了的v1.0.0不是很清楚,开机确实会显示哪吒的logo.
-
@bedrock 请问怎么更新 v1.0.1呢?
-
@memory 拿到代码,repo sync就是最新的
-
$ repo sync Fetching project repo Fetching project lichee/brandy-2.0/tools Fetching project product/tina/dl Fetching project lichee/device/config/d1 Fetching projects: 23% (4/17) Fetching project lichee/brandy-2.0/opensbi Fetching projects: 29% (5/17) Fetching project lichee/linux-5.4 Fetching projects: 35% (6/17) Fetching project lichee/brandy-2.0/u-boot-2018 Fetching projects: 41% (7/17) Fetching project product/tina/package Fetching projects: 47% (8/17) Fetching project product/tina/prebuilt Fetching projects: 52% (9/17) Fetching project product/tina/build Fetching projects: 58% (10/17) Fetching project product/tina/tools Fetching projects: 64% (11/17) Fetching project product/tina/target Fetching projects: 70% (12/17) Fetching project lichee/brandy-2.0/spl Fetching projects: 76% (13/17) Fetching project product/tina/config Fetching projects: 82% (14/17) Fetching project lichee/device/config/common Fetching projects: 88% (15/17) Fetching project product/tina/scripts Fetching projects: 94% (16/17) Fetching project product/tina/toolchain Fetching projects: 100% (17/17) Fetching projects: 100% (17/17), done.
我再试一试.
-
貌似可以了, 感谢楼上两位大佬.
-
触摸校正正常, 其实电容屏不需要校正, ( 逃
-
@memory 在 请问D1 tina v1.0.0 是不是默认支持了自带的mipi屏幕, 可是为什么我的没有显示呢?背光是亮的 中说:
触摸校正正常, 其实电容屏不需要校正, ( 逃
又是一个小功能
-
先整个LVGL上去看看效果, 触摸屏还没整合.
-
@memory 请问这个LVGL怎么搞上去的?有没有玩的教程?
-
把编译好的 lvgl 复制到 target/allwinner/d1-nezha/base-files/usr/bin/ 目录, 然后 make;pack 重烧, 命令行运行就可以了.
-
此回复已被删除! -
@memory 烧进去了咋运行,找不到烧哪儿了
-
@xiaoliqi 在 请问D1 tina v1.0.0 是不是默认支持了自带的mipi屏幕, 可是为什么我的没有显示呢?背光是亮的 中说:
@memory 烧进去了咋运行,找不到烧哪儿了
晚点我发个烧录固件上来
-
添加开机脚本文件 /etc/init.d/lvgldemo
#!/bin/sh /etc/rc.common START=99 STOP=15 start(){ echo start lvgl demo /usr/bin/lvgl_demo & } stop(){ echo stop demo } restart(){ echo restart demo } enable(){ echo enable demo } disable(){ echo disable demo }
现在可以开机运行了, 准备打包 img 文件.
-
ubuntu:/opt/d1$ find . |grep lvgl_demo$ ./out/d1-nezha/staging_dir/target/rootfs/usr/bin/lvgl_demo ./out/d1-nezha/compile_dir/target/linux-d1-nezha/base-files/ipkg-sunxi/base-files/usr/bin/lvgl_demo ./target/allwinner/d1-nezha/base-files/usr/bin/lvgl_demo ubuntu:/opt/d1$ ubuntu:/opt/d1$ find . |grep lvgldemo$ ./out/d1-nezha/staging_dir/target/rootfs/etc/init.d/lvgldemo ./out/d1-nezha/compile_dir/target/linux-d1-nezha/base-files/ipkg-sunxi/base-files/etc/init.d/lvgldemo ./target/allwinner/d1-nezha/base-files/etc/init.d/lvgldemo
尴尬了, 虽然查看 文件系统有文件, 但是打包的 img 里面却没有 /usr/bin/lvgl_demo
-
哪吒D1开发板 LVGL7 源码下载, 带git仓库
https://bbs.aw-ol.com/topic/303 -
@memory 效率拉满
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号