Firefly Open Source Community

   Login   |   Register   |
New_Topic
12
New Topic
Print Previous Topic Next Topic

AIO-3399J LVDS

211

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
211

AIO-3399J LVDS

Posted at 5/29/2018 17:49:47      View:8889 | Replies:14        Print      Only Author   [Copy Link] 1#
My problem is that I install Ubuntu firmware from Your download page and try connect first HDMI display and it's works greate. But then I try connect LVDS display, check pinouts many time and look linux setting, but nothing came to display, only backround LED brightness. LVDS display works in HDMI to LVDS converter and pinouts is same than AIO-3399J board. Then I look linux setting (using "xrandr") and I dont find any other than HDMI screen. I look internet that there must be all available screens?

I try find answer from Your forum, but no success. Some information that I need add some *.dts file and recompile kernel, but I think there must be easier option?

Also speaker output not work correctly. Connector right channel doesn't work at all and left output is set right in Ubuntu. Maeby some kernel bug?

Thanks, Pekka
Reply

Use props Report

211

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
211
Posted at 5/29/2018 19:58:56        Only Author  2#
I download kernel tar from gitlab and edit kernel/arch/arm64/configs/firefly_defconfig file parameters:
CONFIG_LCD_MIPI is not set  --> CONFIG_LCD_MIPI=y

and add these lines:
CONFIG_MIPI_DSI=y
CONFIG_RK32_MIPI_DSI=y

used it to compile kernel and install that then. Cant still find LVDS display xrandr or settings editor.
Reply

Use props Report

211

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
211
Posted at 6/1/2018 21:21:03        Only Author  3#
Hi,

Hard kernel learning and now I can compile kernel and flash it to Firefly. But cant still get LVDS singnals. I try rk3399-firefly-linux-edp.dts and get EDP support in Ubuntu. I try rk3399-firefly-linux-mipi.dts and get DSI support. I cant find file rk3399-firefly-aio-linux-lvds.dts. Every information what i found tell to use that file...

Manufactures resource pages I find LVDS configuration details and they use file rk3399-firefly-aio-linux-lvds.dts. I think some information is now wrong...

Sorry my english ;)

Pekka
Reply

Use props Report

211

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
211
Posted at 6/5/2018 01:41:27        Only Author  4#
Hi,

Now there is instructions to compile kernel in AIO-3399J resources. Thanks. I use earlier RK3399 instructions to compile kernel.

Still waiting updates to LVDS instructions...

Learning is funny, but frustraiting when cant find any help.


Pekka
Reply

Use props Report

263

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
263
Posted at 6/6/2018 19:58:49        Only Author  5#
Reply

Use props Report

263

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
263
Posted at 6/7/2018 14:19:48        Only Author  6#
首先用示波器量一下mipi clk是否有输出
775这个片子需要dsi时钟,然后复位,3399发mipi cmd初始化
先不用接屏,正常情况下lvds都会有稳定时钟输出
我就说几个关键点
1、3399 mipi输出时钟要正确稳定;
2:mipi时钟正常后775才能复位发送mipi命令
3、dts命令参数需要根据lvds屏微调几个寄存器,这个需要问东芝拿文档
4、dts里把lvds,edp等都有disabled,保证vop控制器只输出mipi信号
                   -------摘取  Firefly开源技术交流②    ywmen 描述
Reply

Use props Report

211

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
211
Posted at 6/7/2018 16:51:34        Only Author  7#
Hi,

No I have problem to compile kernel:

CC      arch/arm64/kernel/topology.o
arch/arm64/kernel/topology.c: In function ‘parse_cluster’:
arch/arm64/kernel/topology.c:133:40: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 3 [-Wformat-truncation=]
error, forbidden warning: topology.c:133
scripts/Makefile.build:258: recipe for target 'arch/arm64/kernel/topology.o' failed
make[1]: *** [arch/arm64/kernel/topology.o] Error 1
Makefile:983: recipe for target 'arch/arm64/kernel' failed
make: *** [arch/arm64/kernel] Error 2
make: *** Odotetaan keskeneräisiä töitä....

  CC      fs/hfsplus/catalog.o
kernel/relay.c: In function ‘relay_create_buf_file’:
kernel/relay.c:420:35: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
error, forbidden warning: relay.c:420
scripts/Makefile.build:258: recipe for target 'kernel/relay.o' failed
make[1]: *** [kernel/relay.o] Error 1
make[1]: *** Odotetaan keskeneräisiä töitä....
  CC      fs/hfsplus/dir.o
Makefile:983: recipe for target 'kernel' failed
make: *** [kernel] Error 2

CC      fs/xfs/xfs_discard.o
In file included from fs/xfs/xfs_inode.h:22:0,
                 from fs/xfs/xfs_bmap_util.c:28:
fs/xfs/xfs_bmap_util.c: In function ‘xfs_swap_extents_check_format’:
fs/xfs/libxfs/xfs_inode_fork.h:90:30: warning: ‘<<’ in boolean context, did you mean ‘<’ ? [-Wint-in-bool-context]
error, forbidden warning: xfs_inode_fork.h:90
scripts/Makefile.build:258: recipe for target 'fs/xfs/xfs_bmap_util.o' failed
make[2]: *** [fs/xfs/xfs_bmap_util.o] Error 1
make[2]: *** Odotetaan keskeneräisiä töitä....
scripts/Makefile.build:403: recipe for target 'fs/xfs' failed
make[1]: *** [fs/xfs] Error 2
Makefile:983: recipe for target 'fs' failed
make: *** [fs] Error 2


Is the problem in gcc compiler, config file or dts file ?

I use Your instructions on resource page.


BR,
Pekka

Reply

Use props Report

263

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
263
Posted at 6/7/2018 19:52:30        Only Author  8#
Reply

Use props Report

211

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
211
Posted at 6/8/2018 13:09:55        Only Author  9#
Hi,

I make all just exacly with that page instructions. I even reinstall Ubuntu, but still same error. I didnt find any help for that error from internet. Is there a new GCC version of aarch64 compiler? My gcc-aarch46 version is 7.3.0. Did You test that instructions?

Thanks for help.
Pekka
Reply

Use props Report

211

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
211
Posted at 6/10/2018 18:24:13        Only Author  10#
Hi,

Good news! Many hard hours I finly get compiling success. I try Ubuntu 18 whit different computers but every time same erros when compiling. Then I install Ubuntu 16 and have error when try install aarch64 compiler. I then use "sudo apt-get install gcc-5-aarch64-linux-gnu" and get compiling finished. I think that problem can be in aarch64 copiler 7.3.0 version? I used aarch64 version 5.4.0.

Now I get signal to LVDS display and seeing some stripes. I try set LVDS parameters to dts file. After setting parameters correctly (I think so) I only get blank screen, not anymore something abnormal.

xrandr say:
DSI-0 connected 960x1080+0+0

But my display is 1920x1080  15,6" (dual LVDS) AUO G156HTN02.1

Thanks.
Pekka
Reply

Use props Report

Return to List
12
You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list