- Orange Pi Zero optimized kernel
- Orange Pi Zero Plus2 h3 device added
- minimized kernel size, remove unused systems and modules
- MTD + M25P80 build in kernel - onboard SPI-flash linux boot ready
- mmc_spi module simple usage mmc/sd cards via spi
- h2+ onboard WiFi XR819 - xradio_wlan
- h3+ onboard WiFi AP6212 - dhd
- h3+ onboard MMC ready
- exfat kernel module
- ASIX AX88179_178A USB 3.0/2.0 Gigabit Ethernet Network Adapter kernel module
- one fex/fdt config for both h2+ h3 boards
- hdmi + hdmi_audio as module for h3 board
- build uncompressed kernel + LZMA GZIP LZO NONE compression via mkinitrd packed images
- any LZMA GZIP LZO XZ initrd compression
- some systems builded as modules for more flexibility: i2c, audio, ethernet - sunxi_gmac, ir, other
- easy fast and full automated cross-compilation
- many other improvements
mkdir /tmp/zero_builder
cd /tmp/zero_builder
git clone https://github.com/hyphop/miZy-linux-kernel.git
cd miZy-linux-kernel
./kernel_prepare
# ./kernel_config default
./kernel_build_all
./kernel_prepare light # arg is config file name => kernel-configs/light
./kernel_build_all
wget http://raw.githubusercontent.com/hyphop/miZy-linux-kernel/master/make_it_easy -O- | sh -
./bin
Image - unpacked kernel
uImage.gzip - uboot gzip kernel image
uImage.lzma - uboot lzma kernel image, max compression, slow unpack time
uImage.lzo - uboot lzo kernel image, fastest unpack time
uImage.none - uboot none kernel image
./bin
modules - full
modules.all - all in one dir
modules.links - all in one dir symlinks
./kernel_clear_all
# ... prepare
./kernel_config light
# or
./kernel_config kernel-configs/light
# ... build
kernel_build_packages default
# generate packages
find /tmp/miZy.linux.kernel.default
/tmp/miZy.linux.kernel.default
/tmp/miZy.linux.kernel.default/miZy.linux.kernel.default.md5sum
/tmp/miZy.linux.kernel.default/miZy.linux.kernel.default.config.gz
/tmp/miZy.linux.kernel.default/miZy.linux.kernel.default.config
/tmp/miZy.linux.kernel.default/miZy.linux.kernel.default.modules.full.tar.gz
/tmp/miZy.linux.kernel.default/miZy.linux.kernel.default.modules.all.tar.gz
/tmp/miZy.linux.kernel.default/miZy.linux.kernel.default.uImage.none.gz
/tmp/miZy.linux.kernel.default/miZy.linux.kernel.default.uImage.lzo
/tmp/miZy.linux.kernel.default/miZy.linux.kernel.default.uImage.lzma
/tmp/miZy.linux.kernel.default/miZy.linux.kernel.default.uImage.gzip
/tmp/miZy.linux.kernel.default/miZy.linux.kernel.default.Image.gz
/tmp/miZy.linux.kernel.default/miZy.linux.kernel.default.modules.meta.tar.gz
...
# setenv kernel_file "/boot/uImage.none"
# setenv kernel_file "/boot/uImage.lzo"
# setenv kernel_file "/boot/uImage.gzip"
setenv kernel_file "/boot/uImage.lzma"
...
load mmc ${mmc_boot_part} ${kernel_addr_r} ${kernel_file}
...
bootm ${kernel_addr_r} ${ramdisk_addr_r}
...
- toolchain-arm_cortex-a9+neon_gcc-5.3.0_musl-1.1.15_eabi
- squashfs, overlayfs | aufs
- perl, mkimage ( u-boot-tools )
- lzop, gzip, lzma
its easy and automated by scripts!
safe compilation in vm, https://github.com/hyphop/miZy-builder
https://github.com/hyphop/miZy-linux-kernel/releases
examples
# get kernel
wget https://github.com/hyphop/miZy-linux-kernel/releases/download/light/miZy.linux.kernel.light.uImage.gzip -O uImage.gzip
# get modules
wget https://github.com/hyphop/miZy-linux-kernel/releases/download/light/miZy.linux.kernel.light.modules.all.tar.gz -O /tmp/modules.tar.gz
#
# show modules list
tar -tf /tmp/modules.tar.gz
#
# extract one
tar -xf /tmp/modules.tar.gz modules.all/sndspdif.ko -O > sndspdif.ko
# show config
# curl -L https://github.com/hyphop/miZy-linux-kernel/releases/download/light/miZy.linux.kernel.light.config
miZy - open source minimalistic tiny fast embedded Linux system, (for sunxi Orange Pi Zero, another sunxi boards maybe work too )
- https://github.com/hyphop/miZy-linux-kernel
- https://github.com/hyphop/miZy-builder
- https://github.com/hyphop/miZy-uboot
- https://hyphop.github.io/mizy/ - miZy - Tiny fast embeded linux