MacOnLinux on a NON-OF machine
Ross Vumbaca
mol-devel@lists.maconlinux.org
Mon, 11 Nov 2002 23:38:24 +1100
Hi,
I am working with the new AmigaOne board in porting Linux to it.
In the past MOL was successfully run on the AmigaOne.
The AmigaOne has since changed - the firmware is now an enanced version
of the open source ppcboot, and is not an "Open Firmware" firmware.
I found that I couldn't get the kernel module mol.o to load. This was
due to the "find_path_device" function no longer being present in the
AmigaOne's Linux kernel. Unless I'm mistaken, that function returns the
root to the OF Device Tree - and since the AmigaOne is not an OF machine
anymore, there is no OF Device Tree.
I hacked the module so that that function call is not being made, and a
0 is returned instead of a device tree root.
I then got MOL set up, but when I run it I find it does nothing, it
loads and exits mysteriously. Assumedly my little hack broke MOL (as I
expected).
My question is - is MOL reliant on this device tree for the emulated
Mac? Would I be correct in saying that MOL does not emulate OF, and in
fact uses the host machines OF Tree to provide the emualated Mac with an
OF Tree? (Or am I wrong?).
Any comments or criticisms appreciated.. :)
Regards,
Ross..