VVDN T4MFCS Scaleout User's Manual Manual

DT4CS-Scale out
User Manual Guide
Revision: A1
© 2015 VVDN Technologies All Rights Reserved
VVDN_T4MFCS_Scaleout_User_Manual Rev. A1
Copyright Notice
This document is copyright of VVDN, All Rights Reserved. No part of this document, in whole or in part, may be used, reproduced, stored in a retrieval system or transmitted, in any form, or by any means, electronic or otherwise, including photocopying, reprinting, or recording, for any purpose, without the express written permission of VVDN.
Legal Disclaimer
The information contained in this document is subject to change without notice. The information in this document is provided for informational purposes only. VVDN Technologies specifically disclaims all warranties, express or limited, including, but not limited, to the implied warranties of merchantability and fitness for a particular purpose, except as provided for in a separate software license agreement.
The Open Server
The Open server provides an established framework to demonstrate the accelrated communication process.It provide the solution for communication with higher network connectivity and powerful security using encryption methodology.It offering powerful unified communication using scale-out and storage option. The storage appliance is designed to provide features that include data compression, de­duplication and encryption.
VVDN Technologies
VVDN Technologies Pvt Ltd is responsible for the design and development of all products . VVDN provide end-to-end product design capability to its customer. Founded in 2007, VVDN is a technology innovation and development company providing a broad spectrum of services and technology expertise to our core domains. VVDN provides “Concept to Customer” services at any point in the development cycle, as well as full turnkey solutions.
Correspondence
VVDN Technologies,
B-22, infocity sector- 34, Gurgaon- 122001, Haryana, India.
Email: info@vvdntech.com Website: www.theopenservers.com
CONFIDENTIAL 2
VVDN_T4MFCS_Scaleout_User_Manual Rev. A1
Date
Rev No.
Description
By
13-March-2015
A0-01
User Manual -Initial Draft
VVDN
23-March-2015
A0-02
Updated BMC GUI Features
VVDN
27-March-2015
A0-03
Updated NOR booting Steps
VVDN
Revision History:
CONFIDENTIAL 3
VVDN_T4MFCS_Scaleout_User_Manual Rev. A1
Table of contents
1 INTRODUCTION ............................................................................................................................................ 6
2 OVERVIEW .................................................................................................................................................... 6
PREREQUISITES .................................................................................................................................................... 6 2.1
2.1.1 Host requirement ................................................................................................................................... 6
2.1.2 Target requirements .............................................................................................................................. 7
CONFIGURING THE NETWORK INTERFACE .................................................................................................................. 8 2.2
2.2.1 Finding and Changing the MAC Address ................................................................................................ 8
SETTING UP TFTP .............................................................................................................................................. 10 2.3
3 BMC INTERFACE ......................................................................................................................................... 12
PREPARING BOARD: ............................................................................................................................................ 12 3.1
UPGRADING IMAGE ON BMC ............................................................................................................................... 13
3.2
STEPS TO FLASH THE IMAGE ON BMC ..................................................................................................................... 13 3.3
BMC GUI DESCRIPTION FOR DUAL T4 SERVER: ....................................................................................................... 14 3.4
4 MFCS BOOTING OPTIONS ........................................................................................................................... 22
NOR FLASH..................................................................................................................................................... 22 4.1
SWITCH SETTING FOR SERVER1 AND SERVER2 FOR NOR FLASH ................................................................................... 22 4.2
NOR FLASH..................................................................................................................................................... 23 4.3
EEPROM FLASH .............................................................................................................................................. 23 4.4
4.4.1 Switch setting for server1 and server2 for EEPROM Flash ................................................................... 23
5 CONFIGURATION AND COMPILATION ........................................................................................................ 24
COMPILE U-BOOT FOR SD CARD ............................................................................................................................ 24 5.1
BUILD LINUX KERNEL AND DEVICE TREE ................................................................................................................... 24 5.2
BUILD ROOT FILE SYSTEM .................................................................................................................................... 26
5.3
SWITCH SETTING ON T4240MFCS BOARD FOR SERVER1 AND SERVER2 FOR SD CARD ...................................................... 26 5.4
6 STARTUP U-BOOT ....................................................................................................................................... 27
PROGRAM SD CARD ........................................................................................................................................... 27 6.1
STARTUP U-BOOT FROM SD CARD ......................................................................................................................... 27 6.2
U-BOOT PROMPT COMMANDS: ............................................................................................................................ 31 6.3
I2C INTERFACE .................................................................................................................................................. 32 6.4
DDR3 SPD ....................................................................................................................................................... 32 6.5
USB INTERFACE ................................................................................................................................................. 33 6.6
SD CARD INTERFACE ........................................................................................................................................... 34 6.7
PCIE INTERFACE ................................................................................................................................................. 34 6.8
7 STARTING LINUX FROM SD CARD ............................................................................................................... 36
STEPS FOR ETHERNET PORT SETTING ....................................................................................................................... 36 7.1
UPGRADE U-BOOT ON SD CARD ............................................................................................................................ 36 7.2
UPGRADE UIMAGE AND T4240MFCS.DTB ON SD CARD ............................................................................................. 37 7.3
CONFIDENTIAL 4
VVDN_T4MFCS_Scaleout_User_Manual Rev. A1
Table of figures
Figure 1 Login screen ................................................................................................................................................... 14
Figure 2 System Page 1 ................................................................................................................................................ 15
Figure 3 System Page 2 ................................................................................................................................................ 15
Figure 4 Network Configuration .................................................................................................................................. 16
Figure 5 Debug Screen with prompt box to save the logs ........................................................................................... 17
Figure 6 Debug Screen ................................................................................................................................................. 17
Figure 7 T4 Server: Product Details ............................................................................................................................. 18
Figure 8 Board Details .................................................................................................................................................. 18
Figure 9 Firmware Upgrade ......................................................................................................................................... 19
Figure 10 Fan Monitoring ............................................................................................................................................ 19
Figure 11 Temperature Monitoring ............................................................................................................................. 20
Figure 12 Voltage Monitoring ...................................................................................................................................... 20
Figure 13 Power on/off and reset ................................................................................................................................ 21
Figure 14 Disc Status .................................................................................................................................................... 21
Figure 15 Configuration for NVME .............................................................................................................................. 25
Figure 16 Configuration For RapidIO Support ............................................................................................................. 25
Figure 17 Table for SD card partition ........................................................................................................................... 36
CONFIDENTIAL 5
VVDN_T4MFCS_Scaleout_User_Manual Rev. A0-03
1 Introduction
This document will describe in detail the procedures for SDK compilation, booting a Linux kernel and mounting a root file system on the Dual T4240MFCS. The Communication Server product will be built with Dual T4240 which is a communication processor from Freescale. The T4240 QorIQ multicore processor combines 12 dual-threaded e6500 Power Architecture® processor cores for a total of 24 threads with high-performance datapath acceleration logic and network and peripheral bus interfaces required for networking, telecom/datacom, data center, wireless infrastructure, and mil/aerospace applications.
A Dual T4240 based Communication server with Scale-out option, offering a powerful unified communication solution with up to 80G of external network connectivity, SRIO inter-chip and external connectivity. External SRIO interface helps to (scale-out) expand system with similar system through
Internal SRIO switch.
2 Overview
The following files will be released with t4240mfcs.
1. U-boot, linux kernel and root files for T4240mfcs included in the below mentioned binaries:
QorIQ-SDK-V1.6-SOURCE-20140619-yocto.iso – ISO to build the SDK.
u-boot-with-spl-pbl.bin - U-boot Binary file that could be used to upgrade the U-boot with SD card.
u-boot.bin – U-boot binary file that could be used to upgrade the U-boot for NOR Flash. fsl_fman_ucode_t4240_r2.0_106_4_10.bin – fman ucode binary to configure the fman interface.
fsl-image-core-t4240mfcs-20150304072707.rootfs.tar.gz - root file system for t4240 mfcs. uImage - Linux kernel for t4240mfcs. t4240mfcs.dtb – linux device tree blob (binaries) for t4240mfcs.
Prerequisites 2.1
2.1.1 Host requirement
To properly boot a board host machine must meet the following requirements:
1. Make sure that SDK1.6 is compiled as per the changes required in MFCS project.
2. Modern (latest) GNU/Linux Distribution.
a. Ubuntu (Most recent release or LTS)
VVDN_T4MFCS_Scaleout_User_Manual Rev. A0-03
3. An internet connection on the Development Host.
4. Root or sudo permission on the Development Host.
5. A copy of the Linux Kernel (uImage) and Root File System (rootfs.tar.gz) for the Target Board
that is compiled using SDK 1.6. These are found in the output directory of SDK build, or in the directory build_t4240mfcs_release/tmp/deploy/images/t4240mfcs on the command line.
6. An available serial port on your Development Host.
2.1.2 Target requirements
To boot the t4240mfcs board we need the following items:
T4240MFCS Board Custom Console cables Ethernet Cable ScaleOut Add On card
Once we have all the above mentioned components proceed with the following steps:
1. Connect the serial console port of the board to the serial port of host using the custom console
cables on both server1 and server2.
2. SD cards for booting the images.
3. Connect the power supply to the board.
2.1.2.1 Preparing the Target
1. Start minicom on your host machine in configuration mode. As root:
# sudo minicom -s -w
2. A menu of configuration should appear. Select the Serial port setup option, and press Enter.
3. Verify that the listed serial port is the same one that is connected to the target board. If it is not, press
A, and enter the correct device. This is /dev/ttyS0 on most Linux distributions.
4. Set the Bps/Par/Bits option by pressing the letter E and using the next menu to set the appropriate
values. You press the key that corresponds to the value 115200, and then press Enter.
5. Set Hardware flow control to No using the F key.
6. Set Software flow control to No using the G key.
7. Press Enter to return to the main configuration menu, and then press Esc to exit this menu.
8. Reset the board, and wait for a moment. If you do not see output from the board, press Enter several
times until you see the prompt. If you do not see any output from the board, and have verified that the serial terminal connection is setup correctly, contact your board vendor.
7
CONFIDENTIAL
VVDN_T4MFCS_Scaleout_User_Manual Rev. A0-03
Configuring the Network Interface 2.2
2.2.1 Finding and Changing the MAC Address
The MAC address on the T4240MFCS is set by the ethaddr environment variable in U-Boot.
If ethaddr is not set, it can be set using the setenv command.
Example
setenv ethaddr 00:11:22:33:44:55
The MAC Address can be found using the printenv command in U-Boot.
Example
printenv baudrate=115200
bootargs=root=/dev/ram rw console=ttyS0, 115200 rio-scan.scan=0 fsl_fm_max_frm=9600
bootcmd=setenv bootargs root=/dev/mmcblk0p1 rw rootdelay=5 rio­scan.scan=1 rapidio.hdid=-1 console=$consoledev,$baudrate;mmcinfo;ext2load mmc 0:1 $loadaddr /boot/$bootfile;ext2load mmc 0:1 $fdtaddr /boot/$fdtfile;bootm $loadaddr - $fdtaddr
bootdelay=10
bootfile=uImage
consoledev=ttyS0
eth10addr=00:10:F3:3A: BA:B0
eth11addr=00:10:F3:3A:BA:B1
eth12addr=00:10:F3:3A:BA:B2
eth13addr=00:10:F3:3A:BA:B3
eth14addr=00:10:F3:3A:BA:B4
eth15addr=00:10:F3:3A:BA:BC
eth1addr=00:10:F3:3A:BA:AB
eth2addr=00:10:F3:3A:BA:AC
eth3addr=00:10:F3:3A:BA:A1
eth4addr=00:10:F3:3A:BA:A0
eth5addr=00:10:F3:3A:BA:BF
8
CONFIDENTIAL
VVDN_T4MFCS_Scaleout_User_Manual Rev. A0-03
eth6addr=00:10:F3:3A:BA:B8
eth7addr=00:10:F3:3A:BA:B9
eth8addr=00:10:F3:3A:BA:AA
ethact=FM1@DTSEC1
ethaddr=00:11:22:33:44:55
ethprime=FM1@DTSEC1
fdtaddr=0x00c00000
fdtfile=t4240mfcs.dtb
fman_ucode=7fb6b948
hwconfig=fsl_ddr:ctlr_intlv=3way_4KB,bank_intlv=auto;usb1:dr_mode=host ,phy_type=utmi
ipaddr=192.168.1.10
loadaddr=0x1000000
mdioreg1=mdio write FM1@DTSEC1 22 0x12
mdioreg2=mdio write FM1@DTSEC1 20 0x8001
mmcboot=setenv bootargs root=/dev/mmcblk0p1 rwrootdelay=5 console=$consoledev,$baudratefsl_fm_max_frm=9600 ;mmcinfo;ext2load mmc 0:1 $loadaddr /boot/$bootfile;ext2load
mmc 0:1 $fdtaddr /boot/$fdtfile;bootm $loadaddr - $fdtaddr
netdev=eth0
nfsboot=setenv bootargs root=/dev/nfs rw nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off console=$consoledev,$baudrate $othbootargs;tftp $loadaddr $bootfile;tftp $fdtaddr $fdtfile;bootm $loadaddr - $fdtaddr
othbootargs=rio-scan.scan=0
ramboot=setenv bootargs root=/dev/ram rw console=$consoledev,$baudrate fsl_fm_max_frm=9600 $othbootargs;tftp $ramdiskaddr $ramdiskfile;tftp $loadaddr $bootfile;tftp $fdtaddr $fdtfile;bootm $loadaddr $ramdiskaddr $fdtaddr
ramdiskaddr=0x02000000
ramdiskfile=ramdisk.uboot
rootpath=/opt/nfsroot
serverip=192.168.1.251
9
CONFIDENTIAL
VVDN_T4MFCS_Scaleout_User_Manual Rev. A0-03
setenv serverip 192.168.1.251; setenv ipaddr 192.168.1.10; setenv
ethaddr 00:11:22:33:44:55; bdev=sda3
stderr=serial
stdin=serial
stdout=serial
tftpflash=tftpboot $loadaddr $uboot && protect off $ubootaddr +$filesize && erase $ubootaddr +$filesize && cp.b $loadaddr $ubootaddr $filesize && protect on $ubootaddr+
$filesize && cmp.b $loadaddr $ubootaddr $filesize
uboot="u-boot.bin"
ubootaddr=0x00201000
Environment size: 2458/8188 bytes
NOTE: Once the MAC address has been set, it cannot be changed without destroying the entire U-Boot environment.
Setting up TFTP
2.3
1. Edit the xinetd.conf file
o On Ubuntu, edit /etc/xinetd.conf and add the following lines just above the line
that reads include dir /etc/xinetd.d.
service tftp { socket_type = dgram protocol = udp wait = yes user = root server = /usr/sbin/in.tftpd server_args = -s /tftpboot disable = no }
2. Create the /tftpboot folder if it does not exist:
mkdir /tftpboot
3. Copy the kernel image to the /tftpboot directory:
cp /path/to/kernel/image/uImage-t4240mfcs.bin /tftpboot
10
CONFIDENTIAL
VVDN_T4MFCS_Scaleout_User_Manual Rev. A0-03
cp /path/to/kernel/image/uImage-t4240mfcs.dtb /tftpboot
cp /path/to/kernel/image/fsl-image-core-t4240mfcs.ext2.gz.u-boot /tftpboot
4. Restart the xinetd server with the following command:
/etc/init.d/xinetd restart
5. Test the TFTP server by setting the environment variables and run the following
commands.
baudrate=115200
bootargs=root=/dev/ram rw console=ttyS0,115200 rio-scan.scan=0 fsl_fm_max_frm=9600
bootcmd=setenv bootargs root=/dev/mmcblk0p1 rw rootdelay=5 rio­scan.scan=1 rapidio.hdid=-1 console=$consoledev,$baudrate;mmcinfo;ext2load mmc 0:1 $loadaddr /boot/$bootfile;ext2load mmc 0:1 $fdtaddr /boot/$fdtfile;bootm $loadaddr - $fdtaddr
bootdelay=10
bootfile=uImage
consoledev=ttyS0
fdtaddr=0x00c00000
fdtfile=t4240mfcs.dtb
loadaddr=0x1000000
othbootargs=rio-scan.scan=0
setenv ramboot=setenv bootargs root=/dev/ram rw console=$consoledev,$baudrate fsl_fm_max_frm=9600 $othbootargs;tftp $ramdiskaddr $ramdiskfile;tftp $loadaddr $bootfile;tftp $fdtaddr $fdtfile;bootm $loadaddr $ramdiskaddr $fdtaddr
ramdiskaddr=0x02000000
ramdiskfile=ramdisk.uboot
rootpath=/opt/nfsroot
6. After setting the ramboot variables run the command.
run ramboot
11
CONFIDENTIAL
VVDN_T4MFCS_Scaleout_User_Manual Rev. A0-03
3 BMC Interface
Preparing Board: 3.1
1. Attach an RS-232 cable between T4240 UART port and host computer.
2. Open a serial console tool on the host computer to communicate with MFCS.
3. Push the reset button for BMC and the following u-boot console messages appear on the
host :
BMC booting Logs:
U-Boot 2009.01.ast(v0.62)-svn39 (Feb 07 2015 - 13:29:07)
I2C: ready DRAM: 64 MB In: serial Out: serial Err: serial H/W: AST2400 series chip Rev. 01 Net: eth_initialize faradaynic_initialize Hit any key to stop autoboot: 0 ## Booting kernel from Legacy Image at 20080000 ... Image Name: Linux-2.6.28.9 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1842824 Bytes = 1.8 MB Load Address: 40008000 Entry Point: 40008000 ## Loading init Ramdisk from Legacy Image at 20300000 ... Image Name: Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 3894038 Bytes = 3.7 MB Load Address: 40800000 Entry Point: 40800000 Loading Kernel Image ... OK OK
Starting kernel ...
Uncompressing
Linux.................................................................
..................................................
sh: UHCI: unknown operand sh: UHCI: unknown operand Starting T4 initialization... Power sequencing... T4-power-sequence t4-power-sequence.0: ############# ALL POWERS FOR T4 ARE UP ############## power sequence successful Releasing Clock Generator Reset... Starting clock generation for T4 processor...
12
CONFIDENTIAL
Loading...
+ 25 hidden pages