Cross compile U-boot in Ubuntu

Source: Internet
Author: User

We started getting U-boot again today!

I remember that two years ago, debugging the U-boot of Marvell 88f5182 went well. (Note: environment, Suse 10.2, Windows XP, bdi2000)

Today, I started debugging the U-boot of Marvell 88f6281, but it cannot be compiled anyway. The reason is that the configuration parameters cannot be passed. (Note: environment, UBUNTU 8.04, Windows XP, BDI 2000 ).

In the beginning, these parameters are manually passed in, but think about it. This is not the case. If one of them is wrong, it will be particularly difficult to debug later. So I discussed this issue with my colleague Wayne. He also compiled the U-boot file, but he successfully compiled it. The Source Code cannot be compiled successfully.

I thought about it, and then compared the environment. He used fedora 10.0, and finally found that I am dash.

Switch my dash to bash (the method is as follows). The result is successful and compiled successfully. Fortunately, the problem was finally solved.

Original: $ LS-L/bin/sh

$ Lrwxrwxrwx 1 Root/bin/sh-> dash

Changed: $ ln-S/bin/bash/bin/sh

 

Finished, clean up!

 

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.