Making U-boot---at91sam9260 article

Source: Internet
Author: User
Tags jlink

Making U-boot

---at91sam9260 article

0. Make cross-compilation chain See "Arm cross-compiler tool making V2"

---------------------------------------------------reprint Please specify: xiaobin_hlj80----


1. Burn Write Boot-uboot

View at91sam9260 chip documentation, about memory parts

P19–6221s.pdf (http://www.atmel.com/zh/cn/devices/SAM9260.aspx?tab=documents)

Start Address: 0x1000,0000


(1) Installing J-link software

To download the website, the following is an optional version


A. V4.52

https://www.segger.com/jlink-software.html?step=1&file=JLink_452

B. v4.94g

https://www.segger.com/jlink-software.html?step=1&file=JLink_494g

C. v4.94h

https://www.segger.com/jlink-software.html?step=1&file=JLink_494h

(2) Start burning write

For detailed steps, see: S2.4


2. Burn Write U-boot

(1) Setting environment variables

Create a new file at the user root:. pam_environment

The contents are as follows:

Cross_compile default=/home/at91/x-tools/arm-softfp-linux-gnueabi/bin/arm-softfp-linux-gnueabi-

(2) Download U-boot

Download page: ftp://ftp.denx.de/pub/u-boot/

Select the latest version to download.

about: u-boot1.1.5

V1.1.5 after the u-boot made a major revision! This version is recommended if V1.1.5 can be used.

(3) Unzip and execute

     #tar jxvf u-boot-2014.10.tar.bz2     #make clean     #make at91sam9260ek_dataflash_cs0_config     #make DEP     # Make

(4) Start burning write

Copy the files generated under the u-boot-2014.10 directory U-boot.bin to the U-boot directory.

1) Open the project preset configuration


2) Connect the target board

Target-〉connect;

See the FAQ section for questions about connectivity.

Connection Successful

3) Open Data file

File-〉open datafile

Before and after entering the start address

After opening

4) Write Data

5) Close the connection

FAQ

1. New Version Upgrade

Using the new version J-link will upgrade the Fireware.

The default upgrade can be!



2. Rtck did not respond


Workaround: Repeat DETCT

Options-〉projectsettings

On the JTAG scan chain information click "DETCT"

Before detection



After detection



Making U-boot---at91sam9260 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.