Advertisement
Guest User

Untitled

a guest
Oct 12th, 2022
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.51 KB | None | 0 0
  1. MT7622> printenv
  2. HardwareVersion=1.0
  3. ap_upgrade=0
  4. ap_upgrade_max=10
  5. arch=arm
  6. atf_filename=trustzone.bin
  7. baudrate=115200
  8. board=mt7622_evb
  9. board_name=mt7622_evb
  10. boot0=download_setting kernel;tftpboot ${loadaddr} ${kernel_filename}; bootm
  11. boot1=download_setting kernel;tftpboot ${loadaddr} ${kernel_filename};run boot_wr_img;run boot_rd_img;bootm
  12. boot10=if dialog "WARNING, this operation will flash all partitions (preloader + atf + uboot + linux)";then download_setting flashimage;tftpboot ${loadaddr} ${flashimage_filename};run wr_flashimage;invaild_env;else echo "operation aborted by user";fi;
  13. boot2=run boot_rd_img;bootm
  14. boot3=download_setting uboot;tftpboot ${loadaddr} ${uboot_filename};run wr_uboot;invaild_env
  15. boot4=loadb;run wr_uboot;invaild_env
  16. boot5=download_setting atf;tftpboot ${loadaddr} ${atf_filename};run wr_atf
  17. boot6=download_setting preloader;tftpboot ${loadaddr} ${preloader_filename};run wr_pl
  18. boot7=download_setting hdr;tftpboot ${loadaddr} ${hdr_filename};run wr_rom_hdr
  19. boot8=download_setting ctp;tftpboot ${loadaddr} ${ctp_filename};run wr_ctp
  20. boot9=run boot_rd_ctp;boot_to_ctp
  21. boot_rd_ctp=snor read 0x40000000 0xE0000 0xF20000
  22. boot_rd_img=snor read ${loadaddr} 0xF0000 2000;image_blks 1;snor read ${loadaddr} 0xF0000 ${img_align_size}
  23. boot_wr_img=filesize_check 0xF10000;if test ${filesize_result} = good; then snor erase 0xF0000 0xF10000;snor write ${loadaddr} 0xF0000 0xF10000;fi
  24. bootcmd=No
  25. bootdelay=1
  26. bootfile=iverson_uImage
  27. bootmenu_0=1. System Load Linux to SDRAM via TFTP.=run boot0
  28. bootmenu_1=2. System Load Linux firmware then write to Flash via TFTP.=run boot1
  29. bootmenu_10=b. System Load SingleImage then write to Flash via TFTP.=run boot10
  30. bootmenu_2=3. Boot system code via Flash.=run boot2
  31. bootmenu_3=4. System Load U-Boot then write to Flash via TFTP.=run boot3
  32. bootmenu_4=5. System Load U-Boot then write to Flash via Serial.=run boot4
  33. bootmenu_5=6. System Load ATF then write to Flash via TFTP.=run boot5
  34. bootmenu_6=7. System Load Preloader then write to Flash via TFTP.=run boot6
  35. bootmenu_7=8. System Load ROM header then write to Flash via TFTP.=run boot7
  36. bootmenu_8=9. System Load CTP then write to Flash via TFTP.=run boot8
  37. bootmenu_9=a. System Load CTP then Boot to CTP (via Flash).=run boot9
  38. bootmenu_delay=30
  39. cpu=armv7
  40. ctp_filename=ctp.bin
  41. ethact=mtk_eth
  42. ethaddr=28:D0:F5:A2:7B:0D
  43. fdt_high=0x6c000000
  44. flashimage_filename=flashimage.bin
  45. gatewayip=192.168.1.2
  46. gpt_filename=GPT_EMMC
  47. hdr_filename=hdr.binary
  48. invaild_env=no
  49. ipaddr=10.10.10.254
  50. is_recoveryed=0
  51. kernel_filename=irc1.bin
  52. loadaddr=0x4007FF28
  53. netmask=255.255.255.0
  54. netretry=no
  55. preloader_filename=preloader_fpga7622_64_ldvt.bin
  56. recovery_verison=2.0
  57. serverip=10.10.10.3
  58. soc=mt7622
  59. stderr=serial
  60. stdin=serial
  61. stdout=serial
  62. uboot_filename=u-boot-mtk.bin
  63. vendor=mediatek
  64. wr_atf=filesize_check 0x10000;if test ${filesize_result} = good; then snor erase 0x20000 0x10000;snor write ${loadaddr} 0x20000 0x20000;fi
  65. wr_ctp=filesize_check 0xF20000;if test ${filesize_result} = good; then snor erase 0xE0000 0xE0000;snor write ${loadaddr} 0xE0000 0xF20000;fi
  66. wr_flashimage=filesize_check 0x1000000;if test ${filesize_result} = good; then snor erase 0x0 0x1000000;snor write ${loadaddr} 0x0 0x1000000;fi
  67. wr_pl=filesize_check 0x20000;if test ${filesize_result} = good; then snor erase 0x00000 0x20000;snor write ${loadaddr} 0x00000 0x40000;fi
  68. wr_uboot=filesize_check 0x50000;if test ${filesize_result} = good; then snor erase 0x30000 0x50000;snor write ${loadaddr} 0x30000 0x50000;fi
  69.  
  70. Environment size: 3593/65532 bytes
  71. MT7622>
  72.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement