Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
  • Sign in / Register
lava
lava
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 112
    • Issues 112
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 17
    • Merge Requests 17
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Security & Compliance
    • Security & Compliance
    • Dependency List
  • Packages
    • Packages
    • Container Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • lava
  • lavalava
  • Issues
  • #94

Closed
Open
Opened Sep 12, 2018 by Neil Williams@codehelp💬
  • Report abuse
  • New issue
Report abuse New issue

Ramdisk: download, but don't add header, don't pass to u-boot

Currently, LAVA assumes that the ramdisk will always be passed to the kernel by u-boot. But, there are other ways for the DT to get to the kernel. Either using the initrd= commandline, or by adding properties into the DT that tell the kernel where the ramdisk is loaded in memory. The kernel also supports other fs formats besides .cpio.gz.

At least for u-boot devices, LAVA assumes that ramdisk will be .cpio.gz, but also always adds a u-boot header to the ramdisk image. (There is an 'add_header' paramter, but is it not override-able by device-types.) It also always passes the ramdisk addr as an argument to bootX.

Both of these steps (adding u-boot header, passing to bootx) should be options that can be overridden. Probably respecting "allow_modify" to avoid adding u-boot header is enough, but another flag to signal "don't pass this ramdisk via u-boot" is also needed.

Migrated from https://projects.linaro.org/browse/LAVA-1136

Related issues

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
2
Labels
Linaro Migrated
Assign labels
  • View project labels
Reference: lava/lava#94