From 2674d6a949447e5874bf47d152bdca57d09a3864 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Thu, 21 Feb 2019 13:06:58 +1100 Subject: user: Remove nit-picky warnings. --- user/bsps/bsps-powerpc.rst | 4 ++-- user/bsps/bsps-x86_64.rst | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'user/bsps') diff --git a/user/bsps/bsps-powerpc.rst b/user/bsps/bsps-powerpc.rst index 0ee51d1..365571f 100644 --- a/user/bsps/bsps-powerpc.rst +++ b/user/bsps/bsps-powerpc.rst @@ -94,7 +94,7 @@ Boot via U-Boot The application executable file (ELF file) must be converted to an U-Boot image. Use the following commands: -:: +.. code-block:: shell powerpc-rtems5-objcopy -O binary app.exe app.bin gzip -9 -f -c app.bin > app.bin.gz @@ -102,7 +102,7 @@ image. Use the following commands: Use the following U-Boot commands to boot an application via TFTP download: -:: +.. code-block:: shell tftpboot ${loadaddr} app.img && run loadfdt && bootm ${loadaddr} - ${fdt_addr} ; reset diff --git a/user/bsps/bsps-x86_64.rst b/user/bsps/bsps-x86_64.rst index 3942307..c872734 100644 --- a/user/bsps/bsps-x86_64.rst +++ b/user/bsps/bsps-x86_64.rst @@ -49,7 +49,7 @@ Quick instructions (which may fall out of date) are: Then edit ``Conf/target.txt`` to set: -:: +.. code-block:: ini ACTIVE_PLATFORM = OvmfPkg/OvmfPkgX64.dsc TARGET = DEBUG @@ -67,7 +67,7 @@ You can find the ``OVMF.fd`` file like this as well in the edk2 directory: $ find . -name "*.fd" ./Build/OvmfX64/DEBUG_GCC5/FV/MEMFD.fd - ./Build/OvmfX64/DEBUG_GCC5/FV/OVMF.fd <-- the file we're looking for + ./Build/OvmfX64/DEBUG_GCC5/FV/OVMF.fd # the file we're looking for ./Build/OvmfX64/DEBUG_GCC5/FV/OVMF_CODE.fd ./Build/OvmfX64/DEBUG_GCC5/FV/OVMF_VARS.fd @@ -84,12 +84,12 @@ replacing paths as appropriate. .. code-block:: shell - $ qemu-img create freebsd.img 8G - $ OVMF_LOCATION=/path/to/ovmf/OVMF.fd - $ FREEBSD_MEMSTICK=/path/to/FreeBSD-11.2-amd64-memstick.img - $ qemu-system-x86_64 -m 1024 -serial stdio --bios $OVMF_LOCATION \ - -drive format=raw,file=freebsd.img \ - -drive format=raw,file=$FREEBSD_MEMSTICK + $ qemu-img create freebsd.img 8G + $ OVMF_LOCATION=/path/to/ovmf/OVMF.fd + $ FREEBSD_MEMSTICK=/path/to/FreeBSD-11.2-amd64-memstick.img + $ qemu-system-x86_64 -m 1024 -serial stdio --bios $OVMF_LOCATION \ + -drive format=raw,file=freebsd.img \ + -drive format=raw,file=$FREEBSD_MEMSTICK The first time you do this, continue through and install FreeBSD. `FreeBSD's installation guide may prove useful -- cgit v1.2.3