Jump to content

Recommended Posts

Posted

Hello.

I am trying to have this new(?) tv box built around a RK3228A cpu detect the correct resolution of my monitor. In U-boot, I get a correct full HD 1920x1080p resolution. However, as soon as the U-Boot passes to the kernel, it switches to 1024x768. How can I correct this? If I can't correct the detection of EDID, can I force it?

 

I've tried to add this to /boot/armbianEnv.txt, but it did not work :

extraargs=drm_kms_helper.edid_firmware=HDMI-A-1:edid/1920x1080.bin video=HDMI-A-1:1920x1080@60

 

Any ideas?

Thanks!

Posted

Some more info :

 

dmesg has this error message :

rockchip-drm display-subsystem: [drm] User-defined mode not supported: "1920x1080": 60 173106 1920 2048 2248 2576 1080 1083 1088 1120 0x20 0x6

Sure enough, when I do a 

cat /sys/class/drm/card0-HDMI-A-1/modes

I get

1024x768
800x600
800x600

 

No 1920x1080 mode is listed.

 

Any ideas?

 

 

Posted

Hi,

 

can you provide logs with:

 

PASTE_SERVER_HOST=paste.armbian.de armbianmonitor -u

 

Also, take a look at this thread how to force a mode using boot parameters and Xorg config.

https://forum.armbian.com/topic/46932-5-inch-hdmi-display-not-working/#comment-206059

 

I suggest you connect your monitor to a linux system which supports it and gather the modelines there with:

xrandr --verbose

Then you can try to force that missing mode.

Cheers

Posted

Yes,

The 1920x1080.bin file comes with Armbian. I use the multitool to flash https://github.com/armbian/community/releases/download/25.8.0-trunk.309/Armbian_community_25.8.0-trunk.309_Rk322x-box_bookworm_current_6.12.35_minimal.img.xz , this is the latesst build.

 

On a Libre Renegade board I have (rk3328 CPU instead of rk3228 for this TV box), I have the same issue where it reverts to 1024x768, and adding the line extraargs=drm.edid_firmware=edid/1920x1080.bin to armbianEnv.txt fixes the issue, with the Armbian provided 1920x1080.bin file.

 

To me, since it works fine under U-Boot, this hints at an Armbian bug.

Posted

Well, since this same edid file I use on the Libre Renegade board works perfectly fine with this same monitor, I think the file is ok.

This link you provide is the one I followed, I tried most of the things in there, as well as a bunch of stuff I found from other users.

 

Again, since this works on U-Boot, this points at something defective on Armbian and how the edid communication happens.

 

This Armbian kernel that came with the armbian image I downloaded it from the armbian github as a part of the image I use on my device. I did not build it. I would think it was the Armbian team, correct?

Posted

Can you check if you can pass drm.debug=0x4 to the kernel command line and see if you get more info ?

If yes, paste here the boot log.

Posted

I modified the armbianEnv.txt file :

verbosity=1
extraargs=coherent_pool=2M
bootlogo=false
overlay_prefix=rk322x
fdtfile=rk322x-box.dtb
rootdev=UUID=87d2bf72-4b91-4d33-8f77-284fa91fc3a7
rootfstype=ext4
extraargs=drm_kms_helper.edid_firmware=HDMI-A-1:edid/1920x1080.bin video=HDMI-A-1:1920x1080@60 drm.debug=0x4
overlays=
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u

 

This is apparently preventing the tv box from booting, I lost access. I will have to flash it again with the multitool to get back in, and this will have to wait on monday, since I was remoting into it at the office.

 

Thanks for your help! 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines