uboot have default config from uEnv_r2.txt from my github. I used 1080p as default because itβs the most common resolution which can be used on most recent TFT/TV, and can be easily overridden by uEnv.txt in BPI_BOOT partition without serial-adapter (by writing to sd with external PC).
so you can add a similar line to your BPI_BOOT/bananapi/bpi-r2/linux/uEnv.txt define own resolution without using saveenv (which may break autoload of uEnv.txt as autorun is already done)
btw. note that pcie-issue not fixed in the image as i got the patch yesterday
Ok, so i can use βgraphic=video=my_x_resolutionβ in uEnv.txt?
Is there a way to undefine it in uEnv? Or redefine it as βautodetectβ? IMHO autodetect works great on most displays, is this definition still necessary? If so may be the best way to define it is uEnv.txt, which can be easily modified on a PC?
in your uenv.txt for autodetectβ¦for my tft (1280x1024) it does not work, so i leaved it as example (only changed to 1080p)
or use your own resolution (if autodetect not works)
builtin environment is overridden by uenv.txt (via reloadmenu and the autorun=bootcmd)β¦so if you use same variables in uenv.txt they will be used instead of the builtinβ¦
it is a wayβ¦but my intention was: define a base hardcoded and change different things in uenv.txt (only needed parts) for a better user-experienceβ¦so if you want a different resolution you have a preset (for reference) in builtin env and you just override it with your values this way you donβt need to search HOW to change resolution (only look in uenv.txt)
Dear frank-w,
My R2 was running your Debian build fine until the SD card died yesterday. Actually, I wanted to install the OS on the EMMC before but all my attempts failed and I just kept it running from SD. Today I decided to give it another try but there is a big mistake somewhere in my approch. I read your wiki and flashed the preloader first (with write access). Then I used dd to flash your new Debian image (5.4.58) to mmcblk1. To complete the installation I still need to change uEnv.txt and fstab to boot from the right partition. But uEnv.txt is not there. I looked on mmcblk1p1 and all directories are there but uEnv.txt is missing. Unfortunately itβs also missing on the SD card. If I try to boot from EMMC it wants to load the OS from mmcblk0p2 and waits until timeout.
I donβt know if it makes a difference but I should mention that I booted from SD and integrated the R2 in my network and access it via ssh only and try to install the image on the EMMC then.