Re: [beagleboard] Reccomended Development Linux

2014-11-11 Thread William Hermans
If he follows his own guide, he uses linaro's gcc.

https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-ARMCrossCompiler:GCC

On Tue, Nov 11, 2014 at 8:44 PM, Walter Schilling 
wrote:

> Robert:
>
> Is this what you are using to build the kernel then?
>
> Walt
>
>
> On Tuesday, November 11, 2014 1:17:56 PM UTC-6, RobertCNelson wrote:
>
>> On Tue, Nov 11, 2014 at 1:09 PM, Robert Nelson 
>> wrote:
>> > On Tue, Nov 11, 2014 at 12:46 PM, Walter Schilling 
>> wrote:
>> >> Good afternoon:
>> >>
>> >> I am getting ready to teach a class using the Beaglebone Black for a
>> set of
>> >> college students.  Last year we were caught in the short supply of the
>> black
>> >> boards, so I'm getting started  abit earlier.  However, I'm trying to
>> figure
>> >> out the best distro and cross compilation environment to use.  Last
>> year I
>> >> used a Ubuntu distro with the Debian image and while things went OK,
>> there
>> >> were some quirks.  Based on feedback, I was planning on switching to a
>> >> Debian distro, and I started building a VM for them to use for this
>> purpose.
>> >> However, it seems as if Debian is no longer including the
>> >> gcc-arm-Linux-gnueabihf package, and many of the sites have indicated
>> this
>> >> is now obsolete.
>> >>
>> >> With that being the case, what is the current recommended cross
>> compiler and
>> >> platform for Beaglebone Black development?
>> >
>> > So right now there's a binutils for armhf in debian jessie:
>> >
>> > https://packages.debian.org/jessie/binutils-arm-linux-gnueabihf
>> >
>> > However the "gcc" cross compiler is still stuck in sid:
>> >
>> > https://packages.debian.org/sid/cpp-4.9-arm-linux-gnueabihf
>> >
>> > So once that migrates to jessie (if it migrates) you'll have matching
>> > armhf cross gcc/binutils/libs that can used to cross build projects
>> > for the bbb running jessie.
>>
>> Based on:
>>
>> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766626
>>
>> This delay is expected.. So for users which to cross build packages,
>> running Debian Jessie on the desktop (amd64 only) and running debian
>> jessie on the bbb (1), they'll have matching gcc/lib/etc..
>>
>> 1: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Jessie_Snapshot
>>
>> 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.
>

-- 
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] Reccomended Development Linux

2014-11-11 Thread Walter Schilling
Robert:

Is this what you are using to build the kernel then?

Walt


On Tuesday, November 11, 2014 1:17:56 PM UTC-6, RobertCNelson wrote:
>
> On Tue, Nov 11, 2014 at 1:09 PM, Robert Nelson  > wrote: 
> > On Tue, Nov 11, 2014 at 12:46 PM, Walter Schilling  > wrote: 
> >> Good afternoon: 
> >> 
> >> I am getting ready to teach a class using the Beaglebone Black for a 
> set of 
> >> college students.  Last year we were caught in the short supply of the 
> black 
> >> boards, so I'm getting started  abit earlier.  However, I'm trying to 
> figure 
> >> out the best distro and cross compilation environment to use.  Last 
> year I 
> >> used a Ubuntu distro with the Debian image and while things went OK, 
> there 
> >> were some quirks.  Based on feedback, I was planning on switching to a 
> >> Debian distro, and I started building a VM for them to use for this 
> purpose. 
> >> However, it seems as if Debian is no longer including the 
> >> gcc-arm-Linux-gnueabihf package, and many of the sites have indicated 
> this 
> >> is now obsolete. 
> >> 
> >> With that being the case, what is the current recommended cross 
> compiler and 
> >> platform for Beaglebone Black development? 
> > 
> > So right now there's a binutils for armhf in debian jessie: 
> > 
> > https://packages.debian.org/jessie/binutils-arm-linux-gnueabihf 
> > 
> > However the "gcc" cross compiler is still stuck in sid: 
> > 
> > https://packages.debian.org/sid/cpp-4.9-arm-linux-gnueabihf 
> > 
> > So once that migrates to jessie (if it migrates) you'll have matching 
> > armhf cross gcc/binutils/libs that can used to cross build projects 
> > for the bbb running jessie. 
>
> Based on: 
>
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766626 
>
> This delay is expected.. So for users which to cross build packages, 
> running Debian Jessie on the desktop (amd64 only) and running debian 
> jessie on the bbb (1), they'll have matching gcc/lib/etc.. 
>
> 1: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Jessie_Snapshot 
>
> 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] Reccomended Development Linux

2014-11-11 Thread Robert Nelson
On Tue, Nov 11, 2014 at 1:09 PM, Robert Nelson  wrote:
> On Tue, Nov 11, 2014 at 12:46 PM, Walter Schilling  wrote:
>> Good afternoon:
>>
>> I am getting ready to teach a class using the Beaglebone Black for a set of
>> college students.  Last year we were caught in the short supply of the black
>> boards, so I'm getting started  abit earlier.  However, I'm trying to figure
>> out the best distro and cross compilation environment to use.  Last year I
>> used a Ubuntu distro with the Debian image and while things went OK, there
>> were some quirks.  Based on feedback, I was planning on switching to a
>> Debian distro, and I started building a VM for them to use for this purpose.
>> However, it seems as if Debian is no longer including the
>> gcc-arm-Linux-gnueabihf package, and many of the sites have indicated this
>> is now obsolete.
>>
>> With that being the case, what is the current recommended cross compiler and
>> platform for Beaglebone Black development?
>
> So right now there's a binutils for armhf in debian jessie:
>
> https://packages.debian.org/jessie/binutils-arm-linux-gnueabihf
>
> However the "gcc" cross compiler is still stuck in sid:
>
> https://packages.debian.org/sid/cpp-4.9-arm-linux-gnueabihf
>
> So once that migrates to jessie (if it migrates) you'll have matching
> armhf cross gcc/binutils/libs that can used to cross build projects
> for the bbb running jessie.

Based on:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766626

This delay is expected.. So for users which to cross build packages,
running Debian Jessie on the desktop (amd64 only) and running debian
jessie on the bbb (1), they'll have matching gcc/lib/etc..

1: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Jessie_Snapshot

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] Reccomended Development Linux

2014-11-11 Thread William Hermans
Do keep in mind there are several steps in my rough notes above that you
may, may not want to do. disabling IPV6 for instance, which you may need on
a college LAN. Also with this install I chose to install along side windows
7 ( dual boot ), you shounds like you're not going to be doing this. A
standard VM install would take the place of this.

A few hurdles may stand in your way, just as using USB devices having to be
passed from the HOST OS to the virtual machine. Using the network gadget
g_ether, this could prove to be a problem. I think I've done this once
myself, but it was incredibly slow - Think ~4KB/s. Anyway, I never kept
notes on how I achieved that . . .but there is information strewn all over
the web about the subject.

On Tue, Nov 11, 2014 at 11:58 AM, William Hermans  wrote:

