diff options
author | Evan Lojewski <github@meklort.com> | 2019-04-03 20:55:12 -0600 |
---|---|---|
committer | Evan Lojewski <github@meklort.com> | 2019-04-03 20:55:12 -0600 |
commit | ef55c3b6ecf7bbd4e35fb982b51601a5800ad1fa (patch) | |
tree | 0a90def04244b5336debec0c1e571b40b9fb340a /ipxact/SHM.xml | |
parent | d864aaff9a2a58e3e180824389cff21f38669186 (diff) | |
download | bcm5719-ortega-ef55c3b6ecf7bbd4e35fb982b51601a5800ad1fa.tar.gz bcm5719-ortega-ef55c3b6ecf7bbd4e35fb982b51601a5800ad1fa.zip |
Add initial ape loade rbinary to allow the bcmregtool to read/write arbitrary ape memory and to bootloader ape payloads.
Diffstat (limited to 'ipxact/SHM.xml')
-rw-r--r-- | ipxact/SHM.xml | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/ipxact/SHM.xml b/ipxact/SHM.xml index 52cdc00..b5e9072 100644 --- a/ipxact/SHM.xml +++ b/ipxact/SHM.xml @@ -27,6 +27,28 @@ <!-- LINK: registerDefinitionGroup: see 6.11.3, Register definition group --> <ipxact:size>32</ipxact:size> <ipxact:volatile>true</ipxact:volatile> + <ipxact:field> + <ipxact:name>Sig</ipxact:name> + <ipxact:description></ipxact:description> + <ipxact:bitOffset>0</ipxact:bitOffset> + <ipxact:bitWidth>32</ipxact:bitWidth> + <ipxact:access>read-write</ipxact:access> + <ipxact:enumeratedValues> + <!-- LINK: enumeratedValue: see 6.11.10, Enumeration values --> + <ipxact:enumeratedValue> + <ipxact:name>LOADER</ipxact:name> + <ipxact:value>0x10AD10AD</ipxact:value> + </ipxact:enumeratedValue> + </ipxact:enumeratedValues> + </ipxact:field> + </ipxact:register> + <ipxact:register> + <ipxact:name>APE_SEG_LENGTH</ipxact:name> + <ipxact:description>Set to 0x34.</ipxact:description> + <ipxact:addressOffset>0x4</ipxact:addressOffset> + <!-- LINK: registerDefinitionGroup: see 6.11.3, Register definition group --> + <ipxact:size>32</ipxact:size> + <ipxact:volatile>true</ipxact:volatile> </ipxact:register> <ipxact:register> <ipxact:name>FW_STATUS</ipxact:name> @@ -142,6 +164,57 @@ <ipxact:volatile>true</ipxact:volatile> </ipxact:register> <ipxact:register> + <ipxact:name>Loader_Command</ipxact:name> + <ipxact:description>Command sent when using the the APE loader. Zero once handled.</ipxact:description> + <ipxact:addressOffset>0x38</ipxact:addressOffset> + <!-- LINK: registerDefinitionGroup: see 6.11.3, Register definition group --> + <ipxact:size>32</ipxact:size> + <ipxact:volatile>true</ipxact:volatile> + <ipxact:field> + <ipxact:name>Command</ipxact:name> + <ipxact:description></ipxact:description> + <ipxact:bitOffset>0</ipxact:bitOffset> + <ipxact:bitWidth>32</ipxact:bitWidth> + <ipxact:access>read-write</ipxact:access> + <ipxact:enumeratedValues> + <!-- LINK: enumeratedValue: see 6.11.10, Enumeration values --> + <ipxact:enumeratedValue> + <ipxact:name>NOP</ipxact:name> + <ipxact:value>0</ipxact:value> + </ipxact:enumeratedValue> + <ipxact:enumeratedValue> + <ipxact:name>READ_MEM</ipxact:name> + <ipxact:value>1</ipxact:value> + </ipxact:enumeratedValue> + <ipxact:enumeratedValue> + <ipxact:name>WRITE_MEM</ipxact:name> + <ipxact:value>2</ipxact:value> + </ipxact:enumeratedValue> + <ipxact:enumeratedValue> + <ipxact:name>CALL</ipxact:name> + <ipxact:value>3</ipxact:value> + </ipxact:enumeratedValue> + </ipxact:enumeratedValues> + </ipxact:field> + </ipxact:register> + <ipxact:register> + <ipxact:name>Loader_Arg0</ipxact:name> + <ipxact:description>Argument 0 for the APE loader.</ipxact:description> + <ipxact:addressOffset>0x3c</ipxact:addressOffset> + <!-- LINK: registerDefinitionGroup: see 6.11.3, Register definition group --> + <ipxact:size>32</ipxact:size> + <ipxact:volatile>true</ipxact:volatile> + </ipxact:register> + <ipxact:register> + <ipxact:name>Loader_Arg1</ipxact:name> + <ipxact:description>Argument 1 for the APE loader.</ipxact:description> + <ipxact:addressOffset>0x40</ipxact:addressOffset> + <!-- LINK: registerDefinitionGroup: see 6.11.3, Register definition group --> + <ipxact:size>32</ipxact:size> + <ipxact:volatile>true</ipxact:volatile> + </ipxact:register> + + <ipxact:register> <ipxact:name>RCPU_SEG_SIG</ipxact:name> <ipxact:description>Set to APE_RCPU_MAGIC ('RCPU') by RX CPU.</ipxact:description> <ipxact:addressOffset>0x100</ipxact:addressOffset> |