Re: [beagleboard] Re: Should a 32Gb micro SD card cause any problems? (It seems to)

2014-03-03 Thread Jason Kridner
On Mon, Mar 3, 2014 at 11:26 AM,  wrote:

> Robert Nelson  wrote:
> > On Mon, Mar 3, 2014 at 9:28 AM,   wrote:
> > > I just tried turning on my BBB after inserting a new (presumably
> > > therefore, empty) 32Gb microSD card into it.  It failed to boot, just
> > > sat with the power LED and the first 3 LEDs permanently on.
> >
> > The original "Angstrom" image does not support this out of the box.
> > The factory bootloader assumes the presence of a microSD card is
> > enough to boot from it, without any fall back.  Either insert the
> > microSD after boot has started, add a dummy uEnv.txt telling it to
> > boot from eMMC in the first partition, or just switch to the debian
> > based image i've been pushing on this list.
> >
> Second reply - I've just removed the microSD card and booted the
> default Angstrom Linux.  There is already a uEnv.txt file there which
> contains the following text:-
>
> optargs=quiet drm.debug=7
>
> What do I need to do to this to force the system to boot from the eMMC
> even if an SD card is plugged in?
>

Without overwriting the bootloader, I don't believe it is possible to be
certain. Overwriting the bootloader isn't that complicated, but I hesitate
to write down directions if it isn't clear to you how to figure out what
bootloader you want to use.


>
> --
> Chris Green
> ·
>
> --
> 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.
>

-- 
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] Directly accessing ARM registers from C/C++

2014-03-03 Thread Charles Steinkuehler
You are running on a system with virtual memory, so you can't just
access the physical memory location and expect it to work.  There's a
re-mapping system of memory pages between your process address space and
the physical memory bus.

The way you do this is to mmap the /dev/mem file, with appropriate
offset and length values.  This gets you a memory pointer in your
program you can use to access the physical memory address you want.

I'd provide full details, but I live in Topeka and am a KU fan!  :)

Actually, I'm typing on a netbook in a hotel room, or I'd dig something
up for you...it should be pretty easy to find on-line with a bit of a
search.  If you're still stuck tomorrow, I can dig up some code when I'm
at the office.

...here's one example, not the best, but maybe it will get you started:

https://github.com/cdsteinkuehler/linuxcnc/blob/MachineKit-ubc/src/hal/drivers/hal_bb_gpio.c#L73

On 03/03/14 14:48, depa...@phys.ksu.edu wrote:
> I've got a BeagleBone Black running Angstrom, and I want to directly access 
> the ARM335 registers from my C/C++ programs.  A trivial example would be to 
> "read" the Device_ID at memory location 0x44E10600.  To do this I tried: 
> 
> #include 
> using namespace std;
> 
> unsigned long int *p;
> unsigned long int DevID = 0x44E10600;
> 
> p1 = DevID;  // <= this gives a compiler error: "invalid conversion from 
> 'long unsigned int' to 'long unsigned int*'
> cout << *p1 << endl;  // <= if I "cheat" around the compiler error, I get a 
> Segmentation fault from this statement
> 
> // etc
> 
> Note 1: just the p1 = DevI statement causes a fatal compiler error (as 
> indicated in the comment.  
> Note 2: I can get around this by using the -fpermissive compiler option, 
> but then the cout statement (or any other way of extracting the contents of 
> that memory location) gives me the segmentation fault.
> 
> I *think* this is a permissions thing -- which means I ought to be able to 
> fix it with some command.  Is this correct?  In any case, can someone tell 
> me how to read/write to a particular memory location using c/c++?  Much 
> obliged!
> 
> BDD
> 

-- 
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] Re: Directly accessing ARM registers from C/C++

2014-03-03 Thread Walter Schilling
I personally have not tried this, but have you thought about trying to use 
mmap to link the device driver io file directly into memory?

Walt