>
> http://derekmolloy.ie/beaglebone/setting-up-eclipse-on-the-beaglebone-for-c-development/
>
> This is a fairly good guide, and I pretty much followed it exactly using
> Lubuntu 14.04. Maybe a few small changes here and there, most mostly due to
> armel versus armhf differences.
>
> Lubuntu by the way, is exactly Ubuntu, but with a less graphics intensive
> Desktop ( LXDE instead of the "garbage" Ubuntu ships with - Unity ).
>
> My own very rough text install notes . . .
>
> Download Lubuntu 14.04 i386 iso
>> Download UNetbootin
>> Run UNetbootin -> select Diskimage -> select downloaded Lubuntu ISO ->
>> select correct USB drive -> click OK
>> reboot computer
>> enter BIOS change boot priority to USB memory
>> save and exit
>> select install Lubuntu
>> Installation typ page -> select intall Lbuntu alongside windows 7
>> Intall Lubuntu alongside windows 7 page -> make necessary adjustments -
>> Lubuntu needs atleast 20GB to be usable, and 40GB or mroe would be better.
>> sudo apt-get update
>> sudo apt-get install cairo-dock xcompmgr
>> sudo nano ~/.config/lxsession/Lubuntu/autostart
>> At the end, add these lines :
>> @xcompmgr
>> @cairo-dock
>>
>> **
>> sudo nano /etc/sysctl.conf
>> add the following line: net.ipv6.conf.all.disable_ipv6 = 1
>> sudo sysctl -p
>> **
>> sudo apt-get install openssh-server
>> **
>> sudo apt-get install build-essential
>> **
>> sudo apt-get install eclipse
>> run eclipse -> select a workspace
>> close the welcome page
>> select help -> install new software -> Indigo Update Site
>> expand Programming languages
>> select -> C/C++ Development tools -> (optional but recommended ) C/C++
>> Library API Documentation Hover Help (incubation )
>> click next -> next
>> Agree to the liscense terms -> select finish
>> When done restart eclipse.
>> File -> new -> project
>> fill out appropriate information, clicking next until finish
>> sudo apt-get install gcc-arm-linux-gnueabihf
>> project -> properties -> C/C++ Build -> settings -> GCC C Compiler ==
>> arm-linux-gnueabihf-gcc
>> GCC C Linker ==
>> arm-linux-gnueabihf-gcc
>> GCC Assembler ==
>> arm-linux-gnueabihf-as
>> C/C++ General -> Paths and Symbols -> GNU C includes tab
>> /usr/arm-linux-gnueabihf/include check add to all configurations
>> C/C++ General -> Paths and Symbols -> GNU C library paths tab
>> /usr/arm-linux-gnueabihf/lib check add to all configurations
>> project -> build all
>> ***
>> sudo apt-get install ssh sshfs
>> ***
>> sudo mkdir /media/beaglebone
>> sudo sshfs 192.168.7.2:/home/debian /media/beaglebone
>> sudo cp ./test
>> /media/beaglebone
>> sudo umount /media/beaglebone
>> ***
>> login to the beaglebone
>> root@arm:~# cd /home/debian/
>> root@arm:/home/debian# ./test
>> !!!Hello World!!!
>>
>
>
>
>
> On Tue, Nov 11, 2014 at 11:46 AM, Walter Schilling 
> wrote:
>
>> Good afternoon:
>>
>> I am getting ready to teach a class using the Beaglebone Black for a set
>> of college students.  Last year we were caught in the short supply of the
>> black boards, so I'm getting started  abit earlier.  However, I'm trying to
>> figure out the best distro and cross compilation environment to use.  Last
>> year I used a Ubuntu distro with the Debian image and while things went OK,
>> there were some quirks.  Based on feedback, I was planning on switching to
>> a Debian distro, and I started building a VM for them to use for this
>> purpose.  However, it seems as if Debian is no longer including the
>> gcc-arm-Linux-gnueabihf package, and many of the sites have indicated this
>> is now obsolete.
>>
>> With that being the case, what is the current recommended cross compiler
>> and platform for Beaglebone Black development?
>>
>> Walt Schilling
>>
>>  --
>> For more 

Re: [beagleboard] Reccomended Development Linux

2014-11-11 Thread Robert Nelson
On Tue, Nov 11, 2014 at 12:46 PM, Walter Schilling  wrote:
> Good afternoon:
>
> I am getting ready to teach a class using the Beaglebone Black for a set of
> college students.  Last year we were caught in the short supply of the black
> boards, so I'm getting started  abit earlier.  However, I'm trying to figure
> out the best distro and cross compilation environment to use.  Last year I
> used a Ubuntu distro with the Debian image and while things went OK, there
> were some quirks.  Based on feedback, I was planning on switching to a
> Debian distro, and I started building a VM for them to use for this purpose.
> However, it seems as if Debian is no longer including the
> gcc-arm-Linux-gnueabihf package, and many of the sites have indicated this
> is now obsolete.
>
> With that being the case, what is the current recommended cross compiler and
> platform for Beaglebone Black development?

So right now there's a binutils for armhf in debian jessie:

https://packages.debian.org/jessie/binutils-arm-linux-gnueabihf

However the "gcc" cross compiler is still stuck in sid:

https://packages.debian.org/sid/cpp-4.9-arm-linux-gnueabihf

So once that migrates to jessie (if it migrates) you'll have matching
armhf cross gcc/binutils/libs that can used to cross build projects
for the bbb running jessie.

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] Reccomended Development Linux

2014-11-11 Thread William Hermans
http://derekmolloy.ie/beaglebone/setting-up-eclipse-on-the-beaglebone-for-c-development/

This is a fairly good guide, and I pretty much followed it exactly using
Lubuntu 14.04. Maybe a few small changes here and there, most mostly due to
armel versus armhf differences.

Lubuntu by the way, is exactly Ubuntu, but with a less graphics intensive
Desktop ( LXDE instead of the "garbage" Ubuntu ships with - Unity ).

My own very rough text install notes . . .

Download Lubuntu 14.04 i386 iso
> Download UNetbootin
> Run UNetbootin -> select Diskimage -> select downloaded Lubuntu ISO ->
> select correct USB drive -> click OK
> reboot computer
> enter BIOS change boot priority to USB memory
> save and exit
> select install Lubuntu
> Installation typ page -> select intall Lbuntu alongside windows 7
> Intall Lubuntu alongside windows 7 page -> make necessary adjustments -
> Lubuntu needs atleast 20GB to be usable, and 40GB or mroe would be better.
> sudo apt-get update
> sudo apt-get install cairo-dock xcompmgr
> sudo nano ~/.config/lxsession/Lubuntu/autostart
> At the end, add these lines :
> @xcompmgr
> @cairo-dock
>
> **
> sudo nano /etc/sysctl.conf
> add the following line: net.ipv6.conf.all.disable_ipv6 = 1
> sudo sysctl -p
> **
> sudo apt-get install openssh-server
> **
> sudo apt-get install build-essential
> **
> sudo apt-get install eclipse
> run eclipse -> select a workspace
> close the welcome page
> select help -> install new software -> Indigo Update Site
> expand Programming languages
> select -> C/C++ Development tools -> (optional but recommended ) C/C++
> Library API Documentation Hover Help (incubation )
> click next -> next
> Agree to the liscense terms -> select finish
> When done restart eclipse.
> File -> new -> project
> fill out appropriate information, clicking next until finish
> sudo apt-get install gcc-arm-linux-gnueabihf
> project -> properties -> C/C++ Build -> settings -> GCC C Compiler ==
> arm-linux-gnueabihf-gcc
> GCC C Linker ==
> arm-linux-gnueabihf-gcc
> GCC Assembler ==
> arm-linux-gnueabihf-as
> C/C++ General -> Paths and Symbols -> GNU C includes tab
> /usr/arm-linux-gnueabihf/include check add to all configurations
> C/C++ General -> Paths and Symbols -> GNU C library paths tab
> /usr/arm-linux-gnueabihf/lib check add to all configurations
> project -> build all
> ***
> sudo apt-get install ssh sshfs
> ***
> sudo mkdir /media/beaglebone
> sudo sshfs 192.168.7.2:/home/debian /media/beaglebone
> sudo cp ./test /media/beaglebone
> sudo umount /media/beaglebone
> ***
> login to the beaglebone
> root@arm:~# cd /home/debian/
> root@arm:/home/debian# ./test
> !!!Hello World!!!
>




On Tue, Nov 11, 2014 at 11:46 AM, Walter Schilling 
wrote:

> Good afternoon:
>
> I am getting ready to teach a class using the Beaglebone Black for a set
> of college students.  Last year we were caught in the short supply of the
> black boards, so I'm getting started  abit earlier.  However, I'm trying to
> figure out the best distro and cross compilation environment to use.  Last
> year I used a Ubuntu distro with the Debian image and while things went OK,
> there were some quirks.  Based on feedback, I was planning on switching to
> a Debian distro, and I started building a VM for them to use for this
> purpose.  However, it seems as if Debian is no longer including the
> gcc-arm-Linux-gnueabihf package, and many of the sites have indicated this
> is now obsolete.
>
> With that being the case, what is the current recommended cross compiler
> and platform for Beaglebone Black development?
>
> Walt Schilling
>
>  --
> 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.
>

-- 
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.