Skip to content

Commit e1bf2b3

Browse files
committed
add help
1 parent b1914a8 commit e1bf2b3

3 files changed

Lines changed: 111 additions & 3 deletions

File tree

‎README.md‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,15 @@ Master branch is mirror, checkout branch to arm64 / riscv64 / loongarch64 .You c
3333

3434
## 3. Support
3535

36-
mail: jiangcuo@bingsin.com
36+
Mail: jiangcuo@bingsin.com
3737

38-
issue: https://github.com/jiangcuo/Proxmox-Arm64/issues
38+
Issue: https://github.com/jiangcuo/Proxmox-Arm64/issues
3939

40-
discord: https://discord.gg/ZdbD2gDcnP
40+
Discord: https://discord.gg/ZdbD2gDcnP
41+
42+
Help Page: [help.md](help/helpindex.md)
43+
44+
Arm64 wiki: https://github.com/jiangcuo/Proxmox-Arm64/wiki
4145

4246

4347
## 4. Tested platform:

‎help/helpindex.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Help
2+
3+
## Kernel
4+
5+
[kernel.md](./kernel.md)
6+
7+
## Port Registry
8+
9+
[repo.md](./repo.md)

‎help/kernel.md‎

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
# Proxmox Port Kernel
2+
3+
I forked a kernel project:
4+
5+
`https://github.com/jiangcuo/pve-port-kernel.git`
6+
7+
The pre-build kernel file of this project is stored in the repo:
8+
9+
`deb https://global.mirrors.apqa.cn/proxmox/debian/kernel sid port`
10+
11+
Currently, there are two architectures: LoongArch64 and ARM64.
12+
13+
The config in the kernel selects all arm64 devices and can theoretically be used for all.
14+
15+
## 1. How to install the kernel
16+
17+
### 1.1 Use apt
18+
19+
```bash
20+
#add repo
21+
$ echo "deb https://global.mirrors.apqa.cn/proxmox/debian/kernel sid port" >> /etc/apt/sources.list.d/pveport.list
22+
23+
#fresh
24+
$ apt update
25+
26+
#Lists the available kernels
27+
$ apt search pve-kernel
28+
29+
#install latest kernel by metapackage
30+
$ apt install pve-kernel-6.1-generic
31+
```
32+
33+
### 1.2 Use dpkg
34+
35+
download kernel package form project releases or repo, use
36+
`dpkg -i pve-kernel-*` to install.
37+
38+
### 1.3 Boot from new kernel
39+
40+
A PC booted with should automatically set the latest kernel as the first boot kernel. You just need reboot to apply.
41+
42+
If you encounter a failure with a new kernel ,reboot to grub, select Advanced, and in the next options, select the previous kernel.
43+
44+
45+
### 1.3 uboot devices
46+
47+
The uboot device will read the `/{boot_partition}/extlinux/extlinux.conf` file on the boot.
48+
49+
```bash
50+
# if your boot_partition is /dev/mmcblk0p3
51+
$ mount /dev/mmcblk0p3 /opt
52+
# if pve kernel vmlinuz is vmlinuz-6.1.60-generic
53+
$ cp /boot/vmlinuz-6.1.60-generic /opt
54+
$ sync
55+
```
56+
57+
58+
You can edit your extlinux.conf.
59+
```bash
60+
$ nano /opt/extlinux/extlinux.conf
61+
```
62+
```
63+
default l0
64+
menu title QuartzPro64 Boot Menu
65+
prompt 0
66+
timeout 50
67+
68+
# create a new item with new kernel.
69+
label l0
70+
menu label Boot Linux Kernel SDMMC
71+
linux /vmlinuz-6.1.60-generic
72+
fdt /rk3588-quartzpro64.dtb
73+
append earlycon=uart8250,mmio32,0xfeb50000 console=ttyS2,1500000n8 root=/dev/mmcblk1p5 rw rootwait
74+
75+
# backup old boot item
76+
label 20
77+
menu label Boot Linux Kernel SDMMC Backup
78+
linux /Image
79+
fdt /rk3588-quartzpro64.dtb
80+
append earlycon=uart8250,mmio32,0xfeb50000 console=ttyS2,1500000n8 root=/dev/mmcblk1p5 rw rootwait
81+
```
82+
83+
The kernel package has compiled the DTB file, if you need it, you can go to the "/boot/dtbs/{kernel_version}/" folder.
84+
85+
!!! NOTE
86+
87+
*** Make sure you can access your device using the serial port. If your changes are wrong, you may not be able to boot the system, so you have a serial port that you can debug again. ***
88+
89+
90+
91+
## 2. Manual build
92+
93+
See https://github.com/jiangcuo/pve-port-kernel readme.md
94+
95+

0 commit comments

Comments
 (0)