diff options
author | Park, Aiden <aiden.park@intel.com> | 2019-08-22 21:31:31 +0000 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2019-09-10 14:25:40 +0800 |
commit | 5a8558053dfc11056228aa71359915098aa1c4cb (patch) | |
tree | 5a194cca960a40619d462feb7b221b0996153659 /doc | |
parent | 2495c3a3fd41e64af6fdc86677fb6cd07e44cd6d (diff) | |
download | u-boot-5a8558053dfc11056228aa71359915098aa1c4cb.tar.gz u-boot-5a8558053dfc11056228aa71359915098aa1c4cb.tar.xz u-boot-5a8558053dfc11056228aa71359915098aa1c4cb.zip |
doc: slimbootloader: Update Linux booting steps on QEMU
Add steps to test Linux booting on QEMU with Yocto image.
Signed-off-by: Aiden Park <aiden.park@intel.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/board/intel/slimbootloader.rst | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/board/intel/slimbootloader.rst b/doc/board/intel/slimbootloader.rst index 07c9b126f7..375e676804 100644 --- a/doc/board/intel/slimbootloader.rst +++ b/doc/board/intel/slimbootloader.rst @@ -86,6 +86,28 @@ The PayloadId can be any 4 Bytes value. $ qemu-system-x86_64 -machine q35 -nographic -serial mon:stdio -pflash Outputs/qemu/SlimBootloader.bin +Test Linux booting on QEMU target +--------------------------------- + +Let's use LeafHill (APL) Yocto image for testing. +Download it from http://downloads.yoctoproject.org/releases/yocto/yocto-2.0/machines/leafhill/. + +1. Prepare Yocto hard disk image:: + + $ wget http://downloads.yoctoproject.org/releases/yocto/yocto-2.0/machines/leafhill/leafhill-4.0-jethro-2.0.tar.bz2 + $ tar -xvf leafhill-4.0-jethro-2.0.tar.bz2 + $ ls -l leafhill-4.0-jethro-2.0/binary/core-image-sato-intel-corei7-64.hddimg + +2. Launch Slim Bootloader on QEMU with disk image:: + + $ qemu-system-x86_64 -machine q35 -nographic -serial mon:stdio -pflash Outputs/qemu/SlimBootloader.bin -drive id=mydrive,if=none,file=/path/to/core-image-sato-intel-corei7-64.hddimg,format=raw -device ide-hd,drive=mydrive + +3. Update boot environment values on shell:: + + => setenv bootfile vmlinuz + => setenv bootdev scsi + => boot + Build Instruction for Slim Bootloader for LeafHill (APL) target --------------------------------------------------------------- |