[beagleboard] selection of correct operating system

2018-08-05 Thread salahgafoor
HI,

I've a requirement of following things to be done using my beaglebone black 
rev.C running Kernel 4.9


   1. Should have Linux environment
   2. Ethernet, RS232, I2C connectivity
   3. GPIO Interface
   4. LCD Interface
   5. Fast booting

Kindly suggest me a best suitable OS image for above mentioned applications.

I had a bad experience of incompatibility issues when several libraries 
changed when Kernel version changed from 3.9 to 4.9, where I had to change 
my software to make it work in new Kernel version 4.9. Can we avoid such 
problems in the case of beaglebone?





-- 
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/3cdaa85e-2985-4b12-b4f7-f0d376741d9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: BeagleBone Black doesn't sometimes start. Only Power LED is on

2018-03-14 Thread salahgafoor
Hi all,

I've two beaglebone black revC boards with debian 7.9, kernel 3.8 and 
debian 9.3,kernel 4.9 respectively.

I tried to power up these two boards using VDD pins on a board having some 
another interfaces like LCD etc,

But, only first board is booting up(debian 7.9). For second board, only 
power led is glowing.

Please help me on how to debug this

On Thursday, 1 August 2013 03:18:54 UTC+5:30, duckhunt...@gmail.com wrote:
>
> Hi guys,
>
> we have a problem with our Beagle Bone Black (A5C). We are using Ubuntu 
> Raring 13.04 armhf v3.8.13-bone21 (2013-06-14) on the eMMC (no SD Card). 
> The Beagle Bone is placed in a case and we have connected it to a DC power 
> supply. Sometimes (I would say every 5 to 10 times), when we are plugging 
> in our power supply, the BeagleBone powers on (Power LED is on), but 
> nothing more happens (none of the other four LEDs is on). If we are now 
> removing the power supply and putting it in again, the BBB starts normally. 
> I guess the power supply is strong enough: 5A@5V.
>
> Thanks for your help in advance.
>
> Regards,
> duckhunter
>

-- 
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/baed1d11-f2fb-4832-83a9-f103e898f223%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Configuring GPIO pins as active high

2018-03-13 Thread salahgafoor
Hi,

Yea.. I had removed that '#' sign.. 

It was not working yet.

On Saturday, 10 March 2018 20:20:17 UTC+5:30, Wulf Man wrote:
>
> The "#" sign must be removed or it will not load
> not sure if you did that :)
>
> On 3/9/2018 8:15 PM, salah...@gmail.com  wrote:
>
> Hi Wulf Man, 
>
> I've added the related dtbo files in /lib/firmware/ and the links I've 
> kept in the /boot/uEnv.txt as follows:
>
> ###Overide capes with eeprom
> #uboot_overlay_addr0=/lib/firmware/.dtbo
> #uboot_overlay_addr1=/lib/firmware/.dtbo
>
> But, it didn't help!! :(
>
> On Tuesday, 27 February 2018 16:24:40 UTC+5:30, Wulf Man wrote: 
>>
>> write a device overlay to do all of this then load it in /boot/uEnv.txt
>>
>>
>> On 2/26/2018 8:33 PM, salah...@gmail.com wrote:
>>
>> Thanks @Robert 
>>
>> I could solve the issue by setting active_low value in 
>> /sys/class/gpio/gpio66
>>
>> But I think that's not the recommended method.
>>
>> Comments please!!
>>
>> On Friday, 23 February 2018 18:06:48 UTC+5:30, Salah Abdul Gafoor wrote: 
>>>
>>> Hi,
>>>
>>> I want to configure some of my gpio pins (P8_07 to P8_10) of my beagle 
>>> bone black revC board as inputs with active high state.
>>>
>>> OS running in my board is Debian 9.3, with Kernel 4.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...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/beagleboard/4687d4f5-b329-4937-b246-ec8714c749b4%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...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/e884fcf3-6fde-4e19-bb5d-1b10440a4170%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/dd15d980-19fb-460e-8458-4acc99f0fdf9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Enabling UART in new kernel 4.9 with debian OS 9.3

2018-03-10 Thread salahgafoor
Hi all,

I'm using UART2 channel for serial communication in my bbb. I've modified 
following lines to enable uart2


##Example v4.1.x
> #cape_disable=bone_capemgr.disable_partno=
> #cape_enable=bone_capemgr.enable_partno=BB-UART2

 When I checked the ttyO signals, I could observe following ports


> root@beaglebone:~# ls -l /dev/ttyO*

lrwxrwxrwx 1 root root 5 Jan 28 14:17 /dev/ttyO0 -> ttyS0

lrwxrwxrwx 1 root root 5 Jan 28 14:17 /dev/ttyO1 -> ttyS1

lrwxrwxrwx 1 root root 5 Jan 28 14:17 /dev/ttyO2 -> ttyS2

lrwxrwxrwx 1 root root 5 Jan 28 14:17 /dev/ttyO4 -> ttyS4

lrwxrwxrwx 1 root root 5 Jan 28 14:17 /dev/ttyO5 -> ttyS5


when I tested the uart in loopback mode, I couldn't receive any data at the 
channel.

After that, I've configured the pin manually as follows

config-pin P9_21 uart

config-pin P9_22 uart


And now, I'm getting data over uart. But, the ttyO signals are the same as 
follows.
In my understanding, ttyO should be like this

crw-rw 1 root tty 247, 0 Jan  1  2000 /dev/ttyO0

crw-rw---T 1 root dialout 247, 2 Jan  1  2000 /dev/ttyO2

 
Why it's showing this difference? And what's the actual method to enable 
uart?
My BBB has kernel 4.9 and debian OS 9.3
 

-- 
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/f8e6055e-852a-469c-b242-0d3d98d2d77a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Configuring GPIO pins as active high

2018-03-09 Thread salahgafoor
Hi Wulf Man,

I've added the related dtbo files in /lib/firmware/ and the links I've kept 
in the /boot/uEnv.txt as follows:

###Overide capes with eeprom
#uboot_overlay_addr0=/lib/firmware/.dtbo
#uboot_overlay_addr1=/lib/firmware/.dtbo

But, it didn't help!! :(

On Tuesday, 27 February 2018 16:24:40 UTC+5:30, Wulf Man wrote:
>
> write a device overlay to do all of this then load it in /boot/uEnv.txt
>
>
> On 2/26/2018 8:33 PM, salah...@gmail.com  wrote:
>
> Thanks @Robert 
>
> I could solve the issue by setting active_low value in 
> /sys/class/gpio/gpio66
>
> But I think that's not the recommended method.
>
> Comments please!!
>
> On Friday, 23 February 2018 18:06:48 UTC+5:30, Salah Abdul Gafoor wrote: 
>>
>> Hi,
>>
>> I want to configure some of my gpio pins (P8_07 to P8_10) of my beagle 
>> bone black revC board as inputs with active high state.
>>
>> OS running in my board is Debian 9.3, with Kernel 4.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...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/4687d4f5-b329-4937-b246-ec8714c749b4%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/e884fcf3-6fde-4e19-bb5d-1b10440a4170%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Enable UART pins on BBB with Ubuntu 16.04 Kernel 4.4.68

2018-02-26 Thread salahgafoor
Hello,

I've also faced the same issue.

Even though I tried editing the /boot/uEnv.txt file, I cannot enable uart

cape_enable=bone_capemgr.enable_partno=BB-UART2


I had to use 
config-pin P9_21 uart
config-pin P9_22 uart

to enable my uart2 channel.

@Zach : Please try the same and let me know. I don't know if it will work 
in Ubuntu.

@Robert or anyone else, why enabling uart in uEnv.txt is not successful 
always?


On Friday, 18 August 2017 02:51:05 UTC+5:30, Zach wrote:
>
> Hello there, I am attempting to activate UART pins on the BeagleBone Black 
> with Ubuntu 16.04 kernel 4.4.68
>
> ubuntu@arm:~$ uname -a
> Linux arm 4.4.68-ti-r111 #1 SMP Wed Jun 28 13:40:31 UTC 2017 armv7l armv7l 
> armv7l GNU/Linux
>
> I have tried editing the /boot/uEnv.txt file.
>
> cape_enable=bone_capemgr.enable_partno=BB-UART1
>
>
> I have tried 
> echo BB-UART1 > /sys/devices/platform/bone_capemgr/slots
>
> Which causes the BBB to stall, I even let it sit for almost 2 hours once 
> to no results.
>
> ubuntu@arm:~$ ls -l /dev/ttyO*
> lrwxrwxrwx 1 root root 5 Jul 14 14:48 /dev/ttyO0 -> ttyS0
> lrwxrwxrwx 1 root root 5 Jul 14 14:48 /dev/ttyO1 -> ttyS1
> lrwxrwxrwx 1 root root 5 Jul 14 14:48 /dev/ttyO2 -> ttyS2
> lrwxrwxrwx 1 root root 5 Jul 14 14:48 /dev/ttyO4 -> ttyS4
> ubuntu@arm:~$ ls -l /dev/ttyS*
> crw--w 1 root tty 4, 64 Jul 14 14:48 /dev/ttyS0
> crw-rw 1 root dialout 4, 65 Jul 14 14:48 /dev/ttyS1
> crw-rw 1 root dialout 4, 66 Jul 14 14:48 /dev/ttyS2
> crw-rw 1 root dialout 4, 67 Jul 14 14:48 /dev/ttyS3
> crw-rw 1 root dialout 4, 68 Jul 14 14:48 /dev/ttyS4
> crw-rw 1 root dialout 4, 69 Jul 14 14:48 /dev/ttyS5
>
>
>
> I have tried 
> config-pin 911 uart
> config pin 913 uart
> ubuntu@arm:~$ config-pin -q 911
> P9_11 Mode: uart
> ubuntu@arm:~$ config-pin -q 913
> P9_13 Mode: uart
>
> But still no data being transferred.  My end goal is to use ROS with a 
> PixHawk for drone flights.  Any help would be greatly appreciated.
>
>   
>

-- 
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/04c14572-ce48-426b-b3ef-b3f6772c1eae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Configuring GPIO pins as active high

2018-02-26 Thread salahgafoor
Thanks @Robert

I could solve the issue by setting active_low value in 
/sys/class/gpio/gpio66

But I think that's not the recommended method.

Comments please!!

On Friday, 23 February 2018 18:06:48 UTC+5:30, Salah Abdul Gafoor wrote:
>
> Hi,
>
> I want to configure some of my gpio pins (P8_07 to P8_10) of my beagle 
> bone black revC board as inputs with active high state.
>
> OS running in my board is Debian 9.3, with Kernel 4.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/4687d4f5-b329-4937-b246-ec8714c749b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Configuring GPIO pins as active high

2018-02-23 Thread salahgafoor
Hi,

I want to configure some of my gpio pins (P8_07 to P8_10) of my beagle bone 
black revC board as inputs with active high state.

OS running in my board is Debian 9.3, with Kernel 4.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/6b1842a5-8f8f-45c7-ad5a-96edda39acf5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.