[beagleboard] Unable to ssh with dropbear sshd running

2020-12-13 Thread rishabh . gupta777

Hi,

I am working on the Buildroot labs from Bootlin's training 
. In the 
section titled "Add dropbear as an SSH server", there are steps to add the 
dropbear package to the rootfs generated by Buildroot. I followed the steps 
and do get the starting dropbear sshd OK message in the serial log.

However, when I try to connect to my BBBW using ssh root@192.168.0.2, I get 
an error saying "No route to host".

Since the ssh daemon starts properly, could it be that the issue is on the 
host side?

I would appreciate any inputs.


Thanks,
Rishabh


-- 
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/af93e683-de1a-4a77-81fb-cc99716e8eceo%40googlegroups.com.


[beagleboard] DDD/GDB Error: no core file handler recognizes format

2020-12-05 Thread rishabh . gupta777
Hi,


I am working on the labs from ELC2018/Embedded Apprentice Linux Engineer 
. 
In the GDB Debugging Lab 2 
,
 
there are steps to generate a core dump file on the Pocket Beagle (I am 
using the BBBW) and analyze it on a host machine using DDD.

When I try to open the core file on my Ubuntu host, I get an error saying 
"no core file handler recognizes format". Since I was able to launch DDD 
with the Arm debugger (ddd --debugger arm-none-eabi-gdb), I think I have 
the necessary programs/packages installed on my host.

I would appreciate any inputs to resolve this issue.


Thanks,
Rishabh

-- 
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/032e0665-130d-4376-8ad9-c6e2429e02b0o%40googlegroups.com.


Re: [beagleboard] Re: BBW not booting when serial to USB cable connected

2020-08-16 Thread rishabh . gupta777
I got a DC adapter to power the board. Although the serial connection does 
not get dropped on powering up, I do not see the bootloader loading.

Some time back, I had managed to get access to the U-Boot bootloader on the 
serial terminal with the USB power itself. It didn't show up again. The 
behavior has not been consistent. Presently, the serial connection drops 
out if I try to power using USB.

I would appreciate any inputs to solve the issue.


On Thursday, July 23, 2020 at 12:45:57 AM UTC+2, Rishabh Kumar Gupta wrote:
>
> Thanks Jon, for the link. I tried modifying my current driver 
> installation. It still shows the same error. 
>
> Although, now the board boots up but the serial connection gets dropped. 
> The serial and power connections are somehow still mutually exclusive. The 
> serial connection appears only when I turn off and plug out the micro-USB 
> (power).
>
>
> On Tuesday, July 21, 2020 at 4:54:30 PM UTC+2, jonnymo wrote:
>>
>> That error you are seeing appears to come from your USB to Serial 
>> interface.
>> Note:
>> http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=225=41
>>
>> Jon
>>
>> On Tue, Jul 21, 2020 at 6:48 AM  wrote:
>>
>>> I got to know that the driver is no longer supported when I first 
>>> connected the cable. The driver still seems to work though.
>>>
>>>
>>> [image: PL2303HXA-driver-properties.png]
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Also, I added filters in the VM's settings and that is how picocom was 
>>> able to connect to /dev/ttyUSB0.
>>>
>>>
>>> On Monday, July 20, 2020 at 2:51:55 AM UTC+2, Dennis Bieber wrote:
>>>
 On Sun, 19 Jul 2020 12:15:09 -0700 (PDT), in 
 gmane.comp.hardware.beagleboard.user Rishabh 
  wrote: 

 >I am running Ubuntu 18.04 inside a VM using VirtualBox hosted on 
 Windows 
 >10. I am trying to use a PL2303HXA serial to USB cable to get the 
 serial 
 >output to my terminal in Ubuntu. I am doing this to view U-Boot. 
 > 

 Wonder if Win10 may be getting in the way... The driver for the 
 HXA is 
 no longer supported in Win10. 
 http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=225=41 
 """ 
  NOTE: 

 Windows 8/8.1/10 are NOT supported in PL-2303HXA and PL-2303X EOL 
 chip 
 versions. 
 """ 

 I don't know how VirtualBox handles USB devices -- if they pass 
 through 
 to the guest OS as raw devices, or if VBox is intercepting the guest 
 I/O 
 and mapping through the host OS... 

 https://www.google.com/search?q=PL2303HXA+=PL2303HXA 


 -- 
 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 beagl...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/beagleboard/590f7b0d-7cfb-4e0f-99e6-0efe7deb3c4fo%40googlegroups.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/f62d1845-f5b8-40d6-80eb-2dbe25312990o%40googlegroups.com.


Re: [beagleboard] Re: BBW not booting when serial to USB cable connected

2020-07-22 Thread rishabh . gupta777
Thanks Jon, for the link. I tried modifying my current driver installation. 
It still shows the same error. 

Although, now the board boots up but the serial connection gets dropped. 
The serial and power connections are somehow still mutually exclusive. The 
serial connection appears only when I turn off and plug out the micro-USB 
(power).


On Tuesday, July 21, 2020 at 4:54:30 PM UTC+2, jonnymo wrote:
>
> That error you are seeing appears to come from your USB to Serial 
> interface.
> Note:
> http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=225=41
>
> Jon
>
> On Tue, Jul 21, 2020 at 6:48 AM > 
> wrote:
>
>> I got to know that the driver is no longer supported when I first 
>> connected the cable. The driver still seems to work though.
>>
>>
>> [image: PL2303HXA-driver-properties.png]
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Also, I added filters in the VM's settings and that is how picocom was 
>> able to connect to /dev/ttyUSB0.
>>
>>
>> On Monday, July 20, 2020 at 2:51:55 AM UTC+2, Dennis Bieber wrote:
>>
>>> On Sun, 19 Jul 2020 12:15:09 -0700 (PDT), in 
>>> gmane.comp.hardware.beagleboard.user Rishabh 
>>>  wrote: 
>>>
>>> >I am running Ubuntu 18.04 inside a VM using VirtualBox hosted on 
>>> Windows 
>>> >10. I am trying to use a PL2303HXA serial to USB cable to get the 
>>> serial 
>>> >output to my terminal in Ubuntu. I am doing this to view U-Boot. 
>>> > 
>>>
>>> Wonder if Win10 may be getting in the way... The driver for the 
>>> HXA is 
>>> no longer supported in Win10. 
>>> http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=225=41 
>>> """ 
>>>  NOTE: 
>>>
>>> Windows 8/8.1/10 are NOT supported in PL-2303HXA and PL-2303X EOL 
>>> chip 
>>> versions. 
>>> """ 
>>>
>>> I don't know how VirtualBox handles USB devices -- if they pass 
>>> through 
>>> to the guest OS as raw devices, or if VBox is intercepting the guest I/O 
>>> and mapping through the host OS... 
>>>
>>> https://www.google.com/search?q=PL2303HXA+=PL2303HXA 
>>>
>>>
>>> -- 
>>> 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 beagl...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/beagleboard/590f7b0d-7cfb-4e0f-99e6-0efe7deb3c4fo%40googlegroups.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/7bbae1fc-f460-4ceb-b659-5bd9b401c021o%40googlegroups.com.


[beagleboard] Re: BBW not booting when serial to USB cable connected

2020-07-21 Thread rishabh . gupta777
I got to know that the driver is no longer supported when I first connected 
the cable. The driver still seems to work though.


[image: PL2303HXA-driver-properties.png]























Also, I added filters in the VM's settings and that is how picocom was able 
to connect to /dev/ttyUSB0.


On Monday, July 20, 2020 at 2:51:55 AM UTC+2, Dennis Bieber wrote:

> On Sun, 19 Jul 2020 12:15:09 -0700 (PDT), in 
> gmane.comp.hardware.beagleboard.user Rishabh 
> > 
> wrote: 
>
> >I am running Ubuntu 18.04 inside a VM using VirtualBox hosted on Windows 
> >10. I am trying to use a PL2303HXA serial to USB cable to get the serial 
> >output to my terminal in Ubuntu. I am doing this to view U-Boot. 
> > 
>
> Wonder if Win10 may be getting in the way... The driver for the 
> HXA is 
> no longer supported in Win10. 
> http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=225=41 
> """ 
>  NOTE: 
>
> Windows 8/8.1/10 are NOT supported in PL-2303HXA and PL-2303X EOL chip 
> versions. 
> """ 
>
> I don't know how VirtualBox handles USB devices -- if they pass 
> through 
> to the guest OS as raw devices, or if VBox is intercepting the guest I/O 
> and mapping through the host OS... 
>
> https://www.google.com/search?q=PL2303HXA+=PL2303HXA 
>
>
> -- 
> 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/590f7b0d-7cfb-4e0f-99e6-0efe7deb3c4fo%40googlegroups.com.


Re: [beagleboard] BBW not booting when serial to USB cable connected

2020-07-21 Thread rishabh . gupta777
I did try using MobaXterm on Windows to connect to the serial port. That 
didn't work.

I got the below error:

[image: MobaXterm-serial-error.png]

















I am indeed plugging both cables to my PC. Sadly, I do not have a USB hub 
or a power supply for the BBW.


On Monday, July 20, 2020 at 5:21:20 AM UTC+2, lazarman wrote:

> Did you  try this using a Windows serial terminal as well?
> Your fatal error is in linux terminal in virtual machine
> Let us know if there  is a difference and use a powered hub or power 
> supply  as was suggested 
>
> Sent from Yahoo Mail on Android 
> 
>
> On Sun, Jul 19, 2020 at 2:54 PM, Rishabh
> > wrote:
> Hi,
>
> I am running Ubuntu 18.04 inside a VM using VirtualBox hosted on Windows 
> 10. I am trying to use a PL2303HXA serial to USB cable to get the serial 
> output to my terminal in Ubuntu. I am doing this to view U-Boot.
>
> Whenever the serial to USB is connected, the board doesn't boot up.  
>
> When the serial to USB cable is connected and I run 
>
> picocom -b 115200 /dev/ttyUSB0 
>
> the terminal waits for data on the port. As soon as I try to power up the 
> board with the micro-USB cable, I get a fatal error and the serial port 
> connection gets lost.
>
> picocom v2.2
>
> port is: /dev/ttyUSB0
> flowcontrol: none
> baudrate is: 115200
> parity is  : none
> databits are   : 8
> stopbits are   : 1
> escape is  : C-a
> local echo is  : no
> noinit is  : no
> noreset is : no
> nolock is  : no
> send_cmd is: sz -vv
> receive_cmd is : rz -vv -E
> imap is: 
> omap is: 
> emap is: crcrlf,delbs,
>
> Type [C-a] [C-h] to see available commands
>
> Terminal ready
>
> FATAL: term closed
>
>
> The board boots up only when the serial to USB cable is disconnected from 
> the PC.
>
> I tried to connect the serial to USB after powering up the board and that 
> powers off the board. I am not sure why but the two connections (serial to 
> USB and micro-USB power cable) seem to be mutually exclusive. I would 
> appreciate any suggestions on how to resolve this issue.
>
> Thanks,
> Rishabh
>
> -- 
> 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 beagl...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/cbdb43e6-b279-4aa2-aa38-d1a02468e574o%40googlegroups.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/7315c84d-af64-4941-8758-cf64d9b1aa65o%40googlegroups.com.