Compare commits
15 Commits
5b2e221ed8
...
edit
| Author | SHA1 | Date | |
|---|---|---|---|
| 76d8403ea4 | |||
|
|
bce0e50409 | ||
| 515917064c | |||
| badda0fc96 | |||
|
|
4323bdc2c3 | ||
| 3fc6500108 | |||
| a46da36d6d | |||
| ff94f96cf1 | |||
| 4befaa454c | |||
| 1717efe9e9 | |||
| 5f993a84bd | |||
| f3b8d94baa | |||
| aef1f72380 | |||
| b08c0e72d1 | |||
| 44a139d236 |
@@ -3,4 +3,6 @@
|
|||||||
SYSTEM "https://resources.jetbrains.com/writerside/1.0/categories.dtd">
|
SYSTEM "https://resources.jetbrains.com/writerside/1.0/categories.dtd">
|
||||||
<categories>
|
<categories>
|
||||||
<category id="wrs" name="Writerside documentation" order="1"/>
|
<category id="wrs" name="Writerside documentation" order="1"/>
|
||||||
|
<category id="related" name="Related topics" order="2"/>
|
||||||
|
<category id="external" name="External resources" order="3"/>
|
||||||
</categories>
|
</categories>
|
||||||
@@ -12,5 +12,8 @@
|
|||||||
<noindex-content>false</noindex-content>
|
<noindex-content>false</noindex-content>
|
||||||
</variables>
|
</variables>
|
||||||
</build-profile>
|
</build-profile>
|
||||||
|
<footer>
|
||||||
|
<social type="email" href="shinys000114@gmail.com"/>
|
||||||
|
<link href="https://git.sys114.com/">Git</link>
|
||||||
|
</footer>
|
||||||
</buildprofiles>
|
</buildprofiles>
|
||||||
|
|||||||
7
Writerside/cfg/glossary.xml
Normal file
7
Writerside/cfg/glossary.xml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE terms SYSTEM "https://resources.jetbrains.com/writerside/1.0/glossary.dtd">
|
||||||
|
<terms>
|
||||||
|
<term name="foo">
|
||||||
|
Description of what "foo" is.
|
||||||
|
</term>
|
||||||
|
</terms>
|
||||||
9
Writerside/cfg/google.head.html
Normal file
9
Writerside/cfg/google.head.html
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<!-- Google tag (gtag.js) -->
|
||||||
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-8BTPRBKJ5B"></script>
|
||||||
|
<script>
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
|
||||||
|
gtag('config', 'G-8BTPRBKJ5B');
|
||||||
|
</script>
|
||||||
@@ -7,32 +7,17 @@
|
|||||||
start-page="main.md">
|
start-page="main.md">
|
||||||
|
|
||||||
<toc-element topic="main.md"/>
|
<toc-element topic="main.md"/>
|
||||||
<toc-element topic="Image.md">
|
<toc-element toc-title="Image" href="https://image.sys114.com/"/>
|
||||||
<toc-element toc-title="ODROID-C4">
|
|
||||||
<toc-element topic="odroidc4-ubuntu.md"/>
|
|
||||||
</toc-element>
|
|
||||||
<toc-element toc-title="ODROID-N2+">
|
|
||||||
<toc-element topic="odroidn2+-ubuntu.md"/>
|
|
||||||
</toc-element>
|
|
||||||
<toc-element toc-title="ODROID-M1">
|
|
||||||
<toc-element topic="odroidm1-ubuntu.md"/>
|
|
||||||
</toc-element>
|
|
||||||
<toc-element toc-title="ODROID-M1S">
|
|
||||||
<toc-element topic="odroidm1s-ubuntu.md"/>
|
|
||||||
</toc-element>
|
|
||||||
<toc-element toc-title="ODROID-M2">
|
|
||||||
<toc-element topic="odroidm2-ubuntu.md"/>
|
|
||||||
</toc-element>
|
|
||||||
</toc-element>
|
|
||||||
<toc-element toc-title="Kernel">
|
<toc-element toc-title="Kernel">
|
||||||
<toc-element toc-title="Device Tree">
|
<toc-element topic="Build-Kernel.md"/>
|
||||||
|
|
||||||
</toc-element>
|
|
||||||
</toc-element>
|
</toc-element>
|
||||||
|
<toc-element toc-title="Device Tree"/>
|
||||||
<toc-element toc-title="U-Boot">
|
<toc-element toc-title="U-Boot">
|
||||||
</toc-element>
|
</toc-element>
|
||||||
<toc-element toc-title="Odroid">
|
<toc-element toc-title="Odroid">
|
||||||
|
<toc-element topic="Change-kernel-version.md"/>
|
||||||
</toc-element>
|
</toc-element>
|
||||||
|
<toc-element topic="Use-ODROID-STAMPER.md"/>
|
||||||
<toc-element toc-title="About">
|
<toc-element toc-title="About">
|
||||||
</toc-element>
|
</toc-element>
|
||||||
</instance-profile>
|
</instance-profile>
|
||||||
191
Writerside/topics/Build-Kernel.md
Normal file
191
Writerside/topics/Build-Kernel.md
Normal file
@@ -0,0 +1,191 @@
|
|||||||
|
# Build Kernel
|
||||||
|
|
||||||
|
ODROID Linux kernel cross compile
|
||||||
|
|
||||||
|
## Package requirement
|
||||||
|
In order to build Linux kernel, you need to install developement packages required.
|
||||||
|
|
||||||
|
```Bash
|
||||||
|
sudo apt install git build-essential bc flex bison libssl-dev libncurses-dev
|
||||||
|
```
|
||||||
|
|
||||||
|
## Get compiler
|
||||||
|
For build kernel, you must get cross-compiler, and set some environment values.
|
||||||
|
|
||||||
|
| Board | Branch | Cross-compiler |
|
||||||
|
|--------------------------|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| ODROID-C4/HC4/N2/N2L/N2+ | odroidg12-4.9.y | [](https://releases.linaro.org/components/toolchain/binaries/7.4-2019.02/aarch64-linux-gnu/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu.tar.xz) |
|
||||||
|
| ODROID-M1 | odroidm1-4.19.y | [](https://releases.linaro.org/components/toolchain/binaries/7.4-2019.02/aarch64-linux-gnu/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu.tar.xz) |
|
||||||
|
| ODROID-M1S/M2 | odroidm1-5.10.y | [](https://releases.linaro.org/components/toolchain/binaries/7.4-2019.02/aarch64-linux-gnu/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu.tar.xz) |
|
||||||
|
|
||||||
|
```Bash
|
||||||
|
tar Jxvf gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu.tar.xz
|
||||||
|
|
||||||
|
export ARCH=arm64
|
||||||
|
export CROSS_COMPILE=aarch64-linux-gnu-
|
||||||
|
export PATH=/toolchain/path/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu/bin/:$PATH
|
||||||
|
```
|
||||||
|
|
||||||
|
## Connect odroid and mount
|
||||||
|
ODROID, which uses an external eMMC, connects to a PC using an [eMMC Writer](https://www.hardkernel.com/shop/usb3-0-emmc-module-writer-2/).
|
||||||
|
|
||||||
|
For embedded eMMC like M1S/M2, there are two ways to connect to a PC.
|
||||||
|
|
||||||
|
### Use sd card
|
||||||
|
First, burn below image to sd card.
|
||||||
|
|
||||||
|
| Board | Image |
|
||||||
|
|-------|-------------------------------------------------------------------------------|
|
||||||
|
| M1S | [](https://dn.odroid.com/RK3566/ODROID-M1S/Installer/ODROID-M1S_EMMC2UMS.img) |
|
||||||
|
| M2 | [](https://dn.odroid.com/RK3588S2/ODROID-M2/Installer/ODROID-M2_EMMC2UMS.img) |
|
||||||
|
|
||||||
|
|
||||||
|
And boot ODROID, (If M2, set boot switch to Micro SD before boot ODROID), Then connect odroid to your PC using a USB cable.
|
||||||
|
|
||||||
|
### Use usb to uart board
|
||||||
|
Connect [USB-UART Module](https://www.hardkernel.com/shop/usb-uart-2-module-kit-copy/) to pc and ODROID.
|
||||||
|
|
||||||
|
Then, connect to ODROID serial using a terminal emulator such as minicom.
|
||||||
|
|
||||||
|
| Board | Baud rate |
|
||||||
|
|------------------|-------------|
|
||||||
|
| M1/M1S/M2 | 1500000 8N1 |
|
||||||
|
| Except M1/M1S/M2 | 115200 8N1 |
|
||||||
|
|
||||||
|
After booting the board, quickly press Ctrl+C to stop booting on u-boot.
|
||||||
|
|
||||||
|
```Plain text
|
||||||
|
...
|
||||||
|
...
|
||||||
|
aclk_perimid 300000 KHz
|
||||||
|
hclk_perimid 150000 KHz
|
||||||
|
pclk_pmu 100000 KHz
|
||||||
|
Net: No ethernet found.
|
||||||
|
Hit key to stop autoboot('CTRL+C'): 0
|
||||||
|
=> <INTERRUPT>
|
||||||
|
=> <INTERRUPT>
|
||||||
|
=> <INTERRUPT>
|
||||||
|
=>
|
||||||
|
```
|
||||||
|
|
||||||
|
Use `ums` command, you can connect ODROID's eMMC as storage.
|
||||||
|
|
||||||
|
```Plain Text
|
||||||
|
=> ums mmc 0
|
||||||
|
UMS: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x747c000
|
||||||
|
/
|
||||||
|
```
|
||||||
|
|
||||||
|
If you want stop, just press Ctrl+C, and enter reset for reboot board.
|
||||||
|
```Plain Text
|
||||||
|
=> ums mmc 0
|
||||||
|
UMS: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x747c000
|
||||||
|
CTRL+C - Operation aborted
|
||||||
|
=> reset
|
||||||
|
... Reboot start ...
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## Set kernel config
|
||||||
|
One way is to copy the config file from the ODROID board.
|
||||||
|
|
||||||
|
```Bash
|
||||||
|
# In linux kernel source
|
||||||
|
cp /path/to/mounted/boot/partion/config-{kernel version}-odroid-arm64 .config
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## Get source
|
||||||
|
|
||||||
|
You can get kernel source code from Hardkernel's github
|
||||||
|
|
||||||
|
[https://github.com/hardkernel/linux](https://github.com/hardkernel/linux)
|
||||||
|
|
||||||
|
In ODROID, you can get branch name use below command:
|
||||||
|
```Bash
|
||||||
|
uname -r | awk -F'.' '{print "odroid-" $1 "." $2 ".y"}'
|
||||||
|
```
|
||||||
|
|
||||||
|
| Board | Branch |
|
||||||
|
|--------------------------|-----------------|
|
||||||
|
| ODROID-C4/HC4/N2/N2L/N2+ | odroidg12-4.9.y |
|
||||||
|
| ODROID-M1 | odroidm1-4.19.y |
|
||||||
|
| ODROID-M1S/M2 | odroidm1-5.10.y |
|
||||||
|
|
||||||
|
|
||||||
|
Clone kernel source from github
|
||||||
|
```Bash
|
||||||
|
git clone --depth 1 https://github.com/tobetter/linux -b {branch_name}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## Build kernel
|
||||||
|
You have to tweak a couple of things once in order to let the package `flash-kernel` install your custom kernel properly.
|
||||||
|
```Bash
|
||||||
|
cp /boot/config-$(uname -r) .config
|
||||||
|
sed -i "s/.*CONFIG_LOCALVERSION_AUTO.*/CONFIG_LOCALVERSION_AUTO=y/g" .config
|
||||||
|
echo "-odroid-arm64" > .scmversion
|
||||||
|
```
|
||||||
|
|
||||||
|
Then. start build kernel
|
||||||
|
```Bash
|
||||||
|
make oldconfig
|
||||||
|
make
|
||||||
|
```
|
||||||
|
Kernel builds take a lot of time.
|
||||||
|
Use `-j` option in `make` command, Make `make` use multicore.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Install kernel binary
|
||||||
|
After the build, three main results are generated:
|
||||||
|
- Kernel image
|
||||||
|
- Kernel modules
|
||||||
|
- Device tree binary(dtb), overlay files
|
||||||
|
|
||||||
|
In ODROID storage has multiple partitions.
|
||||||
|
There are usually uboot, boot, and rootfs partitions.
|
||||||
|
|
||||||
|
The Kernel image and dtb files are stored in ODROID's boot partition,
|
||||||
|
and The kernel modules are stored in /usr/lib/modules directory in root partition.
|
||||||
|
|
||||||
|
First, you must mount boot and root partitions.
|
||||||
|
If you use ubuntu-desktop, it will usually be mounted automatically.
|
||||||
|
|
||||||
|
For install kernel, you must set some environment variables.
|
||||||
|
```Bash
|
||||||
|
export ARCH=arm64
|
||||||
|
export INSTALL_PATH=/mounted/BOOT/partition/path
|
||||||
|
export INSTALL_MOD_PATH=/mounted/root/partition/path
|
||||||
|
```
|
||||||
|
|
||||||
|
Maybe you need sudo permission, use `sudo -E`, you can keep environment variable values.
|
||||||
|
|
||||||
|
```Bash
|
||||||
|
# kernel install
|
||||||
|
sudo -E make install
|
||||||
|
|
||||||
|
# dtbs install
|
||||||
|
sudo -E make dtbs_install
|
||||||
|
|
||||||
|
# modules install
|
||||||
|
sudo -E make modules_install
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
### Change kernel
|
||||||
|
You can see installed kernel list, use command `linux-version list`.
|
||||||
|
|
||||||
|
If you want change kernel version, use `flash-kernel`.
|
||||||
|
```Bash
|
||||||
|
sudo flash-kernel --force 5.9.0-odroid-arm64
|
||||||
|
```
|
||||||
|
|
||||||
|
<seealso>
|
||||||
|
<category ref="external">
|
||||||
|
<a href="https://github.com/hardkernel/linux">Official kernel source</a>
|
||||||
|
<a href="https://github.com/tobetter/linux">Tobetter's kernel source</a>
|
||||||
|
<a href="https://docs.linuxfactory.or.kr/guides/compile_kernel.html">Build odroid kernel</a>
|
||||||
|
</category>
|
||||||
|
</seealso>
|
||||||
59
Writerside/topics/Change-kernel-version.md
Normal file
59
Writerside/topics/Change-kernel-version.md
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
# Change kernel version
|
||||||
|
|
||||||
|
Some features may be limited depending on the kernel version.
|
||||||
|
Need to change the kernel version, use the method below.
|
||||||
|
|
||||||
|
## Install kernel from package server
|
||||||
|
|
||||||
|
Below is an example of changing to kernel version 6.1.0.
|
||||||
|
|
||||||
|
```Bash
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install linux-image-6.1.0-odroid-arm64
|
||||||
|
sudo flash-kernel --force 6.1.0-odroid-arm64
|
||||||
|
```
|
||||||
|
|
||||||
|
You can Find a kernel list in apt.
|
||||||
|
```Bash
|
||||||
|
sudo apt update
|
||||||
|
apt search odroid-arm64
|
||||||
|
```
|
||||||
|
|
||||||
|
```Plain Text
|
||||||
|
...
|
||||||
|
|
||||||
|
linux-image-4.9.277-beta86-odroid-arm64/stable 4.9.277-202204180200~focal arm64
|
||||||
|
Linux 4.9 for ODROID (64-bit ARMv8 machines)
|
||||||
|
|
||||||
|
linux-image-5.10.0-rt-odroid-arm64/stable 5.10.18-202202211652~focal arm64
|
||||||
|
Linux 5.10 for 64-bit ARMv8 machines
|
||||||
|
|
||||||
|
linux-image-5.11.0-odroid-arm64/stable 5.11.18-202203152140~focal arm64
|
||||||
|
Linux 5.11 for 64-bit ARMv8 machines
|
||||||
|
|
||||||
|
linux-image-5.13.0-odroid-arm64/stable,now 5.13.16-202207222133~focal arm64 [installed,automatic]
|
||||||
|
Linux 5.13 for 64-bit ARMv8 machines
|
||||||
|
|
||||||
|
linux-image-5.14.0-odroid-arm64/stable 5.14.18-202202091916~focal arm64
|
||||||
|
Linux 5.14 for 64-bit ARMv8 machines
|
||||||
|
|
||||||
|
linux-image-5.15.0-odroid-arm64/stable 5.15.167-202411041835 arm64
|
||||||
|
Linux 5.15 for 64-bit ARMv8 machines
|
||||||
|
|
||||||
|
...
|
||||||
|
```
|
||||||
|
|
||||||
|
## View an installed kernel list
|
||||||
|
Use `linux-version` command, you can see list of installed kernel list.
|
||||||
|
```Bash
|
||||||
|
linux-version list
|
||||||
|
5.9.0-odroid-arm64
|
||||||
|
5.9.15-odroid-arm64
|
||||||
|
6.1.0-odroid-arm64
|
||||||
|
```
|
||||||
|
|
||||||
|
## Change kernel
|
||||||
|
Use `flask-kernel`.
|
||||||
|
```Bash
|
||||||
|
sudo flash-kernel --force 6.1.0-odroid-arm64
|
||||||
|
```
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
# Image
|
|
||||||
|
|
||||||
Odroid monthly image.
|
|
||||||
|
|
||||||
I used [odroid-stamper](https://github.com/tobetter/odroid-stamper) to build the image.
|
|
||||||
|
|
||||||
If not pass, it does not guarantee that the image will work, and recommend that it be used only by experienced users.
|
|
||||||
|
|
||||||
|
|
||||||
## Test list
|
|
||||||
- UART
|
|
||||||
- eMMC, SD Card
|
|
||||||
- Boot
|
|
||||||
- HDMI Display
|
|
||||||
- Ethernet
|
|
||||||
116
Writerside/topics/Use-ODROID-STAMPER.md
Normal file
116
Writerside/topics/Use-ODROID-STAMPER.md
Normal file
@@ -0,0 +1,116 @@
|
|||||||
|
# Use ODROID-STAMPER
|
||||||
|
|
||||||
|
[`odroid-stamper`](https://github.com/tobetter/odroid-stamper) is Odroid Image Generation Tool.
|
||||||
|
|
||||||
|
## Basic usage
|
||||||
|
```Bash
|
||||||
|
sudo apt install git wget dialog pv lynx qemu-user-static\
|
||||||
|
dialog rsync squashfs-tools uuid-runtime
|
||||||
|
|
||||||
|
git clone https://github.com/tobetter/odroid-stamper.git
|
||||||
|
cd odroid-stamper
|
||||||
|
export ODROID_STAMPER_CHECKOUT=$PWD
|
||||||
|
sudo -E ./odroid-stamper
|
||||||
|
```
|
||||||
|
|
||||||
|
```Plain Text
|
||||||
|
ODROID-STAMPER
|
||||||
|
┌───────────────────────Custom Ubuntu Recipe─────────────────────────┐
|
||||||
|
│ Please customize the installation. │
|
||||||
|
│ ┌────────────────────────────────────────────────────────────────┐ │
|
||||||
|
│ │ 0 Target () │ │
|
||||||
|
│ │ 1 Board () │ │
|
||||||
|
│ │ 2 Distro (focal) │ │
|
||||||
|
│ │ 3 Flavour (server) │ │
|
||||||
|
│ │ 4 Default user │ │
|
||||||
|
│ │ 5 Password of default user │ │
|
||||||
|
│ └────────────────────────────────────────────────────────────────┘ │
|
||||||
|
├────────────────────────────────────────────────────────────────────┤
|
||||||
|
│ < OK > < Done > <Cancel> │
|
||||||
|
└────────────────────────────────────────────────────────────────────┘
|
||||||
|
```
|
||||||
|
Once you select the board and other settings you want, the image will be built.
|
||||||
|
|
||||||
|
## In the command line
|
||||||
|
```Bash
|
||||||
|
$ ./odroid-stamper --help
|
||||||
|
Usage: odroid-stamper [--help] [--output=<path>] [--live]
|
||||||
|
|
||||||
|
--help: this help message
|
||||||
|
--output=<path>: output directory for image files.
|
||||||
|
--iso: build target OS image as ISO format.
|
||||||
|
--live: enforce to build live boot system image.
|
||||||
|
--compress: compress the final OS image using 'xz'.
|
||||||
|
--keep-builddir: prevent removing temporary directory
|
||||||
|
after building an image.
|
||||||
|
--kernel: kernel package name to use
|
||||||
|
--linuxfactory: alternative server IP address of 'ppa.linuxfactory.or.kr'
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
You can use it from the command line as below.
|
||||||
|
```Bash
|
||||||
|
export ODROID_STAMPER_CHECKOUT=$PWD
|
||||||
|
sudo -E ./odroid-stamper --compress --board=odroidm2 --distro=focal\
|
||||||
|
--flavour=server --username=odroid --password=odroid
|
||||||
|
```
|
||||||
|
|
||||||
|
## Use custom
|
||||||
|
If you want to add the packages you want during odroid-stamper operation, Use custom directory.
|
||||||
|
|
||||||
|
For example, if you want build `custom/npu` image, use command below.
|
||||||
|
```Bash
|
||||||
|
export ODROID_STAMPER_CHECKOUT=$PWD
|
||||||
|
sudo -E ./odroid-stamper --custom=npu
|
||||||
|
```
|
||||||
|
|
||||||
|
Custom/npu is structured as follows.
|
||||||
|
|
||||||
|
- config
|
||||||
|
- fixups
|
||||||
|
- overlay
|
||||||
|
- packages
|
||||||
|
|
||||||
|
### config
|
||||||
|
`config` Defines the default settings for the image.
|
||||||
|
```Plain Text
|
||||||
|
BOARD=odroidm1
|
||||||
|
ARCH=arm64
|
||||||
|
DISTRO=focal
|
||||||
|
FLAVOUR=gnome-desktop
|
||||||
|
DEFAULT_USER=odroid
|
||||||
|
DEFAULT_PASSWD=odroid
|
||||||
|
ALLOW_ROOT_LOGIN=false
|
||||||
|
```
|
||||||
|
You can override it on the command line.
|
||||||
|
|
||||||
|
```Bash
|
||||||
|
export ODROID_STAMPER_CHECKOUT=$PWD
|
||||||
|
sudo -E ./odroid-stamper --custom=npu --board=odroidm2 --distro=noble
|
||||||
|
```
|
||||||
|
|
||||||
|
### package
|
||||||
|
`package` is a list of packages to be installed during image generation.
|
||||||
|
|
||||||
|
```Plain Text
|
||||||
|
cmake
|
||||||
|
g++
|
||||||
|
git
|
||||||
|
libopencv-dev
|
||||||
|
librga-dev
|
||||||
|
python3-dev
|
||||||
|
python3-pip
|
||||||
|
python3-venv
|
||||||
|
python3.9
|
||||||
|
python3.9-dev
|
||||||
|
python3.9-venv
|
||||||
|
```
|
||||||
|
|
||||||
|
### fixup
|
||||||
|
The script in the `fixup` directory is executed during image generation.
|
||||||
|
It also runs the fixup script located in the `custom/npu/fixup` directory.
|
||||||
|
|
||||||
|
### overlay
|
||||||
|
The file to add based on the `/` path.
|
||||||
|
`custom/etc/udev/rules.d/99-odroid-video.rules` file will be copied in `/etc/udev/rules.d/99-odroid-video.rules`
|
||||||
|
|
||||||
@@ -1,45 +0,0 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
|
||||||
<!DOCTYPE topic SYSTEM "https://resources.jetbrains.com/writerside/1.0/html-entities.dtd">
|
|
||||||
<topic xsi:noNamespaceSchemaLocation="https://resources.jetbrains.com/writerside/1.0/topic.v2.xsd"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" is-library="true" id="image-snippet" title="image">
|
|
||||||
|
|
||||||
<snippet id="image-link">
|
|
||||||
<var name="distro" value="focal"/>
|
|
||||||
<var name="flavor" value="server"/>
|
|
||||||
<var name="board" value="odroidc4"/>
|
|
||||||
<p><a href="https://storage.sys114.com/image/monthly/%board%/%distro%/%flavor%/"/></p>
|
|
||||||
|
|
||||||
</snippet>
|
|
||||||
<snippet id="image-test">
|
|
||||||
<var name="name" value="00000000"/>
|
|
||||||
<var name="uart" value="X"/>
|
|
||||||
<var name="storage" value="X"/>
|
|
||||||
<var name="hdmi" value="X"/>
|
|
||||||
<var name="ethernet" value="X"/>
|
|
||||||
<chapter title="%name%" collapsible="true">
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<td>Test</td>
|
|
||||||
<td>PASS</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>UART</td>
|
|
||||||
<td>%uart%</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>eMMC/SD</td>
|
|
||||||
<td>%storage%</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>HDMI</td>
|
|
||||||
<td>%hdmi%</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Ethernet</td>
|
|
||||||
<td>%ethernet%</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</chapter>
|
|
||||||
|
|
||||||
</snippet>
|
|
||||||
</topic>
|
|
||||||
@@ -1,75 +0,0 @@
|
|||||||
# Ubuntu
|
|
||||||
|
|
||||||
<var name="board" value="odroidc4"/>
|
|
||||||
|
|
||||||
## focal
|
|
||||||
|
|
||||||
<var name="distro" value="focal"/>
|
|
||||||
|
|
||||||
### Server {id="server_focal"}
|
|
||||||
|
|
||||||
<var name="flavor" value="server"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-focal-server" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
|
|
||||||
### Desktop {id="desktop_focal"}
|
|
||||||
|
|
||||||
<var name="flavor" value="gnome-desktop"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-focal-desktop" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
|
|
||||||
## jammy
|
|
||||||
|
|
||||||
<var name="distro" value="jammy"/>
|
|
||||||
|
|
||||||
### Server {id="server_jammy"}
|
|
||||||
|
|
||||||
<var name="flavor" value="server"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-jammy-server" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
|
|
||||||
### Desktop {id="desktop_jammy"}
|
|
||||||
|
|
||||||
<var name="flavor" value="gnome-desktop"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-jammy-desktop" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
|
|
||||||
## noble
|
|
||||||
|
|
||||||
<var name="distro" value="noble"/>
|
|
||||||
|
|
||||||
### Server {id="server_noble"}
|
|
||||||
|
|
||||||
<var name="flavor" value="server"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-noble-server" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
|
|
||||||
### Desktop {id="desktop_noble"}
|
|
||||||
|
|
||||||
<var name="flavor" value="gnome-desktop"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-noble-desktop" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
@@ -1,75 +0,0 @@
|
|||||||
# Ubuntu
|
|
||||||
|
|
||||||
<var name="board" value="odroidm1"/>
|
|
||||||
|
|
||||||
## focal
|
|
||||||
|
|
||||||
<var name="distro" value="focal"/>
|
|
||||||
|
|
||||||
### Server {id="server_focal"}
|
|
||||||
|
|
||||||
<var name="flavor" value="server"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-focal-server" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
|
|
||||||
### Desktop {id="desktop_focal"}
|
|
||||||
|
|
||||||
<var name="flavor" value="gnome-desktop"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-focal-desktop" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
|
|
||||||
## jammy
|
|
||||||
|
|
||||||
<var name="distro" value="jammy"/>
|
|
||||||
|
|
||||||
### Server {id="server_jammy"}
|
|
||||||
|
|
||||||
<var name="flavor" value="server"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-jammy-server" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
|
|
||||||
### Desktop {id="desktop_jammy"}
|
|
||||||
|
|
||||||
<var name="flavor" value="gnome-desktop"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-jammy-desktop" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
|
|
||||||
## noble
|
|
||||||
|
|
||||||
<var name="distro" value="noble"/>
|
|
||||||
|
|
||||||
### Server {id="server_noble"}
|
|
||||||
|
|
||||||
<var name="flavor" value="server"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-noble-server" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
|
|
||||||
### Desktop {id="desktop_noble"}
|
|
||||||
|
|
||||||
<var name="flavor" value="gnome-desktop"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-noble-desktop" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
@@ -1,75 +0,0 @@
|
|||||||
# Ubuntu
|
|
||||||
|
|
||||||
<var name="board" value="odroidm1s"/>
|
|
||||||
|
|
||||||
## focal
|
|
||||||
|
|
||||||
<var name="distro" value="focal"/>
|
|
||||||
|
|
||||||
### Server {id="server_focal"}
|
|
||||||
|
|
||||||
<var name="flavor" value="server"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-focal-server" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
|
|
||||||
### Desktop {id="desktop_focal"}
|
|
||||||
|
|
||||||
<var name="flavor" value="gnome-desktop"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-focal-desktop" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
|
|
||||||
## jammy
|
|
||||||
|
|
||||||
<var name="distro" value="jammy"/>
|
|
||||||
|
|
||||||
### Server {id="server_jammy"}
|
|
||||||
|
|
||||||
<var name="flavor" value="server"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-jammy-server" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
|
|
||||||
### Desktop {id="desktop_jammy"}
|
|
||||||
|
|
||||||
<var name="flavor" value="gnome-desktop"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-jammy-desktop" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
|
|
||||||
## noble
|
|
||||||
|
|
||||||
<var name="distro" value="noble"/>
|
|
||||||
|
|
||||||
### Server {id="server_noble"}
|
|
||||||
|
|
||||||
<var name="flavor" value="server"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-noble-server" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
|
|
||||||
### Desktop {id="desktop_noble"}
|
|
||||||
|
|
||||||
<var name="flavor" value="gnome-desktop"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-noble-desktop" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
@@ -1,75 +0,0 @@
|
|||||||
# Ubuntu
|
|
||||||
|
|
||||||
<var name="board" value="odroidm2"/>
|
|
||||||
|
|
||||||
## focal
|
|
||||||
|
|
||||||
<var name="distro" value="focal"/>
|
|
||||||
|
|
||||||
### Server {id="server_focal"}
|
|
||||||
|
|
||||||
<var name="flavor" value="server"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-focal-server" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
|
|
||||||
### Desktop {id="desktop_focal"}
|
|
||||||
|
|
||||||
<var name="flavor" value="gnome-desktop"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-focal-desktop" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
|
|
||||||
## jammy
|
|
||||||
|
|
||||||
<var name="distro" value="jammy"/>
|
|
||||||
|
|
||||||
### Server {id="server_jammy"}
|
|
||||||
|
|
||||||
<var name="flavor" value="server"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-jammy-server" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
|
|
||||||
### Desktop {id="desktop_jammy"}
|
|
||||||
|
|
||||||
<var name="flavor" value="gnome-desktop"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-jammy-desktop" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
|
|
||||||
## noble
|
|
||||||
|
|
||||||
<var name="distro" value="noble"/>
|
|
||||||
|
|
||||||
### Server {id="server_noble"}
|
|
||||||
|
|
||||||
<var name="flavor" value="server"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-noble-server" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
|
|
||||||
### Desktop {id="desktop_noble"}
|
|
||||||
|
|
||||||
<var name="flavor" value="gnome-desktop"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-noble-desktop" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
@@ -1,75 +0,0 @@
|
|||||||
# Ubuntu
|
|
||||||
|
|
||||||
<var name="board" value="odroidn2plus"/>
|
|
||||||
|
|
||||||
## focal
|
|
||||||
|
|
||||||
<var name="distro" value="focal"/>
|
|
||||||
|
|
||||||
### Server {id="server_focal"}
|
|
||||||
|
|
||||||
<var name="flavor" value="server"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-focal-server" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
|
|
||||||
### Desktop {id="desktop_focal"}
|
|
||||||
|
|
||||||
<var name="flavor" value="gnome-desktop"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-focal-desktop" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
|
|
||||||
## jammy
|
|
||||||
|
|
||||||
<var name="distro" value="jammy"/>
|
|
||||||
|
|
||||||
### Server {id="server_jammy"}
|
|
||||||
|
|
||||||
<var name="flavor" value="server"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-jammy-server" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
|
|
||||||
### Desktop {id="desktop_jammy"}
|
|
||||||
|
|
||||||
<var name="flavor" value="gnome-desktop"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-jammy-desktop" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
|
|
||||||
## noble
|
|
||||||
|
|
||||||
<var name="distro" value="noble"/>
|
|
||||||
|
|
||||||
### Server {id="server_noble"}
|
|
||||||
|
|
||||||
<var name="flavor" value="server"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-noble-server" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
|
|
||||||
### Desktop {id="desktop_noble"}
|
|
||||||
|
|
||||||
<var name="flavor" value="gnome-desktop"/>
|
|
||||||
<include from="image-snippet.topic" element-id="image-link"/>
|
|
||||||
|
|
||||||
<chapter title="Test" id="test-noble-desktop" collapsible="true">
|
|
||||||
<include from="image-snippet.topic" element-id="image-test">
|
|
||||||
</include>
|
|
||||||
</chapter>
|
|
||||||
Reference in New Issue
Block a user