07-29-2008, 11:51 AM | #1 |
Architect
Posts: 15
Karma: 10
Join Date: Mar 2007
Location: Montreal
Device: PRS-505
|
ROM Development
Hi, I would like to start developing for my PRS-505 and need some guidance, I would like to know where to start, what environment do I need (O/S, compiler, libraries, etc...).
What I want to do it replace to PRS-505 shell, I want to build a shell that will be folder based instead of meta-data based, and I want to make it more efficient so it won't crap out with 2000 books. |
07-29-2008, 12:08 PM | #2 |
Wizard
Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
You need an ARM Linux toolchain. Try making a simple Hello, Wold app and run it using "Run Script" option in Universal Flasher.
|
Advert | |
|
07-29-2008, 05:30 PM | #3 |
Architect
Posts: 15
Karma: 10
Join Date: Mar 2007
Location: Montreal
Device: PRS-505
|
Ok so I can make a simple application, but if I want to create a full ROM, how do I go about that? Is there a ROM depackager where I can extract existing ROM and modify some runtime behavior like removing the current shell and running mine?
Thanks |
07-29-2008, 06:39 PM | #4 |
Wizard
Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
Yes, use cramfsck to extract the image and mkcramfs to make it.
|
07-30-2008, 10:46 AM | #5 |
Architect
Posts: 15
Karma: 10
Join Date: Mar 2007
Location: Montreal
Device: PRS-505
|
Ok thanks.
Now I know how to decompress a ROM, I know how to upload with the flasher tool, but how do I extract the ROM from the PRS-505? Thanks again. |
Advert | |
|
07-30-2008, 11:34 AM | #6 |
Wizard
Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
Something like this:
Code:
cp /dev/mtdNN /Data/mtdNN N.B. never overwrite Loader, Linux2, Rootfs2 and Opt0 partitions - they handle the recovery mode which will allow you to unbrick the Reader with the official updater. |
07-30-2008, 03:12 PM | #7 |
Architect
Posts: 15
Karma: 10
Join Date: Mar 2007
Location: Montreal
Device: PRS-505
|
Not sure I follow, are you saying that partitions of the PRS will be mounted to my Linux when i plug it in? Or do I need some special tool to do this?
Also which Linux distribution do you suggest for development? Thank you. |
07-30-2008, 04:43 PM | #8 |
Wizard
Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
No, you need to run that command on the device (e.g. via "run script" option in the Universal Flasher).
|
07-30-2008, 04:53 PM | #9 |
Architect
Posts: 15
Karma: 10
Join Date: Mar 2007
Location: Montreal
Device: PRS-505
|
Ok thanks.
And about the linux distribution, which one should I use? Thanks |
07-30-2008, 04:57 PM | #10 |
Wizard
Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
No idea, sorry. Just choose any for which there's a working ARM toolchain available.
|
07-30-2008, 08:44 PM | #11 | |
Architect
Posts: 15
Karma: 10
Join Date: Mar 2007
Location: Montreal
Device: PRS-505
|
Ok, since you asked this 2 years ago, I guess you have the answers: Which version of Crosstool do I need, and which gcc and glib versions. And should I go cygwin since I already have a windows setup?
Quote:
Thanks a lot for your help. |
|
07-31-2008, 12:28 AM | #12 | |
Fanatic
Posts: 556
Karma: 1057213
Join Date: Sep 2006
Location: North Eastern U.S.
Device: Sony Reader
|
Quote:
A couple of years ago I set up the latest version of crosstool on Cygwin, and it worked, but only after I shortened the directory names in the setup path and renamed the ones with spaces in them, as crosstool was having a hard time setting up and building the toolchain. I also set up Crosstool on some real Linux systems, and it worked without a hitch. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Classic NookDevs 2.4.1 Softroot/ROM Released | poutine | Nook Developer's Corner | 16 | 03-18-2021 01:29 PM |
Historical Fiction Dahn, Felix: Ein Kampf um Rom. german. v2. 24 mar 2009 | netseeker | BBeB/LRF Books | 2 | 03-25-2009 04:03 AM |
HELP : Despair with flashing rom upgrades | aleandre | iRex | 3 | 02-17-2008 11:59 AM |
ROM matrix for Palm and Pocket PC devices | Colin Dunstan | Lounge | 0 | 01-21-2006 08:19 PM |
HandStory safe to run from flash ROM? | daught | Reading and Management | 1 | 05-09-2003 03:45 PM |