Boundary Devices Nitrogen series User Manual Download Page 7

7

5

Software features

As provided by Boundary Devices, the Nitrogen

R

board supports either the Windows CE 6

R

or

Linux operating systems. There are currently two shipping versions of Linux:

1.

Busybox

- A small Linux userland, and

2.

Ubuntu

- A full-featured X-Windows based installation

To simplify the installation of either, the

U-Boot

boot loader is installed on our evaluation boards,

and one or more

MMC

cards are shipped to allow the use of either operating system.

5.1

Internal ROM boot loader and boot flow

The i.MX51 processor contains an internal boot loader in ROM that supports boot from serial
EEPROM, SD card, USB, NAND or NOR flash.

Freescale

has a number of documents about how

this process is done. In this document, we’ll describe how the demonstration images are currently
configured.

To begin with, the Nitrogen

R

is configured to boot from SD card. As shown in figure 3, the

internal ROM loads code from offset 0x400 (1k) and executes it. Note that this first set of code is
placed in non file-system area, so it must be loaded to disk using a tool such as

dd

under Linux.

The current incarnation of

U-Boot

then loads its’ environment settings from offset 0x1c00 (block

14) of the SD card. This is also in space before the first partition.

The next steps depend primarily on the values found in the environment, especially the

bootcmd

variable.

Note that future iterations of the Nitrogen

R

will likely place both

U-Boot

and the environment

variable in serial EEPROM.

5.2

Das U-Boot

The

U-Boot

Boot Loader is a full-featured loader for either Linux or Windows CE that supports a

wide variety of options for loading your Operating System and application.

The

U-Boot

Boot Loader is a very capable loader with support for USB and network boot, including

BOOTP/DHCP, and NFS mounting support.

Please refer to the

U-Boot

website for details of the operation. The sections which follow will

describe typical usage for various operating systems and variants.

In general, though, our O/S releases will have the following features.

Serial console

Releases from Boundary Devices will be configured to allow access to the U-Boot

command-line on the primary serial port

1

with a baud rate of

115200

, no parity, 8 data bits. They’ll

be configured to stop the boot process on any input character on the console.

bootcmd

in persistent environment

1

COM1:

under CE,

/dev/ttymxc0

under Linux

March 10, 2011

Revision 1.5

Summary of Contents for Nitrogen series

Page 1: ...1 User s Manual for the Boundary Devices NitrogenR board March 10 2011 March 10 2011 Revision 1 5...

Page 2: ...l rough Additional details on Ubuntu Live images 2010 07 01 1 2 Added connector diagram 2010 07 06 1 2 Refined connector diagram added U Boot notes re moved Ubuntu build notes 2010 12 10 1 3 Added GPI...

Page 3: ...7 5 1 Internal ROM boot loader and boot flow 7 5 2 Das U Boot 7 5 2 1 Using U Boot with Linux 9 5 2 2 Using U Boot with Windows CE 10 5 3 Windows CE 11 5 4 Linux Kernel 12 5 4 1 Kernel configurations...

Page 4: ...Freescale MC13892VL Power Management and User Interface IC Up to 512MB DDR2 Memory Full featured Boot Loader for custom startup Board Dimensions 4 x 2 5 Up to 8MB Serial Flash Directly interfaces to...

Page 5: ...CTS J16 JTAG port J18 Power input 1 5V 2 5V 3 ground 4 ground 5 reserved 6 reserved J8 High speed I2C 1 5v 2 I2C clock 3 I2C data 4 reserved 5 ground J2 SPEAKER 1 MINUS 2 PLUS J4 Microphone J3 Stereo...

Page 6: ...en board This allows the use of both the 7 and 4 3 enclosures with VESA mounts as well as the Kiosk and in wall enclosures The board is designed to be mounted using the four mounting holes as shown in...

Page 7: ...tion of U Boot then loads its environment settings from offset 0x1c00 block 14 of the SD card This is also in space before the first partition The next steps depend primarily on the values found in th...

Page 8: ...5 2 Das U Boot 8 Figure 3 Nitrogen boot flow March 10 2011 Revision 1 5...

Page 9: ...tcmd settings to boot with or without a RAM disk In general we recommend the use of a RAM disk whenever booting to SD card so that the RAM disk or initrd can perform filesystem checking The Freescale...

Page 10: ...to use this Check with the Linux command zcat proc config gz grep DHCP rootwait This clause tells the kernel not to expect that a RAM disk is immediately available root dev nfs This clause tells the k...

Page 11: ...As mentioned earlier the NitrogenR board ships with a runnable Windows CE 6 0 image on MMC card A Board Support Package is also available and necessary to tailor the operating system for a given appli...

Page 12: ...efconfig linux bd make ARCH arm CROSS COMPILE arm none linux gnueabi uImage modules For Ubuntu linux bd make ARCH arm CROSS COMPILE arm none linux gnueabi nitrogen ubuntu defconf linux bd make ARCH ar...

Page 13: ...ur Ubuntu builds are Live images so they re set up for read only access to the SD cards We put together a document available on our web site that describes much of what we ve done to make this happen...

Page 14: ...anel environment variable for use in constructing a bootargs variable To rehash previous comments the bootargs variable contains the Linux kernel command line The Linux kernel display driver contains...

Page 15: ...Linux display setup 15 To use the 4 3 panel you can specify this using a known panel type U Boot lcdp urt 480x272 U Boot set bootargs video panel 666 boot casper U Boot saveenv March 10 2011 Revision...

Reviews: