Advertisement
MrRockchip

Build IMG kernel

Feb 5th, 2021
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. cd /home/username/linux-mti/arch/mips/boot/
  2. gcc -o elf2ecoff elf2ecoff.c
  3. cp ./skeleton.its ~/
  4. cd ./../../../
  5. export KBUILD_IMAGE=vmlinux.gz.itb
  6. export ARCH=mips
  7. export KERNELDIR=/home/username/linux-mti
  8. export USER_CROSS_COMPILE=mips-img-linux-gnu-
  9. ARCH=mips KBUILD_IMAGE=vmlinux.gz.itb make menuconfig
  10. ARCH=mips KBUILD_IMAGE=vmlinux.gz.itb make vmlinux.gz.itb
  11. cd /home/username/apollo-tcf5-fpga-driver
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement