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:
parent
208948787e
commit
1a7a5b49c5
|
@ -1,5 +1,5 @@
|
|||
uses CONFIG_SMP
|
||||
uses CONFIG_PRECOMPRESSED_ROM_STREAM
|
||||
uses CONFIG_PRECOMPRESSED_PAYLOAD
|
||||
uses CONFIG_USE_INIT
|
||||
uses HAVE_FAILOVER_BOOT
|
||||
uses USE_FAILOVER_IMAGE
|
||||
|
@ -61,11 +61,11 @@ end
|
|||
makedefine PAYLOAD-1:=payload
|
||||
|
||||
# match the case where a compression type is specified.
|
||||
makedefine PAYLOAD-$(CONFIG_COMPRESSED_ROM_STREAM_NRV2B):=payload.nrv2b
|
||||
makedefine PAYLOAD-$(CONFIG_COMPRESSED_ROM_STREAM_LZMA):=payload.lzma
|
||||
makedefine PAYLOAD-$(CONFIG_COMPRESSED_PAYLOAD_NRV2B):=payload.nrv2b
|
||||
makedefine PAYLOAD-$(CONFIG_COMPRESSED_PAYLOAD_LZMA):=payload.lzma
|
||||
|
||||
# catch the case where there is precompression. Yes, this bites.
|
||||
if CONFIG_PRECOMPRESSED_ROM_STREAM
|
||||
if CONFIG_PRECOMPRESSED_PAYLOAD
|
||||
makedefine PAYLOAD-1:=payload
|
||||
end
|
||||
|
||||
|
|
|
@ -609,22 +609,17 @@ define CONFIG_ROM_STREAM_START
|
|||
export always
|
||||
comment "ROM stream start location"
|
||||
end
|
||||
define CONFIG_COMPRESSED_ROM_STREAM
|
||||
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
|
||||
define CONFIG_COMPRESSED_PAYLOAD_NRV2B
|
||||
default 0
|
||||
export always
|
||||
comment "NRV2B compressed boot image is located in ROM"
|
||||
end
|
||||
define CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
define CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
default 0
|
||||
export always
|
||||
comment "LZMA compressed boot image is located in ROM"
|
||||
end
|
||||
define CONFIG_PRECOMPRESSED_ROM_STREAM
|
||||
define CONFIG_PRECOMPRESSED_PAYLOAD
|
||||
default 0
|
||||
export always
|
||||
comment "boot image is already compressed"
|
||||
|
|
|
@ -20,7 +20,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -21,7 +21,7 @@ uses ROM_IMAGE_SIZE
|
|||
uses ROM_SECTION_SIZE
|
||||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses _RAMBASE
|
||||
|
|
|
@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -23,7 +23,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -23,7 +23,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -18,7 +18,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -21,7 +21,7 @@ uses ROM_IMAGE_SIZE
|
|||
uses ROM_SECTION_SIZE
|
||||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses _RAMBASE
|
||||
|
|
|
@ -21,7 +21,7 @@ uses ROM_IMAGE_SIZE
|
|||
uses ROM_SECTION_SIZE
|
||||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses _RAMBASE
|
||||
|
|
|
@ -21,7 +21,7 @@ uses ROM_IMAGE_SIZE
|
|||
uses ROM_SECTION_SIZE
|
||||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses _RAMBASE
|
||||
|
|
|
@ -19,7 +19,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -21,7 +21,7 @@ uses ROM_IMAGE_SIZE
|
|||
uses ROM_SECTION_SIZE
|
||||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses _RAMBASE
|
||||
|
|
|
@ -22,7 +22,7 @@ uses ROM_IMAGE_SIZE
|
|||
uses ROM_SECTION_SIZE
|
||||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses _RAMBASE
|
||||
|
|
|
@ -23,7 +23,7 @@ uses ROM_IMAGE_SIZE
|
|||
uses ROM_SECTION_SIZE
|
||||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses _RAMBASE
|
||||
|
|
|
@ -21,7 +21,7 @@ uses ROM_IMAGE_SIZE
|
|||
uses ROM_SECTION_SIZE
|
||||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses _RAMBASE
|
||||
|
|
|
@ -21,7 +21,7 @@ uses ROM_IMAGE_SIZE
|
|||
uses ROM_SECTION_SIZE
|
||||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses _RAMBASE
|
||||
|
|
|
@ -24,7 +24,7 @@ uses CONFIG_FS_STREAM
|
|||
uses CONFIG_FS_EXT2
|
||||
uses CONFIG_FS_ISO9660
|
||||
uses CONFIG_FS_FAT
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses AUTOBOOT_CMDLINE
|
||||
uses CONFIG_SYS_CLK_FREQ
|
||||
uses IDE_BOOT_DRIVE
|
||||
|
|
|
@ -6,9 +6,9 @@ uses HAVE_HARD_RESET
|
|||
uses HAVE_OPTION_TABLE
|
||||
uses USE_OPTION_TABLE
|
||||
uses CONFIG_COMPRESS
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_NRV2B
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_PRECOMPRESSED_ROM_STREAM
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_NRV2B
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses CONFIG_PRECOMPRESSED_PAYLOAD
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses IRQ_SLOT_COUNT
|
||||
uses MAINBOARD
|
||||
|
|
|
@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -41,9 +41,9 @@ uses CONFIG_UDELAY_TSC
|
|||
uses CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
|
||||
uses CONFIG_CONSOLE_VGA
|
||||
uses CONFIG_PCI_ROM_RUN
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_NRV2B
|
||||
uses CONFIG_PRECOMPRESSED_ROM_STREAM
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_NRV2B
|
||||
uses CONFIG_PRECOMPRESSED_PAYLOAD
|
||||
|
||||
## ROM_SIZE is the size of boot ROM that this board will use.
|
||||
default ROM_SIZE = 256*1024
|
||||
|
|
|
@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -10,7 +10,7 @@ uses CONFIG_MAX_PHYSICAL_CPUS
|
|||
uses CONFIG_IOAPIC
|
||||
uses CONFIG_SMP
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses STACK_SIZE
|
||||
uses HEAP_SIZE
|
||||
uses USE_OPTION_TABLE
|
||||
|
|
|
@ -23,7 +23,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -21,7 +21,7 @@ uses ROM_IMAGE_SIZE
|
|||
uses ROM_SECTION_SIZE
|
||||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses _RAMBASE
|
||||
|
|
|
@ -21,7 +21,7 @@ uses CONFIG_FS_STREAM
|
|||
uses CONFIG_FS_EXT2
|
||||
uses CONFIG_FS_ISO9660
|
||||
uses CONFIG_FS_FAT
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses AUTOBOOT_CMDLINE
|
||||
uses PAYLOAD_SIZE
|
||||
uses ROM_SIZE
|
||||
|
|
|
@ -44,7 +44,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -21,9 +21,9 @@ uses ROM_IMAGE_SIZE
|
|||
uses ROM_SECTION_SIZE
|
||||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_NRV2B
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_PRECOMPRESSED_ROM_STREAM
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_NRV2B
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses CONFIG_PRECOMPRESSED_PAYLOAD
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses _RAMBASE
|
||||
|
|
|
@ -21,9 +21,9 @@ uses ROM_IMAGE_SIZE
|
|||
uses ROM_SECTION_SIZE
|
||||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_NRV2B
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_PRECOMPRESSED_ROM_STREAM
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_NRV2B
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses CONFIG_PRECOMPRESSED_PAYLOAD
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses _RAMBASE
|
||||
|
|
|
@ -18,7 +18,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -17,7 +17,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -23,7 +23,7 @@ uses ROM_IMAGE_SIZE
|
|||
uses ROM_SECTION_SIZE
|
||||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses _RAMBASE
|
||||
|
|
|
@ -19,7 +19,7 @@ uses CONFIG_USE_INIT
|
|||
uses NO_POST
|
||||
uses CONFIG_CONSOLE_SERIAL8250
|
||||
uses CONFIG_IDE_STREAM
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses IDE_BOOT_DRIVE
|
||||
uses IDE_SWAB IDE_OFFSET
|
||||
uses ROM_SIZE
|
||||
|
|
|
@ -19,7 +19,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -18,7 +18,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -18,7 +18,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -18,7 +18,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -18,7 +18,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -18,7 +18,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -18,7 +18,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -18,7 +18,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -18,7 +18,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -21,7 +21,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -18,7 +18,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -18,7 +18,7 @@ uses ROM_SECTION_SIZE
|
|||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses XIP_ROM_SIZE
|
||||
|
|
|
@ -21,7 +21,7 @@ uses ROM_IMAGE_SIZE
|
|||
uses ROM_SECTION_SIZE
|
||||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_NRV2B
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses _RAMBASE
|
||||
|
|
|
@ -29,7 +29,7 @@ uses ROM_IMAGE_SIZE
|
|||
uses ROM_SECTION_SIZE
|
||||
uses ROM_SECTION_OFFSET
|
||||
uses CONFIG_ROM_STREAM_START
|
||||
uses CONFIG_COMPRESSED_ROM_STREAM_LZMA
|
||||
uses CONFIG_COMPRESSED_PAYLOAD_LZMA
|
||||
uses PAYLOAD_SIZE
|
||||
uses _ROMBASE
|
||||
uses _RAMBASE
|
||||
|
|
|
@ -5,23 +5,23 @@
|
|||
#include <string.h>
|
||||
|
||||
/* 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))
|
||||
#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"
|
||||
#if CONFIG_PRECOMPRESSED_PAYLOAD && ((!CONFIG_COMPRESSED_PAYLOAD_NRV2B) && (!CONFIG_COMPRESSED_PAYLOAD_LZMA))
|
||||
#error "You set CONFIG_PRECOMPRESSED_PAYLOAD but need to set CONFIG_COMPRESSED_PAYLOAD_NRV2B or CONFIG_COMPRESSED_PAYLOAD_LZMA"
|
||||
#endif
|
||||
|
||||
/* 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
|
||||
extern unsigned char _heap, _eheap;
|
||||
#endif
|
||||
|
||||
#if (CONFIG_COMPRESSED_ROM_STREAM) || (CONFIG_COMPRESSED_ROM_STREAM_NRV2B)
|
||||
#if (CONFIG_COMPRESSED_PAYLOAD_NRV2B)
|
||||
#define HAVE_UNCOMPRESSER 1
|
||||
// include generic nrv2b
|
||||
#include "../lib/nrv2b.c"
|
||||
#endif
|
||||
|
||||
#if (CONFIG_COMPRESSED_ROM_STREAM_LZMA)
|
||||
#if (CONFIG_COMPRESSED_PAYLOAD_LZMA)
|
||||
#if HAVE_UNCOMPRESSER
|
||||
#error "You're defining more than one compression type, which is not allowed (of course)"
|
||||
#endif
|
||||
|
@ -53,11 +53,11 @@ static const unsigned char *rom;
|
|||
unsigned long
|
||||
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
|
||||
return unrv2b(rom_start, dest, &ilen);
|
||||
#endif
|
||||
#if (CONFIG_COMPRESSED_ROM_STREAM_LZMA)
|
||||
#if (CONFIG_COMPRESSED_PAYLOAD_LZMA)
|
||||
return ulzma(rom_start, dest);
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -5,16 +5,16 @@
|
|||
#include <string.h>
|
||||
|
||||
/* 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))
|
||||
#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"
|
||||
#if CONFIG_PRECOMPRESSED_PAYLOAD && ((!CONFIG_COMPRESSED_PAYLOAD_NRV2B) && (!CONFIG_COMPRESSED_PAYLOAD_LZMA))
|
||||
#error "You set CONFIG_PRECOMPRESSED_PAYLOAD but need to set CONFIG_COMPRESSED_PAYLOAD_NRV2B or CONFIG_COMPRESSED_PAYLOAD_LZMA"
|
||||
#endif
|
||||
|
||||
#if (CONFIG_COMPRESSED_ROM_STREAM) || (CONFIG_COMPRESSED_ROM_STREAM_NRV2B)
|
||||
#if (CONFIG_COMPRESSED_PAYLOAD_NRV2B)
|
||||
#define HAVE_UNCOMPRESSER 1
|
||||
#include "../lib/nrv2b.c"
|
||||
#endif
|
||||
|
||||
#if (CONFIG_COMPRESSED_ROM_STREAM_LZMA)
|
||||
#if (CONFIG_COMPRESSED_PAYLOAD_LZMA)
|
||||
#if HAVE_UNCOMPRESSER
|
||||
#error "You're defining more than one compression type, which is not allowed (of course)"
|
||||
#endif
|
||||
|
@ -33,11 +33,11 @@ static int stream_max_bytes = 0x00800000;
|
|||
#if HAVE_UNCOMPRESSER
|
||||
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;
|
||||
return unrv2b(src, dest, &ilen);
|
||||
#endif
|
||||
#if (CONFIG_COMPRESSED_ROM_STREAM_LZMA)
|
||||
#if (CONFIG_COMPRESSED_PAYLOAD_LZMA)
|
||||
return ulzma(src, dest);
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
target 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
|
||||
## (normal AND fallback images and payloads).
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
target 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
|
||||
## (normal AND fallback images and payloads).
|
||||
|
|
|
@ -4,8 +4,8 @@ target qemu-i386-OLPC
|
|||
mainboard emulation/qemu-i386
|
||||
|
||||
option ROM_SIZE=1024*1024 - (128 * 1024)
|
||||
option CONFIG_COMPRESSED_ROM_STREAM_LZMA=1
|
||||
option CONFIG_PRECOMPRESSED_ROM_STREAM=0
|
||||
option CONFIG_COMPRESSED_PAYLOAD_LZMA=1
|
||||
option CONFIG_PRECOMPRESSED_PAYLOAD=0
|
||||
|
||||
option CC="gcc -m32"
|
||||
|
||||
|
|
|
@ -7,9 +7,9 @@ mainboard iei/nova4899r
|
|||
#option ROM_SIZE=256*1024
|
||||
|
||||
#from OLPC definitions
|
||||
option CONFIG_COMPRESSED_ROM_STREAM_NRV2B=1
|
||||
#option CONFIG_COMPRESSED_ROM_STREAM_LZMA=1
|
||||
#option CONFIG_PRECOMPRESSED_ROM_STREAM=0
|
||||
option CONFIG_COMPRESSED_PAYLOAD_NRV2B=1
|
||||
#option CONFIG_COMPRESSED_PAYLOAD_LZMA=1
|
||||
#option CONFIG_PRECOMPRESSED_PAYLOAD=0
|
||||
# leave 128k for vsa and 32k for VGA code
|
||||
option ROM_SIZE=(256*1024)-(128*1024)-(32*1024)
|
||||
option FALLBACK_SIZE=ROM_SIZE
|
||||
|
|
|
@ -7,7 +7,7 @@ option CC="gcc -m32"
|
|||
option CROSS_COMPILE=""
|
||||
option HOSTCC="gcc"
|
||||
|
||||
option CONFIG_COMPRESSED_ROM_STREAM_LZMA=1
|
||||
option CONFIG_COMPRESSED_PAYLOAD_LZMA=1
|
||||
|
||||
romimage "normal"
|
||||
option USE_FALLBACK_IMAGE=0
|
||||
|
|
|
@ -4,9 +4,9 @@ target btest
|
|||
mainboard olpc/btest
|
||||
|
||||
# Don't let LinuxBIOS compress the payload
|
||||
#option CONFIG_COMPRESSED_ROM_STREAM_NRV2B=0
|
||||
#option CONFIG_COMPRESSED_ROM_STREAM_LZMA=1
|
||||
#option CONFIG_PRECOMPRESSED_ROM_STREAM=0
|
||||
#option CONFIG_COMPRESSED_PAYLOAD_NRV2B=0
|
||||
#option CONFIG_COMPRESSED_PAYLOAD_LZMA=1
|
||||
#option CONFIG_PRECOMPRESSED_PAYLOAD=0
|
||||
|
||||
# leave 64k for vsa and 64k for EC code
|
||||
option ROM_SIZE=(1024*1024)-(64*1024)-(64*1024)
|
||||
|
|
|
@ -4,8 +4,8 @@ target rev_a_1M
|
|||
mainboard olpc/rev_a
|
||||
|
||||
# Don't let LinuxBIOS compress the payload
|
||||
# option CONFIG_COMPRESSED_ROM_STREAM_NRV2B=0
|
||||
#option CONFIG_PRECOMPRESSED_ROM_STREAM=1
|
||||
# option CONFIG_COMPRESSED_PAYLOAD_NRV2B=0
|
||||
#option CONFIG_PRECOMPRESSED_PAYLOAD=1
|
||||
|
||||
# leave 64k for vsa
|
||||
option ROM_SIZE=(1024*1024)-(64*1024)
|
||||
|
|
|
@ -4,9 +4,9 @@ target rev_a_1M
|
|||
mainboard olpc/rev_a
|
||||
|
||||
# Don't let LinuxBIOS compress the payload
|
||||
#option CONFIG_COMPRESSED_ROM_STREAM_NRV2B=0
|
||||
#option CONFIG_COMPRESSED_ROM_STREAM_LZMA=1
|
||||
#option CONFIG_PRECOMPRESSED_ROM_STREAM=0
|
||||
#option CONFIG_COMPRESSED_PAYLOAD_NRV2B=0
|
||||
#option CONFIG_COMPRESSED_PAYLOAD_LZMA=1
|
||||
#option CONFIG_PRECOMPRESSED_PAYLOAD=0
|
||||
|
||||
# leave 64k for vsa and 64k for EC code
|
||||
option ROM_SIZE=(1024*1024)-(64*1024)-(64*1024)
|
||||
|
|
|
@ -4,7 +4,7 @@ target rev_a
|
|||
mainboard olpc/rev_a
|
||||
|
||||
# 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 FALLBACK_SIZE=ROM_SIZE
|
||||
|
||||
|
|
|
@ -13,8 +13,8 @@ option ROM_SIZE=256*1024
|
|||
option HAVE_OPTION_TABLE=1
|
||||
option CONFIG_ROM_STREAM=1
|
||||
option HAVE_FALLBACK_BOOT=1
|
||||
#option CONFIG_COMPRESSED_ROM_STREAM=1
|
||||
option CONFIG_COMPRESSED_ROM_STREAM=0
|
||||
#option CONFIG_COMPRESSED_PAYLOAD_NRV2B=1
|
||||
option CONFIG_COMPRESSED_PAYLOAD_NRV2B=0
|
||||
|
||||
|
||||
###
|
||||
|
|
Loading…
Reference in New Issue