This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Buildroot and TI kernel 3.12.10

Hello,

I'm trying to create my linux kernel (3.12.10) by using buildroot. However, when I take the 2000+ patches, created based upon what is released in the 7.00.00 SDK, they don't play along nicely and I get a lot of complaints about reversed patches and so on...Something I can't seem to "opt-out" from in buildroot.

I've selected the following GIT repository:

https://git.ti.com/ti-linux-kernel/ti-linux-kernel/trees/0b8aecf15e5b1b08abfd971642d98e6e319df505

But this didn't help me out either. I even have to wait a very long time untill the 800MB or so is downloaded... Surely I'm not the only one that wants to or has done this, right?

In the end, what I want to get, is the kernel 3.12.10 with my own 4 patches applied and have it so that my board operates correctly, as tested with the SDK.

Any suggestions are more than welcome as I've spent a great deal of time on this matter already.

Kind regards,

Arend

  • I will forward this to the SW team.

  • Hi Arend,

    I'm not sure if this will help you, but could you check the SDK software manifest:
    software-dl.ti.com/.../software_manifest.htm

    BR
    Ivan
  • Hello Ivan,



    I've checked the manifest for the 07.00.00 version of the SDK, and the branch is the same as the one I use.

    Just to be clear about what I'm doing so far:
    - I've installed the SDK 7.00.00
    - I went to the linux kernel folder, and generated the patches using the following command: git format-patch master -o patch_folder
    - Somewhere over 2000 patches are being generated. I prefix these with 'linux-'
    - I set my buildroot up to use the same GIT repos and also where the patch folder is
    - A few patches seem to work, but after a few, he does complain that a files has already been patched and so it fails

    - I'm trying it again with the specific link in the SDK, but I'm not hopeful actually...



    Kind regards,
    Arend
  • Hi Arend,

    Could you explain much more what is your purpose. I can't understand why you are getting a patches from the branch and why you are applied then.

    BR
    Ivan
  • Hi Ivan,

    The purpose is actually to integrate the kernel build into my jenkins CI set-up. The easiest way, to me, seems to build the kernel from buildroot. This way I'd only need to store the patches in my SVN SCM and not the whole linux source tree (which is HUGE). The linux sources that you use are stored in gitorious. However, these don't seem like they are patched, the ones that are deployed together with the SDK 07.00.00 are, in fact, patched. So I assumed that if I generated patches from the SDK source tree, that I could simply apply them to the gitorious source tree and all would be fine...

    Note that I also tried to do this externally (by checking out the sources from gitorious) and apply these patches...but still no bananas.

    Thank you for your reply:-)

    Kind regards,

    Arend

  • Hello,

    Is there any progress on this matter?

    Kind regards,

    Arend

  • Hi Arend,

    To apply patches received after: git format-patch master -o patch_folder successfully, you must follow their order of creation.
    Most patches are interconnected and if you want to apply only some of them you have to do this manually.

    BR
    Ivan

  • Hi Ivan,

    Thank you for your reply. In my 'patch' folder, the following files can be found:

    linux-0001-usb-phy-omap-control-Get-rid-of-platform-data.patch

    linux-0002-usb-phy-omap-Add-new-device-types-and-remove-omap_co.patch

    ...

    linux-2370-instan_scan_fixed_mdio.patch

    So, I assume that the number tells the system about the order?