Page 1 of 1

Display resolution on SBC4

Posted: Fri Nov 24, 2017 9:02 am
by Pilson
Hello.
How to change the display resolution on SBC4?
I added the following lines to the /boot/boot.cmd

Code: Select all

setenv video-mode sunxi:1920x1080-24@60,monitor=hdmi,hpd=0,edid=0
saveenv
And ran the following:

Code: Select all

root@phidgetsbc:/# cd /boot/
root@phidgetsbc:/boot# mkimage -C none -A arm -T script -d boot.cmd boot.scr
Image Name:
Created:      Fri Nov 24 15:08:23 2017
Image Type:   ARM Linux Script (uncompressed)
Data Size:    324 Bytes = 0.32 kB = 0.00 MB
Load Address: 00000000
Entry Point:  00000000
Contents:
   Image 0: 316 Bytes = 0.31 kB = 0.00 MB
Then rebooted CBS. And it did not help. The resolution remained the default - 1024x768.

Re: Display resolution on SBC4

Posted: Wed Nov 29, 2017 11:50 am
by Patrick
This requires a newer u-boot.

You can download a beta version here: https://www.phidgets.com/downloads/phid ... _armhf.deb

Install using: dpkg --install linux-u-boot-phidgetsbc4_5.35_armhf.deb

Then reboot.

This will eventually be included in the release image.

-Patrick

Re: Display resolution on SBC4

Posted: Tue Jan 02, 2018 6:06 am
by Doryno
Hi Patrick, I'd like to change the resolution too. Is anything lost after installing a beta version?

Re: Display resolution on SBC4

Posted: Wed Jan 03, 2018 11:04 am
by Patrick
No, this just overwrites the bootloader.

The Beta is gone, the file you want is: https://www.phidgets.com/downloads/phid ... _armhf.deb

This u-boot chooses the native resolution of your monitor at boot-time. You could change this using uboot environment variables. See: https://docs.armbian.com/Hardware_Allwi ... deo-output

We have also released an alternative SD card image based on Ubuntu that supports hardware video and GPU support, and comes with a Desktop environment installed. See: https://www.phidgets.com/?view=articles&article=Armbian

-Patrick