|
I found this and it works for me. It would be nice to have just a little documentation on this stuff. [url]https://forum.armbian.com/index.php?/topic/3837-psa-orange-pi-zero-expansion-board-tv-out-not-working-solution/[/url]
$ bin2fex /boot/script.bin ~/script.fex
$ nano ~/script.fex
find these lines:
fb0_width = 0
fb0_height = 0
and change them to:
fb0_width = 680
fb0_height = 536
then:
$ fex2bin ~/script.fex ~/script.bin
$ sudo cp ~/script.bin /boot
$ sudo reboot
Then install devmem2:
wget http://free-electrons.com/pub/mirror/devmem2.c
gcc ./devmem2.c
sudo mv ./a.out /usr/local/bin/devmem2
Then:
sudo devmem2 0x01E00130 w 0x00140028
And last, to make permanent:
$ sudo nano /etc/rc.local
paste following line:
devmem2 0x01E00130 w 0x00140028
You should really read the full posts to make sure that you are doing it right for your OS but it works. |
|