Debian compiles uboot, Linux kernels, and root file systems for Stm32f429i-discovery

Source: Internet
Author: User

Cross compiler: ARM-UCLINUXEABI-2010Q1

The cross-compiler downloads it and extracts it, and then joins the Bin folder path into the path variable.

Install OPENOCD under the Debian stm32f429i Discovery Bare Metal program.

To install GENROMFS, use the following command:

sudo Install Genromfs

A good script has already been provided, as long as several commands are executed. Use Git to download files and compile them:

git clone https://github.com/jserv/stm32f429-linux-builder.git make

The Uboot and kernel source and BusyBox are automatically downloaded from the GitHub repository and made into U-boot.bin,xipimage.bin, as well as Romfs.bin

If the board and PC are already connected, you can load the file into the board with make install (because there is no development board at hand, so there is no testing this step).

It is important to note that this version of the Uboot uses UART3 as the serial port connection, if the use of ft232 to connect with the Development Board, then the connection method is as follows:

The GND and VCC connections do not change, but the PC10 connection Txd,pc11 connect the rxd.

Before I tried to compile the uboot directly and then use the UART3 to connect, minicom can see the output information of uboot.

Other content I haven't tested yet.

Related Article

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.