Recalbox Forum

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

    Kernel xu4

    Recalbox Général
    kernel xu4
    6
    65
    11597
    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.
    • Substring
      Substring @welshfrites last edited by

      @welshfrites peut etre un simple edid manquant. De toute facon, vu ce que je vais en faire du VU7+, il devra marcher, pas le choix, sinon je pousse un cri

      Former dev - Please reply with @substring so that i am notified when you answer me
      Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

      welshfrites 1 Reply Last reply Reply Quote 0
      • welshfrites
        welshfrites @Substring last edited by

        @substring : jsuis bcp trop curieux... Que vas-tu en faire ???? :):):)

        Substring 1 Reply Last reply Reply Quote 0
        • Substring
          Substring @welshfrites last edited by

          @welshfrites un truc avec 3 boards dedans pour gagner un peu de la place considérable que tout ce qui est dédié à Recalbox me prend dans mon bureau. J'ai prix le truc shell case poru l'écran, donc je vais coller dedans un C2 un XU4 un pi2 surement, un switch hdmi, 3 cableas réeau, une alim commune a tout ca (la smart power2 de hardkernel) et basta

          Former dev - Please reply with @substring so that i am notified when you answer me
          Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

          welshfrites 1 Reply Last reply Reply Quote 0
          • welshfrites
            welshfrites @Substring last edited by

            @substring l'ultime outil de travail jeux !!
            Bon, bah si tu parviens a faire tourner recalbox sur Odroid XU4 et cet écran, je suis preneur de la méthodo

            A+

            1 Reply Last reply Reply Quote 0
            • welshfrites
              welshfrites last edited by

              Alors @Substring un jeu d'enfant la connexion Odroid Xu4 - Recalbox - Odroid Vu7+ ?? :):)

              Substring 1 Reply Last reply Reply Quote 0
              • Substring
                Substring @welshfrites last edited by

                @welshfrites mec, je suis dessus en ce moment même. Ce connm'affiche ca en 1024x1800, donc ca ne ressemble à rien dans es. Mais je ne vais pas me laisser faire

                Former dev - Please reply with @substring so that i am notified when you answer me
                Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                1 Reply Last reply Reply Quote 0
                • Substring
                  Substring last edited by

                  Au passage, j'ai vu le meme soucis chez lakka ...

                  Former dev - Please reply with @substring so that i am notified when you answer me
                  Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                  1 Reply Last reply Reply Quote 0
                  • welshfrites
                    welshfrites last edited by

                    @Substring Aïe la galère....

                    Je me suis arrêté là sur le boot.ini :

                    ODROIDXU-UBOOT-CONFIG
                    
                    # U-Boot Parameters (DO NOT MODIFY)
                    setenv version 3.10
                    setenv zimage zImage
                    setenv fdtbin exynos5422-odroidxu3.dtb
                    
                    setenv zimage_addr_r 0x40008000
                    setenv fdtbin_addr_r 0x44000000
                    
                    setenv fdt_high "0xffffffff"
                    
                    # DVI Mode
                    setenv vout "dvi"
                    
                    # HDMI-PHY Parameter Control
                    setenv HPD "true"
                    setenv hdmi_tx_amp_lvl  "31"
                    setenv hdmi_tx_lvl_ch0      "3"
                    setenv hdmi_tx_lvl_ch1      "3"
                    setenv hdmi_tx_lvl_ch2      "3"
                    setenv hdmi_tx_emp_lvl      "6"
                    setenv hdmi_clk_amp_lvl     "31"
                    setenv hdmi_tx_res      "0"
                    
                    setenv hdmi_phy_control "hdmi_tx_amp_lvl=${hdmi_tx_amp_lvl} hdmi_tx_lvl_ch0=${hdmi_tx_lvl_ch0} hdmi_tx_lvl_ch1=${hdmi_tx_lvl_ch1} hdmi_tx_lvl_ch2=${hdmi_tx_lvl_ch2} hdmi_tx_emp_lvl=${hdmi_tx_emp_lvl} hdmi_clk_amp_lvl=${hdmi_clk_amp_lvl} hdmi_tx_res=${hdmi_tx_res} HPD=${HPD} vout=${vout}"
                    
                    
                    # Default boot argument
                    setenv bootrootfs "root=/dev/mmcblk0p2 rootwait ro"
                    setenv console "console=ttySAC2,115200n8 consoleblank=0 vt.global_cursor_default=0"
                    setenv videoconfig "drm_kms_helper.edid_firmware=edid/1024x600.bin"
                    
                    setenv bootargs "${bootrootfs} ${console} ${videoconfig} ${hdmi_phy_control}"
                    
                    # boot commands
                    fatload mmc 0:1 ${zimage_addr_r} ${zimage}
                    fatload mmc 0:1 ${fdtbin_addr_r} ${fdtbin}
                    bootz ${zimage_addr_r} - ${fdtbin_addr_r}"
                    

                    Chez HardKernel, ils me confirment qu'il n'y a pas d'erreur... ça me dépasse...

                    Substring 1 Reply Last reply Reply Quote 0
                    • Substring
                      Substring @welshfrites last edited by

                      @welshfrites j'ai réussi 🙂

                      Former dev - Please reply with @substring so that i am notified when you answer me
                      Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                      1 Reply Last reply Reply Quote 0
                      • welshfrites
                        welshfrites last edited by

                        p*****, sérieux ? (j'ai envie de pleurer) => Je pleure => Champagne

                        1 Reply Last reply Reply Quote 0
                        • Substring
                          Substring last edited by Substring

                          Alors ce que j'ai fait:

                          • dans le boot.ini j'ai ajouté (qui a mon avis n'a servi a rien parce que pas passé comme params au kernel)
                          setenv videoconfig "drm_kms_helper.edid_firmware=edid/1024x600.bin"
                          setenv vout "dvi"
                          
                          • J'ai ajouté un sale fichier en 1 ligne de commande :
                          mount -o remount, rw /
                          cat > /etc/init.d/S01xu4fb <<EOF
                          #!/bin/bash
                          
                          if test "\$1" != "start"
                          then
                            exit 0
                          fi
                          
                          fbset -fb /dev/fb0 -g 1024 600 1024 600 32
                          EOF
                          chmod 755 /etc/init.d/S01xu4fb
                          

                          Former dev - Please reply with @substring so that i am notified when you answer me
                          Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                          1 Reply Last reply Reply Quote 0
                          • Substring
                            Substring last edited by

                            Bon, ca a ses défauts : la video de splash ne marche pas mais crée toujours les artefacts visuels après. Et elle empeche le premier écran blanc de ES d'apparaitre. Enfin pas grave ca hein, ca marche. Faut par contre que j'arrive à le faire fonctionner nativement sans ajouter un fichier qui force le mode

                            Former dev - Please reply with @substring so that i am notified when you answer me
                            Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                            1 Reply Last reply Reply Quote 0
                            • Substring
                              Substring last edited by

                              en fait c'est pire, seul ES marche, les émulateurs sont aux fraises. Je revoie ma copie ce weekend 🙂

                              Former dev - Please reply with @substring so that i am notified when you answer me
                              Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                              1 Reply Last reply Reply Quote 0
                              • welshfrites
                                welshfrites last edited by

                                @Substring c'est quand meme un truc de fou ce truc.... Autant de manip pour un ecran officiel...

                                Substring 1 Reply Last reply Reply Quote 0
                                • Substring
                                  Substring @welshfrites last edited by Substring

                                  @welshfrites Ca yest réussi ! Voici le boot.ini à avoir:

                                  ODROIDXU-UBOOT-CONFIG
                                  
                                  # U-Boot Parameters (DO NOT MODIFY)
                                  setenv version 3.10
                                  setenv zimage zImage
                                  setenv fdtbin exynos5422-odroidxu3.dtb
                                  
                                  # --- 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-PHY Parameter Control
                                  #
                                  #------------------------------------------------------------------------------
                                  #------------------------------------------------------------------------------
                                  #
                                  # 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 "true"
                                  
                                  #------------------------------------------------------------------------------
                                  #
                                  #  TMDS data amplitude control.
                                  #
                                  #------------------------------------------------------------------------------
                                  #
                                  #  1LSB corresponds to 20 mVdiff amplitude level.
                                  #  tx_amp_lvl : 0 = 760 mVdiff(Min), 31 = 1380 mVdiff(Max)
                                  #
                                  #  Hardkernel default hdmi_tx_amp_lvl = 31(1380 mVdiff);
                                  #------------------------------------------------------------------------------
                                  setenv hdmi_tx_amp_lvl  "31"
                                  
                                  #------------------------------------------------------------------------------
                                  #
                                  #  TMDS data amplitude fine control for each channel.
                                  #
                                  #------------------------------------------------------------------------------
                                  #
                                  #  1LSB corresponds to 20 mVdiff amplitude level.
                                  #  tx_lvl : 0 = 0 mVdiff(Min), 3 = 60 mVdiff(Max)
                                  #
                                  #  Hardkernel default
                                  #      hdmi_tx_lvl_ch0 = 3, hdmi_tx_lvl_ch1 = 3, hdmi_tx_lvl_ch2 = 3,
                                  #------------------------------------------------------------------------------
                                  setenv hdmi_tx_lvl_ch0      "3"
                                  setenv hdmi_tx_lvl_ch1      "3"
                                  setenv hdmi_tx_lvl_ch2      "3"
                                  
                                  #------------------------------------------------------------------------------
                                  #
                                  #  TMDS data pre-emphasis level control.
                                  #
                                  #------------------------------------------------------------------------------
                                  #
                                  #  1LSB corresponds to -0.45dB emphasis level except for 1
                                  #  tx_emp_lvl : 0 = 0 db(Min), 1 = -0.25 db, 2 = 0.7 db, 15 = -7.45 db(Max)
                                  #
                                  #  Hardkernel default hdmi_tx_emp_lvl = 6 (-2.50 db);
                                  #------------------------------------------------------------------------------
                                  setenv hdmi_tx_emp_lvl      "6"
                                  
                                  #------------------------------------------------------------------------------
                                  #
                                  #  TMDS clock amplitude control.
                                  #
                                  #------------------------------------------------------------------------------
                                  #
                                  #  1LSB corresponds to 20 mVdiff amplitude level.
                                  #  clk_amp_lvl : 0 = 790 mVdiff(Min), 31 = 1410 mVdiff(Max)
                                  #
                                  #  Hardkernel default hdmi_clk_amp_lvl = 31 (1410 mVdiff)
                                  #------------------------------------------------------------------------------
                                  setenv hdmi_clk_amp_lvl     "31"
                                  
                                  #------------------------------------------------------------------------------
                                  #
                                  #  TMDS data source termination resistor control.
                                  #
                                  #------------------------------------------------------------------------------
                                  #
                                  #  tx_res :
                                  #      0 = Source Termination OFF(Min), 1 = 200 ohm, 2 = 300 ohm, 3 = 120 ohm(Max)
                                  #
                                  #  Hardkernrel default hdmi_tx_res = 0 (Source Termination OFF)
                                  #------------------------------------------------------------------------------
                                  setenv hdmi_tx_res      "0"
                                  
                                  #------------------------------------------------------------------------------
                                  
                                  # --- HDMI CEC Configuration ---
                                  # ------------------------------------------
                                  setenv cecenable "false" # false or true
                                  # set to true to enable HDMI CEC
                                  
                                  setenv zimage_addr_r 0x40008000
                                  setenv fdtbin_addr_r 0x44000000
                                  
                                  setenv fdt_high "0xffffffff"
                                  
                                  # Default boot argument
                                  setenv bootrootfs "root=/dev/mmcblk0p2 rootwait ro"
                                  setenv console "console=ttySAC2,115200n8 consoleblank=0 vt.global_cursor_default=0"
                                  setenv hdmi_phy_control "hdmi_tx_amp_lvl=${hdmi_tx_amp_lvl} hdmi_tx_lvl_ch0=${hdmi_tx_lvl_ch0} hdmi_tx_lvl_ch1=${hdmi_tx_lvl_ch1} hdmi_tx_lvl_ch2=${hdmi_tx_lvl_ch2} hdmi_tx_emp_lvl=${hdmi_tx_emp_lvl} hdmi_clk_amp_lvl=${hdmi_clk_amp_lvl} hdmi_tx_res=${hdmi_tx_res} HPD=${HPD} vout=${vout}"
                                  setenv bootargs "${bootrootfs} ${console} governor=${governor} ${hdmi_phy_control}"
                                  
                                  # boot commands
                                  fatload mmc 0:1 ${zimage_addr_r} ${zimage}
                                  fatload mmc 0:1 ${fdtbin_addr_r} ${fdtbin}
                                  
                                  fdt addr 0x44000000
                                  if test "${cecenable}" = "false"; then fdt rm /cec@101B0000; fi
                                  
                                  bootz ${zimage_addr_r} - ${fdtbin_addr_r}"
                                  

                                  Bizarrement je trouve que c'est un peu lent, meme si la NES tourne bien à 60FPS. Par contre, tu sais que pour le son, il faudra que tu te débrouilles avec un dongle USB ?

                                  le fichier créé hier soir ne sert à rien, enleve-le si tu l'as ajouté

                                  Former dev - Please reply with @substring so that i am notified when you answer me
                                  Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                                  1 Reply Last reply Reply Quote 0
                                  • welshfrites
                                    welshfrites last edited by

                                    @Substring excellent, ok je vais virer le fichier créé hier et remplacer mon boot par celui la, dès ce soir.... j'imagine qu'en rebranchant l'odroid XU4 sur une tv "classique" sans retoucher le fichier boot, ca ne donnera rien (a la base j'avais un projet du genre recalbox switch), mais tant pis...

                                    je testerai aussi ce soir le fait d'alimenter l'ecran via port usb de l'odroid, mais je sais pas pourquoi je sens que ça va encore une histoire ce truc la. En tout cas merci pour tout !!!

                                    Substring 1 Reply Last reply Reply Quote 0
                                    • Substring
                                      Substring @welshfrites last edited by

                                      @welshfrites je n'ai pas essayé de supprimer le edid forcé. Sur leur ubuntu a jour, inutile de le stipuler, la détection par EDID fonctionne très bien. J'essaierai à l'occasion

                                      Former dev - Please reply with @substring so that i am notified when you answer me
                                      Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                                      1 Reply Last reply Reply Quote 0
                                      • Substring
                                        Substring last edited by

                                        l'un dans l'autre ca marche tres mal je trouve quand meme ...

                                        Former dev - Please reply with @substring so that i am notified when you answer me
                                        Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                                        1 Reply Last reply Reply Quote 0
                                        • welshfrites
                                          welshfrites last edited by welshfrites

                                          @Substring , je viens de modifier le boot.ini en copiant ton fichier, rien à faire, la résolution est toujours problématique...

                                          ![https://www.flickr.com/photos/159603792@N02/shares/21aqR6](image url)

                                          Sur les émulateurs c'est pire, je n'ai d'image que sur 10% de l'écran (en bas). Le reste est noir

                                          Juste pour info, as-tu fait d'autres modifs ailleurs que sur le boot.ini ? Sur fichier conf ? Autre ?

                                          Pour info je suis bien sur Odroid Xu4+OdroidVU7+Recalbox 18.02.09 et l'écran est alimenté sur secteur

                                          Substring 1 Reply Last reply Reply Quote 0
                                          • Substring
                                            Substring @welshfrites last edited by

                                            @welshfrites non aucune, j'ai fait ca sur la dernière stable

                                            Former dev - Please reply with @substring so that i am notified when you answer me
                                            Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

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

                                            Want to support us ?

                                            66
                                            Online

                                            99.6k
                                            Users

                                            28.1k
                                            Topics

                                            187.1k
                                            Posts

                                            Copyright © 2021 recalbox.com