Title: AIO-3399J LVDS [Print This Page] Author: peksuj Time: 5/29/2018 17:49 Title: AIO-3399J LVDS 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, PekkaAuthor: peksuj Time: 5/29/2018 19:58
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. Author: peksuj Time: 6/1/2018 21:21
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 ;)
PekkaAuthor: peksuj Time: 6/5/2018 01:41
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.
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 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.
PekkaAuthor: peksuj Time: 6/10/2018 18:24
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 for that file. I get error when compiling that: "rk3399-firefly-port.dtsi: No such file or directory". I l
search that in kernel from github but didnt find it. Can I use some other dtsi file?
I try to test changing include files, more errors. Try to use &dsi section to old lvds file but problems with lcd pins...
I think we are very close to success
Thanks,
PekkaAuthor: peksuj Time: 6/13/2018 14:44
I also try use "screen-type = <SCREEN_DUAL_MIPI>;" wich I found in kernel/Documentation/devicetree/bindings/video/rockchip_mipidsi_lcd.txt. But get error for that instance...
I use Your sending dts &dsi section and add to &pinctrl section "lcd_panel_pwr_en" function. It now compile but only single LVDS and no picture in display and trying to make two views in display.
I think that I need go back to Raspberry Pi... I use now about 100 hour and three week only trying to get dual LVDS port to work...
PekkaAuthor: peksuj Time: 6/18/2018 13:58
Hi,
How I can get second LVDS channel to work? I cant get there any signals. I look output with osciloscope and I find signals in first channel but nothing in second channel.
Thanks,
Pekka
Welcome Firefly Open Source Community (https://bbs.t-firefly.com/)