[meta-xilinx] How to boot the ZynqMP?
Brian Hutchinson
b.hutchman at gmail.com
Mon Sep 4 10:24:20 PDT 2017
On Thu, Aug 31, 2017 at 5:02 AM, Manjukumar Harthikote Matha <
MANJUKUM at xilinx.com> wrote:
>
>
> I think this patch fixes the issue you are mentioning
> https://github.com/Xilinx/meta-xilinx-tools/commit/
> ecb804aeb5f23156e36e32085a229883944b0b47
>
> Thanks,
> Manju
>
Thank you and Mike Looijmans for this clue!
After applying that patch I discovered my problem was:
| Building '/pmu-firmware'
| 13:07:38 **** Build of configuration Release for project pmu-firmware ****
| make all
| Building file: ../src/idle_hooks.c
| Invoking: MicroBlaze gcc compiler
| mb-gcc -Wall -O2 -c -fmessage-length=0 -MT"src/idle_hooks.o" -Os -flto
-ffat-lto-objects -I../../pmu-firmware_bsp/psu_pmu_0/include
-mlittle-endian -mxl-barrel-shift -mxl-pattern-compare -mcpu=v9.2
-mxl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP
-MF"src/idle_hooks.d" -MT"src/idle_hooks.o" -o "src/idle_hooks.o"
"../src/idle_hooks.c"
|
/home/hutch/Xilinx/SDK/2017.1/gnu/microblaze/lin/bin/../lib/gcc/microblaze-xilinx-elf/6.2.0/../../../../microblaze-xilinx-elf/bin/as:
error while loading shared libraries: libz.so.1: cannot open shared object
file: No such file or directory
| src/subdir.mk:181: recipe for target 'src/idle_hooks.o' failed
| make: *** [src/idle_hooks.o] Error 1
So I added sudo dpkg --add-architecture i386 and installed the i386 libs
but still initially missed one. The one I needed to get past the error was:
sudo apt-get install lib32z1
Build completed and I see BOOT.bin now so I'm happy.
Regards,
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20170904/2f0c4b1a/attachment.html>
More information about the meta-xilinx
mailing list