March 6, 2011
PCEFI 10.6 can be compiled just fine with new boot.h from Lion’s SDK, it allows it to boot lion’s kernel just fine, pass kexts to it and etc, but then kernel has double fault, in one of its many threads, so its very hard to track down.
Here is the sorry, wrong file, will uplaod proper one in a few if you want, but keep in mind, it DOES NOT WORK with snow leopard.
Not sharing sources because its same as 10.6.
Now about possible reasons for panic, it’s:
- Not new format of passing kext/mkext to kernel, I compiled snow leopard kernel with new boot.h (so new boot_args, everything else is old), new boot.efi can boot it just fine, as well as booter I posted before.
- Not new devicetree format, same reason as above.
There is actualy not much reason which can cause double fault, so feel free to investigate 😛
Thanks to cparm for idea about kernelcache, here is booter for lion which will use kernelcache if u specify option -usecache
They way you will be able to boot Lion, but double fault seems to happen sometimes still (like if you use Wait=y argument, it will DF)
No /Extra mkext/kexts if kernelcache used. and this booter doesnt work with snowleopard
If getting DF – try to boot Snow with old chameleon, then reboot and boot lion with new, sometimes helps
device-properties doesn’t seem to work.