On Fri, Apr 17, 2009 at 9:21 AM, Marc Jones marcj303@gmail.com wrote:
I wonder if the failover/fallback stuff can be cleaned up to be more like v3?
I'm working on that. I just committed the first step: documenting How It Works Now, since it is so confusing that I wanted to document it first. I do have a first cut at v3-like startup in v2. My proposed console.c patch came from that work. I'd still like to see an ack or nak on that. I recommend an ack. The current 'initialized' variable in console.c is just a bandaid for broken code.
The documentation is going to take a few more days, then I will use it to revise my v3-to-v2 work, and you should see patches inside the next two weeks. But it can be done.
At some point, all targets should have a failover.c, and failover.c will use cbfs to locate the ROM image (fallback or normal) to run. I think it can end up being very clean.
ron