Thought I would try to get OSX running on a "Joggler", which is a variant of an OpenPeak product. Standard OS is Linux+Java UI layer.
Lots of people have Ubuntu running on the device, others are working on Android and MeGoo etc.
The interesting thing is that it has EFI firmware, American Megatrends EFI v2.0, I think; so you can get into reFit/Grub2 EFI etc and then onto an alternate OS.
After several weeks, finally managed to work out a patch to Grub2 v1.98.orig, to enable video to display during verbose boot, based on others' patches for Linux. (Not hard to see that I am I'm not a programmer, but I try my best
Recall that the device is using EFI, so this is GOP video mode, not VBE or VESA etc as on a BIOS PC, not that this should make any difference I think.
Anyway, so can now see where things are going wrong with the boot process!
Quick product specs:
- 7" touchscreen
- Intel Z520
- SCH US15W
- 512MB RAM (just about enough to run OSX, from tests with a netbook).
- 1GB Internal Flash...plus external USB port(s) for keypad, ext HD etc.
So, similar to SonyViaoP etc.
Process:
Booting off external USB HD drive that has had 10.6.0 installed via MBP. Added /E/E since expecting to be messing around a lot with kexts, if we get that far!
Once point to note is that I can't load a patched DSDT (so far) using Grub2's "acpi -e". Just get error, so plan to use kexts to workaround the issues.
Good part is that Grub2 is loading kernel and mkext/boot caches, and proceeds to boot OK.
Problem:
See image file attached. Panic from pmap_enter.
P1010003.JPG ( 706.22K )
Number of downloads: 33(Please ignore the framebuffer reference, is from the Grub console screen not being blanked correctly prior to boot...still got to fix that in Grub!!)
This is using one of the community kernels. Similar pmap panic using stock kernel, but seemed to not get "as far".
I speculated that it may be due to memory "running out", as the stock kernel is around 17MB vs 7MB for the other. But that may all be silly & wrong.
Anyway, so I've tracked down the relevant part of the kernel source (via http://fxr.watson.org/fxr/source/osfmk/i38...456.1.26#L2724)
CODE
File: pmap.c
2724 if (PV_HASHED_ENTRY_NULL == pvh_e) panic("pmap_enter: pv not in hash list");
2724 if (PV_HASHED_ENTRY_NULL == pvh_e) panic("pmap_enter: pv not in hash list");
I can see it's related somehow to memory, but, as not really a programmer, I don't really understand what's going wrong.
Can anyone shed light on this???!!!
I kind of hope it's something like Grub2 is not "setting up" memory allocation correctly, as then I feel I'll eventually be able to fix that.
However, knowing that will be a challenge for me, I'd like to know I'm heading in the right direction.
Thanks!
This post has been edited by humph: Aug 29 2010, 10:34 PM





Aug 29 2010, 10:33 PM

