Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Probleme affichage ogst odroid n64 case (Odroid xu4)

    Recalbox Général
    ogst odroid case xu4
    7
    57
    7508
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cedric-debuiselle
      cedric-debuiselle last edited by

      @davidb2111 said in Probleme affichage ogst odroid n64 case (Odroid xu4):

      @manitou said in Probleme affichage ogst odroid n64 case (Odroid xu4):

      /recalbox/share/system$ dmesg

      Ok, merci. Le module tft n'est pas chargé.
      Moyen de m'envoyer le résultat de la commande:

      find /proc/device-tree/ -type f -exec head {} +
      

      David.

      Bonjour j'ai aussi le même problème que manitou

      # mount -o rw,remount /boot
      # cd /boot/
      # cp boot.ini.sample boot.ini
      # cp config.ini.sample config.ini
      # nano boot.ini
      
      ODROIDXU-UBOOT-CONFIG
      
      # U-Boot Parameters (DO NOT MODIFY)
      setenv version 4.14
      setenv zimage boot/linux
      setenv fdtbin boot/exynos5422-odroidxu4.dtb
      setenv uInitrd boot/uInitrd
      
      # --- Screen Configuration for HDMI --- # 
      # ---------------------------------------
      # Uncomment only ONE line! Leave all commented for automatic selection.
      # Uncomment only the setenv line!
      # ---------------------------------------
      # ODROID-VU forced resolution
      # setenv videoconfig "video=HDMI-A-1:1280x800@60"
      # -----------------------------------------------
      # ODROID-VU forced EDID
      # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x800.bin"
      # -----------------------------------------------
      # 1920x1080 (1080P) with monitor provided EDID information. (1080p-edid)
      setenv videoconfig "video=HDMI-A-1:1920x1080@60"
      # -----------------------------------------------
      # 1920x1080 (1080P) without monitor data using generic information (1080p-noedid)
      # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080.bin"
      # -----------------------------------------------
      # 1920x1080 50hz (1080P) with monitor provided EDID information. (1080p 50hz-edid)
      # setenv videoconfig "video=HDMI-A-1:1920x1080@50"
      # -----------------------------------------------
      # 1920x1080 50hz (1080P) without monitor data using generic information (1080p 50hz-noedid)
      # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080_50hz.bin"
      # -----------------------------------------------
      # 1440x900 with monitor provided EDID information.
      # setenv videoconfig "video=HDMI-A-1:1440x900@60"
      # -----------------------------------------------
      # 1440x900 without monitor data using generic information 
      # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1440x900.bin"
      # -----------------------------------------------
      # 1280x1024 without monitor data using generic information
      # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x1024.bin"
      # -----------------------------------------------
      # 1280x720 (720P) with monitor provided EDID information. (720p-edid)
      # setenv videoconfig "video=HDMI-A-1:1280x720@60"
      # -----------------------------------------------
      # 1280x720 (720P) without monitor data using generic information (720p-noedid)
      # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x720.bin"
      # -----------------------------------------------
      # 1024x768 without monitor data using generic information
      # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1024x768.bin"
      # -----------------------------------------------
      # 1024x600 without monitor data using generic information (ODROID VU7+)
      # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1024x600.bin"
      # -----------------------------------------------
      # 800x600 without monitor data using generic information 
      # setenv videoconfig "drm_kms_helper.edid_firmware=edid/800x600.bin"
      # -----------------------------------------------
      # 800x480 without monitor data using generic information (ODROID 7")
      # setenv videoconfig "drm_kms_helper.edid_firmware=edid/800x480.bin"
      # -----------------------------------------------
      # 720x576 without monitor data using generic information 
      # setenv videoconfig "drm_kms_helper.edid_firmware=edid/720x576.bin"
      # -----------------------------------------------
      # 720x480 without monitor data using generic information 
      # setenv videoconfig "drm_kms_helper.edid_firmware=edid/720x480.bin"
      # -----------------------------------------------
      # 640x480 without monitor data using generic information
      # setenv videoconfig "drm_kms_helper.edid_firmware=edid/640x480.bin"
      
      
      # --- HDMI / DVI Mode Selection ---
      # ------------------------------------------
      # - HDMI Mode
      setenv vout "hdmi"
      # - DVI Mode (disables sound over HDMI as per DVI compat)
      # setenv vout "dvi"
      
      
      # --- CPU Governor Setup ---
      # Uncomment only one line. New governor is set after 90secs after boot.
      # ------------------------------------------
      # - Performance (Keep all the CPU's at Maximum frequency)
      setenv governor "performance"
      # ------------------------------------------
      # - Ondemand
      # setenv governor "ondemand"
      # ------------------------------------------
      # - Interactive (Pretty much just like ondemand with more possible customization via sysfs.)
      # setenv governor "interactive"
      # ------------------------------------------
      # - Conservative (Like ondemand, but do the frequency transitions more slowly, great for battery powered applications)
      # setenv governor "conservative"
      # ------------------------------------------
      # - Powersave (Keeps the CPU's to the lowest possible temps)
      # setenv governor "powersave"
      
      
      # --- HDMI CEC Configuration ---
      # ------------------------------------------
      setenv cecenable "false" # false or true
      # set to true to enable HDMI CEC
      
      #------------------------------------------------------------------------------
      #
      # HDMI Hot Plug detection
      #
      #------------------------------------------------------------------------------
      #
      # Forces the HDMI subsystem to ignore the check if the cable is connected or 
      # not.
      # false : disable the detection and force it as connected.
      # true : let cable, board and monitor decide the connection status.
      # 
      # default: true
      # 
      #------------------------------------------------------------------------------
      setenv HPD "false"
      setenv hdmi_phy_control "HPD=${HPD}  vout=${vout}"
      
      setenv dtb_addr_r "0x44000000"
      setenv dtbo_addr_r "0x48000000"
      setenv zimage_addr_r 0x40008000
      setenv uInitrd_addr_r 0x42000000
      setenv fdtbin_addr_r 0x44000000
      setenv config_addr_r "0x4B000000"
      
      setenv fdt_high "0xffffffff"
      
      # load config.ini
      load mmc 0:1 ${config_addr_r} config.ini \
          && ini generic ${config_addr_r}
      
      # DRAM Frequency (lpddr3 available frequency list - 933/825/728/633)
      setenv ddr_freq 933
      
      # set DDR frequency
      dmc ${ddr_freq}
      
      # Default boot arguments
      setenv bootrootfs "label=RECALBOX"
      setenv console "console=ttySAC2,115200n8 consoleblank=0 vt.global_cursor_default=0"
      
      # boot commands
      fatload mmc 0:1 ${zimage_addr_r} ${zimage}
      fatload mmc 0:1 ${uInitrd_addr_r} ${uInitrd}
      fatload mmc 0:1 ${fdtbin_addr_r} ${fdtbin}
      
      fdt addr ${dtb_addr_r}
      if test "${cecenable}" = "false"; then fdt rm /cec@101B0000; fi
      
      setenv bootargs "${bootrootfs} ${console} governor=${governor} ${videoconfig} ${hdmi_phy_control}"
      
      # load overlays from config.ini
      if test "x${overlay_profile}" != "x"; then
          ini overlay_${overlay_profile} ${config_addr_r}
      fi
      
      if test "x{overlays}" != "x"; then
          fdt resize ${overlay_resize}
          for overlay in ${overlays}; do
              load mmc 0:1 ${dtbo_addr_r} overlays/${overlay}.dtbo \
                  && fdt apply ${dtbo_addr_r}
          done
      fi
      
      bootz ${zimage_addr_r} ${uInitrd_addr_r} ${fdtbin_addr_r}
      
      
      [generic]
      ; Device Tree Overlay
      overlay_resize=16384
      ; uncomment next line to enable Odroid XU4 OGST
      overlay_profile=hktft_cs_ogst
      overlays="spi0 i2c0 i2c1 uart0"
       
      [overlay_hktft_cs_ogst]
      overlays="hktft-cs-ogst i2c0"
      
      
      1 Reply Last reply Reply Quote 0
      • davidb2111
        davidb2111 Staff @manitou last edited by davidb2111

        Hello @manitou,

        Voici un fichier boot.ini modifié:

        ODROIDXU-UBOOT-CONFIG
        
        # U-Boot Parameters (DO NOT MODIFY)
        setenv initrd_high "0xffffffff"
        setenv fdt_high "0xffffffff"
        setenv zimage boot/linux
        setenv fdtbin boot/exynos5422-odroidxu4.dtb
        setenv uInitrd boot/uInitrd
        
        # --- Screen Configuration for HDMI --- # 
        # ---------------------------------------
        # Uncomment only ONE line! Leave all commented for automatic selection.
        # Uncomment only the setenv line!
        # ---------------------------------------
        # ODROID-VU forced resolution
        # setenv videoconfig "video=HDMI-A-1:1280x800@60"
        # -----------------------------------------------
        # ODROID-VU forced EDID
        # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x800.bin"
        # -----------------------------------------------
        # 1920x1080 (1080P) with monitor provided EDID information. (1080p-edid)
        setenv videoconfig "video=HDMI-A-1:1920x1080@60"
        # -----------------------------------------------
        # 1920x1080 (1080P) without monitor data using generic information (1080p-noedid)
        # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080.bin"
        # -----------------------------------------------
        # 1920x1080 50hz (1080P) with monitor provided EDID information. (1080p 50hz-edid)
        # setenv videoconfig "video=HDMI-A-1:1920x1080@50"
        # -----------------------------------------------
        # 1920x1080 50hz (1080P) without monitor data using generic information (1080p 50hz-noedid)
        # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080_50hz.bin"
        # -----------------------------------------------
        # 1440x900 with monitor provided EDID information.
        # setenv videoconfig "video=HDMI-A-1:1440x900@60"
        # -----------------------------------------------
        # 1440x900 without monitor data using generic information 
        # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1440x900.bin"
        # -----------------------------------------------
        # 1280x1024 without monitor data using generic information
        # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x1024.bin"
        # -----------------------------------------------
        # 1280x720 (720P) with monitor provided EDID information. (720p-edid)
        # setenv videoconfig "video=HDMI-A-1:1280x720@60"
        # -----------------------------------------------
        # 1280x720 (720P) without monitor data using generic information (720p-noedid)
        # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x720.bin"
        # -----------------------------------------------
        # 1024x768 without monitor data using generic information
        # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1024x768.bin"
        # -----------------------------------------------
        # 1024x600 without monitor data using generic information (ODROID VU7+)
        # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1024x600.bin"
        # -----------------------------------------------
        # 800x600 without monitor data using generic information 
        # setenv videoconfig "drm_kms_helper.edid_firmware=edid/800x600.bin"
        # -----------------------------------------------
        # 800x480 without monitor data using generic information (ODROID 7")
        # setenv videoconfig "drm_kms_helper.edid_firmware=edid/800x480.bin"
        # -----------------------------------------------
        # 720x576 without monitor data using generic information 
        # setenv videoconfig "drm_kms_helper.edid_firmware=edid/720x576.bin"
        # -----------------------------------------------
        # 720x480 without monitor data using generic information 
        # setenv videoconfig "drm_kms_helper.edid_firmware=edid/720x480.bin"
        # -----------------------------------------------
        # 640x480 without monitor data using generic information
        # setenv videoconfig "drm_kms_helper.edid_firmware=edid/640x480.bin"
        
        
        # --- HDMI / DVI Mode Selection ---
        # ------------------------------------------
        # - HDMI Mode
        setenv vout "hdmi"
        # - DVI Mode (disables sound over HDMI as per DVI compat)
        # setenv vout "dvi"
        
        
        # --- CPU Governor Setup ---
        # Uncomment only one line. New governor is set after 90secs after boot.
        # ------------------------------------------
        # - Performance (Keep all the CPU's at Maximum frequency)
        setenv governor "performance"
        # ------------------------------------------
        # - Ondemand
        # setenv governor "ondemand"
        # ------------------------------------------
        # - Interactive (Pretty much just like ondemand with more possible customization via sysfs.)
        # setenv governor "interactive"
        # ------------------------------------------
        # - Conservative (Like ondemand, but do the frequency transitions more slowly, great for battery powered applications)
        # setenv governor "conservative"
        # ------------------------------------------
        # - Powersave (Keeps the CPU's to the lowest possible temps)
        # setenv governor "powersave"
        
        
        # --- HDMI CEC Configuration ---
        # ------------------------------------------
        setenv cecenable "false" # false or true
        # set to true to enable HDMI CEC
        
        #------------------------------------------------------------------------------
        #
        # HDMI Hot Plug detection
        #
        #------------------------------------------------------------------------------
        #
        # Forces the HDMI subsystem to ignore the check if the cable is connected or 
        # not.
        # false : disable the detection and force it as connected.
        # true : let cable, board and monitor decide the connection status.
        # 
        # default: true
        # 
        #------------------------------------------------------------------------------
        setenv HPD "false"
        setenv hdmi_phy_control "HPD=${HPD}  vout=${vout}"
        if test "${cecenable}" = "false"; then fdt rm /soc/cec@101B0000; fi
        
        setenv dtb_addr_r "0x44000000"
        setenv dtbo_addr_r "0x48000000"
        setenv zimage_addr_r 0x40008000
        setenv uInitrd_addr_r 0x42000000
        setenv config_addr_r "0x4B000000"
        
        # load config.ini
        load mmc 0:1 ${config_addr_r} config.ini \
            && ini generic ${config_addr_r}
        
        # DRAM Frequency (lpddr3 available frequency list - 933/825/728/633)
        setenv ddr_freq 933
        
        # Default boot arguments
        setenv bootrootfs "label=RECALBOX"
        setenv console "console=ttySAC2,115200n8 consoleblank=0 vt.global_cursor_default=0"
        
        # Boot Args
        setenv bootargs "${bootrootfs} ${console} governor=${governor} ${videoconfig} ${hdmi_phy_control}"
        
        # boot commands
        fatload mmc 0:1 ${zimage_addr_r} ${zimage}
        fatload mmc 0:1 ${uInitrd_addr_r} ${uInitrd}
        fatload mmc 0:1 ${dtb_addr_r} ${fdtbin}
        
        fdt addr ${dtb_addr_r}
        
        # load overlays from config.ini
        if test "x${overlay_profile}" != "x"; then
            ini overlay_${overlay_profile} ${config_addr_r}
        fi
        
        if test "x{overlays}" != "x"; then
            fdt resize ${overlay_resize}
            for overlay in ${overlays}; do
                load mmc 0:1 ${dtbo_addr_r} overlays/${overlay}.dtbo \
                    && fdt apply ${dtbo_addr_r}
            done
        fi
        
        # set DDR frequency
        dmc ${ddr_freq}
        
        bootz ${zimage_addr_r} ${uInitrd_addr_r} ${dtb_addr_r}
        

        Tu peux le copier sur la partition RECALBOX. N'oublie pas de modifier le mode vidéo (par défaut FHD).

        edit: j'ai remodifié le boot.ini

        a+
        David

        cedric-debuiselle 1 Reply Last reply Reply Quote 0
        • cedric-debuiselle
          cedric-debuiselle @davidb2111 last edited by

          @davidb2111 said in Probleme affichage ogst odroid n64 case (Odroid xu4):

          Hello @manitou,

          Voici un fichier boot.ini modifié:

          ODROIDXU-UBOOT-CONFIG
          
          # U-Boot Parameters (DO NOT MODIFY)
          setenv initrd_high "0xffffffff"
          setenv fdt_high "0xffffffff"
          setenv zimage boot/linux
          setenv fdtbin boot/exynos5422-odroidxu4.dtb
          setenv uInitrd boot/uInitrd
          
          # --- Screen Configuration for HDMI --- # 
          # ---------------------------------------
          # Uncomment only ONE line! Leave all commented for automatic selection.
          # Uncomment only the setenv line!
          # ---------------------------------------
          # ODROID-VU forced resolution
          # setenv videoconfig "video=HDMI-A-1:1280x800@60"
          # -----------------------------------------------
          # ODROID-VU forced EDID
          # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x800.bin"
          # -----------------------------------------------
          # 1920x1080 (1080P) with monitor provided EDID information. (1080p-edid)
          setenv videoconfig "video=HDMI-A-1:1920x1080@60"
          # -----------------------------------------------
          # 1920x1080 (1080P) without monitor data using generic information (1080p-noedid)
          # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080.bin"
          # -----------------------------------------------
          # 1920x1080 50hz (1080P) with monitor provided EDID information. (1080p 50hz-edid)
          # setenv videoconfig "video=HDMI-A-1:1920x1080@50"
          # -----------------------------------------------
          # 1920x1080 50hz (1080P) without monitor data using generic information (1080p 50hz-noedid)
          # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080_50hz.bin"
          # -----------------------------------------------
          # 1440x900 with monitor provided EDID information.
          # setenv videoconfig "video=HDMI-A-1:1440x900@60"
          # -----------------------------------------------
          # 1440x900 without monitor data using generic information 
          # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1440x900.bin"
          # -----------------------------------------------
          # 1280x1024 without monitor data using generic information
          # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x1024.bin"
          # -----------------------------------------------
          # 1280x720 (720P) with monitor provided EDID information. (720p-edid)
          # setenv videoconfig "video=HDMI-A-1:1280x720@60"
          # -----------------------------------------------
          # 1280x720 (720P) without monitor data using generic information (720p-noedid)
          # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x720.bin"
          # -----------------------------------------------
          # 1024x768 without monitor data using generic information
          # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1024x768.bin"
          # -----------------------------------------------
          # 1024x600 without monitor data using generic information (ODROID VU7+)
          # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1024x600.bin"
          # -----------------------------------------------
          # 800x600 without monitor data using generic information 
          # setenv videoconfig "drm_kms_helper.edid_firmware=edid/800x600.bin"
          # -----------------------------------------------
          # 800x480 without monitor data using generic information (ODROID 7")
          # setenv videoconfig "drm_kms_helper.edid_firmware=edid/800x480.bin"
          # -----------------------------------------------
          # 720x576 without monitor data using generic information 
          # setenv videoconfig "drm_kms_helper.edid_firmware=edid/720x576.bin"
          # -----------------------------------------------
          # 720x480 without monitor data using generic information 
          # setenv videoconfig "drm_kms_helper.edid_firmware=edid/720x480.bin"
          # -----------------------------------------------
          # 640x480 without monitor data using generic information
          # setenv videoconfig "drm_kms_helper.edid_firmware=edid/640x480.bin"
          
          
          # --- HDMI / DVI Mode Selection ---
          # ------------------------------------------
          # - HDMI Mode
          setenv vout "hdmi"
          # - DVI Mode (disables sound over HDMI as per DVI compat)
          # setenv vout "dvi"
          
          
          # --- CPU Governor Setup ---
          # Uncomment only one line. New governor is set after 90secs after boot.
          # ------------------------------------------
          # - Performance (Keep all the CPU's at Maximum frequency)
          setenv governor "performance"
          # ------------------------------------------
          # - Ondemand
          # setenv governor "ondemand"
          # ------------------------------------------
          # - Interactive (Pretty much just like ondemand with more possible customization via sysfs.)
          # setenv governor "interactive"
          # ------------------------------------------
          # - Conservative (Like ondemand, but do the frequency transitions more slowly, great for battery powered applications)
          # setenv governor "conservative"
          # ------------------------------------------
          # - Powersave (Keeps the CPU's to the lowest possible temps)
          # setenv governor "powersave"
          
          
          # --- HDMI CEC Configuration ---
          # ------------------------------------------
          setenv cecenable "false" # false or true
          # set to true to enable HDMI CEC
          
          #------------------------------------------------------------------------------
          #
          # HDMI Hot Plug detection
          #
          #------------------------------------------------------------------------------
          #
          # Forces the HDMI subsystem to ignore the check if the cable is connected or 
          # not.
          # false : disable the detection and force it as connected.
          # true : let cable, board and monitor decide the connection status.
          # 
          # default: true
          # 
          #------------------------------------------------------------------------------
          setenv HPD "false"
          setenv hdmi_phy_control "HPD=${HPD}  vout=${vout}"
          if test "${cecenable}" = "false"; then fdt rm /soc/cec@101B0000; fi
          
          setenv dtb_addr_r "0x44000000"
          setenv dtbo_addr_r "0x48000000"
          setenv zimage_addr_r 0x40008000
          setenv uInitrd_addr_r 0x42000000
          setenv config_addr_r "0x4B000000"
          
          # load config.ini
          load mmc 0:1 ${config_addr_r} config.ini \
              && ini generic ${config_addr_r}
          
          # DRAM Frequency (lpddr3 available frequency list - 933/825/728/633)
          setenv ddr_freq 933
          
          # Default boot arguments
          setenv bootrootfs "label=RECALBOX"
          setenv console "console=ttySAC2,115200n8 consoleblank=0 vt.global_cursor_default=0"
          
          # Boot Args
          setenv bootargs "${bootrootfs} ${console} governor=${governor} ${videoconfig} ${hdmi_phy_control}"
          
          # boot commands
          fatload mmc 0:1 ${zimage_addr_r} ${zimage}
          fatload mmc 0:1 ${uInitrd_addr_r} ${uInitrd}
          fatload mmc 0:1 ${dtb_addr_r} ${fdtbin}
          
          fdt addr ${dtb_addr_r}
          
          # load overlays from config.ini
          if test "x${overlay_profile}" != "x"; then
              ini overlay_${overlay_profile} ${config_addr_r}
          fi
          
          if test "x{overlays}" != "x"; then
              fdt resize ${overlay_resize}
              for overlay in ${overlays}; do
                  load mmc 0:1 ${dtbo_addr_r} overlays/${overlay}.dtbo \
                      && fdt apply ${dtbo_addr_r}
              done
          fi
          
          # set DDR frequency
          dmc ${ddr_freq}
          
          bootz ${zimage_addr_r} ${uInitrd_addr_r} ${dtb_addr_r}
          

          Tu peux le copier sur la partition RECALBOX. N'oublie pas de modifier le mode vidéo (par défaut FHD).

          edit: j'ai remodifié le boot.ini

          a+
          David

          Bonjour David, j'ai le même probleme que manitou, j'ai supprimé tout ce qu'il y a vait dans le boot.ini et fait un copier coller de celui que tu a modifié

          ODROIDXU-UBOOT-CONFIG
          
          # U-Boot Parameters (DO NOT MODIFY)
          setenv initrd_high "0xffffffff"
          setenv fdt_high "0xffffffff"
          setenv zimage boot/linux
          setenv fdtbin boot/exynos5422-odroidxu4.dtb
          setenv uInitrd boot/uInitrd
          
          # --- Screen Configuration for HDMI --- # 
          # ---------------------------------------
          # Uncomment only ONE line! Leave all commented for automatic selection.
          # Uncomment only the setenv line!
          # ---------------------------------------
          # ODROID-VU forced resolution
          # setenv videoconfig "video=HDMI-A-1:1280x800@60"
          # -----------------------------------------------
          # ODROID-VU forced EDID
          # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x800.bin"
          # -----------------------------------------------
          # 1920x1080 (1080P) with monitor provided EDID information. (1080p-edid)
          setenv videoconfig "video=HDMI-A-1:1920x1080@60"
          # -----------------------------------------------
          # 1920x1080 (1080P) without monitor data using generic information (1080p-noedid)
          # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080.bin"
          # -----------------------------------------------
          # 1920x1080 50hz (1080P) with monitor provided EDID information. (1080p 50hz-edid)
          # setenv videoconfig "video=HDMI-A-1:1920x1080@50"
          # -----------------------------------------------
          # 1920x1080 50hz (1080P) without monitor data using generic information (1080p 50hz-noedid)
          # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080_50hz.bin"
          # -----------------------------------------------
          # 1440x900 with monitor provided EDID information.
          # setenv videoconfig "video=HDMI-A-1:1440x900@60"
          # -----------------------------------------------
          # 1440x900 without monitor data using generic information 
          # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1440x900.bin"
          # -----------------------------------------------
          # 1280x1024 without monitor data using generic information
          # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x1024.bin"
          # -----------------------------------------------
          # 1280x720 (720P) with monitor provided EDID information. (720p-edid)
          # setenv videoconfig "video=HDMI-A-1:1280x720@60"
          # -----------------------------------------------
          # 1280x720 (720P) without monitor data using generic information (720p-noedid)
          # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x720.bin"
          # -----------------------------------------------
          # 1024x768 without monitor data using generic information
          # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1024x768.bin"
          # -----------------------------------------------
          # 1024x600 without monitor data using generic information (ODROID VU7+)
          # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1024x600.bin"
          # -----------------------------------------------
          # 800x600 without monitor data using generic information 
          # setenv videoconfig "drm_kms_helper.edid_firmware=edid/800x600.bin"
          # -----------------------------------------------
          # 800x480 without monitor data using generic information (ODROID 7")
          # setenv videoconfig "drm_kms_helper.edid_firmware=edid/800x480.bin"
          # -----------------------------------------------
          # 720x576 without monitor data using generic information 
          # setenv videoconfig "drm_kms_helper.edid_firmware=edid/720x576.bin"
          # -----------------------------------------------
          # 720x480 without monitor data using generic information 
          # setenv videoconfig "drm_kms_helper.edid_firmware=edid/720x480.bin"
          # -----------------------------------------------
          # 640x480 without monitor data using generic information
          # setenv videoconfig "drm_kms_helper.edid_firmware=edid/640x480.bin"
          
           
          # --- HDMI / DVI Mode Selection ---
          # ------------------------------------------
          # - HDMI Mode
          setenv vout "hdmi"
          # - DVI Mode (disables sound over HDMI as per DVI compat)
          # setenv vout "dvi"
          
           
          # --- CPU Governor Setup ---
          # Uncomment only one line. New governor is set after 90secs after boot.
          # ------------------------------------------
          # - Performance (Keep all the CPU's at Maximum frequency)
          setenv governor "performance"
          # ------------------------------------------
          # - Ondemand
          # setenv governor "ondemand"
          # ------------------------------------------
          # - Interactive (Pretty much just like ondemand with more possible customization via sysfs.)
          # setenv governor "interactive"
          # ------------------------------------------
          # - Conservative (Like ondemand, but do the frequency transitions more slowly, great for battery powered applications)
          # setenv governor "conservative"
          # ------------------------------------------
          # - Powersave (Keeps the CPU's to the lowest possible temps)
          # setenv governor "powersave"
          
           
          # --- HDMI CEC Configuration ---
          # ------------------------------------------
          setenv cecenable "false" # false or true
          # set to true to enable HDMI CEC
          
          #------------------------------------------------------------------------------
          #
          # HDMI Hot Plug detection
          #
          #------------------------------------------------------------------------------
          #
          # Forces the HDMI subsystem to ignore the check if the cable is connected or 
          # not.
          # false : disable the detection and force it as connected.
          # true : let cable, board and monitor decide the connection status.
          # 
          # default: true
          # 
          #------------------------------------------------------------------------------
          setenv HPD "false"
          setenv hdmi_phy_control "HPD=${HPD}  vout=${vout}"
          if test "${cecenable}" = "false"; then fdt rm /soc/cec@101B0000; fi
           
          setenv dtb_addr_r "0x44000000"
          setenv dtbo_addr_r "0x48000000"
          setenv zimage_addr_r 0x40008000
          setenv uInitrd_addr_r 0x42000000
          setenv config_addr_r "0x4B000000"
          
          # load config.ini
          load mmc 0:1 ${config_addr_r} config.ini \
              && ini generic ${config_addr_r}
          
          # DRAM Frequency (lpddr3 available frequency list - 933/825/728/633)
          setenv ddr_freq 933
          
          # Default boot arguments
          setenv bootrootfs "label=RECALBOX"
          setenv console "console=ttySAC2,115200n8 consoleblank=0 vt.global_cursor_default=0"
          
          # Boot Args
          setenv bootargs "${bootrootfs} ${console} governor=${governor} ${videoconfig} ${hdmi_phy_control}"
          
          # boot commands
          fatload mmc 0:1 ${zimage_addr_r} ${zimage}
          fatload mmc 0:1 ${uInitrd_addr_r} ${uInitrd}
          fatload mmc 0:1 ${dtb_addr_r} ${fdtbin}
           
          fdt addr ${dtb_addr_r}
          
          # load overlays from config.ini
          if test "x${overlay_profile}" != "x"; then
              ini overlay_${overlay_profile} ${config_addr_r}
          fi
           
          if test "x{overlays}" != "x"; then
              fdt resize ${overlay_resize}
              for overlay in ${overlays}; do
                  load mmc 0:1 ${dtbo_addr_r} overlays/${overlay}.dtbo \
                      && fdt apply ${dtbo_addr_r}
              done
          fi
          
          # set DDR frequency
          dmc ${ddr_freq}
           
          bootz ${zimage_addr_r} ${uInitrd_addr_r} ${dtb_addr_r}
          

          voila mon config.ini

          [generic]
          ; Device Tree Overlay
          overlay_resize=16384
          ; uncomment next line to enable Odroid XU4 OGST
          overlay_profile=hktft_cs_ogst
          overlays="spi0 i2c0 i2c1 uart0"
           
          [overlay_hktft_cs_ogst]
          overlays="hktft-cs-ogst i2c0"
          
          

          j'ai toujour le tft qui ne s'allume pas

          davidb2111 1 Reply Last reply Reply Quote 0
          • Kairoslair 0
            Kairoslair 0 last edited by

            I've been having the same issues as manitou and cedric, and using david's boot.ini also did not work. But, I mixed a bit of david's boot.ini with the original (leaving some things out also) and now it works! Here is my boot.ini, if it will maybe help someone:

            ODROIDXU-UBOOT-CONFIG
            
            # U-Boot Parameters (DO NOT MODIFY)
            setenv version 4.14 
            setenv zimage boot/linux
            setenv fdtbin boot/exynos5422-odroidxu4.dtb
            setenv uInitrd boot/uInitrd
            
            # --- Screen Configuration for HDMI --- # 
            # ---------------------------------------
            # Uncomment only ONE line! Leave all commented for automatic selection.
            # Uncomment only the setenv line!
            # ---------------------------------------
            # ODROID-VU forced resolution
            # setenv videoconfig "video=HDMI-A-1:1280x800@60"
            # -----------------------------------------------
            # ODROID-VU forced EDID
            # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x800.bin"
            # -----------------------------------------------
            # 1920x1080 (1080P) with monitor provided EDID information. (1080p-edid)
            setenv videoconfig "video=HDMI-A-1:1920x1080@60"
            # -----------------------------------------------
            # 1920x1080 (1080P) without monitor data using generic information (1080p-noedid)
            # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080.bin"
            # -----------------------------------------------
            # 1920x1080 50hz (1080P) with monitor provided EDID information. (1080p 50hz-edid)
            # setenv videoconfig "video=HDMI-A-1:1920x1080@50"
            # -----------------------------------------------
            # 1920x1080 50hz (1080P) without monitor data using generic information (1080p 50hz-noedid)
            # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080_50hz.bin"
            # -----------------------------------------------
            # 1440x900 with monitor provided EDID information.
            # setenv videoconfig "video=HDMI-A-1:1440x900@60"
            # -----------------------------------------------
            # 1440x900 without monitor data using generic information 
            # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1440x900.bin"
            # -----------------------------------------------
            # 1280x1024 without monitor data using generic information
            # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x1024.bin"
            # -----------------------------------------------
            # 1280x720 (720P) with monitor provided EDID information. (720p-edid)
            # setenv videoconfig "video=HDMI-A-1:1280x720@60"
            # -----------------------------------------------
            # 1280x720 (720P) without monitor data using generic information (720p-noedid)
            # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x720.bin"
            # -----------------------------------------------
            # 1024x768 without monitor data using generic information
            # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1024x768.bin"
            # -----------------------------------------------
            # 1024x600 without monitor data using generic information (ODROID VU7+)
            # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1024x600.bin"
            # -----------------------------------------------
            # 800x600 without monitor data using generic information 
            # setenv videoconfig "drm_kms_helper.edid_firmware=edid/800x600.bin"
            # -----------------------------------------------
            # 800x480 without monitor data using generic information (ODROID 7")
            # setenv videoconfig "drm_kms_helper.edid_firmware=edid/800x480.bin"
            # -----------------------------------------------
            # 720x576 without monitor data using generic information 
            # setenv videoconfig "drm_kms_helper.edid_firmware=edid/720x576.bin"
            # -----------------------------------------------
            # 720x480 without monitor data using generic information 
            # setenv videoconfig "drm_kms_helper.edid_firmware=edid/720x480.bin"
            # -----------------------------------------------
            # 640x480 without monitor data using generic information
            # setenv videoconfig "drm_kms_helper.edid_firmware=edid/640x480.bin"
            
            
            # --- HDMI / DVI Mode Selection ---
            # ------------------------------------------
            # - HDMI Mode
            setenv vout "hdmi"
            # - DVI Mode (disables sound over HDMI as per DVI compat)
            # setenv vout "dvi"
            
            
            # --- CPU Governor Setup ---
            # Uncomment only one line. New governor is set after 90secs after boot.
            # ------------------------------------------
            # - Performance (Keep all the CPU's at Maximum frequency)
            setenv governor "performance"
            # ------------------------------------------
            # - Ondemand
            # setenv governor "ondemand"
            # ------------------------------------------
            # - Interactive (Pretty much just like ondemand with more possible customization via sysfs.)
            # setenv governor "interactive"
            # ------------------------------------------
            # - Conservative (Like ondemand, but do the frequency transitions more slowly, great for battery powered applications)
            # setenv governor "conservative"
            # ------------------------------------------
            # - Powersave (Keeps the CPU's to the lowest possible temps)
            # setenv governor "powersave"
            
            
            # --- HDMI CEC Configuration ---
            # ------------------------------------------
            setenv cecenable "false" # false or true
            # set to true to enable HDMI CEC
            
            #------------------------------------------------------------------------------
            #
            # HDMI Hot Plug detection
            #
            #------------------------------------------------------------------------------
            #
            # Forces the HDMI subsystem to ignore the check if the cable is connected or 
            # not.
            # false : disable the detection and force it as connected.
            # true : let cable, board and monitor decide the connection status.
            # 
            # default: true
            # 
            #------------------------------------------------------------------------------
            setenv HPD "false"
            setenv hdmi_phy_control "HPD=${HPD}  vout=${vout}"
            if test "${cecenable}" = "false"; then fdt rm /soc/cec@101B0000; fi 
            setenv dtb_addr_r "0x44000000"
            setenv dtbo_addr_r "0x48000000"
            setenv zimage_addr_r 0x40008000
            setenv uInitrd_addr_r 0x42000000
            setenv fdtbin_addr_r 0x44000000
            setenv config_addr_r "0x4B000000"
            
            setenv fdt_high "0xffffffff"
            
            # load config.ini
            load mmc 0:1 ${config_addr_r} config.ini \
                && ini generic ${config_addr_r}
            
            # DRAM Frequency (lpddr3 available frequency list - 933/825/728/633)
            setenv ddr_freq 933
            
            # set DDR frequency
            dmc ${ddr_freq}
            
            # Default boot arguments
            setenv bootrootfs "label=RECALBOX"
            setenv console "console=ttySAC2,115200n8 consoleblank=0 vt.global_cursor_default=0"
            
            # boot commands
            fatload mmc 0:1 ${zimage_addr_r} ${zimage}
            fatload mmc 0:1 ${uInitrd_addr_r} ${uInitrd}
            fatload mmc 0:1 ${fdtbin_addr_r} ${fdtbin}
            
            fdt addr ${dtb_addr_r}
            if test "${cecenable}" = "false"; then fdt rm /cec@101B0000; fi
            
            setenv bootargs "${bootrootfs} ${console} governor=${governor} ${videoconfig} ${hdmi_phy_control}"
            
            # load overlays from config.ini
            if test "x${overlay_profile}" != "x"; then
                ini overlay_${overlay_profile} ${config_addr_r}
            fi
            
            if test "x{overlays}" != "x"; then
                fdt resize ${overlay_resize}
                for overlay in ${overlays}; do
                    load mmc 0:1 ${dtbo_addr_r} overlays/${overlay}.dtbo \
                        && fdt apply ${dtbo_addr_r}
                done
            fi
            
            bootz ${zimage_addr_r} ${uInitrd_addr_r} ${fdtbin_addr_r}
            
            davidb2111 1 Reply Last reply Reply Quote 1
            • davidb2111
              davidb2111 Staff @cedric-debuiselle last edited by

              @cedric-debuiselle
              Si tu as le temps, pourrais tu tester avec le boot.ini de @Kairoslair-0 ?

              1 Reply Last reply Reply Quote 0
              • davidb2111
                davidb2111 Staff @Kairoslair 0 last edited by

                @kairoslair-0 said in Probleme affichage ogst odroid n64 case (Odroid xu4):

                I've been having the same issues as manitou and cedric, and using david's boot.ini also did not work. But, I mixed a bit of david's boot.ini with the original (leaving some things out also) and now it works! Here is my boot.ini, if it will maybe help someone:

                ODROIDXU-UBOOT-CONFIG
                
                # U-Boot Parameters (DO NOT MODIFY)
                setenv version 4.14 
                setenv zimage boot/linux
                setenv fdtbin boot/exynos5422-odroidxu4.dtb
                setenv uInitrd boot/uInitrd
                
                # --- Screen Configuration for HDMI --- # 
                # ---------------------------------------
                # Uncomment only ONE line! Leave all commented for automatic selection.
                # Uncomment only the setenv line!
                # ---------------------------------------
                # ODROID-VU forced resolution
                # setenv videoconfig "video=HDMI-A-1:1280x800@60"
                # -----------------------------------------------
                # ODROID-VU forced EDID
                # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x800.bin"
                # -----------------------------------------------
                # 1920x1080 (1080P) with monitor provided EDID information. (1080p-edid)
                setenv videoconfig "video=HDMI-A-1:1920x1080@60"
                # -----------------------------------------------
                # 1920x1080 (1080P) without monitor data using generic information (1080p-noedid)
                # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080.bin"
                # -----------------------------------------------
                # 1920x1080 50hz (1080P) with monitor provided EDID information. (1080p 50hz-edid)
                # setenv videoconfig "video=HDMI-A-1:1920x1080@50"
                # -----------------------------------------------
                # 1920x1080 50hz (1080P) without monitor data using generic information (1080p 50hz-noedid)
                # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080_50hz.bin"
                # -----------------------------------------------
                # 1440x900 with monitor provided EDID information.
                # setenv videoconfig "video=HDMI-A-1:1440x900@60"
                # -----------------------------------------------
                # 1440x900 without monitor data using generic information 
                # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1440x900.bin"
                # -----------------------------------------------
                # 1280x1024 without monitor data using generic information
                # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x1024.bin"
                # -----------------------------------------------
                # 1280x720 (720P) with monitor provided EDID information. (720p-edid)
                # setenv videoconfig "video=HDMI-A-1:1280x720@60"
                # -----------------------------------------------
                # 1280x720 (720P) without monitor data using generic information (720p-noedid)
                # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x720.bin"
                # -----------------------------------------------
                # 1024x768 without monitor data using generic information
                # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1024x768.bin"
                # -----------------------------------------------
                # 1024x600 without monitor data using generic information (ODROID VU7+)
                # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1024x600.bin"
                # -----------------------------------------------
                # 800x600 without monitor data using generic information 
                # setenv videoconfig "drm_kms_helper.edid_firmware=edid/800x600.bin"
                # -----------------------------------------------
                # 800x480 without monitor data using generic information (ODROID 7")
                # setenv videoconfig "drm_kms_helper.edid_firmware=edid/800x480.bin"
                # -----------------------------------------------
                # 720x576 without monitor data using generic information 
                # setenv videoconfig "drm_kms_helper.edid_firmware=edid/720x576.bin"
                # -----------------------------------------------
                # 720x480 without monitor data using generic information 
                # setenv videoconfig "drm_kms_helper.edid_firmware=edid/720x480.bin"
                # -----------------------------------------------
                # 640x480 without monitor data using generic information
                # setenv videoconfig "drm_kms_helper.edid_firmware=edid/640x480.bin"
                
                
                # --- HDMI / DVI Mode Selection ---
                # ------------------------------------------
                # - HDMI Mode
                setenv vout "hdmi"
                # - DVI Mode (disables sound over HDMI as per DVI compat)
                # setenv vout "dvi"
                
                
                # --- CPU Governor Setup ---
                # Uncomment only one line. New governor is set after 90secs after boot.
                # ------------------------------------------
                # - Performance (Keep all the CPU's at Maximum frequency)
                setenv governor "performance"
                # ------------------------------------------
                # - Ondemand
                # setenv governor "ondemand"
                # ------------------------------------------
                # - Interactive (Pretty much just like ondemand with more possible customization via sysfs.)
                # setenv governor "interactive"
                # ------------------------------------------
                # - Conservative (Like ondemand, but do the frequency transitions more slowly, great for battery powered applications)
                # setenv governor "conservative"
                # ------------------------------------------
                # - Powersave (Keeps the CPU's to the lowest possible temps)
                # setenv governor "powersave"
                
                
                # --- HDMI CEC Configuration ---
                # ------------------------------------------
                setenv cecenable "false" # false or true
                # set to true to enable HDMI CEC
                
                #------------------------------------------------------------------------------
                #
                # HDMI Hot Plug detection
                #
                #------------------------------------------------------------------------------
                #
                # Forces the HDMI subsystem to ignore the check if the cable is connected or 
                # not.
                # false : disable the detection and force it as connected.
                # true : let cable, board and monitor decide the connection status.
                # 
                # default: true
                # 
                #------------------------------------------------------------------------------
                setenv HPD "false"
                setenv hdmi_phy_control "HPD=${HPD}  vout=${vout}"
                if test "${cecenable}" = "false"; then fdt rm /soc/cec@101B0000; fi 
                setenv dtb_addr_r "0x44000000"
                setenv dtbo_addr_r "0x48000000"
                setenv zimage_addr_r 0x40008000
                setenv uInitrd_addr_r 0x42000000
                setenv fdtbin_addr_r 0x44000000
                setenv config_addr_r "0x4B000000"
                
                setenv fdt_high "0xffffffff"
                
                # load config.ini
                load mmc 0:1 ${config_addr_r} config.ini \
                    && ini generic ${config_addr_r}
                
                # DRAM Frequency (lpddr3 available frequency list - 933/825/728/633)
                setenv ddr_freq 933
                
                # set DDR frequency
                dmc ${ddr_freq}
                
                # Default boot arguments
                setenv bootrootfs "label=RECALBOX"
                setenv console "console=ttySAC2,115200n8 consoleblank=0 vt.global_cursor_default=0"
                
                # boot commands
                fatload mmc 0:1 ${zimage_addr_r} ${zimage}
                fatload mmc 0:1 ${uInitrd_addr_r} ${uInitrd}
                fatload mmc 0:1 ${fdtbin_addr_r} ${fdtbin}
                
                fdt addr ${dtb_addr_r}
                if test "${cecenable}" = "false"; then fdt rm /cec@101B0000; fi
                
                setenv bootargs "${bootrootfs} ${console} governor=${governor} ${videoconfig} ${hdmi_phy_control}"
                
                # load overlays from config.ini
                if test "x${overlay_profile}" != "x"; then
                    ini overlay_${overlay_profile} ${config_addr_r}
                fi
                
                if test "x{overlays}" != "x"; then
                    fdt resize ${overlay_resize}
                    for overlay in ${overlays}; do
                        load mmc 0:1 ${dtbo_addr_r} overlays/${overlay}.dtbo \
                            && fdt apply ${dtbo_addr_r}
                    done
                fi
                
                bootz ${zimage_addr_r} ${uInitrd_addr_r} ${fdtbin_addr_r}
                

                Oh nice. I will ask guys to test your boot.ini. Thank you!

                cedric-debuiselle 1 Reply Last reply Reply Quote 0
                • cedric-debuiselle
                  cedric-debuiselle @davidb2111 last edited by

                  @davidb2111 said in Probleme affichage ogst odroid n64 case (Odroid xu4):

                  @kairoslair-0 said in Probleme affichage ogst odroid n64 case (Odroid xu4):

                  I've been having the same issues as manitou and cedric, and using david's boot.ini also did not work. But, I mixed a bit of david's boot.ini with the original (leaving some things out also) and now it works! Here is my boot.ini, if it will maybe help someone:

                  ODROIDXU-UBOOT-CONFIG
                  
                  # U-Boot Parameters (DO NOT MODIFY)
                  setenv version 4.14 
                  setenv zimage boot/linux
                  setenv fdtbin boot/exynos5422-odroidxu4.dtb
                  setenv uInitrd boot/uInitrd
                  
                  # --- Screen Configuration for HDMI --- # 
                  # ---------------------------------------
                  # Uncomment only ONE line! Leave all commented for automatic selection.
                  # Uncomment only the setenv line!
                  # ---------------------------------------
                  # ODROID-VU forced resolution
                  # setenv videoconfig "video=HDMI-A-1:1280x800@60"
                  # -----------------------------------------------
                  # ODROID-VU forced EDID
                  # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x800.bin"
                  # -----------------------------------------------
                  # 1920x1080 (1080P) with monitor provided EDID information. (1080p-edid)
                  setenv videoconfig "video=HDMI-A-1:1920x1080@60"
                  # -----------------------------------------------
                  # 1920x1080 (1080P) without monitor data using generic information (1080p-noedid)
                  # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080.bin"
                  # -----------------------------------------------
                  # 1920x1080 50hz (1080P) with monitor provided EDID information. (1080p 50hz-edid)
                  # setenv videoconfig "video=HDMI-A-1:1920x1080@50"
                  # -----------------------------------------------
                  # 1920x1080 50hz (1080P) without monitor data using generic information (1080p 50hz-noedid)
                  # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080_50hz.bin"
                  # -----------------------------------------------
                  # 1440x900 with monitor provided EDID information.
                  # setenv videoconfig "video=HDMI-A-1:1440x900@60"
                  # -----------------------------------------------
                  # 1440x900 without monitor data using generic information 
                  # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1440x900.bin"
                  # -----------------------------------------------
                  # 1280x1024 without monitor data using generic information
                  # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x1024.bin"
                  # -----------------------------------------------
                  # 1280x720 (720P) with monitor provided EDID information. (720p-edid)
                  # setenv videoconfig "video=HDMI-A-1:1280x720@60"
                  # -----------------------------------------------
                  # 1280x720 (720P) without monitor data using generic information (720p-noedid)
                  # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x720.bin"
                  # -----------------------------------------------
                  # 1024x768 without monitor data using generic information
                  # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1024x768.bin"
                  # -----------------------------------------------
                  # 1024x600 without monitor data using generic information (ODROID VU7+)
                  # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1024x600.bin"
                  # -----------------------------------------------
                  # 800x600 without monitor data using generic information 
                  # setenv videoconfig "drm_kms_helper.edid_firmware=edid/800x600.bin"
                  # -----------------------------------------------
                  # 800x480 without monitor data using generic information (ODROID 7")
                  # setenv videoconfig "drm_kms_helper.edid_firmware=edid/800x480.bin"
                  # -----------------------------------------------
                  # 720x576 without monitor data using generic information 
                  # setenv videoconfig "drm_kms_helper.edid_firmware=edid/720x576.bin"
                  # -----------------------------------------------
                  # 720x480 without monitor data using generic information 
                  # setenv videoconfig "drm_kms_helper.edid_firmware=edid/720x480.bin"
                  # -----------------------------------------------
                  # 640x480 without monitor data using generic information
                  # setenv videoconfig "drm_kms_helper.edid_firmware=edid/640x480.bin"
                  
                  
                  # --- HDMI / DVI Mode Selection ---
                  # ------------------------------------------
                  # - HDMI Mode
                  setenv vout "hdmi"
                  # - DVI Mode (disables sound over HDMI as per DVI compat)
                  # setenv vout "dvi"
                  
                  
                  # --- CPU Governor Setup ---
                  # Uncomment only one line. New governor is set after 90secs after boot.
                  # ------------------------------------------
                  # - Performance (Keep all the CPU's at Maximum frequency)
                  setenv governor "performance"
                  # ------------------------------------------
                  # - Ondemand
                  # setenv governor "ondemand"
                  # ------------------------------------------
                  # - Interactive (Pretty much just like ondemand with more possible customization via sysfs.)
                  # setenv governor "interactive"
                  # ------------------------------------------
                  # - Conservative (Like ondemand, but do the frequency transitions more slowly, great for battery powered applications)
                  # setenv governor "conservative"
                  # ------------------------------------------
                  # - Powersave (Keeps the CPU's to the lowest possible temps)
                  # setenv governor "powersave"
                  
                  
                  # --- HDMI CEC Configuration ---
                  # ------------------------------------------
                  setenv cecenable "false" # false or true
                  # set to true to enable HDMI CEC
                  
                  #------------------------------------------------------------------------------
                  #
                  # HDMI Hot Plug detection
                  #
                  #------------------------------------------------------------------------------
                  #
                  # Forces the HDMI subsystem to ignore the check if the cable is connected or 
                  # not.
                  # false : disable the detection and force it as connected.
                  # true : let cable, board and monitor decide the connection status.
                  # 
                  # default: true
                  # 
                  #------------------------------------------------------------------------------
                  setenv HPD "false"
                  setenv hdmi_phy_control "HPD=${HPD}  vout=${vout}"
                  if test "${cecenable}" = "false"; then fdt rm /soc/cec@101B0000; fi 
                  setenv dtb_addr_r "0x44000000"
                  setenv dtbo_addr_r "0x48000000"
                  setenv zimage_addr_r 0x40008000
                  setenv uInitrd_addr_r 0x42000000
                  setenv fdtbin_addr_r 0x44000000
                  setenv config_addr_r "0x4B000000"
                  
                  setenv fdt_high "0xffffffff"
                  
                  # load config.ini
                  load mmc 0:1 ${config_addr_r} config.ini \
                      && ini generic ${config_addr_r}
                  
                  # DRAM Frequency (lpddr3 available frequency list - 933/825/728/633)
                  setenv ddr_freq 933
                  
                  # set DDR frequency
                  dmc ${ddr_freq}
                  
                  # Default boot arguments
                  setenv bootrootfs "label=RECALBOX"
                  setenv console "console=ttySAC2,115200n8 consoleblank=0 vt.global_cursor_default=0"
                  
                  # boot commands
                  fatload mmc 0:1 ${zimage_addr_r} ${zimage}
                  fatload mmc 0:1 ${uInitrd_addr_r} ${uInitrd}
                  fatload mmc 0:1 ${fdtbin_addr_r} ${fdtbin}
                  
                  fdt addr ${dtb_addr_r}
                  if test "${cecenable}" = "false"; then fdt rm /cec@101B0000; fi
                  
                  setenv bootargs "${bootrootfs} ${console} governor=${governor} ${videoconfig} ${hdmi_phy_control}"
                  
                  # load overlays from config.ini
                  if test "x${overlay_profile}" != "x"; then
                      ini overlay_${overlay_profile} ${config_addr_r}
                  fi
                  
                  if test "x{overlays}" != "x"; then
                      fdt resize ${overlay_resize}
                      for overlay in ${overlays}; do
                          load mmc 0:1 ${dtbo_addr_r} overlays/${overlay}.dtbo \
                              && fdt apply ${dtbo_addr_r}
                      done
                  fi
                  
                  bootz ${zimage_addr_r} ${uInitrd_addr_r} ${fdtbin_addr_r}
                  

                  Oh nice. I will ask guys to test your boot.ini. Thank you!

                  je viens d'essayé tft toujours eteint, j'ai recopier le boot.ini dans le cas ou j'ai fait une fausse manip, pour info je fais la manip directement avec notepad++ et la eMMC branché en USB sur windows

                  ODROIDXU-UBOOT-CONFIG
                  
                  # U-Boot Parameters (DO NOT MODIFY)
                  setenv version 4.14 
                  setenv zimage boot/linux
                  setenv fdtbin boot/exynos5422-odroidxu4.dtb
                  setenv uInitrd boot/uInitrd
                  
                  # --- Screen Configuration for HDMI --- # 
                  # ---------------------------------------
                  # Uncomment only ONE line! Leave all commented for automatic selection.
                  # Uncomment only the setenv line!
                  # ---------------------------------------
                  # ODROID-VU forced resolution
                  # setenv videoconfig "video=HDMI-A-1:1280x800@60"
                  # -----------------------------------------------
                  # ODROID-VU forced EDID
                  # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x800.bin"
                  # -----------------------------------------------
                  # 1920x1080 (1080P) with monitor provided EDID information. (1080p-edid)
                  setenv videoconfig "video=HDMI-A-1:1920x1080@60"
                  # -----------------------------------------------
                  # 1920x1080 (1080P) without monitor data using generic information (1080p-noedid)
                  # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080.bin"
                  # -----------------------------------------------
                  # 1920x1080 50hz (1080P) with monitor provided EDID information. (1080p 50hz-edid)
                  # setenv videoconfig "video=HDMI-A-1:1920x1080@50"
                  # -----------------------------------------------
                  # 1920x1080 50hz (1080P) without monitor data using generic information (1080p 50hz-noedid)
                  # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080_50hz.bin"
                  # -----------------------------------------------
                  # 1440x900 with monitor provided EDID information.
                  # setenv videoconfig "video=HDMI-A-1:1440x900@60"
                  # -----------------------------------------------
                  # 1440x900 without monitor data using generic information 
                  # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1440x900.bin"
                  # -----------------------------------------------
                  # 1280x1024 without monitor data using generic information
                  # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x1024.bin"
                  # -----------------------------------------------
                  # 1280x720 (720P) with monitor provided EDID information. (720p-edid)
                  # setenv videoconfig "video=HDMI-A-1:1280x720@60"
                  # -----------------------------------------------
                  # 1280x720 (720P) without monitor data using generic information (720p-noedid)
                  # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x720.bin"
                  # -----------------------------------------------
                  # 1024x768 without monitor data using generic information
                  # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1024x768.bin"
                  # -----------------------------------------------
                  # 1024x600 without monitor data using generic information (ODROID VU7+)
                  # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1024x600.bin"
                  # -----------------------------------------------
                  # 800x600 without monitor data using generic information 
                  # setenv videoconfig "drm_kms_helper.edid_firmware=edid/800x600.bin"
                  # -----------------------------------------------
                  # 800x480 without monitor data using generic information (ODROID 7")
                  # setenv videoconfig "drm_kms_helper.edid_firmware=edid/800x480.bin"
                  # -----------------------------------------------
                  # 720x576 without monitor data using generic information 
                  # setenv videoconfig "drm_kms_helper.edid_firmware=edid/720x576.bin"
                  # -----------------------------------------------
                  # 720x480 without monitor data using generic information 
                  # setenv videoconfig "drm_kms_helper.edid_firmware=edid/720x480.bin"
                  # -----------------------------------------------
                  # 640x480 without monitor data using generic information
                  # setenv videoconfig "drm_kms_helper.edid_firmware=edid/640x480.bin"
                  
                   
                  # --- HDMI / DVI Mode Selection ---
                  # ------------------------------------------
                  # - HDMI Mode
                  setenv vout "hdmi"
                  # - DVI Mode (disables sound over HDMI as per DVI compat)
                  # setenv vout "dvi"
                  
                   
                  # --- CPU Governor Setup ---
                  # Uncomment only one line. New governor is set after 90secs after boot.
                  # ------------------------------------------
                  # - Performance (Keep all the CPU's at Maximum frequency)
                  setenv governor "performance"
                  # ------------------------------------------
                  # - Ondemand
                  # setenv governor "ondemand"
                  # ------------------------------------------
                  # - Interactive (Pretty much just like ondemand with more possible customization via sysfs.)
                  # setenv governor "interactive"
                  # ------------------------------------------
                  # - Conservative (Like ondemand, but do the frequency transitions more slowly, great for battery powered applications)
                  # setenv governor "conservative"
                  # ------------------------------------------
                  # - Powersave (Keeps the CPU's to the lowest possible temps)
                  # setenv governor "powersave"
                  
                   
                  # --- HDMI CEC Configuration ---
                  # ------------------------------------------
                  setenv cecenable "false" # false or true
                  # set to true to enable HDMI CEC
                  
                  #------------------------------------------------------------------------------
                  #
                  # HDMI Hot Plug detection
                  #
                  #------------------------------------------------------------------------------
                  #
                  # Forces the HDMI subsystem to ignore the check if the cable is connected or 
                  # not.
                  # false : disable the detection and force it as connected.
                  # true : let cable, board and monitor decide the connection status.
                  # 
                  # default: true
                  # 
                  #------------------------------------------------------------------------------
                  setenv HPD "false"
                  setenv hdmi_phy_control "HPD=${HPD}  vout=${vout}"
                  if test "${cecenable}" = "false"; then fdt rm /soc/cec@101B0000; fi 
                  setenv dtb_addr_r "0x44000000"
                  setenv dtbo_addr_r "0x48000000"
                  setenv zimage_addr_r 0x40008000
                  setenv uInitrd_addr_r 0x42000000
                  setenv fdtbin_addr_r 0x44000000
                  setenv config_addr_r "0x4B000000"
                   
                  setenv fdt_high "0xffffffff"
                  
                  # load config.ini
                  load mmc 0:1 ${config_addr_r} config.ini \
                      && ini generic ${config_addr_r}
                  	
                  # DRAM Frequency (lpddr3 available frequency list - 933/825/728/633)
                  setenv ddr_freq 933
                  
                  # set DDR frequency
                  dmc ${ddr_freq}
                  
                  # Default boot arguments
                  setenv bootrootfs "label=RECALBOX"
                  setenv console "console=ttySAC2,115200n8 consoleblank=0 vt.global_cursor_default=0"
                  
                  # boot commands
                  fatload mmc 0:1 ${zimage_addr_r} ${zimage}
                  fatload mmc 0:1 ${uInitrd_addr_r} ${uInitrd}
                  fatload mmc 0:1 ${fdtbin_addr_r} ${fdtbin}
                   
                  fdt addr ${dtb_addr_r}
                  if test "${cecenable}" = "false"; then fdt rm /cec@101B0000; fi
                   
                  setenv bootargs "${bootrootfs} ${console} governor=${governor} ${videoconfig} ${hdmi_phy_control}"
                  
                  # load overlays from config.ini
                  if test "x${overlay_profile}" != "x"; then
                      ini overlay_${overlay_profile} ${config_addr_r}
                  fi
                   
                  if test "x{overlays}" != "x"; then
                      fdt resize ${overlay_resize}
                      for overlay in ${overlays}; do
                          load mmc 0:1 ${dtbo_addr_r} overlays/${overlay}.dtbo \
                              && fdt apply ${dtbo_addr_r}
                      done
                  fi
                   
                  bootz ${zimage_addr_r} ${uInitrd_addr_r} ${fdtbin_addr_r}
                  
                  davidb2111 1 Reply Last reply Reply Quote 0
                  • davidb2111
                    davidb2111 Staff @cedric-debuiselle last edited by

                    @cedric-debuiselle
                    Juste un truc comme ça, dans le config.ini peux-tu modifier la ligne

                    overlays="hktft-cs-ogst i2c0"
                    

                    en

                    overlays="hktft-cs-ogst"
                    

                    ?

                    cedric-debuiselle 1 Reply Last reply Reply Quote 0
                    • cedric-debuiselle
                      cedric-debuiselle @davidb2111 last edited by

                      @davidb2111 said in Probleme affichage ogst odroid n64 case (Odroid xu4):

                      @cedric-debuiselle
                      Juste un truc comme ça, dans le config.ini peux-tu modifier la ligne

                      overlays="hktft-cs-ogst i2c0"
                      

                      en

                      overlays="hktft-cs-ogst"
                      

                      ?

                      non j'avais pas vu qu'il fallait le modifier
                      voilà modifier je test

                      [generic]
                      ; Device Tree Overlay
                      overlay_resize=16384
                      ; uncomment next line to enable Odroid XU4 OGST
                      overlay_profile=hktft_cs_ogst
                      overlays="spi0 i2c0 i2c1 uart0"
                       
                      [overlay_hktft_cs_ogst]
                      overlays="hktft-cs-ogst"
                      
                      
                      cedric-debuiselle 1 Reply Last reply Reply Quote 0
                      • cedric-debuiselle
                        cedric-debuiselle @cedric-debuiselle last edited by

                        @cedric-debuiselle said in Probleme affichage ogst odroid n64 case (Odroid xu4):

                        @davidb2111 said in Probleme affichage ogst odroid n64 case (Odroid xu4):

                        @cedric-debuiselle
                        Juste un truc comme ça, dans le config.ini peux-tu modifier la ligne

                        overlays="hktft-cs-ogst i2c0"
                        

                        en

                        overlays="hktft-cs-ogst"
                        

                        ?

                        non j'avais pas vu qu'il fallait le modifier
                        voilà modifier je test

                        [generic]
                        ; Device Tree Overlay
                        overlay_resize=16384
                        ; uncomment next line to enable Odroid XU4 OGST
                        overlay_profile=hktft_cs_ogst
                        overlays="spi0 i2c0 i2c1 uart0"
                         
                        [overlay_hktft_cs_ogst]
                        overlays="hktft-cs-ogst"
                        
                        

                        marche toujours pas

                        davidb2111 1 Reply Last reply Reply Quote 0
                        • davidb2111
                          davidb2111 Staff @cedric-debuiselle last edited by

                          @cedric-debuiselle

                          Voici 2 nouveaux fichiers à tester:

                          • boot.ini
                          • config.ini

                          David

                          cedric-debuiselle 1 Reply Last reply Reply Quote 0
                          • cedric-debuiselle
                            cedric-debuiselle @davidb2111 last edited by

                            @davidb2111 said in Probleme affichage ogst odroid n64 case (Odroid xu4):

                            @cedric-debuiselle

                            Voici 2 nouveaux fichiers à tester:

                            • boot.ini
                            • config.ini

                            David

                            toujours écran noir

                            davidb2111 1 Reply Last reply Reply Quote 0
                            • davidb2111
                              davidb2111 Staff @cedric-debuiselle last edited by

                              @cedric-debuiselle
                              Arf... le boot.ini et config.ini sont repris de ceux du boot d'ubuntu XU4.
                              Tu saurais tester l'image ubuntu xu4 et me dire si ça s'allume?

                              cedric-debuiselle 2 Replies Last reply Reply Quote 0
                              • davidb2111
                                davidb2111 Staff @manitou last edited by

                                @manitou

                                Tu as pu tester les nouveaux boot.ini et config.ini ?

                                1 Reply Last reply Reply Quote 0
                                • cedric-debuiselle
                                  cedric-debuiselle @davidb2111 last edited by

                                  @davidb2111 said in Probleme affichage ogst odroid n64 case (Odroid xu4):

                                  @cedric-debuiselle
                                  Arf... le boot.ini et config.ini sont repris de ceux du boot d'ubuntu XU4.
                                  Tu saurais tester l'image ubuntu xu4 et me dire si ça s'allume?

                                  Ok je vais essayer, il y a eu beaucoup de différence en très la version 7 et 6 de recalbox pour l'écran car j'avais installé sur une sd car l'eMMC marché pas terribles mais l'affichage de ogst marché très bien, dommage que je connaisse pas grand choses dans se domaine là

                                  davidb2111 1 Reply Last reply Reply Quote 0
                                  • davidb2111
                                    davidb2111 Staff @cedric-debuiselle last edited by

                                    @cedric-debuiselle
                                    Les changements sont arrivés avec la 7.2 où le kernel du XU4 a été mis à jour. On passe de 4.19 à 5.4.
                                    Ça apporte un meilleur support de différentes adaptateurs wifi, BT, ...

                                    Les devs odroids ont revu la manière de charger le driver tft pour l'OGST et on toutes les peines du monde pour que ça marche partout.

                                    On est 4 devs et betas chez RB à avoir le xu4 et l'ogst, on a jamais rencontré de souci avec l'écran. Comme on ne reproduit pas, c'est très compliqué à identifier la root cause...

                                    cedric-debuiselle 1 Reply Last reply Reply Quote 0
                                    • cedric-debuiselle
                                      cedric-debuiselle @davidb2111 last edited by

                                      @davidb2111 said in Probleme affichage ogst odroid n64 case (Odroid xu4):

                                      @cedric-debuiselle
                                      Les changements sont arrivés avec la 7.2 où le kernel du XU4 a été mis à jour. On passe de 4.19 à 5.4.
                                      Ça apporte un meilleur support de différentes adaptateurs wifi, BT, ...

                                      Les devs odroids ont revu la manière de charger le driver tft pour l'OGST et on toutes les peines du monde pour que ça marche partout.

                                      On est 4 devs et betas chez RB à avoir le xu4 et l'ogst, on a jamais rencontré de souci avec l'écran. Comme on ne reproduit pas, c'est très compliqué à identifier la root cause...

                                      J'ai pas regardé mais il doit avoir peut-être des évolutions au niveau du matériel ,je vais démontrer complètement le mien et voir si je trouve des numéros de versions matériel ça peut être une cause non ?

                                      davidb2111 1 Reply Last reply Reply Quote 0
                                      • cedric-debuiselle
                                        cedric-debuiselle @davidb2111 last edited by

                                        @davidb2111 said in Probleme affichage ogst odroid n64 case (Odroid xu4):

                                        @cedric-debuiselle
                                        Arf... le boot.ini et config.ini sont repris de ceux du boot d'ubuntu XU4.
                                        Tu saurais tester l'image ubuntu xu4 et me dire si ça s'allume?

                                        j'ai utliser celui la installer pas encore configuré ubuntu-20.04-5.4-mate-odroid-xu4-20210926.img.xz

                                        1 Reply Last reply Reply Quote 0
                                        • davidb2111
                                          davidb2111 Staff @cedric-debuiselle last edited by

                                          @cedric-debuiselle

                                          Oui probablement, néanmoins, je n'ai lu aucune littérature certifiant qu'il y a plusieurs versions incompatibles niveau hardware chez odroid.

                                          cedric-debuiselle 1 Reply Last reply Reply Quote 0
                                          • cedric-debuiselle
                                            cedric-debuiselle @davidb2111 last edited by

                                            @davidb2111 said in Probleme affichage ogst odroid n64 case (Odroid xu4):

                                            @cedric-debuiselle

                                            Oui probablement, néanmoins, je n'ai lu aucune littérature certifiant qu'il y a plusieurs versions incompatibles niveau hardware chez odroid.

                                            OK
                                            je sus entrain d'installer et mettre à jour la version d'ubuntu que je t'ai indiqué

                                            davidb2111 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Want to support us ?

                                            75
                                            Online

                                            99.6k
                                            Users

                                            28.1k
                                            Topics

                                            187.1k
                                            Posts

                                            Copyright © 2021 recalbox.com