[OE-core] [PATCH v2][fido 3/4] runqemu-internal: add support to boot arm64 qemu target via NFS
Jagadeesh Krishnanjanappa
jkrishnanjanappa at mvista.com
Tue Jun 23 10:57:40 UTC 2015
ping.
Regards,
Jagadeesh
On Tue, Jun 16, 2015 at 4:18 PM, Jagadeesh Krishnanjanappa <
jkrishnanjanappa at mvista.com> wrote:
> Add required boot parameters inorder to boot arm64 qemu
> target via NFS
>
> Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa at mvista.com>
> ---
> scripts/runqemu-internal | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
> index dc0e053..fb51754 100755
> --- a/scripts/runqemu-internal
> +++ b/scripts/runqemu-internal
> @@ -389,6 +389,15 @@ if [ "$MACHINE" = "qemuarm64" ]; then
> # qemu-system-aarch64 only support '-machine virt -cpu
> cortex-a57' for now
> QEMUOPTIONS="$QEMU_NETWORK_CMD -machine virt -cpu cortex-a57
> $ROOTFS_OPTIONS $QEMU_UI_OPTIONS"
> fi
> + if [ "$FSTYPE" = "nfs" ]; then
> + if [ "$NFS_SERVER" = "192.168.7.1" -a ! -d "$NFS_DIR" ]; then
> + echo "Error: NFS mount point $ROOTFS doesn't exist"
> + cleanup
> + return 1
> + fi
> + KERNCMDLINE="root=/dev/nfs
> nfsroot=$NFS_SERVER:$NFS_DIR,$UNFS_OPTS rw console=ttyAMA0,38400
> mem=$QEMU_MEMORY highres=off $KERNEL_NETWORK_CMD"
> + QEMUOPTIONS="$QEMU_NETWORK_CMD -machine virt -cpu cortex-a57
> $QEMU_UI_OPTIONS"
> + fi
> fi
>
>
> --
> 1.9.1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150623/94c2a906/attachment-0002.html>
More information about the Openembedded-core
mailing list