Untitled
M4200-10MG Switch information u-boot> version U-Boot 2012.10-00214-gca3ba18 (Feb 19 2016 - 20:03:53)VerNo=1.0.0.6 arm-linux-gcc (Broadcom Linux 3.6-81869802) 4.8.2 GNU ld (GNU Binutils) 2.23.2 u-boot> printenv active=image1 backup=image2 baudrate=115200 boardname=m4200 boot_image1=ubifsload ${loadaddr} /image1;bootm ${bootaddr} boot_image2=ubifsload ${loadaddr} /image2;bootm ${bootaddr} bootaddr=0x68000074 bootargs=console=ttyS0,115200n8 maxcpus=1 mem=1008M envaddr=0xF0100000 root=/dev /ram mtdparts=spi1.0:1024k(uboot),256k(uboot-env),256k(shmoo),512k(vpd);nand_ipr oc.0:16m(diags),-(fs) ubi.mtd=fs loglevel=4 cma=32M coherent_pool=1M bootcmd=run fpboot ubifscfg; setenv i1 image1; setenv i2 image2; setenv mfg mfg; if test $active = $i1; then run boot_image1;setenv active image2; saveenv; run boot_image2;else; if test $active = $i2; then run boot_image2;setenv active imag e1; saveenv; run boot_image1;fi; fi; if test $active = $mfg; then run mfgdiags;f i; bootdelay=3 dummyaddr=0x72000000 envaddr=0xF0100000 et0phyaddr=0 ethact=bcmiproc_eth-0 ethaddr=28:80:88:6f:bf:b1 factory_reset=sf probe;sf erase 0x100000 +0x80000;reset fileaddr=68000000 filesize=2F00000 flash_uboot=tftpboot $loadaddr $uboot; sf probe 0; sf erase 0x0 0x100000; sf wri te $loadaddr 0x0 $filesize; sf read $dummyaddr 0x0 $filesize; cmp.b $loadaddr $d ummyaddr $filesize fpboot=setenv bootargs console=ttyS0,${baudrate}n8 maxcpus=1 mem=${memsize} enva ddr=${envaddr} root=/dev/ram mtdparts=${spiparts}\\;${nandparts} ubi.mtd=fs logl evel=${loglevel} cma=32M coherent_pool=1M gatewayip=192.168.1.1 i1=image1 i2=image2 ipaddr=192.168.1.11 loadaddr=0x68000000 loglevel=4 memsize=1008M mfg=mfg mfgdiags=echo running diags to program MAC address; nand read ${loadaddr} 0x0000 0000 0x1000000; bootm ${loadaddr}; setenv active image1 mtddevname=diags mtddevnum=0 mtdids=nand0=nand_iproc.0 mtdparts=mtdparts=nand_iproc.0:16m(diags),-(fs) nandparts=nand_iproc.0:16m(diags),-(fs) netmask=255.255.255.0 nuke_ddr=sf probe;sf erase 0x140000 +0x40000 nuke_env=sf probe;sf erase 0x100000 +0x40000 partition=nand0,0 serverip=192.168.1.30 spiparts=spi1.0:1024k(uboot),256k(uboot-env),256k(shmoo),512k(vpd) stderr=serial stdin=serial stdout=serial tftpblocksize=512 ubi_img=m4200_120011.ubi ubifscfg=setenv mtdparts "mtdparts=${nandparts}"; ubi part nand0,1 0; ubifsmount fs uboot=rakoduri/m4200/u-boot.bin ver=U-Boot 2012.10-00214-gca3ba18 (Feb 19 2016 - 20:03:53)VerNo=1.0.0.6 Environment size: 2320/65532 bytes
Leave a Comment