Giter Site home page Giter Site logo

Comments (6)

vmayoral avatar vmayoral commented on May 29, 2024

Can you try adding the debug flag to see what's failing under the hood? See the options as follows:

colcon acceleration linux -h
usage: colcon acceleration linux [-h] [--debug] [--install-dir INSTALL_DIR]
                                 [--mixin-files [FILE [FILE ...]]]
                                 [--mixin [mixin1 [mixin2 ...]]]
                                 [{preempt_rt,vanilla}] [rootfs]

Configure the Linux kernel.

positional arguments:
  {preempt_rt,vanilla}  Kernel type. Use "vanilla" key for a kernel with the default
                        config, or "preempt_rt" key for a fully preemptible (PREEMPT_RT) kernel.
  rootfs                rootfs name relative to firmware_dir path. If not provided, defaults to
                        rootfs.cpio.gz.

optional arguments:
  -h, --help            show this help message and exit
  --debug
  --install-dir INSTALL_DIR
                        relative path to the workspace directory to deploy in emulation
                        (typically 'install-*').

Mixin predefined sets of command line parameters:
  --mixin-files [FILE [FILE ...]]
                        Additional files providing mixins
  --mixin [mixin1 [mixin2 ...]]
                        No mixins are available for this verb

Do the following and report back in here:

colcon acceleration linux vanilla --install-dir install-kv260 --debug

from acceleration_examples.

jasvinderkhurana avatar jasvinderkhurana commented on May 29, 2024

It is not giving any extra information:

jasvinder@jasvinder-ubuntu:~/jassi/ROS2/krs_ws$ colcon acceleration linux vanilla --install-dir install-kv260 --debug
SECURITY WARNING: This class invokes explicitly a shell via the shell=True argument of the Python subprocess library, and uses admin privileges to manage raw disk images. It is the user's responsibility to ensure that all whitespace and metacharacters passed are quoted appropriately to avoid shell injection vulnerabilities.
- Creating a new base image using /home/jasvinder/jassi/ROS2/krs_ws/acceleration/firmware/select/rootfs.cpio.gz ...
[sudo] password for jasvinder: 
Something went wrong while creating sd card image.
Review the output: gzip: stdin: unexpected end of file

from acceleration_examples.

vmayoral avatar vmayoral commented on May 29, 2024

Then it's pretty early in the process. Something's failing in https://github.com/ros-acceleration/colcon-acceleration/blob/main/colcon_acceleration/subverb/linux.py#L300. Possibly a dependency that you have not installed.

I can't reproduce this behavior in my machine. I'd suggest debugging this function (note you'll need to rebuild your workspace for every change so that files are re-deployed in your overlay). Just put some simple traces, until you bump with the issue.

from acceleration_examples.

jasvinderkhurana avatar jasvinderkhurana commented on May 29, 2024

@vmayoral , Thanks for a quick reply ! I will check and let you know what might be causing the issue.

from acceleration_examples.

vmayoral avatar vmayoral commented on May 29, 2024

@jasvinderkhurana any chance we can close this ticket?

from acceleration_examples.

vmayoral avatar vmayoral commented on May 29, 2024

@jasvinderkhurana I'm closing this, feel free to re-open providing more context if the issue still persists.

from acceleration_examples.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.