Project

General

Profile

Get URL from jenkins file

Added by Bhardwaj Kotha 2 months ago

Hi,
we have an Jenkins file, but we are new to Jenkins and i am not able to get URL from the Jenkins file. Help me out to get the that link and can you guide me the usage and Procedure of Jenkins

Thanking you,
Bhardwaj Kotha.


Replies (6)

RE: Get URL from jenkins file - Added by Daniel Vincelette 2 months ago

Hello,

I believe the Jenkins file you are referring to was provided as a reference and contains internal links to repositories at Critical Link. These links will need to be replaced with the repositories you will be hosting. Are you trying to reproduce the build that was previously provided, or are you setting up a continuous integration server? If it's the former, I recommend building these components outside of Jenkins first. If you need help recreating the build outside of Jenkins please let me know and I can provide steps.

Best regards,
Dan

RE: Get URL from jenkins file - Added by Bhardwaj Kotha 2 months ago

Hi,
We need to build the project from provided jenkins file, and further we are going to modify or add avalon interface to communicated HPS and PL fabric, so we need to regenerate the device tree and build some software on top of it. So how can I download and build. If u guide us to just download the svn repos from "Checkout Project" stage of jenkins file provided to us is also ok for us.

Thank you,
Bharadwaj Kotha.

RE: Get URL from jenkins file - Added by Tim Iskander 2 months ago

If you just need to build the kernel and device tree, you can download the kernel from https://git.criticallink.com/gitweb/?p=linux-socfpga.git;a=shortlog;h=refs/heads/socfpga-5.4.23-lts (branch socfpga-5.4.23-lts is what we used for the delivered build).
The device tree and defconfig are included in the bnet_mps_build32.tgz tarball (under build32/sw/ARM/meta-bnet_mps)

I will update this issue with the SDK you will want to use when I have it available.. Just wanted to get back to you sooner.

cheers
/Tim

RE: Get URL from jenkins file - Added by Tim Iskander 2 months ago

Here is a link to the SDK for the 5CSx
you will need to run it on a linux machine (ubuntu 18 and up recommended)
https://support.criticallink.com/files/socfpga/poky-glibc-i686-epstech-image-bnet-mps-cortexa9hf-neon-mitysom-c5-toolchain-3.0.4.sh

cheers
/Tim

RE: Get URL from jenkins file - Added by Bhardwaj Kotha 2 months ago

Hi,
I have downloaded the kernel from https://git.criticallink.com/gitweb/?p=linux-socfpga.git;a=shortlog;h=refs/heads/socfpga-5.4.23-lts (branch socfpga-5.4.23-lts) and updated the device tree and defconfig files by taking them from build32/sw/ARM/meta-bnet_mps and compiled using the tools u provided in the previous link (SDK). I am getting the poly-int.h no such file or directory error. Here I am attaching the screenshot for that.

Thank you.

RE: Get URL from jenkins file - Added by Tim Iskander 2 months ago

I just did a clean pull of the kernel and built it using the poky 3.0.4 sdk with no issues.
It sounds like either there was some old/other config in the build tree or your environment is different
my build did not attempt to build the gcc_plugins, so no errors.
can you try the following steps and report back?

cd <linux source dir>
git status
source <poky dir>/environment-setup-cortexa9hf-neon-poky-linux-gnueabi (i.e. /opt/poky/3.0.4/environment-setup-cortexa9hf-neon-poky-linux-gnueabi
make mrproper
make clean
[copy your defconfig into arch/arm/configs (i.e. cp meta-bnet_mps/recipes-kernel/linux/linux-cl-socfpga-ltsi/defconfig /space/iskander/kernel/linux-socfpga/arch/arm/configs/socfpga_eps_defconfig )]
[copy your device tree into arch/arm/boot/dts (i.e. cp meta-bnet_mps/recipes-kernel/linux/linux-cl-socfpga-ltsi/socfpga_mitysom5csx_bnet_mps.dts /space/iskander/kernel/linux-socfpga/arch/arm/boot/dts/ )]
rm -f build_eps.log
make V=1 socfpga_eps_defconfig (assuming you named your defconfig socfpga_eps_defconfig ) |& tee -a build_eps.log
make V=1 -j 8 |& tee -a build_eps.log

you can then upload build_eps.log

    (1-6/6)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)