Re: [beagleboard] Re: BBGW and Robotics Cape

2017-03-27 Thread Andrew DeVries
My fork is located here. 
https://github.com/Andrewiski/Robotics_Cape_Installer 

 Library compiles and I think I have the model detected and the pins 
excluded even in the pru0 but stuck on compiling my new overlays so I can 
test.

Doing something stupid here I am sure but have never had to compile an 
overlay before.

in install.sh

echo "dts building the BBGW overlay"
cp device_tree/am335x-roboticscape-bbgw.dtsi 
/opt/source/dtb-4.4-ti/src/arm/am335x-roboticscape-bbgw.dtsi
cp device_tree/am335x-bonegreen-wireless-roboticscape.dts 
/opt/source/dtb-4.4-ti/src/arm/am335x-bonegreen-wireless-roboticscape.dts
dtc -o "/boot/dtbs/$UNAME/$TREE_BBGW_RC" -O dtb -i 
"/opt/source/dtb-4.4-ti/src/arm"   
/opt/source/dtb-4.4-ti/src/arm/am335x-bonegreen-wireless-roboticscape.dts


keep getting
Error: am335x-bonegreen-wireless-roboticscape.dts:18.1-9 syntax error
FATAL ERROR: Unable to parse input tree

even if I try to compile an existing dts in this folder.

this padawon is in search of help from the master


On Saturday, March 25, 2017 at 6:09:36 PM UTC-4, RobertCNelson wrote:
>
> On Sat, Mar 25, 2017 at 9:45 AM, Andrew DeVries 
>  wrote: 
> > Thanks for the reply, Sorry from the post I thought the issue was just 
> with 
> > the battery monitor code knocking out the Wireless and when I looked at 
> the 
> > updated source code looked like that module was disabled if not Beagle 
> Bone 
> > Black. I am not using his cape just trying to use his libraries. We 
> already 
> > have a bunch of robotics chassis but with large motors that can draw as 
> high 
> > as 6 amps so can't use BB Blue as PWM pins don't come out to pins.  We 
> > already have 6 BBGW and drew up an expanded Grove Cape that brought out 
> all 
> > the Robotics Cape Pins added servo pins etc into groups to go to our 
> motor 
> > controllers etc. 
> > 
> > So if I want to move forward using the Robotics Cape Code Base will it 
> just 
> > be avoiding this one conflict pin or is there a lot of pins. In my case 
> I 
> > have no battery monitor as not using his cape so easy enough to roll my 
> own 
> > overlay and avoid this pin. 
> > 
> > Any other gothcha's between the Beagle Bone Green Wireless and the 
> Robotics 
> > Capes that you know of? 
>
> So librobotic's uses dev mem and just takes that pin on load.  We just 
> need to patch librobotic's on the bbgw to not take that specific pin. 
> (side note, i didn't even look on the robotic's schematic, it might be 
> a pin we can't redirect..) 
>
> 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/852e4349-afa0-4849-b6b9-8194b8bdca2a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: error messages on serial console during BBGW bootup

2017-03-27 Thread Robert Nelson
On Mon, Mar 27, 2017 at 12:08 PM,   wrote:
> I am also facing similar issues of not being able to boot the BBGW. Can you
> recommend which debugger/cable did you use. I tries searching the net but
> found only your page.

http://elinux.org/Beagleboard:BeagleBone_Black_Serial

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/CAOCHtYhJNbGX%3DnP-RM%3D%3DQoh2TUmfgup_1CYmzZRacFTPmjSx2Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Using prussdrv.h etc, from Eclipse LUNA IDE

2017-03-27 Thread zombiehull
Hi;

I am hoping someone can help with my question.
I am a HW engineer that is learning Linux and C programming on the BBB.
I have done bare metal type programming on Microchip devices so this is a 
fairly big jump.

I have code running that handles a nibble wide interface to a 4 x 20 LCD.
Also have Adafruit mini pan-tilt working on the Adafruit 8 channel Servo 
feather wing.

So now I want to work with the PRUs. I have gotten C code to run on both 
PRU 0 & 1.
I did this first on the BBB itself. I then moved to TI CCSv7 and got the C 
compiler working.
My PRU code from that also works. 

My next step was to move prussdrv.h and associated files (i.e. Host side) 
to the Eclipse LUNA IDE.
As I mentioned, my previous C efforts on LUNA are working, however I cannot 
get the app loader files installed properly.
I have for the time being added the files as source files and included them 
as user includes.
I would much rather install these properly.

So I am on Eclipse Luna IDE Service Release 2 (4.4.2).
I downloaded the "am335x_pru_package-master" to get the application loader 
programs, for example prussdrv.h. On the beagle bone this installs and runs 
fine, no library or include issues. As I mentioned I have not been able to 
get these installed with LUNA. No settings for includes, libraries, etc 
have worked for me.

If someone has the libraries/files from this package working on LUNA can 
you let me now how this is accomplished. 

My goal is to do development on my PC (using Virtualbox to get a Linux 
environment) and IDEs for both PRU and ARM development.
I am successfully using LUNA IDE for ARM code.
I have also successfully used TIs CCSv7 (this is also on Eclipse IDE) to 
develop and deploy PRU code albeit very simple code so far.

So how do I use "am335x_pru_package-master" in a Luna IDE environment. I am 
not doing something correctly with the handling of the libraries and 
includes.

Thanks
Dan



thanks
Dan

-- 
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/6b63009e-a0e7-47c3-9305-7f6b5ce5a362%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: BBB CAN Baud Rate

2017-03-27 Thread briantilley97
What drivers/libraries have you used to get CAN working on the BeagleBone?

Thanks, Brian

On Monday, June 9, 2014 at 5:51:57 PM UTC-5, Edwin Silva wrote:
>
> I have the Beaglebone Black tested and working on a CAN bus at 33.766k. 
>  At the moment, I do not have a way to test different baud rates.  What 
> other data rates would be acceptable for the Beaglebone Black?  Can the BBB 
> communicate CAN at 100Mb/s or faster?
>
> 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/4013ca87-ffe7-4fc1-b3f1-ded2a8259919%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: error messages on serial console during BBGW bootup

2017-03-27 Thread amitbhatia76
I am also facing similar issues of not being able to boot the BBGW. Can you 
recommend which debugger/cable did you use. I tries searching the net but 
found only your page.

-Amit

On Thursday, 8 September 2016 07:40:50 UTC-4, Stephane Charette wrote:
>
> The serial debug cable I ordered for my BBGW finally got here.  I 
> downloaded RCN's most recent 
> build, BBGW-blank-debian-8.5-seeed-iot-armhf-2016-09-04-4gb.img.
>
> I did see a few errors on the serial console during the installation:
>
> Creating journal (16384 blocks): done
> Writing superblocks and filesystem accounting information: done 
> Formatting: /dev/mmcblk1 complete
> ...cut...
> [  116.630830] 6144 pages cma reserved
> [  116.634355] edma 4900.edma: edma_prep_slave_sg: Failed to allocate 
> a descriptor
> [  116.642061] omap_hsmmc 481d8000.mmc: prep_slave_sg() failed
> [  116.647671] omap_hsmmc 481d8000.mmc: MMC start dma failure
> [  117.305788] mmcblk1: unknown error -1 sending read/write command, card 
> status 0x900
> [  117.313590] blk_update_request: I/O error, dev mmcblk1, sector 4720640
> [  117.320212] blk_update_request: I/O error, dev mmcblk1, sector 4720648
> [  117.326810] blk_update_request: I/O error, dev mmcblk1, sector 4720656
> [  117.333405] blk_update_request: I/O error, dev mmcblk1, sector 4720664
>
> The installation does seem to continue, and it shuts down cleanly at the 
> end.  Not sure if those I/O errors are important.
>
> When I reboot it without the micro SD card, things seem OK, though I see 
> this:
>
> [2.169781] PM: Cannot get wkup_m3_ipc handle
> [2.289107] bone_capemgr bone_capemgr: slot #0: No cape found
> [2.333102] bone_capemgr bone_capemgr: slot #1: No cape found
> [2.377098] bone_capemgr bone_capemgr: slot #2: No cape found
> [2.421098] bone_capemgr bone_capemgr: slot #3: No cape found
> Loading, please wait...
> fsck: error 2 (No such file or directory) while executing fsck.ext4 for 
> /dev/mmcblk1p1
> fsck exited with status code 8
>
> I'm then presented with the usual login prompt.  When I login and run 
> ifconfig, I see no wireless device.  But if I wait a minute or so and try 
> again, the wireless eventually does show up.
>
> Is this par for the course?  Should I be worried about any of these errors?
>
> Stéphane
>

-- 
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/20ab747d-543f-4c88-b7ea-7f20f2bc8db5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Seed Grove MiCS-6814 and Python

2017-03-27 Thread asmru2016
Hi any luck with this ? I'm also trying to get to work on BB

On Tuesday, 7 March 2017 20:15:11 UTC+4, Davide Aguiari wrote:
>
> Hi everyone.
> I'm trying to read my Seed Grove Multichannel gas sensor. (
> http://wiki.seeed.cc/Grove-Multichannel_Gas_Sensor/) 
> I now, in the webpage the're a red X on Beaglebone, but I thought It was 
> due to lack of python library.
>
> So I started coding from the Arduino cpp library (that works): 
> https://github.com/Seeed-Studio/Mutichannel_Gas_Sensor/blob/master/MutichannelGasSensor.cpp
>
> If I plug the groove, I see it with i2cdetect -r 2:
>
> root@beaglebone:~# i2cdetect -r 2
> WARNING! This program can confuse your I2C bus, cause data loss and worse!
> I will probe file /dev/i2c-2 using read byte commands.
> I will probe address range 0x03-0x77.
> Continue? [Y/n] 
>  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
> 00:  -- 04 -- -- -- -- -- -- -- -- -- -- -- 
> 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
> 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
> 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
> 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
> 50: -- -- -- -- UU UU UU UU -- -- -- -- -- -- -- -- 
> 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
> 70: -- -- -- -- -- -- -- -- 
>
>
>
> At the moment I'm using Adafruit_I2C library to write/read.
>
> This is my Class:
>
> class MutichannelGasSensor:
> address = None
>
> def __init__(self, mode=1, address=0x04, i2c=None, **kwargs):
> i2c = Adafruit_I2C(0x04, busnum=2, debug=True)
>
> self._device = i2c
> self.address=0x04
> self.adcValueR0_NH3_Buf = 0;
> self.adcValueR0_CO_Buf = 0; 
> self.adcValueR0_NO2_Buf = 0;
>
> #POWER ON
> dta_test = [11,1]
> self._device.writeList(self.address, dta_test)
>
> self.calcGas()
>
>
>   
> def calcGas(self):
> # how to calc ratio/123
> #ledON
> dta_test = [10, 1]
> self._device.writeList(self.address, dta_test)
> time.sleep(1)
>
> A0_0 = self.get_addr_dta(6, 8)
> time.sleep(1)
> A0_1 = self.get_addr_dta(6, 10)
> time.sleep(1)
> A0_2 = self.get_addr_dta(6, 12)
>
>
> print "A0_0: " + str(A0_0)
> print "A0_1: " + str(A0_1)
> print "A0_2: " + str(A0_2)
> 
>
>
> def get_addr_dta(self, addr_reg, __dta):
> self._device.write8(0x04, addr_reg)  
> self._device.write8(0x04, __dta)
>
> testArray = self._device.readList(self.address, 2)
> dta=0
> dta = testArray[0]
> dta <<= 8
> dta += testArray[1]
>
> if addr_reg == 8: #CH_VALUE_NH3
> self.adcValueR0_NH3_Buf = dta;
> elif addr_reg == 10: #CH_VALUE_CO
> self.adcValueR0_CO_Buf = dta; 
> elif addr_reg == 12: #CH_VALUE_NO2
> self.adcValueR0_NO2_Buf = dta;
> 
> return dta
>
> The problem is when I call calcGas() and get_addr_dta(6, 8) , 
> get_addr_dta(6, 10) and get_addr_dta(6, 12):
>
> I wrote in three different registers, but I read always the same value 
> from it (A0_0, A0_1 and A0_2) while they're differente on an Arduino.
>
> Why?
>
> The same function in Arduino is:
>
> unsigned int MutichannelGasSensor::get_addr_dta(unsigned char addr_reg, 
> unsigned char __dta){   
> START: 
> Wire.beginTransmission(i2cAddress);
> Wire.write(addr_reg);
> Wire.write(__dta);
> Wire.endTransmission();// stop transmitting
> 
> Wire.requestFrom(i2cAddress, 2);
> 
> unsigned int dta = 0; 
> unsigned char raw[10];
> int cnt = 0;
> 
> while(Wire.available())
> {
> raw[cnt++] = Wire.read();
> }
> 
> if(cnt == 0)goto START;
>
> dta = raw[0];
> dta <<= 8;
> dta += raw[1];
>
> return dta;
> }
>
>
> The sensor datasheet is useless: 
> https://raw.githubusercontent.com/SeeedDocument/Grove-Multichannel_Gas_Sensor/master/res/MiCS-6814_Datasheet.pdf
>
> Thank you for the support :)
>

-- 
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/36f16355-8094-4b52-9704-b8d4990fbbf3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Disabling PowerOff and Reset button

2017-03-27 Thread PM
Thanks for the info.

I tried to find the corresponding dtb to modify but no success :(

I can't find any am335x-bone-common.dtb. Do you know where should I look ?

Regards,

PM

Le lundi 27 mars 2017 15:14:37 UTC+2, Jason Kridner a écrit :
>
>
>
> On Mar 27, 2017, at 8:47 AM, Gerald Coley  wrote:
>
> Reset pin goes to the reset line and the power button goes to the PMIC. 
> PMIC pins and reset lines are not controlled via the DTS file 
>
>
> The interrupt into software for the power button is dts controlled:
>
> https://patchwork.kernel.org/patch/9389243/
>
> You can eliminate the software shutdown, but the hardware will still do a 
> power down if the button is held for more than about 10-12 seconds. 
>
>
>
>
>
> On Mon, Mar 27, 2017 at 5:02 AM, PM  wrote:
>
>> Hello everybody,
>>
>> I am trying to disable my reset & poweroff button from my LCD7 cape.
>> I saw on the schematic diagram that these buttons are directly connected 
>> to SYS_RESET & PWR_BUT.
>>
>> I would like to know if it is possible to disable these buttons by 
>> editing any 'dts' or 'dtso' file ?
>>
>> Thank you 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/37da3ff7-94d4-4305-ad02-49b8c000655f%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Gerald
>  
> ger...@beagleboard.org
> http://beagleboard.org/
> gcol...@emprodesign.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/CAHK_S%2BccvBKiyy5-AXM7pU5eSP4S09%2B1XVH2kQp5P-zk-3PVzQ%40mail.gmail.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/0769dcc7-700c-4caa-b5ba-f2b252bd9ae6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Disabling PowerOff and Reset button

2017-03-27 Thread Jason Kridner


> On Mar 27, 2017, at 8:47 AM, Gerald Coley  wrote:
> 
> Reset pin goes to the reset line and the power button goes to the PMIC. PMIC 
> pins and reset lines are not controlled via the DTS file 

The interrupt into software for the power button is dts controlled:

https://patchwork.kernel.org/patch/9389243/

You can eliminate the software shutdown, but the hardware will still do a power 
down if the button is held for more than about 10-12 seconds. 


> 
> 
> 
>> On Mon, Mar 27, 2017 at 5:02 AM, PM  wrote:
>> Hello everybody,
>> 
>> I am trying to disable my reset & poweroff button from my LCD7 cape.
>> I saw on the schematic diagram that these buttons are directly connected to 
>> SYS_RESET & PWR_BUT.
>> 
>> I would like to know if it is possible to disable these buttons by editing 
>> any 'dts' or 'dtso' file ?
>> 
>> Thank you 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/37da3ff7-94d4-4305-ad02-49b8c000655f%40googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
> 
> 
> 
> -- 
> Gerald
>  
> ger...@beagleboard.org
> http://beagleboard.org/
> gcol...@emprodesign.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/CAHK_S%2BccvBKiyy5-AXM7pU5eSP4S09%2B1XVH2kQp5P-zk-3PVzQ%40mail.gmail.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/EF50CBA4-04DC-4474-A75F-BEC25C08ACBE%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] systemd-logind.service inactive (dead)

2017-03-27 Thread rickdey1998
I am using kali linux. When I am booting it is showing 
[FAILED] Failed to start login service.

I booted in safe mode. 
systemctl status systemd-logind.service

is showing inactive(dead). No reason is provided.

I tried enabling it with systemctl. But it is saying, no [INSTALL] section is 
present in the service.

how can I fix this problem?

-- 
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/d13dee12-ee81-46d4-9121-e3b4320959a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Disabling PowerOff and Reset button

2017-03-27 Thread Gerald Coley
Reset pin goes to the reset line and the power button goes to the PMIC.
PMIC pins and reset lines are not controlled via the DTS file



On Mon, Mar 27, 2017 at 5:02 AM, PM  wrote:

> Hello everybody,
>
> I am trying to disable my reset & poweroff button from my LCD7 cape.
> I saw on the schematic diagram that these buttons are directly connected
> to SYS_RESET & PWR_BUT.
>
> I would like to know if it is possible to disable these buttons by editing
> any 'dts' or 'dtso' file ?
>
> Thank you 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/37da3ff7-94d4-4305-ad02-49b8c000655f%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Gerald

ger...@beagleboard.org
http://beagleboard.org/
gcol...@emprodesign.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/CAHK_S%2BccvBKiyy5-AXM7pU5eSP4S09%2B1XVH2kQp5P-zk-3PVzQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Disabling PowerOff and Reset button

2017-03-27 Thread PM
Hello everybody,

I am trying to disable my reset & poweroff button from my LCD7 cape.
I saw on the schematic diagram that these buttons are directly connected to 
SYS_RESET & PWR_BUT.

I would like to know if it is possible to disable these buttons by editing 
any 'dts' or 'dtso' file ?

Thank you 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/37da3ff7-94d4-4305-ad02-49b8c000655f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] dtbo edition does not work

2017-03-27 Thread PM
Thank you it works perfectly :)

Le vendredi 24 mars 2017 20:22:43 UTC+1, RobertCNelson a écrit :
>
> On Fri, Mar 24, 2017 at 11:26 AM, PM  
> wrote: 
> > Hello, 
> > 
> > I am currently using a Beaglebone Black with these distribution : 
> > 
> > Distributor ID:Debian 
> > Description:Debian GNU/Linux 8.7 (jessie) 
> > Release:8.7 
> > Codename:jessie 
> > 
> > I tried to modify a dtbo file in /lib/firmware in order to disable all 
> the 
> > buttons on the LCD7 cape. 
> > 
> > Modification did not change anything so I decided to clean the whole 
> folder 
> > to see if it changes anything. And surprise ! My LCD is booting up 
> perfectly 
> > and everything is working. 
>
> /lib/firmware/*.dtbo's get copied to the initramfs. 
>
> So on every /lib/firmware/*.dtbo change run: 
>
> sudo update-initramfs -uk `uname -r` 
>
> 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/d26b3192-6efc-4e10-9256-a051f8429961%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.