Re: XNU rebuild problem
Re: XNU rebuild problem
- Subject: Re: XNU rebuild problem
- From: Andrea Di Pasquale <email@hidden>
- Date: Sat, 20 Jun 2009 07:58:09 +0200
Hi, guys;
I rebuild my XNU custom kernel with darwinbuild.
Now, i'm here:
bash-3.2# ls
.build BuildRoot Headers Logs Roots Sources Symbols
bash-3.2# cd Roots/xnu/xnu-1228.12.14.root~1/
bash-3.2# ls -l
total 40416
drwxr-xr-x 3 root wheel 102 20 Giu 06:53 System
-rw-r--r-- 1 root wheel 10344568 20 Giu 07:00 mach_kernel
-rw-r--r-- 1 root wheel 10344568 20 Giu 07:00 mach_kernel.ctfsys
drwxr-xr-x 6 root wheel 204 20 Giu 07:00 usr
1) What do I do for installing my custom kernel?
2) How do I do for using standard kernel and custom kernel at boot time?
Thank you,
best regards,
-- Andrea
Il giorno 20/giu/09, alle ore 00:43, William Siegrist ha scritto:
On Jun 19, 2009, at 2:54 PM, Andrea Di Pasquale wrote:
Hi guys!
I use XCode 3.1.3 and I wish rebuild my XNU-1228.12.14 kernel.
I'm reading:
http://developer.apple.com/documentation/Darwin/Conceptual/KernelProgramming/build/build.html#/
/apple_ref/doc/uid/TP30000905-CH221-CIHFEIFI
but i found problems with supports tools.
For example with bootstrap_cmds-60.1:
Manson:relpath.tproj spikey$ sudo make install
Error: TargetConfig not defined
make: *** [_targetconfig] Error 1
With LibStreams-25:
Bash-3.2# make install
/Users/spikey/Desktop/XNU:1: warning: NUL character seen; rest of
line ignored
/Users/spikey/Desktop/XNU:1: *** missing separator. Stop.
Can you help me?
Best regards,
I recommend using darwinbuild to help build xnu. It grabs roots as
needed for building the kernel. You can use its -nosource option to
preserve the source in the SourceCache as you modify it.
http://darwinbuild.macosforge.org/trac/wiki/Install
-Bill
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden