[beagleboard] Re: Transferring the image to the BBB via TFTP- using Yocto openembedded 1.6

2014-07-16 Thread Gibson Justian
Robert,
 I use a VMware on which I run Ubuntu 14.04 

On Sunday, July 6, 2014 12:25:18 AM UTC+5:30, Gibson Justian wrote:
>
> Hi folks,
> I am trying to boot the BBB using the tftpboot procedure 
> and I used the yocto openembedded build . 
> When I tried to transfer the image file using the tftp command in the 
> uboot prompt , I get the following output.
>
> link up on port 0, speed 100, full duplex
> Using cpsw device
> TFTP from server 192.168.43.130; our IP address is 192.168.43.10
> Filename 'uImage'.
> Load address: 0x8020
> Loading: T T T T T T T T T T T T T T T T T T T T 
> Retry count exceeded; starting again
> using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
> MAC 90:59:af:62:d3:1b
> HOST MAC de:ad:be:af:00:00
> RNDIS ready
> ERROR: The remote end did not respond in time.
> at drivers/usb/gadget/ether.c:2388/usb_eth_init()
>
> Any valuable suggestions or tips on this is helpful
>
> Regards,
> Gibson
>
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Transferring the image to the BBB via TFTP- using Yocto openembedded 1.6

2014-07-16 Thread Gibson Justian
Hi ,
Robert as you suggested, I tried and below is the output

tftp localhost 69
tftp> get uImage
Received 5076806 bytes in 1.6 seconds
tftp> 




On Sunday, July 6, 2014 12:25:18 AM UTC+5:30, Gibson Justian wrote:
>
> Hi folks,
> I am trying to boot the BBB using the tftpboot procedure 
> and I used the yocto openembedded build . 
> When I tried to transfer the image file using the tftp command in the 
> uboot prompt , I get the following output.
>
> link up on port 0, speed 100, full duplex
> Using cpsw device
> TFTP from server 192.168.43.130; our IP address is 192.168.43.10
> Filename 'uImage'.
> Load address: 0x8020
> Loading: T T T T T T T T T T T T T T T T T T T T 
> Retry count exceeded; starting again
> using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
> MAC 90:59:af:62:d3:1b
> HOST MAC de:ad:be:af:00:00
> RNDIS ready
> ERROR: The remote end did not respond in time.
> at drivers/usb/gadget/ether.c:2388/usb_eth_init()
>
> Any valuable suggestions or tips on this is helpful
>
> Regards,
> Gibson
>
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Transferring the image to the BBB via TFTP- using Yocto openembedded 1.6

2014-07-16 Thread Gibson Justian
I pinged the device as Robert suggested and the output obtained is posted 
below
ping failed; host 192.168.95.134 is not alive ,

Note :  I also have this info for mtdparts

U-Boot# 
mtdparts
 

Device nand0 not found! 

Is this is the one causing the  problem for booting?? If so any work around 
to  fix this ??


Regards,
Gibson


On Sunday, July 6, 2014 12:25:18 AM UTC+5:30, Gibson Justian wrote:
>
> Hi folks,
> I am trying to boot the BBB using the tftpboot procedure 
> and I used the yocto openembedded build . 
> When I tried to transfer the image file using the tftp command in the 
> uboot prompt , I get the following output.
>
> link up on port 0, speed 100, full duplex
> Using cpsw device
> TFTP from server 192.168.43.130; our IP address is 192.168.43.10
> Filename 'uImage'.
> Load address: 0x8020
> Loading: T T T T T T T T T T T T T T T T T T T T 
> Retry count exceeded; starting again
> using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
> MAC 90:59:af:62:d3:1b
> HOST MAC de:ad:be:af:00:00
> RNDIS ready
> ERROR: The remote end did not respond in time.
> at drivers/usb/gadget/ether.c:2388/usb_eth_init()
>
> Any valuable suggestions or tips on this is helpful
>
> Regards,
> Gibson
>
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Transferring the image to the BBB via TFTP- using Yocto openembedded 1.6

2014-07-16 Thread Gibson Justian
Hi 
 Thanks for your replies !!!

I did a tftpboot for BBB with the Yocto images

step-1 : I copied the uImage and uImage-am335x-boneblack.dtb in the 
/home/gibson/tftpboot 


   U-Boot# setenv autoload 
no   
U-Boot# setenv serverip 
192.168.95.134   
U-Boot# setenv ipaddr 
192.168.95.130 
U-Boot# tftp 0x8020 
uImage   
link up on port 0, speed 100, full 
duplex
Using cpsw 
device

TFTP from server 192.168.95.134; our IP address is 
192.168.95.130
Filename 
'uImage'.   

Load address: 
0x8020 
Loading: T T T T T T T T T T T T T T T T T T T 
T 
Retry count exceeded; starting 
again 
using musb-hdrc, OUT ep1out IN ep1in STATUS 
ep2in
MAC 
90:59:af:62:d3:1b   
 

HOST MAC 
de:ad:be:af:00:00   

RNDIS 
ready   
   

ERROR: The remote end did not respond in 
time.   
at drivers/usb/gadget/ether.c:2388/usb_eth_init() 

Any clue on this why the tftpboot is not working??

Thank for your suggestions!!!   
 

 


On Sunday, July 6, 2014 12:25:18 AM UTC+5:30, Gibson Justian wrote:
>
> Hi folks,
> I am trying to boot the BBB using the tftpboot procedure 
> and I used the yocto openembedded build . 
> When I tried to transfer the image file using the tftp command in the 
> uboot prompt , I get the following output.
>
> link up on port 0, speed 100, full duplex
> Using cpsw device
> TFTP from server 192.168.43.130; our IP address is 192.168.43.10
> Filename 'uImage'.
> Load address: 0x8020
> Loading: T T T T T T T T T T T T T T T T T T T T 
> Retry count exceeded; starting again
> using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
> MAC 90:59:af:62:d3:1b
> HOST MAC de:ad:be:af:00:00
> RNDIS ready
> ERROR: The remote end did not respond in time.
> at drivers/usb/gadget/ether.c:2388/usb_eth_init()
>
> Any valuable suggestions or tips on this is helpful
>
> Regards,
> Gibson
>
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Transferring the image to the BBB via TFTP- using Yocto openembedded 1.6

2014-07-10 Thread Gibson Justian
Hi William and John ,
  Thanks for reply!!!
The uEnv.txt that you have shared across uses the 
kernel_file=zImage 
and initrd_file=initrd.img but after the compilation of the yocto distro 
1.6 instead of zImage I get the uImage. How to obtain the zImage ?and where 
can I find the initrd.img???

Regards,
Gibson


On Friday, July 11, 2014 9:13:07 AM UTC+5:30, john3909 wrote:
>
>
> From: William Hermans >
> Reply-To: "beagl...@googlegroups.com " <
> beagl...@googlegroups.com >
> Date: Thursday, July 10, 2014 at 7:46 PM
> To: "beagl...@googlegroups.com "  >
> Subject: Re: [beagleboard] Transferring the image to the BBB via TFTP- 
> using Yocto openembedded 1.6
>
> Supposedly you're supposed to be able to tftp zImage's now days, I've only 
> ever used uImage. Lately I've stopped using tftp, and only use NFS for the 
> rootfs.
>
> John Syn recently made a post on these groups saying zImage does work, and 
> I've read the same a while back from somewhere else. But, I have not tried 
> or tested it personally. Anyway John gave a supposedly working uEnv,txt 
> setup, but again "supposedly" because I have not tried or tested it myself.
>
> Try again. uEnv.txt without initcall_debug.
>
> Regards, 
> John
>
>
>
> So searching these groups for "John Syn" and uEnv.txt may yield working 
> results for you. Sorry but I do not remember the post topic. Also, just as 
> a FYI, I think you'll find Angstrom on the BBB to be a dead end. 
>
>
> On Thu, Jul 10, 2014 at 6:46 PM, Gibson Justian  > wrote:
>
>> Hi William and Alfredo,
>>
>> tftpboot problems
>>
>> Observation with Yocto 1.6 :
>>  Below are the following observation after i executed the get 
>> uImage.
>> tftp 192.168.95.130
>> tftp> get uImage
>> Received 5076896 bytes in 1.1 seconds
>>
>> Do I have to transfer the uImage or zImage? I do not find any zImage in 
>> the "/build/tmp/deploy/images/beaglebone$ "
>>
>>
>> Observation with the Debian image :
>>
>> If I try the with the Debian image I get the  "Bad Linux ARM zImage magic" 
>> any clue on this ?
>>
>>
>> Regards,
>> Gibson
>>
>>
>>
>>
>>
>> On Friday, July 11, 2014 6:01:08 AM UTC+5:30, William Hermans wrote:
>>
>>> Gibson,
>>>
>>> Here is a blog post I made last year getting netboot working on the BBB 
>>> using debian as the tftp server.
>>> http://www.embeddedhobbyist.com/debian-tips/beaglebone-
>>> black/beaglebone-black-network-boot/
>>>
>>> Scroll down to "*Installing, and configuring TFTP*" and see if you can 
>>> remember if you've done all that. The rest of the article is not important.
>>>
>>>
>>> On Thu, Jul 10, 2014 at 12:28 PM, Alfredo Muniz  
>>> wrote:
>>>
>>>>
>>>> On Sat, Jul 5, 2014 at 11:55 AM,  wrote:
>>>>
>>>>> Any valuable suggestions or tips on this is helpful
>>>>
>>>>
>>>> Your bbb isn't connecting to the server or the file uImage doesn't 
>>>> exist on the server. Have you tried connecting to your server using tftp 
>>>> on 
>>>> your local machine? Make a file called test in your tftp folder and run 
>>>> the 
>>>> following commands in another folder
>>>>
>>>> tftp 192.168.43.130
>>>> get test
>>>> quit
>>>>
>>>> There shouldn't be any errors and you should get the file test in the 
>>>> folder you were in. 
>>>>
>>>> -- 
>>>> 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.
>>>>
>>>> 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 .
>> 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 .
> 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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Transferring the image to the BBB via TFTP- using Yocto openembedded 1.6

