Skip to content
/ kernel Public
forked from MiyooCFW/kernel

Main core component of the custom firmware operating system

License

Notifications You must be signed in to change notification settings

tiopex/kernel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kernel MiyooCFW

Current version in use is 5.4.261 as of commit: 103ed3d

Build instructions:

Usually you have to be the root user and for stability reasons it is recommended to use uClibc:

  • grab source & cd:
git clone https://github.com/MiyooCFW/kernel
cd kernel
  • set environment variables inline with SDK location:
export PATH=$PATH:/opt/miyoo/bin
export ARCH=arm
export CROSS_COMPILE=arm-miyoo-linux-uclibcgnueabi-
  • write configuration
make miyoo_defconfig
  • build
make
  • edit configuration if needed & rebuild:
make menuconfig
make clean
make
  • grab output kernel modules/core & move to ./dist:
mkdir -p dist
mv arch/arm/boot/dts/*.dtb dist/
mv arch/arm/boot/zImage dist/
mv drivers/video/fbdev/core/*.ko dist/
mv drivers/video/fbdev/*.ko dist/
mv drivers/usb/gadget/legacy/*.ko dist/
mv sound/drivers/*.ko dist/

Compile speed:

If you have a multicore CPU, you can increase build speed with:

make -j ${YOUR_CPU_COUNT}


About

Main core component of the custom firmware operating system

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 98.4%
  • Assembly 0.9%
  • Shell 0.3%
  • Makefile 0.2%
  • Python 0.1%
  • Perl 0.1%