View Single Post
Old 06-26-2015, 12:37 PM   #2
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by aesop View Post
Hi Everyone,-

I was given a demo version of a Kindle PaperWhite-1.
How to deal with those - i.e. make them become full blown ereaders - is well documented.
And so I'm trying to do just that...

Surprisingly enough, what I thought to be the hard part (soldering, USB UART, etc.) turned out to be easy.
And what I thought to be a piece of cake, doesn't work.

Bottom line: I can't complete the last step - flash the IMG file.
After I enter the dd command I get gibberish on the screen and go nowhere
Here is the console (the gibberish part goes for pages and was cut here)
The IMG file is the pw_5.2.0-mmcblk0p1.img (left only the last part of the name)
- - - - -
Code:
[root@kindle us]# dd if=mmcblk0p1.img
X,0W\D?»JÐ*ÈO£ÈOÿÿSï7IP
                       8
                        *µÀG
                            ??YêZê[ê\ê]ê^ê_ê`êaêbêcêdêeêf멲
ÔÕÖª
Can't really see what the reason is (tried different terminal packages, different file names downloaded from different places).

Any hint/advice/pointers would be appreciated.
Looks to me it is doing exactly what you told it to do.
(I.E: copy the named input file to stdout (the terminal) )

The dd command as used to flash an image needs more than just the input file name.
Plus the output file name, block size, block count, would probably be enough.

When dealing with any *nix system, the man(ual) command is your friend.
It isn't installed on most embedded systems, but web search engines recognize it also.

Try:
man dd
in your favorite search engine.

You will probably get links to pages such as:
http://linux.die.net/man/1/dd
and
https://www.gnu.org/software/coreuti...nvocation.html

Last edited by knc1; 06-26-2015 at 12:41 PM.
knc1 is offline   Reply With Quote