On Monday, March 3, 2014 2:48:10 PM UTC-6, dep...@phys.ksu.edu wrote:
>
> I've got a BeagleBone Black running Angstrom, and I want to directly 
> access the ARM335 registers from my C/C++ programs.  A trivial example 
> would be to "read" the Device_ID at memory location 0x44E10600.  To do this 
> I tried: 
>
> #include 
> using namespace std;
>
> unsigned long int *p;
> unsigned long int DevID = 0x44E10600;
>
> p1 = DevID;  // <= this gives a compiler error: "invalid conversion from 
> 'long unsigned int' to 'long unsigned int*'
> cout << *p1 << endl;  // <= if I "cheat" around the compiler error, I get 
> a Segmentation fault from this statement
>
> // etc
>
> Note 1: just the p1 = DevI statement causes a fatal compiler error (as 
> indicated in the comment.  
> Note 2: I can get around this by using the -fpermissive compiler option, 
> but then the cout statement (or any other way of extracting the contents of 
> that memory location) gives me the segmentation fault.
>
> I *think* this is a permissions thing -- which means I ought to be able to 
> fix it with some command.  Is this correct?  In any case, can someone tell 
> me how to read/write to a particular memory location using c/c++?  Much 
> obliged!
>
> BDD
>
>

-- 
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: Re: [beagleboard] Re: BBB + PREEMPT_RT

2014-03-03 Thread Yang
  Hi ,all. I had been reading this thread of PREEMPT_RT for a few days.
(I miss the starting mails since I can't get to the web page of google groups)

For my situation, I just need my userspace program run once every 1ms sys tick. 
The result will be writed to a fifo in FPGA to achive realtime IO control.

Can this be achive by eanbling PREEMPT ? any other works need?   

  

 2014-02-28 16:53:26 您在来信中写道: 

Thanks for you tips. I am using a minimal Ubuntu system without a full desktop 
that is based on 
http://www.armhf.com/index.php/boards/beaglebone-black/#precise. I used apt-get 
to update the system. The integrated eMMC and HDMI are deactivated.

To create a network stress I used Ubuntu's iperf in server mode from another 
ssh shell while running stress and cyclictest at the same time. The transfer 
rate to another Ubuntu box reached 94.7 MBit/s and > 100MB were copied. The 
latency numbers did not change.


Am Mittwoch, 26. Februar 2014 16:58:31 UTC+1 schrieb Charles Steinkuehler:
Xenomai includes a "dohell" script that can generate disk and network 
load.  You can always just "dd" to a file for a while. 

If you're running a Debian/Ubuntu based system, I've found that running 
"aptitude upgrade" if you have a few dated packages can be a major 
stress to the system.  That gets you both network and disk load, and not 
so long ago had a decent chance of wedging the eMMC kernel driver (even 
without the Xenomai patches that 'tickled' the eMMC driver bug and made 
it more likely to happen). 

Opening GUI programs and moving windows around is another good stress. 

On 2/26/2014 9:48 AM, quik...@gmail.com wrote: 
> The stress tool generates cpu load only. But it is a good idea to consider 
> other load scenarios, too. The current test was done using ssh so there was 
> at least some network activity. Do you know of a good test tool which 
> allows to generate disk and network load? 
> 
> 
> Am Mittwoch, 26. Februar 2014 15:58:55 UTC+1 schrieb Charles Steinkuehler: 
>> 
>> Those are pretty good numbers.  Did you have heavy network and disk 
>> (uSD/eMMC) load going as well?  IIRC, the uSD/eMMC driver was 
>> responsible for the worst of the latency spikes I saw, but that's been 
>> some time ago and based on the OMAP kernel list traffic, it appears 
>> there have been lots of improvements to that code. 
>> 
>> On 2/26/2014 7:53 AM, quik...@gmail.com  wrote: 
>>>   
>>> 
>>> I have recently tested kernel 3.8.13-rt9 ( 
>>> https://github.com/beagleboard/kernel/tree/3.8-rt) using 
>>> git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests.git. I 
>> am 
>>> using Ubuntu 12.04.4. The load was created using stress �Ccpu 1 which 
>>> generates a cpu load of about 100%. I then used cyclictest: 
>>> 
>>> 
>>>  root@ubuntu-armhf:/home/ubuntu/rt-tests# ./cyclictest -l100 -m -n 
>> -t1 
>>> -p99 -i400 -q 
>>> 
>>> # /dev/cpu_dma_latency set to 0us 
>>> 
>>> T: 0 ( 770) P:99 I:400 C:100 Min: 14 Act: 19 Avg: 18 Max: 132 
>>> 
>>> 
>>>  uname -a reports: 
>>> 
>>> root@ubuntu-armhf:/home/ubuntu/rt-tests# uname -a 
>>> 
>>> Linux ubuntu-armhf 3.8.13-rt9-00899-g160e771 #1 SMP PREEMPT Wed Jun 19 
>>> 10:49:36 CEST 2013 armv7l armv7l armv7l GNU/Linux 
>>> 
>>> 
>>>  I am absolutely surprised that the result is looking that good. 
>>> 
>>> 
>>> 
>>> Am Freitag, 21. Februar 2014 09:20:39 UTC+1 schrieb quik...@gmail.com: 
 
 I am trying to figure out how to create a kernel for the BBB that 
>> supports 
 PREEMPT_RT. It's kind of strange that the BBB's default kernel does not 
 even have PREEMPT activated. Such a board doesn't fit to many embedded 
 applications where we need at least some kind of determinism. It is 
>> even 
 worse, that nobody seems to care about this problem. Contrary to that, 
>> the 
 Raspberry PI's standard kernel has PREEMPT activacted from the very 
 beginning. 
 
 I have tested Robert Nelsons kernel 3.8.13-r9 ( 
 https://github.com/beagleboard/kernel/tree/3.8-rt). It does not have 
 PREEMPT_RT activated by default. When doing so, it does not boot. But 
 activating PREEMPT does work. However, development of this branch has 
 stopped several months ago. The official source for RT Linux (3.8.13) 
>> has 
 evolved since then. Meanwhile there's an rt17 patch set ( 
 https://www.kernel.org/pub/linux/kernel/projects/rt/3.8/). Did anybody 
 give this a try? Does it work with the BBB? 
 
 
 
>>> 
>> 
>> 
>> -- 
>> Charles Steinkuehler 
>> cha...@steinkuehler.net  
>> 
> 


-- 
Charles Steinkuehler 
cha...@steinkuehler.net 

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

在此邮件中未发现病毒。
检查工具:AVG - www

[beagleboard] Re: Linux 3.13.5 hansg at "Starting kernel ..."

2014-03-03 Thread rdbirt
Hi Robert,

Same thing at 0x8030:

Booting with DT from mmc0 ...
Kernel image @ 0x8030 [ 0x00 - 0x291478 ]
## Flattened Device Tree blob at 80f8
   Booting using the fdt blob at 0x80f8
   Using Device Tree in place at 80f8, end 80f86d35

Starting kernel ...

Has the serial port changed maybe?  I added bootargs 
"console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait" to 
the FDT.

Regards,
Ralph

On Monday, March 3, 2014 1:31:29 PM UTC-8, rdbirt wrote:
>
> HiAll,
>
> I have built kernel version 3.13.5 for the Beagleboard-xM.  At boot it 
> hangs at "Starting kernel ..." (see capture below).  Has any one had 
> success with 3.13?
>
> Regards,
> Ralph
>
>
> U-Boot SPL  (Feb 28 2014 - 11:58:43)
> reading u-boot.img
> reading u-boot.img
>
>
> U-Boot 2014.04-rc1-00190-geeb72e6 (Feb 28 2014 - 11:59:40)
>
> OMAP36XX/37XX-GP ES1.2, CPU-OPP2, L3-200MHz, Max CPU Clock 1 Ghz
> OMAP3 Beagle board + LPDDR/NAND
> I2C:   ready
> DRAM:  512 MiB
> NAND:  0 MiB
> MMC:   OMAP SD/MMC: 0
> *** Warning - readenv() failed, using default environment
>
> In:serial
> Out:   serial
> Err:   serial
> Beagle xM Rev C
> Timed out in wait_for_event: status=
> Check if pads/pull-ups of bus 1 are properly configured
> No EEPROM on expansion board
> Die ID #023200029ff8016849a90301801c
> Net:   usb_ether
> Hit any key to stop autoboot:  0 
> mmc0 is current device
> gpio: pin 173 (gpio 173) value is 0
> gpio: pin 4 (gpio 4) value is 0
> SD/MMC found on device 0
> reading uEnv.txt
> 106 bytes read in 3 ms (34.2 KiB/s)
> Loaded environment from uEnv.txt
> Importing environment from mmc ...
> ** File not found /boot/uImage **
> Booting from nand ...
>
> no devices available
> Wrong Image Format for bootm command
> ERROR: can't get kernel image!
> 2692216 bytes read in 212 ms (12.1 MiB/s)
> 15670 bytes read in 45 ms (339.8 KiB/s)
> Booting with DT from mmc0 ...
> Kernel image @ 0x8020 [ 0x00 - 0x291478 ]
> ## Flattened Device Tree blob at 80f8
>Booting using the fdt blob at 0x80f8
>Using Device Tree in place at 80f8, end 80f86d35
>
> Starting kernel ...
>
>
>

-- 
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] Linux 3.13.5 hansg at "Starting kernel ..."

2014-03-03 Thread Robert Nelson
On Mon, Mar 3, 2014 at 7:52 PM, Robert Nelson  wrote:
> On Mon, Mar 3, 2014 at 7:42 PM, rdbirt  wrote:
>> Yes, u-boot looks for uImage at first.  When it doesn't find it it looks for
>> zImage.  You can see from the log that it's read the kernel and the FDT:
>
> okay
>
>> 2692216 bytes read in 212 ms (12.1 MiB/s)
>> 15670 bytes read in 45 ms (339.8 KiB/s)
>> Booting with DT from mmc0 ...
>> Kernel image @ 0x8020 [ 0x00 - 0x291478 ]
>

Shove the load image address to 0x8030

(missed a zero there..)

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] Linux 3.13.5 hansg at "Starting kernel ..."

2014-03-03 Thread Robert Nelson
On Mon, Mar 3, 2014 at 7:42 PM, rdbirt  wrote:
> Yes, u-boot looks for uImage at first.  When it doesn't find it it looks for
> zImage.  You can see from the log that it's read the kernel and the FDT:

okay

> 2692216 bytes read in 212 ms (12.1 MiB/s)
> 15670 bytes read in 45 ms (339.8 KiB/s)
> Booting with DT from mmc0 ...
> Kernel image @ 0x8020 [ 0x00 - 0x291478 ]

Shove the load image address to 0x803

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] Linux 3.13.5 hansg at "Starting kernel ..."

2014-03-03 Thread rdbirt
Yes, u-boot looks for uImage at first.  When it doesn't find it it looks 
for zImage.  You can see from the log that it's read the kernel and the FDT:

2692216 bytes read in 212 ms (12.1 MiB/s)
15670 bytes read in 45 ms (339.8 KiB/s)
Booting with DT from mmc0 ...
Kernel image @ 0x8020 [ 0x00 - 0x291478 ]

Regards,
Ralph

On Monday, March 3, 2014 5:19:59 PM UTC-8, RobertCNelson wrote:
>
> On Mon, Mar 3, 2014 at 3:31 PM, rdbirt > 
> wrote: 
> > HiAll, 
> > 
> > I have built kernel version 3.13.5 for the Beagleboard-xM.  At boot it 
> hangs 
> > at "Starting kernel ..." (see capture below).  Has any one had success 
> with 
> > 3.13? 
> > 
> > Regards, 
> > Ralph 
> > 
> > 
> > U-Boot SPL  (Feb 28 2014 - 11:58:43) 
> > reading u-boot.img 
> > reading u-boot.img 
> > 
> > 
> > U-Boot 2014.04-rc1-00190-geeb72e6 (Feb 28 2014 - 11:59:40) 
> > 
> > OMAP36XX/37XX-GP ES1.2, CPU-OPP2, L3-200MHz, Max CPU Clock 1 Ghz 
> > OMAP3 Beagle board + LPDDR/NAND 
> > I2C:   ready 
> > DRAM:  512 MiB 
> > NAND:  0 MiB 
> > MMC:   OMAP SD/MMC: 0 
> > *** Warning - readenv() failed, using default environment 
> > 
> > In:serial 
> > Out:   serial 
> > Err:   serial 
> > Beagle xM Rev C 
> > Timed out in wait_for_event: status= 
> > Check if pads/pull-ups of bus 1 are properly configured 
> > No EEPROM on expansion board 
> > Die ID #023200029ff8016849a90301801c 
> > Net:   usb_ether 
> > Hit any key to stop autoboot:  0 
> > mmc0 is current device 
> > gpio: pin 173 (gpio 173) value is 0 
> > gpio: pin 4 (gpio 4) value is 0 
> > SD/MMC found on device 0 
> > reading uEnv.txt 
> > 106 bytes read in 3 ms (34.2 KiB/s) 
> > Loaded environment from uEnv.txt 
> > Importing environment from mmc ... 
> > ** File not found /boot/uImage ** 
> > Booting from nand ... 
> > 
> > no devices available 
> > Wrong Image Format for bootm command 
> > ERROR: can't get kernel image! 
>
> mainline u-boot is looking for "uImage" at /boot/. 
>
> so fix that.. 
>
> Or use the patches posted here: 
>
> http://eewiki.net/display/linuxonarm/BeagleBoard 
>
> 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] Re: joydev in Ubuntu kernel 3.8.x

2014-03-03 Thread Andrew Dai
3.8.13-bone28


On Sun, Mar 2, 2014 at 10:36 AM, Biriuk Ivan  wrote:

> I have the same system Ubuntu 13.04 and ROS Hydro too :)
> I tried connect PS3 joystick used xboxdrv. But it doesn't worked, although
> it should be as in manual .
> Which kernel version do you have? uname -r
> Could you show me this file /proc/config.gz? I just want to confirm it.
>
> воскресенье, 2 марта 2014 г., 7:20:06 UTC+4 пользователь Andrew Dai
> написал:
>
>> I don't know if this will help but I got my xbox 360 wired controller to
>> work with the BBB (and even ROS Hydro) running Ubuntu 13.04
>> http://andrewdai.co/xbox-controller-ros.html
>>
>> What OS version are you on?
>>
>> On Saturday, March 1, 2014 1:58:01 AM UTC-5, Biriuk Ivan wrote:
>>>
>>> Hi, everyone! I try connect PS3 joystick to BBB. Automatically it
>>> doesn't work. joydev module built-in kernel. I try manual connect
>>> http://ubuntuforums.org/showthread.php?t=338457 , but failed. How I can
>>> connect usb joystick to BBB?
>>>
>>  --
> 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/pZBUW3sE0c4/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/groups/opt_out.
>



-- 
Best Wishes,
Andrew

-- 
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] Linux 3.13.5 hansg at "Starting kernel ..."

2014-03-03 Thread Robert Nelson
On Mon, Mar 3, 2014 at 3:31 PM, rdbirt  wrote:
> HiAll,
>
> I have built kernel version 3.13.5 for the Beagleboard-xM.  At boot it hangs
> at "Starting kernel ..." (see capture below).  Has any one had success with
> 3.13?
>
> Regards,
> Ralph
>
>
> U-Boot SPL  (Feb 28 2014 - 11:58:43)
> reading u-boot.img
> reading u-boot.img
>
>
> U-Boot 2014.04-rc1-00190-geeb72e6 (Feb 28 2014 - 11:59:40)
>
> OMAP36XX/37XX-GP ES1.2, CPU-OPP2, L3-200MHz, Max CPU Clock 1 Ghz
> OMAP3 Beagle board + LPDDR/NAND
> I2C:   ready
> DRAM:  512 MiB
> NAND:  0 MiB
> MMC:   OMAP SD/MMC: 0
> *** Warning - readenv() failed, using default environment
>
> In:serial
> Out:   serial
> Err:   serial
> Beagle xM Rev C
> Timed out in wait_for_event: status=
> Check if pads/pull-ups of bus 1 are properly configured
> No EEPROM on expansion board
> Die ID #023200029ff8016849a90301801c
> Net:   usb_ether
> Hit any key to stop autoboot:  0
> mmc0 is current device
> gpio: pin 173 (gpio 173) value is 0
> gpio: pin 4 (gpio 4) value is 0
> SD/MMC found on device 0
> reading uEnv.txt
> 106 bytes read in 3 ms (34.2 KiB/s)
> Loaded environment from uEnv.txt
> Importing environment from mmc ...
> ** File not found /boot/uImage **
> Booting from nand ...
>
> no devices available
> Wrong Image Format for bootm command
> ERROR: can't get kernel image!

mainline u-boot is looking for "uImage" at /boot/.

so fix that..

Or use the patches posted here:

http://eewiki.net/display/linuxonarm/BeagleBoard

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.


[beagleboard] Connecting BBB UART to another UART device

2014-03-03 Thread Ramon Mendes
I want to connect this 
device(a RFID reader 
module) to my BBB, that is, I simply want them to talk (as 
if it was so easy, ).
This RFID module has the following electrical interfaces:

UART with 3.3/5V logic levels 
from 9600 to 921,600 bps; USB 
2.0 full speed device port (up to
12 Mbps)


I already tried connecting it through USB but 'lsusb' and 'dmesg' shows 
nothing. So now I wanna try to connect it to my BBB trough UART (no USB is 
involved here).
That is, my plan is simply use 3 wires (GND, RX, TX) to connect one device 
to another since I think both UART interfaces are compatible, right? Or am 
I missing to verify something to ensure they are compatible (both are TTL)?

My question is, what is the simplest way to physically connect this device 
to BBB's UART?
I want to know if would it be possible to use the serial debug header? That 
is, is this header a UART port?
Or I must configure and use some of the P8/P9 pins?

-- 
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] Linux 3.13.5 hansg at "Starting kernel ..."

2014-03-03 Thread rdbirt
HiAll,

I have built kernel version 3.13.5 for the Beagleboard-xM.  At boot it 
hangs at "Starting kernel ..." (see capture below).  Has any one had 
success with 3.13?

Regards,
Ralph


U-Boot SPL  (Feb 28 2014 - 11:58:43)
reading u-boot.img
reading u-boot.img


U-Boot 2014.04-rc1-00190-geeb72e6 (Feb 28 2014 - 11:59:40)

OMAP36XX/37XX-GP ES1.2, CPU-OPP2, L3-200MHz, Max CPU Clock 1 Ghz
OMAP3 Beagle board + LPDDR/NAND
I2C:   ready
DRAM:  512 MiB
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0
*** Warning - readenv() failed, using default environment

In:serial
Out:   serial
Err:   serial
Beagle xM Rev C
Timed out in wait_for_event: status=
Check if pads/pull-ups of bus 1 are properly configured
No EEPROM on expansion board
Die ID #023200029ff8016849a90301801c
Net:   usb_ether
Hit any key to stop autoboot:  0 
mmc0 is current device
gpio: pin 173 (gpio 173) value is 0
gpio: pin 4 (gpio 4) value is 0
SD/MMC found on device 0
reading uEnv.txt
106 bytes read in 3 ms (34.2 KiB/s)
Loaded environment from uEnv.txt
Importing environment from mmc ...
** File not found /boot/uImage **
Booting from nand ...

no devices available
Wrong Image Format for bootm command
ERROR: can't get kernel image!
2692216 bytes read in 212 ms (12.1 MiB/s)
15670 bytes read in 45 ms (339.8 KiB/s)
Booting with DT from mmc0 ...
Kernel image @ 0x8020 [ 0x00 - 0x291478 ]
## Flattened Device Tree blob at 80f8
   Booting using the fdt blob at 0x80f8
   Using Device Tree in place at 80f8, end 80f86d35

Starting kernel ...


-- 
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] Directly accessing ARM registers from C/C++

2014-03-03 Thread depaola
I've got a BeagleBone Black running Angstrom, and I want to directly access 
the ARM335 registers from my C/C++ programs.  A trivial example would be to 
"read" the Device_ID at memory location 0x44E10600.  To do this I tried: 

#include 
using namespace std;

unsigned long int *p;
unsigned long int DevID = 0x44E10600;

p1 = DevID;  // <= this gives a compiler error: "invalid conversion from 
'long unsigned int' to 'long unsigned int*'
cout << *p1 << endl;  // <= if I "cheat" around the compiler error, I get a 
Segmentation fault from this statement

// etc

Note 1: just the p1 = DevI statement causes a fatal compiler error (as 
indicated in the comment.  
Note 2: I can get around this by using the -fpermissive compiler option, 
but then the cout statement (or any other way of extracting the contents of 
that memory location) gives me the segmentation fault.

I *think* this is a permissions thing -- which means I ought to be able to 
fix it with some command.  Is this correct?  In any case, can someone tell 
me how to read/write to a particular memory location using c/c++?  Much 
obliged!

BDD

-- 
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] Re: PWM on more than 4 pins?

2014-03-03 Thread ghostman414004
Firstly, the working pins tend to change randomly... Cos P8_13 works for 
me. Secondly yeah, I do get a set of 4 working PWMs but I need more than 
that, I need 5 pwm. I am trying to work with the Adafruit library but that 
gives me this error when I try it on some of them. Even the pyBBIO library 
doesn't support pwm outputs with the 3.8 kernel.

At this point I think that a stable version of the 3.2 Angstrom 
distribution will fit my needs as it is much easier to set the pin muxes. 
Does anyone know where to get them?

On Monday, March 3, 2014 9:16:27 AM UTC-6, Andrew Dai wrote:
>
> Woops sorry, my mistake.
> I have PWM on P9_14 and P9_22
>
>
> On Mon, Mar 3, 2014 at 10:14 AM, Andrew Dai 
> > wrote:
>
>> Which pins are you using?
>> P9_14
>> P9_22
>> P8_12
>> and P8_14 work just fine for me
>>
>> On Sunday, March 2, 2014 2:24:31 PM UTC-5, ghostma...@gmail.com wrote:
>>>
>>> very time I try to use certain PWM pins on the BeagleBone Black I get 
>>> this error for most of the pins (from the ones shown in yellow here: 
>>> http://beagleboard.org/static/images/cape-headers-pwm.png)
>>> I am using Ubuntu on my BeagleBone Black.
>>> "RuntimeError: You must start() the PWM channel first"
>>>
>>> Any reason why? What's the max number of same-frequency PWM channels I 
>>> can have ongoing at any one time?
>>>
>>  -- 
>> 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/xYHHfaWXZrU/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> beagleboard...@googlegroups.com .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> -- 
> Best Wishes,
> Andrew
>  

-- 
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] ioremap issue

2014-03-03 Thread jxuly
Environment: BeagleBone White + Ubuntu 3.2

Build a kernel driver which try to access omap registers directly. Insmod 
continually report "omap_ioremap" and "omap_iounmap" undefined. Checked the 
symbol list, they are not there. Is it because 3.2 kernel doesn't support 
I/O access from kernel space, or there is any configuration needs to be 
check when build kernel.

Thanks a lot

-- 
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] Which pins are the best for my application

2014-03-03 Thread Hoefkens
Got it! Thank you

Kalle

-- 
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] Re: 4dcape-70t lcd and jitter issues

2014-03-03 Thread daniel . renne
Alex, it appears your files are working.  I can't thank you enough for the 
patch.  I simply replaced all the files by mounting a previous SD card 
image and copying all the files to the appropriate locations.  Your code 
fixes the issue.  Again thanks thanks thanks.

Dan

