dont need phram-address param for tftpboot test

the phram setup for this test is all passed from
u-boot to the kernel
This commit is contained in:
Daniel Barlow 2023-12-21 18:37:15 +00:00
parent ab0631c555
commit 46926a94db

View file

@ -9,7 +9,6 @@ let derivation = (import liminix {
img = derivation.outputs.tftpboot; img = derivation.outputs.tftpboot;
uboot = derivation.pkgs.${ubootName}; uboot = derivation.pkgs.${ubootName};
pkgsBuild = derivation.pkgs.pkgsBuildBuild; pkgsBuild = derivation.pkgs.pkgsBuildBuild;
phram = 240 * 1024 * 1024;
in pkgsBuild.runCommand "check" { in pkgsBuild.runCommand "check" {
nativeBuildInputs = with pkgsBuild; [ nativeBuildInputs = with pkgsBuild; [
expect expect
@ -24,7 +23,6 @@ run-liminix-vm \
--background ./vm \ --background ./vm \
--u-boot ${uboot}/u-boot.bin \ --u-boot ${uboot}/u-boot.bin \
--arch ${derivation.pkgs.stdenv.hostPlatform.qemuArch} \ --arch ${derivation.pkgs.stdenv.hostPlatform.qemuArch} \
--phram-address $(printf "0x%x" ${toString phram} ) \
--lan "user,tftp=`pwd`" \ --lan "user,tftp=`pwd`" \
--disk-image result/rootfs \ --disk-image result/rootfs \
result/uimage result/rootfs result/uimage result/rootfs