Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 10-04-2013, 03:45 AM   #76
caleb72
Indie Advocate
caleb72 ought to be getting tired of karma fortunes by now.caleb72 ought to be getting tired of karma fortunes by now.caleb72 ought to be getting tired of karma fortunes by now.caleb72 ought to be getting tired of karma fortunes by now.caleb72 ought to be getting tired of karma fortunes by now.caleb72 ought to be getting tired of karma fortunes by now.caleb72 ought to be getting tired of karma fortunes by now.caleb72 ought to be getting tired of karma fortunes by now.caleb72 ought to be getting tired of karma fortunes by now.caleb72 ought to be getting tired of karma fortunes by now.caleb72 ought to be getting tired of karma fortunes by now.
 
caleb72's Avatar
 
Posts: 2,863
Karma: 18794463
Join Date: Sep 2010
Location: Melbourne, Australia
Device: Kindle
Wow - you guys are talking about it so easily, but I feel like I've peeked behind the curtain - and I'm impressed.

I would be far too terrified to open my Kindle. Probably a good sign that I'm not an electrical engineer. Whether a jailbreak comes or not - I still appreciate the effort being made.
caleb72 is offline   Reply With Quote
Old 10-04-2013, 06:23 AM   #77
Akirainblack
abibliophobic
Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.
 
Posts: 220
Karma: 219708
Join Date: Aug 2012
Device: KV jailbroken
What level of soldering skills are necessary?
3 Pins, of non surface mount?
If so... I'm tempted to try and make myself 2nd (assuming my PW2 arrives before someone else beats me to it) if people are willing to help me through the process?
Any takers? (Mine should arrive by the 9th)
Whilst I know it shouldn't make much difference, mine will be an UK PW2
Akirainblack is offline   Reply With Quote
Advert
Old 10-04-2013, 06:53 AM   #78
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 npoland View Post
That makes it sound worth it. Maybe a nice note to lab126 on the inside.

It seems worth it just to see what happens...
Too bad they designed out the microphone.
Might have rigged it to listen to their comments.

- - - - -

Yeah, I watch too much Person of Interest
knc1 is offline   Reply With Quote
Old 10-04-2013, 10:03 AM   #79
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
Arrow Kpw2 Mini-Kloud

The Mini-Kloud clerk has been busy -
Check:
kpw2/Freescale/00_INDEX.txt,
kpw2/Freescale/AN4581.pdf (not publicly re-distributable),
kpw2/Freescale/Sources/00_ReadMe.txt

- - - -

Why make a public forum announcement of things happening in a private, limited access, Kloud?

Because not all of the key developers here have direct access (because they don't want it, not because we are hiding anything).

Why "private, limited access" in the first place?
Because the current efforts span more that 4 different countries, each with their own I.P. laws and practices.

This Mini-Cloud is the electronic equivalent of everyone working in the same development "office".
I.E: Only the "employees on the project" have direct access.

Because we don't want to run a training center for lab126 members.
Sorry lab126 folks, we are out of the "you should do it this way" business here.
knc1 is offline   Reply With Quote
Old 10-04-2013, 11:31 AM   #80
npoland
1st KPW2 JB
npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.
 
Posts: 26
Karma: 133537
Join Date: Oct 2013
Device: PW2
Quote:
Originally Posted by Akirainblack View Post
What level of soldering skills are necessary?
3 Pins, of non surface mount?
If so... I'm tempted to try and make myself 2nd (assuming my PW2 arrives before someone else beats me to it) if people are willing to help me through the process?
Any takers? (Mine should arrive by the 9th)
Whilst I know it shouldn't make much difference, mine will be an UK PW2
It is three surface mount pads. If you have magnet wire, a decent soldering iron, and a 1.8v logic level serial adapter then it is pretty easy. You might be able to get away with no soldering and just press the wires down on the pads (this would give you a sketchy connection), but I wouldn't recommend it.

So if you want to do it I can help you through it
npoland is offline   Reply With Quote
Advert
Old 10-04-2013, 11:40 AM   #81
Akirainblack
abibliophobic
Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.
 
Posts: 220
Karma: 219708
Join Date: Aug 2012
Device: KV jailbroken
Excellent, thank you npoland, I shall now have to give it some serious consideration.
How precise would my soldering skills need to be?
I have to admit I'm a tad rusty atm.

How hard was stripping it down, how far apart do you have to take it before you get access to the serial connectors and was there anything covering the serial connectors?
I've stripped down a Kindle keyboard without too much trouble.

Last edited by Akirainblack; 10-04-2013 at 11:44 AM.
Akirainblack is offline   Reply With Quote
Old 10-04-2013, 11:45 AM   #82
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
Or - if you have a RadioShack (or similar) nearby -
Get insulated 30ga wire sold as "Wirewrap Wire".
Comes in colors, easier to keep track of which of the signal leads are what.
knc1 is offline   Reply With Quote
Old 10-04-2013, 11:54 AM   #83
npoland
1st KPW2 JB
npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.
 
Posts: 26
Karma: 133537
Join Date: Oct 2013
Device: PW2
Wirewrap wire would work too. I strongly suggest whatever wire you use you tape it to the board as to prevent the pads from tearing up. There are 'backup' pads (testpoints that are connected to the serial pads), but they are on the underside of the mainboard. For dissasembly you need to remove the front panel and unscrew the screen from the rear panel. The serial port is accessible once you unscrew it.

As long as you know how to solder it should be pretty easy. Do you have a proper serial adapter?
npoland is offline   Reply With Quote
Old 10-04-2013, 12:09 PM   #84
Akirainblack
abibliophobic
Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.
 
Posts: 220
Karma: 219708
Join Date: Aug 2012
Device: KV jailbroken
Not yet, I have also been putting off getting a decent Soldering station as up until now I couldn't justify it as I don't do enough soldering. This is giving me the excuse to get one. Was going to have a look at maplin or radio spares' websites for the serial adaptor (I'm UK based), though not 100% certain exactly what I need, I'd then also need a serial to USB adaptor as I don't have a PC with a serial port anymore.

I know I've seen one linked in the past, but as with true tradition, I can't for the life of me find it at the moment.

Last edited by Akirainblack; 10-04-2013 at 12:12 PM.
Akirainblack is offline   Reply With Quote
Old 10-04-2013, 12:22 PM   #85
npoland
1st KPW2 JB
npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.
 
Posts: 26
Karma: 133537
Join Date: Oct 2013
Device: PW2
For a serial adapter... TTL-232RG-VREG1V8-WE
Farnell link:
http://uk.farnell.com/ftdi/ttl-232rg...2RG-VREG1V8-WE

For a soldering station that is up to you
npoland is offline   Reply With Quote
Old 10-04-2013, 02:49 PM   #86
Akirainblack
abibliophobic
Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.Akirainblack ought to be getting tired of karma fortunes by now.
 
Posts: 220
Karma: 219708
Join Date: Aug 2012
Device: KV jailbroken
Excellent, thanks npoland, pity that's out of stock until the 18th
At least I now know what I'm looking for or where I can get it.

Right, everything ordered. Fingers crossed it should all be here for around the day my Kindle arrives

Living where I do.. There is no local radio shack... The closest we have is a local Spar, which is nothing like a radio shack

Last edited by Akirainblack; 10-04-2013 at 02:59 PM.
Akirainblack is offline   Reply With Quote
Old 10-04-2013, 04:47 PM   #87
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
The life and times of a binary blob

People have asked me:
"How do you even get started when faced with a blob of bits?"

Answer #1: You do a lot of guessing, and hope to get lucky.


Answer #2: Very similar to answer #1, only you get a jump start by: RTFM.

First known point: The SoC is a **machine** until it gets hold of some external program code, it operates in a known, fixed, manner.

Second known point: Which machine? npoland provided that information among his first posts.
The Freescale i.MX6 series of application processors.

Third known point: Freescale wants their product used (or at least purchased) by people building things electronic.
So they publish documentation on the device.
(Links provided earlier in this thread.)

At the end of its internal start-up procedure, the SoC expects to load an image of executable code.
Not just any image, but one that fits a specific layout/format model.

A pictorial quote from one of the Freescale manuals:


The three Freescale SoC specific fields also have a defined layout.

The IVT:
Code:
typedef struct
{
    uint32_t        header;
    uint32_t        *entry;
    uint32_t        reserved1;
    uint32_t        *dcd;
    boot_data_t  *boot_data;
    uint32_t        *self;
    uint32_t        *csf;
    uint32_t        reserved2;
} image_vector_table_t;
The manual provides details of what is placed in those fields and how they are used.
But you can see how the names match those pointers in the picture entering from the right side.

The Boot Data type is also defined:
Code:
typedef struct
{
    uint32_t    *start;
    uint32_t    length;
    uint32_t    plugin_flag;
} boot_data_t;
Details of which are also provided in the manual.

The DCD (Device Configuration Data) is just a simple list of register addresses and register contents used to further configure the SoC hardware.

Then it is just a matter of finding that set of structures in the binary blob.
Aided in this case by knowing that the 'machine' at this point is a very simple one and that the 'image data' will be some flavor of U-Boot.

Now, loop back to Answer #1, continue.

Note 1: The same structure above is also used by the i.Mx50 series of processors, we have done that one several times before.

Note 2: The CSF pointer points to the certificate and signing data in the secure-boot format. That block is appended after the "image data" block shown above.

Note 3: If this structure was built using the Freescale tools, or just by following Freescale's directions (to use: objcopy) the padding is bytes of 0xFF (I.E: Erased flash).

Last edited by knc1; 10-05-2013 at 01:37 PM.
knc1 is offline   Reply With Quote
Old 10-04-2013, 08:10 PM   #88
npoland
1st KPW2 JB
npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.npoland puts his or her pants on both legs at a time.
 
Posts: 26
Karma: 133537
Join Date: Oct 2013
Device: PW2
http://boundarydevices.com/i-mx6-kernel-l3-0-35_4-0-0/

Here is the freescale source for the same linux version that the pw2 runs. I'll throw it on the kloud too...

I don't know if this is really useful...

Last edited by npoland; 10-04-2013 at 08:27 PM.
npoland is offline   Reply With Quote
Old 10-04-2013, 08:40 PM   #89
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
The i.MX6 support in the Buildroot, build system has been bumped to the 3.0.35_4.1.0 Freescale release.

Our resource collection at kpw2/Freescale/Sources has been updated to include the release 4.1.0 Freescale kernel and u-boot sources.

Last edited by knc1; 10-04-2013 at 09:52 PM.
knc1 is offline   Reply With Quote
Old 10-05-2013, 12:29 AM   #90
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
You must spread some Reputation around before giving it to knc1 again.

Gah.

Nice piccies.
twobob is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
second gen paperwhite in a first gen case? BeccaPrice Amazon Kindle 9 10-06-2013 08:05 PM
Kindle Fire (1st gen and 2nd gen) now officially CyanogenMod supported Jessica Lares Kindle Fire 8 04-01-2013 02:27 PM
Content PaperWhite & Fire 2nd Gen MOBIs don't need an inline TOC alansplace Amazon Kindle 4 01-14-2013 08:04 PM
Polarizing Filter on KF 2nd Gen (not HD)? Doc109 Kindle Fire 0 01-06-2013 11:46 PM
Ended Irex Iliad 2nd Gen devant Flea Market 8 01-27-2010 01:49 AM


All times are GMT -4. The time now is 01:31 PM.


MobileRead.com is a privately owned, operated and funded community.