This repository contains the scripts for facilitating (Note: Not generating) the linux image for the de10-nano board generation
Should you just need the image, ask one of the guys that worked on this project - though they will probably not respond to you :=(
Here's a rundown of what the scripts do:
imggen.sh- generates the SD card imagegenroot.sh / genrootfs_chroot.sh- the scripts for generating the rootfs wihtdebootstrapgen-uboot.sh- pulls and compiles the u-boot bootloadergenkernel.sh- pulls and compiles the kernel.
Make sure you install these packages:
sudo apt install gcc-arm-linux-gnueabihfNow export the cross-compiler path
export CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf-And run the script
./gen-uboot.shInstall all these packages:
sudo apt install libncurses-dev flex bison openssl libssl-dev dkms libelf-dev \
libudev-dev libpci-dev libiberty-dev libmpc-dev libgmp3-dev autoconf \
bc debootstrap gcc-arm-none-eabiSame as with u-boot, export the cross-compiler path
export CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf-And run the script
./genkernel.shInstall these packages:
sudo apt install qemu-user-static gcc-arm-linux-gnueabihfRun the script:
./genroot.shYou caould just
./imggen.shBut there's options, so read through them before using it
./imggen.sh -hThat's all!