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

2014-07-11 Thread robert.berger
Hi,

On Friday, July 11, 2014 8:31:59 AM UTC+3, Gibson Justian wrote:

 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


I am a bit confused what you are trying to do. 

I assume you made a standard Yocto build for the beagle bone black. Do you 
want to load the kernel and flat device tree over tftp and the rootfs over 
nfs?

Yocto should spit our a uImage and a fdt. [1]

I am not sure networking and nfs support is compiled into the uImage.

This uEnv.txt [2] might help with the right kernel config

Do you still have the problem with loading over tftp?

Can you ping the machine which runs your tftp server from u-boot?

Can you manually load uImage from u-boot?

tftp 0x8030 full_path_to_u-boot_where_tftp_exports_it


in my case:

tftp 0x8030 beagle-bone-black/uImage



[1] 
http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta-yocto-bsp/conf/machine/beaglebone.conf?id=c4f1f0f491f988901bfd6965f7d10f60cb94a76f
[2] 
https://github.com/RobertBerger/meta-mainline/blob/daisy-training-v3.14.x/beagle-bone-black-ml/recipes-bsp/u-boot/u-boot/tftp-nfs-uEnv-beagle-bone-black.txt
 






-- 
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-11 Thread John Syn

From:  robert.berger robert.karl.ber...@gmail.com
Reply-To:  beagleboard@googlegroups.com beagleboard@googlegroups.com
Date:  Thursday, July 10, 2014 at 11:15 PM
To:  beagleboard@googlegroups.com beagleboard@googlegroups.com
Subject:  Re: [beagleboard] Transferring the image to the BBB via TFTP-
using Yocto openembedded 1.6

 Hi,
 
 On Friday, July 11, 2014 8:31:59 AM UTC+3, Gibson Justian wrote:
 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???
You can load uImage if you want, just change bootz to bootm in your uEnv.txt
file.
 
 Regards,
 Gibson
 
 I am a bit confused what you are trying to do.
 
 I assume you made a standard Yocto build for the beagle bone black. Do you
 want to load the kernel and flat device tree over tftp and the rootfs over
 nfs?
 
 Yocto should spit our a uImage and a fdt. [1]
 
 I am not sure networking and nfs support is compiled into the uImage.
When building the Linux Kernel, you have to disable Initrd in the kernel
config.

Regards,
John
 
 
 This uEnv.txt [2] might help with the right kernel config
 
 Do you still have the problem with loading over tftp?
 
 Can you ping the machine which runs your tftp server from u-boot?
 
 Can you manually load uImage from u-boot?
 
 tftp 0x8030 full_path_to_u-boot_where_tftp_exports_it
 
 in my case:
 
 tftp 0x8030 beagle-bone-black/uImage
 
 
 [1] 
 http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta-yocto-bsp/conf/machin
 e/beaglebone.conf?id=c4f1f0f491f988901bfd6965f7d10f60cb94a76f
 [2] 
 https://github.com/RobertBerger/meta-mainline/blob/daisy-training-v3.14.x/beag
 le-bone-black-ml/recipes-bsp/u-boot/u-boot/tftp-nfs-uEnv-beagle-bone-black.txt
  
 
 
 
 
 -- 
 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.


-- 
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, guitar...@gmail.com javascript: 
 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 javascript:.
 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 Alfredo Muniz
On Sat, Jul 5, 2014 at 11:55 AM, guitargib...@gmail.com 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+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 William Hermans
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 alfredoamu...@gmail.com
wrote:


 On Sat, Jul 5, 2014 at 11:55 AM, guitargib...@gmail.com 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+unsubscr...@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 alfred...@gmail.com 
 javascript: wrote:


 On Sat, Jul 5, 2014 at 11:55 AM, guitar...@gmail.com javascript: 
 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 javascript:.
 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 William Hermans
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.

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 guitargib...@gmail.com
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 alfred...@gmail.com
 wrote:


 On Sat, Jul 5, 2014 at 11:55 AM, guitar...@gmail.com 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.


-- 
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 John Syn

From:  William Hermans yyrk...@gmail.com
Reply-To:  beagleboard@googlegroups.com beagleboard@googlegroups.com
Date:  Thursday, July 10, 2014 at 7:46 PM
To:  beagleboard@googlegroups.com beagleboard@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.
One more thing, make sure you update the am335x-boneblack.dtb file from the
kernel you choose. If you don¹t, you will get all kinds of issue like bad
magic number, kernel just hangs, etc.

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 guitargib...@gmail.com
 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-blac
 k-network-boot/
 http://www.embeddedhobbyist.com/debian-tips/beaglebone-black/beaglebone-bla
 ck-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 alfred...@gmail.com wrote:
 
 On Sat, Jul 5, 2014 at 11:55 AM,  guitar...@gmail.com 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
 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.
 
 
 -- 
 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.


-- 
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 John Syn

From:  William Hermans yyrk...@gmail.com
Reply-To:  beagleboard@googlegroups.com beagleboard@googlegroups.com
Date:  Thursday, July 10, 2014 at 7:46 PM
To:  beagleboard@googlegroups.com beagleboard@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.
BTW, I use a small SDCard with only a 100MB fat partition and I only have
MLO, u-boot.img and uEnv.txt files present. Everything else gets loaded from
my TFTP server and then I mount an NFS rootfs. This is great for development
because I can make whatever changes I want on my ³targetNFS² folder on my
desktop and then just reboot my BBB. Very fast turnaround because I don¹t
have to program SDCards or flash eMMC.

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 guitargib...@gmail.com
 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-blac
 k-network-boot/
 http://www.embeddedhobbyist.com/debian-tips/beaglebone-black/beaglebone-bla
 ck-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 alfred...@gmail.com wrote:
 
 On Sat, Jul 5, 2014 at 11:55 AM,  guitar...@gmail.com 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
 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.
 
 
 -- 
 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.


-- 
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 John Syn

From:  William Hermans yyrk...@gmail.com
Reply-To:  beagleboard@googlegroups.com beagleboard@googlegroups.com
Date:  Thursday, July 10, 2014 at 7:46 PM
To:  beagleboard@googlegroups.com beagleboard@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 guitargib...@gmail.com
 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-blac
 k-network-boot/
 http://www.embeddedhobbyist.com/debian-tips/beaglebone-black/beaglebone-bla
 ck-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 alfred...@gmail.com wrote:
 
 On Sat, Jul 5, 2014 at 11:55 AM,  guitar...@gmail.com 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
 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.
 
 
 -- 
 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.


-- 
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.
kernel_file=zImage
initrd_file=initrd.img

##Video: [ls /sys/class/drm/]
##Docs: 
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/fb/modedb.txt
#Video: Uncomment to override:
kms_force_mode=video=HDMI-A-1:1280x1024@60e

##Enable systemd
#initopts=quiet init=/lib/systemd/systemd
#initopts=init=/lib/systemd/systemd

##BeagleBone Cape Overrides
##Note: On the BeagleBone Black, there is also an uEnv.txt in the eMMC, so if 
these changes do not seem to be makeing a difference...

##BeagleBone Black:
##Disable HDMI/eMMC
# Note it is necessary to disable BOTH HDMI and HDMIN (no audio) capes
# in order to use the HDMI pins for I/O
#cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G

##Disable HDMI
# Default

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 yyr...@gmail.com javascript:
 Reply-To: beagl...@googlegroups.com javascript: 
 beagl...@googlegroups.com javascript:
 Date: Thursday, July 10, 2014 at 7:46 PM
 To: beagl...@googlegroups.com javascript: beagl...@googlegroups.com 
 javascript:
 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 guitar...@gmail.com 
 javascript: 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 alfred...@gmail.com 
 wrote:


 On Sat, Jul 5, 2014 at 11:55 AM, guitar...@gmail.com 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 javascript:.
 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 javascript:.
 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] Transferring the image to the BBB via TFTP- using Yocto openembedded 1.6

2014-07-07 Thread guitargibson
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-07 Thread William Hermans
Also very odd that this post did not show up on the groups until 2 days
later. Unless this was a new user thing.


On Mon, Jul 7, 2014 at 9:31 AM, William Hermans yyrk...@gmail.com 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, guitargib...@gmail.com 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.




-- 
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-07 Thread Gerald Coley
It is a non-member thing.

Gerald



On Mon, Jul 7, 2014 at 11:34 AM, William Hermans yyrk...@gmail.com wrote:

 Also very odd that this post did not show up on the groups until 2 days
 later. Unless this was a new user thing.


 On Mon, Jul 7, 2014 at 9:31 AM, William Hermans yyrk...@gmail.com 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, guitargib...@gmail.com 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.



  --
 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.


-- 
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.