All of lore.kernel.org
 help / color / mirror / Atom feed
* Error while writing image on sd card
@ 2016-01-29 10:19 winiston
  2016-02-01 21:13 ` Denys Dmytriyenko
  0 siblings, 1 reply; 2+ messages in thread
From: winiston @ 2016-01-29 10:19 UTC (permalink / raw)
  To: yocto texas

[-- Attachment #1: Type: text/plain, Size: 1615 bytes --]

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 = 900k

Device 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

[-- Attachment #2: Type: text/html, Size: 2725 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Error while writing image on sd card
  2016-01-29 10:19 Error while writing image on sd card winiston
@ 2016-02-01 21:13 ` Denys Dmytriyenko
  0 siblings, 0 replies; 2+ messages in thread
From: Denys Dmytriyenko @ 2016-02-01 21:13 UTC (permalink / raw)
  To: winiston; +Cc: yocto texas

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.

-- 
Denys


On Fri, Jan 29, 2016 at 03:49:03PM +0530, winiston@futuraautomation.com wrote:
> 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 = 900k
> 
> Device 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

> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-01 21:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-29 10:19 Error while writing image on sd card winiston
2016-02-01 21:13 ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.