How to find a specific kernel version in the Github repository?












2















I'm trying to get the Linux 4.14.85 kernel, for a problem I've posted before, related to Xenomai.



I see here that there is a branch for 4.14.y, but there are no tags to find which commit corresponds to the 4.14.85 version. Basically, I'm following the instructions provided here but I want to use the most up-to-date versions.



How can I find the appropriate commit to revert to it? Where should I look for it?



I will appreciate any tips or help you can provide.










share|improve this question



























    2















    I'm trying to get the Linux 4.14.85 kernel, for a problem I've posted before, related to Xenomai.



    I see here that there is a branch for 4.14.y, but there are no tags to find which commit corresponds to the 4.14.85 version. Basically, I'm following the instructions provided here but I want to use the most up-to-date versions.



    How can I find the appropriate commit to revert to it? Where should I look for it?



    I will appreciate any tips or help you can provide.










    share|improve this question

























      2












      2








      2








      I'm trying to get the Linux 4.14.85 kernel, for a problem I've posted before, related to Xenomai.



      I see here that there is a branch for 4.14.y, but there are no tags to find which commit corresponds to the 4.14.85 version. Basically, I'm following the instructions provided here but I want to use the most up-to-date versions.



      How can I find the appropriate commit to revert to it? Where should I look for it?



      I will appreciate any tips or help you can provide.










      share|improve this question














      I'm trying to get the Linux 4.14.85 kernel, for a problem I've posted before, related to Xenomai.



      I see here that there is a branch for 4.14.y, but there are no tags to find which commit corresponds to the 4.14.85 version. Basically, I'm following the instructions provided here but I want to use the most up-to-date versions.



      How can I find the appropriate commit to revert to it? Where should I look for it?



      I will appreciate any tips or help you can provide.







      linux kernel git repository






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 8 hours ago









      DAVID DAVID

      384




      384






















          2 Answers
          2






          active

          oldest

          votes


















          2














          The only way I managed to find the commit was by manually scrolling through branch rpi-4.14.y's commits until I got the correct one. The Makefile indicates the commit's version, patch level, and sublevel. With that information, I found it in this page and here is the commit for 4.14.85.






          share|improve this answer
























          • git log -S 'SUBLEVEL = 85' rpi-4.19.y should also show you a list of commits with that patch number

            – user60561
            4 hours ago



















          0














          Go to https://GitHub.com/hexxeh/rpi-firmware and look at the commits.



          The last commit @ 4.14.85 is eefe4b161f5e9730183c8dc1605e14c85b15cf51



          So that gives you a commit id to use with the rpi-update script.



          Run PRUNE_MODULES=1 rpi-update eefe4b161f5e9730183c8dc1605e14c85b15cf51 && reboot and you'll be back on the kernel from Dec 5, 2018.



          I won't ask why the stable 4.14.98 kernel you'd get with apt update; apt install raspberrypi-kernel isn't working for you because I guess you have a sound reason for reverting to something historic.






          share|improve this answer























            Your Answer






            StackExchange.ifUsing("editor", function () {
            return StackExchange.using("schematics", function () {
            StackExchange.schematics.init();
            });
            }, "cicuitlab");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "447"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fraspberrypi.stackexchange.com%2fquestions%2f94849%2fhow-to-find-a-specific-kernel-version-in-the-github-repository%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            The only way I managed to find the commit was by manually scrolling through branch rpi-4.14.y's commits until I got the correct one. The Makefile indicates the commit's version, patch level, and sublevel. With that information, I found it in this page and here is the commit for 4.14.85.






            share|improve this answer
























            • git log -S 'SUBLEVEL = 85' rpi-4.19.y should also show you a list of commits with that patch number

              – user60561
              4 hours ago
















            2














            The only way I managed to find the commit was by manually scrolling through branch rpi-4.14.y's commits until I got the correct one. The Makefile indicates the commit's version, patch level, and sublevel. With that information, I found it in this page and here is the commit for 4.14.85.






            share|improve this answer
























            • git log -S 'SUBLEVEL = 85' rpi-4.19.y should also show you a list of commits with that patch number

              – user60561
              4 hours ago














            2












            2








            2







            The only way I managed to find the commit was by manually scrolling through branch rpi-4.14.y's commits until I got the correct one. The Makefile indicates the commit's version, patch level, and sublevel. With that information, I found it in this page and here is the commit for 4.14.85.






            share|improve this answer













            The only way I managed to find the commit was by manually scrolling through branch rpi-4.14.y's commits until I got the correct one. The Makefile indicates the commit's version, patch level, and sublevel. With that information, I found it in this page and here is the commit for 4.14.85.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 6 hours ago









            DAVID DAVID

            384




            384













            • git log -S 'SUBLEVEL = 85' rpi-4.19.y should also show you a list of commits with that patch number

              – user60561
              4 hours ago



















            • git log -S 'SUBLEVEL = 85' rpi-4.19.y should also show you a list of commits with that patch number

              – user60561
              4 hours ago

















            git log -S 'SUBLEVEL = 85' rpi-4.19.y should also show you a list of commits with that patch number

            – user60561
            4 hours ago





            git log -S 'SUBLEVEL = 85' rpi-4.19.y should also show you a list of commits with that patch number

            – user60561
            4 hours ago













            0














            Go to https://GitHub.com/hexxeh/rpi-firmware and look at the commits.



            The last commit @ 4.14.85 is eefe4b161f5e9730183c8dc1605e14c85b15cf51



            So that gives you a commit id to use with the rpi-update script.



            Run PRUNE_MODULES=1 rpi-update eefe4b161f5e9730183c8dc1605e14c85b15cf51 && reboot and you'll be back on the kernel from Dec 5, 2018.



            I won't ask why the stable 4.14.98 kernel you'd get with apt update; apt install raspberrypi-kernel isn't working for you because I guess you have a sound reason for reverting to something historic.






            share|improve this answer




























              0














              Go to https://GitHub.com/hexxeh/rpi-firmware and look at the commits.



              The last commit @ 4.14.85 is eefe4b161f5e9730183c8dc1605e14c85b15cf51



              So that gives you a commit id to use with the rpi-update script.



              Run PRUNE_MODULES=1 rpi-update eefe4b161f5e9730183c8dc1605e14c85b15cf51 && reboot and you'll be back on the kernel from Dec 5, 2018.



              I won't ask why the stable 4.14.98 kernel you'd get with apt update; apt install raspberrypi-kernel isn't working for you because I guess you have a sound reason for reverting to something historic.






              share|improve this answer


























                0












                0








                0







                Go to https://GitHub.com/hexxeh/rpi-firmware and look at the commits.



                The last commit @ 4.14.85 is eefe4b161f5e9730183c8dc1605e14c85b15cf51



                So that gives you a commit id to use with the rpi-update script.



                Run PRUNE_MODULES=1 rpi-update eefe4b161f5e9730183c8dc1605e14c85b15cf51 && reboot and you'll be back on the kernel from Dec 5, 2018.



                I won't ask why the stable 4.14.98 kernel you'd get with apt update; apt install raspberrypi-kernel isn't working for you because I guess you have a sound reason for reverting to something historic.






                share|improve this answer













                Go to https://GitHub.com/hexxeh/rpi-firmware and look at the commits.



                The last commit @ 4.14.85 is eefe4b161f5e9730183c8dc1605e14c85b15cf51



                So that gives you a commit id to use with the rpi-update script.



                Run PRUNE_MODULES=1 rpi-update eefe4b161f5e9730183c8dc1605e14c85b15cf51 && reboot and you'll be back on the kernel from Dec 5, 2018.



                I won't ask why the stable 4.14.98 kernel you'd get with apt update; apt install raspberrypi-kernel isn't working for you because I guess you have a sound reason for reverting to something historic.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 2 hours ago









                DougieDougie

                922110




                922110






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Raspberry Pi Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fraspberrypi.stackexchange.com%2fquestions%2f94849%2fhow-to-find-a-specific-kernel-version-in-the-github-repository%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    GameSpot

                    connect to host localhost port 22: Connection refused

                    Getting a Wifi WPA2 wifi connection