On Sunday, March 2, 2014 12:27:53 PM UTC-5, daniel...@gmail.com wrote:
>
> Any chance you could upload a full image file of debian with your fix to a 
> site like drop box or something?  One that I could use Win32DiskImager to 
> burn to a 4 gig micro sd card?
>
> I would really appreciate it.  
>
> Thanks.
>
> Dan
>
> On Friday, February 28, 2014 11:44:19 AM UTC-5, Alex Gal wrote:
>>
>> Hi Daniel, 
>>
>> > Alex, can you help me, I have the exact same issue.  Could you upload 
>> your 
>> > image that fixes the issue with the 5 micro seconds delay.  Are you 
>> running 
>> > debian or Ubuntu?  I am not an expert on rebuilding the kernel to 
>> change the 
>> > ti_am335x_tsc.c. 
>>
>> I use debian and angstrom. 
>>
>> I modified RCN's kernel with a 15 microsecond hack. 
>>
>> I'll email you directly the contents of deploy: 
>>
>> 3.8.13-bone40.1-dtbs.tar.gz 
>> 3.8.13-bone40.1-modules.tar.gz 
>> config-3.8.13-bone40.1 
>> 3.8.13-bone40.1-firmware.tar.gz 
>> 3.8.13-bone40.1.zImage 
>>
>> Cheers, 
>>
>> Alex 
>>
>

-- 
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] Re: beagle-xm rev C with 3.12 kernel + fdt

2014-03-03 Thread rdbirt
Hi All,

I'm trying to build 3.13.5 with FDT.  On boot it hangs at "Starting kernel 
..." (see capture below).  Robert Nelson's reply seems to indicate he has 
some code on GitHib but there's just a License and a Readme file.  I can't 
get anything to work since 3.10.  Is Beagleboard still supported?

Regards,
Ralph

U-Boot SPL  (Feb 28 2014 - 11:58:43)
reading u-boot.img
reading u-boot.img


U-Boot 2014.04-rc1-00190-geeb72e6 (Feb 28 2014 - 11:59:40)

OMAP36XX/37XX-GP ES1.2, CPU-OPP2, L3-200MHz, Max CPU Clock 1 Ghz
OMAP3 Beagle board + LPDDR/NAND
I2C:   ready
DRAM:  512 MiB
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0
*** Warning - readenv() failed, using default environment

In:serial
Out:   serial
Err:   serial
Beagle xM Rev C
Timed out in wait_for_event: status=
Check if pads/pull-ups of bus 1 are properly configured
No EEPROM on expansion board
Die ID #023200029ff8016849a90301801c
Net:   usb_ether
Hit any key to stop autoboot:  0 
mmc0 is current device
gpio: pin 173 (gpio 173) value is 0
gpio: pin 4 (gpio 4) value is 0
SD/MMC found on device 0
reading uEnv.txt
106 bytes read in 3 ms (34.2 KiB/s)
Loaded environment from uEnv.txt
Importing environment from mmc ...
** File not found /boot/uImage **
Booting from nand ...

no devices available
Wrong Image Format for bootm command
ERROR: can't get kernel image!
2692216 bytes read in 212 ms (12.1 MiB/s)
15670 bytes read in 45 ms (339.8 KiB/s)
Booting with DT from mmc0 ...
Kernel image @ 0x8020 [ 0x00 - 0x291478 ]
## Flattened Device Tree blob at 80f8
   Booting using the fdt blob at 0x80f8
   Using Device Tree in place at 80f8, end 80f86d35

Starting kernel ...



On Thursday, December 26, 2013 1:29:12 AM UTC-8, robert.berger wrote:
>
> Hi,
>
> If I remember well Rob Nelson got a 3.12 kernel running on the beagle-xm.
>
> This is what I tried [1].
>
> After applying all the patches the kernel does not build (for beagleboard):
>
>
> |   CC  kernel/irq/manage.o
> |   LD  drivers/base/built-in.o
> |   CC  kernel/power/console.o
> | drivers/base/platform.o: In function `of_free_overlay_info':
> | platform.c:(.text+0x2a4): multiple definition of `of_free_overlay_info'
> | drivers/base/core.o:core.c:(.text+0x66c): first defined here
> | drivers/base/cpu.o: In function `of_free_overlay_info':
> | cpu.c:(.text+0x198): multiple definition of `of_free_overlay_info'
> | drivers/base/core.o:core.c:(.text+0x66c): first defined here
> | make[4]: *** [drivers/base/built-in.o] Error 1
> | make[3]: *** [drivers/base] Error 2
> | make[3]: *** Waiting for unfinished jobs
> |   CC  mm/mremap.o
> |   CC  fs/namespace.o
> |   CC  mm/msync.o
> |   LD  kernel/printk/built-in
>
> So I removed a couple of patches to make it compile.
>
> The next problem I got was that the device tree did not build:
>
> |   DTC arch/arm/boot/dts/omap3-beagle-xm.dtb
> | ERROR (phandle_references): Reference to non-existent node or label 
> "dpll1_ck"
>
> Well there is only one patch, which defines "dpll1_ck" and without it 
> kernel + device tree build. 
>
> I know this is very hacky.  This is the patchset I currently use [2]
>
> Does someone have a 3.12 or 3.13 kernel + patches for the beagle-xm which 
> works with a flat device tree?
>
> Maybe it works with stable and no patches in the meantime?
>
> Regards,
>
> Robert
>
> [1] https://github.com/beagleboard/kernel/tree/3.12
> [2] 
> https://github.com/RobertBerger/meta-mainline/blob/dora-v3.12.x-max/beagle-xm-ml/recipes-kernel/linux/linux-yocto-custom/beagle-xm-ml-user-patches.scc
>
>

-- 
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] java on BBB

2014-03-03 Thread Dennis Cote


On Saturday, March 1, 2014 12:01:55 PM UTC-7, Ggnome wrote:
>
> Were you able to get Java running? I'm trying to access a Java applet on 
> my website 
>
>
There are instructions for installing Java from Oracle on the BB.org 
website at http://www.beagleboard.org/project/java/ 

These instructions should work for Angstrom. If you want use Java with a 
Ubuntu or Debian distribution you will need to download the hard float 
version instead.

HTH
Dennis Cote

-- 
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] Which pins are the best for my application

2014-03-03 Thread Gerald Coley
Processors today use pin muxing. The 2nd and 3rd are not meanings. They are
the available options to be routed to those pins by setting a register in
the processor. As long as you sue a function that is listed, you should
have no problem. In other words, do not use a pin for UART1 that does not
have UART1 as one of the listed options.

 For IN use GPIO. For OUT use GPIO. DO not use the LCD pins because you
said you wanted to support an undefined LCD.

UART1 is fine.

Gerald



On Mon, Mar 3, 2014 at 10:53 AM,  wrote:

> Thanks for the hint with the USB - I had fear that USB and serial input
> are connected somehow. A powered hub is already bought.
>
> So for Serial I'll chose Pin 26 UART1 RXD and Pin 24 UART1_TXD.
>
> The voltage at the IO pins will always be in correct level, because I'll
> use optocouplers to protect the BBB.
>
> But I'm confused, which pins will be the best for me. Nearly all pins have
> a 2nd or 3rd meaning and I'm not experienced enough to identify the ones I
> can use without causing trouble.
>
> Can you just tell me 8 ins and 8 outs?
>
> Thank You
>
> Kalle
>
> --
> 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.
>

-- 
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] Which pins are the best for my application

2014-03-03 Thread Hoefkens
Thanks for the hint with the USB - I had fear that USB and serial input are 
connected somehow. A powered hub is already bought. 

So for Serial I'll chose Pin 26 UART1 RXD and Pin 24 UART1_TXD.

The voltage at the IO pins will always be in correct level, because I'll 
use optocouplers to protect the BBB.

But I'm confused, which pins will be the best for me. Nearly all pins have 
a 2nd or 3rd meaning and I'm not experienced enough to identify the ones I 
can use without causing trouble.

Can you just tell me 8 ins and 8 outs? 

Thank You 

Kalle

-- 
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] Re: Should a 32Gb micro SD card cause any problems? (It seems to)

2014-03-03 Thread cl
Robert Nelson  wrote:
> On Mon, Mar 3, 2014 at 9:28 AM,   wrote:
> > I just tried turning on my BBB after inserting a new (presumably
> > therefore, empty) 32Gb microSD card into it.  It failed to boot, just
> > sat with the power LED and the first 3 LEDs permanently on.
> 
> The original "Angstrom" image does not support this out of the box.
> The factory bootloader assumes the presence of a microSD card is
> enough to boot from it, without any fall back.  Either insert the
> microSD after boot has started, add a dummy uEnv.txt telling it to
> boot from eMMC in the first partition, or just switch to the debian
> based image i've been pushing on this list.
> 
Second reply - I've just removed the microSD card and booted the
default Angstrom Linux.  There is already a uEnv.txt file there which
contains the following text:-

optargs=quiet drm.debug=7

What do I need to do to this to force the system to boot from the eMMC
even if an SD card is plugged in?

-- 
Chris Green
·

-- 
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] GSoC proposal for node-webkit getting started app

2014-03-03 Thread Yurij Mikhalevich
Hello!

My name is Yurij, I'm the last year Russian (I live in Germany till the 
30rd of April because of my internship in Claas) student.

I'm experienced in node.js server application development (also a 
maintainer of several npm.js modules) and I want to work in BeagleBoard 
team on node-webkit based cross-platform getting-started app as a part of 
Google Summer of Code. I'm also experienced in C++ development, which may 
be useful in case of developing node.js low-level platfrom-specific 
modules. I also have some experience in HTML5, CSS3 and client JS (worked 
with jQuery and AngularJS).

Getting started app seems clear for me. I am familiar with cross-compiling, 
I also have an ability to test and develop application on all three 
platforms (Linux, OS X and Windows).

This is my curriculum vitae: 
http://79027.selcdn.ru/stuff/curriculum-gsoc.pdf.

Here is my first attempt to take a part in GSoC. So, I'm happy to hear all 
the tips. Do I have the opportunity to work on this project as part of 
Google Summer of Code and what I should do to achieve this?

-- 
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] Re: Should a 32Gb micro SD card cause any problems? (It seems to)

2014-03-03 Thread cl
Robert Nelson  wrote:
> On Mon, Mar 3, 2014 at 9:28 AM,   wrote:
> > I just tried turning on my BBB after inserting a new (presumably
> > therefore, empty) 32Gb microSD card into it.  It failed to boot, just
> > sat with the power LED and the first 3 LEDs permanently on.
> 
> The original "Angstrom" image does not support this out of the box.
> The factory bootloader assumes the presence of a microSD card is
> enough to boot from it, without any fall back.  Either insert the
> microSD after boot has started, add a dummy uEnv.txt telling it to
> boot from eMMC in the first partition, or just switch to the debian
> based image i've been pushing on this list.
> 
That last is a sort of Catch 22, since I can't boot from the microSD.

I just tried putting Ubuntu 13.10 (your latest version) with your
scripts onto the SD card.  It all appeared to work perfectly from my
xubuntu desktop machine but inserting the microSD card into the BBB
gives the same result.

I'll persevere, I may have done something wrong on the way.

-- 
Chris Green
·

-- 
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] Which pins are the best for my application

2014-03-03 Thread Gerald Coley
USB is via the USB host connector as it does not appear on the expansion
headers. You will need a USB hub as that is the best way to connect the
camera as well.

You don't need level shifting as long as all your voltages are 3.3V.

Serial requires the TX,RX so any of the serial ports on the headers can be
used.

Gerald


On Mon, Mar 3, 2014 at 9:58 AM,  wrote:

> Hi there,
>
> I've chosen the BeagleBone Black to build a horse feeding machine - and
> this is my first attempt on embedded systems.
>
> I'm sitting in front of the reference manual looking at the expansion
> header P8 / P9 pinout to find out, which pins are the best for my
> application.
> I need 8 digital out to drive DC motors via optocopler / mosfet
> I need 8 digital in to get information via optocopler / reed contact
> I need a serial input to get information from a TI-RFID System (TIRIS
> series 2000)
> I need WIFI via USB
> I would like to have the opportunity to connect a LCD touch and a camera
>
> I don't like shifting the IO's, I don't like to use the I2C or CAN bus.
>
> Can somebody help me?
>
> Thanks a lot
>
> Kalle
>
> PS:: If you understand German this is the page where I describe my system:
> http://www.hof-luettgesheide.de/index.php?article_id=263
>
> --
> 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.
>

-- 
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] Which pins are the best for my application

2014-03-03 Thread Hoefkens
Hi there,

I've chosen the BeagleBone Black to build a horse feeding machine - and 
this is my first attempt on embedded systems.

I'm sitting in front of the reference manual looking at the expansion 
header P8 / P9 pinout to find out, which pins are the best for my 
application.
I need 8 digital out to drive DC motors via optocopler / mosfet
I need 8 digital in to get information via optocopler / reed contact
I need a serial input to get information from a TI-RFID System (TIRIS 
series 2000)
I need WIFI via USB
I would like to have the opportunity to connect a LCD touch and a camera

I don't like shifting the IO's, I don't like to use the I2C or CAN bus.

Can somebody help me?

Thanks a lot

Kalle
 
PS:: If you understand German this is the page where I describe my system: 
http://www.hof-luettgesheide.de/index.php?article_id=263

-- 
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] USB SSH

2014-03-03 Thread narrab638
About a month ago I disabled the 192.168.2.7 USB login.  I forgot the file 
I edited to do this.  I am trying to get back to being able to ssh over USB 
again.  Anyone know the file I edited?

-- 
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] Re: Android running on BBB with Linux 3.8

2014-03-03 Thread Suzanne Lenox
Have you tried Adb via TCP/IP ?
That worked for me with Andrew Henderson's pre-built image.

-Suzanne 

Sent from my iPhone

