How to verify the image flashing/contents check onto EMMC is successfull or not using bmaptool

46 views
Skip to first unread message

Srini

unread,
Dec 4, 2018, 3:05:56 PM12/4/18
to BeagleBoard
Dear Beagleboard,

I am using bmaptool image for flashing the images onto eMMC on Beagleboard

Could you please let me know how to verify whether the image is successfully flashed onto eMMC or not , can we use bmaptool to verify the image that is successfully flashed?

If bmaptool can be used, could you please provide me the full bmaptool command for verifying the image that is successfully flashed?

If not, could you please let me know if any other tools exists, if bmap tool cannot be used for verifying ?

Kindly do the needful,

Many Thanks in advance,

Robert Nelson

unread,
Dec 4, 2018, 3:16:34 PM12/4/18
to Beagle Board, sriniva...@gmail.com
So you've read:

https://source.tizen.org/documentation/reference/bmaptool/introduction

[the "bmaptool copy" command verifies the checksums while writing.]

bmaptool already does what you want above by default...

Regards,

--
Robert Nelson
https://rcn-ee.com/

srinivasan

unread,
Dec 4, 2018, 3:31:44 PM12/4/18
to robert...@gmail.com, beagl...@googlegroups.com
Thanks a lot Robert Nelson for your quick responses and really
appreciate the same.

I am trying to automate feature "to verify the image flashing/contents
check onto EMMC is successfull or not using bmaptool" using the python
code snippet or bash?

Ie., how can I see explicitly, Is there any arguments that can be
passed to the bmaptool, so that checksum is verified successfully
explictly ??

I have gone through the link, Infact I am using the same "bmaptool
copy", could you please let me know if something exists like echo $?
if this output is '0', does it mean that bmaptool copy verifies
checksum successfully and the contents is flashed successfully? and If
echo $? is non-zero then verification is failed

Many Thanks in advance,

Robert Nelson

unread,
Dec 4, 2018, 4:10:25 PM12/4/18
to sriniva...@gmail.com, Beagle Board
On Tue, Dec 4, 2018 at 2:31 PM srinivasan <sriniva...@gmail.com> wrote:
>
> Thanks a lot Robert Nelson for your quick responses and really
> appreciate the same.
>
> I am trying to automate feature "to verify the image flashing/contents
> check onto EMMC is successfull or not using bmaptool" using the python
> code snippet or bash?
>
> Ie., how can I see explicitly, Is there any arguments that can be
> passed to the bmaptool, so that checksum is verified successfully
> explictly ??
>
> I have gone through the link, Infact I am using the same "bmaptool
> copy", could you please let me know if something exists like echo $?
> if this output is '0', does it mean that bmaptool copy verifies
> checksum successfully and the contents is flashed successfully? and If
> echo $? is non-zero then verification is failed

My previous answer stands..

Feel free to ask:

https://github.com/intel/bmap-tools
Reply all
Reply to author
Forward
0 new messages