2014-07-10 Thread Gibson Justian
Hi William and Alfredo,

tftpboot problems

Observation with Yocto 1.6 :
 Below are the following observation after i executed the get 
uImage.
tftp 192.168.95.130
tftp> get uImage
Received 5076896 bytes in 1.1 seconds

Do I have to transfer the uImage or zImage? I do not find any zImage in the 
"/build/tmp/deploy/images/beaglebone$ "


Observation with the Debian image :

If I try the with the Debian image I get the  "Bad Linux ARM zImage magic" any 
clue on this ?


Regards,
Gibson





On Friday, July 11, 2014 6:01:08 AM UTC+5:30, William Hermans wrote:
>
> Gibson,
>
> Here is a blog post I made last year getting netboot working on the BBB 
> using debian as the tftp server.
>
> http://www.embeddedhobbyist.com/debian-tips/beaglebone-black/beaglebone-black-network-boot/
>
> Scroll down to "*Installing, and configuring TFTP*" and see if you can 
> remember if you've done all that. The rest of the article is not important.
>
>
> On Thu, Jul 10, 2014 at 12:28 PM, Alfredo Muniz  > wrote:
>
>>
>> On Sat, Jul 5, 2014 at 11:55 AM, > 
>> wrote:
>>
>>> Any valuable suggestions or tips on this is helpful
>>
>>
>> Your bbb isn't connecting to the server or the file uImage doesn't exist 
>> on the server. Have you tried connecting to your server using tftp on your 
>> local machine? Make a file called test in your tftp folder and run the 
>> following commands in another folder
>>
>> tftp 192.168.43.130
>> get test
>> quit
>>
>> There shouldn't be any errors and you should get the file test in the 
>> folder you were in. 
>>  
>> -- 
>> 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 .
>> 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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Transferring the image to the BBB via TFTP- using Yocto openembedded 1.6

2014-07-10 Thread Gibson Justian
Hi William,
 I am using Yocto 1.6 (daisy) and i could get the file out using 
the get command, but still having the same error!!!
I use the Debian as the host machine. I am very new to the tftp stuff so 
just want to get a hold on it and followed the steps from the internet. 
Tested with the local to get the file and it works perfectly fine. 


Regards,
Gibson

On Monday, July 7, 2014 10:01:57 PM UTC+5:30, William Hermans wrote:
>
> Gibson, which distro are you using on the tftp host, and which tftp server 
> are you using ?
>
> You also tested local to the host to make sure the file is actually 
> getting out ?
>
>
> On Sat, Jul 5, 2014 at 11:55 AM, > 
> wrote:
>
>> Hi folks,
>> I am trying to boot the BBB using the tftpboot procedure 
>> and I used the yocto openembedded build . 
>> When I tried to transfer the image file using the tftp command in the 
>> uboot prompt , I get the following output.
>>
>> link up on port 0, speed 100, full duplex
>> Using cpsw device
>> TFTP from server 192.168.43.130; our IP address is 192.168.43.10
>> Filename 'uImage'.
>> Load address: 0x8020
>> Loading: T T T T T T T T T T T T T T T T T T T T 
>> Retry count exceeded; starting again
>> using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
>> MAC 90:59:af:62:d3:1b
>> HOST MAC de:ad:be:af:00:00
>> RNDIS ready
>> ERROR: The remote end did not respond in time.
>> at drivers/usb/gadget/ether.c:2388/usb_eth_init()
>>
>> Any valuable suggestions or tips on this is helpful
>>
>> Regards,
>> Gibson
>>
>>  -- 
>> 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 .
>> 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.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Thank you

2014-03-10 Thread Gibson Justian
Hi folks,
   Thank you for your valuable  suggestions, atlast I was able to debug
the application code using eclipse kepler and gdb the target as BBB, but
one question I have is that, Will I be able to debug the kernel code in
case I implement a  method on the kernel space?

Has anyone of tried to build angstrom for BBB using the linaro toolchain
instead of the oe setup scripts???

Thanks in advance!!!


Gibson

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Debugging Remote C/C++ application with Eclipse and Beaglebone black

2014-03-09 Thread Gibson Justian
Hi,
  I am new in using the Eclipse IDE and the Beaglebone Black. I run 
a debian distribution in the beaglebone black (built from Robert C Nelson's 
git )and the host machine is the debian gnu linux in Vmware , apparently 
the application is  cross compiled with  arm-linux-gnueabihf using the 
linaro toolchain. I have written a sample C/C++ code to flash the user 
 led3 and it works perfectly.

Problem:

1). How to debug the code using the FTDI cable as suggested in the SRM and 
I intend to use a gdb debugger along with eclipse to step-in the program 
and see how it works.

Has anyone succeeded in setting up the debug environment in eclipse 
especially with the beaglebone black using the FTDI cable.

Thanking you,
Gibson.J

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Eclipse Juno Remote Debugging on Beaglebone

2014-03-09 Thread Gibson Justian
Hi,
   Any Idea to debug the beaglebone black using the FTDI 3V3 cable?  


Regards,
Gibson


On Friday, December 28, 2012 9:00:51 PM UTC+5:30, 
steve.ch...@googlemail.com wrote:
>
> Hi 
>
> This post concerns the process for setting up Eclipse Juno Remote 
> Debugging on the Beaglebone
>
> I have been following the instructions given by Jan Alexson on her site 
> http://www.lvr.com/eclipse5.htm. However there appears to-be some change 
> in the latest version of Eclipse (Juno) compared with what Jan based her 
> work on.
>
> In Juno some of the plugins she references don't exist in the download 
> list. *C/C++ DSF GDB Debugger Integration *is a particular plugin of 
> note. I convinced myself that Juno incorporated this and this was the 
> reason the plugin was not visible, however it would be nice to have this 
> confirmed.
>
> The frustrating thing is that binary is successfully built and loaded into 
> the beaglebone, however the step that is meant to modify file permissions 
> isn't being run. The step in question is "chmod 777", hence the execution 
> permission is not set on the Beaglebone. Also the destination location on 
> the Beagle isn't /bin which makes me a little suspicious. As if I manually 
> move the file there (/bin) and change its permissions, to executable, it 
> works fine.
>
> The error message that I get from eclipse isn't very helpful, and a little 
> inaccurate is the file is uploaded ok, it outputs:
>
> Error during file upload.
> Operation failed. File system input or output error
> Operation failed. File system input or output error
> Operation failed. File system input or output error
>
> I found the log file generated by eclipse which located in the 
> workspace/.metadata directory and this isn't much help either. Gives the 
> same output as above plus the java exceptions that caused it. However I do 
> need to analyses it more detail.
>
> 1) Can anyone give me the processes that should be running on the 
> Beaglebone to support the debugging session that is running from Eclipse on 
> the host pc.
>
> 2) Can anyone tell me what plugins Juno should have.
>
> Many 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.
For more options, visit https://groups.google.com/d/optout.