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.

The differences between Kernel in SDK and Kernel 3.2

Guru 16800 points
Other Parts Discussed in Thread: AM3352

Hi,

I am using AM3352 and released SDK for AM3352 (version 5.06).
The "ti-sdk-am335x-evm-05.06.00.00/board-support/linux-3.2.0-psp05.06.00.00/patches" directory includes the divided kernel patches, I think.
Could you teach me a difference between "the kernel which should be put the above divided kernel patches" and Kernel 3.2?
Briefly, I want to know the differences between Kernel in SDK and Kernel 3.2.

I thought that I should apply the above patches to Kernel 3.2, however it is impossible, because "0001-musb-update ..." cannot be applied to Kernel 3.2.
It is difficult to extract the divided patches from the Git repository included in the "ti-sdk-am335x-evm-05.06.00.00/board-support/board-port-labs/sitara-board-port-linux" directory.

Thanks

Nomoto

  • Hi,

    Have you got any update for this question?

    Thanks

    Nomoto

  • Below link have more info on SDK & PSP releases

    1. https://e2e.ti.com/support/embedded/int-embedded_software/int-linux/f/118/t/224910.aspx?Redirected=true

  • In addition to the information in the link provided by Gururaja, the patches in '.../linux-3.2.0-psp05.06.00.00/patches' folder are the difference between SDK kernel and kernel 3.2, and they are already applied in the SDK kernel.

  • Hello,

    Thank you for your apply.
    But I can't check the internal E2E information.

    You suggested that the difference between SDK kernel and kernel 3.2 is the patches in '.../linux-3.2.0-psp05.06.00.00/patches', but I don't think so.
    So many differences exist between unpatched SDK kernel (which kernel is unpatched the patches in '.../linux-3.2.0-psp05.06.00.00/patches' and kernel3.2, that I confirmed.
    Also, the patches in '.../linux-3.2.0-psp05.06.00.00/patches' can't be applied to kernel 3.2, because of the errors.
    As noted previously, I am in trouble for SDK kernel.
    In accord with above difficult situation, could you answer following questions?

    1. What is the base kernel of SDK kernel? I can't trust the kernel version is 3.2.

    2. If there are the patches which are applied to kernel 3.2 before the patches in '.../linux-3.2.0-psp05.06.00.00/patches', please give me the patches divided into every function such as the patches in '.../linux-3.2.0-psp05.06.00.00/patches'.

    Thanks

    Nomoto

  • Sorry for providing a wrong link. it has no much different information from I mentioned though.

    I guess I know where the miscommunication is - you talked about mainline kernel 3.2 from kernel.org, right?

    the SDK kernel is based on Arago kernel 3.2 # v3.2_AM335xPSP_04.06.00.09.rc2 (http://arago-project.org/git/projects/?p=linux-am33x.git;a=summary), with the additional patches in '.../linux-3.2.0-psp05.06.00.00/patches'.

  • Hello,

    Thank you for your reply.

    I'm so sorry.
    I've talked about mainline kernel 3.2 from kernel.org.

    So, I checked Arago kernel 3.2 # v3.2_AM335xPSP_04.06.00.09.rc2.
    Then, I have some questions.

    1. I think that the differences Arago kernel 3.2 and SDK kernel is the patches in  '.../linux-3.2.0-psp05.06.00.00/patches'.
       Because of the verification, I unpatched the patches in '.../linux-3.2.0-psp05.06.00.00/patches' from SDK kernel.
       However, "0004-am33x-Add-crypto-drivers-to-Kconfig-and-Makefiles.patch" can be unpatched from SDK kernel because of error.
       Do you know the reason?

    - commands
    patch -R -p1 < patches/0001-ARM-OMAP2-AM335x-Update-SPI-flash-layout.patch
    patch -R -p1 < patches/0001-am335x-enable-pullup-on-the-WLAN-enable-pin-fo.patch
    patch -R -p1 < patches/0001-am335xevm-using-edge-triggered-interrupts-for-WLAN.patch
    patch -R -p1 < patches/0001-am3358-sk-modified-WLAN-enable-and-irq-to-match-boar.patch
    patch -R -p1 < patches/0001-omap-serial-add-delay-before-suspending.patch
    patch -R -p1 < patches/0002-Smartreflex-limited-to-ES-1.0.patch
    patch -R -p1 < patches/0002-am33xx-Enable-CONFIG_AM33XX_SMARTREFLEX.patch
    patch -R -p1 < patches/0001-am33xx-Add-SmartReflex-support.patch
    patch -R -p1 < patches/0010-hwrng-omap4-rng-Convert-to-use-pm_runtime-API.patch
    patch -R -p1 < patches/0009-ARM-AM33xx-hwmod-Convert-RNG-device-data-to-hwmod.patch
    patch -R -p1 < patches/0008-crypto-omap4-aes-Don-t-use-hardcoded-base-address.patch
    patch -R -p1 < patches/0007-crypto-omap4-aes-Add-suspend-resume-PM-support.patch
    patch -R -p1 < patches/0006-crypto-omap4-aes-User-finer-grained-PM-management.patch
    patch -R -p1 < patches/0005-ARM-AM33xx-hwmod-Convert-AES0-crypto-device-data-to-.patch
    patch -R -p1 < patches/0004-crypto-omap4-sham-Don-t-use-hardcoded-base-address.patch
    patch -R -p1 < patches/0003-crypto-omap4-sham-Add-suspend-resume-PM-support.patch
    patch -R -p1 < patches/0002-crypto-omap4-sham-Use-finer-grained-PM-management.patch
    patch -R -p1 < patches/0001-ARM-AM33xx-hwmod-Convert-SHA0-crypto-device-data-to-.patch
    patch -R -p1 < patches/0002-am335x-Add-suspend-resume-routines-to-crypto-driver.patch
    patch -R -p1 < patches/0001-am335x-Add-pm_runtime-API-to-crypto-driver.patch
    patch -R -p1 < patches/0001-am335x-Add-crypto-driver-settings-to-defconfig.patch
    patch -R -p1 < patches/0002-AM335x-OCF-Driver-for-Linux-3.patch
    patch -R -p1 < patches/0008-am33x-Create-driver-for-SHA-MD5-crypto-module.patch
    patch -R -p1 < patches/0007-am33x-Create-driver-for-AES-crypto-module.patch
    patch -R -p1 < patches/0006-am33x-Create-driver-for-TRNG-crypto-module.patch
    patch -R -p1 < patches/0005-am33x-Create-header-file-for-OMAP4-crypto-modules.patch
    patch -R -p1 < patches/0004-am33x-Add-crypto-drivers-to-Kconfig-and-Makefiles.patch
    patch -R -p1 < patches/0003-am33x-Add-crypto-device-and-resource-structure-for-T.patch
    patch -R -p1 < patches/0002-am33x-Add-crypto-device-and-resource-structures.patch
    patch -R -p1 < patches/0001-am33x-Add-memory-addresses-for-crypto-modules.patch
    patch -R -p1 < patches/0001-mach-omap2-pm33xx-Disable-VT-switch.patch
    patch -R -p1 < patches/0001-am335x_evm_defconfig-turn-off-MUSB-DMA.patch
    patch -R -p1 < patches/0001-musb-update-PIO-mode-help-information-in-Kconfig.patch

    - .rejects file
    --- drivers/char/hw_random/Kconfig
    +++ drivers/char/hw_random/Kconfig
    @@ -139,19 +139,6 @@

              If unsure, say Y.

    -config HW_RANDOM_OMAP4
    -       tristate "OMAP4 Random Number Generator support"
    -       depends on HW_RANDOM && SOC_OMAPAM33XX
    -       default HW_RANDOM
    -       ---help---
    -         This driver provides kernel-side support for the Random Number
    -         Generator hardware found on OMAP4 derived processors.
    -
    -         To compile this driver as a module, choose M here: the
    -         module will be called omap4-rng.
    -
    -         If unsure, say Y.
    -
     config HW_RANDOM_OCTEON
            tristate "Octeon Random Number Generator support"
            depends on HW_RANDOM && CPU_CAVIUM_OCTEON

     

    2. Do you know why the git repository doesn't have "v3.2"?
       And some PSP versions are skipped.
       I need a original Arago kernel v3.2.

    - command
    git tag -l

    - result
    v3.1
    v3.1-rc3-staging-archive
    v3.1-rc8
    v3.1-rc8_AM335xPSP_04.06.00.02
    v3.1_AM335xPSP_04.06.00.03
    v3.2_AM335xPSP_04.06.00.06
    v3.2_AM335xPSP_04.06.00.07
    v3.2_AM335xPSP_04.06.00.08
    v3.2_AM335xPSP_04.06.00.09-rc2
    v3.2_AM335xPSP_04.06.00.10-rc1
    v3.2_AM335xPSP_04.06.00.10-rc2


    Thanks

    Nomoto