qemu/microblazebe-mmu: add new sample config
PATCH 1/1 qemu/microblazebe-mmu: add new sample config
Add a new microblazebe_mmu sample configuration for big endian Microblaze with MMU testing.
Hopefully we can get other variants going soon.
system.dts is just a placeholder since it's not an option to ignore it right now, qemu uses it's own dtb for the s3adsp1800 emulation (which lacks a corresponding dts source unfortunately).
kernel-3.3.config is the default linux 3.3 kernel defconfig for generic mmu with lowered/disabled instructions that aren't emulated.
--- board/qemu/microblazebe-mmu/kernel-3.3.config | 67 +++++ board/qemu/microblazebe-mmu/readme.txt | 6 + board/qemu/microblazebe-mmu/system.dts | 367 +++++++++++++++++++++++++ configs/qemu_microblazebe_mmu_defconfig | 16 + 4 files changed, 456 insertions(+), 0 deletions(-) create mode 100644 board/qemu/microblazebe-mmu/kernel-3.3.config create mode 100644 board/qemu/microblazebe-mmu/readme.txt create mode 100644 board/qemu/microblazebe-mmu/system.dts create mode 100644 configs/qemu_microblazebe_mmu_defconfig
board/qemu/microblazebe-mmu/kernel-3.3.config new file +67 -0
@@ -0,0 +1,67 @@ +CONFIG_EXPERIMENTAL=y +CONFIG_SYSVIPC=y +CONFIG_IKCONFIG=y +CONFIG_IKCONFIG_PROC=y +CONFIG_SYSFS_DEPRECATED_V2=y +CONFIG_BLK_DEV_INITRD=y +CONFIG_INITRAMFS_SOURCE="rootfs.cpio" +CONFIG_INITRAMFS_COMPRESSION_GZIP=y +# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set +CONFIG_EXPERT=y +CONFIG_KALLSYMS_ALL=y +CONFIG_KALLSYMS_EXTRA_PASS=y +# CONFIG_HOTPLUG is not set +# CONFIG_BASE_FULL is not set +# CONFIG_FUTEX is not set +# CONFIG_EPOLL is not set +# CONFIG_SIGNALFD is not set +# CONFIG_SHMEM is not set +CONFIG_SLAB=y +CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y +# CONFIG_BLK_DEV_BSG is not set +CONFIG_OPT_LIB_ASM=y +CONFIG_XILINX_MICROBLAZE0_USE_MSR_INSTR=1 +CONFIG_XILINX_MICROBLAZE0_USE_PCMP_INSTR=1 +CONFIG_XILINX_MICROBLAZE0_USE_BARREL=1 +CONFIG_XILINX_MICROBLAZE0_USE_HW_MUL=1 +CONFIG_HZ_100=y +CONFIG_MMU=y +CONFIG_CMDLINE_BOOL=y +CONFIG_CMDLINE_FORCE=y +CONFIG_NET=y +CONFIG_PACKET=y +CONFIG_UNIX=y +CONFIG_INET=y +# CONFIG_INET_LRO is not set +# CONFIG_IPV6 is not set +CONFIG_PROC_DEVICETREE=y +CONFIG_BLK_DEV_RAM=y +CONFIG_BLK_DEV_RAM_SIZE=8192 +CONFIG_NETDEVICES=y +CONFIG_NET_ETHERNET=y +CONFIG_XILINX_EMACLITE=y +# CONFIG_INPUT is not set +# CONFIG_SERIO is not set +# CONFIG_VT is not set +CONFIG_SERIAL_UARTLITE=y +CONFIG_SERIAL_UARTLITE_CONSOLE=y +# CONFIG_HW_RANDOM is not set +# CONFIG_HWMON is not set +# CONFIG_USB_SUPPORT is not set +CONFIG_EXT2_FS=y +# CONFIG_DNOTIFY is not set +CONFIG_NFS_FS=y +CONFIG_NFS_V3=y +CONFIG_CIFS=y +CONFIG_CIFS_STATS=y +CONFIG_CIFS_STATS2=y +CONFIG_PARTITION_ADVANCED=y +CONFIG_DEBUG_KERNEL=y +CONFIG_DETECT_HUNG_TASK=y +CONFIG_DEBUG_SLAB=y +CONFIG_DEBUG_SPINLOCK=y +CONFIG_DEBUG_INFO=y +# CONFIG_RCU_CPU_STALL_DETECTOR is not set +CONFIG_EARLY_PRINTK=y +# CONFIG_CRYPTO_ANSI_CPRNG is not set
board/qemu/microblazebe-mmu/readme.txt new file +6 -0
@@ -0,0 +1,6 @@ +Run the emulation with: + + qemu-system-microblaze -M petalogix-s3adsp1800 -kernel output/images/linux.bin -serial stdio + +The login prompt will appear in the terminal that started Qemu. +
board/qemu/microblazebe-mmu/system.dts new file +367 -0
367 lines not on this page · raw message
configs/qemu_microblazebe_mmu_defconfig new file +16 -0
@@ -0,0 +1,16 @@ +BR2_microblaze=y +BR2_microblazebe=y +BR2_TOOLCHAIN_EXTERNAL=y +BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2=y +BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y +BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y +BR2_TOOLCHAIN_EXTERNAL_CXX=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyUL0" +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_ROOTFS_INITRAMFS=y +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/microblazebe-mmu/kernel-3.3.config" +BR2_LINUX_KERNEL_DTS_FILE="board/qemu/microblazebe-mmu/system.dts" +BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y +BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="linux.bin"
Signature · 1 line
1.7.3.4
PATCH 1/1 qemu/microblazebe-mmu: add new sample config
Am 19.03.2012 22:20, schrieb Gustavo Zacarias:
Quoted 5 lines
Add a new
microblazebe_mmusample configuration for big endian Microblaze with MMU testing.
Hopefully we can get other variants going soon.
That'd great. I did not get it running some months before, most likely because I tried little endian:-)
Stephan
Signature · 4 lines
reLinux - Stephan Hoffmann Am Schmidtgrund 124 50765 K?ln Tel. +49.221.95595-19 Fax: -64 www.reLinux.de sho at reLinux.de
PATCH 1/1 qemu/microblazebe-mmu: add new sample config
Am 21.03.2012 18:59, schrieb Stephan Hoffmann:
Quoted 7 lines
Am 19.03.2012 22:20, schrieb Gustavo Zacarias:
Quoted 3 lines
Add a new
microblazebe_mmusample configuration for big endian Microblaze with MMU testing.
Hopefully we can get other variants going soon.That'd great. I did not get it running some months before,
most likely
because I tried little endian:-)
Obviously not, think I should read further before writing;-)
Quoted 3 lines
Stephan
Signature · 4 lines
reLinux - Stephan Hoffmann Am Schmidtgrund 124 50765 K?ln Tel. +49.221.95595-19 Fax: -64 www.reLinux.de sho at reLinux.de
PATCH 1/1 qemu/microblazebe-mmu: add new sample config
In reply to Stephan HoffmannQuoted 5 lines · Stephan Hoffmann
That'd great. I did not get it running some months before, most likely
because I tried little endian:-)Stephan
I've sent both already.
The test rig seems a bit flaky with OpenSSL, i don't know if it due to Qemu doing something wrong, the toolchain being flaky or OpenSSL doing something bad.
It can usually be trigger by running "openssl speed -evp aes256" for example, sometimes it'll finish the tests, and sometimes it'll segfault in between.
Happens for both BE and EL.
Regards.