[beagleboard] Re: Device Tree Compiler

2014-08-18 Thread amitsama . tum
Hi Robert, 

I am new to BeagleBone. Right now I am stuck up in the intial phase of 
using SPI0 (once I am able to use SPI0, I would go for SPI1). I tried to 
run the command for installing device tree compiler, but prompted "bash: 
dtc not found"

I have on my BBB :

*Linux arm 3.8.13xenomai-bone28.1 #1 SMP Thu Nov 21 09:53:58 CET 2013 
armv7l armv7l armv7l GNU/Linux*

And when I tried to install the dtc by sudo apt-get install dtc, it does 
not work and gave error like:


*Err http://security.ubuntu.com precise-security/universe Translation-en*
*  Something wicked happened resolving 'security.ubuntu.com:http' (-11 - 
System error)*

the same error appear when I used apt-get install for other packages.

*I googled the error and accordingly two solutions:*

1) 
http://askubuntu.com/questions/150210/how-do-i-set-systemwide-proxy-servers-in-xubuntu-lubuntu-or-ubuntu-studio
 

I did what is asked for but still the same results. I want to tell that for 
checking if my BBB has proxy I used the following command

env | grep -i proxy

Nothing got printed with this command (so there is no proxy) to from the 
link above I only used the lines 
no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com" 
NO_PROXY="localhost,127.0.0.1,localaddress,.localdomain.com"

But I have a doubt since BBB device connect to PC via USB and when I use a 
site to find my proxy it gives some IP, but when I used the command "env | 
grep -i proxy". It  does not print anything. I need your suggestion.

2) I added these two lines in the file /etc/resolvconf/resolv.conf.d/tail

nameserver 8.8.8.8
nameserver 8.8.4.4

and then sudo /etc/init.d/resolvconf restart

Still apt-get install does not work and gives the same error as 
 
*  Err http://security.ubuntu.com precise-security/universe Translation-en*
*  Something wicked happened resolving 'security.ubuntu.com:http' (-11 - 
System error)*


*I would be highly obliged if you would give some suggestions.*

*BR*


On Tuesday, 6 August 2013 14:34:41 UTC-4, Jacob Stockton wrote:
>
> How does one get the device tree compiler installed on the BBB with Ubuntu 
> (-uname 3.8.13)? I am trying to compile device trees specific to the BBB. I 
> found a guide here 
> 
>  for 
> this in the "Thoughts" section, but it didn't work for me. It would be nice 
> to have a simple explicit set of instructions.
>
> Thanks,
>
> Jacob 
>

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


[beagleboard] Re: Device Tree Compiler

2015-02-04 Thread ssprithvi313
thanks

On Wednesday, 7 August 2013 00:04:41 UTC+5:30, Jacob Stockton wrote:
>
> How does one get the device tree compiler installed on the BBB with Ubuntu 
> (-uname 3.8.13)? I am trying to compile device trees specific to the BBB. I 
> found a guide here 
> 
>  for 
> this in the "Thoughts" section, but it didn't work for me. It would be nice 
> to have a simple explicit set of instructions.
>
> Thanks,
>
> Jacob 
>

-- 
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] Re: Device Tree Compiler

2014-08-27 Thread Amit Sama
Hi Robert,

Though I managed to enable the spi interface on my BB. I have following
questions/information:

1) I have following urls in /etc/apt/sources.list

THESE WERE EARLIER IN THE BBB

#deb http://ports.ubuntu.com/ubuntu-ports/ raring main universe multiverse
#deb-src http://ports.ubuntu.com/ubuntu-ports/ raring main universe
multiverse

#deb http://ports.ubuntu.com/ubuntu-ports/ raring-updates main universe
multiverse
#deb-src http://ports.ubuntu.com/ubuntu-ports/ raring-updates main universe
multiverse


THESE I COPIED FROM THE link IN ORDER TO SOLVE THE PROBLEM

deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe
multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted
universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-backports main restricted
universe multiverse
deb http://security.ubuntu.com/ubuntu precise-security main restricted
universe multiverse
deb http://archive.canonical.com/ubuntu precise partner
deb http://extras.ubuntu.com/ubuntu precise main


THESE I COPIED FROM MY DESKTOP
#deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe
multiverse
#deb http://security.ubuntu.com/ubuntu/ precise-security main restricted
universe multiverse
#deb http://archive.ubuntu.com/ubuntu/ precise-update main restricted
universe multiverse

NONE OF THEM WORKS, DO TELL ME WHAT ARE THE RIGHT URLS

2) I could see these two files in /dev/spidev1.0 and /dev/spidev1.1 .
Though I configures for the spi0 channel I think it should be like
spidev0.0 and spidev0.1

3) In order to check if I have configured the spidev correctly, I copied a
file from here

http://osdir.com/ml/beagleboard/2013-05/msg00813.html

NOW WHEN I compile it using


gcc -c spidev_test.c

It gives error like

/usr/include/libio.h:334:3: error: unknown type name ‘size_t’
/usr/include/libio.h:338:67: error: ‘size_t’ undeclared here (not in a
function)
/usr/include/libio.h:366:62: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/libio.h:375:6: error: expected declaration specifiers or ‘...’
before ‘size_t’
/usr/include/libio.h:497:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘_IO_sgetn’
In file included from spidev_test.c:9:0:
/usr/include/stdio.h:320:35: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/stdio.h:326:47: error: expected declaration specifiers or
‘...’ before ‘size_t’


Am I am compiling using wrong options ? Do tell me the correct one.

*Best Regards,*
*Amit Sama*
*Pursuing** M.Sc. Informatics*
*Technical University Munich*
*Contact : +49-15214455380*



On 20 August 2014 14:43, Robert Nelson  wrote:

> On Tue, Aug 19, 2014 at 4:03 PM, Amit Sama  wrote:
> > Hi Robert,
> >
> > I changed the /etc/apt/sources.list to the following:
> >
> > deb http://ports.ubuntu.com/ubuntu-ports/ raring main universe
> multiverse
> > deb-src http://ports.ubuntu.com/ubuntu-ports/ raring main universe
> > multiverse
>
> Laughs! Doing random things is not going to fix this..
>
> Let's look at your previous email:
>
> "Err http://security.ubuntu.com precise-security/universe Translation-en"
>
> okay, so it looked like you were on "precise" and i told you to drop
> "security.ubuntu.com" which you did.. But now it's also "raring"
>
> umm: "precise" =/= "raring" also "raring" is eol..
>
> So at this point, i'm just going to say... "You" totally hosed your OS
> doing some random stuff, that why it doesn't work..
>
> Start over with a fresh image.
>
> 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 a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/zQ039ckqp3E/unsubscribe.
> To unsubscribe from this group and all its topics, 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] Re: Device Tree Compiler

