Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#45256 - 06/11/2001 04:31 Custom Upgrade images...
kimbotha
member

Registered: 30/08/2000
Posts: 157
Loc: London, UK
Thanks to Smu's work with his upgrade splitter and builder code found here I have put two new custom upgrade files here that upload a new kernel to mount /dev/hda2 as the root partition rather than /dev/hda5 and pump /dev/hda2 with a root filesystem including a custom init.


The two images both have the same kernel:

2.00beta3 + voladj patch + v36 of Mark's hijack + the small hda2 patch to mount hda2 as root

and the same hda2 image:

basically a copy of what is on /dev/hda5 in the 2.00beta3 distribution with a custom init, Frank's getkey and blitecho binaries, chroot and nvi taken from debian binaries for arm



The difference between the two is the larger one also contains the hda5 partition image as found in the 2.00beta3 image and so should work as if you had upgraded to 2.00beta3 and then upgraded to the hda2 and new kernel...

The new init isn't anything special... more of a proof of concept... I haven't tested whether the upgrade will work from the Windows upgrade client... only the Linux one...

Next thing to work on is making a more useful hda2 image and init... and writing an installer program to live there to allow easy installation of other 3rd party software...

Cheers

Kim

PS: no guarantees on any of this... but I would be interested to hear peoples results... :) NOTE to hackers who use /dev/hda2 for their own stuff... these WILL wipe your /dev/hda2

Top
#45257 - 06/11/2001 04:55 Re: Custom Upgrade images... [Re: kimbotha]
kimbotha
member

Registered: 30/08/2000
Posts: 157
Loc: London, UK
Here is the patch for Smu's Splitter/Builder code to deal with the v2.00beta3 upgrade file... I have no idea what chunk type 0x04 is so I have called it CHUNK_MYSTERY... if someone can work it out it can be changed to something a bit more sensible... :)

Cheers

Kim


Attachments
43983-splitterbuilder-chunk0x04.patch (140 downloads)


Top
#45258 - 06/11/2001 06:47 Re: Custom Upgrade images... [Re: kimbotha]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4174
Loc: Cambridge, England
I have no idea what chunk type 0x04 is so I have called it CHUNK_MYSTERY

It contains the hardware revision numbers to which that upgrade can be applied. This is the mechanism which prevents Mk1 upgrades being applied to Mk2 players, and vice versa.

There's a history of revision numbers on riocar.org, but basically production Mk1s were revision 5, empeg Mk2s were revision 7, and Rio Mk2as were revision 9.

Peter

Top
#45259 - 06/11/2001 07:25 Re: Custom Upgrade images... [Re: peter]
kimbotha
member

Registered: 30/08/2000
Posts: 157
Loc: London, UK
Cool... :)

I will update the patch tomorrow... (my files are at work and I am at home now...)

Thanks for the info...

Kim

Top
#45260 - 06/11/2001 07:39 Re: Custom Upgrade images... [Re: peter]
kimbotha
member

Registered: 30/08/2000
Posts: 157
Loc: London, UK
Of course this made me realise that the upgrade files I have created are aimed at mk2s rather than mk1s... I will try and make a mk1 version tomorrow...

Cheers

Kim

Top
#45261 - 06/11/2001 07:51 Re: Custom Upgrade images... [Re: kimbotha]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14484
Loc: Canada
I do say.. we seem to have some momentum gathering here!

Top
#45262 - 06/11/2001 10:23 Re: Custom Upgrade images... [Re: kimbotha]
altman
carpal tunnel

Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
I just said this on the other thread, but please do not distribute images which include the player software; you shouldn't need to do this - eg, you could mount hda5 and have soft-links from hda2 to the player on hda5.

The player software is copyright and not freely distributable. However, this shouldn't cause you any problems in what you're trying to do :)

Hugo

Top
#45263 - 06/11/2001 10:42 Re: Custom Upgrade images... [Re: altman]
kimbotha
member

Registered: 30/08/2000
Posts: 157
Loc: London, UK
Ooops...

Sorry got a little carried away in the excitement of finding it was possible... :) Link and image have been removed... Didn't really think about that...

Cheers

Kim

Top