Installing np – ADLINK aTCA-N700 User Manual

Page 33

Advertising
background image

aTCA-N700 SW Users Guide

27


root@aTCA-N700:~# lmp-installer


root@aTCA-N700:~# reboot



Boot-up with new U-Boot image, U-Boot environment variables should be updated, as
shown below.

cpld flashctl lmp 0
setenv bootdelay 3
setenv bootcmd "ipmi bmc 100 1; run satabootA"
saveenv

cpld flashctl lmp 1
setenv bootcmd "ipmi bmc 100 1; run satabootB"
saveenv
reset



5.5.2. Installing NP


LMP boot-up using ramdisk image and np-installer script on the ramdisk image should
be used to install all NP deliverables (U-Boot, kernel, and rootfs). The script installs NP
deliverables using a PCIe channel.

Run tftpboot on lmp U-Boot, like below. This is same as the installing LMP procedure
(previous chapter).

=>

setenv tftp_bootfile uImage

=>

setenv tftp_fdtfile aTCA-N700.dtb

=>

setenv tftp_ramdiskfile rootfs.ext2.gz.uboot

=>

setenv ipaddr 192.168.35.2

=>

setenv serverip 192.168.1.213

=>

setenv tftpboot ‘tftp $loadaddr $tftp_bootfile; tftp $fdtaddr

$tftp_fdtfile; tftp $ramdiskaddr $tftp_ramdiskfile; run ramdiskargs; run
bootrfs;’

=>

run tftpboot



After LMP Linux boot-up using ramdisk image is completed, edit and run np-installer on
linux, as shown below. The MAC address for each management port of NP process
should be provided.

root@aTCA-N700:~#

vi /sbin/np-installer

#!/bin/sh

#usage:

np-installer

<LMP_IP><TFTPSERVER_IP><BASEDIR><UBOOT><LINUX><RFS><NPA_MACBASE><NPB_MAC

Advertising