2014-08-27 Thread Robert Nelson
On Wed, Aug 27, 2014 at 4:39 AM, Amit Sama  wrote:
> Hi Robert,
>
> Though I managed to enable the spi interface on my BB. I have following
> questions/information:
>
> 1) I have following urls in /etc/apt/sources.list
>
> THESE WERE EARLIER IN THE BBB
>
> #deb http://ports.ubuntu.com/ubuntu-ports/ raring main universe multiverse
> #deb-src http://ports.ubuntu.com/ubuntu-ports/ raring main universe
> multiverse
>
> #deb http://ports.ubuntu.com/ubuntu-ports/ raring-updates main universe
> multiverse
> #deb-src http://ports.ubuntu.com/ubuntu-ports/ raring-updates main universe
> multiverse
>
>
> THESE I COPIED FROM THE link IN ORDER TO SOLVE THE PROBLEM
>
> deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe
> multiverse
> deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted
> universe multiverse
> deb http://archive.ubuntu.com/ubuntu/ precise-backports main restricted
> universe multiverse
> deb http://security.ubuntu.com/ubuntu precise-security main restricted
> universe multiverse
> deb http://archive.canonical.com/ubuntu precise partner
> deb http://extras.ubuntu.com/ubuntu precise main
>
>
> THESE I COPIED FROM MY DESKTOP
> #deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe
> multiverse
> #deb http://security.ubuntu.com/ubuntu/ precise-security main restricted
> universe multiverse
> #deb http://archive.ubuntu.com/ubuntu/ precise-update main restricted
> universe multiverse
>
> NONE OF THEM WORKS, DO TELL ME WHAT ARE THE RIGHT URLS

"Yelling" isn't going to fix this problem, either is random coping the
right URLS's.

So to repeat:


So at this point, i'm just going to say... "You" totally hosed your OS
doing some random stuff, that why it doesn't work..

Start over with a fresh image.


> 2) I could see these two files in /dev/spidev1.0 and /dev/spidev1.1 . Though
> I configures for the spi0 channel I think it should be like spidev0.0 and
> spidev0.1

Nope it isn't..

> 3) In order to check if I have configured the spidev correctly, I copied a
> file from here
>
> http://osdir.com/ml/beagleboard/2013-05/msg00813.html
>
> NOW WHEN I compile it using
>
>
> gcc -c spidev_test.c
>
> It gives error like
>
> /usr/include/libio.h:334:3: error: unknown type name ‘size_t’

Really! "It gives error like" considering "size_t" isn't in that
source. Your definition of "like" is way different!!! Wow..

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] Re: Device Tree Compiler

2014-08-27 Thread Robert Nelson
On Wed, Aug 27, 2014 at 2:18 PM, Robert Nelson  wrote:
> On Wed, Aug 27, 2014 at 4:39 AM, Amit Sama  wrote:
>> Hi Robert,
>>
>> Though I managed to enable the spi interface on my BB. I have following
>> questions/information:
>>
>> 1) I have following urls in /etc/apt/sources.list
>>
>> THESE WERE EARLIER IN THE BBB
>>
>> #deb http://ports.ubuntu.com/ubuntu-ports/ raring main universe multiverse
>> #deb-src http://ports.ubuntu.com/ubuntu-ports/ raring main universe
>> multiverse
>>
>> #deb http://ports.ubuntu.com/ubuntu-ports/ raring-updates main universe
>> multiverse
>> #deb-src http://ports.ubuntu.com/ubuntu-ports/ raring-updates main universe
>> multiverse
>>
>>
>> THESE I COPIED FROM THE link IN ORDER TO SOLVE THE PROBLEM
>>
>> deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe
>> multiverse
>> deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted
>> universe multiverse
>> deb http://archive.ubuntu.com/ubuntu/ precise-backports main restricted
>> universe multiverse
>> deb http://security.ubuntu.com/ubuntu precise-security main restricted
>> universe multiverse
>> deb http://archive.canonical.com/ubuntu precise partner
>> deb http://extras.ubuntu.com/ubuntu precise main
>>
>>
>> THESE I COPIED FROM MY DESKTOP
>> #deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe
>> multiverse
>> #deb http://security.ubuntu.com/ubuntu/ precise-security main restricted
>> universe multiverse
>> #deb http://archive.ubuntu.com/ubuntu/ precise-update main restricted
>> universe multiverse
>>
>> NONE OF THEM WORKS, DO TELL ME WHAT ARE THE RIGHT URLS
>
> "Yelling" isn't going to fix this problem, either is random coping the
> right URLS's.
>
> So to repeat:
>
> 
> So at this point, i'm just going to say... "You" totally hosed your OS
> doing some random stuff, that why it doesn't work..
>
> Start over with a fresh image.
> 
>
>> 2) I could see these two files in /dev/spidev1.0 and /dev/spidev1.1 . Though
>> I configures for the spi0 channel I think it should be like spidev0.0 and
>> spidev0.1
>
> Nope it isn't..
>
>> 3) In order to check if I have configured the spidev correctly, I copied a
>> file from here
>>
>> http://osdir.com/ml/beagleboard/2013-05/msg00813.html
>>
>> NOW WHEN I compile it using
>>
>>
>> gcc -c spidev_test.c

build here:

debian@beaglebone:~$ gcc -c spi_test.c
debian@beaglebone:~$ ls -lh
total 20K
-rw-r--r-- 1 debian debian 1.3K Aug 27 19:36 spi_test.c
-rw-r--r-- 1 debian debian 1.8K Aug 27 19:37 spi_test.o

http://paste.debian.net/117888/

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] Re: Device Tree Compiler

2014-08-27 Thread 'Mark Lazarewicz' via BeagleBoard
What can be the meaning here?

Sent from Yahoo Mail on Android

-- 
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] Re: Device Tree Compiler

2014-08-27 Thread William Hermans
>
> *What can be the meaning here?*
>

Learn how to use your tools before half fast using / complaining about them
?


On Wed, Aug 27, 2014 at 12:55 PM, 'Mark Lazarewicz' via BeagleBoard <
beagleboard@googlegroups.com> wrote:

> What can be the meaning here?
>
> Sent from Yahoo Mail on Android
> <http://overview.mail.yahoo.com/mobile/?.src=Android>
>
>  --
> * From: * Robert Nelson ;
> * To: * Beagle Board ;
> * Subject: * Re: [beagleboard] Re: Device Tree Compiler
> * Sent: * Wed, Aug 27, 2014 7:18:21 PM
>
>   On Wed, Aug 27, 2014 at 4:39 AM, Amit Sama 
> wrote:
> > Hi Robert,
> >
> > Though I managed to enable the spi interface on my BB. I have following
> > questions/information:
> >
> > 1) I have following urls in /etc/apt/sources.list
> >
> > THESE WERE EARLIER IN THE BBB
> >
> > #deb http://ports.ubuntu.com/ubuntu-ports/ raring main universe
> multiverse
> > #deb-src http://ports.ubuntu.com/ubuntu-ports/ raring main universe
> > multiverse
> >
> > #deb http://ports.ubuntu.com/ubuntu-ports/ raring-updates main universe
> > multiverse
> > #deb-src http://ports.ubuntu.com/ubuntu-ports/ raring-updates main
> universe
> > multiverse
> >
> >
> > THESE I COPIED FROM THE link IN ORDER TO SOLVE THE PROBLEM
> >
> > deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe
> > multiverse
> > deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted
> > universe multiverse
> > deb http://archive.ubuntu.com/ubuntu/ precise-backports main restricted
> > universe multiverse
> > deb http://security.ubuntu.com/ubuntu precise-security main restricted
> > universe multiverse
> > deb http://archive.canonical.com/ubuntu precise partner
> > deb http://extras.ubuntu.com/ubuntu precise main
> >
> >
> > THESE I COPIED FROM MY DESKTOP
> > #deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe
> > multiverse
> > #deb http://security.ubuntu.com/ubuntu/ precise-security main restricted
> > universe multiverse
> > #deb http://archive.ubuntu.com/ubuntu/ precise-update main restricted
> > universe multiverse
> >
> > NONE OF THEM WORKS, DO TELL ME WHAT ARE THE RIGHT URLS
>
> "Yelling" isn't going to fix this problem, either is random coping the
> right URLS's.
>
> So to repeat:
>
> 
> So at this point, i'm just going to say... "You" totally hosed your OS
> doing some random stuff, that why it doesn't work..
>
> Start over with a fresh image.
> 
>
> > 2) I could see these two files in /dev/spidev1.0 and /dev/spidev1.1 .
> Though
> > I configures for the spi0 channel I think it should be like spidev0.0 and
> > spidev0.1
>
> Nope it isn't..
>
> > 3) In order to check if I have configured the spidev correctly, I copied
> a
> > file from here
> >
> > http://osdir.com/ml/beagleboard/2013-05/msg00813.html
> >
> > NOW WHEN I compile it using
> >
> >
> > gcc -c spidev_test.c
> >
> > It gives error like
> >
> > /usr/include/libio.h:334:3: error: unknown type name ‘size_t’
>
> Really! "It gives error like" considering "size_t" isn't in that
> source. Your definition of "like" is way different!!! Wow..
>
>
> 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.
>

-- 
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] Re: Device Tree Compiler

2014-08-28 Thread Amit Sama
Hi all,

Thanks for your support till now. I am really grateful to you.

While I going through the reference manual of the arm processor on the BBB,
I came to know that the processor has the capacity for 4 SPI channels but
BBB only provides 2 channels.

1) So I want to know if spidev1.0 and spidev1.1 are the interfaces for just
one channel (because I have read the spidevB.C means channel B and device
C) why are they two in number. Does these files represent the SLAVES which
could be attached with this channel ?

And please understand that I am not yelling or complaining. I am just new
to this kind of thing. While reading the material through web I gets
answers but also get questions. I hope you all don't mind my questions. I
apologize if you do.



*Best Regards,*
*Amit Sama*
*Pursuing** M.Sc. Informatics*
*Technical University Munich*
*Contact : +49-15214455380*



On 28 August 2014 01:31, William Hermans  wrote:

> *What can be the meaning here?*
>>
>
> Learn how to use your tools before half fast using / complaining about
> them ?
>
>
> On Wed, Aug 27, 2014 at 12:55 PM, 'Mark Lazarewicz' via BeagleBoard <
> beagleboard@googlegroups.com> wrote:
>
>> What can be the meaning here?
>>
>> Sent from Yahoo Mail on Android
>> <http://overview.mail.yahoo.com/mobile/?.src=Android>
>>
>>  --------------
>> * From: * Robert Nelson ;
>> * To: * Beagle Board ;
>> * Subject: * Re: [beagleboard] Re: Device Tree Compiler
>> * Sent: * Wed, Aug 27, 2014 7:18:21 PM
>>
>>   On Wed, Aug 27, 2014 at 4:39 AM, Amit Sama 
>> wrote:
>> > Hi Robert,
>> >
>> > Though I managed to enable the spi interface on my BB. I have following
>> > questions/information:
>> >
>> > 1) I have following urls in /etc/apt/sources.list
>> >
>> > THESE WERE EARLIER IN THE BBB
>> >
>> > #deb http://ports.ubuntu.com/ubuntu-ports/ raring main universe
>> multiverse
>> > #deb-src http://ports.ubuntu.com/ubuntu-ports/ raring main universe
>> > multiverse
>> >
>> > #deb http://ports.ubuntu.com/ubuntu-ports/ raring-updates main universe
>> > multiverse
>> > #deb-src http://ports.ubuntu.com/ubuntu-ports/ raring-updates main
>> universe
>> > multiverse
>> >
>> >
>> > THESE I COPIED FROM THE link IN ORDER TO SOLVE THE PROBLEM
>> >
>> > deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe
>> > multiverse
>> > deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted
>> > universe multiverse
>> > deb http://archive.ubuntu.com/ubuntu/ precise-backports main restricted
>> > universe multiverse
>> > deb http://security.ubuntu.com/ubuntu precise-security main restricted
>> > universe multiverse
>> > deb http://archive.canonical.com/ubuntu precise partner
>> > deb http://extras.ubuntu.com/ubuntu precise main
>> >
>> >
>> > THESE I COPIED FROM MY DESKTOP
>> > #deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe
>> > multiverse
>> > #deb http://security.ubuntu.com/ubuntu/ precise-security main
>> restricted
>> > universe multiverse
>> > #deb http://archive.ubuntu.com/ubuntu/ precise-update main restricted
>> > universe multiverse
>> >
>> > NONE OF THEM WORKS, DO TELL ME WHAT ARE THE RIGHT URLS
>>
>> "Yelling" isn't going to fix this problem, either is random coping the
>> right URLS's.
>>
>> So to repeat:
>>
>> 
>> So at this point, i'm just going to say... "You" totally hosed your OS
>> doing some random stuff, that why it doesn't work..
>>
>> Start over with a fresh image.
>> 
>>
>> > 2) I could see these two files in /dev/spidev1.0 and /dev/spidev1.1 .
>> Though
>> > I configures for the spi0 channel I think it should be like spidev0.0
>> and
>> > spidev0.1
>>
>> Nope it isn't..
>>
>> > 3) In order to check if I have configured the spidev correctly, I
>> copied a
>> > file from here
>> >
>> > http://osdir.com/ml/beagleboard/2013-05/msg00813.html
>> >
>> > NOW WHEN I compile it using
>> >
>> >
>> > gcc -c spidev_test.c
>> >
>> > It gives error like
>> >
>> > /usr/include/libio.h:334:3: error: unknown type name ‘size_t’
>>
>> Really! "It gives error like" considering "size_t" isn't in that
>> source. Your definition of "like" is 

Re: [beagleboard] Re: Device Tree Compiler

2014-08-28 Thread John Syn

From:  Amit Sama 
Reply-To:  "beagleboard@googlegroups.com" 
Date:  Thursday, August 28, 2014 at 7:49 AM
To:  "beagleboard@googlegroups.com" 
Subject:  Re: [beagleboard] Re: Device Tree Compiler

> Hi all, 
> 
> Thanks for your support till now. I am really grateful to you.
> 
> While I going through the reference manual of the arm processor on the BBB, I
> came to know that the processor has the capacity for 4 SPI channels but BBB
> only provides 2 channels.
> 
> 1) So I want to know if spidev1.0 and spidev1.1 are the interfaces for just
> one channel (because I have read the spidevB.C means channel B and device C)
> why are they two in number. Does these files represent the SLAVES which could
> be attached with this channel ?
I believe that is SPI Channel and SPI Chip Select.

Regards,
John
> 
> And please understand that I am not yelling or complaining. I am just new to
> this kind of thing. While reading the material through web I gets answers but
> also get questions. I hope you all don't mind my questions. I apologize if you
> do. 
> 
> 
> 
> Best Regards,
> Amit Sama
> Pursuing M.Sc. Informatics
> Technical University Munich
> Contact : +49-15214455380
> 
> 
> 
> On 28 August 2014 01:31, William Hermans  wrote:
>>> What can be the meaning here?
>> 
>> Learn how to use your tools before half fast using / complaining about them ?
>> 
>> 
>> On Wed, Aug 27, 2014 at 12:55 PM, 'Mark Lazarewicz' via BeagleBoard
>>  wrote:
>>> What can be the meaning here?Sent from Yahoo Mail on Android
>>> <http://overview.mail.yahoo.com/mobile/?.src=Android>
>>>  
>>>  
>>>  
>>>  
>>>  
>>> 
>>>   From:  Robert Nelson ;
>>>   To:  Beagle Board ;
>>>   Subject:  Re: [beagleboard] Re: Device Tree Compiler
>>>   Sent:  Wed, Aug 27, 2014 7:18:21 PM
>>>  
>>>  
>>>
>>>  On Wed, Aug 27, 2014 at 4:39 AM, Amit Sama  wrote:
>>>> > Hi Robert,
>>>> >
>>>> > Though I managed to enable the spi interface on my BB. I have following
>>>> > questions/information:
>>>> >
>>>> > 1) I have following urls in /etc/apt/sources.list
>>>> >
>>>> > THESE WERE EARLIER IN THE BBB
>>>> >
>>>> > #deb http://ports.ubuntu.com/ubuntu-ports/
>>>> <http://ports.ubuntu.com/ubuntu-ports/> raring main universe multiverse
>>>> > #deb-src http://ports.ubuntu.com/ubuntu-ports/
>>>> <http://ports.ubuntu.com/ubuntu-ports/> raring main universe
>>>> > multiverse
>>>> >
>>>> > #deb http://ports.ubuntu.com/ubuntu-ports/
>>>> <http://ports.ubuntu.com/ubuntu-ports/> raring-updates main universe
>>>> > multiverse
>>>> > #deb-src http://ports.ubuntu.com/ubuntu-ports/
>>>> <http://ports.ubuntu.com/ubuntu-ports/> raring-updates main universe
>>>> > multiverse
>>>> >
>>>> >
>>>> > THESE I COPIED FROM THE link IN ORDER TO SOLVE THE PROBLEM
>>>> >
>>>> > deb http://archive.ubuntu.com/ubuntu/
>>>> <http://archive.ubuntu.com/ubuntu/> precise main restricted universe
>>>> > multiverse
>>>> > deb http://archive.ubuntu.com/ubuntu/
>>>> <http://archive.ubuntu.com/ubuntu/> precise-updates main restricted
>>>> > universe multiverse
>>>> > deb http://archive.ubuntu.com/ubuntu/
>>>> <http://archive.ubuntu.com/ubuntu/> precise-backports main restricted
>>>> > universe multiverse
>>>> > deb http://security.ubuntu.com/ubuntu
>>>> <http://security.ubuntu.com/ubuntu> precise-security main restricted
>>>> > universe multiverse
>>>> > deb http://archive.canonical.com/ubuntu
>>>> <http://archive.canonical.com/ubuntu> precise partner
>>>> > deb http://extras.ubuntu.com/ubuntu  <http://extras.ubuntu.com/ubuntu>
>>>> precise main
>>>> >
>>>> >
>>>> > THESE I COPIED FROM MY DESKTOP
>>>> > #deb http://archive.ubuntu.com/ubuntu/
>>>> <http://archive.ubuntu.com/ubuntu/> precise main restricted universe
>>>> > multiverse
>>>> > #deb http://security.ubuntu.com/ubuntu/
>>>> <http://security.ubuntu.com/ubuntu/> precise-security main restricted
>>>> > universe multiverse
>>>> > #deb http://archive.ub

Re: [beagleboard] Re: Device Tree Compiler

2014-09-02 Thread Amit Sama
Hi John,

Thanks for your reply. You mean whatever we have to send and receive should
be done via spidev1.0 only ?

*Best Regards,*
*Amit Sama*



On 28 August 2014 16:28, John Syn  wrote:

>
> From: Amit Sama 
> Reply-To: "beagleboard@googlegroups.com" 
> Date: Thursday, August 28, 2014 at 7:49 AM
> To: "beagleboard@googlegroups.com" 
>
> Subject: Re: [beagleboard] Re: Device Tree Compiler
>
> Hi all,
>
> Thanks for your support till now. I am really grateful to you.
>
> While I going through the reference manual of the arm processor on the
> BBB, I came to know that the processor has the capacity for 4 SPI channels
> but BBB only provides 2 channels.
>
> 1) So I want to know if spidev1.0 and spidev1.1 are the interfaces for
> just one channel (because I have read the spidevB.C means channel B and
> device C) why are they two in number. Does these files represent the SLAVES
> which could be attached with this channel ?
>
> I believe that is SPI Channel and SPI Chip Select.
>
> Regards,
> John
>
>
> And please understand that I am not yelling or complaining. I am just new
> to this kind of thing. While reading the material through web I gets
> answers but also get questions. I hope you all don't mind my questions. I
> apologize if you do.
>
>
>
> *Best Regards,*
> *Amit Sama*
> *Pursuing** M.Sc. Informatics*
> *Technical University Munich*
> *Contact : +49-15214455380 <%2B49-15214455380>*
>
>
>
> On 28 August 2014 01:31, William Hermans  wrote:
>
>> *What can be the meaning here?*
>>>
>>
>> Learn how to use your tools before half fast using / complaining about
>> them ?
>>
>>
>> On Wed, Aug 27, 2014 at 12:55 PM, 'Mark Lazarewicz' via BeagleBoard <
>> beagleboard@googlegroups.com> wrote:
>>
>>> What can be the meaning here?
>>>
>>> Sent from Yahoo Mail on Android
>>> <http://overview.mail.yahoo.com/mobile/?.src=Android>
>>>
>>>  --
>>> * From: * Robert Nelson ;
>>> * To: * Beagle Board ;
>>> * Subject: * Re: [beagleboard] Re: Device Tree Compiler
>>> * Sent: * Wed, Aug 27, 2014 7:18:21 PM
>>>
>>>   On Wed, Aug 27, 2014 at 4:39 AM, Amit Sama 
>>> wrote:
>>> > Hi Robert,
>>> >
>>> > Though I managed to enable the spi interface on my BB. I have following
>>> > questions/information:
>>> >
>>> > 1) I have following urls in /etc/apt/sources.list
>>> >
>>> > THESE WERE EARLIER IN THE BBB
>>> >
>>> > #deb http://ports.ubuntu.com/ubuntu-ports/ raring main universe
>>> multiverse
>>> > #deb-src http://ports.ubuntu.com/ubuntu-ports/ raring main universe
>>> > multiverse
>>> >
>>> > #deb http://ports.ubuntu.com/ubuntu-ports/ raring-updates main
>>> universe
>>> > multiverse
>>> > #deb-src http://ports.ubuntu.com/ubuntu-ports/ raring-updates main
>>> universe
>>> > multiverse
>>> >
>>> >
>>> > THESE I COPIED FROM THE link IN ORDER TO SOLVE THE PROBLEM
>>> >
>>> > deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe
>>> > multiverse
>>> > deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted
>>> > universe multiverse
>>> > deb http://archive.ubuntu.com/ubuntu/ precise-backports main
>>> restricted
>>> > universe multiverse
>>> > deb http://security.ubuntu.com/ubuntu precise-security main restricted
>>> > universe multiverse
>>> > deb http://archive.canonical.com/ubuntu precise partner
>>> > deb http://extras.ubuntu.com/ubuntu precise main
>>> >
>>> >
>>> > THESE I COPIED FROM MY DESKTOP
>>> > #deb http://archive.ubuntu.com/ubuntu/ precise main restricted
>>> universe
>>> > multiverse
>>> > #deb http://security.ubuntu.com/ubuntu/ precise-security main
>>> restricted
>>> > universe multiverse
>>> > #deb http://archive.ubuntu.com/ubuntu/ precise-update main restricted
>>> > universe multiverse
>>> >
>>> > NONE OF THEM WORKS, DO TELL ME WHAT ARE THE RIGHT URLS
>>>
>>> "Yelling" isn't going to fix this problem, either is random coping the
>>> right URLS's.
>>>
>>> So to repeat:
>>>
>>> 
>>> So at this point, i'm just going to say... "You" total

Re: [beagleboard] Re: Device Tree Compiler

2014-09-02 Thread John Syn

From:  Amit Sama 
Reply-To:  "beagleboard@googlegroups.com" 
Date:  Sunday, August 31, 2014 at 4:27 AM
To:  "beagleboard@googlegroups.com" 
Subject:  Re: [beagleboard] Re: Device Tree Compiler

> Hi John,
> 
> Thanks for your reply. You mean whatever we have to send and receive should be
> done via spidev1.0 only ?
No, you can use any SPI interface and any chip select as long as they are
defined in the devicetree. If you define the SPI device in the devicetree
correctly then they will show up in /dev.

Regards,
John
> 
> Best Regards,
> Amit Sama
> 
> 
> 
> On 28 August 2014 16:28, John Syn  wrote:
>> 
>> From:  Amit Sama 
>> Reply-To:  "beagleboard@googlegroups.com" 
>> Date:  Thursday, August 28, 2014 at 7:49 AM
>> To:  "beagleboard@googlegroups.com" 
>> 
>> Subject:  Re: [beagleboard] Re: Device Tree Compiler
>> 
>>> Hi all, 
>>> 
>>> Thanks for your support till now. I am really grateful to you.
>>> 
>>> While I going through the reference manual of the arm processor on the BBB,
>>> I came to know that the processor has the capacity for 4 SPI channels but
>>> BBB only provides 2 channels.
>>> 
>>> 1) So I want to know if spidev1.0 and spidev1.1 are the interfaces for just
>>> one channel (because I have read the spidevB.C means channel B and device C)
>>> why are they two in number. Does these files represent the SLAVES which
>>> could be attached with this channel ?
>> I believe that is SPI Channel and SPI Chip Select.
>> 
>> Regards,
>> John
>>> 
>>> And please understand that I am not yelling or complaining. I am just new to
>>> this kind of thing. While reading the material through web I gets answers
>>> but also get questions. I hope you all don't mind my questions. I apologize
>>> if you do. 
>>> 
>>> 
>>> 
>>> Best Regards,
>>> Amit Sama
>>> Pursuing M.Sc. Informatics
>>> Technical University Munich
>>> Contact : +49-15214455380 
>>> 
>>> 
>>> 
>>> On 28 August 2014 01:31, William Hermans  wrote:
>>>>> What can be the meaning here?
>>>> 
>>>> Learn how to use your tools before half fast using / complaining about them
>>>> ?
>>>> 
>>>> 
>>>> On Wed, Aug 27, 2014 at 12:55 PM, 'Mark Lazarewicz' via BeagleBoard
>>>>  wrote:
>>>>> What can be the meaning here?Sent from Yahoo Mail on Android
>>>>> <http://overview.mail.yahoo.com/mobile/?.src=Android>
>>>>>  
>>>>>  
>>>>>  
>>>>>  
>>>>>  
>>>>> 
>>>>>   From:  Robert Nelson ;
>>>>>   To:  Beagle Board ;
>>>>>   Subject:  Re: [beagleboard] Re: Device Tree Compiler
>>>>>   Sent:  Wed, Aug 27, 2014 7:18:21 PM
>>>>>  
>>>>>  
>>>>>
>>>>>  On Wed, Aug 27, 2014 at 4:39 AM, Amit Sama 
>>>>> wrote:
>>>>>> > Hi Robert,
>>>>>> >
>>>>>> > Though I managed to enable the spi interface on my BB. I have following
>>>>>> > questions/information:
>>>>>> >
>>>>>> > 1) I have following urls in /etc/apt/sources.list
>>>>>> >
>>>>>> > THESE WERE EARLIER IN THE BBB
>>>>>> >
>>>>>> > #deb http://ports.ubuntu.com/ubuntu-ports/
>>>>>> <http://ports.ubuntu.com/ubuntu-ports/> raring main universe multiverse
>>>>>> > #deb-src http://ports.ubuntu.com/ubuntu-ports/
>>>>>> <http://ports.ubuntu.com/ubuntu-ports/> raring main universe
>>>>>> > multiverse
>>>>>> >
>>>>>> > #deb http://ports.ubuntu.com/ubuntu-ports/
>>>>>> <http://ports.ubuntu.com/ubuntu-ports/> raring-updates main universe
>>>>>> > multiverse
>>>>>> > #deb-src http://ports.ubuntu.com/ubuntu-ports/
>>>>>> <http://ports.ubuntu.com/ubuntu-ports/> raring-updates main universe
>>>>>> > multiverse
>>>>>> >
>>>>>> >
>>>>>> > THESE I COPIED FROM THE link IN ORDER TO SOLVE THE PROBLEM
>>>>>> >
>>>>>> > deb http://archive.ubuntu.com/ubuntu/
>>>>>> <http://archive.ubuntu.com/ubuntu/>

Re: [beagleboard] Re: Device Tree Compiler

2014-09-11 Thread Amit Sama
bout where I am going wrong.


*Best Regards,*


On 2 September 2014 19:24, John Syn  wrote:

>
> From: Amit Sama 
> Reply-To: "beagleboard@googlegroups.com" 
> Date: Sunday, August 31, 2014 at 4:27 AM
> To: "beagleboard@googlegroups.com" 
> Subject: Re: [beagleboard] Re: Device Tree Compiler
>
> Hi John,
>
> Thanks for your reply. You mean whatever we have to send and receive
> should be done via spidev1.0 only ?
>
> No, you can use any SPI interface and any chip select as long as they are
> defined in the devicetree. If you define the SPI device in the devicetree
> correctly then they will show up in /dev.
>
> Regards,
> John
>
>
> *Best Regards,*
> *Amit Sama*
>
>
>
> On 28 August 2014 16:28, John Syn  wrote:
>
>>
>> From: Amit Sama 
>> Reply-To: "beagleboard@googlegroups.com" 
>> Date: Thursday, August 28, 2014 at 7:49 AM
>> To: "beagleboard@googlegroups.com" 
>>
>> Subject: Re: [beagleboard] Re: Device Tree Compiler
>>
>> Hi all,
>>
>> Thanks for your support till now. I am really grateful to you.
>>
>> While I going through the reference manual of the arm processor on the
>> BBB, I came to know that the processor has the capacity for 4 SPI channels
>> but BBB only provides 2 channels.
>>
>> 1) So I want to know if spidev1.0 and spidev1.1 are the interfaces for
>> just one channel (because I have read the spidevB.C means channel B and
>> device C) why are they two in number. Does these files represent the SLAVES
>> which could be attached with this channel ?
>>
>> I believe that is SPI Channel and SPI Chip Select.
>>
>> Regards,
>> John
>>
>>
>> And please understand that I am not yelling or complaining. I am just new
>> to this kind of thing. While reading the material through web I gets
>> answers but also get questions. I hope you all don't mind my questions. I
>> apologize if you do.
>>
>>
>>
>> *Best Regards,*
>> *Amit Sama*
>> *Pursuing** M.Sc. Informatics*
>> *Technical University Munich*
>> *Contact : +49-15214455380 <%2B49-15214455380>*
>>
>>
>>
>> On 28 August 2014 01:31, William Hermans  wrote:
>>
>>> *What can be the meaning here?*
>>>>
>>>
>>> Learn how to use your tools before half fast using / complaining about
>>> them ?
>>>
>>>
>>> On Wed, Aug 27, 2014 at 12:55 PM, 'Mark Lazarewicz' via BeagleBoard <
>>> beagleboard@googlegroups.com> wrote:
>>>
>>>> What can be the meaning here?
>>>>
>>>> Sent from Yahoo Mail on Android
>>>> <http://overview.mail.yahoo.com/mobile/?.src=Android>
>>>>
>>>>  --
>>>> * From: * Robert Nelson ;
>>>> * To: * Beagle Board ;
>>>> * Subject: * Re: [beagleboard] Re: Device Tree Compiler
>>>> * Sent: * Wed, Aug 27, 2014 7:18:21 PM
>>>>
>>>>   On Wed, Aug 27, 2014 at 4:39 AM, Amit Sama 
>>>> wrote:
>>>> > Hi Robert,
>>>> >
>>>> > Though I managed to enable the spi interface on my BB. I have
>>>> following
>>>> > questions/information:
>>>> >
>>>> > 1) I have following urls in /etc/apt/sources.list
>>>> >
>>>> > THESE WERE EARLIER IN THE BBB
>>>> >
>>>> > #deb http://ports.ubuntu.com/ubuntu-ports/ raring main universe
>>>> multiverse
>>>> > #deb-src http://ports.ubuntu.com/ubuntu-ports/ raring main universe
>>>> > multiverse
>>>> >
>>>> > #deb http://ports.ubuntu.com/ubuntu-ports/ raring-updates main
>>>> universe
>>>> > multiverse
>>>> > #deb-src http://ports.ubuntu.com/ubuntu-ports/ raring-updates main
>>>> universe
>>>> > multiverse
>>>> >
>>>> >
>>>> > THESE I COPIED FROM THE link IN ORDER TO SOLVE THE PROBLEM
>>>> >
>>>> > deb http://archive.ubuntu.com/ubuntu/ precise main restricted
>>>> universe
>>>> > multiverse
>>>> > deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted
>>>> > universe multiverse
>>>> > deb http://archive.ubuntu.com/ubuntu/ precise-backports main
>>>> restricted
>>>> > universe multiverse
>>>> > deb http://security.ubuntu.com/ubuntu precise-security main
>>>

