Re: [beagleboard] Re: Beaglebone Black PRU Troubles

2016-11-28 Thread Jason Reeder
Greg and Zach, Check out the two tarballs in this drive link: https://drive.google.com/drive/folders/0B_OVOhSEksP8MDFiT0x6YU1EZG8?usp=sharing - PRU_Halt_Assembly.tar.gz - Contains a project to drop into /opt/source/pru-software-support-package/examples/am335x/ that is an ass

Re: [beagleboard] PRU Mem Map - General Registers ,Shared Ram,Data Ram

2016-11-28 Thread dinuxbg
Unfortunately I have not dealt with python for Pru. On Tuesday, November 29, 2016 at 1:18:50 AM UTC+2, Neil Jubinville wrote: > Thx, correct on many accounts.  I found it strange that there was no default > way load in a 32 bit value given it is the default register size.   > > > Love the macro

Re: [beagleboard] Re: Beaglebone Black PRU Troubles

2016-11-28 Thread Jason Reeder
Greg and Zach, Check out the two tarballs in this drive link: https://drive.google.com/drive/folders/0B_OVOhSEksP8MDFiT0x6YU1EZG8?usp=sharing - PRU_Halt_Assembly.tar.gz - Contains a project to drop into /opt/source/pru-software-support-package/examples/am335x/ that is an ass

Re: [beagleboard] Re: Beaglebone Black PRU Troubles

2016-11-28 Thread Jason Reeder
Greg and Zach, Check out the two tarballs in this drive link: https://drive.google.com/drive/folders/0B_OVOhSEksP8MDFiT0x6YU1EZG8?usp=sharing - PRU_Halt_Assembly.tar.gz - Contains a project to drop into /opt/source/pru-software-support-package/examples/am335x/ that is an as

Re: [beagleboard] Re: Beaglebone Black PRU Troubles

2016-11-28 Thread Greg
I believe asmpru is the assembler code compiler which is part of the PRU compilation system which is described in the C/C++ Compiler manual. pasm is the older assembler which existed prior to the C compiler. There are differences in the assembly instructions used with pasm versus the more recent

[beagleboard] Re: Compare kernel versions? (re: Adafruit_BBIO ADC bug)

2016-11-28 Thread Drew Fustini
On Nov 28, 2016 8:46 AM, "Robert Nelson" wrote: > yay, sounds like a bug with the native compiler. ;) What do you mean by native compiler bug? Are your builds done on ARM whereas I am cross compiling on my Intel PC? Thanks, Drew -- For more options, visit http://beagleboard.org/discuss --- Y

Re: [beagleboard] PRU Mem Map - General Registers ,Shared Ram,Data Ram

2016-11-28 Thread Neil Jubinville
Thx, correct on many accounts. I found it strange that there was no default way load in a 32 bit value given it is the default register size. Love the macro! I am going to adopt it :) I'll likely now dig into the next level up which implementing the same in pru-gcc / c code vs assembly. G

Re: [beagleboard] Beagle Board X-15 Restore OS

2016-11-28 Thread Robert Nelson
On Mon, Nov 28, 2016 at 1:51 PM, Joseph wrote: > I have a Beagle Board X-15. > > I attempted to load Java on it, and ran out of space. I read blogs, and > followed an attempt to remove Java; but ended up with a beagle board that > only shows a blinking cursor on the terminal screen (and nothing m

[beagleboard] Beagle Board X-15 Restore OS

2016-11-28 Thread Joseph
I have a Beagle Board X-15. I attempted to load Java on it, and ran out of space. I read blogs, and followed an attempt to remove Java; but ended up with a beagle board that only shows a blinking cursor on the terminal screen (and nothing more). I would like to load a new image on the Beag

Re: [beagleboard] Re: Beaglebone Black PRU Troubles

2016-11-28 Thread Zach B
Greg, Thanks for the info. That linker primer helped a bit with what is exactly going on inside of the linker, at least to the level that I can understand. I'm still working through getting a single assembly file to work but for now I figured out a workaround with an empty c file. What is asmpr

Re: [beagleboard] Issue with WiFi USB adapter on BBB

2016-11-28 Thread Robert Nelson
On Mon, Nov 28, 2016 at 2:42 PM, Robert Nelson wrote: > On Mon, Nov 28, 2016 at 12:09 PM, Robert Nelson > wrote: >> On Mon, Nov 28, 2016 at 12:03 PM, AG M wrote: >>> Thank you. That suggestion worked. I installed a pre-compiled kernel >>> 4.4.27-ti-r62. >>> >>> I'm trying to find a kernel which

Re: [beagleboard] Issue with WiFi USB adapter on BBB

2016-11-28 Thread Robert Nelson
On Mon, Nov 28, 2016 at 12:09 PM, Robert Nelson wrote: > On Mon, Nov 28, 2016 at 12:03 PM, AG M wrote: >> Thank you. That suggestion worked. I installed a pre-compiled kernel >> 4.4.27-ti-r62. >> >> I'm trying to find a kernel which supports these 3 things >> >> 1. Runs Xenomai >> 2. Power manage

[beagleboard] Re: Startup Scripts

2016-11-28 Thread Stephane Charette
> > I am trying to run some simple startup shell scripts when the system boots. > One thing I tend to use is the @reboot keyword in cron. For example: *cat /etc/cron.d/startup_scripts* MAILTO="" PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin @reboot root /home/stephane/scrip

Re: [beagleboard] Issue with WiFi USB adapter on BBB

2016-11-28 Thread Robert Nelson
On Mon, Nov 28, 2016 at 12:03 PM, AG M wrote: > Thank you. That suggestion worked. I installed a pre-compiled kernel > 4.4.27-ti-r62. > > I'm trying to find a kernel which supports these 3 things > > 1. Runs Xenomai > 2. Power management with the wireless adapter (the current issue) > 3. Power man

Re: [beagleboard] Issue with WiFi USB adapter on BBB

2016-11-28 Thread AG M
Thank you. That suggestion worked. I installed a pre-compiled kernel *4.4.27-ti-r62.* I'm trying to find a kernel which supports these 3 things 1. Runs Xenomai 2. Power management with the wireless adapter (the current issue) 3. Power management features in kernel (CPU freq, CPU idle, Suspend-to-

Re: [beagleboard] PRU Mem Map - General Registers ,Shared Ram,Data Ram

2016-11-28 Thread dinuxbg
Hi Neil, The "r2 = 20" syntax does *not* load a value in a register. It is for setting symbols - see https://sourceware.org/binutils/docs/as/Setting-Symbols.html#Setting-Symbols . You probably meant to load r2 with a constant integer: ldi r2, %lo(20) ldi, r2.w0 %hi_rlz(20)

Re: [beagleboard] Issue with WiFi USB adapter on BBB

2016-11-28 Thread Robert Nelson
On Mon, Nov 28, 2016 at 11:06 AM, AG M wrote: > Thanks Robert. That command is not working. This is what I get when I run > that command (my wireless interface is wlan1) > > root@beaglebone:~# iwconfig wlan1 power off > Error for wireless request "Set Power Management" (8B2C) : > SET failed on

Re: [beagleboard] Issue with WiFi USB adapter on BBB

2016-11-28 Thread AG M
Thanks Robert. That command is not working. This is what I get when I run that command (my wireless interface is wlan1) *root@beaglebone:~# iwconfig wlan1 power off* *Error for wireless request "Set Power Management" (8B2C) :* *SET failed on device wlan1 ; Operation not permitted.* I tried th

[beagleboard] Re: Compare kernel versions? (re: Adafruit_BBIO ADC bug)

2016-11-28 Thread Robert Nelson
On Mon, Nov 28, 2016 at 12:56 AM, Drew Fustini wrote: > On Thu, Nov 24, 2016 at 11:56 AM, Robert Nelson > wrote: >> You'll have to use yakbuild*, start with 4.4.30-ti-r66 and in >> ./KERNEL/, git revert one at a time.. > > The odd thing is that the issue does not occur with the 4.4.30-ti-r66 > k

[beagleboard] Startup Scripts

2016-11-28 Thread rickyc8888
Hi, I am trying to run some simple startup shell scripts when the system boots. It used to be an easy task by putting the script in /etc/init.d. But now with systemd I have no idea how this can be done. I've tried to put them in etc/rc.local, etc/init.d, but the scripts don't seem to run. I've

Re: [beagleboard] Kernel 4.4.31-bone-rt-r14 sgx-startup.sh - not setting permissions

2016-11-28 Thread Moscowbob
This is confusing me even more now - I added a "stat" on /dev/pvrsrvkm in the sgx-startup.sh, at the end before the "start" finishes and the permissions areset correctly - debian@arm:~$ systemctl status sgx-startup ● sgx-startup.service - LSB: Start daemon at boot time Loaded: loaded (/etc/ini