For publishing
This commit is contained in:
parent
e5ddf69ea4
commit
e54f4fcf50
|
@ -0,0 +1,17 @@
|
|||
FROM debian:buster-slim
|
||||
|
||||
RUN cat /etc/apt/sources.list | sed s/^deb/deb-src/ > /etc/apt/sources.list.d/sources.src.list
|
||||
RUN apt update
|
||||
RUN apt build-dep -y linux-base
|
||||
RUN apt install -y gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu git flex
|
||||
|
||||
RUN cd /usr/src/ ; git clone https://github.com/smaeul/linux.git
|
||||
WORKDIR /usr/src/linux
|
||||
RUN git checkout rk356x-ebc-dev
|
||||
# Move these up once we've managed a full install
|
||||
RUN apt install -y bison bc
|
||||
RUN make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- pinenote_defconfig
|
||||
RUN make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- all
|
||||
RUN mkdir pack
|
||||
RUN make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- INSTALL_MOD_PATH=${PWD}/pack modules_install
|
||||
RUN make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- INSTALL_PATH=${PWD}/pack dtbs_install
|
13
README.md
13
README.md
|
@ -0,0 +1,13 @@
|
|||
# pinenote-kernel-autobuild
|
||||
|
||||
Just a Dockerfile that builds smauel's kernel from github.
|
||||
|
||||
It builds as root on a debian image.
|
||||
|
||||
Once built, you will find the files you need to boot a linux kernel on the pinenote in :
|
||||
|
||||
```
|
||||
/usr/src/linux/pack/lib/modules/{kernel-version} #currently 5.16.0-rc8-00002-g6c7fc21536f3
|
||||
/usr/src/linux/arch/arm64/boot/Image
|
||||
/usr/src/linux/pack/dtbs/5.16.0-rc8/rockchip/rk3566-pinenote.dtb
|
||||
```
|
Loading…
Reference in New Issue