IMX6 AndroidN patches not applying to kernel and uboot

cancel
Showing results for 
Search instead for 
Did you mean: 

IMX6 AndroidN patches not applying to kernel and uboot

280 Views
Babu
Contributor I

Hi All,

Trying to port Android N to sabresd board, As part of it following "Android_User's_Guide.pdf" for android N

I have following Issues.

1. Kernel Checkout is not successful from the git server

Error:

git clone git://git.freescale.com/imx/linux-imx.git kernel_imx
       Cloning into 'kernel_imx'...
       remote: Counting objects: 4320219, done.
       remote: Compressing objects: 100% (680982/680982), done.
        Receiving objects: 100% (4320219/4320219), 779.89 MiB | 1.54 MiB/s, done.
        remote: Total 4320219 (delta 3622385), reused 4305718 (delta 3607902)
        Resolving deltas: 100% (3622385/3622385), done.
        Checking connectivity... done.
         warning: remote HEAD refers to nonexistent ref, unable to checkout.

After Issue#1, checked out manually specified branch "git checkout n7.1.1_1.0.0-ga" 

2. While applying patches to kernel and uboot, patches are not reflecting on the source code. But the c_patch command was successful.

Please suggest me the correct approach.

Thank You

Babu A

Labels (2)
0 Kudos
5 Replies

79 Views
diegoadrian
NXP Employee
NXP Employee

Hello Babu,

Thank you for writing.

After applying the c_patch. Did you find the "fsl" directory in the $ myandroid/device path?

Best Regards,

Diego.

0 Kudos

79 Views
Babu
Contributor I

Hello Diego, 

Yes, i am able to see the "fsl" in myandroid/device. 

There is no issue applying patches to android source. we have issue only applying to kernel and bootloader. 

As i mentioned earlier, kernel_imx is not successful while checking out.

Thank You

Babu A

0 Kudos

79 Views
diegoadrian
NXP Employee
NXP Employee

That is normal, you need to perform the checkout manually.

If the patch was successfully applied, you can now proceed to build the Android image.

Best Regards,

Diego.

0 Kudos

79 Views
Babu
Contributor I

Hi Diego,

Thank you for your reply,

I am able to manually checkout the source code, now i need to merge toradex kernel. when i do cherry-pick from toradex repo, getting error with one of the commit is not available in the branch. 

Thank You

Babu A

0 Kudos

79 Views
diegoadrian
NXP Employee
NXP Employee

Unfortunately, we do not give support to the Toradex family. For that we recommend you to go directly to the Toradex support.

Toradex - Customer Support 

I apologize for this inconvenient.

Best Regards,

Diego.

0 Kudos