---
# System prepended metadata

title: IEI BSP to CP uboot and image
tags: [Check Point 初始版]

---

# IEI BSP to CP uboot and image
###### tags: `Check Point 初始版`
**V0 範例**
![](https://i.imgur.com/4fwNPuh.png)
**Step1.** Update Uboot
Marvell>> env def -a
Marvell>> saveenv
Marvell>> setenv ethact eth1
Marvell>> setenv ethprime eth1
Marvell>> setenv serverip {tftp_server}
Marvell>> dhcp                               // Execute ctrl+c to terminate after getting IP address
Marvell>> bubt u-boot-992000036-v0.bin mmc tftp              //V0 V0.1
Marvell>> reset
![](https://i.imgur.com/kgVHQbQ.png)
**Step2.**
Entry CP uboot menu (Ctrl+C)
![](https://i.imgur.com/lBWfKRz.png)

![](https://i.imgur.com/ksteZub.png)
8
1
blob_files/00-1C-7F-95-E2-83_322776.bls   //v0 - Wired
{tftp_server}
{wanPort}  //v0 eth1
{wanPort}  //v0 eth1
y
![](https://i.imgur.com/sYCNkXQ.png)

![](https://i.imgur.com/bA82reK.png)
**Step3.** Install CP Image
Entry CP uboot menu (Ctrl+C)

5
1
{imgName or ubootName}          // CP uboot can be updated here, but the system must be CP uboot.
{tftp_server}
{wanPort}
{wanPort}
y
![](https://i.imgur.com/9c94JKn.png)

CheckPoint OS login info>>
user:admin
password:admin
![](https://i.imgur.com/x2KPowR.png)

**Step4.** Check CP Version info
Entry CP uboot menu (Ctrl+C)

Please enter your selection (press ENTER to finish) :a
![](https://i.imgur.com/REUTwQ2.png)
![](https://i.imgur.com/86RUfWC.png)

* **CP recovery to IEI BSP uboot and image**
**Step1.** CP menu set to USB boot
Entry CP uboot menu (Ctrl+C)
b
1
console=ttyS0,115200 earlycon=uart8250,mmio32,0xf0512000 earlyprink root=/dev/sda1 rw rootwait
y
![](https://i.imgur.com/wsNQfPW.png)
Login as root
![](https://i.imgur.com/Cnlzx92.png)
**Step2.** BurnImg to eMMC
BurnImg to eMMC cmd (include factory_HWtest) (make SD/USB by polly)
#cd / && time /make_sd_boot.sh mmcblk1 flash-image-emmc.bin HWtestUbuntu-16.04.4-server-arm64-rootfs.tar.bz2

**Step3.** Set bootloader to emmc boot
1: select boardName
(V0)
Marvell>> setenv fdt_name boot/armada-7040-cp-v0.dtb 
Marvell>> setenv ieiboot 'init_88e6352; ${mmc_load} ${kernel_addr_r} ${image_name}; ${mmc_load}  ${fdt_addr_r} ${fdt_name}; booti ${kernel_addr_r} - ${fdt_addr_r};'

2: select bootFrom
Marvell>> setenv mmc_load 'ext4load mmc 1:1'
Marvell>> setenv bootargs "console=ttyS0,115200 earlycon=uart8250,mmio32,0xf0512000 earlyprink root=/dev/mmcblk1p1 rw rootwait"

3: saveToMMC and boot
Marvell>> setenv image_name boot/Image
Marvell>> setenv bootcmd 'run ieiboot'
Marvell>> saveenv
Marvell>> boot
![](https://i.imgur.com/TPKRyBC.png)

![](https://i.imgur.com/BA5Y9It.png)

* **Check BSP Version**
1.	Kernel_ubuntu version
#cat /VersionTarget.txt
![](https://i.imgur.com/NA2VlaL.png)
2.	uboot version
Stop in uboot Marvell mode
Marvell>> version
![](https://i.imgur.com/hLG7DIb.png)

![](https://i.imgur.com/6JDPrG0.png)

線上更新uboot
#cd EdgeServer/apiserver/pyscripts/console/arm/
#ls /dev/ttyUSB
#sudo python3 cpUpdate.py station1 /dev/ttyUSB3  115200 10.10.70.151 3000 "noUse" "noUse" "noUse;" "eth1" "10.10.80.26" "u-boot-992000052-v0.bin" "noFile" "noFile" debug disableAPI

Check MAC
![](https://i.imgur.com/TK9M7Bl.png)

**New Auto install(multi)**
Download tools.tar and SW_ReleaseImg from [here](https://10.10.80.56/share.cgi?ssid=0754mzy)
#sudo bash ./make_boot_multiple.sh ./flash-image_v0-sd.bin ./factory_Dev_v0_20190821-113032_d11bedae151b_68c966a_ubuntu-16.04.4-server-arm64-rootfs.tar.bz2

Enter USB device name: sdd;sde;sdf;sdg;sdh;sdi
![](https://i.imgur.com/BuJsGiY.png)

FT3 IEI to CP image
/home/test/EdgeServer/apiserver/pyscripts/console/arm#
#sudo python3 cpImg.py station1 /dev/ttyUSB0 115200 10.10.70.151 3000 "noUse" "noUse" "noUse;" "eth2" "eth2" "192.168.0.2" "u-boot-992000109-v1.bin" "fw1_vx_dep_R80_992000723_20.img" "blob_files/00-1C-7F-95-E4-63.bls"  debug disableAPI