> On Feb 28, 2014, at 7:28 PM, Daniel Delgado Terán  wrote:
> 
> I'm currently having a lot of problems here. If I use Andrew's pre-built 
> image I get support of the LCD3 Rev. A2 with the BBB Rev. A6A but no support 
> to miniUSB+ADB, the device is not even recognized as an actual device when I 
> connect it (not even with a missing driver, it's just a ghost device when 
> connected).
> 
> If I use the TI pre-build image is just the opposite. I get support to ADB 
> but I can't see anything on the LCD3 Rev. A2 screen. I have Linux only on a 
> Virtual Machine so compiling an new image is a bit difficult here. I tried 
> adding some parameters to uEnv.txt but nothing worked. Not to mention the 
> FTDI cable that is not showing anything, and became useless since I booted 
> Android.
> 
> I also have a big question: OTG support is gone with this pre-built images? I 
> can't read any memory stick or to use a USB Bixolon printer. It's possible to 
> connect a USB fingerprint reader, Smart Card reader, RFID Card reader or 
> Camera as input? Another thing how about configuring the GPIO of the BBB to 
> use a keypad?
> 
> Thanks in advance.
> -- 
> 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/Yc8CdtU5MEs/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/groups/opt_out.

-- 
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] Should a 32Gb micro SD card cause any problems? (It seems to)

2014-03-03 Thread Robert Nelson
On Mon, Mar 3, 2014 at 9:28 AM,   wrote:
> I just tried turning on my BBB after inserting a new (presumably
> therefore, empty) 32Gb microSD card into it.  It failed to boot, just
> sat with the power LED and the first 3 LEDs permanently on.

The original "Angstrom" image does not support this out of the box.
The factory bootloader assumes the presence of a microSD card is
enough to boot from it, without any fall back.  Either insert the
microSD after boot has started, add a dummy uEnv.txt telling it to
boot from eMMC in the first partition, or just switch to the debian
based image i've been pushing on this list.

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.


[beagleboard] Should a 32Gb micro SD card cause any problems? (It seems to)

2014-03-03 Thread cl
I just tried turning on my BBB after inserting a new (presumably
therefore, empty) 32Gb microSD card into it.  It failed to boot, just
sat with the power LED and the first 3 LEDs permanently on.

Taking the microSD card out makes everything return to normal, BBB
boots and I can see it on my LAN.

So should BBB support 32Gb cards and/or do I have a faulty card and/or
do I have to do something to the card to make the BBB like it?

-- 
Chris Green
·

-- 
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] Re: PWM on more than 4 pins?

2014-03-03 Thread Andrew Dai
Woops sorry, my mistake.
I have PWM on P9_14 and P9_22


On Mon, Mar 3, 2014 at 10:14 AM, Andrew Dai  wrote:

> Which pins are you using?
> P9_14
> P9_22
> P8_12
> and P8_14 work just fine for me
>
> On Sunday, March 2, 2014 2:24:31 PM UTC-5, ghostma...@gmail.com wrote:
>>
>> very time I try to use certain PWM pins on the BeagleBone Black I get
>> this error for most of the pins (from the ones shown in yellow here:
>> http://beagleboard.org/static/images/cape-headers-pwm.png)
>> I am using Ubuntu on my BeagleBone Black.
>> "RuntimeError: You must start() the PWM channel first"
>>
>> Any reason why? What's the max number of same-frequency PWM channels I
>> can have ongoing at any one time?
>>
>  --
> 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/xYHHfaWXZrU/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/groups/opt_out.
>



-- 
Best Wishes,
Andrew

-- 
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] Re: PWM on more than 4 pins?

2014-03-03 Thread Andrew Dai
Which pins are you using?
P9_14
P9_22
P8_12
and P8_14 work just fine for me

On Sunday, March 2, 2014 2:24:31 PM UTC-5, ghostma...@gmail.com wrote:
>
> very time I try to use certain PWM pins on the BeagleBone Black I get this 
> error for most of the pins (from the ones shown in yellow here: 
> http://beagleboard.org/static/images/cape-headers-pwm.png)
> I am using Ubuntu on my BeagleBone Black.
> "RuntimeError: You must start() the PWM channel first"
>
> Any reason why? What's the max number of same-frequency PWM channels I can 
> have ongoing at any one time?
>

-- 
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] Re: Cross Compile Qt on BBB issue

2014-03-03 Thread brian larochelle
Make sure you're using the same toolchain for tslibs that was used for the 
kernel/rootfs.   all the RCN stuff uses hard float point toolchain.
https://launchpad.net/linaro-toolchain-binaries/trunk/2013.10/+download/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux.tar.xz

I had this problem when I first switched from Angstrom to RCN kernel and 
debian rootfs.  I just continued to use the old toolchain from Angstrom 
without giving it much thought.  




On Saturday, March 1, 2014 11:47:49 AM UTC-5, Franck freedev wrote:
>
> Well I compiled tslib.; but I still have some issue..
>
> I set the environment variable like this:
>
> *export TSLIB_FBDEVICE=/dev/fb0*
>
> *export TSLIB_CONFFILE=/etc/ts.conf*
>
> *export TSLIB_PLUGINDIR=/usr/local/lib/ts*
>
> *export TSLIB_TSDEVICE=/dev/input/event1*
>
>  
>
> I tried also this :
>
> export TSLIB_TSDEVICE=/dev/input/mouse0 (and all others input devices. 
> )
>
>  
>
> event1 and mouse0 are the two files that output something when I do :
>
> *cat /dev/input/event1*  or *cat /dev/input/mouse0* and I touch the 
> screen.
>
>  
>
> but even if I configure the environment variable like above, I've got this 
> message when I execute ts_calibrate:
>
> *No raw module loaded.*
>
> *ts_config: No such file or directory*
>
>
> have you got an idea? ( in /etc/ts.conf,  the line  *module_raw input *(linux 
> input layer event interface) is not commented..)
>
>
> Le lundi 17 février 2014 14:41:16 UTC+1, Franck freedev a écrit :
>>
>>
>> Hello,
>>
>> I'm trying to cross compile Qt SDK for BBB (with Ubuntu or Debian).
>>
>> I managed to compile it well with -*embedded arm* option  ...
>>
>> But with this option I have to execute my programs with -qws option.. And 
>> I have some issues with the mouse pointer, it doesn't clic where I want and 
>> it move my application windows .. I guess it's because I use a touch screen 
>> and the calibration needs X11 maybe...?? 
>>
>> So I would like to cross compile Qt without the *-embedded arm *option 
>> to support and use X11 .. but I need X11 libs for ARM to do this.. so I 
>> tried a chroot on a minimal arm file system ubuntu on my PC desktop and 
>> link to this librairy in the qmake.conf  and made this:
>>
>>
>> ./configure -opensource -confirm-license -prefix 
>>> /usr/local/Qt-4.8.5-arm-X11 -xplatform linux-arm-gnueabi-g++
>>>
>>
>> But it doesn't work..
>>
>> I've got this error message:
>>
>>  
>>
>> Basic XLib functionality test failed!  
>>>
>> You might need to modify the include and library search paths by editing 
>>>
>>  QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in 
>> /home/franck/qt-everywhere-opensource-src-4.8.5/mkspecs/linux-arm-gnueabi-g++.
>>  
>>>
>>>
>>
>>  
>>
>> and here is my qmake.conf:
>>
>> 
>>> franck@VB:~/qt-everywhere-opensource-src-4.8.5/mkspecs/linux-arm-gnueabi-g++$
>>>  
>>> cat qmake.conf   
>>> #  
>>> # qmake configuration for building with arm-linux-gnueabi-g++  
>>> #  
>>>   
>>> MAKEFILE_GENERATOR  = UNIX  
>>> TARGET_PLATFORM = unix  
>>> TEMPLATE= app  
>>> CONFIG  += qt warn_on release incremental link_prl 
>>> gdb_dwarf_index  
>>> QT  += core gui  
>>> QMAKE_INCREMENTAL_STYLE = sublib  
>>>   
>>> include(../common/linux.conf)  
>>> include(../common/gcc-base-unix.conf)  
>>> include(../common/g++-unix.conf)  
>>>   
>>> QMAKE_INCDIR_X11   
>>> +=/home/franck/chroot-armhf/fs/usr/include/X11/  
>>> QMAKE_LIBDIR _X11  
>>> +=/home/franck/chroot-armhf/fs/usr/lib/arm-linux-gnueabihf/  
>>>   
>>> # modifications to g++.conf  
>>> QMAKE_CC= 
>>> /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-gcc
>>>   
>>>
>>> QMAKE_CXX   = 
>>> /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-g++
>>>   
>>>
>>> QMAKE_LINK  = 
>>> /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-g++
>>>   
>>>
>>> QMAKE_LINK_SHLIB= 
>>> /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-g++
>>>   
>>>
>>>   
>>> # modifications to linux.conf  
>>> QMAKE_AR= 
>>> /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-ar
>>>  
>>> cqs  
>>> QMAKE_OBJCOPY   = 
>>> /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-objcopy
>>>   
>>>
>>> QMAKE_STRIP = 
>>> /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-strip
>>>   
>>>
>>>   
>>> load(qt_config)  
>>>
>>
>>
>>
>> So I decided to compile Qt SDK directly in the arm file system "chrooted":
>>
>> I made 
>>
>> ./configure -opensource -confirm-license -prefix 
>>> /usr/local/Qt-4.8.5-arm-X11 -no-qt3support -nomake demos -nomake examples
>>>
>>
>> Now I've got this erro

