Skip to content
Snippets Groups Projects
Commit 61ae6cf3 authored by bjorn3's avatar bjorn3
Browse files

Run pcid on aarch64

parent 9c8da8bf
No related branches found
No related tags found
No related merge requests found
...@@ -5,42 +5,48 @@ git = "https://gitlab.redox-os.org/redox-os/drivers.git" ...@@ -5,42 +5,48 @@ git = "https://gitlab.redox-os.org/redox-os/drivers.git"
template = "custom" template = "custom"
script = """ script = """
BINS=( BINS=(
ahcid
fbcond fbcond
inputd inputd
nvmed nvmed
pcid pcid
vesad vesad
virtio-blkd
virtio-gpud
lived lived
) )
aarch64_redefine_bin() virt_bins()
{
BINS+=(virtio-blkd virtio-gpud)
}
x86_common_bins()
{
BINS+=(ahcid ided ps2d vesad)
virt_bins
}
aarch64_bins()
{ {
BINS=(inputd lived)
case "${BOARD}" in case "${BOARD}" in
raspi3bp) raspi3b | raspi3bp)
BINS+=(bcm2835-sdhcid)
;;
raspi3b)
BINS+=(bcm2835-sdhcid) BINS+=(bcm2835-sdhcid)
;; ;;
*) *)
#qemu-virt #qemu-virt
virt_bins
;; ;;
esac esac
} }
case "${TARGET}" in case "${TARGET}" in
i686-unknown-redox) i686-unknown-redox)
BINS+=(ided ps2d) x86_common_bins
;; ;;
x86_64-unknown-redox) x86_64-unknown-redox)
BINS+=(acpid ided ps2d) x86_common_bins
BINS+=(acpid)
;; ;;
aarch64-unknown-redox) aarch64-unknown-redox)
aarch64_redefine_bin aarch64_bins
;; ;;
*) *)
;; ;;
......
...@@ -10,6 +10,7 @@ BINS=( ...@@ -10,6 +10,7 @@ BINS=(
e1000d e1000d
ihdad ihdad
ixgbed ixgbed
pcid
rtl8139d rtl8139d
rtl8168d rtl8168d
usbctl usbctl
...@@ -24,7 +25,7 @@ BINS=( ...@@ -24,7 +25,7 @@ BINS=(
# depending on the target architecture # depending on the target architecture
case "${TARGET}" in case "${TARGET}" in
i686-unknown-redox | x86_64-unknown-redox) i686-unknown-redox | x86_64-unknown-redox)
BINS+=(ac97d bgad pcid pcspkrd sb16d vboxd) BINS+=(ac97d bgad pcspkrd sb16d vboxd)
;; ;;
*) *)
;; ;;
......
export PATH /scheme/initfs/bin export PATH /scheme/initfs/bin
export TMPDIR /tmp export TMPDIR /tmp
export RUST_BACKTRACE 1
nulld nulld
zerod zerod
randd randd
...@@ -11,6 +12,7 @@ fbcond 1 2 ...@@ -11,6 +12,7 @@ fbcond 1 2
logd /scheme/debug /scheme/fbcon/1 logd /scheme/debug /scheme/fbcon/1
stdio /scheme/log stdio /scheme/log
ramfs logging ramfs logging
pcid /scheme/initfs/etc/pcid/initfs.toml
lived lived
unset DISK_LIVE_ADDR DISK_LIVE_SIZE unset DISK_LIVE_ADDR DISK_LIVE_SIZE
redoxfs --uuid $REDOXFS_UUID file $REDOXFS_BLOCK redoxfs --uuid $REDOXFS_UUID file $REDOXFS_BLOCK
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment