From 34fcd1efcc65cfe9d47a248bc6537673e5a02c46 Mon Sep 17 00:00:00 2001 From: Girish K S <ks.giri@samsung.com> Date: Mon, 27 Jun 2011 06:32:25 -0400 Subject: [PATCH 10/25] Updated README for cloning Stage 1 BL Signed-off-by: Girish K S <ks.giri@samsung.com> --- SamsungPlatformPkg/README | 19 ++++++++++++------- 1 files changed, 12 insertions(+), 7 deletions(-) diff --git a/SamsungPlatformPkg/README b/SamsungPlatformPkg/README index 7d3c733..b34c1ba 100644 --- a/SamsungPlatformPkg/README +++ b/SamsungPlatformPkg/README @@ -32,10 +32,15 @@ and stored in the same file at a particular offset. that is done by the executab the iRam_Bl source files. To generate the iRAM_Bl image -* change directory to $(Workspace)SamsungPlatformPkg/SmdkBoardPkg/iRam_Bl/ -* Run make all -* to clean files Run make cleanall -* copy the generated v310_mmc_spl.bin to the Build/SmdkBoard-Exynos/RELEASE_ARMGCC/FV/ +* Download the u-boot source from git://git.denx.de/u-boot.git by running below command + git clone git://git.denx.de/u-boot.git +* Run following commands + - export ARCH=arm + - export CROSS_COMPILE=/usr/local/arm/gcc-linaro-4.5-2011.03-0/bin/arm-linux-gnueabi- or respective toolchain path + - make smdkv310_config + - make mmc_spl +* the binary "u-boot-mmc-spl.bin" will be generated in the spl directory. +* copy the generated u-boot-mmc-spl.bin to the Uefi Workspace Build/SmdkBoard-Exynos/RELEASE_ARMGCC/FV/ Build the SdmkBoardPkg by running from the Workspace @@ -45,13 +50,13 @@ Following the edk2 build process, you will find the SMDK binaries under the $WORKSPACE/Build/*/*/FV directory. You can find the below mentioned binary image. * SMDKBOARD_EFI.FD -* v310_mmc_spl.bin +* u-boot-mmc-spl.bin === RUNNING SmdkBoardPkg on the SMDK v310 board === * need to be in Linux Environment to do the below procedure * After inserting the SD card. unmount the card by using the command umount /media/XXXXX. -* copy the v310_mmc_spl.bin to the SD/MMC card by using the comand - sudo dd if=Build/SmdkBoard-Exynos/RELEASE_ARMGCC/FV/v310_mmc_spl.bin of=/dev/sdc bs=512 seek=1 +* copy the u-boot-mmc-spl.bin to the SD/MMC card by using the comand + sudo dd if=Build/SmdkBoard-Exynos/RELEASE_ARMGCC/FV/u-boot-mmc-spl.bin of=/dev/sdc bs=512 seek=1 * Copy the Uefi Image to SD/MMC with below command from the Workspace. sudo dd if=Build/SmdkBoard-Exynos/RELEASE_ARMGCC/FV/SMDKBOARD_EFI.fd of=/dev/sdc bs=512 seek=65 * Now the booting device is ready to be used. -- 1.7.1