Shrunk ROMSIZE enough to get etherboot into top block with fallback image.
This commit is contained in:
parent
ca973123f3
commit
68fed5f8b2
1 changed files with 6 additions and 3 deletions
|
|
@ -232,7 +232,7 @@ expr USE_NORMAL_IMAGE=!USE_FALLBACK_IMAGE
|
|||
option ROM_SIZE=1048576
|
||||
|
||||
## ROM_IMAGE_SIZE is the amount of space to allow linuxBIOS to occupy.
|
||||
option ROM_IMAGE_SIZE=65536
|
||||
option ROM_IMAGE_SIZE=44288
|
||||
|
||||
## LinuxBIOS C code runs at this location in RAM
|
||||
option _RAMBASE=0x00008000
|
||||
|
|
@ -278,7 +278,9 @@ expr ROM_SECTION_OFFSET=(USE_FALLBACK_IMAGE*(ROM_SIZE-65536))+(USE_NORMAL_IMAGE*
|
|||
## The linuxBIOS bootloader.
|
||||
##
|
||||
#expr ZKERNEL_START =(0xffffffff - ROM_SIZE + ROM_SECTION_OFFSET + 1)
|
||||
expr ZKERNEL_START = 0xfff00000 + (USE_NORMAL_IMAGE * 0x10000)
|
||||
#expr ZKERNEL_START = 0xfff00000 + (USE_NORMAL_IMAGE * 0x10000)
|
||||
expr ZKERNEL_START = 0xfff00000 + (USE_FALLBACK_IMAGE * 0xf0000 )
|
||||
|
||||
|
||||
expr PAYLOAD_SIZE =ROM_SECTION_SIZE - ROM_IMAGE_SIZE
|
||||
|
||||
|
|
@ -286,7 +288,8 @@ expr PAYLOAD_SIZE =ROM_SECTION_SIZE - ROM_IMAGE_SIZE
|
|||
## Compute where this copy of linuxBIOS will start in the boot rom
|
||||
##
|
||||
#expr _ROMBASE =ZKERNEL_START + PAYLOAD_SIZE
|
||||
expr _ROMBASE = 0xffff0000 - (USE_NORMAL_IMAGE*0x10000)
|
||||
#expr _ROMBASE = 0xffff0000 - (USE_NORMAL_IMAGE*0x10000)
|
||||
expr _ROMBASE = 0x100000000 - (USE_NORMAL_IMAGE*0x10000) - ROM_IMAGE_SIZE
|
||||
|
||||
##
|
||||
## Compute a range of ROM that can cached to speed of linuxBIOS,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue