Jump to content

Banana Pi M5 - Console display offset


Mechano

Recommended Posts

Hi there!

I've installed Armbian 23.02.0 Jammy on my Banana Pi M5.

And I'm using 3.5" display with HDMI interface. The screen has a native 480x320 resolution, but accept a range from 640x480 to 1920x1080.

On resolutions over 800x480 is not readable, so I'm able to change resolution with the following line in /boot/armbianEnv.txt 

 

extraargs=video=HDMI-A-1:800x480M@87 fbcon=rotate:0

 

with lower resolutions 800x480 to 640x480 (60 to 87hz) the screen has an offset down of one character line so ther's a blank line up and I don't see login and shell input command down. 

Looking at 16:9 resolutions I see all the text with the minimum of 896x504


I don't know how to set overscan and screen offset up 1 character line with 800x480 o 720x480. Every help will be appreciated.

 

Edited by Mechano
Link to comment
Share on other sites

I've found 2 workarounds... 

The firs one:

 

Change setenv line into boot.cmd with 480p@60 and recompile the boot.scr with the line you find at the end of the file boot.cmd.

And add this line to armbianEnv.txt 

 

extraargs=video=HDMI-A-1:720x480M@60 fbcon=rotate:0

 

I've left rotate to change if I need (values 0, 1, 2, 3).

 

Another workaround I used before find this one was to set a particular resolution of 896x504@87hz it's divisible /8 and permit on this display to see the login.

 

With Raspberry Pi 3B I can set 640x360 and is perfect for this display with linux text console.
 

Edited by Mechano
Link to comment
Share on other sites

Finally a good compromise and readability of this nice 3.5" small HDMI screen with Banana Pi M5 console only (no X.org).

I remember it's a physical resolution of 480x320 with an EDID range of resolutions from 720x480 to 1920x1080. 

The smallest resolution I can get with Banana Pi M5 is 720x480@60hz that you can see in the picture. 

Raspberry Pi 3B can do 640x360@85hz and has better character sharpness. 

bananapim5_3.5_720p_2.jpg

Link to comment
Share on other sites

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