colgeocol

Members
  • Content count

    19
  • Joined

  • Last visited

About colgeocol

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. colgeocol

    EDID, HDMI and framebuffer

    I have used the Armbian images created by Balbes150 on my VIM2 Max. Awesome software in all respects. If I use an image with the 3.14.29 kernel: 1. Framebuffer is correctly installed/configured 2. HDMI does not exist 3. Displaying EDID reported: No EDID on bus 1,2, or 4 Bus 3 doesn't really have an EDID... Couldn't find an accessible EDID on this computer However, if I use an image with the 4.16.1 kernel: 1. No framebuffer 2. HDMI detectable connected/disconnected 3. Displaying EDID detected contents correctly I wouldn't mind a 4096x4096 framebuffer so, if necessary, I can shrink it to 4K UHD 3840x2160. I would prefer a server image but if necessary, I could live with a GUI. Just something that wouldn't be used. Building my own kernel or image is beyond my skills. Could somebody make an Armbian image that would have the framebuffer, the HDMI, and EDID working?
  2. colgeocol

    Armbian for Amlogic S912

    @balbes150 A good idea. I will give it a try. Thanks
  3. colgeocol

    Armbian for Amlogic S912

    @balbes150 A new problem has shown up on the VIM2 Max: If I use the 4.16.1 kernel: 1. No framebuffer 2. HDMI detectable connected/disconnected 3. Displaying EDID detected contents correctly If I use the 3.14.29 kernel: 1. Framebuffer is correctly installed/configured 2. HDMI does not exist 3. Displaying EDID reported: No EDID on bus 1,2, or 4 Bus 3 doesn't really have an EDID... Couldn't find an accessible EDID on this computer Any idea how I could activate the HDMI bus/port and link it directly to the framebuffer?
  4. colgeocol

    Armbian for Amlogic S912

    @balbes150 I reinstalled the Android on my VIM2 and now I have no problem booting from microSD or USB. You solved my problem regarding the framebuffer. The problem was the incorrect kernel. Your suggestion worked. Thank you.
  5. colgeocol

    Armbian for Amlogic S912

    I use a separate power supply. I don't power it from the USB-C connector. The Khadas VIM2 Max works fine. I used the kvim2_linux.dtb from the dtb folder. I didn't use the dtb-3.14.29 folder because I assumed it had the same contents as the dtb folder. Is this the mistake I made? I only have Android in the eMMC. As I mentioned a few weeks ago, I have had problems with the microSD socket. It doesn't always keep the microSD card inserted. I will burn new images to the USB flash drive and the microSD card using the kvim2_linux.dtb from the dtb-3.14.29 folder. I'll let you know as soon as I have time to work on it. Really busy today and tomorrow. Thanks.
  6. colgeocol

    Armbian for Amlogic S912

    I burned the Armbian_5.44_S9xxx_Debian_stretch_3.14.29_server_20180601.img to a microSD card. The Etcher burn had no problems. It kept freezing halfway through the boot. It didn't show up on the local web. I burned the same image to a new microSD card and got the same results. I burned the same image to a USB flash drive and was able to log on once. However, during an apt-get update it just froze again and now I can't log in to it either. So I may have to burn it again. One thing positive is I did notice an improvement on the display screen so I think the hdmi.sh is okay. I'm going to burn another microSD card. I will let you know if I can get it going. Anything else you could recommend? Thanks.
  7. colgeocol

    Armbian for Amlogic S912

    1. Khadas VIM2 Max 2. Armbian_5.44_S9xxx_Debian_stretch_4.16.1_server_20180515.img 3. Attached the files: hdmi.sh armban_first_run.txt.template
  8. colgeocol

    Armbian for Amlogic S912

    I've learned lots about the framebuffer. What is messing things up is that I have no access to /dev/fb0 etc. The only thing I find in /dev is fbcon. It doesn't matter if I am root or a general user. They do not show up with ls or any other command that can directly work with /dev/fb0. The responses are always directories don't exist or can't find display. I can tell whether my HDMI is connected or not. I can get the EDID data of the monitor driver directly. I only modified two files: armbian_first_run.txt and hdmi.sh. I copied the kvim2_linux.dtb into the boot directory and renamed it dtb.img. I need direct access to the framebuffer so I can finish the monitor setup. Could it be other configuration files that I need to modify? If so, which ones? I appreciate your help.
  9. colgeocol

    Armbian for Amlogic S912

    @balbes150 I don't understand why you can't create a version of an Armbian server for the S912 that has the (frame buffer/frame-buffer/framebuffer) installed/enabled. What does "catalogs manually" mean?
  10. colgeocol

    DirectFB or framebuffer

    @YaR Sorry, I was out of town this morning. The response to "sudo ls /dev/fb*" is ls: cannot access '/dev/fb*': No such file or directory If I log in as root or myself I get the same response. I can connect through SSH or directly through the keyboard to look for the framebuffer. I get the same response. The display is attached through HDMI. The system correctly knows if the HDMI is connected or disconnected. Just no sign of the framebuffer. This is a server version as I don't need a GUI. Any suggestions?
  11. colgeocol

    DirectFB or framebuffer

    I've been trying to activate the framebuffer on a Armbian Debian-server image. The framebuffer doesn't exist on a server image but I need to be able to install it. So I thought, what about DirectFB. I've been searching the web for instructions on installing DirectFB. I need to install it and not have to burn a new image (I'm not capable). I just noticed that if I go to /boot/debian i find all the libdirectfb files. Can somebody show me (step by step) how I could install DirectFB or directly activate the framebuffer using these files? What files (including directories) to install, scripts to modify, etc. Any help would be appreciated.
  12. colgeocol

    Armbian for Amlogic S912

    Balbes150, Will you create a version of your latest Armbian server that has the framebuffer directories installed? Thank you.
  13. colgeocol

    Armbian for Amlogic S912

    My VIM2 Max running your Armbian server needs to be able to display to a 4K UHD monitor through HDMI. What I am looking for is everything that I need to install or modify to handle framebuffer (/dev/fb0) graphics. I think the problem is how I am handling the setup. I copied the kvim2_linux.dtb to BOOT and renamed it dtb.img. This is my hdmi.sh. ----------------------- #!/bin/sh bpp=32 mode=2160p60hz for x in $(cat /proc/cmdline); do case ${x} in m_bpp=*) export bpp=${x#*=} ;; hdmimode=*) export mode=${x#*=} ;; esac done HPD_STATE=/sys/class/amhdmitx/amhdmitx0/hpd_state DISP_CAP=/sys/class/amhdmitx/amhdmitx0/disp_cap DISP_MODE=/sys/class/display/mode echo $mode > $DISP_MODE # required X and Y for 3840x2160 4K UHD export X=3840 export Y=2160 common_display_setup() { M="0 0 $(($X - 1)) $(($Y - 1))" Y_VIRT=$(($Y * 2)) fbset -fb /dev/fb0 -g $X $Y $X $Y_VIRT $bpp fbset -fb /dev/fb1 -g 32 32 32 32 echo $mode > /sys/class/display/mode echo 0 > /sys/class/graphics/fb0/free_scale echo 1 > /sys/class/graphics/fb0/freescale_mode echo $M > /sys/class/graphics/fb0/free_scale_axis echo $M > /sys/class/graphics/fb0/window_axis echo 0 > /sys/class/graphics/fb1/free_scale echo 1 > /sys/class/graphics/fb1/freescale_mode } # run this subroutine common_display_setup # Enable framebuffer device echo 0 > /sys/class/graphics/fb0/blank # Blank fb1 to prevent static noise echo 1 > /sys/class/graphics/fb1/blank # Make cursor invisible echo 0 > /sys/devices/virtual/graphics/fbcon/cursor_blink exit 0 ----------------------- Is my hdmi.sh okay? If not, what do you suggest I modify? Are there other scripts that I need to modify? Do I have to install some App? Thanks
  14. colgeocol

    Armbian for Amlogic S912

    @balbes150, Sorry to bother you again but I have another dumb question. I downloaded and burned to a microSD card the Armbian_5.41.1_S9xxx_Debian_stretch_4.16.1_server_20180508.img. It came up great. I thought I modified all required files/scripts but the framebuffer directories are not being created. Are there other scripts that need to be modified? If yes, which ones and where? If no, what did I do wrong?
  15. colgeocol

    Armbian for Amlogic S912

    OK. I will use the S912 version. Thanks for all your hard work.