Change to new aarch64-unknown-none-softfloat target

pull/35/head
Andre Richter 5 years ago
parent a851959f89
commit 294538e323
No known key found for this signature in database
GPG Key ID: 2116C1AB102F615E

@ -9,13 +9,13 @@ endif
# BSP-specific arguments # BSP-specific arguments
ifeq ($(BSP),bsp_rpi3) ifeq ($(BSP),bsp_rpi3)
TARGET = aarch64-unknown-none TARGET = aarch64-unknown-none-softfloat
OUTPUT = kernel8.img OUTPUT = kernel8.img
QEMU_BINARY = qemu-system-aarch64 QEMU_BINARY = qemu-system-aarch64
QEMU_MACHINE_TYPE = raspi3 QEMU_MACHINE_TYPE = raspi3
QEMU_MISC_ARGS = -d in_asm QEMU_MISC_ARGS = -d in_asm
LINKER_FILE = src/bsp/rpi3/link.ld LINKER_FILE = src/bsp/rpi3/link.ld
RUSTC_MISC_ARGS = -C target-feature=-fp-armv8 -C target-cpu=cortex-a53 RUSTC_MISC_ARGS = -C target-cpu=cortex-a53
endif endif
SOURCES = $(wildcard **/*.rs) $(wildcard **/*.S) $(wildcard **/*.ld) SOURCES = $(wildcard **/*.rs) $(wildcard **/*.S) $(wildcard **/*.ld)

@ -5,7 +5,7 @@
Project skeleton is set up; Code just halts all CPU cores. Project skeleton is set up; Code just halts all CPU cores.
- Toolchain: `cargo xbuild` tools (`xrustc`, `xclippy`) and the - Toolchain: `cargo xbuild` tools (`xrustc`, `xclippy`) and the
`aarch64-unknown-none` target are used for building `AArch64` bare-metal code. `aarch64-unknown-none-softfloat` target are used for building `AArch64` bare-metal code.
- `Makefile` targets: - `Makefile` targets:
- `doc`: Generate documentation. - `doc`: Generate documentation.
- `qemu`: Run the `kernel` in QEMU - `qemu`: Run the `kernel` in QEMU

Binary file not shown.

@ -9,13 +9,13 @@ endif
# BSP-specific arguments # BSP-specific arguments
ifeq ($(BSP),bsp_rpi3) ifeq ($(BSP),bsp_rpi3)
TARGET = aarch64-unknown-none TARGET = aarch64-unknown-none-softfloat
OUTPUT = kernel8.img OUTPUT = kernel8.img
QEMU_BINARY = qemu-system-aarch64 QEMU_BINARY = qemu-system-aarch64
QEMU_MACHINE_TYPE = raspi3 QEMU_MACHINE_TYPE = raspi3
QEMU_MISC_ARGS = -d in_asm QEMU_MISC_ARGS = -d in_asm
LINKER_FILE = src/bsp/rpi3/link.ld LINKER_FILE = src/bsp/rpi3/link.ld
RUSTC_MISC_ARGS = -C target-feature=-fp-armv8 -C target-cpu=cortex-a53 RUSTC_MISC_ARGS = -C target-cpu=cortex-a53
endif endif
SOURCES = $(wildcard **/*.rs) $(wildcard **/*.S) $(wildcard **/*.ld) SOURCES = $(wildcard **/*.rs) $(wildcard **/*.S) $(wildcard **/*.ld)

Binary file not shown.

Binary file not shown.

@ -9,13 +9,13 @@ endif
# BSP-specific arguments # BSP-specific arguments
ifeq ($(BSP),bsp_rpi3) ifeq ($(BSP),bsp_rpi3)
TARGET = aarch64-unknown-none TARGET = aarch64-unknown-none-softfloat
OUTPUT = kernel8.img OUTPUT = kernel8.img
QEMU_BINARY = qemu-system-aarch64 QEMU_BINARY = qemu-system-aarch64
QEMU_MACHINE_TYPE = raspi3 QEMU_MACHINE_TYPE = raspi3
QEMU_MISC_ARGS = -serial null -serial stdio QEMU_MISC_ARGS = -serial null -serial stdio
LINKER_FILE = src/bsp/rpi3/link.ld LINKER_FILE = src/bsp/rpi3/link.ld
RUSTC_MISC_ARGS = -C target-feature=-fp-armv8 -C target-cpu=cortex-a53 RUSTC_MISC_ARGS = -C target-cpu=cortex-a53
endif endif
SOURCES = $(wildcard **/*.rs) $(wildcard **/*.S) $(wildcard **/*.ld) SOURCES = $(wildcard **/*.rs) $(wildcard **/*.S) $(wildcard **/*.ld)

Binary file not shown.

Binary file not shown.

@ -9,13 +9,13 @@ endif
# BSP-specific arguments # BSP-specific arguments
ifeq ($(BSP),bsp_rpi3) ifeq ($(BSP),bsp_rpi3)
TARGET = aarch64-unknown-none TARGET = aarch64-unknown-none-softfloat
OUTPUT = kernel8.img OUTPUT = kernel8.img
QEMU_BINARY = qemu-system-aarch64 QEMU_BINARY = qemu-system-aarch64
QEMU_MACHINE_TYPE = raspi3 QEMU_MACHINE_TYPE = raspi3
QEMU_MISC_ARGS = -serial null -serial stdio QEMU_MISC_ARGS = -serial null -serial stdio
LINKER_FILE = src/bsp/rpi3/link.ld LINKER_FILE = src/bsp/rpi3/link.ld
RUSTC_MISC_ARGS = -C target-feature=-fp-armv8 -C target-cpu=cortex-a53 RUSTC_MISC_ARGS = -C target-cpu=cortex-a53
endif endif
SOURCES = $(wildcard **/*.rs) $(wildcard **/*.S) $(wildcard **/*.ld) SOURCES = $(wildcard **/*.rs) $(wildcard **/*.S) $(wildcard **/*.ld)

Loading…
Cancel
Save