Help - Search - Members - Calendar
Full Version: Archos
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
Pages: 1, 2
fantshare
Hi,
Sorry newb question.
What is the status of the project with respect to the Archos (PMA400) ?
Thanks,
sashz
QUOTE(fantshare @ Oct 18 2005, 04:03 AM)
Hi,
Sorry newb question.
What is the status of the project with respect to the Archos (PMA400) ?
Thanks,
*


Hello
I will try release first beta in weekend or next week :-)
fantshare
Hey that's great news.
Will the Archos specific source be available? I might have a dabble.


QUOTE(sashz @ Oct 18 2005, 12:31 PM)
QUOTE(fantshare @ Oct 18 2005, 04:03 AM)
Hi,
Sorry newb question.
What is the status of the project with respect to the Archos (PMA400) ?
Thanks,
*


Hello
I will try release first beta in weekend or next week :-)
*

sashz
QUOTE(fantshare @ Oct 18 2005, 04:47 AM)
Hey that's great news.
Will the Archos specific source be available? I might have a dabble.


QUOTE(sashz @ Oct 18 2005, 12:31 PM)
QUOTE(fantshare @ Oct 18 2005, 04:03 AM)
Hi,
Sorry newb question.
What is the status of the project with respect to the Archos (PMA400) ?
Thanks,
*


Hello
I will try release first beta in weekend or next week :-)
*


*



yes
fantshare
On archos has anyone experience of reinserting a new cramfs into the aimage.img.
I have extracted the cramfs data o.k. and mounted it on my PC.

But I am concerned about to two blocks of 96 bytes in the header of aimage that look like they might be a checksum?
sashz
QUOTE(fantshare @ Oct 19 2005, 06:20 AM)
On archos has anyone experience of reinserting a new cramfs into the aimage.img.
I have extracted the cramfs data o.k. and mounted it on my PC.

But I am concerned about to two blocks of 96 bytes in the header of aimage that look like they might be a checksum?
*


signature wink.gif Need hack it smile.gif
fantshare
QUOTE(sashz @ Oct 19 2005, 02:49 PM)
QUOTE(fantshare @ Oct 19 2005, 06:20 AM)
On archos has anyone experience of reinserting a new cramfs into the aimage.img.
I have extracted the cramfs data o.k. and mounted it on my PC.

But I am concerned about to two blocks of 96 bytes in the header of aimage that look like they might be a checksum?
*


signature wink.gif Need hack it smile.gif
*



That was my fear sad.gif
fantshare
Has anyone been able to hack the signature yet ?

*

[/quote]

signature wink.gif Need hack it smile.gif
*

[/quote]
sashz
[quote=fantshare,Oct 19 2005, 12:14 PM]
Has anyone been able to hack the signature yet ?

*

[/quote]

signature wink.gif Need hack it smile.gif
*

[/quote]
*

[/quote]

I have exctracted boot ROM, will disassembly soon. Want help and try yourself?
fantshare
[/quote]
I have exctracted boot ROM, will disassembly soon. Want help and try yourself?
*

[/quote]

Does aimage.img reflash ? or just contain updated kernel + cramfs image.

Yes, how do you extract the boot rom?

My arm is bit rusty and I only have had the PMA for a week so need to read up more on the ti chip data, but I like to have a go. wink.gif
pyknite
hello...

fisrt, i tanks you for this very good job...

but i have one question: when you install pdaxrom on the pma, you have a dual boot? you boot pdaxrom from qtopia or you must reset the pma?

I hope it's a dual boot, because i want to install pdaxrom on my pma (i was a pdaxrom user on zaurus wink.gif ) but i dont want to loose the os from archos...

thx...

ps: sry for my english, he iis very bad wink.gif
sashz
[quote=fantshare,Oct 20 2005, 01:43 AM]
[/quote]
I have exctracted boot ROM, will disassembly soon. Want help and try yourself?
*

[/quote]

Does aimage.img reflash ? or just contain updated kernel + cramfs image.

Yes, how do you extract the boot rom?

My arm is bit rusty and I only have had the PMA for a week so need to read up more on the ti chip data, but I like to have a go. wink.gif
*

[/quote]

no, that boot rom which check aimage and than running linux kernel from it smile.gif
sashz
QUOTE(pyknite @ Oct 20 2005, 03:21 AM)
hello...

fisrt, i tanks you for this very good job...

but i have one question: when you install pdaxrom on the pma, you have a dual boot? you boot pdaxrom from qtopia or you must reset the pma?

I hope it's a dual boot, because i want to install pdaxrom on my pma (i was a pdaxrom user on zaurus wink.gif ) but i dont want to loose the os from archos...

thx...

ps: sry for my english, he iis very bad wink.gif
*


hello,
that dual boot system qtopia and X11 smile.gif
pyknite
QUOTE
hello,
that dual boot system qtopia and X11 smile.gif
*



yeah very good news wink.gif

and the version where will realesed is a RC (if it's a rc it's the RC11??) or a final???

thx a lot
fantshare
Can you reveal how you extract this rom ?
So that I too can view its contents.

[/quote]
no, that boot rom which check aimage and than running linux kernel from it smile.gif
*

[/quote]
sashz
[quote=fantshare,Oct 20 2005, 04:07 AM]
Can you reveal how you extract this rom ?
So that I too can view its contents.

[/quote]
no, that boot rom which check aimage and than running linux kernel from it smile.gif
*

[/quote]
*

[/quote]

bootrom attached - look inside, there very funny text messages, maybe we can install linux derectly on HD.
If press Archos button during power on (when linux not booted yet) that will show debug info. There will physical memory map. I wrote simple module for access to ROM physical memory, which create proc entry. Read from this will read from ROM memory smile.gif maybe there more easy access, but i used this:

CODE
#include <linux/config.h>
#include <asm/io.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/errno.h>

#include <asm/hardware.h>
#include <asm/irq.h>
#include <asm/arch/irqs.h>
#include <linux/kmod.h>

#ifdef CONFIG_PROC_FS
#include <linux/proc_fs.h>
#endif

//#define FLASH_PHYS_ADDR               0x12A00000
//#define FLASH_PHYS_ADDR_LEN   (0x14000000 - FLASH_PHYS_ADDR)

#define FLASH_PHYS_ADDR         0x00000000
#define FLASH_PHYS_ADDR_LEN     0x80000

static void *remapped_base;

static struct proc_dir_entry *proc_rom;

static int rom_read_proc ( char *page, char **start, off_t off, int count, int *eof, void *data_unused )
{
   off_t       begin = 0;
   int         i = 0;
   unsigned char *c = remapped_base;

   printk(KERN_NOTICE "count = %d, off = %d.\n", count, off);

   if ((count) >= FLASH_PHYS_ADDR_LEN) {
       count = FLASH_PHYS_ADDR_LEN;
       *eof = 1;
   }

   while (count--) {
       page[i] = c[i + off];
       i++;
   }

done:
       *start = page;// + (off-begin);
       return i;
}

static int __init phys_init(void)
{
   int i;

   remapped_base = ioremap(FLASH_PHYS_ADDR, FLASH_PHYS_ADDR_LEN);

   {
   unsigned char *c = remapped_base;

   printk(KERN_NOTICE "Test BOOTROM location\n");

   for (i=0; i<16; i++) {
       printk("%c", c[i + 0x43000]);
   }

   printk(KERN_NOTICE "Done\n");
   }

   printk(KERN_NOTICE "Access to physical memory installed.\n");

   if ((proc_rom = create_proc_entry( "bootrom", 0, 0 )))
       proc_rom->read_proc = rom_read_proc;

   return 0;
}
static void __exit phys_exit(void)
{
   if (proc_rom)
       remove_proc_entry( "bootrom", 0);

   iounmap(remapped_base);

   printk(KERN_NOTICE "Access to physical memory uninstalled.\n");
}

module_init (phys_init);
module_exit (phys_exit);

MODULE_LICENSE("GPL");
MODULE_AUTHOR ("sash@pdaXrom.org");
MODULE_DESCRIPTION ("Physical memory access");
fantshare
Cool,
I will look at this when I get home from work.
smile.gif
pyknite
and when will be released pdaxrom for the pma???

thx
sashz
QUOTE(pyknite @ Oct 20 2005, 07:44 AM)
and when will be released pdaxrom for the pma???

thx
*


first beta will in monday ,i hope smile.gif
pyknite
QUOTE(sashz @ Oct 20 2005, 07:54 AM)
QUOTE(pyknite @ Oct 20 2005, 07:44 AM)
and when will be released pdaxrom for the pma???

thx
*


first beta will in monday ,i hope smile.gif
*




that's great

i hope too wink.gif
pyknite
euh i have one another question from a pma user...

the rom can use the graphic processor??? it will great if yes wink.gif
sashz
QUOTE(pyknite @ Oct 20 2005, 08:02 AM)
euh i have one another question from a pma user...

the rom can use the graphic processor??? it will great if yes wink.gif
*


not yet - for now that utilize only arm core and generic framebuffer, not overlay.
pyknite
QUOTE(sashz @ Oct 20 2005, 08:05 AM)
QUOTE(pyknite @ Oct 20 2005, 08:02 AM)
euh i have one another question from a pma user...

the rom can use the graphic processor??? it will great if yes wink.gif
*


not yet - for now that utilize only arm core and generic framebuffer, not overlay.
*




ok... it's already great wink.gif

the wireless will run? and the hardrive?

thx a lot for your answer wink.gif
sashz
QUOTE(pyknite @ Oct 20 2005, 08:07 AM)
QUOTE(sashz @ Oct 20 2005, 08:05 AM)
QUOTE(pyknite @ Oct 20 2005, 08:02 AM)
euh i have one another question from a pma user...

the rom can use the graphic processor??? it will great if yes wink.gif
*


not yet - for now that utilize only arm core and generic framebuffer, not overlay.
*




ok... it's already great wink.gif

the wireless will run? and the hardrive?

thx a lot for your answer wink.gif
*



the first test system will work in chroot under Qtopia , so it will work wink.gif
pyknite
QUOTE(sashz @ Oct 20 2005, 08:10 AM)
QUOTE(pyknite @ Oct 20 2005, 08:07 AM)
QUOTE(sashz @ Oct 20 2005, 08:05 AM)
QUOTE(pyknite @ Oct 20 2005, 08:02 AM)
euh i have one another question from a pma user...

the rom can use the graphic processor??? it will great if yes wink.gif
*


not yet - for now that utilize only arm core and generic framebuffer, not overlay.
*




ok... it's already great wink.gif

the wireless will run? and the hardrive?

thx a lot for your answer wink.gif
*



the first test system will work in chroot under Qtopia , so it will work wink.gif
*




in chroot under qtopia?? also you must run the pma normally and start pdaxrom from qtopia, like an emulator?
sashz
QUOTE(pyknite @ Oct 20 2005, 08:12 AM)
in chroot under qtopia?? also you must run the pma normally and start pdaxrom from qtopia, like an emulator?
*


yes, run normally , and than run pdaxrom base system.
that not emulation.
pyknite
QUOTE(sashz @ Oct 20 2005, 08:29 AM)
QUOTE(pyknite @ Oct 20 2005, 08:12 AM)

in chroot under qtopia?? also you must run the pma normally and start pdaxrom from qtopia, like an emulator?
*


yes, run normally , and than run pdaxrom base system.
that not emulation.
*




ok and next you must reset the pma to return to qtopia ?
sashz
QUOTE(pyknite @ Oct 20 2005, 08:46 AM)
QUOTE(sashz @ Oct 20 2005, 08:29 AM)
QUOTE(pyknite @ Oct 20 2005, 08:12 AM)

in chroot under qtopia?? also you must run the pma normally and start pdaxrom from qtopia, like an emulator?
*


yes, run normally , and than run pdaxrom base system.
that not emulation.
*




ok and next you must reset the pma to return to qtopia ?
*



yes wink.gif
pyknite
QUOTE(sashz @ Oct 20 2005, 09:01 AM)
QUOTE(pyknite @ Oct 20 2005, 08:46 AM)
QUOTE(sashz @ Oct 20 2005, 08:29 AM)
QUOTE(pyknite @ Oct 20 2005, 08:12 AM)

in chroot under qtopia?? also you must run the pma normally and start pdaxrom from qtopia, like an emulator?
*


yes, run normally , and than run pdaxrom base system.
that not emulation.
*




ok and next you must reset the pma to return to qtopia ?
*



yes wink.gif
*




oki thx for your answers wink.gif

i hope we will see one day our pma booting pdaxrom or qtopia on startup (like on a desktop pc), or only a pdaxrom with all the multimedia fonction from the archos rom wink.gif
fantshare
Sashz,
Can you recomend good arm dissasembler, I looked on net for one but can't find good free one. Using dumpobj is a pain.

Didn't discover much last night.
Just if you have USB host connected when on blue debug screen it will sit there until you disconnect, and you can access HD wfrom host when on blue screen.
Interestring strings in ROM as you say. Same that say "duddudu" etc though might be button press combos, but no luck trying them.
Do you think there might be a terminal open somewhere ?
sashz
QUOTE(fantshare @ Oct 20 2005, 11:49 PM)
Sashz,
Can you recomend good arm dissasembler, I looked on net for one but can't find good free one. Using dumpobj is a pain.

Didn't discover much last night.
Just if you have USB host connected when on blue debug screen it will sit there until you disconnect, and you can access HD wfrom host when on blue screen.
Interestring strings in ROM as you say. Same that say "duddudu" etc though might be button press combos, but no luck trying them.
Do you think there might be a terminal open somewhere ?
*


Use IDA - commercial Interactive Disassembler (look in p2p smile.gif )

If Archos connected to host during power up , that will wait disconnect and work as storage.
So in this mode you can restore corrupted fs or system.

Dunno about terminal software , there inside messages about USB2 port, so maybe its possible:) Anyway need disassembly and learn rom. Official french office says they cannot give us signature generator because security issues smile.gif So archos unlike linux and opensources i guess even if they released pma400 )
pyknite
when the will work on pdaxrom, the usb host will run???

thx
fantshare
Shame, it would be good for their sales I think.

QUOTE
Official french office says they cannot give us signature generator because security issues smile.gif So archos unlike linux and opensources i guess even if they released pma400 )
*
j4p13j0
This is interesting stuff !
I have tried to dissasemble the firmware but never succeeded in mounting the resulting cramfs. Never figured out if the problem was related to xip-linear
patches I needed, or the image being bad. ohmy.gif

What did you do to mount the cramfs ?

And how would the pdaxrom work ? Changeroot from qtopia, killing qpe and starting X ? Or hacking the image so qpe does not start at all ?

I'd be very interested in helping, but must say I have no experience using arm (dis)assembler or kernel coding. unsure.gif
BTW, are you using the latest (1.14-2) firmware for the kernel ? Or do you use 1.13-2 which, I believe, is more stable ?
fantshare
QUOTE(j4p13j0 @ Oct 23 2005, 07:32 AM)
This is interesting stuff !
I have tried to dissasemble the firmware but never succeeded in mounting the resulting cramfs. Never figured out if the problem was related to xip-linear
patches I needed, or the image being bad. ohmy.gif

What did you do to mount the cramfs ?

And how would the pdaxrom work ? Changeroot from qtopia, killing qpe and starting X ? Or hacking the image so qpe does not start at all ?

I'd be very interested in helping, but must say I have no experience using arm (dis)assembler or kernel coding.  unsure.gif
BTW, are you using the latest (1.14-2) firmware for the kernel ? Or do you use 1.13-2 which, I believe, is more stable ?
*


Ultimately I would like to boot direct into pdaxrom, but first there will be a chroot method I expect.

To mount the cramfs on pc I did:
Search in aimage.img for bytes 45 3d cd 28 (this is the cramfs header start)
Then extract all from that offset onwards to create a cramfs.img (using dd)
I mounted it with:

mkdir /PMA400/rom
mount -o loop -t cramfs cramfs.img /PMA400/rom

The problem is in modfying the cramfs or the precceding data (kernel) and building a new aimage.img, because there are two meaty signatures at the start of aimage.img that are checked at boot time.
j4p13j0
QUOTE(fantshare @ Oct 23 2005, 12:02 PM)
Ultimately I would like to boot direct into pdaxrom, but first there will be a chroot method I expect.

To mount the cramfs on pc I did:
Search in aimage.img for bytes 45 3d cd 28 (this is the cramfs header start)
Then extract all  from that offset onwards to create a  cramfs.img (using dd)
I mounted it with:

mkdir /PMA400/rom
mount -o loop -t cramfs cramfs.img /PMA400/rom

The problem is in modfying the cramfs or the precceding data (kernel) and building a new aimage.img, because there are two meaty signatures at the start of aimage.img that are checked at boot time.
*

Yes, I tried that but my pc hangs when reading the files in the image, because I can't seem to get my kernel patched properly for the cramfs features that are used, esp. the xip stuff. Oh well, it's not going to be of much help untill that signature checking gets reverse-engineered mad.gif

Would love to help but wouldn't know where to start.... I have got some different
firmware releases (1.12, 1.13-2, 1.14-1 and 1.14-2) if anyone is interested for analysis of how the sig is created...
clayde
for information you can make
a script for editing /etc/rc.d/rc.qpe
(this file is respawn by inittab)
and add in this:
kill qpe and start pdxarom in chrootmode for example


and after this modification, kill the process with name /bin/sh (he is rc.qpe)
then the new rc.qpe starting,
Excuse me for my english,

Clayde
pyknite
QUOTE(clayde @ Oct 23 2005, 06:07 AM)
for information you can make
a script for editing /etc/rc.d/rc.qpe
(this file is respawn by inittab)
and add in this:
kill qpe and start pdxarom in chrootmode for example


and after this modification,  kill the process with name /bin/sh (he is rc.qpe)
then the new rc.qpe starting,
Excuse me for my english,

Clayde
*


i try to kill qpe with a command find in qpe.sh (a script for start or stop qpe), i insert it in rc.qpe but it doesn't work...

i will try with kill qpe... i'm trying to rotate the screen wink.gif

one interesting thing is when you chmod rc.qpe and execute, an 2nd qtopia run... if we can make an applet we can have some virtual desktop like a desktop pc...
fantshare
Sashz,
How is it going with the first beta release ?
Will there be one soon ?
pyknite
no news yet? sad.gif
sashz
sorry for delay, i still work with bootrom disassembling:)
pyknite
QUOTE(sashz @ Oct 25 2005, 07:33 AM)
sorry for delay, i still work with bootrom disassembling:)
*



no probleme wink.gif

but have you a date?

++
tixmcprods
QUOTE(pyknite @ Oct 25 2005, 04:42 PM)
QUOTE(sashz @ Oct 25 2005, 07:33 AM)
sorry for delay, i still work with bootrom disassembling:)
*



no probleme wink.gif

but have you a date?

++
*



Re,

I'd like to know how we'll have to install it on our PMA430 ? A big aimage.img file or another boot-script, which will give choice for boot ?
Need a date too biggrin.gif .

Thanks.

PS : Sorry for my bad english smile.gif
pyknite
QUOTE(tixmcprods @ Oct 25 2005, 10:48 PM)
QUOTE(pyknite @ Oct 25 2005, 04:42 PM)
QUOTE(sashz @ Oct 25 2005, 07:33 AM)
sorry for delay, i still work with bootrom disassembling:)
*



no probleme wink.gif

but have you a date?

++
*



Re,

I'd like to know how we'll have to install it on our PMA430 ? A big aimage.img file or another boot-script, which will give choice for boot ?
Need a date too biggrin.gif .

Thanks.

PS : Sorry for my bad english smile.gif
*





we speak about that one page before wink.gif

we will chroot the rom from qtopia... and if i understand correctly, pdaxrom will kill qtopia and appear wink.gif
pma430@pointlisse.com
Hi,

I just started a PMA430 resource site, and this could be a good edition. Please let me know if/when it's ready to test and I'd be happy to post it on my site as well.

Any other info appreciated, too... What it can/will do, advantages, future plans, etc. Thanks!

www.pointlisse.com/PMA430
dhns
QUOTE(pma430@pointlisse.com @ Oct 26 2005, 03:32 PM)
Hi,

I just started a PMA430 resource site, and this could be a good edition. Please let me know if/when it's ready to test and I'd be happy to post it on my site as well.

Any other info appreciated, too... What it can/will do, advantages, future plans, etc. Thanks!

www.pointlisse.com/PMA430
*

Great!

But I think there must be a link to this OESF (not this thread or subforum which is the wrong one) but http://www.oesf.org/forums/index.php?showforum=137

-- hns

@moderator: could you split this thread and move one part to the Archos forum?
grond
QUOTE(sashz @ Oct 25 2005, 07:33 AM)
sorry for delay, i still work with bootrom disassembling:)


Very nice, you have done exactly what I thought was the way to hack the PMA. I´ll have some look at the bootrom code, too, perhaps I find out something about the checksum routine.

BTW: there is an ARM disassembler that seems to be quite good. It is called "komodo" or "kmd" and was written by a guy from the University of Manchester (I mention that because I spend a year there... smile.gif with whom I had a chat. You can download it from his web-site <http://www.cs.man.ac.uk/~brejc8/kmd/>

And all this when I had almost given up about the idea of having a real open source operating system running on the PMA... 8)
pyknite
QUOTE(pma430@pointlisse.com @ Oct 26 2005, 06:32 AM)
Hi,

I just started a PMA430 resource site, and this could be a good edition. Please let me know if/when it's ready to test and I'd be happy to post it on my site as well.

Any other info appreciated, too... What it can/will do, advantages, future plans, etc. Thanks!

www.pointlisse.com/PMA430
*



great the tutorial to have qword, presenter and excel... thx wink.gif
pyknite
no news??? snif sad.gif
pyknite
already no news???
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.