Jump to content

RevoBoot


buoo
 Share

290 posts in this topic

Recommended Posts

UPDATE:

 

I Generate SSDT Table, all working, without error, but i have one problem, SpeedStep not working, CPU working on min or max, SSDT generated good, i see automatic states ( i set it in config) - But in ioreg i don't have PerformanceStateArray, how to fix it?

 

 

UPDATE #2:

I Have PerformanceStates, i replace my bios with new version, now i can set for each core multiplier.

I set 42\41\40\39.

And in MSRDumper i see next steps : 16 39 40 41 42

39-42 states it's normal 'cause i set this states in bios.

But how i can do make to working other steps eg ( 18, 24, 20, 28, 35)?

In ioreg and SMC Monitor on tab P & C States i see 27states from 16 to 42 (CST info - text field in SMC monitor is empty).

Link to comment
Share on other sites

What bothers me endlessly is the total lack of communicative documentation around RevoBoot but also other hack software when it comes to X86 OS X.

 

There's talent no doubt about it but the real intelligence lies in the ability to get across the language boundary. It's not enough to publicise code-endevours as open if programmers stick to their archaic vocabulary. Ok, it gives a sense of belonging to a certain group, providing a self serving identity, but publicising it for all to see and being scarce when it comes the real syntax from mind 2 mind, brain 2 brain, well what is the point then? Showing off one's glitters. Hey look I'm smart! But if getting something across to a 'layman' what appears to be complicated - because that's all what coding is outside the realm of the (very) high mathematics - well then there's a problem. Your movie ain't no blockbuster.

Link to comment
Share on other sites

As I look at it and from what remember from my days of simple coding with Advanced Pascal which included merging of machine code inside a procedure including arguments, global declarations, local declarations, functions/procedures, including external libraries and what have we not. What's missing with RevoBoot: Diagrams of process flow and a section for Dummies (like me hah). I see RevoBoot having potential and the more because it claims to aim at simplicity and speed. I know nowadays CPU's are not like those from the beginning but principles are the same when to show where and when things are happening in context to the bigger picture being the operating system, administration and user applications. I deliberately ommited the word 'environment' because isn't that word only but an ornament?

 

For another instance, what exactly happens when we 'make' in the OS X command terminal after having changed to the appropriate RevoBoot directory? That explanation is missing big time. So 'make' makes it all happen? File placements and everything? I doubt it. But I SHOULD NOT. Remember, publishing for all to see and for all to access DOES bring along responsibilities otherwise it's just posing.

Link to comment
Share on other sites

So here's an example where differences between C++ and C# are being laid out: c-sharpcorner.com/uploadfile/gtomar/difference-between-cpp-and-C-Sharp/

 

Where bare C++ is a language a few generations later than Pascal however as is being oriented for single standalone machines aka computers. C++ is also being 'republished' as language packages containing preprogrammed C++ code software that a programmer uses to develop his or her own programs whether or not specialized and in manner according to certain rules (protocol) and environments going from a discrete microcontroller in the form of a chip in a washing machine or factory to a virtual space inside a web browser window. The latter might not be well understood by everyone.

Link to comment
Share on other sites

  • 3 weeks later...

Hi,

I would like it if you could help me out a little or a lot. I want to test this bootloader. I am going to ask a few question before i get started but one quest. at a time.

 

Question 1) Is this project Dead ?

 

--1a) What is the current version ?

 

--1b) Can it boot 10.5/10.6/10.7/10.8 ?

 

--1c) What are the feathers of this bootloader ?

 

--1d) How does it compare to Chameleon 2.1 R2001 ?

 

--1e) What info is needed to use this bootloader ?

 

--1f) If you don't have all the info, is there an auto/default ?

Link to comment
Share on other sites

  • 6 months later...
  • 2 months later...
  • 3 months later...
Last login: Sun Aug 18 12:23:32 on ttys000
localhost:~ admin$ cd /Users/admin/Downloads/RevoBoot-clang 
localhost:RevoBoot-clang admin$ make
	[MKDIR] i386/config/SETTINGS
	[CP] i386/config/settings-template.h i386/config/SETTINGS/default.h
======================================================
Running: make MODEL= mountain-lion
================= RevoBoot/i386/util =================
	[CC] machOconv.c
	[CC] machOconv
================= RevoBoot/i386/libsa =================
	[CC] prf.c
	[CC] printf.c
	[CC] zalloc.c
	[CC] string.c
	[CC] strtol.c
	[AS] setjmp.s
	[CC] crc32.c
	[LIBTOOL] libsa.a
================= RevoBoot/i386/libsaio =================
	[CC] table.c
	[AS] asm.s
	[AS] bios.s
	[CC] biosfn.c
	[CC] guid.c
	[CC] disk.c
	[CC] sys.c
	[CC] cache.c
	[CC] bootstruct.c
	[CC] base64.c
	[CC] stringTable.c
	[CC] load.c
	[CC] pci.c
	[CC] allocate.c
	[CC] vbe.c
	[CC] hfs.c
	[CC] hfs_compare.c
	[CC] xml.c
	[CC] md5c.c
	[CC] device_tree.c
	[CC] cpu.c
	[CC] platform.c
platform.c:181:32: error: use of undeclared identifier 'SMB_PRODUCT_NAME'
        gPlatform.ModelID                               = strdup(SMB_PRO...
                                                                 ^
1 error generated.
make[2]: *** [platform.o] Error 1
make[1]: *** [mountain-lion] Error 2
make: *** [mountain-lion] Error 2
localhost:RevoBoot-clang admin$ 

I tried to look at RevoBoot again. And still without a success.

That message tells that it should work for Mavericks as well.

http://pikeralpha.wordpress.com/2013/06/12/revoboot-is-ready-for-os-x-10-9-aka-mavericks/

Please, help me where I've mistaken?

settings-template.h.zip

Link to comment
Share on other sites

Last login: Sun Aug 18 12:23:32 on ttys000
localhost:~ admin$ cd /Users/admin/Downloads/RevoBoot-clang 
localhost:RevoBoot-clang admin$ make
	[MKDIR] i386/config/SETTINGS
	[CP] i386/config/settings-template.h i386/config/SETTINGS/default.h
======================================================
Running: make MODEL= mountain-lion
================= RevoBoot/i386/util =================
	[CC] machOconv.c
	[CC] machOconv
================= RevoBoot/i386/libsa =================
	[CC] prf.c
	[CC] printf.c
	[CC] zalloc.c
	[CC] string.c
	[CC] strtol.c
	[AS] setjmp.s
	[CC] crc32.c
	[LIBTOOL] libsa.a
================= RevoBoot/i386/libsaio =================
	[CC] table.c
	[AS] asm.s
	[AS] bios.s
	[CC] biosfn.c
	[CC] guid.c
	[CC] disk.c
	[CC] sys.c
	[CC] cache.c
	[CC] bootstruct.c
	[CC] base64.c
	[CC] stringTable.c
	[CC] load.c
	[CC] pci.c
	[CC] allocate.c
	[CC] vbe.c
	[CC] hfs.c
	[CC] hfs_compare.c
	[CC] xml.c
	[CC] md5c.c
	[CC] device_tree.c
	[CC] cpu.c
	[CC] platform.c
platform.c:181:32: error: use of undeclared identifier 'SMB_PRODUCT_NAME'
        gPlatform.ModelID                               = strdup(SMB_PRO...
                                                                 ^
1 error generated.
make[2]: *** [platform.o] Error 1
make[1]: *** [mountain-lion] Error 2
make: *** [mountain-lion] Error 2
localhost:RevoBoot-clang admin$ 

I tried to look at RevoBoot again. And still without a success.

That message tells that it should work for Mavericks as well.

http://pikeralpha.wordpress.com/2013/06/12/revoboot-is-ready-for-os-x-10-9-aka-mavericks/

Please, help me where I've mistaken?

Terminal: make clean

Terminal: make mountain-lion

 

use this way. 

    

   or

 

If you want model defined use in the second:

 

Terminal make MODEL="MacBookPro10,1"  <- (insert you model here then remove quotes) mountain-lion

 

you also have a space after "=" in yours that won't work. but follow my example.

  • Like 1
Link to comment
Share on other sites

Terminal: make clean

Terminal: make mountain-lion

 

use this way. 

    

   or

 

If you want model defined use in the second:

 

Terminal make MODEL="MacBookPro10,1"  <- (insert you model here then remove quotes) mountain-lion

 

you also have a space after "=" in yours that won't work. but follow my example.

Thank you for your answer. but I can't get a success in it. What do I do wrong?

Last login: Sun Aug 18 19:20:45 on ttys000
localhost:~ admin$ cd /Users/admin/Downloads/RevoBoot-clang 
localhost:RevoBoot-clang admin$ make clean
localhost:RevoBoot-clang admin$ make mountain-lion
======================================================
Running: make MODEL= mountain-lion
================= RevoBoot/i386/util =================
	[CC] machOconv.c
	[CC] machOconv
================= RevoBoot/i386/libsa =================
	[CC] prf.c
	[CC] printf.c
	[CC] zalloc.c
	[CC] string.c
	[CC] strtol.c
	[AS] setjmp.s
	[CC] crc32.c
	[LIBTOOL] libsa.a
================= RevoBoot/i386/libsaio =================
	[CC] table.c
	[AS] asm.s
	[AS] bios.s
	[CC] biosfn.c
	[CC] guid.c
	[CC] disk.c
	[CC] sys.c
	[CC] cache.c
	[CC] bootstruct.c
	[CC] base64.c
	[CC] stringTable.c
	[CC] load.c
	[CC] pci.c
	[CC] allocate.c
	[CC] vbe.c
	[CC] hfs.c
	[CC] hfs_compare.c
	[CC] xml.c
	[CC] md5c.c
	[CC] device_tree.c
	[CC] cpu.c
	[CC] platform.c
platform.c:181:32: error: use of undeclared identifier 'SMB_PRODUCT_NAME'
        gPlatform.ModelID                               = strdup(SMB_PRO...
                                                                 ^
1 error generated.
make[2]: *** [platform.o] Error 1
make[1]: *** [mountain-lion] Error 2
make: *** [mountain-lion] Error 2
localhost:RevoBoot-clang admin$ MODEL= "MacBookPro6,1"
-bash: MacBookPro6,1: command not found
localhost:RevoBoot-clang admin$ make MODEL= "MacBookPro6,1"
make: *** No rule to make target `MacBookPro6,1'.  Stop.
localhost:RevoBoot-clang admin$ make MODEL = "MacBookPro6,1"
make: *** empty variable name.  Stop.
localhost:RevoBoot-clang admin$ make MODEL= MacBookPro6,1
make: *** No rule to make target `MacBookPro6,1'.  Stop.
localhost:RevoBoot-clang admin$ 
Link to comment
Share on other sites

You changed This insettings-template.h->#define TARGET_MODEL "MACBOOKPRO_61" // Set to MACMINI by default. Supported models are:

 

No need to change from original if you follow my text. But if you want you must use "MacBook_Pro"

 

Then type:

 

make clean

 

make MODEL=MacBookPro61 mountain-lion

 

 

 

 

 

 

Edited to correct file name error

  • Like 1
Link to comment
Share on other sites

Thany for your help.

But I again have problems.

Last login: Mon Aug 19 21:00:31 on ttys000
alex:~ admin$ cd /Users/admin/Downloads/RevoBoot-clang 
alex:RevoBoot-clang admin$ make clean
alex:RevoBoot-clang admin$ make MODEL=MacBookPro6,1 mountain-lion
======================================================
Running: make MODEL=MacBookPro6,1 mountain-lion
================= RevoBoot/i386/util =================
	[CC] machOconv.c
	[CC] machOconv
================= RevoBoot/i386/libsa =================
	[CC] prf.c
	[CC] printf.c
In file included from printf.c:29:
In file included from ./libsa.h:39:
./../config/settings.h:13:17: error: too many arguments provided to
      function-like macro invocation
#include STRING(SETTINGS_FILE)
                ^
<command line>:1:44: note: expanded from here
#define SETTINGS_FILE SETTINGS/MacBookPro6,1.h
                                           ^
./../config/settings.h:11:38: note: expanded from macro 'STRING'
  ...TO_STRING_DO(a)
                  ^
./../config/settings.h:10:9: note: macro 'TO_STRING_DO' defined here
#define TO_STRING_DO(a)                                         #a
        ^
./../config/settings.h:13:10: error: expected "FILENAME" or <FILENAME>
#include STRING(SETTINGS_FILE)
         ^
./../config/settings.h:11:25: note: expanded from macro 'STRING'
#define STRING(a)                                                       TO_STRIN...
                                                                        ^
2 errors generated.
make[2]: *** [printf.o] Error 1
make[1]: *** [mountain-lion] Error 2
make: *** [mountain-lion] Error 2
alex:RevoBoot-clang admin$ 

My settibgs,h doesn't have #define TARGET_MODEL

/*
 * Copyright (c) 2009 Master Chief.
 *
 * Updates:
 *
 *  		- Read settings file based on given model identifier (PikerAlpha, October 2012).
 *			- COMMA_STRIPPED_MODEL_ID added (PikerAlpha, November 2012).
 */

#define TO_STRING_DO(a)						#a
#define STRING(a)							TO_STRING_DO(a)

#include STRING(SETTINGS_FILE)

/*
 * gPlatform.ModelID is a char * initialized by a call to strdup(SMB_PRODUCT_NAME) in
 * platform.c and we use strdup once more here so that gPlatform.ModelID is untouched.
 */
#define COMMA_STRIPPED_MODEL_ID	removeChar(strdup(gPlatform.ModelID), ',')

Would you be so kind as to look at my files? Here is only one file modified-> settings-template.h

RevoBoot-clang 2.zip

Link to comment
Share on other sites

Thany for your help.

But I again have problems.

Last login: Mon Aug 19 21:00:31 on ttys000
alex:~ admin$ cd /Users/admin/Downloads/RevoBoot-clang 
alex:RevoBoot-clang admin$ make clean
alex:RevoBoot-clang admin$ make MODEL=MacBookPro6,1 mountain-lion
======================================================
Running: make MODEL=MacBookPro6,1 mountain-lion
================= RevoBoot/i386/util =================
	[CC] machOconv.c
	[CC] machOconv
================= RevoBoot/i386/libsa =================
	[CC] prf.c
	[CC] printf.c
In file included from printf.c:29:
In file included from ./libsa.h:39:
./../config/settings.h:13:17: error: too many arguments provided to
      function-like macro invocation
#include STRING(SETTINGS_FILE)
                ^
<command line>:1:44: note: expanded from here
#define SETTINGS_FILE SETTINGS/MacBookPro6,1.h
                                           ^
./../config/settings.h:11:38: note: expanded from macro 'STRING'
  ...TO_STRING_DO(a)
                  ^
./../config/settings.h:10:9: note: macro 'TO_STRING_DO' defined here
#define TO_STRING_DO(a)                                         #a
        ^
./../config/settings.h:13:10: error: expected "FILENAME" or <FILENAME>
#include STRING(SETTINGS_FILE)
         ^
./../config/settings.h:11:25: note: expanded from macro 'STRING'
#define STRING(a)                                                       TO_STRIN...
                                                                        ^
2 errors generated.
make[2]: *** [printf.o] Error 1
make[1]: *** [mountain-lion] Error 2
make: *** [mountain-lion] Error 2
alex:RevoBoot-clang admin$ 

My settibgs,h doesn't have #define TARGET_MODEL

/*
 * Copyright (c) 2009 Master Chief.
 *
 * Updates:
 *
 *  		- Read settings file based on given model identifier (PikerAlpha, October 2012).
 *			- COMMA_STRIPPED_MODEL_ID added (PikerAlpha, November 2012).
 */

#define TO_STRING_DO(a)						#a
#define STRING(a)							TO_STRING_DO(a)

#include STRING(SETTINGS_FILE)

/*
 * gPlatform.ModelID is a char * initialized by a call to strdup(SMB_PRODUCT_NAME) in
 * platform.c and we use strdup once more here so that gPlatform.ModelID is untouched.
 */
#define COMMA_STRIPPED_MODEL_ID	removeChar(strdup(gPlatform.ModelID), ',')

Would you be so kind as to look at my files? Here is only one file modified-> settings-template.h

I made an error in the file name in my pervious post. Should be Settings-Template.h not Setting.h I corrected it. There were some small errors in you Settings-template.h file. I fixed them and built a MacBookPro61 boot file.

 

I see one other error No "," between 6,1. My error again!!

 

Use the file I attached and:

 

make clean

 

make MODEL=MacBookPro61 mountain-lion

RevoBoot-clang_2.zip

  • Like 1
Link to comment
Share on other sites

Thank you it helped.

After that I looked at this manual http://www.macbreaker.com/2013/07/chameleon-boot-usb-drive-on-windows.html

Made bootsectors, put into root boot and /Extra/ACPI/dsdt.aml

After I booted off USB Stick and saw

boot0: done
bif: init_

and apple without rotational comomile.

Also I tried to add -v flag to the /Library/Preferences/SystemConfiguration/com.apple.Boot.plist.

But I again, see apple without rotational comomile.

What should I do next?

Link to comment
Share on other sites

MMMM..... I thing you may be over complicating things. Install latest Chameleon to USB I think Rev. 2255. Simply replace Boot file at root of USB with Boot from RevoBoot under SYM.

 

My com.apple.boot.plist has Kernel=mach_kernel, npci=0x2000, and EthenetBuiltin=Yes -v 

 

If you need to boot with out Kernel_cache you need to change settings in /revoboot-clang/i386/config/settings/MacBookPro61<- remember all setting are changed from here now that you specified build MODEL. 

Link to comment
Share on other sites

MMMM..... I thing you may be over complicating things. Install latest Chameleon to USB I think Rev. 2255. Simply replace Boot file at root of USB with Boot from RevoBoot under SYM.

 

My com.apple.boot.plist has Kernel=mach_kernel, npci=0x2000, and EthenetBuiltin=Yes -v 

 

If you need to boot with out Kernel_cache you need to change settings in /revoboot-clang/i386/config/settings/MacBookPro61<- remember all setting are changed from here now that you specified build MODEL. 

The same story I'm stuck on white Apple again. After I return boot from the last Chameleon to be sure that boot-sectors are correct, and launched the system successfully.

I followed for all of your advices.

Any suggestions else?

Link to comment
Share on other sites

Do you have it set to use Kernel Cache? Change to 0 rebuild reboot

#define PRE_LINKED_KERNEL_SUPPORT			1	// Set to 1 by default. Change this to 0 to disable the use of pre-linked kernels.  <- Change to 0

#define MUST_ENABLE_A20						0	// Set to 0 by default. Change this to 1 when your hardware requires it.

#define SAFE_MALLOC							0	// Set to 0 by default. Change this to 1 when booting halts with a memory allocation error.

#define LION_RECOVERY_SUPPORT				0	// Set to 0 by default. Change this to 1 to make RevoBoot search for the 'Recovery HD'
												// partition and, when available, boot from it.

#define STARTUP_DISK_SUPPORT				0	// Set to 0 by default. Change this to 1 for System Preference/Startup Disk support.

#if STARTUP_DISK_SUPPORT
	#define USE_DEVICE_PATH					0	// Set to 0 by default. Change this to 1 when the Startup Disk feature fails to work.
												//
												// Note:	This experimental switch will be removed in a next update/release. It is here
												//			only to give us feedback for a future release of RevoBoot.
#endif

#define DEBUG_BOOT							0	// Set to 0 by default. Change this to 1 when things don't seem to work for you.
Link to comment
Share on other sites

#define PRE_LINKED_KERNEL_SUPPORT			0	// Set to 1 by default. Change this to 0 to disable the use of pre-linked kernels.

#define MUST_ENABLE_A20						0	// Set to 0 by default. Change this to 1 when your hardware requires it.

#define SAFE_MALLOC							0	// Set to 0 by default. Change this to 1 when booting halts with a memory allocation error.

#define LION_RECOVERY_SUPPORT				0	// Set to 0 by default. Change this to 1 to make RevoBoot search for the 'Recovery HD'
												// partition and, when available, boot from it.

#define STARTUP_DISK_SUPPORT				0	// Set to 0 by default. Change this to 1 for System Preference/Startup Disk support.

#if STARTUP_DISK_SUPPORT
	#define USE_DEVICE_PATH					0	// Set to 0 by default. Change this to 1 when the Startup Disk feature fails to work.
												//
												// Note:	This experimental switch will be removed in a next update/release. It is here
												//			only to give us feedback for a future release of RevoBoot.
#endif

#define DEBUG_BOOT							1	// Set to 0 by default. Change this to 1 when things don't seem to work for you.

Unfortunately without success. Nothing changed.

Changed these keys.

PRE_LINKED_KERNEL_SUPPORT            0

DEBUG_BOOT                            1

Link to comment
Share on other sites

 Share

×
×
  • Create New...