Hi,
     The flashing method for booting from eMMC for arndale is available in
https://wiki.linaro.org/Boards/Arndale/Setup/EnterpriseUbuntuServer?action=AttachFile&do=view&target=UEFI-eMMC-Booting.txt

This should be done after applying the patch
http://lists.linaro.org/pipermail/boot-architecture/2013-February/000220.html
on
http://git.linaro.org/gitweb?p=arm/uefi/uefi-next.git;a=shortlog;h=refs/heads/linaro-topic-arndale


The document is also attached.

Regards
Rony



Boot Mode Jumper Settings
==========================
 _________________________________
|Jumpers->| 6 | 5 | 4 | 3 | 2 | 1 |
|_________|___|___|___|___|___|___|
|SD/MMC   |OFF|OFF|OFF|ON |OFF|OFF|
|_________|___|___|___|___|___|___|
|eMMC     |OFF|OFF|ON |OFF|OFF|OFF|
|_________|___|___|___|___|___|___|

Flash u-boot and kernel from MMC to eMMC
========================================

1. Have u-boot and linux kernel on SD-MMC as usual.
2. Create FAT partition and keep bl2, UEFI, kernel and dtb in that partition.
2. Boot till u-boot prompt from MMC and follow below steps.

Read UEFI binaries from MMC:
----------------------------
mmc read 50000000 0x1 0x10
fatload mmc 0:2 60000000 fwbl2.bin
fatload mmc 0:2 70000000 ARNDALE_EFI.fd

Write UEFI:
-------------
mmc dev 1
mmc write 50000000 0x1 0x10
mmc write 60000000 0x11 0x20
mmc write 70000000 0x31 0x14A0

mmc dev 1 1 1
mmc write 50000000 0x0 0x10
mmc write 60000000 0x10 0x20 
mmc write 70000000 0x30 0x14A0

3. Boot to kernel from u-boot as usual with command 'run bootcmd'.
4. Create fat partition on eMMC user area using fdisk and mkfs.vfat commands.

            ex : fdisk /dev/mmcblk0             ---------> create partition
                 mkfs.vfat /dev/mmcblk0p1       ---------> make FAT filesystem

   Note: While creating FAT partition on eMMC make sure that you have not 
         overwritten UEFI code. 
         To be safer side start partition from sector # 8192.

5. Copy kernel and dtb to the eMMC FAT filesystem from SD-MMC FAT filesystem.

            ex: mkdir /media/emmc
                mkdir /media/sdmmc
                mount -t vfat /dev/mmcblk0p1 /media/emmc
                mount -t vfat /dev/mmcblk1p0 /media/sdmmc
                cp /media/sdmmc/uImage /media/emmc/
                cp /media/sdmmc/exynos5250-arndale.dtb /media/emmc/



_______________________________________________
boot-architecture mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/boot-architecture

Reply via email to