Re: [beagleboard] Re: Device Tree Compiler

2014-08-18 Thread Robert Nelson
On Sun, Aug 17, 2014 at 11:19 AM,   wrote:
> Hi Robert,
>
> I am new to BeagleBone. Right now I am stuck up in the intial phase of using
> SPI0 (once I am able to use SPI0, I would go for SPI1). I tried to run the
> command for installing device tree compiler, but prompted "bash: dtc not
> found"
>
> I have on my BBB :
>
> Linux arm 3.8.13xenomai-bone28.1 #1 SMP Thu Nov 21 09:53:58 CET 2013 armv7l
> armv7l armv7l GNU/Linux

lots of bugs have been fixed since bone28...

> And when I tried to install the dtc by sudo apt-get install dtc, it does not
> work and gave error like:
>
>
> Err http://security.ubuntu.com precise-security/universe Translation-en
>   Something wicked happened resolving 'security.ubuntu.com:http' (-11 -
> System error)

why do you have "security.ubuntu.com" enabled in /etc/apt/sources.list
? there is no armhf binaries on that server...

> the same error appear when I used apt-get install for other packages.
>
> I googled the error and accordingly two solutions:
>
> 1)
> http://askubuntu.com/questions/150210/how-do-i-set-systemwide-proxy-servers-in-xubuntu-lubuntu-or-ubuntu-studio
>
> I did what is asked for but still the same results. I want to tell that for
> checking if my BBB has proxy I used the following command
>
> env | grep -i proxy
>
> Nothing got printed with this command (so there is no proxy) to from the
> link above I only used the lines
> no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com"
> NO_PROXY="localhost,127.0.0.1,localaddress,.localdomain.com"
>
> But I have a doubt since BBB device connect to PC via USB and when I use a
> site to find my proxy it gives some IP, but when I used the command "env |
> grep -i proxy". It  does not print anything. I need your suggestion.
>
> 2) I added these two lines in the file /etc/resolvconf/resolv.conf.d/tail
>
> nameserver 8.8.8.8
> nameserver 8.8.4.4
>
> and then sudo /etc/init.d/resolvconf restart
>
> Still apt-get install does not work and gives the same error as
>
>   Err http://security.ubuntu.com precise-security/universe Translation-en
>   Something wicked happened resolving 'security.ubuntu.com:http' (-11 -
> System error)
>
>
> I would be highly obliged if you would give some suggestions.

Remove security and try again.

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] Re: Device Tree Compiler

2014-08-18 Thread William Hermans
OK, not meaning to derail the post but I would not know where else to say
this. Personally, I think the device tree fragment such as is in 3.8.13* is
perfect.  I also rather like loading / disabling dtb's from within uboot


On Mon, Aug 18, 2014 at 11:24 AM, Robert Nelson 
wrote:

> On Sun, Aug 17, 2014 at 11:19 AM,   wrote:
> > Hi Robert,
> >
> > I am new to BeagleBone. Right now I am stuck up in the intial phase of
> using
> > SPI0 (once I am able to use SPI0, I would go for SPI1). I tried to run
> the
> > command for installing device tree compiler, but prompted "bash: dtc not
> > found"
> >
> > I have on my BBB :
> >
> > Linux arm 3.8.13xenomai-bone28.1 #1 SMP Thu Nov 21 09:53:58 CET 2013
> armv7l
> > armv7l armv7l GNU/Linux
>
> lots of bugs have been fixed since bone28...
>
> > And when I tried to install the dtc by sudo apt-get install dtc, it does
> not
> > work and gave error like:
> >
> >
> > Err http://security.ubuntu.com precise-security/universe Translation-en
> >   Something wicked happened resolving 'security.ubuntu.com:http' (-11 -
> > System error)
>
> why do you have "security.ubuntu.com" enabled in /etc/apt/sources.list
> ? there is no armhf binaries on that server...
>
> > the same error appear when I used apt-get install for other packages.
> >
> > I googled the error and accordingly two solutions:
> >
> > 1)
> >
> http://askubuntu.com/questions/150210/how-do-i-set-systemwide-proxy-servers-in-xubuntu-lubuntu-or-ubuntu-studio
> >
> > I did what is asked for but still the same results. I want to tell that
> for
> > checking if my BBB has proxy I used the following command
> >
> > env | grep -i proxy
> >
> > Nothing got printed with this command (so there is no proxy) to from the
> > link above I only used the lines
> > no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com"
> > NO_PROXY="localhost,127.0.0.1,localaddress,.localdomain.com"
> >
> > But I have a doubt since BBB device connect to PC via USB and when I use
> a
> > site to find my proxy it gives some IP, but when I used the command "env
> |
> > grep -i proxy". It  does not print anything. I need your suggestion.
> >
> > 2) I added these two lines in the file /etc/resolvconf/resolv.conf.d/tail
> >
> > nameserver 8.8.8.8
> > nameserver 8.8.4.4
> >
> > and then sudo /etc/init.d/resolvconf restart
> >
> > Still apt-get install does not work and gives the same error as
> >
> >   Err http://security.ubuntu.com precise-security/universe
> Translation-en
> >   Something wicked happened resolving 'security.ubuntu.com:http' (-11 -
> > System error)
> >
> >
> > I would be highly obliged if you would give some suggestions.
>
> Remove security and try again.
>
> 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] Re: Device Tree Compiler

