G4安装指南

G4安装指南

本教程适用于工厂生产的新板子,也适用于用 dd 命令破坏了分区结构的板子。

重要的事情说三遍:

  • 不要 dd!!!
  • 不要 dd!!!
  • 不要 dd!!!

dd 破坏板子分区之后的维修不属于 EE 工作范围,EE 不提供支持、答疑服务。


目录


安装 NL

⬆️ 回到顶部

步骤概览

  1. 下载 FL,烧写到 Type-C 口的 U 盘,让板子从 U 盘启动。
  2. 在 U 盘的 FL 中,为板子安装 NL。
  3. 拔掉 U 盘,重启板子到 1 分区,进入安装好的 NL。
  4. 基于 NL 可以继续安装 FL 或者 UP。

详细步骤(以 G4 为例)

1. 下载 FL 并烧写到 U 盘

FL 下载地址:

将 FL 烧写到 Type-C 口的 U 盘,让板子从 U 盘启动。

2. 下载 NL

NL 下载地址:

将 NL 的 cxp 文件 scp 到板子:

1
scp <NL文件> <板子IP>:/tmp/NL.cxp

注意: 文件名必须改为 NL.cxp

3. 参考安装文档

在以下网页搜索文档号 131 63-KDU 137 0114/1 Uen

下载文档 Program Storage Information for G4 products,参考 14.2.4 章节 Install NL

4. 执行安装命令

确认板子有 /tmp/NL.cxp 之后,依次执行:

1
2
3
4
5
6
7
8
9
10
11
# 14.2.3 Prepare disk - 格式化磁盘、分区并创建文件系统
fltool prepare_disk

# 14.2.4 Install NL - 安装 NL 到 type 2 area
fltool install_nl

# 14.2.5 Create boot variables - 创建启动变量
fltool create_boot_var

# 15.11.1 Vendor Credentials for Security Unlocked boards
vce write_unsecure

注意: 不要忘记 vce write_unsecure 命令,否则板子可能不会正常启动。

5. 完成

拔掉 U 盘,重启板子到 1 分区,即进入刚刚安装好的 NL。


安装 FL

⬆️ 回到顶部

Install FL using cxp image

  • Download LXA cxp archive.
    • Make sure the board enter NL on target.
      • efibootmgr -n 1
      • Restart by “pghli crestart” and wait for [networkloader]# prompt
      • cp cxp-file into /tmp/. And rename it as FL.cxp
      • Run “cup –nl-boot-install -p /tmp/FL.cxp”
      • Set boot order list for G3.x “efibootmgr -o 2,1,0” or for G4 “efibootmgr -o 3,2,1,0”
      • Restart by “pghli crestart” and wait for [phv]# prompt or
        [factoryloader]# prompt for G4 target.

安装 UP

⬆️ 回到顶部

Install UP/CXP’ using cup

This describes how to install CXPs/UP manually from NL in G4.
!!! OBS !!!

From RCSEE G4 R1A232 onwards corresponding NL R1A232 or newer is needed to be able to
install the node since there has been changes in LV volumes (rcs-lv has been replaced
by cscore-lv + mw-lv) and mount points of those, which requires that the NL version used to
perform the installation.

As long as a valid NL is included in the UP the AI will work from an old NL type 2, but if you
do manual installation using “cup” comamand you must make sure to first update NL type 3 to
the new version and start on that one.

1. Enter NL mode. To enter NL mode from phv or run mode in Linux, run command:

efibootmgr -n 1
pghli crestart

2. Run the command

cup --setup_fs

3. Fetch the CXPs or UP that you want to install from:

https://mia.npee.gic.ericsson.se/

4. If UP is used, transfer the UP to the node and unpack at e.g /tmp/

5. If CXPs, transfer the CXPs to node at e.g /tmp. NOTE: if needed start SSH on the board use:

/etc/init.d/sshd start

6. Create a list of the CXP’s to be installed including the path e.g:

ls -1 /tmp/*.cxp > /tmp/list

7. Run the command

cup -l -p /tmp/list
cup --confirm_os
mkdir /tmp/home
cup --mkview home -e 1 -t /tmp/home
ln -s /software/* /tmp/home/sirpa/software/
mkdir /tmp/home/sirpa/ee
touch /tmp/home/sirpa/ee/pgh_no_restart
umount /tmp/home/
rmdir /tmp/home/

9. To start in phv mode:

pghli crestart -p

10. To start in run mode

pghli crestart

Now the system shall come up and mount all installed CXPs:

Note:

  • If you restart and pgh_no_restart is added, next time you want to restart you need to use the -f force flag: pghli crestart -f
  • Do not use the -f flag the first restart after step 8, that breaks the install

Optional

  • In phv mode set the DebugSwitch board variable to 3 with “testbox board_var write DebugSwitch 3” to always boot in to phv mode.
  • Install overlayfs using “install_overlayfs” and reboot.

To build an own CXC/CXP:

cd rcs-yocto
make -C make/g4-hw package
<path to rcs-test>/jenkins/makecxp -r <CXC rev> -R <CXP rev> -o make/build/build_intel-axxia-grr_g4-hw/export/delivery/RCSEE-G4_CXP2030215_1.cxp -i make/build/build_intel-axxia-grr_g4-hw/export/delivery/

Latest RCSEE-G4 CXP:

locally

/proj/ee-tmp/rcs-ee-yocto/g4-ee/rcs-yocto-g4-master-latest/black_cxps/RCSEE-G4_CXP2030215_1-R99*.cxp

or MIA/Nexus:

https://mia.npee.gic.ericsson.se/products/CXP2030215_1

Prebuilt UP

/proj/ee-tmp/rcs-ee-yocto/g4-ee/rcs-yocto-g4-master-latest/dus_G4-up/

Build a UP:

<path to rcs-test>/ee-install/mkrcseecxs.sh -v -o EE_BLACK_DUS_G4_MINI.zip -V g4_master-1 -i make/build/build_intel-axxia-grr_g4-hw/export/delivery/RCSEE-G4_CXC2014049_1.tar.gz -u /proj/rcsee/yocto/g4/bufferBaseline/EE_BLACK_DUS_G4_MINI.zip -n main

G4安装指南
https://czi.pages.dev/2026-05-24-g4-install-guide/
作者
chuanzi
发布于
2026年5月24日
许可协议