mirror of
https://github.com/clockworkpi/DevTerm.git
synced 2025-12-22 23:29:00 +01:00
Updated Create DevTerm R01 OS image from scratch (markdown)
parent
a0b7129d78
commit
9a0027da4e
@ -1,10 +1,10 @@
|
||||
|
||||
# Before start
|
||||
Our system image is modified based on fedora wiki
|
||||
The main thing is to replace the root fs and kernel files
|
||||
Mainly replace the kernel and rootfs
|
||||
Some linux experience is required to handle every possible situation
|
||||
there are some discrepancies with the final system image
|
||||
So this document is more suitable for the guidance of the d1 system image
|
||||
So this document is more suitable for the guidance of the R-01 system image
|
||||
|
||||
|
||||
# Prepare
|
||||
@ -186,7 +186,7 @@ https://mega.nz/file/kNUBRBIB#NsPzKTDWbfBSTth7-eVz9gPjeaEdYnP7PfuYGz28cOk
|
||||
## get kernel source
|
||||
https://github.com/cuu/last_linux-5.4.git
|
||||
|
||||
it is a mirror kernel code from tina_d1_h of all winner with all patched for devterm d1
|
||||
it is a mirror kernel code from tina_d1_h of all winner with all patched for devterm R-01
|
||||
## Official toolchain
|
||||
https://github.com/cuu/toolchain-thead-glibc #It's official allwinner toolchain
|
||||
download toolchain
|
||||
@ -210,9 +210,9 @@ export PATH=/wherever_you_put_toolchain/riscv64-glibc-gcc-thead_20200702/bin/:$P
|
||||
|
||||
then simply run ./m.sh to compile kernel
|
||||
|
||||
we just simple use the prebuit toolchain from all-winner to compile the patched kernel code based on all-winner tina for devterm_d1
|
||||
we just simple use the prebuit toolchain from all-winner to compile the patched kernel code based on all-winner tina for devterm_r01
|
||||
|
||||
and we have to ,because allwinner prebuilt toolchain has the neccessary custom opcode for the kernel of d1
|
||||
and we have to ,because allwinner prebuilt toolchain has the neccessary custom opcode for the kernel of R-01
|
||||
|
||||
kernel patch url: https://github.com/clockworkpi/DevTerm/tree/main/Code/patch/d1
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user