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
    7507
    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 @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
                          • davidb2111
                            davidb2111 Staff @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

                            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é

                            n'oublie pas d'activer l'overlay dans le fichier boot.ini:

                            overlay_profile=hktft_cs_ogst
                            
                            cedric-debuiselle 1 Reply Last reply Reply Quote 1
                            • cedric-debuiselle
                              cedric-debuiselle @davidb2111 last edited by

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

                              @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

                              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é

                              n'oublie pas d'activer l'overlay dans le fichier boot.ini:

                              overlay_profile=hktft_cs_ogst
                              

                              j'ai essayer de modifier alors pas le boot.ini mais le config.ini

                              [generic]
                              # Mac address configuration
                              macaddr=00:1e:06:61:7a:39
                              
                              ; HDMI configuration
                              ; 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"
                              ; -----------------------------------------------
                              ; 1920x1200 60hz without monitor data using generic information
                              ; setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1200_60hz.bin"
                              ; -----------------------------------------------
                              ; 1920x1200 30hz without monitor data using generic information
                              ; setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1200_30hz.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"
                              ; -----------------------------------------------
                              ; 1920x1080 24Hz (1080P) without monitor data using generic information (1080p 24hz-noedid)
                              ; setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080_24hz.bin"
                              ; -----------------------------------------------
                              ; 1920x1080 23.976Hz (1080P) without monitor data using generic information (1080p 23.976hz-noedid)
                              ; setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080_23_976hz.bin"
                              ; -----------------------------------------------
                              ; 1920x800 60hz without monitor data using generic information
                              ; setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x800.bin"
                              ; -----------------------------------------------
                              ; 1792x1344 60hz without monitor data using generic information
                              ; setenv videoconfig "drm_kms_helper.edid_firmware=edid/1792x1344.bin"
                              ; -----------------------------------------------
                              ; 1680x1050 without monitor data using generic information
                              ; setenv videoconfig "drm_kms_helper.edid_firmware=edid/1680x1050.bin"
                              ; -----------------------------------------------
                              ; 1600x1200 without monitor data using generic information
                              ; setenv videoconfig "drm_kms_helper.edid_firmware=edid/1600x1200.bin"
                              ; -----------------------------------------------
                              ; 1600x900 without monitor data using generic information
                              ; setenv videoconfig "drm_kms_helper.edid_firmware=edid/1600x900.bin"
                              ; -----------------------------------------------
                              ; 1400x1050 60hz without monitor data using generic information
                              ; setenv videoconfig "drm_kms_helper.edid_firmware=edid/1400x1050.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"
                              ; -----------------------------------------------
                              ; 1366x768 without monitor data using generic information
                              ; setenv videoconfig "drm_kms_helper.edid_firmware=edid/1366x768.bin"
                              ; -----------------------------------------------
                              ; 1360x768 without monitor data using generic information
                              ; setenv videoconfig "drm_kms_helper.edid_firmware=edid/1360x768.bin"
                              ; -----------------------------------------------
                              ; 1280x1024 without monitor data using generic information
                              ; setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x1024.bin"
                              ; -----------------------------------------------
                              ; 1280x768 60hz without monitor data using generic information
                              ; setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x768.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"
                              ; -----------------------------------------------
                              ; 1152x864 75hz without monitor data using generic information
                              ; setenv videoconfig "drm_kms_helper.edid_firmware=edid/1152x864_75hz.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"
                              ; -----------------------------------------------
                              ; 848x480 60hz without monitor data using generic information
                              ; setenv videoconfig "drm_kms_helper.edid_firmware=edid/848x480.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"
                              ; -----------------------------------------------
                              ; 480x800 without monitor data using generic information
                              ; setenv videoconfig "drm_kms_helper.edid_firmware=edid/480x800.bin"
                              ; -----------------------------------------------
                              ; 480x320 without monitor data using generic information
                              ; setenv videoconfig "drm_kms_helper.edid_firmware=edid/480x320.bin"
                              
                              ; voutm : hdmi or dvi
                              ; hdmi / dvi
                              vout=hdmi
                              
                              ; HPD enable/disable option
                              ; false / true
                              HPD=true
                              
                              ; Enable/Disable CEC
                              cecenable=false
                              
                              ; Hardkernel ODROID-VU7 support
                              ; By default VU7 support is disabled
                              disable_vu7=false
                              
                              ; DRAM Frequency
                              ; Sets the LPDDR3 memory frequency (MHz)
                              ; 933 / 825 / 728 / 633
                              ddr_freq=825
                              
                              
                              ; Device Tree Overlay
                              overlay_resize=16384
                              overlay_profile=hktft_cs_ogst
                              overlays="spi0 i2c0 i2c1 uart0"
                              
                              [overlay_custom]
                              overlays="i2c0 i2c1"
                              
                              [overlay_hktft32]
                              overlays="hktft32 ads7846"
                              
                              [overlay_hktft35]
                              overlays="hktft35 sx865x-i2c1"
                              
                              [overlay_hktft_cs_ogst]
                              overlays="hktft-cs-ogst"
                              
                              davidb2111 1 Reply Last reply Reply Quote 0
                              • davidb2111
                                davidb2111 Staff @cedric-debuiselle last edited by

                                @cedric-debuiselle
                                Oui au temps pour moi, c'est bien le config.ini

                                cedric-debuiselle 3 Replies 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 said in Probleme affichage ogst odroid n64 case (Odroid xu4):

                                  @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é

                                  n'oublie pas d'activer l'overlay dans le fichier boot.ini:

                                  overlay_profile=hktft_cs_ogst
                                  

                                  dans le boot.ini je n'ai pas su ou il fallait le mettre

                                  ODROIDXU-UBOOT-CONFIG
                                  
                                  setenv initrd_high "0xffffffff"
                                  setenv fdt_high "0xffffffff"
                                  setenv macaddr "00:1e:06:61:7a:39"
                                  setenv vout "hdmi"
                                  setenv HPD "true"
                                  setenv cecenable "false"
                                  setenv disable_vu7 "false"
                                  setenv ddr_freq 825
                                  setenv external_watchdog "false"
                                  setenv external_watchdog_debounce "3"
                                  
                                  # Set load addresses
                                  setenv dtb_loadaddr " 0x44000000"
                                  setenv dtbo_addr_r "0x48000000"
                                  setenv k_addr "0x40008000"
                                  setenv initrd_loadaddr "0x42000000"
                                  setenv config_addr_r "0x4B000000"
                                  load mmc 0:1 ${config_addr_r} config.ini \
                                      && ini generic ${config_addr_r}
                                  
                                  setenv hdmi_phy_control "HPD=${HPD} vout=${vout}"
                                  if test "${cecenable}" = "false"; then fdt rm /soc/cec@101B0000; fi
                                  if test "${disable_vu7}" = "false"; then setenv hid_quirks "usbhid.quirks=0x0eef:0x0005:0x0004"; fi
                                  if test "${external_watchdog}" = "true"; then setenv external_watchdog "external_watchdog=${external_watchdog} external_watchdog_debounce=${external_watchdog_debounce}"; fi
                                  
                                  # Boot Args
                                  setenv bootargs "console=tty1 console=ttySAC2,115200n8 root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro fsck.repair=yes net.ifnames=0 ${videoconfig} ${hdmi_phy_control} ${hid_quirks} smsc95xx.macaddr=${macaddr} ${external_watchdog}"
                                  
                                  # Load kernel, initrd and dtb in that sequence
                                  fatload mmc 0:1 ${k_addr} zImage
                                  fatload mmc 0:1 ${initrd_loadaddr} uInitrd
                                  
                                  setenv fdtloaded "false"
                                  if test "x${board_name}" = "x"; then setenv board_name "xu4"; fi
                                  if test "${board_name}" = "xu4"; then fatload mmc 0:1 ${dtb_loadaddr} exynos5422-odroidxu4.dtb; setenv fdtloaded "true"; fi
                                  if test "${board_name}" = "xu3"; then fatload mmc 0:1 ${dtb_loadaddr} exynos5422-odroidxu3.dtb; setenv fdtloaded "true"; fi
                                  if test "${board_name}" = "xu3l"; then fatload mmc 0:1 ${dtb_loadaddr} exynos5422-odroidxu3-lite.dtb; setenv fdtloaded "true"; fi
                                  if test "${fdtloaded}" = "false"; then fatload mmc 0:1 ${dtb_loadaddr} exynos5422-odroidxu4.dtb; setenv fdtloaded "true"; fi
                                  
                                  fdt addr ${dtb_loadaddr}
                                  
                                  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
                                  
                                  # DDR frequency
                                  dmc ${ddr_freq}
                                  
                                  # boot
                                  bootz ${k_addr} ${initrd_loadaddr} ${dtb_loadaddr}
                                  ```je l'ai mis à la ligne 137 ça n'a pas marché mais lien je viens de le modifier en mettant un espace enter la ligne 136 et 137
                                  1 Reply Last reply Reply Quote 0
                                  • cedric-debuiselle
                                    cedric-debuiselle @davidb2111 last edited by

                                    @davidb2111 je recommence tout a zero pour ubuntu j'avais oublié de retiré ma clé usb récalbox c'etait le mauvais fichier boot et config que je modifié je pense car dans le fichier boot system il n'était pas présent

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

                                      @davidb2111 recalbox utilise mplayer ? car je suis tomber là dessus https://forum.odroid.com/viewtopic.php?f=156&t=42432

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

                                        @cedric-debuiselle

                                        Non, c'est ffmpeg (ou ffplay) qui joue la video sur l'écran de l'ogst.

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

                                        Want to support us ?

                                        96
                                        Online

                                        99.6k
                                        Users

                                        28.1k
                                        Topics

                                        187.1k
                                        Posts

                                        Copyright © 2021 recalbox.com