Debonaras
view · edit · print · history

List of RedBoot commands

The RedBoot user manual is at http://ecos.sourceware.org/docs-latest/redboot/redboot-guide.html

Manage aliases kept in FLASH memory

   alias name [value]

Set/Query the system console baud rate

   baudrate [-b <rate>]

Manage machine caches

   cache [ON | OFF]

Display/switch console channel

   channel [-1|<channel number>]

Compute a 32bit checksum [POSIX algorithm] for a range of memory

   cksum -b <location> -l <length>

Display (hex dump) a range of memory

   dump -b <location> [-l <length>] [-s] [-1|2|4]

Execute an image - with MMU off

   exec [-w timeout] [-b <load addr> [-l <length>]]
        [-r <ramdisk addr> [-s <ramdisk length>]]
        [-c "kernel command line"] [<entry_point>]

Manage FLASH images

    fis init -- Initialize Flash Image System (FIS)
    fis list -- List Flash Image System directory
    fis free -- Free flash image
    fis create -- Create flash image
    fis load -- Load flash image
    fis delete -- Delete flash image
    fis lock -- Lock flash area
    fis unlock -- Unlock flash area
    fis erase -- Erase flash area
    fis write -- Write flash area

Manage configuration kept in FLASH memory

   fconfig [-i] [-l] [-n] [-f] [-d] | [-d] nickname [value]

Execute code at a location

   go [-w <timeout>] [entry]

Help about help?

   help [<topic>]

Set/change IP addresses

   ip_address [-l <local_ip_address>] [-h <server_address>]

Load a file

   load [-r] [-v] [-d] [-h <host>] [-m <varies>] [-c <channel_number>] 
        [-b <base_address>] <file_name>

Compare two blocks of memory

   mcmp -s <location> -d <location> -l <length> [-1|-2|-4]

Fill a block of memory with a pattern

   mfill -b <location> -l <length> -p <pattern> [-1|-2|-4]

Network connectivity test

   ping [-v] [-n <count>] [-l <length>] [-t <timeout>] [-r <rate>]
        [-i <IP_addr>] -h <IP_addr>

Reset the system

   reset 

Set/Read MAC address for NPE ethernet ports

   set_npe_mac [-p <portnum>] [xx:xx:xx:xx:xx:xx]

Display RedBoot version information

   version 

Display (hex dump) a range of memory

   x -b <location> [-l <length>] [-s] [-1|2|4]

Setting the IP address on the N2100

You can set the IP address of your N2100 through RedBoot. First examine the address with

 fconfig -l -n

then set it with

 fconfig bootp_my_ip 192.168.1.100

or any other IP address, of course.

Loading the Linux kernel over TFTP

 ip -l <n2100_ip> -h <tftp_server_ip> [-d <dns_ip>]
 load -r ramdisk.arm -b 0x00800000
 load -r zImage -b 0x00200000
 exec -c "console=ttyS0,115200 root=/dev/ram0 initrd=0xa0800000,42M mem=128M@0xa0000000"
view · edit · print · history · Last edited by Frank Kingswood.
Originally by ka6sox.
Page last modified on June 14, 2007, at 08:25 PM