# # 2.14y is 32Bit for MC1,MC2,MC4,MC2L Devices # Commands to create opensource parts of MC-Firmware Version 2.14y # Building instructions for Kernel 5.4.292 and Buildroot revision 8fdf9ed8d27ad4436cd9ac8a0d0c27dc47a8e285: # # legal-info can be downloaded seperatly at https://download.modas.com/SourceNew/legal-info-2.14y.tar.bz2 # The NOTICE file referencing all licenses can be downloaded at https://download.modas.com/SourceNew/NOTICE-2.14y.txt or https://download.modas.com/SourceNew/NOTICE-2.14y.html # # 3.14y is 64Bit for MC2LX8 Devices # Commands to create opensource parts of MC-Firmware Version 3.14y # Building instructions for Kernel 6.1.134 and Buildroot revision 8fdf9ed8d27ad4436cd9ac8a0d0c27dc47a8e285: # # legal-info can be downloaded seperatly at https://download.modas.com/SourceNew/legal-info-3.14y.tar.bz2 # The NOTICE file referencing all licenses can be downloaded at https://download.modas.com/SourceNew/NOTICE-3.14y.txt or https://download.modas.com/SourceNew/NOTICE-3.14y.html # # # # Compile open source parts of firmware # rm -rf 2.14y mkdir 2.14y cd 2.14y # Downloading Buildroot source package files # Get buildroot from git git clone git://git.buildroot.net/buildroot # Enter directory buildroot cd buildroot # Checkout revision 8fdf9ed8d27ad4436cd9ac8a0d0c27dc47a8e285 git checkout 8fdf9ed8d27ad4436cd9ac8a0d0c27dc47a8e285 git reset --hard # Apply patch custom buildroot changes rm 2.14y.BR.8fdf9ed8d27ad4436cd9ac8a0d0c27dc47a8e285.diff wget -q https://download.modas.com/SourceNew/2.14y.BR.8fdf9ed8d27ad4436cd9ac8a0d0c27dc47a8e285.diff git apply -v 2.14y.BR.8fdf9ed8d27ad4436cd9ac8a0d0c27dc47a8e285.diff # Buildroot prepared now cd .. # for 2.14y: rm -rf BRO mkdir BRO; cd BRO wget -q https://download.modas.com/SourceNew/2.14y.BR.config.8fdf9ed8d27ad4436cd9ac8a0d0c27dc47a8e285 -O .config wget -q https://download.modas.com/SourceNew/2.14y.Kern.config -O ../buildroot/kern.config make O=`pwd` -C ../buildroot/ clean make O=`pwd` -C ../buildroot/ olddefconfig make O=`pwd` -C ../buildroot/ cd .. # for 3.14y: rm -rf BRO8 mkdir BRO8; cd BRO8 wget -q https://download.modas.com/SourceNew/3.14y.BR.config.8fdf9ed8d27ad4436cd9ac8a0d0c27dc47a8e285 -O .config wget -q https://download.modas.com/SourceNew/3.14y.Kern.config -O ../buildroot/kern.config make O=`pwd` -C ../buildroot/ clean make O=`pwd` -C ../buildroot/ olddefconfig make O=`pwd` -C ../buildroot/ cd .. # Buildroot finished. # Building the linux kernel: mkdir Kernel cd Kernel # for 2.14y: wget -q https://download.modas.com/SourceNew/Linux_5.4.292.tar.bz2 tar jxf Linux_5.4.292.tar.bz2 mkdir build wget -q https://download.modas.com/SourceNew/2.14y.Kern.config -O ./build/.config make CROSS_COMPILE=arm-linux-gnueabi- O=./build ARCH=arm -j16 make CROSS_COMPILE=arm-linux-gnueabi- O=./build ARCH=arm -j16 modules # for 3.14y: wget -q https://download.modas.com/SourceNew/Linux_6.1.134.tar.bz2 tar jxf Linux_6.1.134.tar.bz2 mkdir build8 wget -q https://download.modas.com/SourceNew/3.14y.Kern.config -O ./build8/.config make CROSS_COMPILE=aarch64-linux-gnu- O=./build8 ARCH=arm64 -j16 make CROSS_COMPILE=aarch64-linux-gnu- O=./build8 ARCH=arm64 -j16 modules