To Get a clean kernel source code from kernel.org with a tag of 2.6.35.3:

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

To Get a clean kernel source code from kernel.org with a tag of 2.6.35.3:

1,500 Views
admin
Specialist II

Hi,

I am facing the below problem in getting the kernel source code from
kernel.org with the tag of 2.6.35.3

ubuntu@ubuntu-laptop:~/IMX_

Android$ git clone
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.35.y.git
kernel_imx
Initialized empty Git repository in /home/ubuntu/IMX_Android/
kernel_imx/.git/
fatal: The remote end hung up unexpectedly

Could ne body pls kindly do the needful in resolving the above issue
so that i can get the kernel source code downloaded without ne issues

ne help would be greatly appreciated

Advanced thnks,
Srinivasan
mail id:srinivasan.rns@gmail.com
Tags (1)
0 Kudos
3 Replies

1,013 Views
daiane_angolini
NXP Employee
NXP Employee

Yes, it was updated before kernel.org become offline.

 

Please use the procedure I posted on the other post you created:

http://imxcommunity.org/forum/topics/problem-in-getting-android-source-code-from-google-repo-as-per-...

0 Kudos

1,013 Views
admin
Specialist II

As am following the below mentioned tutorial

i.MX Android R9.4 User Guide

Last Update: March 1st, 2011

In section

2. Build Android for i.MX

2.1 Get Android Source Code (Android/Kernel/U-Boot)

As u mentioned earlier, for getting the kernel source code from the below link:

Thanks for your replies, i was able to download the kernel from the below link

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

I was able to download the kernel source code

But wen i executed the nxt command ie.,

git checkout v2.6.35.3

I got the below error

ubuntu@ubuntu-laptop:~/IMX_Android/kernel_imx$ git checkout v2.6.35.3
error: pathspec 'v2.6.35.3' did not match any file(s) known to git.

I neglected the error as am in *master branch so I proceeded nxt, but i finally got error in the below command

In section

2.2 Patch Code for i.MX

wen I was applying i.MX Android patches by performing the executing the below command:

ubuntu@ubuntu-laptop:~/IMX_Android$ c_patch /home/ubuntu/IMX53/BSPs/imx-android-r9.4/imx-android-r9.4/code/r9.4/r9.4 imx_r9.4
Parsing basefile /home/ubuntu/IMX53/BSPs/imx-android-r9.4/imx-android-r9.4/code/r9.4/r9.4/baseversion...
Check work tree and patch dir based on /home/ubuntu/IMX53/BSPs/imx-android-r9.4/imx-android-r9.4/code/r9.4/r9.4/baseversion...
Checking CHANGE project - bootable/bootloader/uboot-imx ...
Checking CHANGE project - kernel_imx ...
fatal: bad object 6d23f5084c975be637f7d748db82116bf84d3872
Error! Base version commit 6d23f5084c975be637f7d748db82116bf84d3872 doesn't exist in git /home/ubuntu/IMX_Android/kernel_imx. Stop


Could you please do the needful in resolving the above issues as son as possible

Awaiting for your replies,
Advance Thanks,
Srinivasan
mail id: srinivasan.rns@gmail.com



Daiane Angolini said:

It's working for me:

 

git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Initialized empty Git repository in /home/angolini/teste/linux/.git/
remote: Counting objects: 743584  

 

 

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=summary

0 Kudos

1,013 Views
daiane_angolini
NXP Employee
NXP Employee

It's working for me:

 

git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Initialized empty Git repository in /home/angolini/teste/linux/.git/
remote: Counting objects: 743584  

 

 

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=summary

0 Kudos