When learning, how to toss all the line. Or you want to debug the Uboot first, familiar with the MIPS START process, and then go to Win7 to try to write a few small programs.
---------------
Linux below:
sudo DNF install glibc.i686
Then go to https://sourcery.mentor.com/GNUToolchain/release3136, download a MIPS-ELF-GCC
Installation:
./mips-2015.11-33-mips-sde-elf.bin-console
Also modify Makefile,
1 ARCH = Mipsel2 cross_compile? =/home/llp/codebench/bin/mips-sde-elf-
And then
Make Maltael_defconfig
Make is compiled successfully.
Also use QEMU, but found Uboot is dead.
[Email protected] u-boot-2015.10]$ qemu-system-mipsel-m malta-nographic-kernel U-bootu 2015.10: £ º 0500) board:mips Malta Corelvdram: the MiB
However, this does not affect our continued use of Codeblocks to analyze U-boot's start-up process. OK, this time go to Windows to debug, the experience will be better
Learning embedded Linux (iii)--mips bottom-up development with QEMU