add comments about where to get packages from

This commit is contained in:
bunnie 2021-07-11 14:13:34 +08:00
parent cfd3339b5a
commit dfb8d89866
3 changed files with 8 additions and 8 deletions

View file

@ -3,7 +3,7 @@
<device schemaVersion="1.1" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="CMSIS-SVD.xsd" > <device schemaVersion="1.1" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="CMSIS-SVD.xsd" >
<vendor>litex</vendor> <vendor>litex</vendor>
<name>SOC</name> <name>SOC</name>
<description><![CDATA[Litex SoC 2021-07-11 03:44:53]]></description> <description><![CDATA[Litex SoC 2021-07-11 04:33:17]]></description>
<addressUnitBits>8</addressUnitBits> <addressUnitBits>8</addressUnitBits>
<width>32</width> <width>32</width>
@ -1222,10 +1222,10 @@ register to disable individual events.]]></description>
<register> <register>
<name>GIT_GITREV</name> <name>GIT_GITREV</name>
<description><![CDATA[First 32-bits of the git revision. This documentation was built from git rev <description><![CDATA[First 32-bits of the git revision. This documentation was built from git rev
``ea5b09a2``, so this value is 3931834786, which should be enough to check out ``a27f1fe4``, so this value is 2726240228, which should be enough to check out
the exact git version used to build this firmware.]]></description> the exact git version used to build this firmware.]]></description>
<addressOffset>0x0014</addressOffset> <addressOffset>0x0014</addressOffset>
<resetValue>0xea5b09a2</resetValue> <resetValue>0xa27f1fe4</resetValue>
<size>32</size> <size>32</size>
<fields> <fields>
<field> <field>
@ -1242,7 +1242,7 @@ the exact git version used to build this firmware.]]></description>
is ``1``, then the repository this was built from has one additional commit is ``1``, then the repository this was built from has one additional commit
beyond the tag indicated in `MAJOR`, `MINOR`, and `REVISION`.]]></description> beyond the tag indicated in `MAJOR`, `MINOR`, and `REVISION`.]]></description>
<addressOffset>0x0018</addressOffset> <addressOffset>0x0018</addressOffset>
<resetValue>0x37</resetValue> <resetValue>0x39</resetValue>
<size>32</size> <size>32</size>
<fields> <fields>
<field> <field>
@ -3467,7 +3467,7 @@ inject too fast.]]></description>
<name>SEED1</name> <name>SEED1</name>
<description><![CDATA[Bits 32-63 of `SEED_SEED`. Seed used for the build]]></description> <description><![CDATA[Bits 32-63 of `SEED_SEED`. Seed used for the build]]></description>
<addressOffset>0x0000</addressOffset> <addressOffset>0x0000</addressOffset>
<resetValue>0x19d1ba57</resetValue> <resetValue>0x657b4b20</resetValue>
<size>32</size> <size>32</size>
<fields> <fields>
<field> <field>
@ -3482,7 +3482,7 @@ inject too fast.]]></description>
<name>SEED0</name> <name>SEED0</name>
<description><![CDATA[Bits 0-31 of `SEED_SEED`.]]></description> <description><![CDATA[Bits 0-31 of `SEED_SEED`.]]></description>
<addressOffset>0x0004</addressOffset> <addressOffset>0x0004</addressOffset>
<resetValue>0x441dea57</resetValue> <resetValue>0x4ba4def0</resetValue>
<size>32</size> <size>32</size>
<fields> <fields>
<field> <field>

Binary file not shown.

View file

@ -1,8 +1,8 @@
#! /usr/bin/env python3 #! /usr/bin/env python3
import argparse import argparse
import sys import sys
from Crypto.IO import PEM from Crypto.IO import PEM # counter-intuitively, this is from pycryptodome: `pip3 install pycryptodome`
from nacl.signing import SigningKey from nacl.signing import SigningKey # from pynacl package: `pip3 install pynacl`
from nacl.encoding import RawEncoder from nacl.encoding import RawEncoder
import os.path import os.path