mirror of
https://github.com/clockworkpi/DevTerm.git
synced 2025-12-17 12:48:49 +01:00
Updated Create DevTerm R01 OS image from scratch (markdown)
parent
9a0027da4e
commit
19d588c326
@ -88,7 +88,7 @@ sudo dd if=u-boot.toc1 of=/dev/sdX bs=512 seek=32800
|
||||
|
||||
# Disk partition prepare
|
||||
|
||||
## old fedora image fdisk partition
|
||||
## Original fedora image fdisk partition
|
||||
```
|
||||
Units: sectors of 1 * 512 = 512 bytes
|
||||
Sector size (logical/physical): 512 bytes / 512 bytes
|
||||
@ -103,7 +103,7 @@ fedora-riscv64-d1-developer-xfce-rawhide-Rawhide-20211124-132603.n.0-sda.raw.img
|
||||
```
|
||||
|
||||
|
||||
## create disk image file
|
||||
## Create disk image file
|
||||
|
||||
### create image file with dd
|
||||
```
|
||||
@ -128,7 +128,7 @@ https://cdimage.ubuntu.com/releases/21.04/release/
|
||||
|
||||
https://cdimage.ubuntu.com/releases/21.04/release/ubuntu-21.04-preinstalled-server-riscv64+unmatched.img.xz
|
||||
|
||||
## take rootfs of ubuntu out
|
||||
## Take rootfs of ubuntu out
|
||||
```
|
||||
sudo losetup --show -f -P ubuntu-21.04-preinstalled-server-riscv64+unmatched.img # eg: /dev/loop1,depends on your linux system
|
||||
|
||||
@ -143,7 +143,7 @@ https://mega.nz/file/IIlAHKST#PP8feOr6tHxdbD-Zoyj64G4TfG7HG_1s3VHasisP6h0
|
||||
|
||||
|
||||
|
||||
## prebuilt files
|
||||
## Prebuilt files
|
||||
|
||||
### boot partition
|
||||
|
||||
@ -191,7 +191,7 @@ it is a mirror kernel code from tina_d1_h of all winner with all patched for de
|
||||
https://github.com/cuu/toolchain-thead-glibc #It's official allwinner toolchain
|
||||
download toolchain
|
||||
|
||||
## step for compiling kernel
|
||||
## Steps for compiling kernel
|
||||
|
||||
extract and put toolchain in any folder you like
|
||||
|
||||
@ -249,7 +249,7 @@ sudo tar xpjfv ubuntu-21.04-preinstalled-server-riscv64+unmatched_rootfs.tar.bz2
|
||||
|
||||
```
|
||||
|
||||
## chroot part
|
||||
## Chroot part
|
||||
```
|
||||
sudo mount /dev/loop1p3 /mnt/p4/boot
|
||||
cd /mnt/p4
|
||||
@ -370,7 +370,7 @@ apt update
|
||||
apt install devterm-audio-patch devterm-backlight-cpi devterm-fan-temp-daemon-rpi devterm-keyboard-firmware devterm-thermal-printer devterm-thermal-printer-cups devterm-wiringpi-cpi
|
||||
```
|
||||
|
||||
## get out chroot
|
||||
## Get out chroot
|
||||
|
||||
```
|
||||
exit
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user