diff options
author | Alistair Delva <adelva@google.com> | 2022-03-02 19:42:36 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2022-03-02 19:42:36 +0000 |
commit | 35af13dacb465e385849ca2ec5a4351902aae57c (patch) | |
tree | 17f8849a6de827449e1c5f4b62caf67bec3424aa | |
parent | 33e5367fa785468d396058b14b7db858b92b8a0c (diff) | |
parent | db23c1a5bd6d0f69e0d66435f1adf9b6f50e4fd8 (diff) | |
download | tests-35af13dacb465e385849ca2ec5a4351902aae57c.tar.gz |
build_rootfs.sh: Add 8250.nr_uarts=X am: db23c1a5bd
Original change: https://android-review.googlesource.com/c/kernel/tests/+/2004333
Change-Id: I38213941d9c3079beb553f56e3906f85be03896f
-rwxr-xr-x | net/test/build_rootfs.sh | 2 | ||||
-rwxr-xr-x | net/test/rootfs/bullseye-cuttlefish.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/test/build_rootfs.sh b/net/test/build_rootfs.sh index 994985e..e631fe8 100755 --- a/net/test/build_rootfs.sh +++ b/net/test/build_rootfs.sh @@ -89,7 +89,7 @@ while getopts ":hs:a:m:n:r:k:i:d:e" opt; do done # Disable Debian's "persistent" network device renaming -cmdline="net.ifnames=0 rw PATH=/usr/sbin:/usr/bin" +cmdline="net.ifnames=0 rw 8250.nr_uarts=2 PATH=/usr/sbin:/usr/bin" # Pass down embedding option, if specified if [ -n "${embed_kernel_initrd_dtb}" ]; then diff --git a/net/test/rootfs/bullseye-cuttlefish.sh b/net/test/rootfs/bullseye-cuttlefish.sh index 0f572bc..0771ac1 100755 --- a/net/test/rootfs/bullseye-cuttlefish.sh +++ b/net/test/rootfs/bullseye-cuttlefish.sh @@ -44,7 +44,7 @@ install_and_cleanup_iptables create_systemd_getty_symlinks ttyS0 hvc1 -setup_grub "net.ifnames=0" +setup_grub "net.ifnames=0 8250.nr_uarts=1" apt-get purge -y vim-tiny bullseye_cleanup |