Hello.

On Mon, 2008-12-08 at 18:21, Daniel Ribeiro wrote:
> On Sun, Dec 7, 2008 at 10:36 PM, Michael 'Mickey' Lauer
> <[EMAIL PROTECTED]> wrote:
> > Let me collect the things I'd say are missing from the kernel for a first
> > really usable milestone release for gen1 phones [in order of importance]:
> >  * suspend/resume
> 
> This is more a bootloader issue than kernel issue. We need a
> bootloader that resumes to PSPR instead of using a fixed memory
> position for the resume address. I have this ready here, but im afraid
> to test it on one of my phones. Anybody with a "semi-bricked"
> a780/e680 can help us on the initial testing. For gen2 this will be a
> little harder, as there is no source code for the gen2 MBM, i can hack
> the asm to resume to PSPR, but its more dangerous than on gen1.

Let resume depend on a newly flashed bootloader makes it a showstopper for a lot
of people.

Using gen-blob for all kind of stuff that the flashed blob gets wrong for init
the hardware is great and easy to do as we can leave the first bootloader in
place.

On the other hand we have to rely on the first bootloader for the resume. And
frankly, I see no way around this when we like to reach an audience bigger then
three people that are brave enough for flashing a new bootloader.

I hope I have the facts still right in my mind, so please correct me here if I'm
wrong. With the standard bootloader Moto uses the approach to write a special
bit muster into the first ram page, the bootloader checks this pages and
resumes, instead of completely re-init, the machine.

Problem is that such a reserved first-page is not really loved in the kernel
community.

I hope this was all right so far. While there are some machines inside the
kernel that have such a mechanism it is not very likely that we can push it in
for our machine, too.

We still can have such a patch locally. I know, merging all in the kernel is the
goal, and you guys know that I'm in favour of this like you are. But being
realistic it is also unlikely that we will be able to push all stuff upstream.
There will always be some sort of small patches that we need, but get not
accepted mainline.

If I balance the facts that we a) keep a local hack or b) only have resume for
people with a newly flashed bootloader, I go for a without doubt.

regards
Stefan Schmidt

Reply via email to