Skip to content

Instantly share code, notes, and snippets.

@robimarko
Created September 22, 2017 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robimarko/42e5a4df26708afe5f31f0e70b8ce902 to your computer and use it in GitHub Desktop.
Save robimarko/42e5a4df26708afe5f31f0e70b8ce902 to your computer and use it in GitHub Desktop.
CPE210v2 u-boot env variables
U-Boot 1.1.4-g30d8afa8-dirty (Nov 1 2016 - 17:38:05)
ap143-2.0> bdinfo
Unknown command 'bdinfo' - try 'help'
ap143-2.0> printenv
bootargs=console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init mtdparts=ath-nor0:32k(u-boot1),32k(u-boot2),3008k(rootfs),896k(uImage),64k(mib0),64k(ART)
bootcmd=bootm 0x9f040000
bootdelay=1
baudrate=115200
ethaddr=0xba:0xbe:0xfa:0xce:0x08:0x41
ipaddr=192.168.1.1
serverip=192.168.1.10
dir=
lu=tftp 0x80060000 ${dir}tuboot.bin&&erase 0x9f000000 +$filesize&&cp.b $fileaddr 0x9f000000 $filesize
lf=tftp 0x80060000 ${dir}ap143-2.0${bc}-jffs2&&erase 0x9f010000 +$filesize&&cp.b $fileaddr 0x9f010000 $filesize
lk=tftp 0x80060000 ${dir}vmlinux${bc}.lzma.uImage&&erase 0x9f300000 +$filesize&&cp.b $fileaddr 0x9f300000 $filesize
stdin=serial
stdout=serial
stderr=serial
ethact=eth0
Environment size: 684/65532 bytes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment