This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux: Yocto build and deploy tftp and bootp client on Beaglebone Black

Tool/software: Linux

Hi,

I am trying to build and deploy bootp and tftp clients to the Linux rootfs on Beagle Black (AM335x) using Yocto build system. Since I am relatively new in this area, there are a couple of questions arise. Hope I can get answers here:

Questions:

1. What is the standard way of building and deploying this using Yocto?

I assume I can just get the recipes from git://git.openembedded.org/meta-openembedded and its depending layers. Then use IMAGE_INSTALL to include the recipe name. The recipe will build and deploy the tftp and bootp client to rootfs.

Please explain if this is not true or anything I missed.

2. What is the recommended tftp client to use?

3. What is the recommended bootp client to use? I do not seem to find a bootp client in the meta-openembedded and other places. What is the recommended solution for this?

Thank you for your help.

  • Matt,

    The standard SDK FS has a TFTP client as part of the busybox build that works pretty well. The bootp client is usually handled by the boot ROM and once it passes off to U-Boot, DHCP and TFTP take over and everything that is needed is in the SDK.

    As to your questions:

    Matt Tsai52 said:

    1. What is the standard way of building and deploying this using Yocto?

    I assume I can just get the recipes from git://git.openembedded.org/meta-openembedded and its depending layers. Then use IMAGE_INSTALL to include the recipe name. The recipe will build and deploy the tftp and bootp client to rootfs.

    Please explain if this is not true or anything I missed.

    Yes, this should work fine if you need to add packages. However, as I stated above, you shouldn't need to add any packages for these functions.

    Matt Tsai52 said:
    2. What is the recommended tftp client to use?

    The one in busybox seems to be fine.

    Matt Tsai52 said:
    3. What is the recommended bootp client to use? I do not seem to find a bootp client in the meta-openembedded and other places. What is the recommended solution for this?

    This is usually handed well by the boot ROM. Standard DHCP client works well beyond that.

    I hope. this helps.

  • Ron,

    Thank you. The tftp client in busybox seems to suit my need.

    For bootp client, my application needs a bootp client to run on specified server and client port numbers when Linux starts to get an IP address. I am not sure which bootp client is capable of doing that. Or, maybe the busybox udhcpc can do this. I wonder if you or anyone on this forum know about this?

    Thank you for your help.

  • Ron,

    I was able to do bootp at Linux. So this solves the problem. Thank you for your help!