diff options
author | Al Stone <ahs3@redhat.com> | 2012-11-30 16:23:39 -0700 |
---|---|---|
committer | Al Stone <ahs3@redhat.com> | 2012-11-30 16:23:39 -0700 |
commit | d5a97abd2ae6b3300955e4c2c343ce3d8a31371f (patch) | |
tree | 536c8bf354355da1a82d30c24b6afa229d3038d9 | |
parent | 7cfa935df23105fec704e7311ebdba410798c3d5 (diff) | |
download | patch-axf-d5a97abd2ae6b3300955e4c2c343ce3d8a31371f.tar.gz patch-axf-d5a97abd2ae6b3300955e4c2c343ce3d8a31371f.tar.xz patch-axf-d5a97abd2ae6b3300955e4c2c343ce3d8a31371f.zip |
Signed-off-by: Al Stone <ahs3@redhat.com>
-rw-r--r-- | README | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -0,0 +1,27 @@ + +This tool does one thing only: it modifies the kernel parameters +used in a .axf file that is turn used by the ARM FAST or Foundation +models to run an ARMv8 platform simulation. + +The .axf file in this directory is as it says, useless. It will not +boot. It is only used as a template to create an axf file (sans +initrd) that _will_ boot. + +The ./paxf program takes two parameters: the first is the name to use +for the output axf file; the second is the string to use for the kernel +parameters in the axf file. It also assumes that linux-system-useless.axf +is in ./. + +To build it: + + $ make + +To run it: + + $ ./paxf <output-file> <kernel-parameters> + +For example, to recreate the axf file I use for an NFS root: + + $ ./paxf foo.axf "root=/dev/nfs nfsroot=172.17.100.1:/home/ahs3/armv8-model/nfs-root,tcp,v3 rw ip=172.17.100.2:172.17.100.1:172.17.100.1:255.255.255.0:aarch64:eth0:none console=ttyAMA0 mem=2G earlyprintk debug maxcpus=2" + + |