[beagleboard] What actually generates spidevX.X dev in /dev directory?

2019-12-09 Thread Max Sintar
Hi Everyone,

I am relatively new to Beagleboard and Linux but quite experienced with 
embedded systems. I am exploring Linux Device Drivers and find it a bit 
challenging. As an example I started looking into spi drivers on bealeboard 
and I can see that there are 4 spi devices available in /dev directory: 
spidev1.0, spidev1.1, spidev2.0, spidev2.1. I am trying to figure out how 
spdevX.X device is created. I have looked into spidev.c file and can see 
that probe() function would register a device "spidevX.X" but I can't 
figure out what module is triggering that probe() method? Any help would be 
much appreciated. Thanks

-- 
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/46e1aaeb-162e-42e2-84b4-c0df78b63abb%40googlegroups.com.


[beagleboard] Re: Changing /etc/network/interfaces does not set a static ip for BeagleBoard-xM running Ubuntu

2019-06-23 Thread Max Mustermann
My first step after reading while waiting for approval (excuse my 
cross-posting) was

sudo systemctl disable connman.service

After reboot there was no connman anymore. But the appended 
/etc/network/interfaces still does not have any effect :-(

sudo cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
# auto eth0
# iface eth0 inet dhcp

# 
https://sheldondwill.wordpress.com/2013/12/14/beaglebone-black-ubuntu-change-to-static-ip-address/
auto eth0
iface eth0 inet static
address 192.168.178.5
netmask 255.255.255.0
network 192.168.178.0
broadcast 192.168.178.255
gateway 192.168.178.1
dns-search fritz.box
dns-nameservers 192.168.178.1

sudo 
ifconfig
 

eth0: flags=-28605  mtu 
1500
  

inet 192.168.178.30  netmask 255.255.255.0  broadcast 
192.168.178.255 


inet6 2003:e5:4f4e:9000:dd88:c9ee:10cd:93e5  prefixlen 64  scopeid 
0x0
inet6 fe80::5496:4382:7f0d:6e2  prefixlen 64  scopeid 
0x20  


inet6 2003:e5:4f4e:9000:84af:175c:c818:f10b  prefixlen 64  scopeid 
0x0
ether 02:02:00:02:15:80  txqueuelen 1000  (Ethernet)
RX packets 107835  bytes 39160508 (39.1 MB)
RX errors 0  dropped 71414  overruns 0  frame 0
TX packets 20283  bytes 5293839 (5.2 MB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73  mtu 65536
inet 127.0.0.1  netmask 255.0.0.0
inet6 ::1  prefixlen 128  scopeid 0x10
loop  txqueuelen 1000  (Local Loopback)
RX packets 3398  bytes 314287 (314.2 KB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 3398  bytes 314287 (314.2 KB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

usb0: flags=4099  mtu 1500
ether 02:11:67:8c:6b:cb  txqueuelen 1000  (Ethernet)
RX packets 0  bytes 0 (0.0 B)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 0  bytes 0 (0.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


-- 
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/a4f5f384-d780-4e9c-96db-fd6d2795679a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Changing /etc/network/interfaces does not set a static ip for BeagleBoard-xM running Ubuntu

2019-06-23 Thread Max Mustermann
Hi folks,

I'm going nuts. All over the internet it is said that setting a static IP 
is easy for BeagleBoard-xM running Ubuntu. Just change 
/etc/network/interfaces ...

One post 
<https://sheldondwill.wordpress.com/2013/12/14/beaglebone-black-ubuntu-change-to-static-ip-address/>
 
suggests to just change the eth0-device. Another post 
<http://derekmolloy.ie/set-ip-address-to-be-static-on-the-beaglebone-black/> 
changes eth0- *and* usb0-device as well. Both didn't work for me. As long 
as I don't thouch usb0 there is only one way to get the BeagleBoard 
connected - using the auto-config of eth0 via DHCP. And that's no good for 
I'd like to make the Beagle a Pi-hole <https://pi-hole.net/> ...

Can anybody please give me a hint how I can set the classic static 
192.168.178.5 for my Beagle?

Max

-- 
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/f665c738-e670-4c5d-bb71-b41726b8db0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Setting static ip via /etc/network/interfaces fails with Ubuntu on BeagleBoard xM

2019-06-23 Thread Max Mustermann
Hi folks,

I'm going nuts. All over the internet it is said, that changing 
/etc/network/interfaces should set an abitrary static ip for the 
BeagleBoard xM using ubuntu.

I came across suggestions like these 
<https://sheldondwill.wordpress.com/2013/12/14/beaglebone-black-ubuntu-change-to-static-ip-address/>
 
that strictly stick to the eth0-device. An other 
<http://derekmolloy.ie/set-ip-address-to-be-static-on-the-beaglebone-black/> 
configured the eth0- and usb0-device - with dirfferent adresses?! Both did 
not work for me and my Beagle. Can anybody please give me a hint how to set 
the static 192.168.178.10 for my Beagle?

Max

-- 
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/a1768341-9fa0-457f-a798-4f89cff60773%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] DSP plugins for gstreamer-1.0 on BeagleBone Black (Wireless)?

2017-09-04 Thread Max Ng
Ahh... thanks for the info.

Do you know of any other hardware accelerated video encoding options 
available on the BBB? (e.g. ffmpeg codecs or gstreamer plugins which can 
make use of the GPU). It doesn't have to be H.264, MPEG4 or some other 
format could work too.

Thanks,
Max

On Monday, September 4, 2017 at 5:11:48 PM UTC-7, RobertCNelson wrote:
>
> On Mon, Sep 4, 2017 at 6:24 PM, Max Ng <maxwi...@gmail.com > 
> wrote: 
> > Has anyone successfully used any TI DSP plugins for gstreamer-1.0? I 
> looked 
> > for plugins online, but it seems all I can find are plugins for 
> > gstreamer-0.10, for example: 
> > 
> > These are for 0.10: 
> > https://gstreamer.ti.com/gf/project/gstreamer_ti/ 
> > 
> > The commands are for 0.10 so I assumed the plugin is also for 0.10: 
> > http://processors.wiki.ti.com/index.php/Example_GStreamer_Pipelines 
> > 
> > Makefile references 0.10: 
> > 
> > https://github.com/felipec/gst-dsp 
> > 
> > 
> > README says gstreamer 1.0, but ./configure looks for 0.11: 
> > 
> > https://github.com/ddompe/gst-ti-plugin 
> > 
> > 
> > Actually what I'm trying to do is to encode H.264 video the BeagleBone 
> > Black. My camera (Logitech C920) supports H.264 output, but I'm also 
> doing 
> > some motion detection in OpenCV so I can't use the raw encoded stream. 
>
> The am335x on the BeagleBone Black does not contain this DSP ip block.. 
>
> 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/a3ffb4a9-3940-4ebc-bbca-c2e54fbee06a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] DSP plugins for gstreamer-1.0 on BeagleBone Black (Wireless)?

2017-09-04 Thread Max Ng
Has anyone successfully used any TI DSP plugins for gstreamer-1.0? I looked 
for plugins online, but it seems all I can find are plugins for 
gstreamer-0.10, for example:

These are for 0.10:
https://gstreamer.ti.com/gf/project/gstreamer_ti/

The commands are for 0.10 so I assumed the plugin is also for 0.10:
http://processors.wiki.ti.com/index.php/Example_GStreamer_Pipelines

Makefile references 0.10:

https://github.com/felipec/gst-dsp


README says gstreamer 1.0, but ./configure looks for 0.11:

https://github.com/ddompe/gst-ti-plugin


Actually what I'm trying to do is to encode H.264 video the BeagleBone 
Black. My camera (Logitech C920) supports H.264 output, but I'm also doing 
some motion detection in OpenCV so I can't use the raw encoded 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/807ac649-181b-4f30-bebe-24d2693eb3d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Activate exp. headers I2C interfaces BBx15

2016-11-21 Thread Max Wennerfeldt
Hi,

I'm having trouble accessing the I2C5 interface that is available 
(according to schematic) in exp. header P18. It does not seem to be active 
as default on a clean debian BBx15 image as far as I can see but I'm very 
much a novice in this field.
Is it possible to access the I2C5 interface from the P18 header and if it 
is, what do I have to do to get it working?

BR

Max

-- 
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/8f282020-005a-4aca-a7ae-b456262973af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] BBx15 Access the I2C5 interface from the exp. header

2016-11-21 Thread Max Wennerfeldt
Hi,

I'm trying to interface a custom camera module to the BBx15 and therefore 
want to use the expansion headers to configure the module over I2C.
I'm thinking of using the I2C5 interface that is present on the P18 header 
according to the schematic, but it does not seem to be active by default in 
the debian image (?). I'm quite novice in this area and are unsure on what 
I have to do to get access to the interface.

Is it possible to use the I2C5 interface at all and if it is, what do I 
need to do in order to get it working?

BR

Max

-- 
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/817deedd-803d-44c1-880a-c7fc90ffd5bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] How to access the I2C5 interface from exp. headers

2016-11-21 Thread Max Wennerfeldt
Hi,

I'm trying to interface a custom camera module to the BBx15 and therefore 
want to use the expansion headers to configure the module over I2C.
I'm thinking of using the I2C5 interface that is present on the P18 header 
according to the schematic, but it does not seem to be active by default in 
the debian image (?). I'm quite novice in this area and are unsure on what 
I have to do to get access to the interface.

Is it possible to use the I2C5 interface at all and if it is, what do I 
need to do in order to get it working?

BR

Max

-- 
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/ced477b6-4a74-4935-99d8-47f528f41302%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Figuring out how to access the I2C5 from exp. header

2016-11-21 Thread Max Wennerfeldt

Hi,

I'm having trouble figuring out what I have to do to get access to the I2C5 
interface that is present on expansion header P18. The available I2C 
devices from the clean debian image does not seem to include this interface 
per defualt and I'm a bit novice in this area. 

Is it possible to use the I2C5 interface, and what do I have to do to gain 
access to it?

BR

Max

-- 
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/ff30fc48-937c-4dc9-9755-ccb1886ff2b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Access to the I2C5 interface from exp. headers

2016-11-21 Thread Max Wennerfeldt
Hi,

I'm trying to interface a custom camera module to the BBx15 and therefore 
want to use the expansion headers to configure the module over I2C.
I'm thinking of using the I2C5 interface that is present on the P18 header 
according to the schematic, but it does not seem to be active by default in 
the debian image (?). I'm quite novice in this area and are unsure on what 
I have to do to get access to the interface.

Is it possible to use the I2C5 interface at all and if it is, what do I 
need to do in order to get it working?

BR

Max

-- 
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/023fd21b-5d51-4d9c-89ab-0e45a573895b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] AM335x Starter Kit - eth1 not sending packets - bb-kernel 4.1.2-bone12

2015-07-24 Thread Max
dmesg

Отправлено с iPad

 24 июля 2015 г., в 20:32, Richard Taylor hippysur...@gmail.com написал(а):
 
 
 
 On Friday, July 24, 2015 at 5:58:30 PM UTC+1, Richard Taylor wrote:
 
 
 On Fri, Jul 24, 2015 at 5:49 PM, Robert Nelson XXX wrote:
 On Fri, Jul 24, 2015 at 11:46 AM, Richard Taylor XXX wrote:
 
 
  On Friday, July 24, 2015 at 4:35:21 PM UTC+1, RobertCNelson wrote:
 
  On Fri, Jul 24, 2015 at 4:53 AM, Richard Taylor XXX
  wrote:
   Hi
  
   I am trying to get a AM335x Starter Kit working with a Ubuntu 
   userspace.
 
  I really need to fire up ^ one of those and test it..
 
  Does it help if you update the phy search patch with this one?
 
 
  https://raw.githubusercontent.com/RobertCNelson/linux-dev/master/patches/beaglebone/phy/0003-cpsw-search-for-phy.patch
 
  ?
 
  There was a possible bug in our phy search for dual Ethernets just
  never locked it down to bbw/bbb only, that's now fixed..
 
 
  Hi Robert
 
 
  It looks like most of that patch is already present. The only bit that is
  missing is the:
 
  + if (of_machine_is_compatible(ti,am335x-bone))
 
  in:
 
  +
  + #if IS_ENABLED(CONFIG_OF)
  + if (of_machine_is_compatible(ti,am335x-bone))
  + davinci_mdio_update_dt_from_phymask(phy_mask);
  + #endif
 
  Is it worth recompiling the kernel with this change?
 
 Correct that's the one tweak i made this morning after reading your email. 
 ;)
 
 Still not sure, if it'll help, but i know there was a possible problem
 for dual ethernet devices in that fixup..
 
 OK. I'll give it a go.
 
 Sorry, I am a bit of newbie when it comes to dealing with the bb-kernel. I 
 managed to do a full rebuild, which has updated the kernel to version 4.1.3.
 
 I then applied the patch and rebuilt (without updating this time!).
 
 Unfortunately it has not made any difference to the behaviour. It is still 
 not sending any packets out of eth1.
 
 Thanks
 
 Richard
  
 -- 
 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] BBB intermittently rebooting.

2015-07-18 Thread Max
Can you ground the Vusb line? The same problem was with 3.2

Отправлено с iPad

 18 июля 2015 г., в 3:19, Robert Nelson robertcnel...@gmail.com написал(а):
 
 On Fri, Jul 17, 2015 at 7:00 PM, Erik de Castro Lopo
 mle+...@mega-nerd.com wrote:
 HI all,
 
 I have BBB that is rebooting about once a day for no good reason.
 
 Its powered from an external plug pack (usb host adapator not even
 connected), its running the 4.1.1-bone9 kernel from the
 BBB-eMMC-flasher-debian-8.1-console-armhf-2015-07-05-2gb.img
 image.
 
 There are no clues in /var/log/messages or syslog or anywhere
 else.
 
 Anyone with any suggestions on how to debug this?
 
 Please upgrade to :
 
 sudo apt-get update
 sudo apt-get install linux-image-4.1.2-ti-r4
 sudo reboot
 
 Still tracking the random reset down..
 
 Regards,
 
 -- 
 Robert Nelson
 https://rcn-ee.com/
 
 -- 
 For more options, visit http://beagleboard.org/discuss
 --- 
 You received this message because you are subscribed to the Google Groups 
 BeagleBoard group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to beagleboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

-- 
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: robustness BBB

