[meta-xilinx] picozed
Nathan Rossi
nathan at nathanrossi.com
Thu Aug 13 00:11:04 PDT 2015
On Thu, Aug 13, 2015 at 8:51 AM, Jeff Hagen <jhagen at lithetechnology.com> wrote:
>
>
> 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
You probably don't need to define the address, since its already
defined elsewhere and is constant for all Zynq devices.
>
> 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.
Make the patch and submit it upstream and I can add it to meta-xilinx
for you :).
Regards,
Nathan
>
> 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
>
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx
More information about the meta-xilinx
mailing list