Coder Social home page Coder Social logo

iasimage's Introduction

DISCONTINUATION OF PROJECT.

This project will no longer be maintained by Intel.

Intel has ceased development and contributions including, but not limited to, maintenance, bug fixes, new releases, or updates, to this project.

Intel no longer accepts patches to this project.

If you have an ongoing need to use this project, are interested in independently developing it, or would like to maintain patches for the open source software community, please create your own fork of this project. Build Status

iasimage

iasimage is a utility program for creating Intel Automotive Service (IAS) images, a binary file format understood by bootloaders to load and initialize Operating Systems or Hypervisors.

iasimage supports the following features:

  • Create an image (including kernel cmdline, kernel, hypervisor binary etc.)
  • Attach a signature to an IAS image
  • Extract components from an IAS image

Examples

Create an IAS image

iasimage create -o iasImage -i 0x30000 cmdline.txt bzImage initrd

Create a multi-file IAS image of type #3 with default page alignment:

iasimage create -o iasImage -i 0x30000 cmdline.txt bzImage initrd acpi Firmware1.bin --page-aligned

Create a multi-file IAS image of type #3 given page alignment:

iasimage create -i 0x40000 cmdLine.txt elf1.bin cmdLine2.txt elf2.bin -o test_image.img --page-aligned=2

Default page alignment values for multi-file images are:

  • for type #3 alignment is 5
  • for type #4 alignment is 4
  • for type #10 alignment is 2

Sign an IAS image

iasimage sign -o iasImage_signed -s rsa.sig -k pub_key.pem iasImage

Create a signed IAS image with a private key (for development purposes only).

iasimage create -o iasImage -i 0x30300 -d priv_key.pem cmdline.txt bzImage initrd

Extract components from an IAS image

iasimage extract iasImage

iasimage's People

Contributors

aonea-harman avatar busykai avatar huang-jin-intel avatar jgutbub avatar mauricema avatar mschuetterle avatar rdower avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

iasimage's Issues

Error running iasiamge v0.0.1

$ iasimage --help
File "/usr/bin/iasimage", line 41
from future import print_function
^
SyntaxError: from future imports must occur at the beginning of the file

Looks like there are two 'string sections' (i.e. """) before the import future

Stitching no work properly when add in additional parameter in cmdline

Having issue went add in pad1 and splash.data in cmdline. After stitch iasImage that generated will contain this both parameter. However, now it able to get 1st parameter and 2nd will be missing after the stitching.

expected cmdline:
console=ttyS2,115200n8 root=/dev/mmcblk0p1 quiet console=tty0 console=ttyS0,115200n8 init=/usr/lib/systemd/systemd-bootchart initcall_debug pad1=0xddc@0x7aaa1224 splash.data=0x1fa4fc@0x7aaa2000

Issue cmdline:
console=ttyS2,115200n8 root=/dev/mmcblk0p1 quiet console=tty0 console=ttyS0,115200n8 init=/usr/lib/systemd/systemd-bootchart initcall_debug pad1=0xddc@0x7aaa1224
(one of the parameter is missing)

Able to support RSA4096 signature?

I see signature length is only 256 byte. Does it mean iasimage cannot support RSA4096? If yes, not sure if there's plan to support it?

Add custom ACPI table to image

Hi,
How to add custom acpi table to finally image? I need add my own acpi table to ClearLinux image, but I can't see the documentation anywhere

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.