Compiling the Linux kernel

Change to the source directory.

cd /opt/eldk/usr/src/

Download the sources with the git version control system. Git creates a clone of the repository in the subdirectory linux-2.6_tqc_denx.

git clone http://git.tqc.de/git/linux-2.6_tqc_denx.git linux-2.6_tqc_denx
cd linux-2.6_tqc_denx

Check out the version TQM8315_LINUX.100 using git.

git checkout TQM8315_LINUX.100

Configure the kernel and build a uImage.

make 83xx/tqm8315_defconfig
make uImage

To install the kernel on the module, the kernel has to be copied to the tftpboot directory.

sudo cp arch/powerpc/boot/uImage /tftpboot/

Build the Device Tree Binary and copy it to the tftpboot directory as well.

make tqm8315.dtb
cp arch/powerpc/boot/tqm8315.dtb /tftpboot/
  • Last modified: 2022/08/04 15:02