Redboot use of the command line

Source: Internet
Author: User

Previously found on the Internet, written here just to record, if there is infringement, please contact me immediately delete

After the Redboot boot completes, it enters the command line State (CLI), accepts the command and executes, if you use the Redboot as Boot-loader must be familiar with the related command, the command explanation in the Help document explained very detailed, today suddenly saw here has a Chinese version , as a quick check manual feel good, reproduced.

Redboot Common Command Descriptions

1 cache
Use format: Cache [on | off]
Function Description: The cache command is used to manage the cache of the microprocessor. When transferring large volumes of files, it is best to open the cache.
Redboot>cache//Display system current cache status
Redboot>cache on//Open cache
Redboot>cache off//off cache

2 channel
Use format: Channel [-l | Channel number]
Function Description: The Channel command displays the current console channel number without any parameters, and if the parameter is-1, the console channel is switched to the default console channel, and if the parameter is a different console number supported by the hardware platform, the channel command switches the console accordingly.

3 Dump
Use format: Dump [-B location] [-l length] [-S] [-1 |-2 |-4]
Function Description: Displays the data for the specified area of the parameter, specified by the parameter.
-B Memory Start position
-L Display Length
-s display data using Motorala s-reconds format
-1 Display data by single byte
2 Display data in double-byte order
-4 Display data by four bytes

4 exec
Use format: EXEC [-w timeout] [-R Ramdisk_address] [-S ramdisk_length] [-B load_address] [-l load_length] [-C Kernel_command_line ] [Entry_point]
Function Description: Executes an image file, such as booting the Linux kernel
-W wait time before the image file is executed
-R ramdisk_address Start address passed to the kernel
-S ramdisk_address length passed to the kernel
-B kernel image file address
-L kernel image file length
-C command line passed to the kernel

5 FIS creat
Use format: FIS creat [-B data_address] [-l length] [-f flash_address] [-e Entry] [-R Relocation_address] [-S data_length] [-n] [ Name
Function Description: Creates an image in the FIS (Flash Image System) directory to write data from the current RAM into Flash memory. Therefore, before using this command, the image file data must already be saved in RAM.
-B storage Address to write flash data
-F Flash Address
-E executable Image address
-R The relocation address of the executable image when performing the FIS load command
-S writes the actual length of the executable image in Flash
-N for updating the FIS directory
Name to create the image

6 FIS Init
Use format: FIS init [-f]
Function Description: Initialize the FIS directory,-F to initialize all flash spaces

7 FIS List
Use format: FIS list [-c] [-d]
Function Description: Displays all current image files in FIS
The checksum of the-C display image
-D Displays the length of the image

8 FIS Free
Use format: FIS free
Function Description: Displays the current free space of flash


9 FIS Delete
Use format: FIS Delete [name]
Function Description: Delete the image in the FIS directory. Name is the names of the images that need to be deleted.
Example:
Redboot>fis Delete ramdisk.gz

Ten FIS Lock
Use format: FIS lock [-F flash_address] [-l length]
Function Description: Lock flash Space
-F Lock the start address of the flash space

FIS Unlock
Use format: FIS unlock [-F flash_address] [-l length]
Feature Description: Unlock the Flash space

FIS Erase
Use format: FIS erase [-F flash_address] [-l length]
Function Description: Erase the specified flash space

FIS Write
Format used: FIS Write [-B mem_address] [-l length] [-F flash_address]
Function Description: Writes data from RAM to Flash
-B The start address of the data to be written in RAM
-F Write start address of Flash

Fconfig
Use format: Fconfig
Feature Description: Manages and re-configures configuration options that have been saved in Flash.

Go
Use format: Go [w-timeout] [start_address]
Function Description: Execute executable code placed in a certain location
-W wait time before executing code
Start_address The starting address of the executable code

IP_Address
Use format: ip_address [-L local_ip_address] [-H server_ip_address] [-D dns_server_ip_address]
Function Description: Set or change the IP address used by the system

Load
Use format: Load [-R] [-v] [-H host] [-M varies] [-c Channel_number] [-B base_address] [file_name]
Function Description: Download data to target system RAM
-R Download unhandled data to ram
-V Download Process shows progress
-b data download to RAM address
file_name downloaded file name

mcmp
Usage format: mcmp [-S location] [-D location] [-l length] [-1 |-2 |-4]
Function Description: Compare the contents of two storage areas
-S source Zone start address
-D Destination Zone start address
-L need to compare the length of the data
-1 Single byte read
-2 double-byte reads
-44 Bytes Read

Mcopy
Using the same format as MCMP, the function is to copy data from one storage area to another storage area

Mfill
Usage format: mfill [-B location] [-l length] [-p value] [-1 |-2 |-4]
Function Description: Fills the given value into the specified storage area

Reset
Function Description: Reset system

Ping
Use format: ping [-v] [-n Count] [-l length] [-t timeout] [-R Rate] [-I ip_addr] [-H ip_addr]
Function Description: Sends an ICMP message to the specified host to check if the network is functioning properly.
-V Show Packet Information
-N Number of packets sent
Length of paper delivered in-l
-T set timeout time
-R interval of time to send packets
-I native IP address
-H remote Host IP address

Mcopy
Using the same format as MCMP, the function is to copy data from one storage area to another storage area

Mfill
Usage format: mfill [-B location] [-l length] [-p value] [-1 |-2 |-4]
Function Description: Fills the given value into the specified storage area

Reset
Function Description: Reset system

Ping
Use format: ping [-v] [-n Count] [-l length] [-t timeout] [-R Rate] [-I ip_addr] [-H ip_addr]
Function Description: Sends an ICMP message to the specified host to check if the network is functioning properly.
-V Show Packet Information
-N Number of packets sent
Length of paper delivered in-l
-T set timeout time
-R interval of time to send packets
-I native IP address
-H remote Host IP address

Redboot use of the command line

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.