Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
Author: WlodzimierzH

[Mini 2] HDMI-DVI converter failure (no screen)

[Copy link]

0

Threads

8

Posts

127

Credits

Registered member

Rank: 2

Credits
127
Post time 2015-11-16 19:27:33 | Show all posts
matteobp replied at 2015-11-14 00:16
I'm interested in using 1280x1024 res for 4:3 displays with a hdmi to vga converter cable, but I hav ...

This uImage is for OPI-2 and OPI-PC only.

I compiled a version for the OPI-PLUS also, here it is:

https://www.sendspace.com/file/2u5htd

Its only the uImage.

Your script.bin (script.fex) must have following configuration:

for 1024x768:
  1. screen0_output_type = 3
  2. screen0_output_mode = 4
Copy the Code


for 1280x1024:
  1. screen0_output_type = 3
  2. screen0_output_mode = 5
Copy the Code


0

Threads

23

Posts

114

Credits

Registered member

Rank: 2

Credits
114
Post time 2015-11-19 09:45:05 | Show all posts
Edited by marekwolek at 2015-11-19 02:47
dni replied at 2015-11-13 16:51
try this uImage and script.bin

it has 1280x1024 res for 4:3 displays

Not work . HDMI -VGA not work because HDMI IS DEAD !!!!
http://www.orangepi.org/orangepi ... d=644&extra=&page=2

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

0

Threads

23

Posts

114

Credits

Registered member

Rank: 2

Credits
114
Post time 2015-11-22 05:49:47 | Show all posts
loboris replied at 2015-11-4 18:45
If you can connect it to another monitor, or if you can connect via ssh, download update_kernel.sh ...

HDMI IS DEAD !

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

0

Threads

23

Posts

114

Credits

Registered member

Rank: 2

Credits
114
Post time 2015-11-22 05:51:02 | Show all posts
Edited by marekwolek at 2015-11-21 23:11
loboris replied at 2015-11-4 18:45
If you can connect it to another monitor, or if you can connect via ssh, download update_kernel.sh ...

HDMI IS DEAD !
Power Supply  have 5V DC but 88V AC !
Problem :
Circuit AC does not be isolate since DC.
The lack of protections the ESD caused the  damage the HDMI.

0

Threads

23

Posts

114

Credits

Registered member

Rank: 2

Credits
114
Post time 2015-11-22 06:20:55 | Show all posts
tk5ju replied at 2015-11-14 17:06
ok,

thank you for your help but is not running.

The lack of protections the ESD caused the  damage the HDMI.
Factory saved on protections 2 ..3 $  you lost 39 $

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

4

Threads

12

Posts

48

Credits

Novice

Rank: 1

Credits
48
Post time 2015-11-22 18:15:27 | Show all posts
jamante replied at 2015-11-3 12:42
just want to share my experience in getting my Orange Pi PC work on HPW1907 montor with DVI connecti ...

Hi, Jamante: I only have an old monitor support 1024*768 DVI only, should I following your steps above with below changes in script.fex file to support that monitor?
Is there any extra steps I need to follow? And do you know the steps only support Linux (Ubuntu etc) or Android OS can follow those steps as well?

Thanks!


for 1024x768:
  • screen0_output_type = 3
  • screen0_output_mode = 4

[color=rgb(51, 102, 153) !important]Copy the Code



4

Threads

12

Posts

48

Credits

Novice

Rank: 1

Credits
48
Post time 2015-11-25 13:02:29 | Show all posts
dni replied at 2015-11-13 23:51
try this uImage and script.bin

it has 1280x1024 res for 4:3 displays

Hello Dni:
Could you kindly share the kernel source with modified HDMI resolution which supports 4:3 display, I would like to port it to Android OS.

I really need the H3 android OS support 4:3 HDMI display resolution. If you would like to discuss it further, feel free to drop me an email @ hong.roger18@gmail.com Thanks a lot!


Roger

0

Threads

8

Posts

127

Credits

Registered member

Rank: 2

Credits
127
Post time 2015-11-26 17:45:36 | Show all posts
the changes are in the following git:
https://github.com/dni1337/OrangePI-Kernel

4

Threads

12

Posts

48

Credits

Novice

Rank: 1

Credits
48
Post time 2015-11-27 16:12:10 | Show all posts
dni replied at 2015-11-26 17:45
the changes are in the following git:
https://github.com/dni1337/OrangePI-Kernel

Hi, Dni:
Thanks for your help! I downloaded your UImage for OrangePI PC and test the following resolution:

When set the mode to 1280*1024 (screen0_output_mode = 5) it works fine
when set the mode to 1024*768 (screen0_output_mode = 4) , the output is NOT 1024*768,  it is something like 1792*768.


Could you  kindly confirm if below configration is OK for 1024*768 or other settings are needed to get 1024*768 resolution.


Thanks!
Roger


[boot_disp]
advert_disp = 0
auto_hpd = 1
output_type = 4
hdmi_channel = 0
hdmi_group = 2
hdmi_mode = 35
cvbs_channel = 1
cvbs_mode = 11
output_full = 1
hdmi_mode_check = 1

[disp_init]
disp_init_enable = 1
disp_mode = 0
screen0_output_type = 3
screen0_output_mode = 4
screen1_output_type = 0
screen1_output_mode = 0
fb0_scaler_mode_enable = 0
fb0_format = 0
fb0_width = 1024
fb0_height = 768
fb1_format = 0
fb1_width = 0
fb1_height = 0

[hdmi_para]
hdcp_enable = 0
hdmi_used = 1
hdmi_power = "vcc-hdmi-18"
hdmi_cts_compatibility = 1


4

Threads

12

Posts

48

Credits

Novice

Rank: 1

Credits
48
Post time 2015-11-27 17:06:07 | Show all posts
roger_gz replied at 2015-11-27 16:12
Hi, Dni:
Thanks for your help! I downloaded your UImage for OrangePI PC and test the following res ...

DNI o you know how to adjust the HDMI PHY setting below, is it needed for setting HDMI output to differnt resolution? Thanks

Roger

static int hdmi_phy_set(struct video_para *video)
{
        unsigned int id;
        unsigned int tmp;

        id = get_vid(video->vic);
        hdmi_writel(0x10020,hdmi_readl(0x10020)&(~0xf000));
        switch(ptbl[id].para[1])
        {
                case 1:
                        if(hdmi_version == 0)
                                hdmi_writel(0x1002c,0x31dc5fc0);
                        else
                                hdmi_writel(0x1002c,0x30dc5fc0);
                        hdmi_writel(0x10030,0x800863C0);
                        hdmi_udelay(10000);
                        hdmi_writel(0x10034,0x00000001);
                        hdmi_writel(0x1002c,hdmi_readl(0x1002c)|0x02000000);
                        hdmi_udelay(200000);
                        tmp = hdmi_readl(0x10038);
                        hdmi_writel(0x1002c,hdmi_readl(0x1002c)|0xC0000000);
                        if(((tmp&0x1f800)>>11) < 0x3d)
                                hdmi_writel(0x1002c,hdmi_readl(0x1002c)|(((tmp&0x1f800)>>11)+2));
                        else
                                hdmi_writel(0x1002c,hdmi_readl(0x1002c)|0x3f);
                        hdmi_udelay(100000);
                        hdmi_writel(0x10020,0x01FFFF7F);
                        hdmi_writel(0x10024,0x8063b000);
                        hdmi_writel(0x10028,0x0F8246B5);
                        break;
                case 2:
                        hdmi_writel(0x1002c,0x39dc5040);
                        hdmi_writel(0x10030,0x80084381);
                        hdmi_udelay(10000);
                        hdmi_writel(0x10034,0x00000001);
                        hdmi_writel(0x1002c,hdmi_readl(0x1002c)|0x02000000);
                        hdmi_udelay(100000);
                        tmp = hdmi_readl(0x10038);
                        hdmi_writel(0x1002c,hdmi_readl(0x1002c)|0xC0000000);
                        hdmi_writel(0x1002c,hdmi_readl(0x1002c)|((tmp&0x1f800)>>11));
                        hdmi_writel(0x10020,0x01FFFF7F);
                        hdmi_writel(0x10024,0x8063a800);
                        hdmi_writel(0x10028,0x0F81C485);
                        break;
                case 4:
                        hdmi_writel(0x1002c,0x39dc5040);
                        hdmi_writel(0x10030,0x80084343);
                        hdmi_udelay(10000);
                        hdmi_writel(0x10034,0x00000001);
                        hdmi_writel(0x1002c,hdmi_readl(0x1002c)|0x02000000);
                        hdmi_udelay(100000);
                        tmp = hdmi_readl(0x10038);
                        hdmi_writel(0x1002c,hdmi_readl(0x1002c)|0xC0000000);
                        hdmi_writel(0x1002c,hdmi_readl(0x1002c)|((tmp&0x1f800)>>11));
                        hdmi_writel(0x10020,0x01FFFF7F);
                        hdmi_writel(0x10024,0x8063b000);
                        hdmi_writel(0x10028,0x0F81C405);
                        break;
                case 11:
                        hdmi_writel(0x1002c,0x39dc5040);
                        hdmi_writel(0x10030,0x8008430a);
                        hdmi_udelay(10000);
                        hdmi_writel(0x10034,0x00000001);
                        hdmi_writel(0x1002c,hdmi_readl(0x1002c)|0x02000000);
                        hdmi_udelay(100000);
                        tmp = hdmi_readl(0x10038);
                        hdmi_writel(0x1002c,hdmi_readl(0x1002c)|0xC0000000);
                        hdmi_writel(0x1002c,hdmi_readl(0x1002c)|((tmp&0x1f800)>>11));
                        hdmi_writel(0x10020,0x01FFFF7F);
                        hdmi_writel(0x10024,0x8063b000);
                        hdmi_writel(0x10028,0x0F81C405);
                        break;
                default:
                        return -1;
        }
        return 0;
}


You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2020-2-20 10:16 GMT+8 , Processed in 0.033905 second(s), 20 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list