天空

天空

0个粉丝

2

问答

0

专栏

0

资料

天空  发布于  2021-07-15 10:05:45
采纳率 0%
2个问答
2573

如何点亮7寸显示屏?

 

第一步:cd /ko目录, cp sys_config.ko_mipi sys_config.ko
第二步:在/ko目录下运行./mipi_4lane_800*480.sh
第三步:将百度网盘中的sample_tde运行,参数为1,

我需要测试配套的7寸屏是否好的。如何点亮?照着上述步骤测试,到了第二步,屏幕确实变亮了,但是一片白,没显示任何内容。
到了第三步,提示根本没有参数1,只有参数0.执行参数0,屏幕直接变黑了。以下是终端输出:

/ko # ./mipi_4lane_800480.sh
** Board tools : ver0.0.1_20121120 *

i2c_num:0x2, dev_addr:0x58; reg_addr:0x20; data:0x20; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x21; data:0xe0; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x22; data:0x13; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x23; data:0xd2; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x24; data:0x1; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x25; data:0x2e; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x26; data:0x0; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x27; data:0x16; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x28; data:0x1; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x29; data:0x17; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x34; data:0x80; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x36; data:0xd2; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120
debug: {source/utils/cmdshell.c:168}cmdstr:i2random: fast init done
c_write
i2c_num:0x2, dev_addr:0x58; reg_addr:0xb5; data:0xa0; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x5c; data:0xff; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x2a; data:0x1; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x56; data:0x90; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x6b; data:0x71; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x69; data:0x29; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x10; data:0x55; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x11; data:0x88; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0xb6; data:0x20; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x51; data:0x20; reg_width: 1; data_width: 1.
[END]
Board tools : ver0.0.1_20121120

i2c_num:0x2, dev_addr:0x58; reg_addr:0x9; data:0x10; reg_width: 1; data_width: 1.
[END]
/ko # mount -t nfs -o nolock 192.168.100.141:/home/yqq/nfs_dir /mnt
/ko # cd /mnt
/mnt # ls
mipi_4lane_800x480.sh sample_vio_mipi0
sample_tde sample_vio_mipi2
/mnt # ./sample_tde 1
[main]-588: index invaild!only support index 0, please try again.
[sample_usage1]-618: Usage : ./sample_tde
[sample_usage2]-610:

/**index**/
[sample_usage2]-611: please choose the case which you want to run:
[sample_usage2]-612: 0: circumrotate
/mnt # ./sample_tde 0
[main]-598:
index 0 selected.
[SAMPLE_COMM_VO_StartChn]-610: u32Width:800, u32Height:480, u32Square:1
[SAMPLE_PRIVATE_VO_InitMipiTxDev]-3916: error: mipi_tx dev has not been initialized yet
*stVoCSC.enCscMatrix=9
error when open pszFileName res/background.bits, line:141
error when open pszFileName res/apple.bits, line:141
error when open pszFileName res/applets.bits, line:141
error when open pszFileName res/calendar.bits, line:141
error when open pszFileName res/foot.bits, line:141
error when open pszFileName res/gmush.bits, line:141
error when open pszFileName res/gimp.bits, line:141
error when open pszFileName res/gsame.bits, line:141
error when open pszFileName res/keys.bits, line:141
Line:241 failed,ret=0xa0648006!
Line:241 failed,ret=0xa0648006!
Line:241 failed,ret=0xa0648006!
Line:241 failed,ret=0xa0648006!
Line:241 failed,ret=0xa0648006!
Line:241 failed,ret=0xa0648006!
Line:241 failed,ret=0xa0648006!

我来回答
回答2个
时间排序
认可量排序

balabala

0个粉丝

0

问答

0

专栏

33

资料

balabala 2021-07-15 10:31:15
认可1

把res目录移到可执行程序的同级目录,不然屏不会有显示

天空

0个粉丝

2

问答

0

专栏

0

资料

天空 2021-07-19 17:28:07
认可0

谢谢,屏幕点亮了。但是不是满屏,只有一大半。

或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区