[beagleboard] Debug serial console not working

2021-07-02 Thread Vinayakumar Chikkadi
Hi

I am trying to get the debug serial working on Ubuntu for my beagle bone
black board.

I am powering up the BBB with the 5V 2A power adapter.

I am using the prolific usb to serial connector. After I connect the usb
cable & When I check on Ubuntu with dmesg | tail
I could see it’s getting enumerated as ttyUSB0
When I open with putty on the path
/dev/ttyUSB0 with 115200 8N1
I am not able to open the com port using putty.

Kindly suggest if any of the steps missing out here.

Best regards,
Vinay

-- 
V.K.CHIKKADI

-- 
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/CA%2BqvWES1aW44NhvDLe%2BVXdaJtoLNogJcJNRZUigcoGYLP-49sw%40mail.gmail.com.


Re: [beagleboard] Re: Debug serial console not working

2021-07-02 Thread Vinayakumar Chikkadi
Hi Dennis,

Good day to you

I have given permission by running

sudo chmod 0777 /dev/ttyUSB0

Now I am able to open in putty but not receiving any data from bbb. Seems
the issue with usb to serial cable.

I got similar cable what you just mentioned on amazon.

Probably I would try to procure one from adafruit.

Thank you, it was of great help to me.
I would check with different cables and come back if problem persists.

Regards,
Vinay


On Fri, 2 Jul 2021 at 11:15 PM, Dennis Lee Bieber 
wrote:

> On Fri, 2 Jul 2021 15:44:12 +0530, in gmane.comp.hardware.beagleboard.user
> Vinayakumar Chikkadi 
> wrote:
>
>
> >I am using the prolific usb to serial connector. After I connect the usb
>
> WHICH "prolific usb to serial"?  They have a whole slew of
> different
> models. And that doesn't count the packagers using a Prolific chip in their
> products (cf:
> https://www.amazon.com/prolific-usb-serial/s?k=prolific+usb+to+serial )
> I'm guessing something similar to
>
> https://www.amazon.com/Serial-Adapter-Signal-Prolific-Windows/dp/B07R8BQYW1/ref=sr_1_8?dchild=1&keywords=prolific+usb+to+serial&qid=1625245702&sr=8-8
>
> I can't really help with Prolific -- most of my USB<>serial
> devices are
> FTDI chips. I think the Adafruit 4-pin cable is the only Prolific chip
> device I have.
>
> >cable & When I check on Ubuntu with dmesg | tail
> >I could see it’s getting enumerated as ttyUSB0
> >When I open with putty on the path
> >/dev/ttyUSB0 with 115200 8N1
> >I am not able to open the com port using putty.
>
> Do you have privileges for the device? May not be relevant, but
> connecting a USB<>Serial to the USB side of my BBB (I don't have a native
> Linux desktop computer, and Windows won't be helpful to you) shows up like
>
> crw-rw 1 root dialout 188,  0 Jul  2 13:21 /dev/ttyUSB0
>
> the default user for the machine does belong to the dialout group.
>
> I got the same thing for Debian running inside VirtualBox /after/
> manually selecting the USB device from the VB0x menu...
>
> BUT... unlike the BBB, my user account under VBox does NOT belong
> to
> the dialout group, so I would have not permission to use it without making
> changes...
>
> crw-rw 1 root dialout 188,  0 Jul  2 13:31 /dev/ttyUSB0
> wulfraed@debian:~$ groups
> wulfraed cdrom floppy sudo audio dip video plugdev netdev bluetooth lpadmin
> scanner vboxsf
> wulfraed@debian:~$ sudo usermod -a -G dialout wulfraed
> [sudo] password for wulfraed:
>
> 
>
> wulfraed@debian:~$ groups
> wulfraed dialout cdrom floppy sudo audio dip video plugdev netdev bluetooth
> lpadmin scanner vboxsf
> wulfraed@debian:~$
>
>
>
> --
> Dennis L Bieber
>
> --
> 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/rqhudg5e0ekfsmaetfe966socu9l1telkn%404ax.com
> .
>
-- 
V.K.CHIKKADI

-- 
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/CA%2BqvWERAzY0nQCrV1Ji5bYGJ64T5CB3xiCR5_VvyEfOXxUDzZA%40mail.gmail.com.


Re: [beagleboard] Re: Debug serial console not working

2021-07-02 Thread Vinayakumar Chikkadi
Hi Mark,

Good day to you

Saw this article it would help me to procure one.

Thanks for your inputs.

Regards,
Vinay

On Sat, 3 Jul 2021 at 5:05 AM, 'Mark Lazarewicz' via BeagleBoard <
beagleboard@googlegroups.com> wrote:

> Using Serial Debug Port on BeagleBone Black - KiranPalla.com
> <https://kiranpalla.com/blog/using-serial-debug-port-on-beaglebone-black/>
> Using Serial Debug Port on BeagleBone Black - KiranPalla.com
>
> It is interesting to see boot messages while the OS is coming up on
> BeagleBone Black. The messages are useful …
> <https://kiranpalla.com/blog/using-serial-debug-port-on-beaglebone-black/>
>
>
>
> Sent from Yahoo Mail on Android
> <https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature>
>
> On Fri, Jul 2, 2021 at 12:44 PM, Dennis Lee Bieber
>  wrote:
> On Fri, 2 Jul 2021 15:44:12 +0530, in gmane.comp.hardware.beagleboard.user
> Vinayakumar Chikkadi 
> wrote:
>
>
> >I am using the prolific usb to serial connector. After I connect the usb
>
> WHICH "prolific usb to serial"?  They have a whole slew of different
> models. And that doesn't count the packagers using a Prolific chip in their
> products (cf:
> https://www.amazon.com/prolific-usb-serial/s?k=prolific+usb+to+serial )
> I'm guessing something similar to
>
> https://www.amazon.com/Serial-Adapter-Signal-Prolific-Windows/dp/B07R8BQYW1/ref=sr_1_8?dchild=1&keywords=prolific+usb+to+serial&qid=1625245702&sr=8-8
>
> I can't really help with Prolific -- most of my USB<>serial devices are
> FTDI chips. I think the Adafruit 4-pin cable is the only Prolific chip
> device I have.
>
> >cable & When I check on Ubuntu with dmesg | tail
> >I could see it’s getting enumerated as ttyUSB0
> >When I open with putty on the path
> >/dev/ttyUSB0 with 115200 8N1
> >I am not able to open the com port using putty.
>
> Do you have privileges for the device? May not be relevant, but
> connecting a USB<>Serial to the USB side of my BBB (I don't have a native
> Linux desktop computer, and Windows won't be helpful to you) shows up like
>
> crw-rw 1 root dialout 188,  0 Jul  2 13:21 /dev/ttyUSB0
>
> the default user for the machine does belong to the dialout group.
>
> I got the same thing for Debian running inside VirtualBox /after/
> manually selecting the USB device from the VB0x menu...
>
> BUT... unlike the BBB, my user account under VBox does NOT belong to
> the dialout group, so I would have not permission to use it without making
> changes...
>
> crw-rw 1 root dialout 188,  0 Jul  2 13:31 /dev/ttyUSB0
> wulfraed@debian:~$ groups
> wulfraed cdrom floppy sudo audio dip video plugdev netdev bluetooth lpadmin
> scanner vboxsf
> wulfraed@debian:~$ sudo usermod -a -G dialout wulfraed
> [sudo] password for wulfraed:
>
> 
>
> wulfraed@debian:~$ groups
> wulfraed dialout cdrom floppy sudo audio dip video plugdev netdev bluetooth
> lpadmin scanner vboxsf
> wulfraed@debian:~$
>
>
>
> --
> Dennis L Bieber
>
>
> --
> 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/rqhudg5e0ekfsmaetfe966socu9l1telkn%404ax.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/1430302616.2000350.162526373%40mail.yahoo.com
> <https://groups.google.com/d/msgid/beagleboard/1430302616.2000350.162526373%40mail.yahoo.com?utm_medium=email&utm_source=footer>
> .
>
-- 
V.K.CHIKKADI

-- 
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/CA%2BqvWETA5eg1sbWQCHVDPpyxSgwVzu22yhOJzRiLiBwW7jSbGQ%40mail.gmail.com.


[beagleboard] Fwd: Regarding error applying patch to kernel 3.12.9

2020-03-31 Thread Vinayakumar Chikkadi
Hi,

I was trying to get the linux kernel ready for the BBB.

Download the 3.12.9 kernel and apply the patch existing in the sysplay
repo(bbb-master/Images/ELPImages/epid_dts.patch). I tried this patch but
getting errors(could not apply the patch and asking what files to be
patched), i am not getting exactly which patch do i need to apply and for
what files into the 3.12.9 kernel this patch is required.

Best Regards,
Vinay Chikkadi

-- 
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/CA%2BqvWESRzFE6EA40%2BBCkPWQQLyUyrsfETgrW%2BJ_HC1gD2-BHcQ%40mail.gmail.com.


Re: [beagleboard] Fwd: Regarding error applying patch to kernel 3.12.9

2020-03-31 Thread Vinayakumar Chikkadi
Hi Robert,

sorry for not mentioning the URL.
Basically was trying to prepare the 3.12.9 kernel for BBB.
i am actually following some author here.
As i had few driver codes for 3.12.9 kernel, which i wanted to experiment
for understanding driver frameworks.

Regards,
Vinay

On Tue, Mar 31, 2020 at 9:13 PM Robert Nelson 
wrote:

> On Tue, Mar 31, 2020 at 9:41 AM Vinayakumar Chikkadi 
> wrote:
> >
> > Hi,
> >
> > I was trying to get the linux kernel ready for the BBB.
> >
> > Download the 3.12.9 kernel and apply the patch existing in the sysplay
> repo(bbb-master/Images/ELPImages/epid_dts.patch). I tried this patch but
> getting errors(could not apply the patch and asking what files to be
> patched), i am not getting exactly which patch do i need to apply and for
> what files into the 3.12.9 kernel this patch is required.
>
> It took a little bit to find this repo:
>
> https://github.com/sysplay/bbb
>
> You might want to contact the author..
>
> Why 3.12.x? are you following some book/text?
>
> 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/CAOCHtYjc%2BT_dsBjdG4N7BkE6TLJ88v2TsV%2Bc-7zK%3Dk%3DLQSdgPQ%40mail.gmail.com
> .
>


-- 
V.K.CHIKKADI

-- 
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/CA%2BqvWESHd2TAKR%2BbOPkMgqJHM8b8P-5qaAETwb9YWz18exk_pw%40mail.gmail.com.


Re: [beagleboard] Fwd: Regarding error applying patch to kernel 3.12.9

2020-03-31 Thread Vinayakumar Chikkadi
Thanks Robert.
Hope this should help.

On Tue, 31 Mar, 2020, 21:43 Robert Nelson,  wrote:

> On Tue, Mar 31, 2020 at 11:01 AM Vinayakumar Chikkadi
>  wrote:
> >
> > Hi Robert,
> >
> > sorry for not mentioning the URL.
> > Basically was trying to prepare the 3.12.9 kernel for BBB.
> > i am actually following some author here.
> > As i had few driver codes for 3.12.9 kernel, which i wanted to
> experiment for understanding driver frameworks.
>
> Seems to apply cleanly:
>
> voodoo@hestia:~/linux-src$ git checkout v3.12.9 -b tmp
> Updating files: 100% (79755/79755), done.
> Switched to a new branch 'tmp'
> voodoo@hestia:~/linux-src$ wget
>
> https://raw.githubusercontent.com/sysplay/bbb/master/Kernel/patches/epid.patch
> --2020-03-31
> <https://raw.githubusercontent.com/sysplay/bbb/master/Kernel/patches/epid.patch--2020-03-31>
> 11:12:07--
>
> https://raw.githubusercontent.com/sysplay/bbb/master/Kernel/patches/epid.patch
> Resolving raw.githubusercontent.com (raw.githubusercontent.com)...
> 151.101.192.133, 151.101.128.133, 151.101.64.133, ...
> Connecting to raw.githubusercontent.com
> (raw.githubusercontent.com)|151.101.192.133|:443... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 2964 (2.9K) [text/plain]
> Saving to: ‘epid.patch’
>
> epid.patch
> 100%[=>]
> 2.89K  --.-KB/sin 0s
>
> 2020-03-31 11:12:07 (6.60 MB/s) - ‘epid.patch’ saved [2964/2964]
>
> voodoo@hestia:~/linux-src$ patch -p1 < epid.patch
> patching file arch/arm/mach-omap2/Kconfig
> patching file arch/arm/mach-omap2/omap_hwmod_33xx_data.c
> voodoo@hestia:~/linux-src$
>
> 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/CAOCHtYg0UG%2BAoB6rHExYu5%3DjBp15CRf5F-U0LeUTgPNjQ7D68w%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/CA%2BqvWERbSLuErg3s-_C2hVdwe-p%2Bnrc%2BwnY1bzXBG2yfxyQFvg%40mail.gmail.com.