Solipsism Gradient

Rainer Brockerhoff’s blog

That EFI thing

No comments

In ye olden times, to boot a computer you had to toggle in a short program on the panel switches, or put a special punch card deck into the hopper, or whatever. Personal computers started out either with built-in BASIC in ROM or a very small boot ROM which had just enough code to load the first block from tape or disk, and jump to that. (The built-in ROM is also called “firmware”.)

Later on, the first Macs had most of the core of the OS built into ROM, along with the self-test and boot functions, while the first PCs had a simple configuration utility instead, which came to be known as BIOS. A little later, when many different models began to appear, the BIOS also began to set a number of internal configurations, check firmware for peripheral cards, and so forth. In contrast, Apple gradually gave up on trying to store the OS toolbox in ROM, and instead increased the sophistication of the self-test and boot code. The downside, in both cases, was that operating systems had to know about a large number of machine types, configurations, peripherals and options, while a specific BIOS had to be made for every new CPU board.

After the first PowerPCs came out, Apple recognized the need to handle booting and peripherals in a more machine-independent way and adopted Open Firmware (OF), initially developed by Sun. OF is a complex beast; it has a Forth-like bytecode interpreter to run test and boot software in a machine-independent way. Also, peripheral cards could contain their own driver software in ROM, in theory even for compatibility with various platforms. This feature was largely reponsible for the Mac’s plug-and-play facilities.

Meanwhile, the BIOS limitations in the PC world became apparent and various entities attempted to progress beyond that, with very little success; the pressure for legacy compatibility was too great to make any inroads into the commodity PC market. One of these initiatives, Intel’s Extensible Firmware Interface (EFI) has been shipped on their Itanium boxes, but hasn’t been adopted by the standard PC market. One roadblock is that no current OS is directly EFI-compatible; Microsoft’s Vista will be, though, when it comes out.

EFI has been adopted by Apple for the new Intel Macs and in that sense will be the first large-scale deployment. Like OF, EFI allows peripheral cards to contain their own drivers. Like OF, it has a machine-independent bytecode interpreter. Also, like OF, it allows for a great variety of functions to be run at power-on time. And most importantly, still like OF, it allows for basic device drivers to be loaded and cataloged before any OS is booted, and that OS can check or complement these drivers only if necessary. Thus, EFI can function as a basic hardware abstraction layer. Conversely, the OS can count on certain things being initialized and in place before it gets loaded, and call EFI functions (say, to access peripherals, set the clock, etc.) when it needs to.

The current EFI specification is quite complex, even more so than Open Firmware, often specifically to address legacy concerns. There are many modules and protocols which can be selected to be present by the motherboard’s manufacturer. From eyewitness reports at Macworld, the new Core Duo Macs boot directly into Mac OS X without any visible difference from old models. Nobody has yet reported on what becomes visible in “verbose” mode, though, although it’s possible to go to the EFI console by holding down certain keys during power-on. Command-option-E-F-I, perhaps?

One EFI module we can be pretty sure that Apple didn’t include: the legacy BIOS module, which would allow EFI to emulate a standard PC BIOS and allow booting of MS-DOS and its successors. Microsoft has said that EFI support will not be retrofitted to current Windows versions. So, the new Macs may eventually run Windows Vista, assuming they are otherwise Intel-standard; somehow it strikes me as unlikely that Apple will work with Microsoft to have its hardware certified as Vista-compatible.

A final point about EFI is that it expects bootable drives to use its partition standard, known as GPT. Apparently Apple has managed to make this coexist with its own partition schemes, so that, once a disk has been formatted and installed with the universal Mac OS X on one of the new Macs, it will become bootable both on Intel and PowerPC Macs; quite a feat.

In summary, a no-doubt-intended side-effect of EFI as implemented in the new Macs is that it makes it more difficult, if not perhaps entirely impossible, either to boot current Windows versions on them, or to run Mac OS X 10.4.4 and up on industry-standard non-EFI Intel PCs. Personally, I think dual-booting is a big hassle; Microsoft has already said they will eventually release a Virtual PC for the new Macs, and there’s the whole virtualization alternative, some which has been patented by Apple. More later about that.

Well, I finally watched the keynote. Streaming with the new codecs in QuickTime 7.0.4 has improved amazingly, I had almost no skipping or stalling at over double the size and quality of last year’s keynote.

Unfortunately the first hour of the keynote was extremely dull… all that US-centric stuff about “bowl games” and “SNL” (both of which I had to look up)… or long demos of messing around with iMovie and iDVD (which I’ve never used) or .mac (ditto)… or podcasts and photocasts. Apparently I’m no longer inside Apple’s main user demographic, and receding further away from it at high speed. I suppose I should be grateful cellphones were not mentioned.

That said, things picked up considerably when the new Macs were shown. No “Otel Inside”, oops, I mean, “Intel Inside”, quite predictably but still a relief. Otellini’s entrance was well-scripted and his mentioning that they had “over a thousand people working on this” was very interesting. (I skipped over the Microsoft part, though.)

Better still, from my standpoint as an investor, AAPL stock climbed steadily throughout the keynote and even gained in after-hours trading, probably a first. It used to fall on both bad news (“told you so”) and good news (“they can’t keep this up!”). While I write this, it’s up over $4 beyond the coincidental $80.86 it closed at on that day.

Regarding the new Macs themselves, I’ll post detailed comments soon. For now, it’s interesting to note that choosing the iMac and the PowerBook/MacBook Pro for refreshing now looks quite logical… the mini wouldn’t have weathered the “same design, same specs, same price” idea as well, for instance, and they couldn’t have done an iBook/MacBook non-Pro for the same price either. Developer discounts on the new Macs dropped to 10% for the iMac and 20% for the MacBook, which indicates that margins are slimmer for now.

One thing which nobody else has commented on yet is that all the new Macs have very customized motherboards. This was of course to be expected for the MacBook, as space in laptops is always at a premium, but the iMac is now fully laptop-like in its internal construction. The last iMac G5 looks completely different internally from the 2nd generation one, and I expect the iMac Core Duo (I suppose that’s the official name?) to be different again.

The effect of that will probably be that people will have little or no luck trying to find a standard-Intel motherboard to run pirated Mac OS X 10.4.4 on. We’ll soon know more details, but I’m reasonably sure that Apple is using their own controller chip, as they always do. Also, both models use EFI instead of BIOS or Open Firmware… as far as I know, there’s no standard 32-bit motherboard out with EFI either. More on that later.

I stayed up late yesterday, trying to collate the flying rumors and opinions into some semblance of order.

As it got later and later it struck me that a comment I’d read earlier – that all these rumors and opinions reflect what people would like to see announced, instead of what is likely to be announced – seemed to describe the situation exactly. (Sorry, I can’t find the URL again for proper attribution.) In fact, I found my own preliminary text to be similarly biased. Also, some of the implications are too US-centric or too far removed from my own experience to make it possible for me to comment on; I’m not a .mac user, I don’t have access to the iTunes music store, etc.

Also, my (highly recommended!) ISP has announced a few hours of downtime to coincide with the period after the keynote, so I won’t be able to comment immediately anyway.

So, I’ve reread my previous postings on the Mac/Intel subject and still find them reasonable… and tomorrow, hopefully, I’ll be able to post a more informed commentary. So, relax and watch the blinkenlights.

Back in August, I wrote:
Rainer Brockerhoff wrote:

…Let’s suppose Steve Jobs goes psycho and deploys the Mac Intel machines with full TPM, TCPA, DRM and whatnot.

…Let’s suppose that we all go mad as well and continue to buy Macs at current quantities or better – say, 5 to 7 million a year.

Now Forbes says:

[J.P. Morgan research analyst Christopher] Danely said Intel should ship its processors into roughly 55% of Apple?s calendar 2006 PC shipments, which should translate into roughly 4.8 million processors.

That is, at the low end of my estimate. I supposed, for the sake of argument, that all new Macs would be Intel-based, but of course selling 10 million Macs a year is OK with me… icon_wink.gif

So my conclusion still stands:
Rainer Brockerhoff wrote:

What would happen?

Why, the current installed base is something over 30 million PowerPC Macs (or even more, depending on your sources). By the end of 2007, Intel Macs will be perhaps 15% of that. It will take at least 5 years, probably more, for Intel Macs to surpass the PowerPC Mac installed base. In other words, non-TPM systems will be in the majority for several years. Can you see Apple (or their stockholders, of which I’m one) restricting such important markets to 15% of their customers? Or even 50%? For years??

Interestingly, the article also says:

[Danely] estimates that every 1 million processors shipped to Apple Computer… would result in a little less than 1 cent of incremental earnings per share at Intel.

So Apple’s direct impact on Intel’s bottom line will be about 5%; relatively low, but in terms of marketing impact very significant. Intel’s recent announcements about branding and focus changes are very Apple-aligned… Intel’s complete silence about anything Apple-related at CES means they’re playing along with Steve Jobs to preserve the impact of next week’s keynote announcements. Let’s stay tuned.

The 2006 MacFixit Toolbox Awards are out and XRay is listed first, with a Gold Award! (It won a Silver Award previously in 2001). Before you ask, yes, looks like I’ll finally be able to restart work on XRay 2 this week.

Other Gold winners are Charles Srstka’s Pacifist, which I use quite frequently (thanks Charles!), and SuperDuper, which I really should begin using Real Soon Now.

Congratulations also to my pal Mark Douma, who got a Silver Award for Font Finagler

XPed

No comments

Well, I was going to write something long and profound about either the past year or the new year…

…turned out I spent all day reconfiguring Windows XP, which I’d never used – or even seen – before. No need to go into the reasons here, but I hasten to add it’s not for my own use.

I did have some idea of listing the various snags, incongruities and even imbecilities I ran into, but on second thought it’s very late, I haven’t had lunch or dinner yet, and I’ll probably end up sounding like those people that use a Mac for the first time and then kvetch endlessly about programs not quitting when their windows close, one-button mice and so forth.

Still, I’d heard that XP was at least as user-friendly (even for small values of “friendly”) as Mac OS X. That’s plainly wrong… that’s all I’ll say for now.

Resolutions for 2006

No comments

Next year, I (hopefully) will…

– Make backups. At least once a year. Even of things that are supposed to be backed up already.

– Make sure the backups are readable on a different machine.

– Make local copies of things instead of trusting that the download will be available “forever”.

– Read the fine print on all insurance policies.

– Trust first impressions.

– Distrust builders and contractors.

– Rebuild this site.

– Post at least once a day.

– Be able to get back to Cocoa programming…

Re: End of an era

No comments

Posted by Rafael Fischmann:
“Los Angeles Times” fecha edição nacional

da Ansa, em Nova York

Depois de 13 anos o jonal “Los Angeles Times” fechará, na próxima semana, sua edição nacional. A decisão de interromper a distribuição na costa leste dos Estados Unidos foi feita para poupar custos.

Além disso, segundo seus administradores, considera o fato de que o jornal é “amplamente lido pela internet”.

“No decorrer do último ano, percebemos que nosso público da costa leste lê o jornal na web”, disse David Garcia, porta-voz do “Los Angeles Times”, observando que o fim da edição nacional será compensado por um aumento da dedicação ao site do jornal na internet (www.latimes.com).

Segundo Garcia, o veículo também muda “para dar mais luz à cobertura de Washington, que em nossa opinião é a melhor em toda a América”.

O fim da edição nacional coincide com uma fase de corte de custos no prestigiado jornal, que recentemente demitiu 85 jornalistas.

Photos licensed by Creative Commons license. Unless otherwise noted, content © 2002-2025 by Rainer Brockerhoff.
Iravan child theme by Rainer Brockerhoff, based on Arjuna-X, a WordPress Theme by SRS Solutions. jQuery UI based on Aristo.