Display resolution on SBC4

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

Display resolution on SBC4

Post 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.
User avatar
Patrick
Lead Developer
Posts: 3403
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Display resolution on SBC4

Post 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
Doryno
Fresh meat
Posts: 1
Joined: Mon Dec 18, 2017 3:27 am
Contact:

Re: Display resolution on SBC4

Post by Doryno »

Hi Patrick, I'd like to change the resolution too. Is anything lost after installing a beta version?
User avatar
Patrick
Lead Developer
Posts: 3403
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Display resolution on SBC4

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 24 guests