Display resolution on SBC4

General PhidgetSBC Discussion.
Pilson
Fresh meat
Posts: 1
Joined: Fri Nov 24, 2017 8:49 am
Contact:

Display resolution on SBC4

Postby Pilson » Fri Nov 24, 2017 9:02 am

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.

User avatar
Patrick
Lead Developer
Posts: 3038
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Display resolution on SBC4

Postby Patrick » Wed Nov 29, 2017 11:50 am

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

Doryno
Fresh meat
Posts: 1
Joined: Mon Dec 18, 2017 3:27 am
Contact:

Re: Display resolution on SBC4

Postby Doryno » Tue Jan 02, 2018 6:06 am

Hi Patrick, I'd like to change the resolution too. Is anything lost after installing a beta version?

User avatar
Patrick
Lead Developer
Posts: 3038
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Display resolution on SBC4

Postby Patrick » Wed Jan 03, 2018 11:04 am

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


Return to “General”

Who is online

Users browsing this forum: No registered users and 1 guest