Jump to content

change resolution / rotation / boot.cmd?


int.Reaction

Recommended Posts

I've been looking for a way to rotate the display and change the resolution on the Hummingboard running the Debian image

 

 

I did this from the FAQ:

 

screen resolution:

nano /boot/boot.cmd
 
# example:
# change example from
# disp.screen0_output_mode=1920x1080p60
# to
# disp.screen0_output_mode=1280x720p60
 

mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr  

 

 

somewhat blindly and I destroyed the boot.scr, further searching found that /boot/boot.cmd doesn't exist...

 

I've been messing with xorg with no avail. I think that this is the way to do, through the boot.scr, but there is not any good way to get that running..

 

The larger question, I guess, is what is the most effective way to rotate the display and change the resolution?

Link to comment
Share on other sites

For default kernel 3.14.x

https://github.com/igorpecovnik/lib/blob/next/config/boot-cubox.cmd

 

Others: https://github.com/igorpecovnik/lib/tree/next/config

boot*.cmd

 

For rotation try this:

Rotation
You can rotate the framebuffer by supplying fbcon=rotate:<n> kernel parameter, where n can be one of the following.
0 - normal orientation (0 degree)
1 - clockwise orientation (90 degrees)
2 - upside down orientation (180 degrees)
3 - counterclockwise orientation (270 degrees)

This is how it's done on Allwinner. I haven't try this with HB but it might work.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines