RedBoot usage

  • Set IP address (ip_address -h 10.0.0.1)
  • Memory dump (dump -b 0x1000000)
  • Load application file via tftp (tftp - load -r -b 0x100000 test)
    • tftp is default protocol – you can change it to serial
  • Run application (exec)
+Emaclite_ETH - Warning! Using default ESA for 'emaclite'
Ethernet eth0: MAC address 08:00:3e:28:7a:ba
IP: 192.168.0.3/255.255.255.0, Gateway: 192.168.0.1
Default server: 0.0.0.0, DNS server IP: 192.168.0.1

RedBoot(tm) bootstrap and debug environment [RAM]
Non-certified release, version v2_0 - built 21:11:10, Jun 13 2008

Platform: by Xilinx Startan3e1600 xps edk92 (Microblaze 4.0a) by ecos_v1.00.a
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.
Copyright (C) 2008 Michal Simek <monstr@monstr.eu>

RAM: 0x8c000000-0x90000000, 0x8c0618b8-0x8fffffff available
RedBoot> help
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 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] [-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 
Display RedBoot version information
   version 
Display (hex dump) a range of memory
   x -b <location> [-l <length>] [-s] [-1|2|4]
RedBoot> ping -h 192.168.0.5
Network PING - from 192.168.0.3 to 192.168.0.5
PING - received 10 of 10 expected
RedBoot> x -b 0 -l 100
00000000: B0 00 8C 03 B8 08 E8 00  B8 00 00 48 80 00 00 00  |...........H....|
00000010: B8 00 00 60 80 00 00 00  B8 00 00 78 80 00 00 00  |...`.......x....|
00000020: B8 00 00 90 80 00 00 00  B8 00 00 A8 80 00 00 00  |................|
00000030: B8 00 00 C0 80 00 00 00  B8 00 00 D8 80 00 00 00  |................|
00000040: B8 00 00 F0 80 00 00 00  B8 00 01 08 80 00 00 00  |................|
00000050: F8 61 FF FC 20 60 00 01  F8 61 FF F8 F8 21 FF F4  |.a.. `...a...!..|
00000060: 20 21 FF F4                                       | !..            |
RedBoot>

Change IP address

IP address change

ecos/redboot/usage.txt · Last modified: 2020/09/01 10:59 by 127.0.0.1
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0