mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
configs/qemu_hppa_b160l: new defconfig
Add a defconfig to run Linux on a HP Visualize B160L PA-RISC Workstation, emulated with Qemu. While at it, add this defconfig to myself in DEVELOPERS. Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net> Cc: Romain Naour <romain.naour@gmail.com> [Julien: update kernel to 6.18.7 to align with other qemu defconfigs] Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
6b327cb7f2
commit
d214905353
@@ -3372,8 +3372,10 @@ F: arch/Config.in.hppa
|
|||||||
F: arch/arch.mk.hppa
|
F: arch/arch.mk.hppa
|
||||||
F: board/arm/foundation-v8/
|
F: board/arm/foundation-v8/
|
||||||
F: board/bananapi/bananapi-m2-zero/
|
F: board/bananapi/bananapi-m2-zero/
|
||||||
|
F: board/qemu/hppa-b160l/
|
||||||
F: configs/arm_foundationv8_defconfig
|
F: configs/arm_foundationv8_defconfig
|
||||||
F: configs/bananapi_m2_zero_defconfig
|
F: configs/bananapi_m2_zero_defconfig
|
||||||
|
F: configs/qemu_hppa_b160l_defconfig
|
||||||
F: configs/uevm5432_defconfig
|
F: configs/uevm5432_defconfig
|
||||||
F: package/i7z/
|
F: package/i7z/
|
||||||
F: package/msr-tools/
|
F: package/msr-tools/
|
||||||
|
|||||||
33
board/qemu/hppa-b160l/readme.txt
Normal file
33
board/qemu/hppa-b160l/readme.txt
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
Introduction
|
||||||
|
============
|
||||||
|
|
||||||
|
The qemu_hppa_b160l_defconfig is meant to run Linux on a HP Visualize B160L
|
||||||
|
PA-RISC Workstation[1], emulated with Qemu.
|
||||||
|
|
||||||
|
Building
|
||||||
|
========
|
||||||
|
|
||||||
|
$ make qemu_hppa_b160l_defconfig
|
||||||
|
$ make
|
||||||
|
|
||||||
|
Generated files under output/images:
|
||||||
|
|
||||||
|
* rootfs.ext4: the root filesystem.
|
||||||
|
* vmlinux: the Linux kernel.
|
||||||
|
|
||||||
|
Running under Qemu
|
||||||
|
==================
|
||||||
|
|
||||||
|
Run the emulation with:
|
||||||
|
|
||||||
|
qemu-system-hppa \
|
||||||
|
-machine B160L \
|
||||||
|
-append "rootwait root=/dev/sda" \
|
||||||
|
-hda output/images/rootfs.ext4 \
|
||||||
|
-kernel output/images/vmlinux \
|
||||||
|
-nographic \
|
||||||
|
-smp 2 # qemu_hppa_b160l_defconfig
|
||||||
|
|
||||||
|
The login prompt will appear in the terminal that started Qemu.
|
||||||
|
|
||||||
|
[1] https://www.openpa.net/systems/hp-visualize_b132l_b160l_b180l.html
|
||||||
18
configs/qemu_hppa_b160l_defconfig
Normal file
18
configs/qemu_hppa_b160l_defconfig
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
BR2_hppa=y
|
||||||
|
BR2_parisc11=y
|
||||||
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_18=y
|
||||||
|
BR2_GLOBAL_PATCH_DIR="board/qemu/patches"
|
||||||
|
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
|
||||||
|
BR2_SYSTEM_DHCP="eth0"
|
||||||
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh"
|
||||||
|
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"
|
||||||
|
BR2_LINUX_KERNEL=y
|
||||||
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||||
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.18.7"
|
||||||
|
BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
|
||||||
|
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
|
||||||
|
BR2_TARGET_ROOTFS_EXT2=y
|
||||||
|
BR2_TARGET_ROOTFS_EXT2_4=y
|
||||||
|
# BR2_TARGET_ROOTFS_TAR is not set
|
||||||
|
BR2_PACKAGE_HOST_QEMU=y
|
||||||
|
BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
|
||||||
Reference in New Issue
Block a user