Building a new kernel: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
en>Peter K (1 Version importiert) |
Peter (Diskussion | Beiträge) K (1 Version importiert) |
(kein Unterschied)
|
Aktuelle Version vom 31. Oktober 2023, 09:03 Uhr
General Information for building a new kernel
- Copy the defconfig from ~/oe/btmxc-linux/arch/arm/configs/imx??_bluetechnix_defconfig to ~/oe/btmxc-linux/.config
- Run the set_cross_envs script in ~/oe/btmxc-linux
- Run "make menuconfig" in case you need to choose different kernel options
- Run "make" to build the kernel
- Copy the kernel to the TFTP root directory
cd ~/oe/btmxc-linux cp ~/oe/btmxc-linux/arch/arm/configs/imx27_bluetechnix_defconfig ~/oe/btmxc-linux/.config . set_cross_envs make menuconfig cp arch/arm/boot/zImage /tftpboot
Information for building new modules
In ~/oe/btmxc-linux
make && cp arch/arm/boot/zImage /tftpboot/ && rm -rf lib/modules/* && make modules_install && sudo cp -rp lib/modules/* /tftpboot/rootfs-btmxc27/lib/modules/ && echo FINISHED make && cp arch/arm/boot/zImage /tftpboot/ && rm -rf lib/modules/* && make modules_install && sudo cp -rp lib/modules/* /tftpboot/rootfs-ifly/lib/modules/ && echo FINISHED