bc10/u-boot
[
Front page
] [
New
|
List of pages
|
Search
|
Recent changes
]
Start:
[[bc10/Software]]
- Contents
#contents
* Summary [#edd10439]
>This section explains the building process of U-Boot, wh...
building process is originally created for BeagleBoard. S...
can be used for bc10's U-Boot. The boot process of bc10 a...
* Building U-Boot [#n55aef00]
** Development Environment [#mf98afa2]
>
-Make ready toolchain for bc10.~
-Test whether the toolchains are already built or not.~
-- [[OpenEmbedded Linux toolchain>bc10/OpenEmbedded Linux...
environment of BeagleBoard.~
-- [[rowboat toolchain>bc10/rowboat]] (arm-eabi-), which ...
-- CodeSourcery arm GNU/Linux toolchain (arm-none-linux-g...
** Setting up Environment Variable [#sde19976]
*** OpenEmbedded Toolchain [#fbb7fed4]
>
Make sure that the development environment is already ins...
OpenEmbedded Linux is used. The information of setting of...
at [[bc10/OpenEmbedded Linux]].~
To use the toolchain, configure the environment variable.~
export PATH=${WORK_DIR}/OE/angstrom-dev/cross/armv7a/bin...
export ARCH=arm
export CROSS_COMPILE=arm-angstrom-linux-gnueabi-
*** rowboat toolchain [#yc5ba812]
>
Please install the rowboat development environment before...
setting the development environment for rowboat, please l...
environment variable.~
export PATH=${WORK_DIR}/rowboat-eclair-dsp/prebuilt/linu...
export ARCH=arm
export CROSS_COMPILE=arm-eabi-
** Obtain source code [#z5d51637]
>
Obtain the source code from git repository.~
git clone git://gitorious.org/bc10/u-boot-bc10.git u-boo...
** Build [#b149a04f]
>
To use OpenEmbedded toolchain, cross-build U-Boot, which ...
make mrproper
make omap3_bc10_config
make
~
As the build process is successfully completed, '''u-boot...
For more information about placing U-Boot into SD Card, p...
** Updating source code [#ua46dcdb]
>
As new features are added and/or bugs are fixed, obtain t...
cd u-boot-bc10/
git pull
* About source code repository [#h46973c8]
>
The source code of '''u-boot-bc10''' is managed by Gitori...
- Project page
-- http://gitorious.org/bc10/u-boot-bc10
- Repository
-- git://gitorious.org/bc10/u-boot-bc10.git
** Branch [#td2a5c6a]
>
The repository of '''u-boot-bc10''' has three branches sh...
- master
-- the release branch for bc10
- develop
-- the development branch for bc10
- build
-- Soon to be removed (a build branch for bc10)
~
>
To build a '''u-boot.bin''', which works on bc10, please ...
>
The develop branch is used for testing newly added featur...
features, but it sometimes does not work well. Please use...
>
The build branch has been used temporarily until the MACH...
Right now, since the MACH_TYPE of bc10 is officially supp...
In the near future, the build branch may possibly be remo...
matter, please look at '''README''', which is located at ...
the kernel source.~
** Origin [#v5dd34ef]
>
The source code of '''u-boot-bc10''' is cloned from the U...
for bc10.
- DENX U-Boot URL
-- http://www.denx.de/wiki/U-Boot
- Repository
-- git://git.denx.de/u-boot.git
- Branch
-- master
* Detail explanations of U-Boot [#uba8092d]
** Basic functions of U-Boot [#nc331c05]
>
This section explains basic functions of U-Boot and how t...
>
Hush, a shell, is already embedded in U-Boot, and U-Boot ...
Hush is used for customizing functions of U-Boot.
*** Boot Sequence [#tea127b5]
>
As starting U-Boot, U-Boot waits few seconds. then, it au...
While U-Boo is waiting, its command prompt appears as use...
managed by command lines. Once the command prompt appears...
automatically~
+--------+ +-------+ No Inputs +--------------...
|Booting |------>>|Waiting|----------->>| Execute boot ...
+--------+ +-------+ +--------------...
|
| Inputs +--------------...
+----------------->>| Command line ...
+--------------...
*** Executing a boot command [#we3c1cd8]
>
boot command executes what '''bootcmd''' an environment v...
By the default, '''bootcmd''', an environment variable, i...
(In the original, this is one-line command line. For sake...
into several lines.)~
if mmc init; then
if run loadbootscript; then
run bootscript;
else
if run loaduimage; then
run mmcboot;
else
run nandboot;
fi;
fi;
else
run nandboot;
fi
>
mmc command is used for handling MicroSD.~
run command execute a script, which uses the values of th...
are predetermined by the parameters.~
*** Control via command lines [#g186b80b]
>
Once the prompt of '''Hush''' appears, it can execute com...
major command~
Considering '''boot''' command itself as the command for ...
it is easy to understand that the booting sequence and op...
the environment variable.~
>
To use '''printenv''' command, the environment variable a...
To apply '''setenv''', set up the vales of the environmen...
* Reference [#a3a50b2c]
>
-[[U-Boot (www.denx.de):http://www.denx.de/wiki/U-Boot/We...
* Revision History [#qae88f9d]
>
2010/07/23 Initial release~
2010/09/16 Add bc10 specific source code repository and b...
2011/01/13 Add the information of the source repository a...
End:
[[bc10/Software]]
- Contents
#contents
* Summary [#edd10439]
>This section explains the building process of U-Boot, wh...
building process is originally created for BeagleBoard. S...
can be used for bc10's U-Boot. The boot process of bc10 a...
* Building U-Boot [#n55aef00]
** Development Environment [#mf98afa2]
>
-Make ready toolchain for bc10.~
-Test whether the toolchains are already built or not.~
-- [[OpenEmbedded Linux toolchain>bc10/OpenEmbedded Linux...
environment of BeagleBoard.~
-- [[rowboat toolchain>bc10/rowboat]] (arm-eabi-), which ...
-- CodeSourcery arm GNU/Linux toolchain (arm-none-linux-g...
** Setting up Environment Variable [#sde19976]
*** OpenEmbedded Toolchain [#fbb7fed4]
>
Make sure that the development environment is already ins...
OpenEmbedded Linux is used. The information of setting of...
at [[bc10/OpenEmbedded Linux]].~
To use the toolchain, configure the environment variable.~
export PATH=${WORK_DIR}/OE/angstrom-dev/cross/armv7a/bin...
export ARCH=arm
export CROSS_COMPILE=arm-angstrom-linux-gnueabi-
*** rowboat toolchain [#yc5ba812]
>
Please install the rowboat development environment before...
setting the development environment for rowboat, please l...
environment variable.~
export PATH=${WORK_DIR}/rowboat-eclair-dsp/prebuilt/linu...
export ARCH=arm
export CROSS_COMPILE=arm-eabi-
** Obtain source code [#z5d51637]
>
Obtain the source code from git repository.~
git clone git://gitorious.org/bc10/u-boot-bc10.git u-boo...
** Build [#b149a04f]
>
To use OpenEmbedded toolchain, cross-build U-Boot, which ...
make mrproper
make omap3_bc10_config
make
~
As the build process is successfully completed, '''u-boot...
For more information about placing U-Boot into SD Card, p...
** Updating source code [#ua46dcdb]
>
As new features are added and/or bugs are fixed, obtain t...
cd u-boot-bc10/
git pull
* About source code repository [#h46973c8]
>
The source code of '''u-boot-bc10''' is managed by Gitori...
- Project page
-- http://gitorious.org/bc10/u-boot-bc10
- Repository
-- git://gitorious.org/bc10/u-boot-bc10.git
** Branch [#td2a5c6a]
>
The repository of '''u-boot-bc10''' has three branches sh...
- master
-- the release branch for bc10
- develop
-- the development branch for bc10
- build
-- Soon to be removed (a build branch for bc10)
~
>
To build a '''u-boot.bin''', which works on bc10, please ...
>
The develop branch is used for testing newly added featur...
features, but it sometimes does not work well. Please use...
>
The build branch has been used temporarily until the MACH...
Right now, since the MACH_TYPE of bc10 is officially supp...
In the near future, the build branch may possibly be remo...
matter, please look at '''README''', which is located at ...
the kernel source.~
** Origin [#v5dd34ef]
>
The source code of '''u-boot-bc10''' is cloned from the U...
for bc10.
- DENX U-Boot URL
-- http://www.denx.de/wiki/U-Boot
- Repository
-- git://git.denx.de/u-boot.git
- Branch
-- master
* Detail explanations of U-Boot [#uba8092d]
** Basic functions of U-Boot [#nc331c05]
>
This section explains basic functions of U-Boot and how t...
>
Hush, a shell, is already embedded in U-Boot, and U-Boot ...
Hush is used for customizing functions of U-Boot.
*** Boot Sequence [#tea127b5]
>
As starting U-Boot, U-Boot waits few seconds. then, it au...
While U-Boo is waiting, its command prompt appears as use...
managed by command lines. Once the command prompt appears...
automatically~
+--------+ +-------+ No Inputs +--------------...
|Booting |------>>|Waiting|----------->>| Execute boot ...
+--------+ +-------+ +--------------...
|
| Inputs +--------------...
+----------------->>| Command line ...
+--------------...
*** Executing a boot command [#we3c1cd8]
>
boot command executes what '''bootcmd''' an environment v...
By the default, '''bootcmd''', an environment variable, i...
(In the original, this is one-line command line. For sake...
into several lines.)~
if mmc init; then
if run loadbootscript; then
run bootscript;
else
if run loaduimage; then
run mmcboot;
else
run nandboot;
fi;
fi;
else
run nandboot;
fi
>
mmc command is used for handling MicroSD.~
run command execute a script, which uses the values of th...
are predetermined by the parameters.~
*** Control via command lines [#g186b80b]
>
Once the prompt of '''Hush''' appears, it can execute com...
major command~
Considering '''boot''' command itself as the command for ...
it is easy to understand that the booting sequence and op...
the environment variable.~
>
To use '''printenv''' command, the environment variable a...
To apply '''setenv''', set up the vales of the environmen...
* Reference [#a3a50b2c]
>
-[[U-Boot (www.denx.de):http://www.denx.de/wiki/U-Boot/We...
* Revision History [#qae88f9d]
>
2010/07/23 Initial release~
2010/09/16 Add bc10 specific source code repository and b...
2011/01/13 Add the information of the source repository a...
Page: