Re: [beagleboard] Need support in compiling ubuntu for BBB
On Tue, Mar 22, 2016 at 2:58 AM, wrote: > 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 "Out of memory, calloc failed" Don't run it on the BeagleBoard Black... Regards, -- Robert Nelson https://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.
Re: [beagleboard] Need support in compiling ubuntu for BBB
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 > 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.
Re: [beagleboard] Need support in compiling ubuntu for BBB
On Mon, Nov 4, 2013 at 10:39 PM, vinayak aghor 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.
Re: [beagleboard] Need support in compiling ubuntu for BBB
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/04/2013 11:39 PM, vinayak aghor wrote: > How to download LINUX_GIT permanently. As per the doc kindly provided by Robert, you can git clone Linus kernel repository manually and set LINUX_GIT to that location. If kernel.org is too slow and aborts, you might want to use the google provided mirror: https://kernel.googlesource.com/ https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git regards, Nuno - -- http://aeminium.org/nuno/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBAgAGBQJSePaOAAoJEPIY6fuKMkz5S4YP/1jFu1rT/oolvEdwrRijFqIL qTNA0m+6aTcWfyzjlJc/Nk349s8Jain0a/PHHu2pBWT2EG0xefutc/n5mCfmvu2l 9K+LOEVHwPDXOlixLVESuXFLMqLWgNc0Jt/FXKxAXA/qtP8sy4OTKuQeSy9yvjMD 7jMZuKHKavLwgh0hj6j24dG1l5nSkBWh4byy+zpdGsc6kMNUE8gw2olTQ+DDqU2h RdZ/TXLZHjg/czKJfU0t0WrvVDWgy2C9wdEszsvUF/j6Fk937zuk4rWoQqu+GHHY SpkvqXujE73NmUoigaGbql43qJh3v7Puz3Vp2miSpO7amjPi3jJEAcXo8Tq/Riry lPgmP7mrGROzW90zrMjB1laqX5/VEthSzSrOI/23U3jH47igw+t5MsJSGbKSAHrl 43iOYtuGIFoIGhZGfRdDo+eJ6S0KuTrY58k1dXQeL48/ClZAlPKlTj2stJexy46H GwCUZUjrZSL0nYqbuvH7067OCjISjKxhul6VnLc5dhwmVFfpaoZmdgXsu6tLxVk+ a3A8LYhgB/yXNusbInT5PUbVrD4R19PqGeVnE9n/ef1ZwgZCP82BkVAZgsDIBh5+ dkVORlnYUTDPdYhlh2MjLyDrOTtjVr1VgOzgQY7xmW98FiWVTG4RARxObEdx5rW4 lkWzeSQv5nmEHW0/aZ9y =0IMw -END PGP SIGNATURE- -- 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.
[beagleboard] Need support in compiling ubuntu for BBB
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 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. How to permanently fix this? How to download LINUX_GIT permanently. so,again will not download same file Please help Regards Vinayak -- 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.