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.
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®...
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.
VVDN_T4MFCS_Scaleout_User_Manual Rev. A0-03 Configuring the Network Interface 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.
Page 11
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...
VVDN_T4MFCS_Scaleout_User_Manual Rev. A0-03 3 BMC 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 the following u-boot console messages appear on the host : BMC booting Logs:...
VVDN_T4MFCS_Scaleout_User_Manual Rev. A0-03 Clock generator is configured Starting T4 reset sequences ... 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.
VVDN_T4MFCS_Scaleout_User_Manual Rev. A0-03 BMC GUI Description for Dual T4 Server: 1. Connect BMC console. 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.
VVDN_T4MFCS_Scaleout_User_Manual Rev. A0-03 6. On successful login system page will appear on the screen. Figure 2 System Page 1 Figure 3 System Page 2 CONFIDENTIAL...
VVDN_T4MFCS_Scaleout_User_Manual Rev. A0-03 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. 8.
VVDN_T4MFCS_Scaleout_User_Manual Rev. A0-03 Figure 7 T4 Server: Product Details Figure 8 Board Details 10. Firmware Upgrade: For upgrading BMC and RCW select the file and the loading symbol it will show. Upgrading will take some time. CONFIDENTIAL...
VVDN_T4MFCS_Scaleout_User_Manual Rev. A0-03 Figure 9 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 &...
VVDN_T4MFCS_Scaleout_User_Manual Rev. A0-03 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 13 Power on/off and reset 13.
VVDN_T4MFCS_Scaleout_User_Manual Rev. A0-03 4 MFCS Booting Options Multifunction Communication server booting options NOR Flash EEPROM Flash SD Card NOR FLASH MEMORY MAP for T4240 MFCS NOR Flash: addresses below are effective addresses as mapped by u-boot. Range Start Range End Definition Size(KB)
VVDN_T4MFCS_Scaleout_User_Manual Rev. A0-03 For server 2: DIP Switch 7 NOR FLASH When SD Card is used as a booting device NOR Flash can be tested at u-boot prompt with following commands. NOR Flash is the primary booting option which contains RCW,U-boot,U-boot env, fman code etc To read nor flash cp {source address} {target address} {count}...
VVDN_T4MFCS_Scaleout_User_Manual Rev. A0-03 5 Configuration and compilation Compile u-boot for SD card 1. 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 the above mentioned path:...
VVDN_T4MFCS_Scaleout_User_Manual Rev. A0-03 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 1. Run the following command to build the root file system: bitbake fsl-image-core Switch Setting on T4240mfcs board for server1 and server2 for SD Card For server 1: DIP Switch 1 For server 2:...
VVDN_T4MFCS_Scaleout_User_Manual Rev. A0-03 PHY reset timed out FM1@DTSEC1 [PRIME], FM1@TGEC1, FM1@TGEC2, FM2@TGEC1, FM2@TGEC2 Hit any key to stop autoboot: The system auto boots and shows the following Linux login screens. t4240mfcs login: root root@t4240mfcs:~# U-boot Prompt Commands: Following commands are used to check the interfaces or load the addresses on the u-boot prompt. If we want to set the environment variables we can use different commands like editenv, setenv etc.
VVDN_T4MFCS_Scaleout_User_Manual Rev. A0-03 source - run script from memory test - minimal test like /bin/sh tftpboot- boot image via netw usbboot - boot from USB device I2C Interface 1. Chip Probe i2c dev 0 Setting bus to 0 i2c probe Valid chip addresses: i2c dev 1 Setting bus to 1...
VVDN_T4MFCS_Scaleout_User_Manual Rev. A0-03 7 Starting Linux from SD Card The Linux kernel and file system can be copied to the SD card for production deployment. As such the SD card included in the t4240mfcs kit will contain the different images for linux kernel, root filesystem and the device tree binaries in the /dev/sdb partition as mentioned in the figure.
VVDN_T4MFCS_Scaleout_User_Manual Rev. A0-03 sudo dd if=u-boot-with-spl-pbl.bin of=/dev/mmcblk0 seek=8 count=1560 bs=512 c. 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.
Need help?
Do you have a question about the T4MFCS Scaleout and is the answer not in the manual?
Questions and answers