Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 1.3 KB

SHORT_GUIDE.md

File metadata and controls

49 lines (38 loc) · 1.3 KB

Steps to build your own s8xx kernel (armhf) that works with Docker short edition!

I'm purposely skipping a lot of details.

If you don't understand, read the original guide in README.md.

Prerequisites:

  • Cross compile toolchains for armhf here

Main steps:

  1. git clone --depth=1 or download the zip for the latest active branch of meson-mx-integration here

  2. Get kernel config file:

scp root@<s8xx_device_ip>:/boot/config* .config
  1. Build kernel:
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- LOADADDR=0x00208000 uImage modules
# Hold enter to go through the default configs
  1. Copy compiled linux source code to target device:
rsync -av -e ssh --progress linux-meson-mx-integration-x.xx-yyyymmdd root@<s8xx_ssh_ip>:/root/
  1. Install new headers and modules from the target device:
make modules_install && make headers_install
  1. Backup kernel, install new kernel and reboot:
cp /boot/uImage /boot/uImage.bak
cp arch/arm/boot/uImage /boot/
reboot
  1. Copy new config to /boot:
cp .config /boot/config-x.xx
  1. Delete kernel source:
rm -r linux-meson-mx-integration*