Skip to content

Instantly share code, notes, and snippets.

@adukot
Created May 21, 2016 07:18
Show Gist options
  • Save adukot/a8dea992a2915c0a56fb5b768d661795 to your computer and use it in GitHub Desktop.
Save adukot/a8dea992a2915c0a56fb5b768d661795 to your computer and use it in GitHub Desktop.
Onion Omega U-boot info
ar7240> help
reset - Perform RESET of the CPU
? - alias for 'help'
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootm - boot application image from memory
cp - memory copy
erase - erase FLASH memory
help - print online help
md - memory display
mm - memory modify (auto-incrementing)
mtest - simple RAM test
mw - memory write (fill)
nm - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
progmac - Set ethernet MAC addresses
run - run commands in an environment variable
setenv - set environment variables
tftpboot- boot image via network using TFTP protocol
version - print monitor version
ar7240> printenv
bootargs=console=ttyS0,115200 root=31:02 rootfstype=squashfs init=/sbin/init mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),2752k(rootfs),13184k(uImage),64k(NVRAM),64k(ART)
bootcmd=bootm 0x9f300000
bootdelay=4
baudrate=115200
ethaddr=0x00:0xaa:0xbb:0xcc:0xdd:0xee
ipaddr=192.168.1.2
serverip=192.168.1.10
stdin=serial
stdout=serial
stderr=serial
ethact=eth0
Environment size: 361/65532 bytes
ar7240>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment