Hi Martin

On 9/28/07, Martin Michlmayr <[EMAIL PROTECTED]> wrote:

> What's the status of this patch?

I think that we should ditch the patch, and include the attached
script (flash-apex) in the apex-nslu2 package. The script flashes the
file /boot/apex.flash to the FIS partition named "Loader". The script
would therefore be called when installing apex-nslu2, or when apex is
upgraded manually.

The script (like the patch) still pads the MTD block with 0xffs. Marc
had suggested that it didn't need to overwrite the APEX configuration
area. However, the etch installer padded the MTD block with zeros
instead of 0xffs which meant that one could not use apex-env to change
the configuration area. This script will therefore correct this
problem on previous installations and maintain any custom APEX
environment settings (e.g. if the user had changed the envrioment
settings with Phil Endecott's apexctl).

The script has been tested on the NSLU2. It should probably also
include support for the NAS100D (assuming the NAS100D uses APEX with
Debian - I have CC'd Rod on this email to solicit comments from him).
Are we planning to have a apex-nas100d package?

The script uses functions that have been taken from the flash-kernel
script. We could put these functions in a separate file and include
that file in both flash-kernel and flash-apex. I'm not sure in which
package the file containing the common functions would exist.

Gordon

-- 
Gordon Farquharson
GnuPG Key ID: 32D6D676

Attachment: flash-apex
Description: Binary data

Reply via email to