Advertisement

DT4CS
User Manual Guide
Revision: A1
© 2015 VVDN Technologies
All Rights Reserved

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DT4CS and is the answer not in the manual?

Questions and answers

Summary of Contents for VVDN Technologies DT4CS

  • Page 1 DT4CS User Manual Guide Revision: A1 © 2015 VVDN Technologies All Rights Reserved...
  • Page 2: Copyright Notice

    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.
  • Page 3: Revision History

    VVDN_T4240MFCS_User_Manual Rev. A1 Revision History: Date Rev No. Description 13-March-2015 A0-01 User Manual -Initial Draft VVDN 23-March-2015 A0-02 Updated BMC GUI Features VVDN CONFIDENTIAL...
  • Page 4: Table Of Contents

    VVDN_T4240MFCS_User_Manual Rev. A1 Table of contents INTRODUCTION ............................6 OVERVIEW ..............................6 ..............................6 REREQUISITES 2.1.1 Host requirement ........................... 6 2.1.2 Target requirements ..........................7 ........................8 ONFIGURING THE ETWORK NTERFACE 2.2.1 Finding and Changing the MAC Address ....................8 TFTP ..............................
  • Page 5 VVDN_T4240MFCS_User_Manual Rev. A1 Table of figures Figure 1 Block Diagram ..............................13 Figure 2 Console Cable ..............................16 Figure 3 Login screen ..............................17 Figure 4 System Page 1 ..............................17 Figure 5 System Page 2 ..............................18 Figure 6 Network Configuration ..........................18 Figure 7 Debug Screen with prompt box to save the logs ...................
  • Page 6: Introduction

    VVDN_T4240MFCS_User_Manual Rev. A0-02 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. 2 Overview The following files will be released with t4240mfcs. 1.
  • Page 7: Target Requirements

    VVDN_T4240MFCS_User_Manual Rev. A0-02 2.1.1.1 SDK compilation and build steps Following are the steps required for deploying SDK1.6 to MFCS code base: 1. Check out fresh SDK1.6 from Freescale git hub or extract SDK1.6 from SDK1.6.iso. Follow steps: mkdir yocto mount QorIQ-SDK-V1.6-SOURCE-20140619-yocto.iso /home/user/yocto cd yocto cp tar file to /home/user tar -xvzf yocto.tar.gz...
  • Page 8: Configuring The Network Interface

    VVDN_T4240MFCS_User_Manual Rev. A0-02  T4240MFCS Board  Custom Console cables  Ethernet Cable  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.
  • Page 9: Vvdn_T4240Mfcs_User_Manual

    VVDN_T4240MFCS_User_Manual Rev. A0-02 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/$bootf ile;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...
  • Page 10 VVDN_T4240MFCS_User_Manual Rev. A0-02 hwconfig=fsl_ddr:ctlr_intlv=3way_4KB,bank_intlv=auto;usb1:dr_mode=host,phy_ty pe=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...
  • Page 11: Setting Up Tftp

    VVDN_T4240MFCS_User_Manual Rev. A0-02 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 1. Edit the xinetd.conf file On Ubuntu, edit /etc/xinetd.conf and add the following lines just above the line that reads includedir /etc/xinetd.d.
  • Page 12 VVDN_T4240MFCS_User_Manual Rev. A0-02 ile;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 After setting the ramboot variables run the command run ramboot CONFIDENTIAL...
  • Page 13: Block Diagram

    VVDN_T4240MFCS_User_Manual Rev. A0-02 3 Block Diagram This figure below shows the block diagram for T4240MFCS server. Figure 1 Block Diagram CONFIDENTIAL...
  • Page 14: Bmc And T4240 Reset Interface

    VVDN_T4240MFCS_User_Manual Rev. A0-02 4 BMC and T4240 Reset Interface Preparing Board: 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 show the u-boot console messages. BMC booting Logs: U-Boot 2009.01.ast(v0.62)-svn39 (Feb 07 2015 - 13:29:07)
  • Page 15: Upgrading Image On Bmc

    VVDN_T4240MFCS_User_Manual Rev. A0-02 Upgrading image on BMC To get the images from server it is necessary to configure the server. This configuration involves  Create the tftp server.  Network configuration Steps to flash the image on BMC 1. Boot the BMC and let the kernel up. 2.
  • Page 16: Bmc Gui Features For Dual T4 Server

    VVDN_T4240MFCS_User_Manual Rev. A0-02 BMC GUI Features for Dual T4 Server: 1. Connect BMC console. Figure 2 Console Cable 2. Let BMC and kernel up. Default ip is 192.168.0.45. We can change the default ip by ifconfig eth0 <ip> up. ifconfig eth0 down ifconfig eth0 192.168.0.45 up 3.
  • Page 17: Figure 3 Login Screen

    VVDN_T4240MFCS_User_Manual Rev. A0-02 Figure 3 Login screen 5. Enter the user name and password. Username : admin Password : admin 6. On successful login system page will appear on the screen. Figure 4 System Page 1 CONFIDENTIAL...
  • Page 18: Figure 5 System

    VVDN_T4240MFCS_User_Manual Rev. A0-02 Figure 5 System Page 2 7. System page displays details of server and BMC like serial number, CPU location, BMC FW build time, CPU FW build time, software version of BMC & CPU etc, it displays status of voltage, temperature and power supply unit status.
  • Page 19: Figure 7 Debug Screen With Prompt Box To Save The Logs

    VVDN_T4240MFCS_User_Manual Rev. A0-02 9. Debug console on BMC : Display the location led status(ON/OFF/Blink). Displays the console logs of BMC and Server. The server and BMC logs can be saved as text file. To save the logs click on ON button one prompt will be displayed just click on save. Figure 7 Debug Screen with prompt box to save the logs Figure 8 Debug Screen CONFIDENTIAL...
  • Page 20: Figure 9 T4 Server: Product Details

    VVDN_T4240MFCS_User_Manual Rev. A0-02 Figure 9 T4 Server: Product Details Figure 10 Board Details 10. Firmware Upgrade: For upgrading BMC and RCW select the file and then apply loading symbol it will show. Upgrading will take some time. CONFIDENTIAL...
  • Page 21: Figure 11 Firmware Upgrade

    VVDN_T4240MFCS_User_Manual Rev. A0-02 Figure 11 Firmware Upgrade Fan, Voltage and temperature Monitoring for checking the BMC status Fan page has details of RPM & also status of RPM is within the specified range. Temperature page displays the server temperature, inlet temperature& outlet temperature and also displays the status as OK if it is within the range &...
  • Page 22: Figure 13 Temperature Monitoring

    VVDN_T4240MFCS_User_Manual Rev. A0-02 Figure 13 Temperature Monitoring Figure 14 Voltage Monitoring CONFIDENTIAL...
  • Page 23: Figure 15 Power On/Off And Reset

    VVDN_T4240MFCS_User_Manual Rev. A0-02 12. Power Control Mode: For power enabling or reset on server there is server power control showing on the GUI screen and for BMC reset there is a reset control button on BMC Power Control. Figure 15 Power on/off and reset Disc Management utility: For showing the disc utility on server Figure 16 Disc Status CONFIDENTIAL...
  • Page 24: Configuration And Compilation

    VVDN_T4240MFCS_User_Manual Rev. A0-02 5 Configuration and compilation Compile u-boot for SD card Goto SDK 1.6 and run the command on the following path: home/root/sdk-path/build_t4240mfcs_release/tmp/work/t4240mfcs-fsl-linux/u- boot/2014.01+fslgit-r0/git make ARCH=powerpc CROSS_COMPILE =/home/root/sdk-path/ build_t4240mfcs_release/tmp/sysroots/x86_64-linux/usr /bin/ppce6500-fsl- linux/powerpc-fsl-linux- T4240MFCS_SDCARD 2. If build is successful then for u-boot binary image goto the path: In home/root/sdk-path/build_t4240mfcs_release/tmp/work/t4240mfcs-fsl-linux/u- boot/2014.01+fslgit-r0/git we will get the following binary on this path:...
  • Page 25: Build Root File System

    VVDN_T4240MFCS_User_Manual Rev. A0-02 Figure 18 Configuration For RapidIO Support Run the config command on Linux kernel. Enable the following for NVME and Rapid IO support in device by following command: bitbake -f -c menuconfig virtual/kernel To compile Linux kernel run the command: bitbake -f -c compile virtual/kernel bitbake virtual/kernel Build Root File System...
  • Page 26: Switch Setting On T4240Mfcs Board For Server1 And Server2

    VVDN_T4240MFCS_User_Manual Rev. A0-02 6 Switch Setting on T4240mfcs board for server1 and server2 For server 1: DIP Switch 1 For server 2: DIP Switch 1 7 Startup u-boot Program SD Card 1. Create one ext2 (/dev/sdb1) partition in SD card. 2.
  • Page 27: Start Up U-Boot From Sd Card

    VVDN_T4240MFCS_User_Manual Rev. A0-02 10. Boot the board and catch u-boot prompt 11. Command line parameter to be set at u-boot prompt setenv bootcmd 'setenv bootargs root=/dev/mmcblk0p1 rw rootdelay=5 console=$consoledev,$baudrate;mmcinfo;ext2load mmc 0:1 $loadaddr /boot/$bootfile;ext2load mmc 0:1 $fdtaddr /boot/$fdtfile;bootm $loadaddr - $fdtaddr' 12.
  • Page 28 VVDN_T4240MFCS_User_Manual Rev. A0-02 DDR Controller Interleaving Mode: 3-way 4KB DDR Chip-Select Interleaving Mode: CS0+CS1 Flash: L2: 2 MiB enabled enable l2 for cluster 1 fec60000 enable l2 for cluster 2 feca0000 Corenet Platform Cache: 1.5 MiB enabled Using SERDES1 Protocol: 28 (0x1c) Using SERDES2 Protocol: 56 (0x38) Using SERDES3 Protocol: 7 (0x7) Using SERDES4 Protocol: 9 (0x9)
  • Page 29: U-Boot Command

    VVDN_T4240MFCS_User_Manual Rev. A0-02 U-boot Command Proceed as follows: => help ? - alias for 'help' at24c02 - read/write at24c02 base - print or set address offset bdinfo - print Board Info structure boot - boot default, i.e., run 'bootcmd' bootd - boot default, i.e., run 'bootcmd' bootelf - Boot from an ELF image in memory bootm - boot application image from memory bootp - boot image via network using BOOTP/TFTP protocol...
  • Page 30: I2C Interface

    VVDN_T4240MFCS_User_Manual Rev. A0-02 nm - memory modify (constant address) pci - list and access PCI Configuration Space ping - send ICMP ECHO_REQUEST to network host printenv- print environment variables rarpboot- boot image via network using RARP/TFTP protocol reset - Perform RESET of the CPU run - run commands in an environment variable saveenv - save environment variables to persistent storage sensor - LM75 Sensor...
  • Page 31: Ddr3 Spd

    VVDN_T4240MFCS_User_Manual Rev. A0-02 DDR3 SPD 1. Chip Probe: The DDR3 SPD address is 52h,53h,54h (8-bit), and it can be accessed at I2C#2. Read SPD The SPD information can be read out with the following command: i2c md 52 0 100 0000: 92 13 0b 02 03 19 00 09 0b 11 01 08 09 00 fc 02 0010: 69 78 69 28 69 11 10 79 00 05 3c 3c 00 d8 83 01 0020: 80 00 ca 00 00 00 00 00 00 00 00 00 00 00 00 00...
  • Page 32: Sd Card Interface

    VVDN_T4240MFCS_User_Manual Rev. A0-02 u-boot EHCI Host Controller => usb info 1: Hub, USB Revision 2.0 - u-boot EHCI Host Controller - Class: Hub - PacketSize: 64 Configurations: 1 - Vendor: 0x0000 Product 0x0000 Version 1.0 Configuration: 1 - Interfaces: 1 Self Powered 0mA Interface: 0 - Alternate Setting 0, Endpoints: 1 - Class Hub...
  • Page 33 VVDN_T4240MFCS_User_Manual Rev. A0-02 - display PCI configuration space (CFG) pci next[.b, .w, .l] b.d.f address - modify, read and keep CFG address pci modify[.b, .w, .l] b.d.f address modify, auto increment CFG address pci write[.b, .w, .l] b.d.f address value - write to CFG address Examples: =>...
  • Page 34: Starting Linux From Sd Card

    VVDN_T4240MFCS_User_Manual Rev. A0-02 8 Starting Linux from SD Card The Linux kernel and file system can be put to the SD card for production deployment. As such the SD card included in the t4240mfcs kit will contain the following images as per the partitions mentioned.
  • Page 35: Upgrade Uimage And T4240Mfcs.dtb On Sd Card

    VVDN_T4240MFCS_User_Manual Rev. A0-02 sudo dd if=u-boot-with-spl-pbl.bin of=/dev/mmcblk0 seek=8 count=1560 bs=512 d. Reboot the board Upgrade uImage and t4240mfcs.dtb on SD card a. Go to the directory where “ uImage and t4240mfcs.dtb” file is present in Linux PC b. Mount directory. mkdir mount mount -t ext2 /dev/mmcblk0p1 mount/ c.

Table of Contents