2014-08-20 Thread Amit Sama
Hi Robert,

I changed the /etc/apt/sources.list to the following:

deb http://ports.ubuntu.com/ubuntu-ports/ raring main universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports/ raring main universe
multiverse

deb http://ports.ubuntu.com/ubuntu-ports/ raring-updates main universe
multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports/ raring-updates main universe
multiverse

Now the error while apt-get update is

*Err http://ports.ubuntu.com 
raring-updates/universe Translation-en*
*  Something wicked happened resolving 'ports.ubuntu.com:http' (-11 -
System error)*
*W: Failed to fetch
http://ports.ubuntu.com/ubuntu-ports/dists/raring/Release.gpg
  Something
wicked happened resolving 'ports.ubuntu.com:http' (-11 - System error)*

I would be highly obliged.

BR

*Best Regards,*
*Amit Sama*
*Pursuing** M.Sc. Informatics*
*Technical University Munich*
*Contact : +49-15214455380*



On 18 August 2014 14:24, Robert Nelson  wrote:

> On Sun, Aug 17, 2014 at 11:19 AM,   wrote:
> > Hi Robert,
> >
> > I am new to BeagleBone. Right now I am stuck up in the intial phase of
> using
> > SPI0 (once I am able to use SPI0, I would go for SPI1). I tried to run
> the
> > command for installing device tree compiler, but prompted "bash: dtc not
> > found"
> >
> > I have on my BBB :
> >
> > Linux arm 3.8.13xenomai-bone28.1 #1 SMP Thu Nov 21 09:53:58 CET 2013
> armv7l
> > armv7l armv7l GNU/Linux
>
> lots of bugs have been fixed since bone28...
>
> > And when I tried to install the dtc by sudo apt-get install dtc, it does
> not
> > work and gave error like:
> >
> >
> > Err http://security.ubuntu.com precise-security/universe Translation-en
> >   Something wicked happened resolving 'security.ubuntu.com:http' (-11 -
> > System error)
>
> why do you have "security.ubuntu.com" enabled in /etc/apt/sources.list
> ? there is no armhf binaries on that server...
>
> > the same error appear when I used apt-get install for other packages.
> >
> > I googled the error and accordingly two solutions:
> >
> > 1)
> >
> http://askubuntu.com/questions/150210/how-do-i-set-systemwide-proxy-servers-in-xubuntu-lubuntu-or-ubuntu-studio
> >
> > I did what is asked for but still the same results. I want to tell that
> for
> > checking if my BBB has proxy I used the following command
> >
> > env | grep -i proxy
> >
> > Nothing got printed with this command (so there is no proxy) to from the
> > link above I only used the lines
> > no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com"
> > NO_PROXY="localhost,127.0.0.1,localaddress,.localdomain.com"
> >
> > But I have a doubt since BBB device connect to PC via USB and when I use
> a
> > site to find my proxy it gives some IP, but when I used the command "env
> |
> > grep -i proxy". It  does not print anything. I need your suggestion.
> >
> > 2) I added these two lines in the file /etc/resolvconf/resolv.conf.d/tail
> >
> > nameserver 8.8.8.8
> > nameserver 8.8.4.4
> >
> > and then sudo /etc/init.d/resolvconf restart
> >
> > Still apt-get install does not work and gives the same error as
> >
> >   Err http://security.ubuntu.com precise-security/universe
> Translation-en
> >   Something wicked happened resolving 'security.ubuntu.com:http' (-11 -
> > System error)
> >
> >
> > I would be highly obliged if you would give some suggestions.
>
> Remove security and try again.
>
> 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 a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/zQ039ckqp3E/unsubscribe.
> To unsubscribe from this group and all its topics, 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] Re: Device Tree Compiler

2014-08-20 Thread Robert Nelson
On Tue, Aug 19, 2014 at 4:03 PM, Amit Sama  wrote:
> Hi Robert,
>
> I changed the /etc/apt/sources.list to the following:
>
> deb http://ports.ubuntu.com/ubuntu-ports/ raring main universe multiverse
> deb-src http://ports.ubuntu.com/ubuntu-ports/ raring main universe
> multiverse

Laughs! Doing random things is not going to fix this..

Let's look at your previous email:

"Err http://security.ubuntu.com precise-security/universe Translation-en"

okay, so it looked like you were on "precise" and i told you to drop
"security.ubuntu.com" which you did.. But now it's also "raring"

umm: "precise" =/= "raring" also "raring" is eol..

So at this point, i'm just going to say... "You" totally hosed your OS
doing some random stuff, that why it doesn't work..

Start over with a fresh image.

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] Re: Device Tree Compiler

2015-02-13 Thread Amit Sama
Hi,

May be this would help you

http://www.xenomai.org/documentation/trunk/README.INSTALL.txt

*Best Regards,*
*Amit *



On 4 February 2015 at 09:49,  wrote:

> thanks
>
> On Wednesday, 7 August 2013 00:04:41 UTC+5:30, Jacob Stockton wrote:
>>
>> How does one get the device tree compiler installed on the BBB with
>> Ubuntu (-uname 3.8.13)? I am trying to compile device trees specific to the
>> BBB. I found a guide here
>> 
>>  for
>> this in the "Thoughts" section, but it didn't work for me. It would be nice
>> to have a simple explicit set of instructions.
>>
>> Thanks,
>>
>> Jacob
>>
>  --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/zQ039ckqp3E/unsubscribe.
> To unsubscribe from this group and all its topics, 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.