Port Bootloader to s3c2410 in Ubuntu9.04

Source: Internet
Author: User
This article is U-boot porting to the UP-ARM2410-S compile process notes system environment: Ubuntu9.04 Cross Compiler: gcc4.3.3 to build your own Development board under the board for the Development board Supplier name to create a directory, named uptech # mkdiruptech under uptech for the development board to create a directory # cduptech # mkdiruptech2410UP-ARM2410-

This article is the notes of the compilation process when U-boot is ported to the UP-ARM2410-S

System Environment: Ubuntu 9.04

Cross-compiler: gcc 4.3.3

Build your own Development Board

Create a directory named uptech for the development board Supplier name under the board

# Mkdir uptech

Create a directory for the Development Board under uptech

# Cd uptech

# Mkdir uptech2410

The UP-ARM2410-S is the arm920t processor, close to/board/samsung/smdk2410, copy all the files under the smdk2410 directory

Under uptech2410

# Cp ../samsung/smdk2410/config. mk uptech2410

# Cp ../samsung/smdk2410/flash. c uptech2410

# Cp ../samsung/smdk2410/lowlevel_init.s uptech2410

# Cp ../samsung/smdk2410/smdk2410.c uptech2410

# Cp ../samsung/smdk2410/Makefile uptech2410

Create the configuration header file in include/configs/. Most of them are some macros used to compile uptech2410.

Cp smdk2410.h uptech2410.h

Add configuration items to Makefile
Uptech2410_config: unconfig
@ $ (MKCONFIG) $ (@: _ config =) arm arm920t uptech2410 uptech initi24 × 0

Arm arm920t uptech2410 uptech × 0 is the parameter passed in when make uptech2410, representing the CPU architecture, CPU type, development BOARD model (BOARD), uptech: developer vender), × 0: On-Chip System (SOC ).

These parameters are used as parameters during compilation to enter the corresponding directory. The arm920t corresponds to the cpu/arm920t sub-directory. Uptech2410 corresponds to/board/uptech/up2410. If the developer uptech In the parameter is set to NULL, create uptech2410 in the/board directory, otherwise, the "NO Target" error will occur. In addition, similar errors will occur when I write "× 0" as "s3c2410" in the compilation.

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.