Re: [beagleboard] Re: Launch an application at startup with root privileges

2019-05-22 Thread Destroy
Il giorno giovedì 23 maggio 2019 07:37:58 UTC+2, Robert Heller ha scritto: > > At Thu, 23 May 2019 00:58:44 -0400 beagl...@googlegroups.com > wrote: > > > > > On Wed, 22 May 2019 14:11:39 -0700 (PDT), "Mark A. Yoder" > > > declaimed the > > following: > > > > >If you run > > > > > >*sudo

Re: [beagleboard] Re: Launch an application at startup with root privileges

2019-05-22 Thread Destroy
Thanks to all of the answers. Yes I have to work on the GPIOs, but I'm a newbie on linux and beaglebone, could you explain me how to do join GPIO group? Thank you. Il giorno giovedì 23 maggio 2019 07:37:58 UTC+2, Robert Heller ha scritto: > > At Thu, 23 May 2019 00:58:44 -0400 beagl...@googlegro

Re: [beagleboard] Re: Launch an application at startup with root privileges

2019-05-22 Thread Robert Heller
At Thu, 23 May 2019 00:58:44 -0400 beagleboard@googlegroups.com wrote: > > On Wed, 22 May 2019 14:11:39 -0700 (PDT), "Mark A. Yoder" > declaimed the > following: > > >If you run > > > >*sudo visudo* > > > >The add the following to the end. > > > >debian ALL=(ALL) NOPASSWD: /path/to/command/to/s

[beagleboard] Re: Launch an application at startup with root privileges

2019-05-22 Thread Mark A. Yoder
If you run *sudo visudo* The add the following to the end. debian ALL=(ALL) NOPASSWD: /path/to/command/to/start.sh you can use *sudo* without giving a password. I think then your ExecStart can be ExecStart=sudo /usr/bin/scriptname.s --Mark On Wednesday, May 22, 2019 at 7:41:04 AM UTC-4,

Re: [beagleboard] Trouble enabling pru-rproc uBoot overlay

2019-05-22 Thread Hugh Frater
Interesting that it works for you... Might be something to do with our 50Hz wall power :p I'll get back on this when I'm in work tomorrow and I'll try updating the bootloader and get you a fresh output from version.sh -- For more options, visit http://beagleboard.org/discuss --- You received

Re: [beagleboard] fixdep wrong format

2019-05-22 Thread Robert Nelson
On Tue, May 21, 2019 at 11:49 PM Dave wrote: > > When I do that: > > I am get > > apt install linux-headers-5.1.0-rc3-bone0 > Reading package lists... Done > Building dependency tree > Reading state information... Done > linux-headers-5.1.0-rc3-bone0 is already the newest version (1xross). > 0 upg

[beagleboard] BeagleBone AI and using the DSP cores for real time control

2019-05-22 Thread rtsraspberrypi
Greetings all! With the release of the BeagleBone AI, I see that it has two DSP cores. --> Is it possible to use Linux on the Arm cores (as per "normal" operation), but use the two DSP cores for a real time application (such as 100kHz sampling motor control)? How is this done, in terms of

Re: [beagleboard] Trouble enabling pru-rproc uBoot overlay

2019-05-22 Thread Robert Nelson
On Wed, May 22, 2019 at 12:59 PM Hugh Frater wrote: > > Hi Robert, I'm no longer in front of the hardware for today but you can see > the output of version.sh on my thread over in the PRU section. You can also > see I tried zero-ing out the mmc in case that had a version of uboot that > didn't

Re: [beagleboard] Trouble enabling pru-rproc uBoot overlay

2019-05-22 Thread Hugh Frater
Hi Robert, I'm no longer in front of the hardware for today but you can see the output of version.sh on my thread over in the PRU section. You can also see I tried zero-ing out the mmc in case that had a version of uboot that didn't support overlays. Didn't make a difference. -- For more optio

Re: [beagleboard] Trouble enabling pru-rproc uBoot overlay

2019-05-22 Thread Robert Nelson
On Wed, May 22, 2019 at 7:43 AM Hugh Frater wrote: > > This thread is a followup to my post over in the PRU section. Tl;Dr - latest > stretch IOT image using 4.14.108-ti-r104 wouldn't enable the PRUs when I > un-commented: > > ###pru_rproc (4.14.x-ti kernel) > #uboot_overlay_pru=/lib/firmware/AM

[beagleboard] Trouble enabling pru-rproc uBoot overlay

2019-05-22 Thread Hugh Frater
This thread is a followup to my post over in the PRU section. Tl;Dr - latest stretch IOT image using 4.14.108-ti-r104 wouldn't enable the PRUs when I un-commented: ###pru_rproc (4.14.x-ti kernel) #uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo I attached a serial debug heade

[beagleboard] Re: The system cannot be accessed because bbb update system failed,and PC don't display equipment。

2019-05-22 Thread zjs9910
在 2019年5月19日星期日 UTC+8上午7:19:49,zjs...@126.com写道: > > 1.when bbb Insert the sd card ,Simultaneous the bbb display 4 LEDs > (led0~led3) flashing.if bbb don't insert the sd card.the bbb display > bright. > 2.PC don't display equipment。 > 3.login web: 192.168.7.2,PC display:'connection time out

[beagleboard] Launch an application at startup with root privileges

2019-05-22 Thread Destroy
Hello, I must to launch an application at startup with root privileges, I have found this https://stackoverflow.com/questions/28854705/executing-a-script-on-startup-using-beaglebone-black it work but without the privileges. How can I resolve? Thank you in advance. -- For more options, visit htt