Skip to content
  1. Jun 06, 2025
  2. Jun 05, 2025
  3. Jun 04, 2025
    • Jagdish Gediya's avatar
      Refactor distro build support · d9e8551c
      Jagdish Gediya authored
      
      
      Create dedicated functions for each task while modifying distro image
      with custom kernel and initrd.
      
      Also, change the directory name for uefi/distro artifacts to match it
      with ci tests.
      
      This refactoring is expected to be useful while adding support for the
      new distro boot support in future with minimal modification.
      
      Signed-off-by: Jagdish Gediya's avatarJagdish Gediya <jagdish.gediya@arm.com>
      d9e8551c
  4. Jun 02, 2025
  5. Mar 20, 2025
    • Jagdish Gediya's avatar
      Replace buildroot prompt from '#' to $USER@buildroot:~# · 6a9ea996
      Jagdish Gediya authored
      
      
      Replace buildroot prompt from '#' to $USER@buildroot:~# by adding
      /etc/profile file to rootfs overlay, this needs to be done as '#'
      appears in kernel logs also which results into CI assuming the boot is
      complete, it tries to run further comands and fails.
      
      profile file is copied from buildroot code, and PS1 variable is modified
      on top of default file available in buildroot.
      
      Signed-off-by: Jagdish Gediya's avatarJagdish Gediya <jagdish.gediya@arm.com>
    • Jagdish Gediya's avatar
      Optimize build system · 3b5df762
      Jagdish Gediya authored
      
      
      Add support to run individual commands like clean/build/package
      with build-stack.sh script.
      
      Generally all target does build and doesn't clean the project. Cleaning
      all the components and building them again takes lot of time so don't
      clean the components with all target, while running all target if there
      is an error for the single component, running all again will start fresh
      build and makes debugging take unnecessary long time, fresh checkout are
      anyway clean so should be fine to build without cleaning.
      
      This will also be useful to package everything without taking long time
      when single component is modified, in such case, just clean the single
      component and run the all target on all the components.
      
      If full cleaning is required then clean target can be run with build-stack.sh
      script.
      
      Also, don't run build command by default when no command is specified.
      
      Signed-off-by: Jagdish Gediya's avatarJagdish Gediya <jagdish.gediya@arm.com>
      3b5df762
    • Jagdish Gediya's avatar
      56c3de55
    • Jagdish Gediya's avatar
      Add support to run multiple action in single build command · 13e90763
      Jagdish Gediya authored
      
      
      earlier only one of clean/build/package could be provided with build
      script, add support to run multiple build actions with single build
      command e.g.
      
      $ ./build-scripts/build-hafnium.sh -p aemfvp-a-rme clean build package
      
      Signed-off-by: Jagdish Gediya's avatarJagdish Gediya <jagdish.gediya@arm.com>
      13e90763
    • Jagdish Gediya's avatar
      Use system installed clang for hafnium build · 8d554fa8
      Jagdish Gediya authored
      
      
      clang/llvm built from source is installed in build docker image
      so it can be used directly without exporting any path.
      
      Signed-off-by: Jagdish Gediya's avatarJagdish Gediya <jagdish.gediya@arm.com>
      8d554fa8
    • Jagdish Gediya's avatar
      Fix re-building buildroot without cleaning · 8a56e50c
      Jagdish Gediya authored
      
      
      overlay data needs to be removed from buildroot target directory
      before rebuild otherwise it gets included in realm fs also which
      fails as realm fs is small.
      
      Similarly ${TOP_DIR}/initrd needs to be removed for re-build to
      overwrite initrd without any manual intervention.
      
      Signed-off-by: Jagdish Gediya's avatarJagdish Gediya <jagdish.gediya@arm.com>
      8a56e50c
    • Jagdish Gediya's avatar
      deb-pkg: use pkg.linux-upstream.nokernelheaders build profile · 4d8e7398
      Jagdish Gediya authored
      
      
      upstream linux kernel build throws below error while bindeb-pkg build,
      
       dpkg-source --before-build .
      dpkg-checkbuilddeps: error: Unmet build dependencies: libssl-dev
      dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
      dpkg-buildpackage: warning: (Use -d flag to override.)
      make[2]: *** [scripts/Makefile.package:126: bindeb-pkg] Error 3
      make[1]: *** [/home/jagged01/projects/arm/infra/aemfvp-a-rme_1/linux/Makefile:1622: bindeb-pkg] Error 2
      make: *** [Makefile:251: __sub-make] Error 2
      
      The solution is referenced from linux kernel commit e2c318225ac
      ("kbuild: deb-pkg: add pkg.linux-upstream.nokernelheaders build profile").
      
      Signed-off-by: Jagdish Gediya's avatarJagdish Gediya <jagdish.gediya@arm.com>
      4d8e7398
  6. Mar 19, 2025
  7. Dec 20, 2024
  8. Oct 04, 2024
  9. Jul 01, 2024
Loading