CBROM

From Bios Mods -The Best BIOS Update and Modification Source Wik
Jump to: navigation, search

Here is a brief CBROM parameters cheatsheet. You cannot get some of them using cbrom /?. Some of the lines are taken from cbrom /? output, some from other sources, like Practical BIOS Editing by Polygon. Dash "-" means range of digits (you need only one), | means OR (choose one of the sides).

CBROM.EXE V1.98 [08/27/08] (C)Phoenix Technologies 2001-2008
Syntax:
	CBROM.EXE InputFile [/other] [8000:0] [RomFile|Release|Extract]
	CBROM.EXE InputFile [/D|logo|vga....] [RomFile|Release|Extract][checksum]

	checksum	: Add checksum for Hole0~7 module at end of the hole.
	Extract		: Extract option ROM to File in current system BIOS
	InputFile	: System BIOS to be added with Option ROMs
	noreserve	: No reserve system color for BMP logo
	Release		: Release option ROM in current system BIOS
	RomFile		: File name of option ROM to add-in
	/D		: For display all combined ROMs informations in BIOS

	/acpi
	/ACPIModule	: Add ACPI module, such as SSDT module.
	/acpitbl

	/1-4PE32	: Add type 1-4 (one of them) PE32 module in mainblock
	/1-4PE32B	: Add type 1-4 (one of them) PE32 module in bootblock

	/cpucode
	/nc_cpucode	: Add non-compress CPU code
	
	/pci
	
	/awdflash
	/biosf0-9	: Add BIOS feature ROM
	/BTMEM		: Add memsizing module in bootblock
	/btvga		: Add VGA ROM to Boot Rom Block Area.
	/CALS		: Calculate ROM Compress size but not add ROM in BIN file
	
	/efi0-9		: Add EFI feature ROM
	/err		: Return error code after executed
	/ExtF
	/flshcode	: Add flash part code
	/fnt0-5
	
	/group|group0-5
	/GV3		: Add GV3 ROM
	/HOLE0-7	: Add option ROM in hole
	/hpc
	/hpm
	
	/isa		: Add ISA BIOS ROM to System BIOS.(/isa Filename [xxxx:0])
	
	/madrv		: Add TPM MA driver
	/mpdrv		: Add TPM MP driver
	
	/mib

	/ncr	NCR/SYMBIOS SCSI ROM
	/aha	Adaptec AHA78xx SCSI ROM

	/nnoprom
	/NoCompress
	
	/htinit		: Add AMD HT init module
	/minit		: Add Intel memory module
	/NVMM		: Add nVIDIA memory module

	/NVPMU		: Add PMU ROM
	/oem0-7		: Add special OEM ROM to System BIOS

	/epa|epa1-7	: Add EPA LOGO BitMap to System BIOS
	/osb_bmp|osb_bmp1-7: Add OSB CPU BitMap to System BIOS
	/osb_bmp_gui|osb_bmp1-7_gui: Add GUI OSB CPU BitMap to System BIOS

	/osb_logo|osb_logo1-7: Add OSB LOGO BitMap to System BIOS
	/osb_logo_gui|osb_logo1-7_gui: Add GUI OSB LOGO BitMap to System BIOS
	
	/gif0-3		: Add GIF LOGO to System BIOS
	/jpeg_eng	: Add JPEG engine to System BIOS
	/jpeg|jpeg1-3: Add JPEG LOGO to System BIOS
	/logo|logo1-7: Add OEM LOGO BitMap to System BIOS

	/other
	
	/ros
	/rpb		: Add RPB ROM to System BIOS
	/setup0-1	: Add setup ROM
	/SLPKey		: Add SLP 2.0 Public Key
	/SLPMarker	: Add SLP 2.0 Marker
	/SMI32		: Add 32-bit SMI module.
	/SMIAP		: Add application SMI module.
	/srom0-4	: Add software ROM
	/tcgsmi		: Add TCG 32 bit smi code
	/tseg0-3	: Add TSEG0~3.bin to ROM
	/ver		: Add version table of source code to System BIOS
	/vga
	/vrs
	/vsa
	/xgroup
	/ygroup
	 
	/TopHole:address	: Add a module at fixed address.
		Example: cbrom /TopHole:FFFD0000 xxx.bin 
	 
	/BOI UseDHCP Server_IP Static_IP Net_Mask Gate_Way DNS UseProxy Proxy_IP ProxyPort:  Setting Boot On Internet parameters.
	/BOI				:	Show the Boot On Internet parameters.
		Example 1 for setting the BOI parameters:
		cbrom /boi 1 134.122.168.184 134.122.106.113 255.255.255.0 
			134.122.106.5 134.122.101.90 0 134.122.106.105 32896
		Example 2 for setting the BOI parameters:
		cbrom /boi 1, 134.122.168.184, , , , 134.122.101.90 0, ,32896
		Example 3 for show the BOI parameters:
		cbrom /boi
	
	
	<<< Examples >>>
	CBROM.EXE 6a69s000.bin /D
	CBROM.EXE 6a69s000.bin /VGA filename
	CBROM.EXE 6a69s000.bin /VGA filename /ERR