kumquat-buildroot/board/qemu/aarch64-sbsa
Niklas Cassel d1b87a346a board/qemu/aarch64-sbsa: use PARTLABEL to specify root
Specifying /dev/sda2 is ambigious, and when booting my arm64 machine
this tries to mount the second partition of my ATA drive, instead of
the second partition of the USB-stick, simply because the ATA driver
is probed earlier than the USB controller driver.

To solve this problem, use PARTLABEL=root to specify the root filesystem.
This is similar to how it is currently done for board/aarch64-efi/grub.cfg
and board/qemu/aarch64-ebbr/grub.cfg.

Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-03-12 10:08:34 +01:00
..
assemble-flash-images
genimage.cfg board/*/genimage.cfg: use partition-type-uuid U where relevant 2022-07-23 15:36:22 +02:00
grub.cfg board/qemu/aarch64-sbsa: use PARTLABEL to specify root 2023-03-12 10:08:34 +01:00
linux.config
readme.txt configs/qemu_aarch64_sbsa_defconfig: add gitlab runtime testing tag 2021-11-08 10:56:38 +01:00

Intro
=====

The QEMU sbsa-ref machine is primarily meant for firmware development
and testing according to ARM's SBSA and SBBR standards.

Build
=====

  $ make qemu_aarch64_sbsa_defconfig
  $ make

Emulation
=========

Run the emulation with:

  qemu-system-aarch64 \
    -M sbsa-ref \
    -cpu cortex-a57 \
    -smp 4 \
    -m 1024 \
    -nographic \
    -pflash output/images/SBSA_FLASH0.fd \
    -pflash output/images/SBSA_FLASH1.fd \
    -hda output/images/disk.img # qemu_aarch64_sbsa_defconfig

Note that if you want to run sbsa-ref emulation with QEMU provided by
your distro (i.e., not host-qemu by Buildroot) then you may need to
install the SeaBIOS package for some required drivers. On Debian:

  # apt install seabios