ARCU-boot Getting Started 2

Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

U-Boot for

DesignWare®
ARC® Linux
Universal Boot Loader

Getting Started
Version 6018-004 August 2011
U-Boot for DesignWare ARC Linux Getting Started
Synopsys, Inc.
Copyright Notice and Proprietary Information
Copyright © 2011 Synopsys, Inc. All rights reserved. This software and documentation contain confidential and
proprietary information that is the property of Synopsys, Inc. The software and documentation are furnished
under a license agreement and may be used or copied only in accordance with the terms of the license
agreement. No part of the software and documentation may be reproduced, transmitted, or translated, in any
form or by any means, electronic, mechanical, manual, optical, or otherwise, without prior written permission of
Synopsys, Inc., or as expressly provided by the license agreement.
Destination Control Statement
All technical data contained in this publication is subject to the export control laws of the United States of
America. Disclosure to nationals of other countries contrary to United States law is prohibited. It is the reader’s
responsibility to determine the applicable regulations and to comply with them.
Disclaimer
SYNOPSYS, INC., AND ITS LICENSORS MAKE NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Registered Trademarks (®)
Synopsys, AEON, AMPS, Astro, Behavior Extracting Synthesis Technology, Cadabra, CATS, Certify, CHIPit,
CoMET, Confirma, CODE V, Design Compiler, DesignWare, EMBED-IT!, Formality, Galaxy Custom Designer,
Global Synthesis, HAPS, HapsTrak, HDL Analyst, HSIM, HSPICE, Identify, Leda, LightTools, MAST, METeor,
ModelTools, NanoSim, NOVeA, OpenVera, ORA, PathMill, Physical Compiler, PrimeTime, SCOPE, Simply
Better Results, SiVL, SNUG, SolvNet, Sonic Focus, STAR Memory System, Syndicated, Synplicity, the
Synplicity logo, Synplify, Synplify Pro, Synthesis Constraints Optimization Environment, TetraMAX, UMRBus,
VCS, Vera, and YIELDirector are registered trademarks of Synopsys, Inc.
Trademarks (™)
AFGen, Apollo, ARC, ASAP, Astro-Rail, Astro-Xtalk, Aurora, AvanWaves, BEST, Columbia, Columbia-CE,
Cosmos, CosmosLE, CosmosScope, CRITIC, CustomExplorer, CustomSim, DC Expert, DC Professional, DC
Ultra, Design Analyzer, Design Vision, DesignerHDL, DesignPower, DFTMAX, Direct Silicon Access, Discovery,
Eclypse, Encore, EPIC, Galaxy, HANEX, HDL Compiler, Hercules, Hierarchical Optimization Technology, High-
performance ASIC Prototyping System, HSIMplus, i-Virtual Stepper, IICE, in-Sync, iN-Tandem, Intelli, Jupiter,
Jupiter-DP, JupiterXT, JupiterXT-ASIC, Liberty, Libra-Passport, Library Compiler, Macro-PLUS, Magellan, Mars,
Mars-Rail, Mars-Xtalk, Milkyway, ModelSource, Module Compiler, MultiPoint, ORAengineering, Physical Analyst,
Planet, Planet-PL, Polaris, Power Compiler, Raphael, RippledMixer, Saturn, Scirocco, Scirocco-i, SiWare, Star-
RCXT, Star-SimXT, StarRC, System Compiler, System Designer, Taurus, TotalRecall, TSUPREM-4, VCSi,
VHDL Compiler, VMC, and Worksheet Buffer are trademarks of Synopsys, Inc.
Service Marks (sm) MAP-in, SVP Café, and TAP-in are service marks of Synopsys, Inc.
SystemC is a trademark of the Open SystemC Initiative and is used under license.
ARM and AMBA are registered trademarks of ARM Limited.
Saber is a registered trademark of SabreMark Limited Partnership and is used under license.
PCI Express is a trademark of PCI-SIG.
All other product or company names may be trademarks of their respective owners.
Synopsys, Inc.
700 E. Middlefield Road
Mountain View, CA 94043
www.synopsys.com

i Synopsys, Inc. August 2011


Contents
Customer Support ...................................................................................................... 1
Accessing SolvNet ................................................................................................. 1
Contacting the Synopsys Technical Support Center .............................................. 1
1 Installation and Build ............................................................................................... 2
Typographical Conventions .................................................................................... 2
Building ARC U-Boot .............................................................................................. 2
Configuring ARC U-Boot ........................................................................................ 3
2 Supported Boot Methods ......................................................................................... 4
NFS Boot................................................................................................................ 4
TFTP Boot .............................................................................................................. 6
IDE Boot ................................................................................................................. 6

August 2011 Synopsys, Inc. ii


Customer Support

Customer support is available through SolvNet online customer support and through
contacting the Synopsys Technical Support Center.

Accessing SolvNet
SolvNet includes an electronic knowledge base of technical articles and answers to
frequently asked questions about Synopsys tools. SolvNet also gives you access to
a wide range of Synopsys online services, which include downloading software,
viewing Documentation on the Web, and entering a call to the Support Center.
To access SolvNet:
1. Go to the SolvNet Web page at http://solvnet.synopsys.com/.
2. If prompted, enter your user name and password. (If you do not have a
Synopsys user name and password, follow the instructions to register
with SolvNet.)
If you need help using SolvNet, click SolvNet Help in the Support Resources section.

Contacting the Synopsys Technical Support Center


If you have problems, questions, or suggestions, you can contact the Synopsys
Technical Support Center in the following ways:
Open a call to your local support center from the Web by going to
http://solvnet.synopsys.com/ (Synopsys user name and password
required), then clicking “Enter a Call to the Support Center.”
Send an e-mail message to your local support center.
o E-mail [email protected] from within North America.
o Find other local support center e-mail addresses at
http://www.synopsys.com/support/support_ctr.
Telephone your local support center.
o Call (800) 245-8005 from within the continental United States.
o Call (650) 584-4200 from Canada.
o Find other local support center telephone numbers at
http://www.synopsys.com/support/support_ctr.

1 Synopsys, Inc. August 2011


1
Installation and Build

ARC U-Boot is a universal boot loader written and maintained by Denx


Software Engineering in Germany. ARC U-Boot is a highly portable and
flexible boot loader. This document describes how to install and start using
ARC U-Boot for DesignWare® ARC® Linux.
More information can be found at the U-Boot homepage on Denx’s
website:
http://www.denx.de/wiki/U-Boot/WebHome

Typographical Conventions
This document uses the following typographical conventions:

Convention Meaning Examples


bold Functions get_callback()
predefined classes the simple_initiator_socket
values to be entered class
literally template
GUI elements >
Select Save All.
text to be replaced with
your own values sc_time
code in general

Building ARC ARC U-Boot


Extract the tar file to a suitable location:

A preconfigured U-boot configuration file is provided for ease of use. The


configuration includes most of the features of U-boot. You can trim this
configuration to suit the needs of your target environment.
1. Configure the U-boot build environment:

August 2011 Synopsys, Inc. 2


Configuring ARC U-Boot U-Boot for DesignWare® ARC® Linux

2. Build U-boot using the supplied makefiles:

The resulting binary file is ready to boot on an ARCangel 4 target.

Configuring ARC U-Boot


To configuring U-Boot, add or remove features from the configuration
header file.
1. Change to the directory:

2. Locate configuration file .


3. Add or remove features from .
Rebuild as described in Building ARC ARC U-Boot.

3 Synopsys, Inc. August 2011


2
Supported Boot Methods

This chapter gives examples of each of the boot methods supported by


ARC ARC U-Boot.

In this Chapter:
NFS Boot
TFTP Boot
IDE Boot

NFS Boot

August 2011 Synopsys, Inc. 4


NFS Boot U-Boot for DesignWare® ARC® Linux

5 Synopsys, Inc. August 2011


U-Boot for DesignWare® ARC® Linux TFTP Boot

TFTP Boot

IDE Boot

August 2011 Synopsys, Inc. 6

You might also like