Error while writing image on sd card
Dear,
Host system : Ubuntu 14.04
Target system : AM437x-evm
I tried to write the image on the sd card, It spits out the error. I am
using card reader. In the device tree, card reader detects as /dev/sdb
& /dev/sde and sd card detects as /dev/sde1 , /dev/sde2 & /dev/sde3 .
Please see the below output for my writing command.
winiston@winiston-VirtualBox:~/poky/build$ sudo
$HOME/poky/scripts/contrib/mkefidisk.sh /dev/sde \tmp/deploy/images/am437x-evm/core-image-minimal-am437x-evm.tar.bz2 /dev/sda
Image details
image:
'tmp/deploy/images/am437x-evm/core-image-minimal-am437x-evm.tar.bz2' ->
'core-image-minimal-am437x-evm-20160129065004.rootfs.tar.bz2'
size: 2180726 bytes
modified: 2016-01-29 12:21:04.000000000 +0530
type: bzip2 compressed data, block size = 900kDevice details
device: /dev/sde
vendor: Multiple
model: Flash Reader
size: 16088301568 bytes
Prepare EFI image on /dev/sde [y/N]? y
Boot partition size: 20 MB (/dev/sde1) ROOTFS partition size: 15264 MB (/dev/sde2) Swap partition size: 804 MB (/dev/sde3)
Partitioning installation media (/dev/sde)
Formatting partitions
Failed to mount tmp/deploy/images/am437x-evm/core-image-minimal-am437x-evm.tar.bz2 Failed to mount rootfs.img
Preparing boot partition
Failed to copy vmlinuz
Failed to copy EFI dir
No EFI bootloader configuration found winiston@winiston-VirtualBox:~/poky/build$
What could be the problem? How do I burn image on sd card?
Regards,
Winiston.P
Futura Automation Pvt Ltd.
Ph :91-80-28375290 / 28375295
Fax :91-80-28375291
You are trying to make a EFI image, which AM437 doesn't use.
You can use one of the many available methods to boot your AM437 platform, SD/MMC boot is just one of the many. There's plenty of documentation and examples on http://processors.wiki.ti.com/ specific to TI embedded processors, including instructions on how to make a bootable SD/MMC image and even existing scripts, like the one that comes with TI SDK products.
Signature · 1 line
Denys
Quoted 59 lines · On Fri, Jan 29, 2016 at 03:49:03PM +0530, [email protected] wrote:
Dear,
Host system : Ubuntu 14.04
Target system : AM437x-evmI tried to write the image on the sd card, It spits out the error. I am
using card reader. In the device tree, card reader detects as/dev/sdb
&/dev/sdeand sd card detects as/dev/sde1,/dev/sde2&/dev/sde3.Please see the below output for my writing command.
winiston@winiston-VirtualBox:~/poky/build$ sudo $HOME/poky/scripts/contrib/mkefidisk.sh /dev/sde \tmp/deploy/images/am437x-evm/core-image-minimal-am437x-evm.tar.bz2 /dev/sda Image details image: 'tmp/deploy/images/am437x-evm/core-image-minimal-am437x-evm.tar.bz2' -> 'core-image-minimal-am437x-evm-20160129065004.rootfs.tar.bz2' size: 2180726 bytes modified: 2016-01-29 12:21:04.000000000 +0530 type: bzip2 compressed data, block size = 900kDevice details
device:/dev/sde
vendor: Multiple
model: Flash Readersize: 16088301568 bytesPrepare EFI image on
/dev/sde[y/N]? yBoot partition size: 20 MB (/dev/sde1) ROOTFS partition size: 15264 MB (/dev/sde2) Swap partition size: 804 MB (/dev/sde3)Partitioning installation media (
/dev/sde)
Formatting partitions
Failed to mount tmp/deploy/images/am437x-evm/core-image-minimal-am437x-evm.tar.bz2 Failed to mount rootfs.img
Preparing boot partition
Failed to copy vmlinuz
Failed to copy EFI dir
No EFI bootloader configuration found winiston@winiston-VirtualBox:~/poky/build$What could be the problem? How do I burn image on sd card?
Regards,
Winiston.P
Futura Automation Pvt Ltd.Ph :91-80-28375290 / 28375295
Fax :91-80-28375291Signature · 4 lines
_______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti