--
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.
TFTP from server 192.168.43.130; our IP address is 192.168.43.10Filename 'uImage'.Load address: 0x80200000Loading: T T T T T T T T T T T T T T T T T T T TRetry count exceeded; starting again
Any valuable suggestions or tips on this is helpful
--
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.
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.
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.
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.
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.
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
tftp 0x80300000 <full_path_to_u-boot_where_tftp_exports_it>
tftp 0x80300000 beagle-bone-black/uImage
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 0x80300000 <full_path_to_u-boot_where_tftp_exports_it>
in my case:tftp 0x80300000 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
U-Boot# setenv autoload no
U-Boot# setenv serverip 192.168.95.134
U-Boot# setenv ipaddr 192.168.95.130
U-Boot# tftp 0x80200000 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: 0x80200000
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!!!
U-Boot# setenv autoload no
U-Boot# setenv serverip 192.168.95.134
U-Boot# setenv ipaddr 192.168.95.130
ping ${serverip}
does this work?
Regards,ping ${serverip}networking should be OK and your problem is the tftp server setup.I pinged the device as Robert suggested and the output obtained is posted below
ping failed; host 192.168.95.134 is not alive ,
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>
Robert,
I use a VMware on which I run Ubuntu 14.04