I want to try the following things :
- Modify the booting arguments of u-boot of my Petalinux project which is currently using the Xilinx Kernel. I want to modify it such that it runs DHCP during booting of the u-boot itself to acquire an IP address for itself and the IP for TFTP server from our central IT infrastructure.
I know this is possible to do with x86_64 processors running a CentOS grub during the boot process, as thats what systems in our office use. The Wiki page for DHCP also says additional options for acquiring IP address for TFTP server can be added in the DHCP packet. I want to simply try this for ARM processors.
This has been mentioned in the following link :
https://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol
- As you guessed, along with modification of boot arguments to add DHCP in the boot process, I want to modify the DHCP command script to add the TFTP option (if possible for the Petalinux DHCP)
This should essentially look like this ,
U-boot starts booting
It calls DHCP in the process to obtain its own and TFTP server IP from central DHCP server
This DHCP command then along with obtaining its own IP also obtains TFTP server IP
autoload
on should enable dhcp and tftp support on a full-featured u-boot, I guess. Did you compile your own u-boot? What about your u-boot environment? – Philippos May 14 at 14:54