如何在cpboot模式切换启动分区

在控制器启动时按回车进入cpboot模式。

如果进入的是cpxload模式,输入cpboot,控制器会自动重启,再次按Ctrl+x中断启动,会进入cpboot模式。

通过osinfo查看控制器已安装的版本

cpboot> osinfo
USB0:   setting speed to USB_SPEED_HIGH
2 USB Device(s) found
#1 Storage Device(s) found

Partition 0:
 Reading image........................................done
    image type: 0
  machine type: 28
          size: 82100180
       version: 6.4.3.3
  build string: ArubaOS version 6.4.3.3 for A70xx (p4build@cyprus) (gcc version 4.4.5) #50787 SMP PREEMPT Fri Jul 10 04:51:15 PDT 2015
         flags:
           oem: aruba

Image is signed; verifying checksum...
passed
Signer Cert OK
Policy Cert OK
RSA signature verified.
  image verify: PASS

Partition 1:
 Reading image................................................done
    image type: 0
  machine type: 28
          size: 99958804
       version: 6.4.3.6
  build string: ArubaOS version 6.4.3.6 for A70xx (p4build@corfu) (gcc version 4.4.5) #52485 SMP PREEMPT Wed Nov 11 15:32:42 PST 2015
         flags:
           oem: aruba

Image is signed; verifying checksum...
passed
Signer Cert OK
Policy Cert OK
RSA signature verified.
  image verify: PASS
cpboot>

要切换分区,我们可以使用“def_part”命令,使用“ def_part 0”选择分区0,使用“ def_part 1”选择分区1。

使用命令“ bootf”启动引导。

cpboot> def_part 1
. done
Writing NVRAM to Flash...  ffffffff8bd03858 ffffffffb6220000
done
cpboot>
cpboot> bootf
USB0:   setting speed to USB_SPEED_HIGH
2 USB Device(s) found
#1 Storage Device(s) found
##Loading image 0:1########################
Image is signed; verifying checksum...
passed
Signer Cert OK
Policy Cert OK
RSA signature verified.
[    0.000000]   0:xlp_napi_vc_mask 0xf
[    0.000000]   0:sae frequency is 250

发表评论

电子邮件地址不会被公开。 必填项已用*标注