bc10-router/u-boot update

bc10 bc10-router

Updating u-boot

bc10-router uses the boot image for beagleboard of arago-project, and the version of its u-boot is u-boot-2012.04.01. The version of u-boot can be displayed as shown below.

Code and Commands> This indicates that {HOME}/oe/arago/recipes/u-boot/u-boot_2012.04.01.bb is used for the build process. As {HOME}/oe/arago/recipes/u-boot/u-boot_2012.04.01.inc points out, the mainline of u-boot is downloaded form the master branch of repository, git://git.denx.de/u-boot.git, and several patches are applied for beagleboard. The patches, which are used here are listed below.

How to update u-boot

This is how to update u-boot. The details are shown below.

Obtaining u-boot-arm from the repository

Obtain the source code of u-boot-arm from the repository.

Code and Commands>

Obtain u-boot from the respository

Obtain the 2012 version of u-boot from the repository.

Code and Commands>
After obtaining the source code, set up PATH to Cross Toolchain of ti-sdk-beagleboard-05.05.01.00. Then, execute config for beagleboard.

Code and Commands>
Since the configuration for building beagleboard is completed, execute make to build.

Code and Commands>
Several files are built, yet only u-boot.img is used. Copy u-boot.img to FAT partition of a booting SD file. This is the end of updating process.

version

To apply the command below, the version of updated u-boot is checked.

Code and Commands>

u-boot commands

Updated the list of u-boot commands is shown below. This u-boot is capable of booting from tftpboot and nand of OMAP3.

Code and Commands>

The default environment variable of u-boot

The list of the pre-set environment variables for u-boot is shown below.
To use nEnv.txt, modify the configurations of environment variables.

Code and Commands>

uEnv.txt

To set up uEnv.txt as shown below, bc10 will boot standardly as well as normally.

Code and Commands> As debugging Suspend/Resume and handing no_console_suspend to kernel as an option, uEnv is used as it is shown below.

Code and Commands>

tftpboot

u-boot includes and handles OMAP EHC, which is done by linaro. This u-boot can deal with tftoboot, so it can handle a USB-Ethernet adapter.
Its details are written in the document, which is stored at the directory shown below.

Code and Commands> The list of USB-Ethernet adapters, which work with tftpboot, is located at the directory of u-boot-arm/drivers/usb/eith/asx.c. Specifically, these USB-Ethernet adapters have to work with u-boot, which can handle tftpboot. The contents of the list suggest VernderID: ProductID.

Code and Commands> As of January 2013, Buffalo LUA-U2-ATX is easily obtainable in Japan. This USB-Ethernet adapter works with tftpboot.
To check VenderID and ProductID, apply lsusb. Then, its output is displayed as it is shown below,

Code and Commands> The details of how to build tftpboot is available at bc10-router/tftpboot.

Revision History


Front page   New List of pages Search Recent changes   RSS of recent changes