Compulsive modification of HDMI output resolution
the final solution of compulsive modification of HDMI output resolution.
As you may have discovered the common configuration method in raspberry pi (such as alteration of /boot/config.txt) does not work on BPI, neither does the modification of cmdline.txt and uEnv.txt especially for some display with converter(HDMI->VGA or HDMI ->IDVI) or some old display devices.
Today,we are introducing a new solution to modify the resolution of HDMI, no other risks if you do it according to this document step by step:
1,install compile sunxi-tools depended-upon packages
sudo apt-get install libusb-1.0-0-dev
2,get sunxi-tools new code from github:
git clone https://github.com/linux-sunxi/sunxi-tools.git
3,compile sunxi-tools
4,backup script.bin
sudo cp /boot/bananapi/script.bin /boot/bananapi/script.bak
5,copy script.bin to current dir
cp /boot/bananapi/script.bin ./
6,use bin2fex change bin to fex
7,edit script.fex file:
see this below:
just change screen0_output_mode = 5, note , other not do any change.
A20 support as below: HDMI/TV mode numbers:
Press Ctrl + x , Y ,Enter save and exit edit:
8,use fex2bin change fex to bin
fex2bin ./script.fex ./script.bin
copy script.bin to /boot
sudo cp ./script.bin /boot/bananapi/
9,reboot and make a try
another easy way: just edit uEnv.txt file to change it:
Last updated