N2 Custom Resolution, I need help.

Post Reply
bluebeelab
Posts: 4
Joined: Tue Jun 11, 2019 5:14 pm
languages_spoken: english
ODROIDs: N2, XU4
Has thanked: 0
Been thanked: 0
Contact:

N2 Custom Resolution, I need help.

Unread post by bluebeelab » Wed Jun 12, 2019 5:40 pm

I want to use 1920x720 LCD for N2.
I checked the operating frequency of LCD through the link below.
 "https://wiki.odroid.com/odroid-c2/appli ... utosetting"
Of course, we've confirmed Linux is operating on an external monitor.

setenv display_autodetect "false"
setenv hdmimode "custombuilt"
setenv model "1920, 720, 100980, 45900, 60, 1920, 2008, 2052, 2200,
setenv customwidth "1920"
setenv customheight "720"

I set it like above, but only the hard kernel image is displayed at boot time, and the screen does not appear.

The captured log is as follows.

[0.528911@4] hdmitx: hdmitx_set_current_vmode [3472]
[0.528919@4] hdmitx: system: recalc before custombuilt 60 1
[0.528929@4] hdmitx: system: recalc after custombuilt 60 1
[0.528938@4] hdmitx: system: get current mode: custombuilt
[0.528946@4] hdmitx: system: update rx hdr info 0
[0.528953@4] hdmitx: system: update physcial size: 16 9
[0.528990@4] hdmitx: video: already init VIC = 0 Now VIC = 129
[0.528999@4] hdmitx: video: rx edid only support RGB format
[0.529007@4] hdmitx: hw: div40: 0
[0.535547@0] hdmitx: system: irq 4
[0.555544@0] hdmitx: system: irq 2
[0.561232@4] hdmitx: this mode does not have frac_rate
[0.561241@4] hdmitx: frac_rate = 1
[0.561251@4] hdmitx: [N2] [hdmitx_set_clk_] vic == HDMI_CUSTOMBUILT, frac_freq 100980
[0.561261@4] hdmitx: config HPLL = 1009800 frac_rate = 0
[0.561268@4] hdmitx: error hpll clk: 1009800

[0.561276@4] hdmitx: m1 0x29, m2 0x2a, m 0x3b000429
[0.561793@4] hdmitx: pll [0x4000320] reset 10 times
[0.561800@4] hdmitx: HPLL: 0x1b000429
[0.561807@4] hdmitx: config HPLL done
[0.561817@4] hdmitx: set_hpll_od3_clk_div [610] div = 6
[0.561828@4] hdmitx: j = 27 vid_clk_div = 1
[0.561850@0] hdmitx: system: irq 80000001
[0.563464@0] hdmitx: Start = 0x10000100 End = 0x100001ff
[0.563478@0] hdmitx: [0x10000104]: 0x00000001
[0.563540@0] hdmitx: [0x10000180]: 0x000000ff
[0.563550@0] hdmitx: [0x10000181]: 0x000000ff
[0.563560@0] hdmitx: [0x10000182]: 0x00000003
[0.563570@0] hdmitx: [0x10000183]: 0x00000007
[0.563580@0] hdmitx: [0x10000184]: 0x0000003f
[0.563590@0] hdmitx: [0x10000185]: 0x00000002
[0.563601@0] hdmitx: [0x10000187]: 0x000000ff
[0.563611@0] hdmitx: [0x10000188]: 0x00000003
[0.564849@4] hdmitx: hw: config hdmitx IP vic = 129 cd: 4 cs: 0
[0.564952@0] hdmitx: system: irq 80000001
[0.564973@0] hdmitx: Start = 0x10000100 End = 0x100001ff
[0.564985@0] hdmitx: [0x10000104]: 0x00000001
[0.565047@0] hdmitx: [0x10000180]: 0x000000ff
[0.565056@0] hdmitx: [0x10000181]: 0x000000ff
[0.565066@0] hdmitx: [0x10000182]: 0x00000003
[0.565076@0] hdmitx: [0x10000183]: 0x00000007
[0.565086@0] hdmitx: [0x10000184]: 0x0000003f
[0.565096@0] hdmitx: [0x10000185]: 0x00000002
[0.565106@0] hdmitx: [0x10000187]: 0x000000ff
[0.565116@0] hdmitx: [0x10000188]: 0x00000003
[0.699336@4] hdmitx: video: Sink is HDMI device
[0.699363@4] hdmitx: hw: set audio
[0.699373@4] hdmitx: hw: hdmitx tx_aud_src = 1
[0.699391@4] hdmitx: fs = 0, cd = 4, tmds_clk = 100980
[0.699398@4] hdmitx: hw: aud_n_para = 6144
[0.699411@4] hdmitx: hw: set channel status


I think there is a problem with the frequency setting as above. How can I fix it?

Please Help.

joy
Posts: 805
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 4 times
Been thanked: 18 times
Contact:

Re: N2 Custom Resolution, I need help.

Unread post by joy » Wed Jun 12, 2019 6:31 pm

bluebeelab wrote:
Wed Jun 12, 2019 5:40 pm
I want to use 1920x720 LCD for N2.
I checked the operating frequency of LCD through the link below.
 "https://wiki.odroid.com/odroid-c2/appli ... utosetting"
Of course, we've confirmed Linux is operating on an external monitor.

setenv display_autodetect "false"
setenv hdmimode "custombuilt"
setenv model "1920, 720, 100980, 45900, 60, 1920, 2008, 2052, 2200,
setenv customwidth "1920"
setenv customheight "720"
Hi bluebeelab,
The env parameter format is wrong. :(

Have you tried display_autodetect mode?
With the pixel clock 100.98MHz, N2 hdmi driver is available to make it.

Or please share the timing of your LCD.
I will check the spec and make a modeline example of boot.ini for you.

bluebeelab
Posts: 4
Joined: Tue Jun 11, 2019 5:14 pm
languages_spoken: english
ODROIDs: N2, XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: N2 Custom Resolution, I need help.

Unread post by bluebeelab » Thu Jun 13, 2019 8:49 am

Hi joy,

Of course, I also tried the display_autodetect mode, but doesn't work.
I'll attach datasheets of LCD and LVDS-HDMI board.
And I'll attach the boot.ini.
Please check.
Thank you.
Attachments
boot.ini
N2's boot.ini
(6.23 KiB) Downloaded 3 times
lvds-hdmi-CDT123HDMI.pdf
LVDS-HDMI Board
(108.9 KiB) Downloaded 3 times
lcd_S123AWU01ES.pdf
LCD's Datasheet
(948.37 KiB) Downloaded 3 times

joy
Posts: 805
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 4 times
Been thanked: 18 times
Contact:

Re: N2 Custom Resolution, I need help.

Unread post by joy » Thu Jun 13, 2019 10:56 am

Hi bluebeelab,
Thanks for sharing them.

I was confused that there were some missing point in your boot.ini by the parameters you shared.
But, it was not. Your modification of boot.ini is perfect. ;)

Let me check the spec more and try to reproduce the abnormal pixel clock issue here.

Theretofore, I want to check one point of [progress mode] value.
Can you try this and check the log pattern?

Code: Select all

setenv modeline "1920,720,100980,45900,60,1920,2008,2052,2200,720,724,729,765,0,0,1"
setenv customwidth "1920"
setenv customheight "720"

bluebeelab
Posts: 4
Joined: Tue Jun 11, 2019 5:14 pm
languages_spoken: english
ODROIDs: N2, XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: N2 Custom Resolution, I need help.

Unread post by bluebeelab » Thu Jun 13, 2019 1:32 pm

Hi joy,
Thanks, quick response.

I applied the values you gave, but the results are the same.
After the Hardkernel Logo appears on the splash screen, the screen does not appear.

I tried experimenting with two modes of display_autodetect.
I experimented with 13" 1920x1080 and 12.3"(target) 1920x720.
And I attached the log.

In display_autodetet mode, the resolution supported by the monitor is recorded in the log.

# 12.3" 1920x720 monitor
Manufacturer: MST Model 30 Serial Number 1
EDID version: 1.3
Established timings supported:
640x480@60Hz
1024x768@60Hz
Standard timings supported:
256x160@60Hz
256x160@60Hz
256x160@60Hz
256x160@60Hz
256x160@60Hz
Detailed mode (1) : Clock 100 MHz, 760 mm x 450 mm
1920 2008 2052 2200 hborder 0
720 724 729 765 vborder 0
+hsync +vsync
Dummy block
Dummy block
Has 1 extension blocks
Checksum: 0x53 (valid)

CEA extension block
Extension version: 3
28 bytes of CEA data
VIC 5 1920x1080i@60Hz
VIC 4 1280x720@60Hz
VIC 3 720x480@60Hz
VIC 19 1280x720@50Hz
VIC 18 720x576@50Hz
VIC 34 1920x1080@30Hz
VIC 33 1920x1080@25Hz
VIC 32 1920x1080@24Hz
VIC 31 1920x1080@50Hz
VIC 30 1440x576@50Hz
VIC 29 1440x576@50Hz
VIC 15 1440x480@60Hz
VIC 14 1440x480@60Hz
Linear PCM, max channels 2
Vendor-specific data block, OUI 000c03 (HDMI)
Detailed mode (1) : Clock 74 MHz, 698 mm x 392 mm
1920 2008 2052 2200 hborder 0
540 542 547 562 vborder 0
+hsync +vsync interlaced
Detailed mode (1) : Clock 74 MHz, 698 mm x 392 mm
1280 1390 1430 1650 hborder 0
720 725 730 750 vborder 0
+hsync +vsync
Detailed mode (1) : Clock 27 MHz, 698 mm x 392 mm
720 736 798 858 hborder 0
480 489 495 525 vborder 0
-hsync -vsync
Detailed mode (1) : Clock 74 MHz, 698 mm x 392 mm
1920 2448 2492 2640 hborder 0
540 542 547 562 vborder 0
+hsync +vsync interlaced
Detailed mode (1) : Clock 74 MHz, 698 mm x 392 mm
1280 1720 1760 1980 hborder 0
720 725 730 750 vborder 0
+hsync +vsync
Checksum: 0x53 (valid)

EDID block does NOT conform to EDID 1.3!
Name descriptor not terminated with a newline
Missing monitor ranges

# 13" 1920x1080 monitor
Manufacturer: UPD Model 4843 Serial Number 1
EDID version: 1.3
Established timings supported:
720x400@70Hz
720x400@88Hz
640x480@60Hz
640x480@72Hz
640x480@75Hz
800x600@56Hz
800x600@60Hz
800x600@72H
800x600@75Hz
1024x768@60Hz
1024x768@70Hz
1024x768@75Hz
1280x1024@75Hz
1152x870@75Hz
Standard timings supported:
1600x900@60Hz
1280x960@85Hz
1280x1024@60Hz
1024x768@85Hz
800x600@85Hz
640x480@85Hz
640x400@85Hz
640x360@85Hz
Detailed mode (1) : Clock 148 MHz, 531 mm x 298 mm
1920 2008 2052 2200 hborder 0
1080 1084 1089 1125 vborder 0
+hsync +vsync
Detailed mode (1) : Clock 27 MHz, 708 mm x 398 mm
720 736 798 858 hborder 0
480 489 495 525 vborder 0
-hsync -vsync
Monitor ranges (GTF): 25-90Hz V, 25-91kHz H, max dotclock 160MHz
Has 1 extension blocks
Checksum: 0x69 (valid)

CEA extension block
Extension version: 3
37 bytes of CEA data
VIC 7 1440x480i@60Hz
VIC 3 720x480@60Hz
VIC 22 1440x576i@50Hz
VIC 18 720x576@50Hz
VIC 4 1280x720@60Hz
VIC 19 1280x720@50Hz
VIC 5 1920x1080i@60Hz
VIC 20 1920x1080i@50Hz
VIC 16 1920x1080@60Hz (native)
VIC 31 1920x1080@50Hz
VIC 33 1920x1080@25Hz
VIC 34 1920x1080@30Hz
VIC 32 1920x1080@24Hz
Linear PCM, max channels 2
RESERVED, max channels 5
RESERVED, max channels 6
Vendor-specific data block, OUI 000c03 (HDMI)
Supports_AI
Detailed mode (1) : Clock 27 MHz, 708 mm x 398 mm
720 736 798 858 hborder 0
480 489 495 525 vborder 0
-hsync -vsync
Detailed mode (1) : Clock 74 MHz, 708 mm x 398 mm
1920 2008 2052 2200 hborder 0
540 542 547 562 vborder 0
+hsync +vsync interlaced
Checksum: 0xb1 (valid)

EDID block does NOT conform to EDID 1.3!
Name descriptor not terminated with a newline

One more thing I tried, when connected to a 4K monitor, the screen was displayed in the 1920x720 area. With the message that the input frequency range is out of the monitor.

If so, should N2 be considered to be working normally?
Attachments
screenlog.(autodetect)20190613-1920x720.txt
display_autodetect "true"
(103.53 KiB) Downloaded 2 times
screenlog.(autodetect)20190613-1920x1080.txt
display_autodetect "true"
(101.67 KiB) Downloaded 2 times
screenlog.20190613-1920x1080.txt
display_autodetect "false"
(93.4 KiB) Downloaded 2 times
screenlog.20190613-1920x720.txt
display_autodetect "false"
(91.56 KiB) Downloaded 2 times

bluebeelab
Posts: 4
Joined: Tue Jun 11, 2019 5:14 pm
languages_spoken: english
ODROIDs: N2, XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: N2 Custom Resolution, I need help.

Unread post by bluebeelab » Thu Jun 13, 2019 2:14 pm

Hi joy,

I tested some devices. A PC on Linux, Macbook, and Odroid-C2 works fine.

I used to "selfinstall-odroidc2-eng-s905_6.0.1_master-107-v4.9" android image on Odroid-C2.
boot.ini has not been modified and has been run with Auto detect mode.

Is the driver of Odroid-N2's problem?
Attachments
N2-booting.png
N2-booting.png (1.04 MiB) Viewed 72 times
N2-no signal.jpg
N2-no signal.jpg (62.7 KiB) Viewed 72 times
C2-autodetect.png
C2-autodetect.png (1.16 MiB) Viewed 72 times

Post Reply

Return to “Android”

Who is online

Users browsing this forum: No registered users and 0 guests