hello,
almost the same problem with me but as i am following the link:
https://eewiki.net/display/linuxonarm/BeagleBone+Black
after downloading the boot loader and linux kernel for "am33x-v4.5 
(Stable)" i.e git checkout origin/am33x-v4.5 -b tmp, the build_kernel.sh 
script is not running and is showing like that.


debian@beaglebone:~/bb-kernel/stable-kernel$ ./build_kernel.sh
+ Detected build host [Debian GNU/Linux 8.3 (jessie)]
+ host: [armv7l]
+ git HEAD commit: [fc591451959669c6d6acf0304c48fa41c09d37c1]
-----------------------------
scripts/gcc: Using: gcc (Debian 4.9.2-10) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-----------------------------
CROSS_COMPILE=
-----------------------------
scripts/git: Warning: LINUX_GIT is not writable:
-----------------------------
scripts/git: LINUX_GIT not defined in system.sh
cloning https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
into default location: /home/debian/bb-kernel/stable-kernel/ignore/linux-src
Cloning into '/home/debian/bb-kernel/stable-kernel/ignore/linux-src'...
remote: Counting objects: 4672394, done.
remote: Compressing objects: 100% (90332/90332), done.
fatal: Out of memory, calloc failed
fatal: index-pack failed

i have also followed the link and made changes accordingly:
http://www.crashcourse.ca/wiki/index.php/Robert_Nelson's_kernel_build_for_the_BBB

but still the same error generates.

please tell me what to do to resolve this issue regarding building the 
kernel.

On Tuesday, November 5, 2013 at 2:32:49 PM UTC, RobertCNelson wrote:
>
> On Mon, Nov 4, 2013 at 10:39 PM, vinayak aghor <vinaya...@gmail.com 
> <javascript:>> wrote: 
> > Hello, 
> > I want to compile OS ubuntu for BBB. 
> > 
> > I am referring http://eewiki.net/display/linuxonarm/BeagleBone+Black 
> > 
> > In downloaded linux-dev-am33x-v3.12 in home directory. Then ran script 
> > ./build_kernel.sh 
> > 
> > It initially downloaded cross-compiler toolchain (around 48MB) and did 
> set 
> > the CC, which is expected. 
> > debug: 
> > 
> CC=/home/vinayak/linux-dev-am33x-v3.12/dl/gcc-linaro-arm-linux-gnueabihf-4.8-2013.09_linux/bin/arm-linux-gnueabihf-
>  
>
> > 
> > Then it tried to download linux directory 
> > 
> > scripts/git: LINUX_GIT not defined in system.sh 
> > cloning git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
> > into default location: 
> /home/vinayak/linux-dev-am33x-v3.12/ignore/linux-src 
> > Cloning into '/home/vinayak/linux-dev-am33x-v3.12/ignore/linux-src'... 
> > remote: Counting objects: 3239961, done. 
> > remote: Compressing objects: 100% (486062/486062), done. 
> > ^Cceiving objects:   0% (1535/3239961), 836.00 KiB | 50 KiB/s 
> > 
> > After downloading complete (around 650MB), got message as - Resolving 
> deltas 
> > 
> > Now internet connection lost. Again ran script ./build_kernel.sh 
>
> Did the "clone" finish before the network was lost? 
>
> > 
> > Now script again downloading 650MB data, which is not expected. In the 
> > previous run, it has downloaded the same data & again downloading. There 
> > should be some catch in this. 
>
> the bash logic is as follows... 
>
> https://github.com/RobertCNelson/stable-kernel/blob/master/scripts/git.sh#L62 
>
>
> > 
> > How to permanently fix this? How to download LINUX_GIT permanently. 
> so,again 
> > will not download same file 
>
> You could always "clone" 
> "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git" 
> anywhere in your system, just set the LINUX_GIT variable to the 
> directory to where you cloned it.. If you mess up the logic, will just 
> re-clone it to the 'ignore/linux-src' directory... 
>
> Regards, 
>
> -- 
> Robert Nelson 
> http://www.rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to