Re: Bug#421359: nslu2 startup with automatic fat-slug detection
On Tue, Jun 26, 2007 at 09:07:49PM -0700, Marc Singer wrote:
> On Tue, Jun 26, 2007 at 09:07:16PM -0600, Gordon Farquharson wrote:
> > Hi Marc
> > On 6/26/07, Marc Singer <email@example.com> wrote:
> > >I recall that there was a thread of discussion about automatically
> > >upgrading APEX when a new package is installed. Was this resolved?
> > >In order for me to install a new APEX, I had to take the
> > >/boot/apex.flash image, byte swap it, and then put the sercomm header
> > >on it. I can also put a copy of apex with all of those steps already
> > >taken into /boot so that it is really easy to upgrade (or downgrade
> > >for that matter).
> > A while ago, I submitted a patch to flash-kernel  which will write
> > apex to mtdblock2 as part of the flash-kernel script. As I mentioned
> > in my response to #421359, it is easy to make this a separate script.
I had another thought about this. It may be worthwhile to make sure
to install APEX only if it is already present in the Loader partition
and if there is a Loader partition. Some people may choose to install
APEX as the primary boot loader.
There is a mkboot script for x86, should we do the same?