Apply linuxbios-rename-compressed-payload-options.patch, refs #14

Signed-off-by: Ed Swierk <eswierk@arastra.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2527 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Ed Swierk 2006-12-15 11:42:16 +00:00 committed by Stefan Reinauer
parent 208948787e
commit 1a7a5b49c5
70 changed files with 103 additions and 108 deletions

View File

@ -1,5 +1,5 @@
uses CONFIG_SMP uses CONFIG_SMP
uses CONFIG_PRECOMPRESSED_ROM_STREAM uses CONFIG_PRECOMPRESSED_PAYLOAD
uses CONFIG_USE_INIT uses CONFIG_USE_INIT
uses HAVE_FAILOVER_BOOT uses HAVE_FAILOVER_BOOT
uses USE_FAILOVER_IMAGE uses USE_FAILOVER_IMAGE
@ -61,11 +61,11 @@ end
makedefine PAYLOAD-1:=payload makedefine PAYLOAD-1:=payload
# match the case where a compression type is specified. # match the case where a compression type is specified.
makedefine PAYLOAD-$(CONFIG_COMPRESSED_ROM_STREAM_NRV2B):=payload.nrv2b makedefine PAYLOAD-$(CONFIG_COMPRESSED_PAYLOAD_NRV2B):=payload.nrv2b
makedefine PAYLOAD-$(CONFIG_COMPRESSED_ROM_STREAM_LZMA):=payload.lzma makedefine PAYLOAD-$(CONFIG_COMPRESSED_PAYLOAD_LZMA):=payload.lzma
# catch the case where there is precompression. Yes, this bites. # catch the case where there is precompression. Yes, this bites.
if CONFIG_PRECOMPRESSED_ROM_STREAM if CONFIG_PRECOMPRESSED_PAYLOAD
makedefine PAYLOAD-1:=payload makedefine PAYLOAD-1:=payload
end end

View File

@ -609,22 +609,17 @@ define CONFIG_ROM_STREAM_START
export always export always
comment "ROM stream start location" comment "ROM stream start location"
end end
define CONFIG_COMPRESSED_ROM_STREAM define CONFIG_COMPRESSED_PAYLOAD_NRV2B
default 0
export always
comment "compressed boot image is located in ROM and is assumed to be NRV2B (deprecated)"
end
define CONFIG_COMPRESSED_ROM_STREAM_NRV2B
default 0 default 0
export always export always
comment "NRV2B compressed boot image is located in ROM" comment "NRV2B compressed boot image is located in ROM"
end end
define CONFIG_COMPRESSED_ROM_STREAM_LZMA define CONFIG_COMPRESSED_PAYLOAD_LZMA
default 0 default 0
export always export always
comment "LZMA compressed boot image is located in ROM" comment "LZMA compressed boot image is located in ROM"
end end
define CONFIG_PRECOMPRESSED_ROM_STREAM define CONFIG_PRECOMPRESSED_PAYLOAD
default 0 default 0
export always export always
comment "boot image is already compressed" comment "boot image is already compressed"

View File

@ -20,7 +20,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -21,7 +21,7 @@ uses ROM_IMAGE_SIZE
uses ROM_SECTION_SIZE uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses _RAMBASE uses _RAMBASE

View File

@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -23,7 +23,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -23,7 +23,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -18,7 +18,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -21,7 +21,7 @@ uses ROM_IMAGE_SIZE
uses ROM_SECTION_SIZE uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses _RAMBASE uses _RAMBASE

View File

@ -21,7 +21,7 @@ uses ROM_IMAGE_SIZE
uses ROM_SECTION_SIZE uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses _RAMBASE uses _RAMBASE

View File

@ -21,7 +21,7 @@ uses ROM_IMAGE_SIZE
uses ROM_SECTION_SIZE uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses _RAMBASE uses _RAMBASE

View File

@ -19,7 +19,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -21,7 +21,7 @@ uses ROM_IMAGE_SIZE
uses ROM_SECTION_SIZE uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses _RAMBASE uses _RAMBASE

View File

@ -22,7 +22,7 @@ uses ROM_IMAGE_SIZE
uses ROM_SECTION_SIZE uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses _RAMBASE uses _RAMBASE

View File

@ -23,7 +23,7 @@ uses ROM_IMAGE_SIZE
uses ROM_SECTION_SIZE uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses _RAMBASE uses _RAMBASE

View File

@ -21,7 +21,7 @@ uses ROM_IMAGE_SIZE
uses ROM_SECTION_SIZE uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses _RAMBASE uses _RAMBASE

View File

@ -21,7 +21,7 @@ uses ROM_IMAGE_SIZE
uses ROM_SECTION_SIZE uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses _RAMBASE uses _RAMBASE

View File

@ -24,7 +24,7 @@ uses CONFIG_FS_STREAM
uses CONFIG_FS_EXT2 uses CONFIG_FS_EXT2
uses CONFIG_FS_ISO9660 uses CONFIG_FS_ISO9660
uses CONFIG_FS_FAT uses CONFIG_FS_FAT
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses AUTOBOOT_CMDLINE uses AUTOBOOT_CMDLINE
uses CONFIG_SYS_CLK_FREQ uses CONFIG_SYS_CLK_FREQ
uses IDE_BOOT_DRIVE uses IDE_BOOT_DRIVE

View File

@ -6,9 +6,9 @@ uses HAVE_HARD_RESET
uses HAVE_OPTION_TABLE uses HAVE_OPTION_TABLE
uses USE_OPTION_TABLE uses USE_OPTION_TABLE
uses CONFIG_COMPRESS uses CONFIG_COMPRESS
uses CONFIG_COMPRESSED_ROM_STREAM_NRV2B uses CONFIG_COMPRESSED_PAYLOAD_NRV2B
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses CONFIG_PRECOMPRESSED_ROM_STREAM uses CONFIG_PRECOMPRESSED_PAYLOAD
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses IRQ_SLOT_COUNT uses IRQ_SLOT_COUNT
uses MAINBOARD uses MAINBOARD

View File

@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -41,9 +41,9 @@ uses CONFIG_UDELAY_TSC
uses CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 uses CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
uses CONFIG_CONSOLE_VGA uses CONFIG_CONSOLE_VGA
uses CONFIG_PCI_ROM_RUN uses CONFIG_PCI_ROM_RUN
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses CONFIG_COMPRESSED_ROM_STREAM_NRV2B uses CONFIG_COMPRESSED_PAYLOAD_NRV2B
uses CONFIG_PRECOMPRESSED_ROM_STREAM uses CONFIG_PRECOMPRESSED_PAYLOAD
## ROM_SIZE is the size of boot ROM that this board will use. ## ROM_SIZE is the size of boot ROM that this board will use.
default ROM_SIZE = 256*1024 default ROM_SIZE = 256*1024

View File

@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -10,7 +10,7 @@ uses CONFIG_MAX_PHYSICAL_CPUS
uses CONFIG_IOAPIC uses CONFIG_IOAPIC
uses CONFIG_SMP uses CONFIG_SMP
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses STACK_SIZE uses STACK_SIZE
uses HEAP_SIZE uses HEAP_SIZE
uses USE_OPTION_TABLE uses USE_OPTION_TABLE

View File

@ -23,7 +23,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -21,7 +21,7 @@ uses ROM_IMAGE_SIZE
uses ROM_SECTION_SIZE uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses _RAMBASE uses _RAMBASE

View File

@ -21,7 +21,7 @@ uses CONFIG_FS_STREAM
uses CONFIG_FS_EXT2 uses CONFIG_FS_EXT2
uses CONFIG_FS_ISO9660 uses CONFIG_FS_ISO9660
uses CONFIG_FS_FAT uses CONFIG_FS_FAT
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses AUTOBOOT_CMDLINE uses AUTOBOOT_CMDLINE
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses ROM_SIZE uses ROM_SIZE

View File