2015-07-13 Thread Max
USomIQ SOM can have 128GB of SLC NAND flash, but it will be rather expensive 
due to high price of such NAND chips. However, with SLC you will not care about 
data lost because Micron SLC NAND stands for more than 100k of write cycles 
into a single cell

Отправлено с iPad

 13 июля 2015 г., в 20:54, William Hermans yyrk...@gmail.com написал(а):
 
 Speaking of sealed case, and heating issues. Why not fill the area where the 
 BBB will sit with non conductive oil ? No idea if this is being done 
 professionally but it's been done with PC motherboards before . . .
 
 On Mon, Jul 13, 2015 at 8:42 AM, CEinTX mpo...@gmail.com wrote:
 Otto,
 
 This will prove to be an interesting challenge for you.
 To handle your environments, you will likely need to enclose whatever board
 you choose in an IP67 or Nema 4 sealed enclosure. I don't think potting
 or conformal coating will suffice if you have salt and/or potential for 
 condensing
 humidity. Serviceable contacts will eventually corrode (Power, Enet, uSD, 
 etc...)
 
 So when you enclosure your board you will have the potential to exceed the 
 70*C
 inside the enclosure. Ambient plus the thermal load of the board.
 So, unless you use some form of active cooling transfer - not sure that will 
 help with 
 the condensing humidity or the saline. If you use thermo-electric (peltier) 
 you damn
 better make sure you get 100% sealing or you will condense on your internal 
 heat(cool)
 sink and eventually your enclosure will fill (been there done that). If you 
 are not 100%
 sealed, thermal cycling will pull moisture in - condense on the heat sink 
 and fill the enclosure
 Until something if not everything fails.
 
 So you will likely need industrial (+85) if not automotive (+105) temp 
 components - probably will need
 testing to determine which will be needed.
 
 Next, I haven't heard of 128GB uSD cards being supported on BBB. I'm sure 
 the community will chime
 in on that one. So you will likely need a bank of FLASH memory. Or create a 
 process that will fill what
 you have/put on the board and periodically download/stream to a server or 
 the like.
 
 The IP67 or Nema 4 case will aid in longevity and reliability except in the 
 regards of heat.
 Use the appropriate connectors to get you network and power inside and all 
 should be good.
 
 There are likely other systems out there that can potentially handle this.
 You'll just have to do research.
 
 Alternately CircuitCo or some other companies can do a custom version of the 
 BBB that
 can meet your needs.
 
 I could even do this as I've done an industrial temp version of the BBB 
 customized for my 
 company's needs - just not sure if I'll have time to do it. It could 
 potentially be modified 
 to meet your memory needs. So as long as you don't need functioning in temps 
 above 
 +85*C a variation of it could work for you. 
 
 If you decide you want/need a custom board and are not going to do it 
 yourself, please give 
 CircuitCo the 1st chance at this since they do so much to support this 
 community.
 
 Best of luck to you in your endeavor,
 Matt
 
 On Monday, July 13, 2015 at 9:10:10 AM UTC-5, otto@gmail.com wrote:
 Hi all!
 
 I'm working for a wind turbine manufacturer, and I want to set up a 
 super-robust data acquisition system. Basically it needs to:
 
 - receive about 200 channels, single precision, 10-50 Hz through wired 
 network
 - store data for some time (I need about 128 GB storage ideally)
 - process it into secondary (much smaller) data summaries
 - and then the data summaries will be transferred over the wind farm 
 network.
 
 Although it will be installed inside the turbine, conditions are still 
 harsh:
 
 - Temperatures may range from about -20 to +70 C
 - condensation/humidity may be an issue
 - offshore use is also planned so salinity could be an issue. 
 
 Lifetime should be long, say 10 years, with no/very few manual 
 interference. I want to have about 2000 units in the next year.
 
 What do you think, will the BBB be an option for this task? Is airtight 
 (and pressure resistant) casing available to avoid 
 condensation/humidity/salinity issues? Is a micro SD card robust enough 
 when inside this airtight casing?
 
 If the BBB is too hobbyist for my purpose, do you know a more robust system 
 that I could use?
 
 Thanks for the help!
 
 Otto
 
 -- 
 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.
 

