[beagleboard] Boot options (Terminal or GUI)

2019-02-24 Thread vandepolljw
Hi All

Have only owned and played with the BBB for one week.
The uSD has been configured with 
bone-debian-8-11-lxqt-4gb-armhf-2019-01-07-4gb.img
The on board eMMC has been wiped completely.(interferes with Libpruio)
Installed the development environment on the uSD and can compile and run 
the applications.

The GUI takes 80 secs to boot up, but once I run my application, there is 
no discernible speed  problems
compared to my other installations that use a Fitlet.

I would like to setup a boot sequence that boots into Terminal unless a key 
is pressed and then it should boot into the GUI.
The terminal would then auto execute my application.

So all the browsing I have done has led me nowhere concrete, but to be fair 
my Linux terminal command experience is limited.

Would appreciate any constructive suggestions towards this goal.

Regards

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/cd800e7d-fb48-4b66-911f-7b23cc247ea8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Flashing a BBB with debian

2019-02-24 Thread graham
Run it from the plug in card?
Plug in the size you need.
Expand the installed image to make the whole card available to you.
--- Graham

==

On Saturday, February 23, 2019 at 2:22:13 PM UTC-6, aa...@cnccraft.co.uk 
wrote:
>
> Yes you were right. I now finally have a debian jessie system on my device 
> (crumbs that was difficult), but I would like a gui.  I have tried to 
> install ldxe core, but it tells me I don't have room.  Is there a 
> solution\/ I would like a a graphical interface.
> Thanks for all your replies
>
> On Friday, 22 February 2019 14:54:37 UTC, RobertCNelson wrote:
>>
>> On Fri, Feb 22, 2019 at 3:32 AM  wrote: 
>> > 
>> > 
>> > 
>> > On Thursday, 21 February 2019 21:42:53 UTC, RobertCNelson wrote: 
>> >> 
>> >> On Thu, Feb 21, 2019 at 3:38 PM  wrote: 
>> >> > 
>> >> > I am finding it impossible to flash an old BBB with debian.  I 
>> download images from the beagle website copy it to a disk with Etcher, edit 
>> the the uEnv.txt file with  'sudo nano '/media/aaron/rootfs/boot/uEnv.txt' 
>> press the little power button and plug in a power lead, but I get no 
>> flashing lightsnothing. 
>> >> > I have sucessfuly flashed and used Angstrom, but it seems a bit 
>> limited. 
>> >> > Also, I am trying to use syncloud but with absolutely no success. 
>> >> > Can somebody pleas tell me where I am going wrong 
>> >> 
>> >> Since you flashed an old version of Angstrom, you better follow the 
>> > 
>> > 
>> > 
>> > 
>> > I have tried that many many times and I get no lights flashing at all. 
>> If I power up without pressing the boot button I get 3 blue led's on 
>> constant... no flashing 
>> >> 
>> >> offical directions: 
>> >> 
>> >> 1: Using your thumb nail, push and hold the boot button down. 
>> >> 2: Plug in 5Volt DC jack 
>> >> 3: Wait till 4 led's turn on 
>> >> 4: Lift thumb nail.. 
>>
>> Okay, if the above 4 step procedure doesn't work, sadly that leaves a 
>> couple options. 
>>
>> You actually didn't follow that procedure 
>> The image is corrupt. 
>>
>> So try it again after reflashing the microSD. 
>>
>> If it still doesn't work, grab a serial cable: 
>>
>> https://elinux.org/Beagleboard:BeagleBone_Black_Serial 
>>
>> and get me the serial boot log for debugging.. 
>>
>> Regards, 
>>
>> -- 
>> Robert Nelson 
>> https://rcn-ee.com/ 
>>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/d650656d-4c72-4434-ac43-5b36205687d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] SPI input is always 0 with BeagleBoneBlack Anstrom images

2019-02-24 Thread 'Bruce Snyder' via BeagleBoard
 OK sorry I thought you were referring to config pin on I2C.

On Sunday, February 24, 2019, 1:08:56 PM EST, Adrian Godwin 
 wrote:  
 
 I2C uses clock stretching but I'm not aware of any SPI interfaces that do it. 
However, it may be that the hardware is shared.


On Sun, Feb 24, 2019 at 5:22 PM 'Bruce Snyder' via BeagleBoard 
 wrote:

It's probably for clock-stretching.  Both pins clock and data need to go both 
ways.

On Thursday, February 21, 2019 at 9:58:12 AM UTC-5, waplu...@gmail.com wrote:
Thanks - you saved my day!  I just ran into the same quirk.  Truly bizzare that 
the SPI_CLK pinmux has to be set as an input in master mode where the pin is 
clearly an output.

On Tuesday, May 7, 2013 at 10:21:11 AM UTC-6, ky...@cranehome.info wrote:
Ok at least I'm not that stupid then. ;)

On Tuesday, May 7, 2013 10:51:59 AM UTC-5, wb666...@gmail.com wrote:
Its a quirk of the SPI hardware as far as I can tell, even on the original 
Beagleboard the SPI_CLK pinmux has to be set as an input.





-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/6138aa63-d406-4679-a0ab-8bf32189a8d2%40googlegroups.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 a topic in the Google 
Groups "BeagleBoard" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/beagleboard/NADsTC5Ro-I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CALiMYrv8pfo4odn8WEJCyQLs9g6ZPZZj8y-J0aJ28fQyaGbOmw%40mail.gmail.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/1592355202.4446664.1551037993259%40mail.yahoo.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] SPI input is always 0 with BeagleBoneBlack Anstrom images

2019-02-24 Thread Adrian Godwin
I2C uses clock stretching but I'm not aware of any SPI interfaces that do
it. However, it may be that the hardware is shared.


On Sun, Feb 24, 2019 at 5:22 PM 'Bruce Snyder' via BeagleBoard <
beagleboard@googlegroups.com> wrote:

> It's probably for clock-stretching.  Both pins clock and data need to go
> both ways.
>
> On Thursday, February 21, 2019 at 9:58:12 AM UTC-5, waplu...@gmail.com
> wrote:
>>
>> Thanks - you saved my day!  I just ran into the same quirk.  Truly
>> bizzare that the SPI_CLK pinmux has to be set as an input in master mode
>> where the pin is clearly an output.
>>
>> On Tuesday, May 7, 2013 at 10:21:11 AM UTC-6, ky...@cranehome.info wrote:
>>>
>>> Ok at least I'm not that stupid then. ;)
>>>
>>> On Tuesday, May 7, 2013 10:51:59 AM UTC-5, wb666...@gmail.com wrote:

 Its a quirk of the SPI hardware as far as I can tell, even on the
 original Beagleboard the SPI_CLK pinmux has to be set as an input.

>>> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/6138aa63-d406-4679-a0ab-8bf32189a8d2%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CALiMYrv8pfo4odn8WEJCyQLs9g6ZPZZj8y-J0aJ28fQyaGbOmw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] MLX90621 Temperature Sensor

2019-02-24 Thread Adrian Godwin
Thanks for that. I've done something similar for another Melexis device,
the MLX90640 32x24 sensor.

However, I've used a rather bizarre interface : an arduino that does the
I2C operations remotely via  the usual USB-serial interface.
It also handles a couple of ST vl53l1x distance sensors. This is because I
wanted a fairly generic connection that wasn't tied to the capabilities of
any particular SBC.

It's a fairly slow way to do things and suffers from the small buffer
memory in the arduino, but the USB-serial part is fairly well encapsulated
and I can probably learn something from your use of the direct i2c
connection. Or perhaps use USB natively, without the serial part, on a
different microcontroller such as a teensy or maple.


On Sun, Feb 24, 2019 at 5:43 PM Charles Steinkuehler <
char...@steinkuehler.net> wrote:

> In case it's useful for anyone else, I have ported code for the
> MLX90621 (4x16 pixel remote IR temperature sensor) from the RPi (talks
> directly to the BCM hardware) to use standard Linux I2C devices (eg:
> /dev/i2c1) so it works on the 'Bone and other boards with standard
> Linux I2C support.
>
> Tested on a BBB using I2C2 (/dev/i2c1, the cape EEPROM I2C bus), 5.6K
> pull-up resistors, and a diode-connected transistor to drop the 3.3V
> rail to the 2.6V preferred by the MLX.
>
> Code is on github:
> https://github.com/cdsteinkuehler/mlxd/tree/linux-i2c
>
> --
> Charles Steinkuehler
> char...@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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/ec6f20fa-8261-48f9-b9d5-696910767461%40steinkuehler.net
> .
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CALiMYrtLH40%3DbHVF77efgsPJdg3BBVPXTJ%3DuQuHOB6AJBFJW0Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] MLX90621 Temperature Sensor

2019-02-24 Thread Charles Steinkuehler
In case it's useful for anyone else, I have ported code for the
MLX90621 (4x16 pixel remote IR temperature sensor) from the RPi (talks
directly to the BCM hardware) to use standard Linux I2C devices (eg:
/dev/i2c1) so it works on the 'Bone and other boards with standard
Linux I2C support.

Tested on a BBB using I2C2 (/dev/i2c1, the cape EEPROM I2C bus), 5.6K
pull-up resistors, and a diode-connected transistor to drop the 3.3V
rail to the 2.6V preferred by the MLX.

Code is on github:
https://github.com/cdsteinkuehler/mlxd/tree/linux-i2c

-- 
Charles Steinkuehler
char...@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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/ec6f20fa-8261-48f9-b9d5-696910767461%40steinkuehler.net.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] SPI input is always 0 with BeagleBoneBlack Anstrom images

2019-02-24 Thread 'Bruce Snyder' via BeagleBoard
It's probably for clock-stretching.  Both pins clock and data need to go 
both ways.

On Thursday, February 21, 2019 at 9:58:12 AM UTC-5, waplu...@gmail.com 
wrote:
>
> Thanks - you saved my day!  I just ran into the same quirk.  Truly bizzare 
> that the SPI_CLK pinmux has to be set as an input in master mode where the 
> pin is clearly an output.
>
> On Tuesday, May 7, 2013 at 10:21:11 AM UTC-6, ky...@cranehome.info wrote:
>>
>> Ok at least I'm not that stupid then. ;)
>>
>> On Tuesday, May 7, 2013 10:51:59 AM UTC-5, wb666...@gmail.com wrote:
>>>
>>> Its a quirk of the SPI hardware as far as I can tell, even on the 
>>> original Beagleboard the SPI_CLK pinmux has to be set as an input.
>>>
>>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/6138aa63-d406-4679-a0ab-8bf32189a8d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.