Advertisement
mopv

printenv and bdinfo

May 29th, 2022
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. ath> printenv
  2. bootargs=console=ttyS0,115200 root=31:02 rootfstype=squashfs init=/sbin/init mtdparts=spi0.0:512k(u-boot),64k(mib0),64k(ART),2048k(uImage),12288k(rootfs)
  3. bootcmd=bootm 0x9f200000
  4. bootdelay=1
  5. baudrate=115200
  6. ethaddr=0x00:0xaa:0xbb:0xcc:0xdd:0xee
  7. ipaddr=192.168.1.1
  8. serverip=192.168.1.10
  9. dir=
  10. lu=tftp 0x80060000 ${dir}u-boot.bin&&erase 0x9f000000 +$filesize&&cp.b $fileaddr 0x9f000000 $filesize
  11. lf=tftp 0x80060000 ${dir}ap152${bc}-jffs2&&erase 0x9f050000 +0xE30000&&cp.b $fileaddr 0x9f050000 $filesize
  12. lk=tftp 0x80060000 ${dir}vmlinux${bc}.lzma.uImage&&erase 0x9fe80000 +$filesize&&cp.b $fileaddr 0x9fe80000 $filesize
  13. stdin=serial
  14. stdout=serial
  15. stderr=serial
  16. ethact=eth0
  17.  
  18. Environment size: 669/65532 bytes
  19. ath> bdinfo
  20. boot_params = 0x87F33FB0
  21. memstart = 0x80000000
  22. memsize = 0x08000000
  23. flashstart = 0x9F000000
  24. flashsize = 0x01000000
  25. flashoffset = 0x0003F92C
  26. ethaddr = 00:AA:BB:CC:DD:EE
  27. ip_addr = 192.168.1.1
  28. baudrate = 115200 bps
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement