summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Stone <ahs3@redhat.com>2012-11-30 16:23:39 -0700
committerAl Stone <ahs3@redhat.com>2012-11-30 16:23:39 -0700
commitd5a97abd2ae6b3300955e4c2c343ce3d8a31371f (patch)
tree536c8bf354355da1a82d30c24b6afa229d3038d9
parent7cfa935df23105fec704e7311ebdba410798c3d5 (diff)
downloadpatch-axf-d5a97abd2ae6b3300955e4c2c343ce3d8a31371f.tar.gz
patch-axf-d5a97abd2ae6b3300955e4c2c343ce3d8a31371f.tar.xz
patch-axf-d5a97abd2ae6b3300955e4c2c343ce3d8a31371f.zip
Add README fileHEADmaster
Signed-off-by: Al Stone <ahs3@redhat.com>
-rw-r--r--README27
1 files changed, 27 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..de46472
--- /dev/null
+++ b/README
@@ -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"
+
+