u-boot-2016.01 porting notes first allows U-boot to compile successfully and add 2440 veneer

Source: Internet
Author: User

First download the latest u-boot, the latest is u-boot-2016.01

First, let u-boot download to 2440 have output

First put the U-boot on the virtual machine to compile, before compiling to configure the processor model

Make Smdk2410_defconfig

Run make when configured, but error occurs at this time

Don't panic, this is after we add the makefile in the root directory in the previous

Arch=arm

cross_compile=arm-linux-

And then compile it again to compile the pass

Next, we'll download U-boot to mini2440, but at this point, 2440 doesn't respond.

Next start modifying 2440

1, add 2440 models of the board

First copy the smdk2410 folder under U-boot-2016.01\board\samsung and rename it to smdk2440

Go to this folder and change the file name from 2410 to 2440

Open makefile, change files in makefile from 2410 to 2440

Open Kconfig Change the file contents from 2410 to 2440

Enter U-boot-2016.01\configs copy Smdk2410_config to Smdk2440_defconfig and open fix to

Config_arm=y

Config_target_smdk2440=y

config_sys_prompt= "SMDK2440 #"

# config_cmd_setexpr is not set

Re-enter U-boot-2016.01\include\configs copy smdk2014.h to Smdk2440.h

Enter the U-boot-2016.01\arch\arm\kconfig

Add to

configtarget_smdk2440

BOOL "Support smdk2440"

Select cpu_arm920t

SOURCE "Board/samsung/smdk2440/kconfig"

That way, if you add a 2440 board,

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.