Re: [beagleboard] Re: how to install cmemk kernel module on beaglebone ai

2020-02-17 Thread Robert Nelson
On Mon, Feb 17, 2020 at 7:54 PM Christopher Hansen  wrote:
>
> Thanks.  I was trying this one: Debian 10.0 2019-07-07 4GB SD IoT
>
> Ugrading the kernel with /opt/scripts/tools/update_kernel.sh worked for me, 
> but it still doesn't include the driver.
>
> Does this look right for the kernel version?  Is there any other way to get 
> the cmemk.ko driver?
>
> Chris
>
> debian@BeagleBoard-X15:~$ uname -r
> 4.19.94-ti-r35

cmem was added to the v4.19.x-ti kernel around: Sep 25, 2019 (after 2019-07-07)

https://github.com/RobertCNelson/boot-scripts/commit/8f20cac93cbbec2ab705333a543903287ff9e7d4#diff-026364be61dc00428c22a7d18643d5c1

So...  From:

/opt/scripts/

run "git pull"

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/CAOCHtYimjcVuzHZGr-CrYHwNVnwWM2XJEvvuCqGMfsDKsXduDg%40mail.gmail.com.


[beagleboard] Re: how to install cmemk kernel module on beaglebone ai

2020-02-17 Thread Christopher Hansen
Thanks.  I was trying this one: Debian 10.0 2019-07-07 4GB SD IoT 


Ugrading the kernel with /opt/scripts/tools/update_kernel.sh worked for me, 
but it still doesn't include the driver.  

Does this look right for the kernel version?  Is there any other way to get 
the cmemk.ko driver?

Chris

debian@BeagleBoard-X15:~$ uname -r
4.19.94-ti-r35


On Monday, February 17, 2020 at 12:43:02 AM UTC-8, Stephan Böck wrote:
>
>
>
> Am Freitag, 14. Februar 2020 22:31:30 UTC+1 schrieb Christopher Hansen:
>>
>> I'm trying to run the opencl examples.  Where can I find the cmemk.ko 
>> module?
>>
>
> As far as I can tell, cmemk should be already running if you use one of 
> these images: https://beagleboard.org/latest-images
>
>
> Nevertheless, when I changed the kernel on my system, I had some issues 
> getting cmemk running. For me running /opt/scripts/tools/update_kernel.sh 
> fixed this. 
>
> Stephan
>

-- 
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/1b1bb5bc-2b40-4c8b-91ca-50b1dbefe2be%40googlegroups.com.


Re: [beagleboard] JTAG debug on BeagleBone Black?

2020-02-17 Thread 'Mark Lazarewicz' via BeagleBoard
And if you have a white no soldering

Sent from Yahoo Mail on Android 
 
  On Mon, Feb 17, 2020 at 2:03 PM, Hugo van den Brand 
wrote:   The system reference mentions which JTAG connector you need:
https://github.com/beagleboard/beaglebone-black/wiki/System-Reference-Manual#79_JTAG_Connector

Op ma 17 feb. 2020 16:27 schreef Drew Fustini :

Hello, I would like to figure out something more sophisticated than printk for 
debugging the kernel on BeagleBone.  (I'm trying to the new gpiolib 
pull-up/down options to the omap gpio driver).
Is anyone using JTAG debug on the BBB?
If so, what JTAG adapter are you using, and what connector did you solder to 
the Beagle?
ThanksDrew



-- 
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_DAZyR-00emfyQJ5oGke1_CnW4k14dAJ4NKkxVHOfF2pA%40mail.gmail.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/CAHK0gJ1Kt6yD9aawiKXqQ_QHMr4u6%3Dqg1poJ4py%3DQn-3GU-etw%40mail.gmail.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/814993290.4367693.1581971519439%40mail.yahoo.com.


Re: [beagleboard] JTAG debug on BeagleBone Black?

2020-02-17 Thread Hugo van den Brand
The system reference mentions which JTAG connector you need:

https://github.com/beagleboard/beaglebone-black/wiki/System-Reference-Manual#79_JTAG_Connector


Op ma 17 feb. 2020 16:27 schreef Drew Fustini :

> Hello, I would like to figure out something more sophisticated than printk
> for debugging the kernel on BeagleBone.  (I'm trying to the new gpiolib
> pull-up/down options to the omap gpio driver).
>
> Is anyone using JTAG debug on the BBB?
>
> If so, what JTAG adapter are you using, and what connector did you solder
> to the Beagle?
>
> Thanks
> Drew
>
>
> --
> 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_DAZyR-00emfyQJ5oGke1_CnW4k14dAJ4NKkxVHOfF2pA%40mail.gmail.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/CAHK0gJ1Kt6yD9aawiKXqQ_QHMr4u6%3Dqg1poJ4py%3DQn-3GU-etw%40mail.gmail.com.


[beagleboard] Re: Can not connect via USB

2020-02-17 Thread KenUnix
Chris,

If you don't have a router or Ethernet switch and only have access
via your computers WiFi then what I did was make a change to
one file on the BBB and one change to your P.C.'s network 
connection for the BBB.

sudo nano /etc/network/interfaces

iface usb0 inet static
address 192.168.137.2
netmask 255.255.0.0
network 192.168.137.0
gateway 192.168.137.1
dns-nameservers 8.8.8.8
post-up route add default gw 192.168.137.1

Change entry on P.C. Reboot BBB. Now access
BBB using 192.168.137.2
ssh to 192.168.137.2
Firefox to 192.168.137.2
Putty ssh to 192.168.137.2

This change is persistent any only needs to be
done once. Not complicated and works great.

After changes are made you can now get the
date / time automatically. Simply install ntpdate.

sudo apt update
sudo apt install ntpdate

Then one time

sudo cp -f /usr/share/zoneinfo/America/New_York /etc/localtime
Another example
sudo cp -f /usr/share/zoneinfo/Europe/Berlin /etc/localtime

Then at boot time

sudo /usr/sbin/ntpdate -b -s -u 0.north-america.pool.ntp.org

The above can be put in a shell script. Check for correct
timezone and date using

date

If wrong see zoneinfo directory to find YOUR time zone.
If you are not in North America change

0.north-america.pool.ntp.org

To see YOUR country. See

https://www.pool.ntp.org/zone/@

The above works, works great and is not over complicated.
And only needs to be done once then your BBB will have
the correct date / time and Internet access.

I also added a small program that's been around for years
in Linux / Unix called 'ed' a line editor. It's small and fast
supports 'here' input and redirection. To get it

sudo apt install ed

See https://www.computerhope.com/unix/ued.htm
And https://www.gnu.org/software/ed/manual/ed_manual.html


>
>
>

-- 
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/789fa724-1cd0-4475-b106-6f509a21d81a%40googlegroups.com.


[beagleboard] JTAG debug on BeagleBone Black?

2020-02-17 Thread Drew Fustini
Hello, I would like to figure out something more sophisticated than printk
for debugging the kernel on BeagleBone.  (I'm trying to the new gpiolib
pull-up/down options to the omap gpio driver).

Is anyone using JTAG debug on the BBB?

If so, what JTAG adapter are you using, and what connector did you solder
to the Beagle?

Thanks
Drew

-- 
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_DAZyR-00emfyQJ5oGke1_CnW4k14dAJ4NKkxVHOfF2pA%40mail.gmail.com.


[beagleboard] Re: PRU example does not work

2020-02-17 Thread Stephan Böck
I did some further investigations.

It's not a problem of the examples, I guess. If I directly address the PRUs 
via the linux system with

echo 'start' > /sys/class/remoteproc/remoteprocX/state

I get a write error: Invalid argument. 
My COM connections says

remoteproc remoteprocX: Boot failed: -22

for such an event. 


This occurs for all PRU cores except remoteproc1 (PRU1_1). If I start this 
one, the mentioned blink example starts.

I checked the present firmware and uevent entrys for every single core and 
they seem to be fine. 

Has anyone a clue what may block the PRUs right from a restart?

Thanks 
Stephan

-- 
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/68e01c8a-d082-4234-9074-f36ffc670d99%40googlegroups.com.


[beagleboard] Re: Can not connect via USB

2020-02-17 Thread Chris Green
KenUnix  wrote:
> [-- multipart/alternative, encoding 7bit, 196 lines --]
> 
> 
> Actually what I had to do follows for Internet access. Took some trial and 
> error.
> 
> 
> Out of the box the IP addresses 192.168.7.x are only good between two 
> devices.
> 
> Example a Laptop and the BBB.
> 
True enough, the USB link is handy but can cause lots of confusion.


> 
> If you want Internet access to do updates or whatever do the following
> 
[skip complicated way of doing it]

Simply connect an ethernet (UTP Cat5 or Cat6) cable from the RJ45
socket on the BBB to your router, the BBB will have then internet
access (assuming your router is set up to provide internet access of
course).

The router (if as is usually the way) runs as a DHCP server and will
assign an IP address to the BBB.  If you want to access the BBB from
another computer on your router's LAN then you need to find out what
this address is.

-- 
Chris Green
·

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/la9qhg-m8g.ln1%40esprimo.zbmc.eu.


[beagleboard] Re: how to install cmemk kernel module on beaglebone ai

2020-02-17 Thread Stephan Böck


Am Freitag, 14. Februar 2020 22:31:30 UTC+1 schrieb Christopher Hansen:
>
> I'm trying to run the opencl examples.  Where can I find the cmemk.ko 
> module?
>

As far as I can tell, cmemk should be already running if you use one of 
these images: https://beagleboard.org/latest-images


Nevertheless, when I changed the kernel on my system, I had some issues 
getting cmemk running. For me running /opt/scripts/tools/update_kernel.sh 
fixed this. 

Stephan

-- 
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/9ee66851-7f69-4686-813c-0a310c682f91%40googlegroups.com.