Nokia N900 >> Native Debian >> Kernel 5.3.0

build kernel 5.3.0


Debian x64

$ sudo apt-get install gcc-arm*
$ cd
$ wget https://github.com/steward-fu/n900/releases/download/v1.0/omap3-n900.dtb
$ wget https://github.com/steward-fu/n900/releases/download/v1.1/kernel_jessie.tar
$ tar xvf kernel_jessie.tar
$ cd kernel
$ ARCH=arm make rx51_defconfig
$ ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make zImage modules dtbs -j4
$ ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make modules_install INSTALL_MOD_PATH=out

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

P.S. 替換uImage並且把out/lib/modules/5.3.0複製到rootfs下的相對位置即可。


返回上一頁