summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps/i386/pc386/optrelocaddr.yml
blob: fd49d5ab7915437f7186b693feff2c5d0e39fe7e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- assert-uint32: null
- env-assign: null
- set-value: -Wl,-Ttext,${RELOCADDR:#010x}
- substitute: null
- env-append: LDFLAGS
- env-append: PKGCONFIG_LDFLAGS
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 1048576
default-by-family: []
default-by-variant: []
description: |
  Set the value of RELOCADDR to the address where you want your image to load.
  If you'll be using GRUB to load the images it will have to be >= 0x100000
  (1024K). If you are using NetBoot to load the images it can be
  >= 0x10000 (64K) AND <= 0x97C00 (607K) OR >= 0x100000 (1024K). The memory
  top is of course another limit. Make sure there is enough space before the
  upper memory limits for the image and the memory allocated by it to fit.
  Make sure the value you choose is aligned to 4 bytes.
enabled-by: true
format: '{:#010x}'
links: []
name: RELOCADDR
type: build