Warning, /spec/build/bsps/i386/pc386/optrelocaddr.yml is written in an unsupported language. File is not indexed.
0001 SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
0002 actions:
0003 - get-integer: null
0004 - assert-uint32: null
0005 - env-assign: null
0006 - set-value: -Wl,-Ttext,${RELOCADDR:#010x}
0007 - substitute: null
0008 - env-append: LDFLAGS
0009 - env-append: PKGCONFIG_LDFLAGS
0010 build-type: option
0011 copyrights:
0012 - Copyright (C) 2020 embedded brains GmbH & Co. KG
0013 default:
0014 - enabled-by: true
0015 value: 0x00100000
0016 description: |
0017 Set the value of RELOCADDR to the address where you want your image to load.
0018 If you'll be using GRUB to load the images it will have to be >= 0x100000
0019 (1024K). If you are using NetBoot to load the images it can be
0020 >= 0x10000 (64K) AND <= 0x97C00 (607K) OR >= 0x100000 (1024K). The memory
0021 top is of course another limit. Make sure there is enough space before the
0022 upper memory limits for the image and the memory allocated by it to fit.
0023 Make sure the value you choose is aligned to 4 bytes.
0024 enabled-by: true
0025 format: '{:#010x}'
0026 links: []
0027 name: RELOCADDR
0028 type: build