[beagleboard] Issues in 4.4 and 4.6 Custom Image

2016-05-30 Thread Virendra

Hi,

I am building the custom Image using 4.4 and 4.6 and I see the following 2 
issue in both the versions. I have already built kernel version 
4.1.20-bone20 Image from Robert Nelson successfully and it is running 
without any issues. 

Could you let me know how to resolve the following 2 issues in 4.4 and 4.6. 

*Issue 1* - sudo reboot fails to reboot

I see the following log while issuing the reboot command. The watchdog 
fails to stop and the last line says Rebooting but it never reboots
Pastebin Link showing the logs -  http://pastebin.com/n0cCWsvQ

*Issue 2* - Waiting for connecting to network for more than 2 minutes with 
a message -- [ *] A start job is running for LSB: Raise network 
interf... 3s / no limit)

My network interface file: http://pastebin.com/XteCbMDV

Log showing waiting for more than 2 minutes -  http://pastebin.com/z0UHyiJy


Thanks,
Rafi

-- 
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/d7957066-8593-495b-956c-e1e4eed73339%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] USB boot of BeagleBoneBlack

2016-05-30 Thread Venky Venkatesh
Hi, I wanted to boot my Beagle Bone Black through USB, i tried to boot from 
USB by pressing the switch, but i didn't get anything in terminal, and i 
don't know how it works.
Any help could be appreciate.

-- 
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/a541c146-1b5d-4c49-af11-57c1eafe7013%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Which service is getting time & date on Debian Wheezy? I want to disable it.

2016-05-30 Thread William Hermans
By the way, I think Robert has a script *somewhere* what runs ntpdate at
boot. But I do not remember where it is. I checked /opt/scripts/ on my BBB,
but I'm running Jessie, and could not find such a script. But it could also
be either a sysv init script, or an rc.d startup script, and potentially
even a a cron job( unlikely ).

On Mon, May 30, 2016 at 9:33 PM, William Hermans  wrote:

> william@beaglebone:~/dev$ dpkg -l | grep ntpdate
> ii  ntpdate
> 1:4.2.6.p5+dfsg-7+deb8u1  armhfclient for setting
> system time from NTP servers
>
> william@beaglebone:~/dev$ sudo apt-get remove --purge ntpdate
>
> That should solve the problem. But, you may also want to check and see if
> the package fake-hwclock is installed, and remove that as well.
>
> On Mon, May 30, 2016 at 8:43 PM, John Baker 
> wrote:
>
>> Mike:
>> I can't find timedatectl. It's not a service in /lib/systemd/system and I
>> can't find it anywhere in the BBB's Debian Wheezy installation. So I
>> suspect the Wheezy distro is using some other service, but I can't figure
>> out what.
>> There is a service file named dbus-org.freedesktop.timedate1.service
>> which is Loaded but inactive (dead).
>> John
>>
>> On Monday, May 30, 2016 at 5:06:50 PM UTC-7, Mike Bell wrote:
>>>
>>> On 05/30/2016 07:27 PM, John Baker wrote:
>>> > I'm trying to disable the service that gets the time and date over the
>>> > Internet. I want to do that in hopes that the BBB will instead get the
>>> > time and date from my Adafruit DS3231 and I suspect the BBB is trying
>>> > for a minute to get the time and date over the Internet. with the
>>> > result that the BBB doesn't read the time and date from my DS3231 for
>>> > a minute.
>>> >
>>> > There is no ntpdate service on the Wheezy, or I would simply disable
>>> it.
>>> > Thanks,
>>> > John
>>> > --
>>> If systemd is enabled disabling timedatectl will do it.
>>>
>>> #systemctl disable timedatectl
>>>
>>> Mike
>>>
>> --
>> 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/a9fa7455-63eb-4737-a1e3-279f13651df0%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/CALHSORrM-s35w%3DtCVOik2kiCc5pNjU-0Jya65WZEXcvAOE8LBw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Which service is getting time & date on Debian Wheezy? I want to disable it.

2016-05-30 Thread William Hermans
william@beaglebone:~/dev$ dpkg -l | grep ntpdate
ii  ntpdate
1:4.2.6.p5+dfsg-7+deb8u1  armhfclient for setting
system time from NTP servers

william@beaglebone:~/dev$ sudo apt-get remove --purge ntpdate

That should solve the problem. But, you may also want to check and see if
the package fake-hwclock is installed, and remove that as well.

On Mon, May 30, 2016 at 8:43 PM, John Baker 
wrote:

> Mike:
> I can't find timedatectl. It's not a service in /lib/systemd/system and I
> can't find it anywhere in the BBB's Debian Wheezy installation. So I
> suspect the Wheezy distro is using some other service, but I can't figure
> out what.
> There is a service file named dbus-org.freedesktop.timedate1.service which
> is Loaded but inactive (dead).
> John
>
> On Monday, May 30, 2016 at 5:06:50 PM UTC-7, Mike Bell wrote:
>>
>> On 05/30/2016 07:27 PM, John Baker wrote:
>> > I'm trying to disable the service that gets the time and date over the
>> > Internet. I want to do that in hopes that the BBB will instead get the
>> > time and date from my Adafruit DS3231 and I suspect the BBB is trying
>> > for a minute to get the time and date over the Internet. with the
>> > result that the BBB doesn't read the time and date from my DS3231 for
>> > a minute.
>> >
>> > There is no ntpdate service on the Wheezy, or I would simply disable
>> it.
>> > Thanks,
>> > John
>> > --
>> If systemd is enabled disabling timedatectl will do it.
>>
>> #systemctl disable timedatectl
>>
>> Mike
>>
> --
> 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/a9fa7455-63eb-4737-a1e3-279f13651df0%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/CALHSORqJLNOBPZwmdtRt4hCXJXtPyxtojfL6JK9eJtHj0K5GOA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] RFID CR95HF with Beaglebone black

2016-05-30 Thread nguyen cao
Hi All,
I wirte code for CR95HF with beaglebone black,but I not find library of 
CR95HF for beaglebone black,
If all you wirte code CR95HF with beaglebone black using library of CR95HF 
,pls help.
Thanks very much.

-- 
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/4f6ada8a-2c7f-493b-9aba-33610ea59eef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] RIFID CR95HF library Beaglebone black

2016-05-30 Thread nguyen cao
Hi all,
I wirte code for  RFID CR95hf interface beaglebone black,But I not find 
library of CR95hf run with beaglebone
If all you wirte code and have library CR95hf with beagleboe.Pls help
Thanks very much.

-- 
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/413dd43c-81fa-40f7-bf5a-24ed4938f313%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Which service is getting time & date on Debian Wheezy? I want to disable it.

2016-05-30 Thread John Baker
Mike:
I can't find timedatectl. It's not a service in /lib/systemd/system and I 
can't find it anywhere in the BBB's Debian Wheezy installation. So I 
suspect the Wheezy distro is using some other service, but I can't figure 
out what.
There is a service file named dbus-org.freedesktop.timedate1.service which 
is Loaded but inactive (dead).
John

On Monday, May 30, 2016 at 5:06:50 PM UTC-7, Mike Bell wrote:
>
> On 05/30/2016 07:27 PM, John Baker wrote: 
> > I'm trying to disable the service that gets the time and date over the 
> > Internet. I want to do that in hopes that the BBB will instead get the 
> > time and date from my Adafruit DS3231 and I suspect the BBB is trying 
> > for a minute to get the time and date over the Internet. with the 
> > result that the BBB doesn't read the time and date from my DS3231 for 
> > a minute. 
> > 
> > There is no ntpdate service on the Wheezy, or I would simply disable it. 
> > Thanks, 
> > John 
> > -- 
> If systemd is enabled disabling timedatectl will do it. 
>
> #systemctl disable timedatectl 
>
> Mike 
>

-- 
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/a9fa7455-63eb-4737-a1e3-279f13651df0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Adafruit BBIO Python library

2016-05-30 Thread Peter Lawler



On 30/05/16 17:34, Drew Fustini wrote:

Thanks Robert and Pete.

I made a change to setup.py to define BBBVERSION41 based on
platform.release() which does reflect the correct kernel version.

I've opened a Pull Request against Pete's adafruit-beaglebone-io-python
:
https://github.com/PeteLawler/adafruit-beaglebone-io-python/pull/1




Makes sense to me.

Merged and edited a little (no, really, extra whitespace is one of those 
things that make me twitch).


I hope to have a spare working BBB in the next day or so again (got a 
new spare and I then discovered what fun noises can be made by putting 
5V down AIN1).


Cheers,

Pete.



--
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/574CF231.9040505%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: enabling I2C1 on new ubuntu xenial image

2016-05-30 Thread Graham
What you are trying to assess as I2C1 was renumbered to become I2C2. 
 Currently I2C1 is reserved for the internal operation of the device, not 
capes.
Capes are controlled by I2C2.  So you need to get a set of updated and 
matching overlays.  You might be better off using one of the current Debian 
releases.
--- Graham


On Monday, May 30, 2016 at 6:29:44 PM UTC-5, geo...@gmail.com wrote:
>
> I created a new SDcard from 
> http://elinux.org/BeagleBoardUbuntu#Ubuntu_.28xenial.29. I am trying to 
> activate I2C1 on this install. I had previously used ubuntu 14.04, but it 
> looks like the method for loading overlays has changed. I can only find 
> documentation relating to the old method. I read and followed the 
> instructions in the new /boot/uEnv.txt, but had zero luck.
>
> dmesg | grep bone:
>
> [0.00] Kernel command line: console=tty0 console=ttyO0,115200n8 
> bone_capemgr.enable_partno=BB-I2C1 root=/dev/mmcblk0p1 rootfstype=ext4 
> rootwait coherent_pool=1M quiet cape_universal=enable
> [1.908347] bone_capemgr bone_capemgr: Baseboard: 
> 'A335BNLT,00A5,4021BBBK4800'
> [1.908375] bone_capemgr bone_capemgr: 
> compatible-baseboard=ti,beaglebone-black - #slots=4
> [1.944979] bone_capemgr bone_capemgr: slot #0: No cape found
> [1.988792] bone_capemgr bone_capemgr: slot #1: No cape found
> [2.032780] bone_capemgr bone_capemgr: slot #2: No cape found
> [2.076781] bone_capemgr bone_capemgr: slot #3: No cape found
> [2.082605] bone_capemgr bone_capemgr: enabled_partno PARTNO 'BB-I2C1' 
> VER 'N/A' PR '0'
> [2.082617] bone_capemgr bone_capemgr: slot #4: override
> [2.082631] bone_capemgr bone_capemgr: Using override eeprom data at 
> slot 4
> [2.082646] bone_capemgr bone_capemgr: slot #4: 'Override Board 
> Name,00A0,Override Manuf,BB-I2C1'
> [2.082962] bone_capemgr bone_capemgr: initialized OK.
> [3.098784] bone_capemgr bone_capemgr: slot #4: Failed to resolve tree
> [3.121012] bone_capemgr bone_capemgr: loader: failed to load slot-4 
> BB-I2C1:00A0 (prio 0)
>
>
> uEnv.txt:
>
> #Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0
>
> uname_r=4.4.6-ti-r15
> #uuid=
> #dtb=
>
> ##BeagleBone Black/Green dtb's for v4.1.x (BeagleBone White just works..)
>
> ##BeagleBone Black: HDMI (Audio/Video) disabled:
> #dtb=am335x-boneblack-emmc-overlay.dtb
>
> ##BeagleBone Black: eMMC disabled:
> #dtb=am335x-boneblack-hdmi-overlay.dtb
>
> ##BeagleBone Black: HDMI Audio/eMMC disabled:
> #dtb=am335x-boneblack-nhdmi-overlay.dtb
>
> ##BeagleBone Black: HDMI (Audio/Video)/eMMC disabled:
> #dtb=am335x-boneblack-overlay.dtb
>
> ##BeagleBone Black: wl1835
> #dtb=am335x-boneblack-wl1835mod.dtb
>
> ##BeagleBone Green: eMMC disabled
> #dtb=am335x-bonegreen-overlay.dtb
>
> cmdline=coherent_pool=1M quiet cape_universal=enable
>
> #In the event of edid real failures, uncomment this next line:
> #cmdline=coherent_pool=1M quiet cape_universal=enable 
> video=HDMI-A-1:1024x768@60e
>
> ##Example v3.8.x
> #cape_disable=capemgr.disable_partno=
> #cape_enable=capemgr.enable_partno=
>
> ##Example v4.1.x
> #cape_disable=bone_capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN
> cape_enable=bone_capemgr.enable_partno=BB-I2C1
>
> ##enable Generic eMMC Flasher:
> ##make sure, these tools are installed: dosfstools rsync
> #cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh
>
>
> can anyone point me to current documentation on using device tree overlays 
> with ubuntu or give me a hint as to why it would "fail to resolve tree"?
>

-- 
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/f1540012-94d8-4c73-aedc-6504859fb3d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Which service is getting time & date on Debian Wheezy? I want to disable it.

2016-05-30 Thread Mike

On 05/30/2016 07:27 PM, John Baker wrote:
I'm trying to disable the service that gets the time and date over the 
Internet. I want to do that in hopes that the BBB will instead get the 
time and date from my Adafruit DS3231 and I suspect the BBB is trying 
for a minute to get the time and date over the Internet. with the 
result that the BBB doesn't read the time and date from my DS3231 for 
a minute.


There is no ntpdate service on the Wheezy, or I would simply disable it.
Thanks,
John
--

If systemd is enabled disabling timedatectl will do it.

#systemctl disable timedatectl

Mike

--
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/fb290141-8630-9883-e51e-b83ecde59892%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Using Beaglebone Black to monitor smoker temperature

2016-05-30 Thread athf . president
Hello all,

I am new to the beaglebone community, so I'd first like to say hello.

A little background, I have a little bit of experience with Linux Debian, 
so I'm not completely new to Linux, but I'm nowhere near knowledged yet. I 
do have extensive knowledge with Windows platforms. I also do write some 
code in C, C++, HTML, Batch scripts, and am planning on finally learning 
some Perl. 

I am working on a smoker that I have been building for some time now. I 
came across a 330 gallon oil tank and have put about 120 hours so far into 
it. I finally am approaching the point where the fabrication process is 
coming to fruition, and have installed K Type thermocouples. I have a Fluke 
temperature standard that I am using in parallel with a voltage multimeter. 
The thermocouples are a voltage standard, and return a small millivoltage 
return as temperature fluctuates

I am planning on monitoring a range of room temperature (70ish F) to 500F, 
even though that is way above the temperature I will be reaching. That 
gives me a range of 0mV to 9.5mV. I am then using Op Amps with a 175 gain 
to achieve a range of 0V to 1.8V (yes I realize it isn't 1.8V exact, but I 
am observing the 1.8V maximum).

I then found this link which helped me understand a little bit more as far 
as to viewing the AIN inputs:
https://www.linux.com/learn/how-get-analog-input-beaglebone-black

I understand that the above link is not exactly what I will be doing, but I 
think it is an OK starting as far as to view the 12 bits of information I 
will receive when the temperature changes

My question is, am I on the right track? What would be my next step as far 
as creating a continuous loop to run when beaglebone boots?

My eventual plan for this is to use a 4x40 LCD display I have and mount it 
on the smoker to give continuous temperature reading, and maybe even push 
it to an Android App to be able to monitor it remotely (802.11) from a 
reasonable distance

Thanks!
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/43716b26-1d7c-4a72-aae4-bcf8be51dad1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] enabling I2C1 on new ubuntu xenial image

2016-05-30 Thread geoskd
I created a new SDcard from 
http://elinux.org/BeagleBoardUbuntu#Ubuntu_.28xenial.29. I am trying to 
activate I2C1 on this install. I had previously used ubuntu 14.04, but it 
looks like the method for loading overlays has changed. I can only find 
documentation relating to the old method. I read and followed the 
instructions in the new /boot/uEnv.txt, but had zero luck.

dmesg | grep bone:

[0.00] Kernel command line: console=tty0 console=ttyO0,115200n8 
bone_capemgr.enable_partno=BB-I2C1 root=/dev/mmcblk0p1 rootfstype=ext4 
rootwait coherent_pool=1M quiet cape_universal=enable
[1.908347] bone_capemgr bone_capemgr: Baseboard: 
'A335BNLT,00A5,4021BBBK4800'
[1.908375] bone_capemgr bone_capemgr: 
compatible-baseboard=ti,beaglebone-black - #slots=4
[1.944979] bone_capemgr bone_capemgr: slot #0: No cape found
[1.988792] bone_capemgr bone_capemgr: slot #1: No cape found
[2.032780] bone_capemgr bone_capemgr: slot #2: No cape found
[2.076781] bone_capemgr bone_capemgr: slot #3: No cape found
[2.082605] bone_capemgr bone_capemgr: enabled_partno PARTNO 'BB-I2C1' 
VER 'N/A' PR '0'
[2.082617] bone_capemgr bone_capemgr: slot #4: override
[2.082631] bone_capemgr bone_capemgr: Using override eeprom data at 
slot 4
[2.082646] bone_capemgr bone_capemgr: slot #4: 'Override Board 
Name,00A0,Override Manuf,BB-I2C1'
[2.082962] bone_capemgr bone_capemgr: initialized OK.
[3.098784] bone_capemgr bone_capemgr: slot #4: Failed to resolve tree
[3.121012] bone_capemgr bone_capemgr: loader: failed to load slot-4 
BB-I2C1:00A0 (prio 0)


uEnv.txt:

#Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0

uname_r=4.4.6-ti-r15
#uuid=
#dtb=

##BeagleBone Black/Green dtb's for v4.1.x (BeagleBone White just works..)

##BeagleBone Black: HDMI (Audio/Video) disabled:
#dtb=am335x-boneblack-emmc-overlay.dtb

##BeagleBone Black: eMMC disabled:
#dtb=am335x-boneblack-hdmi-overlay.dtb

##BeagleBone Black: HDMI Audio/eMMC disabled:
#dtb=am335x-boneblack-nhdmi-overlay.dtb

##BeagleBone Black: HDMI (Audio/Video)/eMMC disabled:
#dtb=am335x-boneblack-overlay.dtb

##BeagleBone Black: wl1835
#dtb=am335x-boneblack-wl1835mod.dtb

##BeagleBone Green: eMMC disabled
#dtb=am335x-bonegreen-overlay.dtb

cmdline=coherent_pool=1M quiet cape_universal=enable

#In the event of edid real failures, uncomment this next line:
#cmdline=coherent_pool=1M quiet cape_universal=enable 
video=HDMI-A-1:1024x768@60e

##Example v3.8.x
#cape_disable=capemgr.disable_partno=
#cape_enable=capemgr.enable_partno=

##Example v4.1.x
#cape_disable=bone_capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN
cape_enable=bone_capemgr.enable_partno=BB-I2C1

##enable Generic eMMC Flasher:
##make sure, these tools are installed: dosfstools rsync
#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh


can anyone point me to current documentation on using device tree overlays 
with ubuntu or give me a hint as to why it would "fail to resolve tree"?

-- 
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/7056e228-9fda-4acb-88de-2f105f3b8812%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Which service is getting time & date on Debian Wheezy? I want to disable it.

2016-05-30 Thread John Baker
I'm trying to disable the service that gets the time and date over the 
Internet. I want to do that in hopes that the BBB will instead get the time 
and date from my Adafruit DS3231 and I suspect the BBB is trying for a 
minute to get the time and date over the Internet. with the result that the 
BBB doesn't read the time and date from my DS3231 for a minute.

There is no ntpdate service on the Wheezy, or I would simply disable it.
Thanks,
John

-- 
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/aee27114-e6a8-4593-909d-dc3e99ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] BeagleBone Black Kernel Main Differences

2016-05-30 Thread John Syne

> On May 30, 2016, at 8:25 AM, yolc...@gmail.com wrote:
> 
> These are a newbie questions, but it would be fine if a wiki exists with 
> clear explanantion about.
> Which are the main differences between branches (ex. v4.1 vs v4.4)?
Other than the obvious answer that V4.4 has for features/drivers than V4.1, TI 
continue to move their custom processor patches into mainline, so V4.4 will 
require less patches than V4.1. The goal is to eventually move all patches into 
mainline so that a standard kernel will work on a board with a TI processor. 
> Which are the features of every kernel branch (ex. v4.4)?
Best to look here:

http://kernelnewbies.org/Linux_4. 1

Do the same for 4.2, 4.3 and 4.4 to get an idea of what changed.
> What are the differences between 'bone-kernel', 'ti-channel', 
> 'bone-xenomai-channel' and other ones available?
bone-kernel is maintained by Robert Nelson and is targeted at the BB and BBB. 
The PRU is implemented with UIO
ti-channel is maintained by TI and is developed for all TI processors. Some 
subsystems seem to be updated sooner than the bone-kernel. The PRU is 
implemented with RPMSG/REMOTEPROC
xenomai is a dual kernel, one for realtime to achieve about 40uS latency under 
load conditions and the other is the regular Linux kernel
ti-rt used the preempt features to reduce the interrupt latency to about 100uS

> Which ones of the previous questions are available for real-time (rt)?
As I explained before, xenomai is faster, but development is way more 
complicated. In most situations, ti-rt is more than fast enough, but there are 
some drivers that don’t work properly with the ti-rt kernel. 


Regards,
John

> I'm trying to find a solution for an issue I have, and as I have read in some 
> forums, changing the kernel would help me, but I don't know which could be 
> the right kernel, so that is why I'm asking 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 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/26c3d5c7-f25c-4327-8dc1-1938fc630f4b%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/39862E08-222A-4036-B1F3-776B4343D8BF%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: BeagleBone Black Kernel Main Differences

2016-05-30 Thread William Hermans
>
> *These are a newbie questions, but it would be fine if a wiki exists with
> clear explanantion about.*
>
>-
> *Which are the main differences between branches (ex. v4.1 vs v4.4)? *
>- *Which are the features of every kernel branch (ex. v4.4)?*
>- *What are the differences between 'bone-kernel', 'ti-channel',
>'bone-xenomai-channel' and other ones available?*
>- *Which ones of the previous questions are available for real-time
>(rt)?*
>
> *I'm trying to find a solution for an issue I have, and as I have read in
> some forums, changing the kernel would help me, but I don't know which
> could be the right kernel, so that is why I'm asking here.*
>

So instead of asking questions that would require a book in text to answer.
Why don't you tell us what you need from a kernel, and if kernel x.y-z
would work for that purpose.


On Mon, May 30, 2016 at 9:30 AM, Wally Bkg  wrote:

> I went through a "trying all the kernels" about a year ago, with no
> significant improvements to the issues I was having.
>
> More details about your issues would help those with more experience than
> I give you specific advice.
>
>
> While things continue to improve, the state of the art on Beaglebone for
> hard real-time appears to be the "Machinekit" images that run a port of
> LinuxCNC on a Xenomai patched kernel and use the PRU for stepper motor
> control.
>
> Even so, I don't think a Xenomai process can do much better than ~70-100
> uSec, hence the usage of the PRU for stepper motor control which may need
> more like 20 uSec or less.
>
>
> On Monday, May 30, 2016 at 10:25:18 AM UTC-5, yol...@gmail.com wrote:
>>
>> These are a newbie questions, but it would be fine if a wiki exists with
>> clear explanantion about.
>>
>>- Which are the main differences between branches (ex. v4.1 vs v4.4)?
>>- Which are the features of every kernel branch (ex. v4.4)?
>>- What are the differences between 'bone-kernel', 'ti-channel',
>>'bone-xenomai-channel' and other ones available?
>>- Which ones of the previous questions are available for real-time
>>(rt)?
>>
>> I'm trying to find a solution for an issue I have, and as I have read in
>> some forums, changing the kernel would help me, but I don't know which
>> could be the right kernel, so that is why I'm asking 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/7eabdc86-cffa-42f0-90fd-97b85416947d%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/CALHSORqDqQ7Cd6wATEZbg3oc7DdtDfpHhRd50x5GY_vkxDgfpg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] BB-SPIDEV0 is automagically configured

2016-05-30 Thread Robert Nelson
On Mon, May 30, 2016 at 4:16 PM, Andrey Somov 
wrote:

> Hi all,
> my SPI0 is configured  and it works (the device which is connected to SPI0
> functions properly)
> Unfortunately, I do not understand how it is configured and I cannot ask
> the author.
>
> Can you please give me a hint where I can find the configuration ?
>
> root@beaglebone:~# uname -a
> Linux beaglebone 3.8.13-bone70 #1 SMP Fri Jan 23 02:15:42 UTC 2015 armv7l
> GNU/Linux
>
> 1) The overlay looks good:
> root@beaglebone:~# cat /sys/devices/bone_capemgr.9/slots
>  0: 54:PF---
>  1: 55:PF---
>  2: 56:PF---
>  3: 57:PF---
>  4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
>  5: ff:P-O-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
>  7: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-SPIDEV0
>
> 2) dmesg does not not say why BB-SPIDEV0 is loaded:
>
> [  177.147378] bone-capemgr bone_capemgr.9: part_number 'BB-SPIDEV0',
> version 'N/A'
> [  177.150423] bone-capemgr bone_capemgr.9: slot #7: generic override
> [  177.150483] bone-capemgr bone_capemgr.9: bone: Using override eeprom
> data at slot 7
> [  177.150533] bone-capemgr bone_capemgr.9: slot #7: 'Override Board
> Name,00A0,Override Manuf,BB-SPIDEV0'
> [  177.150781] bone-capemgr bone_capemgr.9: slot #7: Requesting part
> number/version based 'BB-SPIDEV0-00A0.dtbo
> [  177.150828] bone-capemgr bone_capemgr.9: slot #7: Requesting firmware
> 'BB-SPIDEV0-00A0.dtbo' for board-name 'Override Board Name', version '00A0'
> [  177.150898] bone-capemgr bone_capemgr.9: slot #7: dtbo
> 'BB-SPIDEV0-00A0.dtbo' loaded; converting to live tree
> [  177.154033] bone-capemgr bone_capemgr.9: slot #7: #2 overlays
>
> 3) /boot/uEnv.txt does NOT have any changes (everything is commented out)
>
> 4) /etc/default/capemgr does not contain SPI:
>
> # Default settings for capemgr. This file is sourced by /bin/sh from
> # /etc/init.d/capemgr.sh
>
> # Options to pass to capemgr
> CAPE=
>
> 5) /etc/init.d/capemgr.sh does not have hard-coded BB-SPIDEV0
>
> 6) I decompile am335x-boneblack.dtb but there is no BB-SPIDEV0:
>
> dtc -O dts -o ~/am335x-boneblack.dts -I dtb
> /boot/dtbs/3.8.13-bone70/am335x-boneblack.dtb
>
> root@beaglebone:~# grep part-number ~/am335x-boneblack.dts | sed
> 's/^\s\+//'
> part-number = "BB-BONE-GEIGER";
> part-number = "BB-BONE-NIXIE";
> part-number = "BB-BONE-TFT-01";
> part-number = "BB-BONE-RTC-01";
> part-number = "BB-BONE-HEXY-01";
> part-number = "BB-BONE-MRF24J40";
> part-number = "BB-BONE-RS232-01";
> part-number = "BB-BONE-GPS-01";
> part-number = "BB-BONE-EMMC-2G";
> part-number = "BB-BONELT-HDMI";
> part-number = "BB-BONELT-HDMIN";
> part-number = "BB-BONE-DVID-01";
> part-number = "BB-BONE-EMMC-2G";
> part-number = "BB-BONE-GEIGER";
> part-number = "BB-BONE-LCD3-01";
> part-number = "BB-BONE-WTHR-01";
> part-number = "BB-BONELT-HDMI";
> part-number = "BB-BONE-NIXIE";
> part-number = "BB-BONE-TFT-01";
> part-number = "BB-BONE-RTC-01";
> part-number = "BB-BONE-HEXY-01";
> part-number = "BB-BONE-MRF24J40";
> part-number = "BB-BONE-EXPTEST";
> part-number = "BB-BONE-RS232-01";
> part-number = "BB-BONE-GPS-01";
> part-number = "BB-BONELT-HDMIN";
> part-number = "2191";
> part-number = "BB-BONE-LOGIBONE";
>
> Why BB-SPIDEV0  is loaded ?
>


 cat /proc/cmdline

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/CAOCHtYgs4vf%3DzNXm%2Bbt0H7VjEDMAERaJJp0dSi2e20NvY0AL5A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] BB-SPIDEV0 is automagically configured

2016-05-30 Thread Andrey Somov
Hi all,
my SPI0 is configured  and it works (the device which is connected to SPI0 
functions properly)
Unfortunately, I do not understand how it is configured and I cannot ask 
the author.

Can you please give me a hint where I can find the configuration ?

root@beaglebone:~# uname -a
Linux beaglebone 3.8.13-bone70 #1 SMP Fri Jan 23 02:15:42 UTC 2015 armv7l 
GNU/Linux

1) The overlay looks good:
root@beaglebone:~# cat /sys/devices/bone_capemgr.9/slots
 0: 54:PF--- 
 1: 55:PF--- 
 2: 56:PF--- 
 3: 57:PF--- 
 4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
 5: ff:P-O-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
 7: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-SPIDEV0

2) dmesg does not not say why BB-SPIDEV0 is loaded:

[  177.147378] bone-capemgr bone_capemgr.9: part_number 'BB-SPIDEV0', 
version 'N/A'
[  177.150423] bone-capemgr bone_capemgr.9: slot #7: generic override
[  177.150483] bone-capemgr bone_capemgr.9: bone: Using override eeprom 
data at slot 7
[  177.150533] bone-capemgr bone_capemgr.9: slot #7: 'Override Board 
Name,00A0,Override Manuf,BB-SPIDEV0'
[  177.150781] bone-capemgr bone_capemgr.9: slot #7: Requesting part 
number/version based 'BB-SPIDEV0-00A0.dtbo
[  177.150828] bone-capemgr bone_capemgr.9: slot #7: Requesting firmware 
'BB-SPIDEV0-00A0.dtbo' for board-name 'Override Board Name', version '00A0'
[  177.150898] bone-capemgr bone_capemgr.9: slot #7: dtbo 
'BB-SPIDEV0-00A0.dtbo' loaded; converting to live tree
[  177.154033] bone-capemgr bone_capemgr.9: slot #7: #2 overlays

3) /boot/uEnv.txt does NOT have any changes (everything is commented out)

4) /etc/default/capemgr does not contain SPI:

# Default settings for capemgr. This file is sourced by /bin/sh from
# /etc/init.d/capemgr.sh

# Options to pass to capemgr
CAPE=

5) /etc/init.d/capemgr.sh does not have hard-coded BB-SPIDEV0

6) I decompile am335x-boneblack.dtb but there is no BB-SPIDEV0:

dtc -O dts -o ~/am335x-boneblack.dts -I dtb 
/boot/dtbs/3.8.13-bone70/am335x-boneblack.dtb

root@beaglebone:~# grep part-number ~/am335x-boneblack.dts | sed 's/^\s\+//'
part-number = "BB-BONE-GEIGER";
part-number = "BB-BONE-NIXIE";
part-number = "BB-BONE-TFT-01";
part-number = "BB-BONE-RTC-01";
part-number = "BB-BONE-HEXY-01";
part-number = "BB-BONE-MRF24J40";
part-number = "BB-BONE-RS232-01";
part-number = "BB-BONE-GPS-01";
part-number = "BB-BONE-EMMC-2G";
part-number = "BB-BONELT-HDMI";
part-number = "BB-BONELT-HDMIN";
part-number = "BB-BONE-DVID-01";
part-number = "BB-BONE-EMMC-2G";
part-number = "BB-BONE-GEIGER";
part-number = "BB-BONE-LCD3-01";
part-number = "BB-BONE-WTHR-01";
part-number = "BB-BONELT-HDMI";
part-number = "BB-BONE-NIXIE";
part-number = "BB-BONE-TFT-01";
part-number = "BB-BONE-RTC-01";
part-number = "BB-BONE-HEXY-01";
part-number = "BB-BONE-MRF24J40";
part-number = "BB-BONE-EXPTEST";
part-number = "BB-BONE-RS232-01";
part-number = "BB-BONE-GPS-01";
part-number = "BB-BONELT-HDMIN";
part-number = "2191";
part-number = "BB-BONE-LOGIBONE";

Why BB-SPIDEV0  is loaded ? 

Cheers,
Andrey


-- 
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/9f8d7aff-1022-44db-9741-eba1823110f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] How display the BeagleBone desktop in a TFT touchscreen with the SPI protocol?

2016-05-30 Thread Drew Fustini
Check out FBTFT:
https://github.com/notro/fbtft/wiki/LCD-Modules

Here's example of me using it:
https://www.element14.com/community/community/designcenter/single-board-computers/next-gen_beaglebone/blog/2015/11/24/bbb-fbtft-linux-44-kernel
On May 30, 2016 1:33 PM, "Oshio"  wrote:

>
> I bought, accidentally, a capacitive touch screen TFT shiel for arduino.
> After some time I was able to implement this to work BeagleBone, I
> successfully sent an image to the screen.
> My intention is to use it like a small monitor for an application that I'm
> writing in python with GTK library.
>
> TFT Arduino Shield:
>  Name:  2.8" TFT Touch Shield for Arduino v2.3.
>  TFT Driver: Il9341
>  Touch Driver: STMPE610
>
> BeagleBone:
>   BeagleBone Rev.A5A
>   Image: Debian 8.4
>
> Why use SPI? The shield receive the image by SPI.
>
> My question is:
>
> I wanna know if it's possible to configure the BeagleBone, create a script
> or python code, that allows me to send the desktop through SPI? So I can
> use my TFT like a small monitor.
>
> Best 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/a4bc85be-5800-47dd-91c9-e8a6070bdf18%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/CAEf4M_CrakZmjFq9n%3D4VF7Jpo6vW-B2ZtR5fq3zJ2vY9E6ZQ7Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] How display the BeagleBone desktop in a TFT touchscreen with the SPI protocol?

2016-05-30 Thread Oshio

I bought, accidentally, a capacitive touch screen TFT shiel for arduino. 
After some time I was able to implement this to work BeagleBone, I 
successfully sent an image to the screen.
My intention is to use it like a small monitor for an application that I'm 
writing in python with GTK library.

TFT Arduino Shield:
 Name:  2.8" TFT Touch Shield for Arduino v2.3.
 TFT Driver: Il9341
 Touch Driver: STMPE610

BeagleBone:
  BeagleBone Rev.A5A
  Image: Debian 8.4 

Why use SPI? The shield receive the image by SPI.

My question is:

I wanna know if it's possible to configure the BeagleBone, create a script 
or python code, that allows me to send the desktop through SPI? So I can 
use my TFT like a small monitor.

Best 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/a4bc85be-5800-47dd-91c9-e8a6070bdf18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: PRU RPMsg device file missing

2016-05-30 Thread benjamin.laemmle via BeagleBoard
Hi, 

now it's working;-) 
I recompiled with newer headers, but the main problem actually was that the 
FW was loaded to the pru0 instead of pru1. 

BR, JD 



Am Samstag, 28. Mai 2016 03:50:54 UTC+2 schrieb Greg:
>
> Here is the section of main.c which must be changed:
>
> /*
>  * Using the name 'rpmsg-client-sample' will probe the RPMsg sample driver
>  * found at linux-x.y.z/samples/rpmsg/rpmsg_client_sample.c
>  *
>  * Using the name 'rpmsg-pru' will probe the rpmsg_pru driver found
>  * at linux-x.y.z/drivers/rpmsg/rpmsg_pru.c
>  */
> //#define CHAN_NAME 
> "rpmsg-client-sample"
> #define CHAN_NAME   "rpmsg-pru"
>
> The above is how it should be modified to get the virtual device file to 
> appear.
> I am using the exact same TI based kernel, lab 5 works and yields two-way 
> PRU<->ARM messages.
>
> Regards,
> Greg
>

-- 
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/b783d58a-c360-47f7-bc1f-617eefaa7f36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: BeagleBone Black Kernel Main Differences

2016-05-30 Thread Wally Bkg
I went through a "trying all the kernels" about a year ago, with no 
significant improvements to the issues I was having.

More details about your issues would help those with more experience than I 
give you specific advice.


While things continue to improve, the state of the art on Beaglebone for 
hard real-time appears to be the "Machinekit" images that run a port of 
LinuxCNC on a Xenomai patched kernel and use the PRU for stepper motor 
control.   

Even so, I don't think a Xenomai process can do much better than ~70-100 
uSec, hence the usage of the PRU for stepper motor control which may need 
more like 20 uSec or less.


On Monday, May 30, 2016 at 10:25:18 AM UTC-5, yol...@gmail.com wrote:
>
> These are a newbie questions, but it would be fine if a wiki exists with 
> clear explanantion about.
>
>- Which are the main differences between branches (ex. v4.1 vs v4.4)?
>- Which are the features of every kernel branch (ex. v4.4)?
>- What are the differences between 'bone-kernel', 'ti-channel', 
>'bone-xenomai-channel' and other ones available?
>- Which ones of the previous questions are available for real-time 
>(rt)?
>
> I'm trying to find a solution for an issue I have, and as I have read in 
> some forums, changing the kernel would help me, but I don't know which 
> could be the right kernel, so that is why I'm asking 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/7eabdc86-cffa-42f0-90fd-97b85416947d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] BeagleBone Black Kernel Main Differences

2016-05-30 Thread yolcopc
These are a newbie questions, but it would be fine if a wiki exists with 
clear explanantion about.

   - Which are the main differences between branches (ex. v4.1 vs v4.4)?
   - Which are the features of every kernel branch (ex. v4.4)?
   - What are the differences between 'bone-kernel', 'ti-channel', 
   'bone-xenomai-channel' and other ones available?
   - Which ones of the previous questions are available for real-time (rt)?

I'm trying to find a solution for an issue I have, and as I have read in 
some forums, changing the kernel would help me, but I don't know which 
could be the right kernel, so that is why I'm asking 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/26c3d5c7-f25c-4327-8dc1-1938fc630f4b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Enable can0, can1, adc and spi0 with dtb-rebuilder (Debian Jessy 8.4, 4.4.9-ti-r25)

2016-05-30 Thread 'Andre Wippich' via BeagleBoard
CAN is running now :-)

There were two errors:

1) I didn't know that I have to add 

dtb=am335x-boneblack-custom.dtb

to the /boot/uEnv.txt

2) In line 43 of

src/arm/am335x-bone-pinmux-spi0.dtsi 

stands " {" instead of " {"

CAN and ADC are fine now. I've a little trouble with SPI, but this could be 
my software.



-- 
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/7c2537dd-220c-43d5-8835-c170dabb5838%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Enable can0, can1, adc and spi0 with dtb-rebuilder (Debian Jessy 8.4, 4.4.9-ti-r25)

2016-05-30 Thread 'Andre Wippich' via BeagleBoard
Hello Robert,

thank you for your response!

Unfortunately I don't get it work :-(

What I did:
1) Downloaded the new changed dtb-rebuilder with the new files to the 
beaglebone
2) Un-commented everything (can0/1, spi and adc) in 
am335x-boneblack-custom.dts
3) Went to the dtb-builder directory (cd dtb-rebuilder-4.4-ti/)
4) ./dtc-overlay.sh
5) make
6) make install
7) Downloaded and installed canutils (git clone 
https://github.com/linux-can/can-utils.git)
8) shutdown -r now

After the reboot, i tried to send a can message to my can test laptop:
cansend can0 100#deadbeef

But BBB told me: "write: Network is down"

So I started:

ip link set can0 up type can bitrate 50
cansend can0 100#deadbeef

But nothing happens. I checked all can-pins with the scope, there was no 
output signal. dmesg output looks good for me:
root@beaglebone:/sfb/devicetree# dmesg | grep can
[   32.566162] c_can_platform 481cc000.can: c_can_platform device 
registered (regs=fa1cc000, irq=208)
[   32.623212] c_can_platform 481d.can: c_can_platform device 
registered (regs=fa1d, irq=209)
[   60.805589] can: controller area network core (rev 20120528 abi 9)
[   60.819806] can: raw protocol (rev 20120528)
[  194.863977] c_can_platform 481cc000.can can0: setting BTR=1c02 BRPE=
[  194.864175] IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready


After that I tried the adc, but the expected folder 
/sys/bus/iio/devices/iio:device0 wasn't there, so I think the adc doesn't 
work too.

Can you tell me, what I did wrong?

Regards,
Andre

Am Donnerstag, 26. Mai 2016 18:26:42 UTC+2 schrieb RobertCNelson:
>
>
>
> On Thu, May 26, 2016 at 7:47 AM, wippich1981 via BeagleBoard <
> beagl...@googlegroups.com > wrote:
>
>> Hello,
>>
>> I've problems to change the device tree on debian jessie on my beaglebone 
>> black.
>>
>> After boot, I need the following interfaces working:
>> - can0
>> - can1
>> - spi0
>> - adc
>> - i2c2 disabled (to use both can interfaces, I need no cape eeprom 
>> support)
>>
>> I've installed this image (and executed apt-get update && apt-get 
>> upgrade): bone-debian-8.4-iot-armhf-2016-05-13-4gb.img
>> >Distributor ID: Debian
>> >Description:Debian GNU/Linux 8.4 (jessie)
>> >Release:8.4
>> >Codename:   jessie
>>
>> The Kernel Version is:
>> >uname -a
>> >Linux beaglebone 4.4.9-ti-r25 #1 SMP Thu May 5 23:08:13 UTC 2016 armv7l 
>> GNU/Linux
>>
>>
>> Previously I used a debian "wheezy" image with 3.8.13 kernel. But since 
>> that the device tree seems to changed a lot and now I'm stuck :-( 
>>
>> On wheezy I changed the am335x-bone-common.dtsi (get the source from 
>> https://github.com/derekmolloy/boneDeviceTree.git), for disabling i2c2 
>> and enabling can0/can1/spi/adc. Then I rebuilded the am335x-boneblack.dtb 
>> and copied it in the  
>> /boot/dtbs/3.8.13-bone71 
>> folder. To use the can-bus, I had to add the interfaces to 
>> */etc/network/interfaces*:
>>
>> auto can0
>> iface can0 can static 
>> bitrate 50 
>>  
>> auto can1 
>> iface can1 can static 
>> bitrate 50
>>
>>
>> After a reboot everything works fine. This was the result of many 
>> different tutorials about enabling periphery on beaglebone black. Propably 
>> it was not the right way, but I was glad that it finally worked :-)
>>
>> For jessie I found the dtb-rebuilder, but everything I tried to change 
>> did not work. New debian, no function - it's very frustrating...
>>
>> Can someone explain me, how to work with the dtb-rebuilder, so I can 
>> enable at least both can interfaces?
>>
>
>
> https://github.com/RobertCNelson/dtb-rebuilder/commit/d664d9d5411d2242355cd777b0211a2a3268cfbe
>
> Just un-comment what you want:
>
>
> https://github.com/RobertCNelson/dtb-rebuilder/blob/4.4-ti/src/arm/am335x-boneblack-custom.dts#L47-L65
>
> 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/f2fbb7b2-fd58-4f61-8b24-bde1dc6c9f0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Adafruit BBIO Python library

2016-05-30 Thread Drew Fustini
Thanks Robert and Pete.

I made a change to setup.py to define BBBVERSION41 based on 
platform.release() which does reflect the correct kernel version. 

I've opened a Pull Request against Pete's adafruit-beaglebone-io-python 
:
https://github.com/PeteLawler/adafruit-beaglebone-io-python/pull/1


-- 
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/b5f03e13-3ce5-415d-9212-c8d98712191a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.