Broadcom Confidential
5880X-PS225-UG101
26
PS225
User Guide
Quick Start Guide
root@bcm958802a8048c:/mnt/centos#
scp [email protected]:~/CentOS-7-aarch64-rootfs-
7.4.1708.tar.xz
root@bcm958802a8048c:/mnt/centos#
tar --numeric-owner -xf CentOS-7-aarch64-rootfs-
7.4.1708.tar.xz
d. Free up space with the following command:
root@bcm958802a8048c:/mnt/centos#
rm CentOS-7-aarch64-rootfs-7.4.1708.tar.xz
8. With the new rootfs extracted in the specified partition (in the example,
/dev/mmcblk0p5
), chroot to the device to set
up the device before the kernel boots that rootfs for the first time. This step is important, otherwise the Ubuntu OS will
not boot properly.
a. Copy the bnxt* modules from the Yocto filesystem to the ubuntu rootfs with the following command:
cp -r /lib/modules/`uname -r` lib/modules
b. Switch to CentOS's filesystem through chroot with the following commands:
chroot /mnt/centos
adduser lab
passwd lab
gpasswd -a lab wheel
exit
cd
umount /mnt/centos
reboot
9. Unmount the device and stop at the UEFI prompt:
NOTE:
At this point, the new CentOS rootfs is ready to boot, however, the new rootfs to be used by the kernel must be set.
Instruct UEFI to use the CentOS rootfs for boot. The UEFI sets up Linux args automatically.
Press any key within 5 seconds
AUTOBOOT SKIPPED
Shell>
gpt list blk0
Shell>
select rootfs-ordinal 5
Shell>
select
Shell>
startup
At this point, it is possible to reach the login prompt and log in with the username/password that was created in the
previous steps. It may take a few minutes to reach the login prompt.
NOTE:
It is possible to switch back to Yocto Linux by using the UEFI.
select rootfs-ordinal 3
startup
10. Provide connectivity to the host using the following steps:
a. Install modules copied in
Step 8
,
Step a
.
NOTE:
If the insmod'ed bnxt_en.ko module in Yocto Linux has been previously installed, power cycle the system and try
again.
Broadcom
Confidential
Содержание Stingray PS225
Страница 31: ...B r o a d c o m C o n f i d e n t i a l ...