[meta-xilinx] picozed

Jeff Hagen jhagen at lithetechnology.com
Wed Aug 12 15:51:12 PDT 2015



Thanks for the helpful responses. Here is a combination that works.

The question was, given yocto poky-fido and meta-xilinx, how to 
build/boot u-boot on the picozed so it supports the sdcard on the FMC board.

Use the fsbl.elf from the petalinux bsp.
The petalinux u-boot works, but I want the standard one that supports 
uEnv.txt.

Add the line:

#define CONFIG_ZYNQ_SDHCI0      0xE0100000

to the file .../u-boot-xlnx/.../git/include/configs/zynq_picozed.h
   this file is already patched in a recipe, so to be yocto proper, I 
would need to make a subsequent patch. I'll figure that out later.

bitbake -v -fc compile u-boot-xlnx
bitbake -fc deploy u-boot-xlnx

Use the new u-boot.elf, your .bit file and fsbl.elf from petalinux 
together with bootgen to make BOOT.BIN.

Now the u-boot command,

mmc list
fatls mmc 0
fatls mmc 1

shows both the internal and sd flash

I had the same lack of success with the latest git of u-boot. I bet 
adding the configs from zynq_picozed.h in the right place would work also.

Jeff

-- 
Jeffrey R Hagen
Lithe Technology LLC
jhagen at lithetechnology.com
(520) 488-1155 (mobile)
(520) 621-4771 (office)
http://www.lithetechnology.com




More information about the meta-xilinx mailing list