mirror of
https://github.com/clockworkpi/uConsole.git
synced 2025-12-12 10:08:50 +01:00
add uConsole_CM4_v2.0_64bit into wiki
This commit is contained in:
parent
0b448e1288
commit
49c7184831
@ -158,9 +158,59 @@ sudo losetup -D /dev/loop0
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## **Final Notes**
|
## **Notes**
|
||||||
|
|
||||||
- All official uConsole OS images can be found here:
|
- All official uConsole OS images can be found here:
|
||||||
[uConsole Images Repository](https://github.com/clockworkpi/uConsole/tree/master/images)
|
[uConsole Images Repository](https://github.com/clockworkpi/uConsole/tree/master/images)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# uConsole_CM4_v2.0_64bit.img.7z
|
||||||
|
Since v2.0, cm4 os image is made by [pi-gen](https://github.com/cuu/pi-gen/tree/uconsole_arm64)
|
||||||
|
|
||||||
|
just clone [pi-gen](https://github.com/cuu/pi-gen/tree/uconsole_arm64) repo, branch uconsole_arm64
|
||||||
|
|
||||||
|
run `sudo ./build.sh` in ubuntu linux PC
|
||||||
|
|
||||||
|
|
||||||
|
- kernel source: https://github.com/cuu/ClockworkPi-linux/commit/9a1e3adc9d1431889f62e633ae791bfc9a6cf535
|
||||||
|
here is kernel compiling commands:
|
||||||
|
```
|
||||||
|
export KERNEL=kernel8
|
||||||
|
export ARCH=arm64
|
||||||
|
export CROSS_COMPILE=aarch64-linux-gnu-
|
||||||
|
|
||||||
|
make bcm2711_defconfig
|
||||||
|
|
||||||
|
make -j4
|
||||||
|
|
||||||
|
mkdir -p ../modules
|
||||||
|
rm -rf ../modules/*
|
||||||
|
|
||||||
|
INSTALL_MOD_PATH=../modules make modules_install
|
||||||
|
|
||||||
|
mkdir -p ../firmware
|
||||||
|
rm -rf ../firmware/*
|
||||||
|
mkdir -p ../firmware/overlays
|
||||||
|
|
||||||
|
cp arch/arm64/boot/Image ../firmware/$KERNEL.img
|
||||||
|
cp arch/arm64/boot/dts/broadcom/*.dtb ../firmware
|
||||||
|
cp arch/arm64/boot/dts/overlays/*.dtb* ../firmware/overlays/
|
||||||
|
cp arch/arm64/boot/dts/overlays/README ../firmware/overlays/
|
||||||
|
|
||||||
|
KERNEL_VER=$(make kernelrelease)
|
||||||
|
cp arch/arm64/boot/Image.gz ../vmlinuz-${KERNEL_VER}
|
||||||
|
|
||||||
|
cp System.map ../System.map-${KERNEL_VER}
|
||||||
|
cp .config ../config-${KERNEL_VER}
|
||||||
|
|
||||||
|
mkdir -p ../linux-headers-${KERNEL_VER}
|
||||||
|
|
||||||
|
make headers_install INSTALL_HDR_PATH=../linux-headers-${KERNEL_VER}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- Happy hacking!
|
- Happy hacking!
|
||||||
Loading…
x
Reference in New Issue
Block a user