Re: Bug#388296: nobootloader: Pegasos firmware older than 1.2.99 need to substract 1 from partitions.
On Tue, Sep 19, 2006 at 08:46:09PM +0200, Niklaus Giger wrote:
> Sven Luther wrote:
>
> > Package: nobootloader
> > Version: 1.10
> > Severity: important
> > Tags: d-i, patch
> <..>
> > The right behaviour is to check for the
> > /proc/device-tree/openprom/firmware-version property, and discriminate
> > depending on the version there.
> >
> What about the Pegasos 1?
> I am running a hand configured Linux peg 2.6.15.7 kernel, which lists
> under /proc/device-tree/openprom/ only the following files
> >bplan-copyright built-on client-services CodeGen-copyright
> linux,phandle >model name relative-addressing SmartFirmware-version
> >niklaus@peg:~$ ls /proc/device-tree/openprom/SmartFirmware-version
> A
> >cat /proc/device-tree/openprom/SmartFirmware-version
> >1.1
>
> Best regards
Sure, the pegasos 1 firmware behaves like the pegasos 2 1.2 firmware in this
regard, the code is still correct.
firmware 1.2.99 and 1.3 and beyond on pegasos 1 will have partitions starting
at 1, like the pegasos2.
Friendly,
Sven Luther
Reply to: