/[gentoo]/xml/htdocs/proj/en/base/embedded/handbook/cross-qemu.xml
Gentoo

Diff of /xml/htdocs/proj/en/base/embedded/handbook/cross-qemu.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.7 Revision 1.8
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/base/embedded/handbook/cross-qemu.xml,v 1.7 2013/12/11 07:16:48 vapier Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/base/embedded/handbook/cross-qemu.xml,v 1.8 2013/12/11 07:18:38 vapier Exp $ -->
4 4
5<!-- The content of this document is licensed under the CC-BY-SA license --> 5<!-- The content of this document is licensed under the CC-BY-SA license -->
6<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 6<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
7 7
8<sections> 8<sections>
80# <i>mkdir -p usr/portage</i> 80# <i>mkdir -p usr/portage</i>
81<comment>(Mount the required directories)</comment> 81<comment>(Mount the required directories)</comment>
82# <i>mount --bind /usr/portage usr/portage</i> 82# <i>mount --bind /usr/portage usr/portage</i>
83# <i>mount --bind /proc proc</i> 83# <i>mount --bind /proc proc</i>
84# <i>mount --bind /sys sys</i> 84# <i>mount --bind /sys sys</i>
85# <i>mount --bind /dev dev</i>
86# <i>mount --bind /dev/pts dev/pts</i>
85<comment>(Chroot into the environment)</comment> 87<comment>(Chroot into the environment)</comment>
86# <i>chroot . /bin/busybox mdev -s</i> 88# <i>chroot . /bin/busybox mdev -s</i>
87# <i>chroot . /bin/bash --login</i> 89# <i>chroot . /bin/bash --login</i>
88<comment>(Unmount stuff when not in use)</comment> 90<comment>(Unmount stuff when not in use)</comment>
89# <i>umount usr/portage</i> 91# <i>umount usr/portage sys proc dev/pts dev</i>
90# <i>umount sys</i>
91# <i>umount proc</i>
92</pre> 92</pre>
93 93
94<p> 94<p>
95Sometimes we'll need to pass additional args to QEMU (cpu model), so we'll 95Sometimes we'll need to pass additional args to QEMU (cpu model), so we'll
96create a wrapper script that'll call QEMU with it. 96create a wrapper script that'll call QEMU with it.

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20