Re: [beagleboard] Beaglebone black is not booting..........

2014-03-03 Thread Gerald Coley
http://www.elinux.org/Beagleboard:Updating_The_Software

Gerald



On Mon, Mar 3, 2014 at 5:08 AM, Vikas Gaikwad  wrote:

> Hi friends,
>
> This is Vikas here I am facing problem with my beaglebone black  its
> not booting  but all the three USER LEDs 1,2 and 3 are contineously ON when
> i connect it to my laptop.
> plz help me to make working my BBB. and in case if lossed my data from
> angstrom how do i get it recovered from BBB.
>
>
> Thanks
> Vikas
>
> --
> 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.
>

-- 
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] Connecting a CCIR Camera to the BBB

2014-03-03 Thread Gerald Coley
The B*B*B has no camera port for this camera.

Gerald



On Mon, Mar 3, 2014 at 3:13 AM,  wrote:

> Hello Community,
>
> I'd like to connect this 
> Camerato
>  the BBB. I'm a bit confused to which pin I can connect the camera
> output? I've one video signal comming out of the camera. Can someone tell,
> where to plug it in or does someone have a link to some sort of tutorial or
> an answere?
> *No*, there is no option to buy a camera cape.
>
> Is there someone who knows how to get this camera date into openCV and
> open a live stream?
>
> --
> 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.
>

-- 
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] Beaglebone black is not booting..........

2014-03-03 Thread Vikas Gaikwad
Hi friends, 

This is Vikas here I am facing problem with my beaglebone black  its 
not booting  but all the three USER LEDs 1,2 and 3 are contineously ON when 
i connect it to my laptop.
plz help me to make working my BBB. and in case if lossed my data from 
angstrom how do i get it recovered from BBB.


Thanks
Vikas

-- 
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] Connecting a CCIR Camera to the BBB

2014-03-03 Thread ph1novotny
Hello Community,

I'd like to connect this 
Camerato
 the BBB. I'm a bit confused to which pin I can connect the camera 
output? I've one video signal comming out of the camera. Can someone tell, 
where to plug it in or does someone have a link to some sort of tutorial or 
an answere?
*No*, there is no option to buy a camera cape.

Is there someone who knows how to get this camera date into openCV and open 
a live stream?

-- 
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] Re: PWM on more than 4 pins?

2014-03-03 Thread ghostman414004
just to add on to it, even with Angstrom, I can't seem to get more than 4 
outputs for PWM. I only need 5..

On Sunday, March 2, 2014 1:24:31 PM UTC-6, ghostma...@gmail.com wrote:
>
> very time I try to use certain PWM pins on the BeagleBone Black I get this 
> error for most of the pins (from the ones shown in yellow here: 
> http://beagleboard.org/static/images/cape-headers-pwm.png)
> I am using Ubuntu on my BeagleBone Black.
> "RuntimeError: You must start() the PWM channel first"
>
> Any reason why? What's the max number of same-frequency PWM channels I can 
> have ongoing at any one time?
>

-- 
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] Re: Connecting a USB printer to BBB

2014-03-03 Thread chins . kap

>
> hello ido gendel 


r u enable printer with beaglebone succesfully...?

if u eneble then help to how to do this ...wich printer is easily u support 
withh bbb? 
I use linux ubuntu 13.10 on bbb. 

thanks 
Chintan k.

-- 
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] How to control Power, Buttons, LEDs, etc. of a 4D Systems 4DCAPE-70T?

2014-03-03 Thread stefan . carle
Dear all,

I'm running a 4DCAPE-70T on my BeagleBone Black with Debian Linux (as 
recommended from 4D Systems based on the following package: 
http://rcn-ee.net/deb/testing/2014-02-18/).

It's all fine in general, but I have some questions which 4D Systems won't 
answer to me (as argumented that those are SW-questions and no HW-support):


1)
I found out, that I can turn on / off the Backlight of the Display by i.a. 
using 
echo 1 > /sys/class/backlight/backlight.11/bl_power

Is there a real "Display off" mode, which can be controlled by software 
(Bonescript / javascript or Shell)?


2)
How can I prevent the display to "sleep"? It always goes into some kind of 
sleep modus, if there is no interaction with the display. So, it "sleeps", 
when my script turns the backlight on and hence you have e.g. to touch it. 
In my concrete scenario, I would like to stop this sleep mode.


3)
Is there any chance to use e.g. the "Power"-Button for a concrete Script? I 
do not need this button, but it would be great, if it could call a script 
which turns on the Display (or it's backlight).


4)
Is there any chance to control the LEDs by Software? I do not need e.g. a 
Power LED, but I would like to have an "alert LED", which is controlled by 
my software.


Kind regards,
Stefan

-- 
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] DVI on original BB Rev. C3

2014-03-03 Thread Robert Kuhn

Hi Robert, 

Oh, I just need to remember to dig out one of my old C4's and bring it to 
> work.
>

Did you found time for doing this?

Robert 

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