Subject: Firmware

01-04-2006 - Comments: 18
printer-friendly
openPMA: Replacement Opensource Firmware!

[11-25-2006]
Things don't stay calm for very long. Version 0.2 of openPMA has been released: Giraffe.

There are lots of new things to know, including:

With this release comes with some specific instructions to make your installation as painless as possible. Make sure you review the installation guide and the developer wiki prior to your install.

Welcome to Giraffe: http://download.openpma.org/release/openPMA_0.2.0-20061123.zip


[09-17-2006]
The openPMA team is pleased to announce the release of openPMA v0.1.1. This release only differs from v0.1 in the bugfixed harddisk driver which now appears to be stable. This is only a minor release to shorten the time until v0.2 which we hope to release later this year. Get v0.1.1 here:

http://www.openpma.org/openPMA_0.1.1_20060917.zip

It fixes a major issue where the harddisk driver could get into an undefined state when having two processes doing read/write accesses at the same time. The problem occurred when a read access immediately followed a write access which could also happen in a single process doing read/write-accesses to the harddisk but was more difficult to find this way. However, this bug was the reason for most if not all filesystem corruptions.

Thanks to the team for all their hard work. This is most certainly worth the download! 


[04-01-2006]
This is no April Fool's joke. The official first release of the openPMA project is upon us. Codename "Zebra", this thing rocks! There are many improvements, here's a taste:

Anyone else exicited? Deets available at the developer Wiki. Can't wait? Here's the direct link:

 http://download.openpma.org/release/openPMA_0.1_20060401.zip

It is highly recommended you read the instructions (but between you and me, you can just apply the boothack, download Zebra and reboot). 


[03-04-2006]
A checklist for pre-release install has been added to the openPMA wiki:

http://www.openpma.org/wiki/openPMA:Releases/checklist

Please check it carefully as you test.


 [03-03-2006]
A lack of updates does not constitute a lack of progress, apparently. An upcoming first release of the openPMA project has been announced by way of a call for beta testers:  

Hi folks,

the openPMA project is nearing its first release!

To ensure a high quality release we are looking for pma owners to help test the v0.1 release candidate and make sure there are no grave bugs that shouldn't be there.

Please send your application as a beta tester by email to "tester-applications" at openpma.org. You'll then be notified as soon as we have openPMA 0.1RC1 ready for testing. If you feel like it, go ahead and add some words why you'd like to be a beta tester for the openPMA project.

Be amongst the first to try openPMA 0.1 and following releases! UncleSa^h^h^h^h^h^h^h openPMA wants you! ;)

--

Thomas
http://www.openpma.org/wiki 

Visit the Pointlisse.com homepage and the developer Wiki (above) for regular updates.
All I can say is Whoo 'effin Whoo!   


[01-29-2006]
And it gets better and better... this from Philipp (and if you don't know who he is by now, you probably shoudn't be here).

 Hi!

I've made a little script that makes hacking the bootloader easy. When you install the attached ipk, you get an icon "Boothack" in the System tab. Activating it, gives a little window which lets you hack the bootloader or abort. If your bootloader is already hacked, it lets you restore the original bootloader!

This means that anyone and his sister can hack the bootloader and run custom made aimages! How about trying the opie-pma image provided by bubu? Now you all can... :)

  http://www.bfst.de/pmawiki/test/bubu/

Greets, Philipp. 

 Get the script here:  http://www.pointlisse.com/PMA430/File/boothack_pma400_0.2.zip


[01-17-2006]
Are you a windows user and have trouble unpacking AND untaring the file? Try this: http://www.7-zip.org/ 
Thanks, JohnL! 


[01-09-2006]
More on the bootloader hack, from Philipp Boerker, resident bootloader guru:

Could you write up some detailed instructions on how to create such an image and install it with the bootloader hack?

About the custom aimages: well, you need to download the tools sashz provides in the same thread (see link below). You can then extract the filesystem inside an aimage yielding a directory tree on your harddisk. This way, you can change what you like and build a new custom image from the directory tree. It's really simple but you need a linux computer for it (theoretically, your PMA is a linux computer and it could all be done on there; I think this will be an interesting option in the future, i.e. perform our "upgrades" using a script that takes your installed aimage, patch that and you are done).

Anyway: anybody who knows what to change in the aimage will also be able to follow sashz's instructions. Those who cannot follow sashz's instructions shouldn't mess around with the aimage. Hacking the bootloader, on the other side, is also interesting for those who simply want to run a custom made aimage provided by others. For those I wrote these instructions last week:

Preliminary information can be found here:
http://www.oesf.org/forums/index.php?showtopic=16939

I have just checked it and with my PMA it works perfectly. the discription given by sashz is quite detailed but I will try to repeat what he wrote with some more detail: 

  1. Get the file

  2. If you use Windows, unzip by using Winzip, I think Winzip should be able to unpack the file. I'm not sure whether it will also untar the file (that means whether it will be able to split the flash-hack.tar into the different files that are combined into the one .tar-file). If it doesn't, copy the "flash-hack.tar" to the PMA, open a console, change to the directory where the flash-hack.tar resides (probably in /media, so you can type "cd /media" on the console to get there), and type "tar xvf flash-hack.tar" to split the tar-file into the respective files.

    If you use linux, unpack by typing "tar xvfj flash-hack.tar.bz2"

  3. Either way, you should now have the files "phys_m.o", "xxx1" and "flash_m.o" somewhere on the PMA (you know how to copy files over...), if you unpacked the tar-file on the PMA, you have it together with many others, if you managed to unpack the tar-file on your Windows-computer, you can copy only those three files to the PMA, you don't need the rest of them. The first two are to be found in the subdirectory /media/flash-hack/phys/, the last in the maindirectory (/media/flash-hack/).

  4. Now you have to modify the linux-kernel of the running PMA. On the console, cd to where "phys_m.o" resides (e.g. "cd /media/flash-hack/phys/") and insert it into the kernel by typing "insmod phys_m.o". Now run xxx1 by typing "./xxx1". This will produce a copy of your PMA's bootrom in /tmp.

  5. In order to make sure that your PMA is compatible with the hack, cd to /tmp ("cd /tmp"), then copy a portion of the rom-file to a temporary file by typing "dd if=bios.rom of=bios.rom.part bs=1 count=128000". Now have your PMA calculate a md5checksum in order to see whether your bootrom is the same as sashz's PMA. The hack will only work with this version of the bootrom.

    You create the checksum by typing "md5sum bios.rom.part". The checksum MUST be "f67a0f5d320be1b0dc8bfa602ca6cdac  bios.rom.part". If it is not, STOP NOW! If you continue, you will kill your PMA. (sidenote: so far, nobody has reported a different checksum, i.e. there seems to be only one version of the bootloader which again means that anyone's PMA can be hacked)

  6. Okay, plug in the power connector (just to make sure), and cd to where "flash_m.o" resides (probably "cd /media/flash-hack" will do that). Insert flash_m.o into the kernel by typing "insmod flash_m.o". You will get an error-message that can be ignored. This is due to the hack running in kernel-space. If you didn't understand what I just said, don't worry, I don't understand it either.

  7. You are done. Check by typing "dmesg". You should see some stuff and something like "Sector 0xD patched!" and "Sector 0xE patched!". You can now boot any aimage.img you want.


I think that'd be pretty useful, although it should say "THIS MIGHT BREAK YOUR ARCHOS, DON'T DO IT UNLESS YOU'RE CONFIDENT" all over it.
It won't break it. With the second version of the bootloader hack you can even restore the bootloader.


Do we have a way and instructions of getting back to the stock Archos  firmware after loading your own custom aimage?
Sure. Download the aimage from archos.com and put it in the System folder. The bootloader hack won't stop your PMA from loading the official aimages...


[01-04-2006]
This will be on ongoing update, but the big news brought to us by PMA favorite Thomas B. Rücker, writes:

Hi folks,

looks like the skilled Alexander 'sashz' Chukov did what was expected to happen sooner or later. He hacked the bootloader of the Archos pma400. Basically he just disabled the checksum testing by the bootloader.

Preliminary information can be found here: http://www.oesf.org/forums/index.php?showtopic=16939

At the moment I can't confirm that myself because my unit has a different flash rom. I bet as soon as this stuff is tested on some units a ipkg with a click-me-icon will be available from somewhere. ;) Or an even more detailed howto then now.

All information purely for educational purposes. Don't try this at home! Especially if you don't know what this does and what you want to do with what you achieve by patching that bootloader!

If you want to ask questions or want to contribute or need additional information visit the usual suspects:

So whats this all about? You can finally run custom built firmware images on your pma! More info soon!

Cheers
Thomas

This is VERY exciting news indeed! Stay tuned...

     

Related Articles:
The Official openPMA Installation Guide



Add Comment:

name/nickname:
email address:
note: Email address is not required and will only be used if I need to contact you directly. It will absolutely not be shared with anyone.

comment:



security code: (from above)



Comments

[08-19-2008] by izad
IF I CONVERT TO OPEN PMA FROM MY ORIGINAL ARCHOS FIRMWARE WILL I BE ABLE TO CONNECT TO WIFO USING WPA PSK SECURE NETWORKS SINCE ORIGINAL ONLY SUPPORTS WEP N THAT IS SO OUTDATED. OR IS THERE SOME SOFTWARE/PATCH AVALIABLE? PLEASE HELP I REALLY NEED TO BE CONNECTED TO MY HOME NETWORK. THANKS
[10-15-2007] by John
Can anyone out there help. I'm a new owner of a PMA400. I installed
openPMA 3 weeks ago. everything was fine until last week when the
boot-up stopped with the message 'not able to mount new partition'. I
have formatted the drive, re-installed the Archos OS followed by the
open PMA OS a few times but the boot process always halts at the same
point. What has happened? I would have thought the format would have
meant a clean start.
PS Archos OS is working fine but I would prefer to use openPM
[07-24-2007] by glad
I have just purchased the PMA 430 and I love it, Linux and all. I am a Mac/iPod fan boy but the archos blows away anything out there despite it being 2 years old, as it's way ahead of it time in my book and if those boys at apple had it well, imagine it running Mac OSX lite. Anyway it doesn't but I love all it can do and I've upgraded to Open PMA and it's much better, so well done to the developers. The only thing that sucks is the fact that the wi-fi uses WEP, which is fine for open networks but who would use it at home (TKIP). Is there any chance of someone improving it? I love it for the recording facilities and the MP3 player is sweet very sweet in fact it's better than my iPod (there I said it).
[01-05-2007] by Renee
I have updated the firmware, but I have not downloaded this "Giraffe". I'm having issues connecting my Syntax Multi-Card reader to my PMA430... it doesn't recognize it or my new Nikon Coolpix 7. Will this download fix that?
[12-29-2006] by ossikar
What about the PMA440? Is the openPMA-Software also für this one? I always got a failure message, that I don't have enough space - "need at least 1GB diskspace". But i got a new PMA440 with nothing on it!

ossikar
[07-11-2006] by Aloon
Thanks for the very exciting info on the PMA. I just bought one, and am following these discussions closely. Thanks for all the work you have been doing so far...

cheers

Alan
[05-29-2006] by caiman
Hi!

Before saying aithing, thanks for the u've done in this site.

My PMA got halted after I copied the img file to system and rebooted it. and now it just stays in the blue pic when i connect it to the usb, and when i dont i get a red systescren that says signature incorrect, sistem halted and then huts down.

don't know what to do.

Thanxs
[05-17-2006] by jdebay
OpenPMA rocks, it works great for me.
Before copying file. I just rename old image. Then I have both files just in case of problem. But so far it works great for me.

Still one thing to test connecting an old Archos Jukebox 20 via usb port. Can not wait for next version...
[05-12-2006] by Nexami
Cheers. I did get it all working. You were totally write. Just my excitement and impatience getting the better of me :)

OpenPMA is VERY cool :)
[05-12-2006] by FeelingLessDumb
Nix the fixing part. I can still access the hard drive by turning it on after plugging in the USB cable. Thank god!
Like Nexami, the boothack had to be run twice to get it to work.
[05-12-2006] by FeelingDumb
I tried doing what's listed above: installing the boothack, running the boothack, copying over the new aimage.img, and rebooting. Now I get a red screen that says "signature incorrect. system halted."
So, besides sending this to Archos, any ideas on fixing it? Also, can anyone think of what I might have done wrong?
[05-08-2006] by pointlisse
Nexami... just reboot. After, running it again should ask you if you want to restore the original bootloader. I'm betting your good-to-go.
[05-08-2006] by Nexami
Hey guys. I have tried Philipp's ipk file and it doesn't seem to work. It installs fine but when I run it it asks me if I want to hack the bootloader, I say okay, then it disappears. There is no more feedback than this. If I try running it again, the same message appears (it does not ask if I want to restore the original bootloader). Unfortunately I can't seem to find the older hacks from that forum. I could be wrong, but I think the files are gone (I download them but they seem corrupt). Sorry if I'm being dense, but I just can't figure out what I'm doing wrong. Running "dmesg" does not show any 'patched' messages. Please help me :)
[02-28-2006] by Philipp Boerker
To Andy:

The script checks whether the bootloader is already hacked. If it is hacked, it will offer you to restore the original bootloader, if it isn't, it will offer you to hack the bootloader.

[02-23-2006] by Andy
How will I know if thebootloader is the original version or hack version? I already hack the original one then tried to use the program that use to hack the bootloader.
[02-23-2006] by Andy
Thanks for the info bro. I'll try it and I'll let you know the outcome.
[01-13-2006] by Andy
HI, I was wondering if you can give me an advise as to how to solve my problem of hacking the PMA bootloader. I tried following your instruction as above but I keep getting the message "no such file or directory. I don't know if I'm the only one encountering the problem. When I downloaded the said file, I noticed that the default download file is /media/documents. In the terminal, do I use cd? Your help will be much appreciated as your one the the few owner of PMA that is very good in programs especially linux base.Thanks
Andy
[01-09-2006] by Pablo
Im comming everyday to this website to check if there is more news on this topic...

I wonder if anyone will host complete images for the PMA....



Copyright ©2010 pointlisse.com. All right reserved. All brands and product names are registered trademarks and the property of their respective owners.