
VVDN_T4MFCS_Scaleout_User_Manual Rev. A0-03
27
CONFIDENTIAL
6
Startup u-boot
Program SD Card
6.1
1.
Create one ext2 (/dev/sdb1) partition in SD card.
2.
Flash u-boot image into SD Card.
sudo dd if=u-boot-with-spl-pbl.bin of=/dev/sdb seek=8 count=1560
bs=512
3.
Flash fman code into SD card
sudo dd if=fsl_fman_ucode_t4240_r2.0_106_4_10.bin of=/dev/sdb
seek=3000 bs=512
4.
Flash rootfs into SD card
5.
Copy fsl-image-core-t4240rdb-20141031084308.rootfs.tar.gz into SD card partition (/dev/sdb1)
6.
Extract rootfs by using following command
sudo tar –xvf fsl-image-core-t4240rdb-20141031084308.rootfs.tar.gz
7.
Flash uImage into SD card
Copy
uImage
into /boot directory of rootfs
8.
Flash dtb file into SD card
Copy
t4240mfcs.dtb
into /boot directory of rootfs
9.
Plug SD card into mmc slot of board
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.
Set environment variables on Server 1 and Server 2.
13.
Run following command to load uImage ,t4240mfcs.dtb and rootfs
# run bootcmd
Startup u-boot from SD card
6.2
T4240MFCS SD BOOT
U-Boot 2014.01QorIQ-SDK-V1.6+gfe1d4f5 (May 27 2015 - 14:18:15)