summary refs log tree commit diff
diff options
context:
space:
mode:
authorgennyble <gen@nyble.dev>2023-11-23 08:46:19 -0600
committergennyble <gen@nyble.dev>2023-11-23 08:46:19 -0600
commit16486a12be7413408c1a6ef3c7f4ba3e30378e3d (patch)
treebdfe3ece6bc7da7246ba5f094a7b54782bcbe7b8
downloaddocs-main.tar.gz
docs-main.zip
init commit; i have to go HEAD main
-rw-r--r--building-a-sysroot.md17
-rw-r--r--command1
-rw-r--r--index.html51
-rw-r--r--index.md56
-rw-r--r--rooting.md1
-rw-r--r--strace.md2
6 files changed, 128 insertions, 0 deletions
diff --git a/building-a-sysroot.md b/building-a-sysroot.md
new file mode 100644
index 0000000..5d4e637
--- /dev/null
+++ b/building-a-sysroot.md
@@ -0,0 +1,17 @@
+
+# genny's mess of links
+- https://blog.jgosmann.de/posts/2021/02/07/a-guide-to-crosscompiling-applications/
+- https://ftp.gnu.org/gnu/binutils/?C=M;O=D
+- https://mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-13.2.0/
+- https://wiki.osdev.org/GCC_Cross-Compiler#Binutils
+- https://gmplib.org/
+- https://ftp.gnu.org/gnu/glibc/?C=M;O=D
+- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
+- https://gcc.gnu.org/install/configure.html
+- https://github.com/cz172638/v4l-utils/blob/master/INSTALL
+- https://source.android.com/docs/setup/download/downloading
+- https://www.kernel.org/doc/Documentation/kbuild/headers_install.txt
+- https://stackoverflow.com/a/10800929
+- https://en.wikipedia.org/wiki/Qualcomm_Hexagon#Snapdragon_800_series
+- https://www.gnu.org/software/bash/manual/html_node/Bash-Variables.html
+- https://github.com/rust-lang/rust-bindgen
diff --git a/command b/command
new file mode 100644
index 0000000..db8047d
--- /dev/null
+++ b/command
@@ -0,0 +1 @@
+comrak --hardbreaks -t html --header-ids "" --unsafe -e footnotes --syntax-highlighting none -o index.html index.md
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..cf0c93d
--- /dev/null
+++ b/index.html
@@ -0,0 +1,51 @@
+<h1><a href="#cpu-info" aria-hidden="true" class="anchor" id="cpu-info"></a>CPU Info</h1>
+<p>Qualcomm Snapdragon 820. Full name APQ8096 but seems to mostly be known under the name MSM8996.<sup class="footnote-ref"><a href="#fn-1" id="fnref-1" data-footnote-ref>1</a></sup><sup class="footnote-ref"><a href="#fn-2" id="fnref-2" data-footnote-ref>2</a></sup></p>
+<details>
+	<summary>full <code>cat /proc/cpuinfo</code></summary>
+<pre><code>root@LFC:/data/local/tmp # cat /proc/cpuinfo
+Processor       : AArch64 Processor rev 2 (aarch64)
+processor       : 0
+Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32
+CPU implementer : 0x51
+CPU architecture: 8
+CPU variant     : 0x1
+CPU part        : 0x211
+CPU revision    : 2
+
+processor       : 1
+Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32
+CPU implementer : 0x51
+CPU architecture: 8
+CPU variant     : 0x1
+CPU part        : 0x211
+CPU revision    : 2
+
+processor       : 2
+Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32
+CPU implementer : 0x51
+CPU architecture: 8
+CPU variant     : 0x1
+CPU part        : 0x205
+CPU revision    : 2
+
+processor       : 3
+Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32
+CPU implementer : 0x51
+CPU architecture: 8
+CPU variant     : 0x1
+CPU part        : 0x205
+CPU revision    : 2
+
+Hardware        : Qualcomm Technologies, Inc APQ8096
+</code></pre>
+</details>
+<section class="footnotes" data-footnotes>
+<ol>
+<li id="fn-1">
+<p>I had little luck finding results for the APQ8096. The MSM8996 seems to be what Qualcomm prefers to call this as <a href="https://android.googlesource.com/platform/hardware/qcom/msm8996/+/refs/heads/main">the code targeting the processor</a> uses that name. <a href="#fnref-1" class="footnote-backref" data-footnote-backref data-footnote-backref-idx="1" aria-label="Back to reference 1">↩</a></p>
+</li>
+<li id="fn-2">
+<p>I was first able to map these to one another from the <a href="https://wiki.postmarketos.org/wiki/Qualcomm_Snapdragon_820/821_(MSM8996)">postmarketos page on the 820</a>. <a href="#fnref-2" class="footnote-backref" data-footnote-backref data-footnote-backref-idx="2" aria-label="Back to reference 2">↩</a></p>
+</li>
+</ol>
+</section>
diff --git a/index.md b/index.md
new file mode 100644
index 0000000..c32bd79
--- /dev/null
+++ b/index.md
@@ -0,0 +1,56 @@
+# CPU Info
+
+Qualcomm Snapdragon 820. Full name APQ8096 but seems to mostly be known under the name MSM8996.[^1][^2]
+
+It is an ARMv8 processor which puts it in the aarch64 architecture.
+
+[^1]: I had little luck finding results for the APQ8096. The MSM8996 seems to be what Qualcomm prefers to call this as [the code targeting the processor][aosp-msm8996] uses that name.
+
+[^2]: I was first able to map these to one another from the [postmarketos page on the 820][postmarket-q820].
+
+[postmarket-q820]: https://wiki.postmarketos.org/wiki/Qualcomm_Snapdragon_820/821_(MSM8996)
+
+[aosp-msm8996]: https://android.googlesource.com/platform/hardware/qcom/msm8996/+/refs/heads/main
+
+<details>
+	<summary>full <code>cat /proc/cpuinfo</code></summary>
+
+```
+root@LFC:/data/local/tmp # cat /proc/cpuinfo
+Processor       : AArch64 Processor rev 2 (aarch64)
+processor       : 0
+Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32
+CPU implementer : 0x51
+CPU architecture: 8
+CPU variant     : 0x1
+CPU part        : 0x211
+CPU revision    : 2
+
+processor       : 1
+Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32
+CPU implementer : 0x51
+CPU architecture: 8
+CPU variant     : 0x1
+CPU part        : 0x211
+CPU revision    : 2
+
+processor       : 2
+Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32
+CPU implementer : 0x51
+CPU architecture: 8
+CPU variant     : 0x1
+CPU part        : 0x205
+CPU revision    : 2
+
+processor       : 3
+Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32
+CPU implementer : 0x51
+CPU architecture: 8
+CPU variant     : 0x1
+CPU part        : 0x205
+CPU revision    : 2
+
+Hardware        : Qualcomm Technologies, Inc APQ8096
+```
+
+</details>
diff --git a/rooting.md b/rooting.md
new file mode 100644
index 0000000..2183e1d
--- /dev/null
+++ b/rooting.md
@@ -0,0 +1 @@
+- https://xdaforums.com/t/light-l16-firmware.4403267/post-87851689
diff --git a/strace.md b/strace.md
new file mode 100644
index 0000000..7c7ef24
--- /dev/null
+++ b/strace.md
@@ -0,0 +1,2 @@
+- https://source.android.com/docs/core/tests/debug/strace
+- https://en.wikipedia.org/wiki/Strace