@ -44,7 +44,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -21,9 +21,9 @@ uses ROM_IMAGE_SIZE
uses ROM_SECTION_SIZE uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_NRV2B uses CONFIG_COMPRESSED_PAYLOAD_NRV2B
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses CONFIG_PRECOMPRESSED_ROM_STREAM uses CONFIG_PRECOMPRESSED_PAYLOAD
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses _RAMBASE uses _RAMBASE

View File

@ -21,9 +21,9 @@ uses ROM_IMAGE_SIZE
uses ROM_SECTION_SIZE uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_NRV2B uses CONFIG_COMPRESSED_PAYLOAD_NRV2B
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses CONFIG_PRECOMPRESSED_ROM_STREAM uses CONFIG_PRECOMPRESSED_PAYLOAD
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses _RAMBASE uses _RAMBASE

View File

@ -18,7 +18,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -23,7 +23,7 @@ uses ROM_IMAGE_SIZE
uses ROM_SECTION_SIZE uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses _RAMBASE uses _RAMBASE

View File

@ -19,7 +19,7 @@ uses CONFIG_USE_INIT
uses NO_POST uses NO_POST
uses CONFIG_CONSOLE_SERIAL8250 uses CONFIG_CONSOLE_SERIAL8250
uses CONFIG_IDE_STREAM uses CONFIG_IDE_STREAM
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses IDE_BOOT_DRIVE uses IDE_BOOT_DRIVE
uses IDE_SWAB IDE_OFFSET uses IDE_SWAB IDE_OFFSET
uses ROM_SIZE uses ROM_SIZE

View File

@ -19,7 +19,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -18,7 +18,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -18,7 +18,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -18,7 +18,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -18,7 +18,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -18,7 +18,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -18,7 +18,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -18,7 +18,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -18,7 +18,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -21,7 +21,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -18,7 +18,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -18,7 +18,7 @@ uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM uses CONFIG_ROM_STREAM
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses XIP_ROM_SIZE uses XIP_ROM_SIZE

View File

@ -21,7 +21,7 @@ uses ROM_IMAGE_SIZE
uses ROM_SECTION_SIZE uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_NRV2B
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses _RAMBASE uses _RAMBASE

View File

@ -29,7 +29,7 @@ uses ROM_IMAGE_SIZE
uses ROM_SECTION_SIZE uses ROM_SECTION_SIZE
uses ROM_SECTION_OFFSET uses ROM_SECTION_OFFSET
uses CONFIG_ROM_STREAM_START uses CONFIG_ROM_STREAM_START
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses PAYLOAD_SIZE uses PAYLOAD_SIZE
uses _ROMBASE uses _ROMBASE
uses _RAMBASE uses _RAMBASE

View File

@ -5,23 +5,23 @@
#include <string.h> #include <string.h>
/* if they set the precompressed rom stream, they better have set a type */ /* if they set the precompressed rom stream, they better have set a type */
#if CONFIG_PRECOMPRESSED_ROM_STREAM && ((!CONFIG_COMPRESSED_ROM_STREAM) && (!CONFIG_COMPRESSED_ROM_STREAM_NRV2B) && (!CONFIG_COMPRESSED_ROM_STREAM_LZMA)) #if CONFIG_PRECOMPRESSED_PAYLOAD && ((!CONFIG_COMPRESSED_PAYLOAD_NRV2B) && (!CONFIG_COMPRESSED_PAYLOAD_LZMA))
#error "You set CONFIG_PRECOMPRESSED_ROM_STREAM but need to set CONFIG_COMPRESSED_ROM_STREAM (implies NRV2B, deprecated) or CONFIG_COMPRESSED_ROM_STREAM_NRV2B or CONFIG_COMPRESSED_ROM_STREAM_LZMA" #error "You set CONFIG_PRECOMPRESSED_PAYLOAD but need to set CONFIG_COMPRESSED_PAYLOAD_NRV2B or CONFIG_COMPRESSED_PAYLOAD_LZMA"
#endif #endif
/* If they set ANY of these, then we're compressed */ /* If they set ANY of these, then we're compressed */
#if ((CONFIG_COMPRESSED_ROM_STREAM) || (CONFIG_COMPRESSED_ROM_STREAM_NRV2B) || (CONFIG_COMPRESSED_ROM_STREAM_LZMA)) #if ((CONFIG_COMPRESSED_PAYLOAD_NRV2B) || (CONFIG_COMPRESSED_PAYLOAD_LZMA))
#define UNCOMPRESSER 1 #define UNCOMPRESSER 1
extern unsigned char _heap, _eheap; extern unsigned char _heap, _eheap;
#endif #endif
#if (CONFIG_COMPRESSED_ROM_STREAM) || (CONFIG_COMPRESSED_ROM_STREAM_NRV2B) #if (CONFIG_COMPRESSED_PAYLOAD_NRV2B)
#define HAVE_UNCOMPRESSER 1 #define HAVE_UNCOMPRESSER 1
// include generic nrv2b // include generic nrv2b
#include "../lib/nrv2b.c" #include "../lib/nrv2b.c"
#endif #endif
#if (CONFIG_COMPRESSED_ROM_STREAM_LZMA) #if (CONFIG_COMPRESSED_PAYLOAD_LZMA)
#if HAVE_UNCOMPRESSER #if HAVE_UNCOMPRESSER
#error "You're defining more than one compression type, which is not allowed (of course)" #error "You're defining more than one compression type, which is not allowed (of course)"
#endif #endif
@ -53,11 +53,11 @@ static const unsigned char *rom;
unsigned long unsigned long
uncompress(uint8_t * rom_start, uint8_t *dest ) uncompress(uint8_t * rom_start, uint8_t *dest )
{ {
#if (CONFIG_COMPRESSED_ROM_STREAM) || (CONFIG_COMPRESSED_ROM_STREAM_NRV2B) #if (CONFIG_COMPRESSED_PAYLOAD_NRV2B)
unsigned long ilen; // used compressed stream length unsigned long ilen; // used compressed stream length
return unrv2b(rom_start, dest, &ilen); return unrv2b(rom_start, dest, &ilen);
#endif #endif
#if (CONFIG_COMPRESSED_ROM_STREAM_LZMA) #if (CONFIG_COMPRESSED_PAYLOAD_LZMA)
return ulzma(rom_start, dest); return ulzma(rom_start, dest);
#endif #endif
} }

View File

@ -5,16 +5,16 @@
#include <string.h> #include <string.h>
/* if they set the precompressed rom stream, they better have set a type */ /* if they set the precompressed rom stream, they better have set a type */
#if CONFIG_PRECOMPRESSED_ROM_STREAM && ((!CONFIG_COMPRESSED_ROM_STREAM) && (!CONFIG_COMPRESSED_ROM_STREAM_NRV2B) && (!CONFIG_COMPRESSED_ROM_STREAM_LZMA)) #if CONFIG_PRECOMPRESSED_PAYLOAD && ((!CONFIG_COMPRESSED_PAYLOAD_NRV2B) && (!CONFIG_COMPRESSED_PAYLOAD_LZMA))
#error "You set CONFIG_PRECOMPRESSED_ROM_STREAM but need to set CONFIG_COMPRESSED_ROM_STREAM (implies NRV2B, deprecated) or CONFIG_COMPRESSED_ROM_STREAM_NRV2B or CONFIG_COMPRESSED_ROM_STREAM_LZMA" #error "You set CONFIG_PRECOMPRESSED_PAYLOAD but need to set CONFIG_COMPRESSED_PAYLOAD_NRV2B or CONFIG_COMPRESSED_PAYLOAD_LZMA"
#endif #endif
#if (CONFIG_COMPRESSED_ROM_STREAM) || (CONFIG_COMPRESSED_ROM_STREAM_NRV2B) #if (CONFIG_COMPRESSED_PAYLOAD_NRV2B)
#define HAVE_UNCOMPRESSER 1 #define HAVE_UNCOMPRESSER 1
#include "../lib/nrv2b.c" #include "../lib/nrv2b.c"
#endif #endif
#if (CONFIG_COMPRESSED_ROM_STREAM_LZMA) #if (CONFIG_COMPRESSED_PAYLOAD_LZMA)
#if HAVE_UNCOMPRESSER #if HAVE_UNCOMPRESSER
#error "You're defining more than one compression type, which is not allowed (of course)" #error "You're defining more than one compression type, which is not allowed (of course)"
#endif #endif
@ -33,11 +33,11 @@ static int stream_max_bytes = 0x00800000;
#if HAVE_UNCOMPRESSER #if HAVE_UNCOMPRESSER
static unsigned long uncompress(uint8_t *src, uint8_t *dest) static unsigned long uncompress(uint8_t *src, uint8_t *dest)
{ {
#if (CONFIG_COMPRESSED_ROM_STREAM) || (CONFIG_COMPRESSED_ROM_STREAM_NRV2B) #if (CONFIG_COMPRESSED_PAYLOAD_NRV2B)
unsigned long ilen; unsigned long ilen;
return unrv2b(src, dest, &ilen); return unrv2b(src, dest, &ilen);
#endif #endif
#if (CONFIG_COMPRESSED_ROM_STREAM_LZMA) #if (CONFIG_COMPRESSED_PAYLOAD_LZMA)
return ulzma(src, dest); return ulzma(src, dest);
#endif #endif
} }

View File

@ -3,7 +3,7 @@
target dbe61 target dbe61
mainboard artecgroup/dbe61 mainboard artecgroup/dbe61
option CONFIG_COMPRESSED_ROM_STREAM_NRV2B=0 option CONFIG_COMPRESSED_PAYLOAD_NRV2B=0
## ROM_SIZE is the total number of bytes allocated for LinuxBIOS use ## ROM_SIZE is the total number of bytes allocated for LinuxBIOS use
## (normal AND fallback images and payloads). ## (normal AND fallback images and payloads).

View File

@ -3,7 +3,7 @@
target msm800sev target msm800sev
mainboard digitallogic/msm800sev mainboard digitallogic/msm800sev
option CONFIG_COMPRESSED_ROM_STREAM_NRV2B=0 option CONFIG_COMPRESSED_PAYLOAD_NRV2B=0
## ROM_SIZE is the total number of bytes allocated for LinuxBIOS use ## ROM_SIZE is the total number of bytes allocated for LinuxBIOS use
## (normal AND fallback images and payloads). ## (normal AND fallback images and payloads).

View File

@ -4,8 +4,8 @@ target qemu-i386-OLPC
mainboard emulation/qemu-i386 mainboard emulation/qemu-i386
option ROM_SIZE=1024*1024 - (128 * 1024) option ROM_SIZE=1024*1024 - (128 * 1024)
option CONFIG_COMPRESSED_ROM_STREAM_LZMA=1 option CONFIG_COMPRESSED_PAYLOAD_LZMA=1
option CONFIG_PRECOMPRESSED_ROM_STREAM=0 option CONFIG_PRECOMPRESSED_PAYLOAD=0
option CC="gcc -m32" option CC="gcc -m32"

View File

@ -7,9 +7,9 @@ mainboard iei/nova4899r
#option ROM_SIZE=256*1024 #option ROM_SIZE=256*1024
#from OLPC definitions #from OLPC definitions
option CONFIG_COMPRESSED_ROM_STREAM_NRV2B=1 option CONFIG_COMPRESSED_PAYLOAD_NRV2B=1
#option CONFIG_COMPRESSED_ROM_STREAM_LZMA=1 #option CONFIG_COMPRESSED_PAYLOAD_LZMA=1
#option CONFIG_PRECOMPRESSED_ROM_STREAM=0 #option CONFIG_PRECOMPRESSED_PAYLOAD=0
# leave 128k for vsa and 32k for VGA code # leave 128k for vsa and 32k for VGA code
option ROM_SIZE=(256*1024)-(128*1024)-(32*1024) option ROM_SIZE=(256*1024)-(128*1024)-(32*1024)
option FALLBACK_SIZE=ROM_SIZE option FALLBACK_SIZE=ROM_SIZE

View File

@ -7,7 +7,7 @@ option CC="gcc -m32"
option CROSS_COMPILE="" option CROSS_COMPILE=""
option HOSTCC="gcc" option HOSTCC="gcc"
option CONFIG_COMPRESSED_ROM_STREAM_LZMA=1 option CONFIG_COMPRESSED_PAYLOAD_LZMA=1
romimage "normal" romimage "normal"
option USE_FALLBACK_IMAGE=0 option USE_FALLBACK_IMAGE=0

View File

@ -4,9 +4,9 @@ target btest
mainboard olpc/btest mainboard olpc/btest
# Don't let LinuxBIOS compress the payload # Don't let LinuxBIOS compress the payload
#option CONFIG_COMPRESSED_ROM_STREAM_NRV2B=0 #option CONFIG_COMPRESSED_PAYLOAD_NRV2B=0
#option CONFIG_COMPRESSED_ROM_STREAM_LZMA=1 #option CONFIG_COMPRESSED_PAYLOAD_LZMA=1
#option CONFIG_PRECOMPRESSED_ROM_STREAM=0 #option CONFIG_PRECOMPRESSED_PAYLOAD=0
# leave 64k for vsa and 64k for EC code # leave 64k for vsa and 64k for EC code
option ROM_SIZE=(1024*1024)-(64*1024)-(64*1024) option ROM_SIZE=(1024*1024)-(64*1024)-(64*1024)

View File

@ -4,8 +4,8 @@ target rev_a_1M
mainboard olpc/rev_a mainboard olpc/rev_a
# Don't let LinuxBIOS compress the payload # Don't let LinuxBIOS compress the payload
# option CONFIG_COMPRESSED_ROM_STREAM_NRV2B=0 # option CONFIG_COMPRESSED_PAYLOAD_NRV2B=0
#option CONFIG_PRECOMPRESSED_ROM_STREAM=1 #option CONFIG_PRECOMPRESSED_PAYLOAD=1
# leave 64k for vsa # leave 64k for vsa
option ROM_SIZE=(1024*1024)-(64*1024) option ROM_SIZE=(1024*1024)-(64*1024)

View File

@ -4,9 +4,9 @@ target rev_a_1M
mainboard olpc/rev_a mainboard olpc/rev_a
# Don't let LinuxBIOS compress the payload # Don't let LinuxBIOS compress the payload
#option CONFIG_COMPRESSED_ROM_STREAM_NRV2B=0 #option CONFIG_COMPRESSED_PAYLOAD_NRV2B=0
#option CONFIG_COMPRESSED_ROM_STREAM_LZMA=1 #option CONFIG_COMPRESSED_PAYLOAD_LZMA=1
#option CONFIG_PRECOMPRESSED_ROM_STREAM=0 #option CONFIG_PRECOMPRESSED_PAYLOAD=0
# leave 64k for vsa and 64k for EC code # leave 64k for vsa and 64k for EC code
option ROM_SIZE=(1024*1024)-(64*1024)-(64*1024) option ROM_SIZE=(1024*1024)-(64*1024)-(64*1024)

View File

@ -4,7 +4,7 @@ target rev_a
mainboard olpc/rev_a mainboard olpc/rev_a
# leave 64k for vsa # leave 64k for vsa
option CONFIG_COMPRESSED_ROM_STREAM_NRV2B=0 option CONFIG_COMPRESSED_PAYLOAD_NRV2B=0
option ROM_SIZE=512*1024-64*1024 option ROM_SIZE=512*1024-64*1024
option FALLBACK_SIZE=ROM_SIZE option FALLBACK_SIZE=ROM_SIZE

View File

@ -13,8 +13,8 @@ option ROM_SIZE=256*1024
option HAVE_OPTION_TABLE=1 option HAVE_OPTION_TABLE=1
option CONFIG_ROM_STREAM=1 option CONFIG_ROM_STREAM=1
option HAVE_FALLBACK_BOOT=1 option HAVE_FALLBACK_BOOT=1
#option CONFIG_COMPRESSED_ROM_STREAM=1 #option CONFIG_COMPRESSED_PAYLOAD_NRV2B=1
option CONFIG_COMPRESSED_ROM_STREAM=0 option CONFIG_COMPRESSED_PAYLOAD_NRV2B=0
### ###