On Mon, Nov 4, 2013 at 10:39 PM, vinayak aghor <vinayak.ag...@gmail.com> 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/groups/opt_out.