Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloned git, ran build.sh and got errors. Anyone seen this before? #40

Open
DanielW0830 opened this issue Jan 13, 2023 · 1 comment
Open

Comments

@DanielW0830
Copy link

DanielW0830 commented Jan 13, 2023

INFO: Fetching U-Boot
+git submodule init xilinx-uboot
+git submodule update --remote --depth 1 xilinx-uboot
+git fetch --depth 1 origin master
+git checkout FETCH_HEAD
Target U-Boot fetched
INFO: Fetching Linux
+git submodule init xilinx-linux
+git submodule update --remote --depth 1 xilinx-linux
+git fetch --depth 1 origin master
+git checkout FETCH_HEAD
Target Linux fetched
INFO: Fetching Buildroot
+git submodule init buildroot-rootfs
+git submodule update --remote --depth 1 buildroot-rootfs
+git fetch --depth 1 origin master
+git checkout FETCH_HEAD
Target Buildroot fetched
INFO: Building U-Boot
U-Boot device-tree arch/arm/dts/enclustra_generated.dts created successfully
+cat configs/xilinx_zynq_virt_defconfig configs/zynq_mercury_defconfig configs/enclustra_env_on_sd_zynq.appendix > configs/enclustra_ebe_generated_defconfig
cat configs/xilinx_zynq_virt_defconfig configs/zynq_mercury_defconfig configs/enclustra_env_on_sd_zynq.appendix > configs/enclustra_ebe_generated_defconfig completed successfully
+make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- enclustra_ebe_generated_defconfig -j8
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- enclustra_ebe_generated_defconfig completed successfully
+make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- -j8
ERROR: Error running make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- -j8 for U-Boot
+mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Uboot mmc start script" -d bscripts/mmcboot-rootfs bscripts/uboot.scr
mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Uboot mmc start script" -d bscripts/mmcboot-rootfs bscripts/uboot.scr completed successfully
INFO: Building Linux
Linux device-tree arch/arm/boot/dts/enclustra_generated.dts created successfully
+cat arch/arm/configs/xilinx_zynq_defconfig arch/arm/configs/enclustra_zynq_defconfig > arch/arm/configs/enclustra_ebe_generated_defconfig
cat arch/arm/configs/xilinx_zynq_defconfig arch/arm/configs/enclustra_zynq_defconfig > arch/arm/configs/enclustra_ebe_generated_defconfig completed successfully
+make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- enclustra_ebe_generated_defconfig -j8
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- enclustra_ebe_generated_defconfig completed successfully
+make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- LOADADDR=0x8000 uImage -j8
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- LOADADDR=0x8000 uImage completed successfully
+make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- dtbs -j8
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- dtbs completed successfully
+make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- modules -j8
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- modules completed successfully
+make INSTALL_MOD_PATH=/home/dwinsor/work/projects/bsp-xilinx/out_20230113135128_Zynq-7000_Mercury_ZX5_Mercury_PE1_MMC/overlays ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- modules_install -j8
make INSTALL_MOD_PATH={ebe_overlays} ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- modules_install completed successfully
INFO: Building Buildroot
+make EBE_OVERLAYS=/home/dwinsor/work/projects/bsp-xilinx/out_20230113135128_Zynq-7000_Mercury_ZX5_Mercury_PE1_MMC/overlays -j8
ERROR: Error running make EBE_OVERLAYS={ebe_overlays} -j8 for Buildroot
INFO: Getting binary boot_files_ME-ZX5-30-1I-D10
+curl -L -O -z /home/dwinsor/work/projects/bsp-xilinx/binaries/boot_files_ME-ZX5-30-1I-D10/ReferenceDesign_ME-ZX5-30-1I-D10_PE1.zip https://github.com/enclustra/Mercury_ZX5_PE1_Reference_Design/releases/download/2022.1_v1.1.2/ReferenceDesign_ME-ZX5-30-1I-D10_PE1.zip
INFO: No new version of ReferenceDesign_ME-ZX5-30-1I-D10_PE1.zip available
INFO: Working directory: /home/dwinsor/work/projects/bsp-xilinx
INFO: Copying files for Linux
INFO: Copying ./sources/xilinx-linux/arch/arm/boot/uImage to ./out_20230113135128_Zynq-7000_Mercury_ZX5_Mercury_PE1_MMC/uImage
INFO: Copying ./sources/xilinx-linux/arch/arm/boot/zImage to ./out_20230113135128_Zynq-7000_Mercury_ZX5_Mercury_PE1_MMC/zImage
INFO: Copying ./sources/xilinx-linux/.config to ./out_20230113135128_Zynq-7000_Mercury_ZX5_Mercury_PE1_MMC/configs/kernel_dotconfig
INFO: Copying ./sources/xilinx-linux/arch/arm/boot/dts/enclustra_generated.dtb to ./out_20230113135128_Zynq-7000_Mercury_ZX5_Mercury_PE1_MMC/devicetree.dtb
INFO: Copying binaries
INFO: Copying ./binaries/boot_files_ME-ZX5-30-1I-D10/fsbl.elf to ./out_20230113135128_Zynq-7000_Mercury_ZX5_Mercury_PE1_MMC/fsbl.elf
INFO: Copying ./binaries/boot_files_ME-ZX5-30-1I-D10/Mercury_ZX5_PE1.bit to ./out_20230113135128_Zynq-7000_Mercury_ZX5_Mercury_PE1_MMC/fpga.bit
INFO: Copying ./bin/boot_config/boot_zynq.bif to ./out_20230113135128_Zynq-7000_Mercury_ZX5_Mercury_PE1_MMC/boot.bif
INFO: Skipping generation of bootimage: bootimage
INFO: The missing files are: u-boot.elf
INFO: --------------------------------------------------------------------------------
ERROR: BUILD FAILED
INFO: Device: Zynq-7000 Mercury ZX5 Mercury PE1 MMC
INFO: Targets: U-Boot (fetch), Buildroot (fetch), Linux (fetch + build)
INFO: Binaries: ME-ZX5-30-1I-D10

@abuerkler
Copy link
Contributor

Hi Daniel

Please have a look at the build.log file (bsp-xilinx/build.log), which contains the detailed log output. That file should provide a hint why U-Boot and Buildroot fail to build. If you need further support, you can send the build.log file to support@enclustra.com.

Best regards,
Andreas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants