Merge branch 'ivan/board_var' into 'master'

aarch64: support building Redox for different motherboard.

See merge request redox-os/redox!1388
This commit is contained in:
Jeremy Soller 2023-12-15 23:18:38 +00:00
commit 1afef4aef0
2 changed files with 19 additions and 0 deletions

View file

@ -305,6 +305,22 @@ If you have a customized computer, put it here.
Computers using a 64 bits ARM CPU. Computers using a 64 bits ARM CPU.
### Raspberry Pi
- **Raspberry Pi 3 Model B+**
```
Status - Booting
Redox version - 0.8.0
Variant - server
Image date - None
- Booted using Uboot
- Boots to UART serial console
- a bcm2835-sdhci/mmc driver
- pl011 UART
```
### Custom ### Custom
If you have a customized ARM board, put it here. If you have a customized ARM board, put it here.

View file

@ -21,6 +21,8 @@ REDOXFS_MKFS_FLAGS?=
PODMAN_BUILD?=0 PODMAN_BUILD?=0
## The containerfile to use for the Podman base image ## The containerfile to use for the Podman base image
CONTAINERFILE?=podman/redox-base-containerfile CONTAINERFILE?=podman/redox-base-containerfile
## Sub-device type for aarch64 if needed
BOARD?=
# Per host variables # Per host variables
HOST_CARGO=env -u RUSTUP_TOOLCHAIN cargo HOST_CARGO=env -u RUSTUP_TOOLCHAIN cargo
@ -81,6 +83,7 @@ REPO_TAG=$(BUILD)/repo.tag
endif endif
FSTOOLS_TAG=build/fstools.tag FSTOOLS_TAG=build/fstools.tag
export BOARD
## Cross compiler variables ## Cross compiler variables
AR=$(TARGET)-gcc-ar AR=$(TARGET)-gcc-ar