Nokia N900 >> PostMarketOS

build kernel 5.3.2


步驟如下:

$ cd
$ wget https://github.com/steward-fu/n900/releases/download/v1.1/kernel_postmarketos.tar.gz
$ tar xvf kernel_postmarketos.tar.gz
$ cd kernel
$ ARCH=arm make rx51_defconfig
$ ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make zImage modules
$ ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make modules_install INSTALL_MOD_PATH=out

$ cat zImage omap3-n900.dtb >> new
$ mkimage -A arm -O linux -T kernel -C none -a 80008000 -e 80008000 -n uImage -d new uImage

使用pmbootstrap命令:

$ ./pmbootstrap.py build --arch=armv7 linux-postmarketos-stable --force

Kernel位於~/.local/var/pmbootstrap/cache_distfiles/linux-5.3.tar.xz
zImage位於~/.local/var/pmbootstrap/chroot_native/home/pmos/build/src/build/arch/arm/boot/zImage


返回上一頁