Skip to content

Instantly share code, notes, and snippets.

@Grommish
Created November 12, 2021 13:32
Show Gist options
  • Save Grommish/2be86a2dcc7e9575443f10def3447d73 to your computer and use it in GitHub Desktop.
Save Grommish/2be86a2dcc7e9575443f10def3447d73 to your computer and use it in GitHub Desktop.
Octeon cust_private_rhino_itus7x(ram)# help
? - alias for 'help'
askenv - get environment variables from stdin
base - print or set address offset
base64 - print or set address offset
bdinfo - print Board Info structure
bootelf - Boot from an ELF image in memory
bootm - boot application image from memory
bootoct - Boot from an Octeon Executive ELF image in memory
bootoctelf - Boot a generic ELF image in memory. NOTE: This command does not
support simple executive applications, use bootoct for those.
bootoctlinux- Boot from a linux ELF image in memory
bootp - boot image via network using BOOTP/TFTP protocol
bootvx - Boot vxWorks from an ELF image
bunzip - uncompress a bzip2 compressed memory region
cdp - Perform CDP network configuration
cmp - memory compare
cmp64 - memory compare
coninfo - print console devices and information
cp - memory copy
cp64 - memory copy
crc32 - checksum calculation
date - get/set/reset date & time
dhcp - boot image via network using DHCP/TFTP protocol
dns - lookup the IP of a hostname
echo - echo args to console
editenv - edit environment variable
eeprom - EEPROM sub-system
env - environment handling commands
ext2load - load binary file from a Ext2 filesystem
ext2ls - list files in a directory (default /)
ext4load - load binary file from a Ext4 filesystem
ext4ls - list files in a directory (default /)
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
fatwrite - write file into a dos filesystem
fdt - flattened device tree utility commands
flush_dcache- Flushes and invalidates the data cache
flush_l2c - Flushes the L2 cache
freeprint - Print list of free bootmem blocks
go - start application at address 'addr'
gpio - input/set/clear/toggle gpio pins
grepenv - search environment variables
help - print command description/usage
i2c - I2C sub-system
imxtract - extract a part of a multi-image
inv_icache - Invalidates the instruction cache
itest - return true/false on integer compare
loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
loop64 - infinite loop on address range
md - memory display
md5sum - compute MD5 message digest
md64 - memory display
mdio - MDIO utility commands
meminfo - display memory information
mii - MII utility commands
mm - memory modify (auto-incrementing address)
mm64 - memory modify (auto-incrementing address)
mmc - MMC sub system
mmcinfo - display MMC info
mw - memory write (fill)
mw64 - memory write (fill)
namedalloc - Allocate a named bootmem block
namedfree - Free a named bootmem block
namedprint - Print list of named bootmem blocks
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
nm64 - memory modify (constant address)
octreginfo - print register information
octwd - Starts the OCTEON watchdog
pci - list and access PCI Configuration Space
ping - send ICMP ECHO_REQUEST to network host
printenv - print environment variables
qlm - Octeon QLM debug function (dangerous - remove from final product)
read64 - read 64 bit word from 64 bit address (deprecated)
read64b - read 8 bit word from 64 bit address (deprecated)
read64l - read 32 bit word from 64 bit address (deprecated)
read64s - read 16 bit word from 64 bit address (deprecated)
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
saves - save S-Record file over serial line
setenv - set environment variables
setexpr - set environment variable as the result of eval expression
sf - SPI flash sub-system
sha1sum - compute SHA1 message digest
sleep - delay execution for some time
source - run script from memory
sspi - SPI utility command
strings - display strings
tftp - alias for tftpboot command (deprecated)
tftpboot - boot image via network using TFTP protocol
tftpput - TFTP put command, for uploading files to a server
tftpsrv - act as a TFTP server and boot the first received file
time - run commands and summarize execution time
tlv_eeprom - EEPROM data parsing
unlzma - uncompress a lzma compressed memory region
unzip - unzip a memory region
usb - USB sub-system
usbboot - boot from USB device
version - print monitor, compiler and linker version
write64 - write 64 bit word to 64 bit address (deprecated)
write64b - write 8 bit word to 64 bit address (deprecated)
write64l - write 32 bit word to 64 bit address (deprecated)
write64s - write 16 bit word to 64 bit address (deprecated)
Octeon cust_private_rhino_itus7x(ram)#
Octeon cust_private_rhino_itus7x(ram)# printenv
do_env_print ......
autoload=n
baudrate=115200
bf=bootoct $(flash_unused_addr) forceboot numcores=$(numcores)
boardname=cust_private_rhino_itus7x
bootcmd=run image_run
bootdelay=2
bridge=mmc dev 1;fatload mmc 1 $(loadaddr) brigdeImage;bootoctlinux $(loadaddr) mem=0 numcores=2
burn_app=erase $(flash_unused_addr) +$(filesize);cp.b $(fileaddr) $(flash_unused_addr) $(filesize)
dram_size_mbytes=1024
eth1addr=2c:26:5f:80:14:3d
eth2addr=2c:26:5f:80:14:3e
eth3addr=2c:26:5f:80:14:3f
ethact=octeth0
ethaddr=2c:26:5f:80:14:3c
gateway=mmc dev 1;fatload mmc 1 $(loadaddr) gatewayImage;bootoctlinux $(loadaddr) mem=0 numcores=2
image_run=mmc dev 1;fatload mmc 1 $(loadaddr) ItusrouterImage;bootoctlinux $(loadaddr) mem=0 numcores=2 serial#=$(serial#)
linux_mmc=fatload mmc 1 $(loadaddr) vmlinux.64;bootoctlinux $(loadaddr) mem=0 numcores=2
loadaddr=0x20000000
ls=fatls mmc 1
numcores=2
octeon_failsafe_mode=0
octeon_ram_mode=1
router=mmc dev 1; fatload mmc 1 $(loadaddr) routerImage;bootoctlinux $(loadaddr) mem=0 numcores=2
serial#=752011191521-37534
stderr=serial
stdin=serial
stdout=serial
ver=U-Boot 2013.07 (Development build, svnversion: u-boot:exported, exec:) (Build time: May 21 2015 - 11:11:49)
Environment size: 1233/8188 bytes
Octeon cust_private_rhino_itus7x(ram)#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment