Learning embedded Linux (iii)--mips bottom-up development with QEMU

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.