Sample Header Ad - 728x90

Modifying U-boot booting script and DHCP command script in Petalinux

1 vote
0 answers
1445 views
I want to try the following things : 1. 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 2. 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 , 1. U-boot starts booting 2. It calls DHCP in the process to obtain its own and TFTP server IP from central DHCP server 3. This DHCP command then along with obtaining its own IP also obtains TFTP server IP
Asked by Keyshav Mor (31 rep)
May 14, 2019, 01:36 PM
Last activity: May 14, 2019, 05:22 PM