bootldr

This section describes how to use the bootloader, which allows you to load new bootloaders, kernels, and usercode.

Getting to the bootloader prompt

Power or reset the board, and when you see:

*****

press the spacebar. You should see the boot> prompt. Here, you can enter any of the following commands.

Using the Bootloader

help
The help command lists all the supported commands along with a very brief description of their syntax. Be extremely careful with any command you run at the bootloader. Some commands can force you to bring your board to the staff for reprogramming.

help
help <cmdname>
<cmdname> help

load

The load command downloads files into DRAM or Flash using the XModem protocol.  The most common uses of load are to install new versions of the kernel, user code, or the bootloader itself.  The syntax for these forms is shown below:

load usercode
This takes a X-modem download of a file named "usercode.jar" which should include a class named main and a method: public static void main(String args[])
load kernel
This command will install a new version of the NetBSD or Linux kernel (uncompressed or compressed with gzip).  The kernel file can be up to 30800192 bytes. (3MB - 64KB).

boot
Invoke the operating system installed in Flash.