Re: [beagleboard] Re: Kickstarter Project: BeagleCore - miniaturized computer module compatible with BeagleBone Black

2015-07-08 Thread Max
I use ready to be sold modules uSomIQ AM335x. At least they have simple 
connectors

Отправлено с iPad

8 июля 2015 г., в 15:02, Beagle Core c...@beaglebonecore.com написал(а):

 There is only one question: how will you solder this SOM? There is only one 
 answer: nohow unless you have a professional infrared solder station.
 
 You could use a reflow station, a reflow oven or - like you said - a 
 professional infrared solder station.
 
  
 Do enthusiasts have professional equipment? No.
 
 That's an assumptio and depends on the definition of enthusiast. I like the 
 point of view that Robert Budde shared above:
 
 It is not targeted at makers, cape-stackers or click-board-users, but 
 people who want to transfer their (maybe cape-based/-originated) design into 
 a ready-to-be-sold product.
 
 
 BBB is the best solution for enthusiasts. 
 
 BeagleBone Black is great. No question. But for some (professionals) it is a 
 starting point for a ready-to-be-sold product that can be mass produced. 
 BeagleCore is not meant to replace BBB, it's most likely the missing link for 
 professionals.
 
 Regards
 Ansgar
 
  
 
 2015-07-07 9:30 GMT+03:00 Robert Budde rl.b...@gmail.com:
 
 
 Am Montag, 6. Juli 2015 20:48:55 UTC+2 schrieb William Hermans:
 
 Hi!
 
 I think you are missing the point:
 
 BeagleCore is not about having a BeagleBone Black Clone for double the 
 price - it's about using all the software/experience of the BBB community 
 and integrate them in a professional (non-Cape-like) device with a 
 custom form-factor. It is not targeted at makers, cape-stackers or 
 click-board-users, but people who want to transfer their (maybe 
 cape-based/-originated) design into a ready-to-be-sold product.
 
 I think the counter point however is that 10's of these types of products 
 have already been in existence. Sold by known quantity companies. For 
 2-3 years now.  
 
 
 Do you mind mentioning some of those? I am not looking for just SOMs with 
 AM335X but SOMs offering full software compatibility down the DT and having 
 eMMC and not just NAND flash.
  
 -- 
 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...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.
 
 
 
 -- 
 LinkedIn - http://www.linkedin.com/in/maximpodbereznyy
 Company - http://www.linkedin.com/company/mentorel
 Facebook - https://www.facebook.com/mentorel.company
 
 -- 
 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] Turning ON an external LED using QNX RTOS

2015-07-03 Thread Max
If the pin acts as the input then it should read an external state. I would 
configure this pin as the output and then write 0/1 to a necessary bit position

Отправлено с iPad

 3 июля 2015 г., в 19:02, Salman Feroze salmanferoz...@gmail.com написал(а):
 
 Hey guys,
 
 I am relatively new in this forum, so please bear with me if the questions I 
 ask would sound unintelligent. I am currently working with the Beagle Bone 
 Black that is running QNX RTOS. I am trying to get my head around this board 
 by developing simple programs such as turning ON an external LED that is 
 connected to the board. So far, I have manage to identify a GPIO pin and set 
 it to be an input using the data direction register (DDR) function. However, 
 I am unable to move on from here.
 
 Since I have enabled the pin to act as input, how would I be able to use it 
 to turn ON an LED? What should be my next step be?
 
 Any input/suggestion would be much appreciated.
 -- 
 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.


[beagleboard] Re: Bone VDD_3V3EXP Disable Issues

2015-05-19 Thread Max
Matthijs,
Did you try any change in the EN pin of U4 (enable signal of 3V3B)?
I'm about to try SYS_RESETn (PMIC_PGOOD after U16), but I'm concerned about 
the 20ms turn on delay (plus 10ms due to the RC).
The other option is to go back to use 3V3AUX, and add a 1k load resistor to 
reduce the discharge time.
Thanks,
Max

On Friday, May 1, 2015 at 4:35:04 PM UTC-7, Matthijs van Duin wrote:

 On Friday, 1 May 2015 19:01:06 UTC+2, Matthijs van Duin wrote:

 I've captured the shutdown sequence on DC versus BAT power in more detail

  
 Just a quick clarification to avoid confusion:

 Unlike the scope images in my original post, these were captured with 
 BATMON connected to BAT even in the DC-powered case. As I mentioned in my 
 original post this somewhat changes the behaviour of the TPS65217, and in 
 particular prevents BAT from ever dropping below 0V, which would be out of 
 view in these images.

 The vertical range of these images is 0V...4V, grid lines are spaced 0.5V 
 and 5ms, minor ticks 0.125V and 1ms.

 The images in my original post have vertical range -1V...6V, grid lines 
 spaced 1V and 20ms, minor ticks 0.25V and 4ms. They were taken with serial 
 cable attached.

 Matthijs


-- 
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] BBB power-down issue

2015-05-08 Thread Max
Hello,
I'm looking for inputs/ideas regarding the potential power-down issue of 
the BBB, which is believed to cause HW failure when the 5V is suddenly 
interrupted without shutting down the PMIC first. 
New BBBs come with warnings saying that the board has to be shut-down by SW 
to avoid HW failure.
My thought was the following (assuming no battery connected): 
1) when the 5Vin goes down (suddenly, without glitches), the UVLO detects 
this at around 3.5V (UVLO level of 3.3V + offset spec of 200mV), and 
immediately does the next 2 things.
2) the UVLO event brings down the PMIC_PGOOD signal, which generates a 
reset (PORZ) in the processor that turns all the clocks off (dramatically 
reducing the current consumption). 
3) the UVLO event starts the power-down sequence that should last a few 
miliseconds. Since there is some capacitance (100uF) in SYS_5V, that energy 
reserve may be enough to let the PMIC finish the power down sequence. 
It's very little energy and the UVLO level is pretty low, so this energy 
would be useful only if the power consumption is really low (which I hope 
because of step 2).
If any of these steps is not consistently happening every time, then that 
may be the key to solve the issue.
What do you think about this logic? do you think those 3 steps happen?
My plan is to put scope probes in all the voltage rails to capture how far 
it is from completing the power down sequence under this circumstance. But 
the more I know in advance about the issue the better I will be to analyze 
it.
Regards,
Max
PS: I had posted this issue in the Beaglebone group but it isn't very 
popular... I apologize that I had to re-post it here.

-- 
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: About the address range

2015-04-23 Thread Reinhard Max
David Goodenough david.goodenough@... writes:

 searching on the net I think I may have found what you are using.  It is not
 an AM2320, but rather an AM2321.  This DOES have an I2C interface unlike
 the AM2320.

According to sellers who offer AM2320 (e.g. on AliExoress), it supports
both, I2C and Aosong's proprietary single wire protocol. This claim is also
backed by this datasheet:
http://akizukidenshi.com/download/ds/aosong/AM2320.pdf .

The only difference between AM2320 and AM2321 seems to be the orientantion
of the pins (bottom side vs. back side).

But unfortunately the datasheet gives no information about changing the I2C
device address, which I would also be interested in, so that I can put
multiple sensors onto a single I2C bus.

-- 
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: trying to learn enough to get started

2014-09-05 Thread max
Chuck,

You might like to take a look at node-RED (http://nodered.org) which is a 
browser based visual tool for 'wiring the Internet of Things' and I reckon 
a greenhouse counts as a Thing. It is written in Javascript, running in 
node.js, and runs fine on small embedded Linux machines like the Raspberry 
Pi and the BeagleBone Black. There are explicit 'how to set up' 
instructions for both these boards on the web site. You can start by 
'wiring up' analogue  digital input pins to function blocks which make 
calculations and decisions, back to output pins, or to other things like 
Internet services. For example, you could make it send an alert to your 
phone (or an email, or a tweet) when the temperature goes over a limit.

You can write Javascript inside 'function blocks' for simple tasks, or if 
your task warrants it, extend the environment by writing your own 'node' - 
also in Javascript. It's all open source so you can look under the hood  
see how it works. There is an active, helpful developer community emerging 
around it.

Whatever you decide to do, enjoy doing it!

Max

On Thursday, 4 September 2014 03:24:01 UTC+1, ccrisle...@gmail.com wrote:

 I have a significant project that I want to accomplish this fall/winter. I 
 would like to build a digital controller for my greenhouse. I have been a 
 software engineer for 35 years so the programming will be easy. I don't 
 have any experience with microprocessors and need to learn so that I can 
 do. What introductory and intermediate sources of information would people 
 recommend? I am thinking about a BBB running Ubuntu but am open to 
 suggestions.

 Thank you,
 Chuck Crisler


-- 
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] How to remove Cloud9 - files from BBB

2014-09-02 Thread max
Robert,

So far so good!

I set a root password, created a regular user account, ran apt-get update  
upgrade.

I've installed the following packages:
avahi-daemon nodejs nodejs-legacy nom ntp git man-db

I used dpkg-reconfigure tzdata to set my timezone information, configured 
git, and I should be good to go.

However, I don't see a dtc command. Should this not be included in the 
initial image? It seems pretty fundamental to using the BBB!

Max

-- 
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] How to remove Cloud9 - files from BBB

2014-09-02 Thread max
Robert,

Thanks, I found the right package while waiting for my post to be 
moderated. A bit worried that I might not get the 1.4.0 version with the -@ 
switch, as the man pages don't mention it, but the built-in help does. I 
see it came from a beagleboard repository. Looks like like I'm good to go 
now.

Thanks for all your help!

Max

-- 
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] How to remove Cloud9 - files from BBB

2014-08-29 Thread max

On Thursday, 28 August 2014 21:56:50 UTC+1, RobertCNelson wrote:

 If you are really need the space, start out with the console flasher: 

 http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#2014-08-19 
 http://www.google.com/url?q=http%3A%2F%2Felinux.org%2FBeagleboard%3ABeagleBoneBlack_Debian%232014-08-19sa=Dsntz=1usg=AFQjCNGTRYzlc5QSeDGhWxXxSG-5ETE-Jg
  

 (200MB) 

 Then: 

 sudo apt-get update 
 sudo apt-get install nodejs nodejs-legacy npm 

 Now I'm getting really confused! I just followed the instructions on the 
'latest images' page (http://beagleboard.org/latest-images). Do these apply 
only to rev C boards? It doesn't say. I did look for more recent images, 
but I find the information on elinux.org to be terse and opaque to the 
point of impenetrability. These are testing images, so presumably not 
stable? Why am I still referred to the 2014-05-14 image if this is known 
not to work?

For my project, In addition to the standard OS  I need a node.js = 
0.10.22, plus bonescript (but used as a package, not as a server) gcc, 
libraries etc plus apache, but not cloud9, X-windows, or anything to do 
with video or sound. I have a rev C on back order, but I'd like to hope the 
rev B can be salvaged for this project.

Max

-- 
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: Is it easy to reduce the clock frequency on Beaglebone I2C?

2014-08-29 Thread max
The I2C protocol allows any slave device on the bus to 'stretch' the pulse 
for as long as it wants by holding SCL low (in Standard mode, and Fast 
mode, but not High-speed mode). This can slow the clock rate arbitrarily. 
It's explained in specification:

I²C-bus Specification, Version 3.0 (Rev. 03 - 19 June 2007) this is the I2C 
reference! http://www.nxp.com/documents/user_manual/UM10204.pdf

You can do this fairly easily 'bit twiddling' a couple of IO pins on a 
microcontroller. It's an interesting programming exercise!

Max

-- 
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] How to remove Cloud9 - files from BBB

2014-08-29 Thread max
Robert,

Does this flasher not power down the Beaglebone when it's done? It's 
sitting there with all 4 user LEDS on at the moment

Max

 If you are really need the space, start out with the console flasher: 
  
  http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#2014-08-19 
  



-- 
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] How to remove Cloud9 - files from BBB

2014-08-29 Thread max
Wiiliam,

I am just this moment following the procedure Robert suggests, using the 
2014-08-19 console image. I'll dump a list of packages installed in the 
2014-05-14 'full' image installation before I re-flash it so I can compare 
what is in and what is not. I'm not in a position to build anything just 
yet - no free disc space!

Max

On Friday, 29 August 2014 19:47:48 UTC+1, William Hermans wrote:

 Max, you're better off either starting with the console image Robert 
 mentioned, or building your own from 
 https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-RootFileSystem%28smallflash%29

 Once you get the console image going, it is a simple matter of apt-get 
 install packages




-- 
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] How to remove Cloud9 - files from BBB

2014-08-28 Thread max


On Thursday, 28 August 2014 21:01:17 UTC+1, William Hermans wrote:


 What all are you running that requires 1.7G space on the eMMC ?


 Erm... Debian?

I found the free space left on rootfs after an eMMC flash from 
BBB-eMMC-flasher-debian-7.5-2014-05-14-2gb.img; apt-get update;  apt-get 
upgrade; apt-get clean was 132628 blocks, 92% free. Trying to install the 
application (node-RED) I want to run and its dependencies failed with ENOSPC

Deleting the tmp files from the failed npm installs leaves me 30256 blocks 
free. Unusable. The node.js version on the Angstrom image is too old to 
support all the packages I want to use.

Max

-- 
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] How to access GPIO via bonescript without root?

2014-08-25 Thread max
On Monday, 11 August 2014 00:58:36 UTC+1, William Hermans wrote:

 Never allow a Nodejs process that faces the internet to run as root. 
 *EVER*. That's #1 rule.


So is there a way that a node.js process could start as root, configure the 
hardware using bonescript functions, change to a non-privileged user ID, 
start a server listening on a port 3000, and still use bonescript to 
access the IO pins themselves? If so, how? Anyone?

Max


-- 
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] npm -g update disaster! npm no longer runs

2014-03-12 Thread max
I'm running a BBB with the Linux beaglebone 3.8.13 #1 SMP Thu Sep 12 
10:27:06 CEST 2013 armv7l GNU/Linux image, fully opkg upgrade-ed. In an 
attempt to sort out some module issues, I ran npm -g update. This gave 
various error messages, interspersed in the usual voluminous output. There 
were still problems, so I ran npm again. Now it fails every time:

root@beaglebone:~# npm


module.js:340

throw err;

  ^

Error: Cannot find module 'qs'

at Function.Module._resolveFilename (module.js:338:15)

at Function.Module._load (module.js:280:25)

at Module.require (module.js:362:17)

at require (module.js:378:17)

at Object.anonymous 
(/usr/lib/node_modules/npm/node_modules/npm-registry-client/node_modules/request/request.js:8:10)

at Module._compile (module.js:449:26)

at Object.Module._extensions..js (module.js:467:10)

at Module.load (module.js:356:32)

at Function.Module._load (module.js:312:12)

at Module.require (module.js:362:17)

It looks like the qs package required by request is missing. Without it, I 
can't install it.

How can I get out of this situation, short of re-flashing the eMMC? (again!)

I hope someone can help

Thanks,

Max

-- 
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] I2C to SPI bridge?

2013-10-17 Thread Max
Probably you can use other spi pins muxed with different functions?

Отправлено с iPad

 17 окт. 2013 г., в 6:18, meino.cra...@gmx.de написал(а):
 
 Hi,
 
 I need a chip to convert a I2C interface (BBB) to a an SPI master to
 connect SPI based chips to it.
 The SPI pins on my BBB are used for I2C and audio.
 
 Is there any recommended chip for that purpose?
 
 Thank you very much in advance for any help!
 Best regards,
 mcc
 
 
 
 -- 
 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] kernel-module-iptable-nat / share internet

2013-10-16 Thread Max Baum
Hello

I want to share the internet connection of eth0 with wlan0. (like wifi AP,  
hostapd and dhcp-server already working)

I tried to use iptables for NAT.
# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

But i get following error:
iptables v1.4.15: can't initialize iptables table `nat': Table does not 
exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

So i tried to install 
kernel-module-iptable-nathttp://www.angstrom-distribution.org/repo/?pkgname=kernel-module-iptable-nat,
 
but it is not available for the 3.8 kernel.

Is there another method to share the internet connection / build 
kernel-module-iptable-nathttp://www.angstrom-distribution.org/repo/?pkgname=kernel-module-iptable-natfor
 the 3.8 kernel?

Using BBB / latest Angstrom.



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