Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/code-hex/puipui-linux
So tiny linux for testing virtualization (Virtual I/O aka VIRTIO) purpose
https://github.com/code-hex/puipui-linux
Last synced: 4 days ago
JSON representation
So tiny linux for testing virtualization (Virtual I/O aka VIRTIO) purpose
- Host: GitHub
- URL: https://github.com/code-hex/puipui-linux
- Owner: Code-Hex
- Created: 2022-10-03T11:08:41.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-28T16:37:09.000Z (15 days ago)
- Last Synced: 2024-10-28T17:28:28.995Z (15 days ago)
- Language: Shell
- Size: 72.3 KB
- Stars: 25
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PUI PUI Linux
![puipui](https://user-images.githubusercontent.com/6500104/194863884-2b3fb507-e3ad-413c-93f1-b4249068f218.png)
This is the minimum linux for testing the apple virtualization framework (https://github.com/Code-Hex/vz). So I assumed to support architectures are only x86\_64 and aarch64 (arm64).
This vmlinux is actually very very small other than linux distributions.
Since file size is very small in totally, I can do testing on the any CI with download them.
## Kernel
What's supported:
- Internet
- VIRTIO (Virt device I/O)
- virtio blk device
- virtio console (via hvc drivers. e.g. `console=hvc0`)
- virtio filesystem (virtfs)
- af\_vsock## Initramfs
Our initramfs has a very simple init system controlled by `fs/init` script on this repository root. this script will do:
- Mount any file systems (proc, sysfs and devfs).
- Setup console which is an user specified by a console kernel parameter.
- Find devices and add them to `/etc/inittab` and `/etc/securetty`.You can use it with other linux distributions.
## Usage
### Build all
```
$ ./puipui-linux-tool
```### Update Kernel config
```
$ ./puipui-linux-tool -u
```## Hack
This tool is used musl cross compiler. On arm64 environment the tool will be downloaded those pre build toolchains from https://github.com/Code-Hex/musl-cross-make-arm64