View Single Post
Old 07-18-2016, 11:38 PM   #8
coplate
Guru
coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.
 
Posts: 645
Karma: 1888888
Join Date: Jun 2009
Device: prs-505, Kindle Keyboard 3g, PW3
I had to install a lot of libraries, and If I could export my bash history from this ubuntu image, I'll get them, for future users.

so after readign this
http://crosstool-ng.org/
and running ct-ng list-samples
I ran:
>ct-ng arm-kindlepw2-linux-gnueabi

and get Now configured for arm-kindlepw2-linux-gnueabi

Then I ran
>ct-ng build

now its building stuff that takes a long time - 14 minutes and counting ( most time on "installing pass-1 core C gcc compiler " )
[[ 39:48 minutes on my VM ]]
My next step for full integration would be to figure out the kindletool

it looks like the instructions at https://wiki.mobileread.com/wiki/Kind...ustom_packages gives this sample:
>kindletool create ota2 -d k5w -d k5g -d k5gb run.sh data.tar.gz update_custom_script.bin

Its not clear to me what will happen with run.sh and data.tar.gz

will it make a bin file that always runs the first command, or is there somethign else I'm missing?

Edit: I see the comment now
>> In case of OTA updates, all files with the extension ".ffs" or ".sh" will be treated as update scripts.

Will it run those in any given order, or do they need to be in the top level or ..?

Last edited by coplate; 07-19-2016 at 12:04 AM.
coplate is offline   Reply With Quote