Building eMMC Boot for SAMA5D2-XULT board

Discussion around products based on ARM Cortex-A5 core.

Moderator: nferre

freaky_geek234
Posts: 6
Joined: Sat May 13, 2017 12:06 pm

Building eMMC Boot for SAMA5D2-XULT board

Sat May 13, 2017 4:22 pm

Hi,
We have SAMA5D2-Xplained board with us. I would like to try to build and boot through eMMC.

For this I followed BuildRoot procedure. Now I have the following files with in (buildroot/output/images)

at91bootstrap.bin
at91-sama5d2_xplained.dtb
rootfs.ext2
at91-sama5d2_xplained_pda4.dtb
rootfs.ext4
at91-sama5d2_xplained_pda7b.dtb
rootfs.tar
at91-sama5d2_xplained_pda7.dtb
sama5d2_xplained-sdcardboot-uboot-3.8.7.bin sdcard.img
boot.bin
boot.vfat
u-boot.bin
disk-img.raw
zImage


Now I have SAM-BA_3.1.4 with me and trying to execute emmc-usb.qml (from examples/sama5d2/sdmmc/emmc-usb.qml)

but emmc-usb.qml is expecting a .raw file.

can anybody tell me how to generate .raw file from the files in /buildroot/output/images.

what all files necessary???? is my /buildroot/output/images directory contains all the files necessary or i should require some other files.

can anybody tell me the procedure get .raw file
dgriermsab
Posts: 2
Joined: Wed Feb 15, 2017 12:24 am

Re: Building eMMC Boot for SAMA5D2-XULT board

Thu Sep 07, 2017 5:47 pm

We are using SAMA5D27 on a custom board and booting from EMMC requires us to first boot from micro SD.
Once we are in user land we use dd to write sdcard.img to emmc.

mount /dev/mmcblk1p1 /media
dd if=/media/sdcard.img of=/dev/mmcblk0
poweroff


Remove your SD card and boot from EMMC at that point.

Return to “SAMA5D Cortex-A5 MPU”

Who is online

Users browsing this forum: No registered users and 1 guest