本教程适用于工厂生产的新板子,也适用于用 dd
命令破坏了分区结构的板子。
重要的事情说三遍:
- 不要 dd!!!
- 不要 dd!!!
- 不要 dd!!!
dd破坏板子分区之后的维修不属于 EE 工作范围,EE 不提供支持、答疑服务。
FL 下载地址:
将 FL 烧写到 Type-C 口的 U 盘,让板子从 U 盘启动。
NL 下载地址:
将 NL 的 cxp 文件 scp 到板子:
scp <NL文件> <板子IP>:/tmp/NL.cxp注意: 文件名必须改为
NL.cxp。
在以下网页搜索文档号 131 63-KDU 137 0114/1 Uen:
下载文档 Program Storage Information for G4 products,参考 14.2.4 章节 Install NL。
确认板子有 /tmp/NL.cxp 之后,依次执行:
# 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命令,否则板子可能不会正常启动。
拔掉 U 盘,重启板子到 1 分区,即进入刚刚安装好的 NL。
[networkloader]# prompt[phv]# prompt
or [factoryloader]# prompt for G4 target.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.
efibootmgr -n 1
pghli crestart
cup --setup_fs
https://mia.npee.gic.ericsson.se/
/etc/init.d/sshd start
ls -1 /tmp/*.cxp > /tmp/list
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/
pghli crestart -p
pghli crestart
Note:
Optional
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/
/proj/ee-tmp/rcs-ee-yocto/g4-ee/rcs-yocto-g4-master-latest/black_cxps/RCSEE-G4_CXP2030215_1-R99*.cxp
https://mia.npee.gic.ericsson.se/products/CXP2030215_1
/proj/ee-tmp/rcs-ee-yocto/g4-ee/rcs-yocto-g4-master-latest/dus_G4-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