Hi,
I am using yocto to generate my custom Linux image to load them through U-boot. I have to reload the images very often, and that is why I have opted to use TFTP boot for this. The issue I am having is that my network is blocking the static IP attribution necessary for U-boot (my U-boot version does not have DHCP enabled).
So, how can I create a new U-boot image through Yocto enabling DHCP so I can update the one I use on the board?
I am using SDK 1.9.
Thanks in advance,
Please get u-boot source code with the following command.
$ bitbake u-boot -c patch -f
Go to u-boot source code folder build_<board>/tmp/work/<board>-fsl-linux/u-boot-qoriq/<version>+fslgit-r0/git/, please eidt configs/<board>_defconfig file add the following configuration.
CONFIG_CMD_DHCP=y
Go back to folder build_<board>, rebuild u-boot with the following command.
$ bitbake u-boot