MicroPhase / antsdr-fw-patch

Repository of antsdr firmware make
53 stars 20 forks source link

Can't build sd image #6

Closed DarkSov closed 1 year ago

DarkSov commented 1 year ago

The firmware itself builds without any problems, but I can't build sd image for e310. Here's output:

bash -c "source /opt/Xilinx/Vivado/2021.1/settings64.sh && bootgen -image /home/user/Documents/antsdr/antsdr-fw-patch/plutosdr-fw/build_sdimg/boot.bif -o i /home/user/Documents/antsdr/antsdr-fw-patch/plutosdr-fw/build_sdimg/BOOT.bin"

****** Xilinx Bootgen v2021.1
  **** Build date : Jun 10 2021-20:11:31
    ** Copyright 1986-2021 Xilinx, Inc. All Rights Reserved.

ERROR:BootGen - syntax error
   Line #1, "/home/user/Documents/antsdr/antsdr-fw-patch/plutosdr-fw/build_sdimg/boot.bif".
image : {[bootloader] /home/user/Documents/antsdr/antsdr-fw-patch/plut
^^^^^

[ERROR]  : BIF file parsing failed with code 1
make: *** [Makefile:210: sdimg] Error 1
lone-boy commented 1 year ago

@DarkSov hello, If you want to build sd image, you can run make sdimg after build.

DarkSov commented 1 year ago

That's what I have done

lone-boy commented 1 year ago

I just reproduced it again, and it was successfully compiled. I see that your information is the compiled v0.35 version, so it corresponds to vivado 21. I guess it is your environment problem. Can you tell me which version of vivado you use?

DarkSov commented 1 year ago

Sorry for late response, I'm using Vivado 2021.1

lone-boy commented 1 year ago

Ok, I fix it. You can pull and build again.

DarkSov commented 1 year ago

Thanks, everything works now