cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
prabha-5g
Visitor
Visitor
305 Views
Registered: ‎03-26-2019

ERROR: `serverip' not set

Jump to solution

I am trying to communicate with a Ethernet (DP83867IRRGZR) chip in a custom FPGA (XCZU28DR) board and I am getting following error when I boot in SD card mode. I am creating the files manually. 

Retry time exceeded; starting again
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-zynqmp
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
*** ERROR: `serverip' not set
Config file not found
starting USB...
No controllers found
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4

How do I set the environmental variable??

I used ZCU111_deconfig file to generate the kernel. 

 

Regards

Prabha

0 Kudos
1 Solution

Accepted Solutions
prabha-5g
Visitor
Visitor
188 Views
Registered: ‎03-26-2019

My issue got fixed. 

I made a mistake in PHY_addr in the DTS file. 

Once I corrected that ETH0 is detected.

Thanks 

Prabha 

View solution in original post

0 Kudos
4 Replies
patocarr
Teacher
Teacher
229 Views
Registered: ‎01-28-2008

Hi @prabha-5g 

  Please post the full U-Boot log. I suspect the PHY may be misconfigured and not detected.

Thanks,

-Pat

 

Give kudos if helpful. Accept as solution if it solves your problem.
https://tuxengineering.com/blog

0 Kudos
stephenm
Moderator
Moderator
199 Views
Registered: ‎09-12-2007

The petalinux will create a boot.scr file. Have you placed this on the SD card too?

The SCR will check your boot mode, and if it is SD card, then it will load the kernel image into the DDR and boot.

If it doesnt it moves down the boot options, and TFTP boot is the last. So, it looks like this is the case?

Anyway, you can boot manually if you have the image.ub on the SD card, then just use the command below:

u-boot> fatload mmc 0 0x1000000 image.ub
u-boot> bootm 0x1000000

 

Reference:

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842223/U-boot

0 Kudos
prabha-5g
Visitor
Visitor
189 Views
Registered: ‎03-26-2019

My issue got fixed. 

I made a mistake in PHY_addr in the DTS file. 

Once I corrected that ETH0 is detected.

Thanks 

Prabha 

View solution in original post

0 Kudos
stephenm
Moderator
Moderator
185 Views
Registered: ‎09-12-2007

Great. Can you mark you own post as solved? This will help others

0 Kudos