We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

Showing results for 
Search instead for 
Did you mean: 
Participant pillinj1
Registered: ‎02-11-2014

XPS Timer not initialized when booting Linux on Microblaze from BPI Flash on VC709

I believe I've found a U-boot issue.

When using Petalinux to configure Linux for Microblaze on the VC709 booting from the BPI Flash, U-boot will indefinitely hang at line "udelay(1000)" in https://github.com/Xilinx/u-boot-xlnx/blob/master/drivers/mtd/cfi_flash.c (either line 1667 or 1703). The reason for this is that the XPS timer is not initialized and counting.

My hack was to change these to udelay(999), as when this happens it eventually passes into an X < 0 condition which always returns immediately. However, it would be nice if the uBlaze actually waited.

0 Kudos