Skip to content

Instantly share code, notes, and snippets.

@prati0100
Last active January 19, 2026 14:44
Show Gist options
  • Select an option

  • Save prati0100/7d66f99febc36389dfd106d1cd624831 to your computer and use it in GitHub Desktop.

Select an option

Save prati0100/7d66f99febc36389dfd106d1cd624831 to your computer and use it in GitHub Desktop.

SPI NOR Test Setup

Qemu

qemu-system-arm -M supermicro-x11spi-bmc \
    -kernel arch/arm/boot/zImage -no-reboot -snapshot -audio none \
    -drive file="$HOME/qemu/spi-nor/flash",format=raw,if=mtd -nic user \
    --append "root=/dev/mtdblock4 rootwait console=ttyS4,115200 earlycon=uart8250,mmio32,0x1e784000,115200n8" \
    -dtb arch/arm/boot/dts/aspeed/aspeed-bmc-supermicro-x11spi.dtb \
    -nographic

Kernel config

make LLVM=1 ARCH=arm aspeed_g5_defconfig

Rootfs

curl -LO https://jenkins.openbmc.org/job/ci-openbmc/lastSuccessfulBuild/distro\=ubuntu,label\=docker-builder,target\=romulus/artifact/openbmc/build/tmp/deploy/images/romulus/\*zip\*/romulus.zip

Use the file obmc-phosphor-image-romulus-<date>.static.mtd

Root password: 0penBmc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment