Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MT7629> printenv
- arch=arm
- baudrate=115200
- board=leopard_evb
- board_name=leopard_evb
- boot0=download_setting kernel;tftpboot ${loadaddr} ${kernel_filename};bootm
- boot1=download_setting kernel;tftpboot ${loadaddr} ${kernel_filename};run boot_wr_img;run boot_rd_img;bootm
- boot2=tftpd
- boot3=download_setting uboot;tftpboot ${loadaddr} ${uboot_filename};run wr_uboot;invaild_env
- boot4=loadb;run wr_uboot;invaild_env
- boot5=download_setting ctp;tftpboot ${loadaddr} ${ctp_filename};run wr_ctp
- boot6=run wr_cumstom_image;invaild_env
- boot7=download_setting flashimage;tftpboot ${loadaddr} ${flashimage_filename};run wr_flashimage;invaild_env
- boot8=tftpsrv;run boot_wr_img;run boot_rd_img;bootm
- boot_rd_ctp=mtd read nmbm0 0x40000000 CONFIG_NAND_CTP_OFFSET 0xF20000
- boot_rd_img=mtd read nmbm0 ${loadaddr} 0x3e0000 0x2000;image_blks 2048;mtd read nmbm0 ${loadaddr} 0x3e0000 ${img_align_size}
- boot_wr_img=filesize_check 0x3200000;if test ${filesize_result} = good; then image_blks 131072;mtd erase nmbm0 0x3e0000 ${filesize};image_blks 2048;mtd write nmbm0 ${loadaddr} 0x3e0000 ${filesize};fi
- bootcmd=No
- bootdelay=3
- bootfile=lede_uImage
- bootmenu_0=1. System Load Linux to SDRAM via TFTP.=run boot0
- bootmenu_1=2. System Load Linux Kernel then write to Flash via TFTP.=run boot1
- bootmenu_2=3. Boot system code via Flash.=run boot2
- bootmenu_3=4. System Load U-Boot then write to Flash via TFTP.=run boot3
- bootmenu_4=5. System Load U-Boot then write to Flash via Serial.=run boot4
- bootmenu_5=6. System Load CTP then write to Flash via TFTP.=run boot5
- bootmenu_6=7. Debugger load image then write to Flash.=run boot6
- bootmenu_7=8. System Load flashimage then write to Flash via TFTP.=run boot7
- bootmenu_delay=30
- cpu=armv7
- ctp_filename=ctp.bin
- ethact=mtk_eth
- ethaddr=00:0C:E7:11:22:33
- flashimage_filename=flashimage.bin
- invaild_env=no
- ipaddr=192.168.1.1
- kernel_filename=lede-kernel.bin
- loadaddr=0x42007F1C
- serverip=192.168.1.3
- soc=leopard
- stderr=serial
- stdin=serial
- stdout=serial
- uboot_filename=u-boot-mtk.bin
- vendor=mediatek
- wr_ctp=filesize_check CONFIG_MAX_NAND_CTP_SIZE;if test ${filesize_result} = good; then mtd erase nmbm0 CONFIG_NAND_CTP_OFFSET 0xF20000 ;mtd write nmbm0 ${loadaddr} CONFIG_NAND_CTP_OFFSET CONFIG_MAX_NAND_CTP_SIZE;fi
- wr_cumstom_image=custom_image_check 0x8000000;if test ${img_result} = good; then mtd erase nmbm0;mtd write nmbm0 0x40000000 0x0 0x1800000;fi
- wr_flashimage=filesize_check 0x8000000;if test ${filesize_result} = good; then mtd erase nmbm0;mtd write nmbm0 ${loadaddr} 0x0 ${filesize};fi
- wr_uboot=filesize_check 0xe0000;if test ${filesize_result} = good; then mtk_image_blks 131072;mtd erase nmbm0 0x00000 ${filesize} ;mtk_image_blks 2048;mtd write nmbm0 ${loadaddr} 0x00000 ${filesize};fi
- Environment size: 2787/4092 bytes
- MT7629> bdinfo
- arch_number = 0x00001DCD
- boot_params = 0x40000100
- DRAM bank = 0x00000000
- -> start = 0x40000000
- -> size = 0x08000000
- eth0name = mtk_eth
- ethaddr = 00:0C:E7:11:22:33
- current eth = mtk_eth
- ip_addr = 192.168.1.1
- baudrate = 115200 bps
- TLB addr = 0x47FF0000
- relocaddr = 0x47F65000
- reloc off = 0x06165000
- irq_sp = 0x47B63F40
- sp start = 0x47B63F30
- MT7629> help
- ? - alias for 'help'
- backup_message- print backup message.
- base - print or set address offset
- bdinfo - print Board Info structure
- boot - boot default, i.e., run 'bootcmd'
- bootd - boot default, i.e., run 'bootcmd'
- bootm - boot application image from memory
- bootmenu- ANSI terminal bootmenu
- bootp - boot image via network using BOOTP/TFTP protocol
- check_trx- Check ASUS TRX firmware.
- chpart - change active partition
- cmp - memory compare
- coninfo - print console devices and information
- cp - memory copy
- crc32 - checksum calculation
- custom_image_check- check if image in load_addr is normal.
- dialog - echo args to console, and get yes or no response from user
- download_setting- set download image file name , and device IP , server IP before upgrade
- echo - echo args to console
- editenv - edit environment variable
- env - environment handling commands
- esw_read- esw_read - Dump external switch/GMAC status !!
- exit - exit script
- false - do nothing, unsuccessfully
- fdt - flattened device tree utility commands
- filesize_check- check if filesize of the image that you want to upgrade is normal.
- go - start application at address 'addr'
- gpio_dump- enable utif debug function.
- help - print command description/usage
- image_blks- read image size from img_size or image header if no specifying img_size, and divided by blk_size and save image blocks in image_blks variable.
- image_check- check if image in load_addr is normal.
- iminfo - print header information for application image
- imxtract- extract a part of a multi-image
- invaild_env- need to invaild env.
- itest - return true/false on integer compare
- loadb - load binary file over serial line (kermit mode)
- loads - load S-Record file over serial line
- loadx - load binary file over serial line (xmodem mode)
- loady - load binary file over serial line (ymodem mode)
- loop - infinite loop on address range
- md - memory display
- mdio - mdio - Mediatek PHY register R/W command !!
- mm - memory modify (auto-incrementing address)
- mtd - MTD utils
- mtdparts- define flash/nand partitions
- mtk_image_blks- read image size from image header (MTK format) located at load_addr, divided by blk_size and save image blocks in image_blks variable.
- mw - memory write (fill)
- n9_jtag - switch GPIO to AUX6 for N9 jtag debug.
- n9_uart - switch GPIO to AUX6 for N9 UART output.
- nm - memory modify (constant address)
- nmbm - NMBM utility commands
- ping - send ICMP ECHO_REQUEST to network host
- printenv- print environment variables
- reco_message- print recovery message.
- reg - reg - Mediatek PHY register R/W command !!
- reset - Perform RESET of the CPU
- run - run commands in an environment variable
- saveenv - save environment variables to persistent storage
- serious_image_check- seriously check if image in load_addr is normal.
- setenv - set environment variables
- showvar - print local hushshell variables
- sleep - delay execution for some time
- snor - snor - spi-nor flash command
- source - run script from memory
- switch_rxcal- Re-cal PHY Rx DC offset of mt7531 switch !!
- switch_txcal- Re-cal PHY Tx offset of mt7531 switch !!
- test - minimal test like /bin/sh
- tftpboot- boot image via network using TFTP protocol
- tftpd - tftpd -load the data by tftp protocol
- tftpsrv - act as a TFTP server and boot the first received file
- true - do nothing, successfully
- uboot_check- check if uboot in load_addr is normal.
- uid - uid - Read Unique ID from spi-nor flash
- utif_debug- enable utif debug function.
- version - print monitor, compiler and linker version
Advertisement
Add Comment
Please, Sign In to add comment