<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.yoctoproject.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Javier+Zepeda</id>
	<title>Yocto Project - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.yoctoproject.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Javier+Zepeda"/>
	<link rel="alternate" type="text/html" href="https://wiki.yoctoproject.org/wiki/Special:Contributions/Javier_Zepeda"/>
	<updated>2026-04-13T09:57:02Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.5</generator>
	<entry>
		<id>https://wiki.yoctoproject.org/wiki/index.php?title=Yocto_QEMU_UNFS_test_procedure&amp;diff=32030</id>
		<title>Yocto QEMU UNFS test procedure</title>
		<link rel="alternate" type="text/html" href="https://wiki.yoctoproject.org/wiki/index.php?title=Yocto_QEMU_UNFS_test_procedure&amp;diff=32030"/>
		<updated>2017-09-29T21:44:52Z</updated>

		<summary type="html">&lt;p&gt;Javier Zepeda: /* == */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:Yocto QEMU UNFS test case procedure}}&lt;br /&gt;
&lt;br /&gt;
==Steps to run the NFS test case for all qemu machines==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;[[Prerequisites:]]&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Have a clone of poky &lt;br /&gt;
&amp;lt;pre&amp;gt;$ git clone git://git.yoctoproject.org/poky&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Checkout the correct hash.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ git checkout    and/or   $ git log&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Download the &amp;quot;kernel&amp;quot; file (&amp;lt;ZIMAGE&amp;gt;.bin) and the image compressed file (&amp;lt;IMAGE NAME&amp;gt;.tar.bz2) from autobilder link.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;[[Steps:]]&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Open a terminal and place in poky/ directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ cd $PATH/poky&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Source the environment:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ source oe-init-build-env build&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;$ MACHINE=&amp;lt;MACHINE_TESTED&amp;gt; on conf/local.conf &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Place the downloaded kernel (&amp;lt;ZIMAGE&amp;gt;.bin) and the &amp;lt;IMAGE NAME&amp;gt;.tar.bz2 file after &amp;quot;build&amp;quot; directory, something like &amp;quot;/home/&amp;lt;YOURUSER&amp;gt;/poky/build/tmp/deploy/images/qemu&amp;lt;MACHINE&amp;gt;/&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note 1:&#039;&#039;&#039; First you need to create manually those directories in your system.&lt;br /&gt;
a) In poky directory create tmp directory (&amp;lt;code&amp;gt;~/poky/build$ mkdir tmp&amp;lt;/code&amp;gt;); b) Then access to tpm (&amp;lt;code&amp;gt;$ cd tmp &amp;lt;/code&amp;gt;); c) Create deploy directory (&amp;lt;code&amp;gt;$ mkdir deploy &amp;lt;/code&amp;gt;); d) Access to deploy directory (&amp;lt;code&amp;gt;$ cd deploy &amp;lt;/code&amp;gt;); e) Create images directory (&amp;lt;code&amp;gt;$ mkdir images &amp;lt;/code&amp;gt;); f) Access to images directory (&amp;lt;code&amp;gt; $ cd images &amp;lt;/code&amp;gt;); g) create your qemu folder, for example if you are testing qemux86 (&amp;lt;code&amp;gt;$ mkdir qemux86&amp;lt;/code&amp;gt; ); h) Access  your qemu folder, for instance to qemux86 directory (&amp;lt;code&amp;gt; $ cd qemux86 &amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note 2:&#039;&#039;&#039; you can avoid to download and copy here the files and directly download in this path, typing in this path the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ wget /&amp;lt;WEB_ADRESS_OF_THE_KERNEL_IMAGE&amp;gt;/&amp;lt;ZIMAGE&amp;gt;.bin&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;$ wget /&amp;lt;WEB_ADRESS_OF_THE_IMAGE&amp;gt;/&amp;lt;IMAGE NAME&amp;gt;.tar.bz2 &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Go to build directory:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ cd /home/&amp;lt;YOURUSER&amp;gt;/poky/build&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. Extract the SDK, typing in a terminal the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ runqemu-extract-sdk tmp/deploy/images/qemux&amp;lt;MACHINE&amp;gt;/&amp;lt;IMAGE NAME&amp;gt;.tar.bz2 rootfs&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note 3:&#039;&#039;&#039; &amp;quot;rootfs&amp;quot; is referring to a directory going to be created, you can choose any name as you want.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note 4:&#039;&#039;&#039; is it possible that the system will ask you to bitbake the system first. If so, then type in the terminal &amp;lt;code&amp;gt;$ bitbake meta-ide-support&amp;lt;/code&amp;gt; (This process would take a while). Then type again in a terminal: &amp;lt;code&amp;gt;$ runqemu-extract-sdk tpm/deploy/images/qemux&amp;lt;MACHINE&amp;gt;/&amp;lt;IMAGE NAME&amp;gt;.tar.bz2 rootfs &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7. Start the qemu machine with NFS:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ runqemu nfs tmp/deploy/images/qemux&amp;lt;MACHINE&amp;gt;/&amp;lt;ZIMAGE&amp;gt;.bin rootfs&amp;lt;/pre&amp;gt;&lt;br /&gt;
qemu machine should be launch after this command.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note 5:&#039;&#039;&#039;if you get the error:&lt;br /&gt;
================================================================================================================&lt;br /&gt;
Error: neither rpcbind nor portmap appear to be running&lt;br /&gt;
Please install and start one of these services first&lt;br /&gt;
================================================================================================================&lt;br /&gt;
 for recent Ubuntu hosts, run:&lt;br /&gt;
  $sudo apt-get install rpcbind&lt;br /&gt;
 for Fedora:  &lt;br /&gt;
  $ sudo dnf install rpcbind&lt;br /&gt;
  &lt;br /&gt;
Then add OPTIONS=&amp;quot;-i -w&amp;quot; to the configuration file into Ubuntu machines: /etc/default/rpcbind or Fedora machines: /etc/sysconfig/rpcbind and run&lt;br /&gt;
  Ubuntu: sudo service portmap restart&lt;br /&gt;
  Fedora: sudo systemctl restart rpcbind &lt;br /&gt;
and run again step 7.&lt;br /&gt;
&lt;br /&gt;
8. Finally, from qemu open a terminal and type &lt;br /&gt;
&amp;lt;pre&amp;gt;$ poweroff&amp;lt;/pre&amp;gt;&lt;br /&gt;
to exit.&lt;br /&gt;
&lt;br /&gt;
Contributing to any of the yoctoproject.org repositories, including qa-tools, can be achieved with the [[Poky Contributions]] guidelines.&lt;/div&gt;</summary>
		<author><name>Javier Zepeda</name></author>
	</entry>
	<entry>
		<id>https://wiki.yoctoproject.org/wiki/index.php?title=Yocto_QEMU_UNFS_test_procedure&amp;diff=32029</id>
		<title>Yocto QEMU UNFS test procedure</title>
		<link rel="alternate" type="text/html" href="https://wiki.yoctoproject.org/wiki/index.php?title=Yocto_QEMU_UNFS_test_procedure&amp;diff=32029"/>
		<updated>2017-09-29T21:42:42Z</updated>

		<summary type="html">&lt;p&gt;Javier Zepeda: /* == */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:Yocto QEMU UNFS test case procedure}}&lt;br /&gt;
&lt;br /&gt;
==Steps to run the NFS test case for all qemu machines==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;[[Prerequisites:]]&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Have a clone of poky &lt;br /&gt;
&amp;lt;pre&amp;gt;$ git clone git://git.yoctoproject.org/poky&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Checkout the correct hash.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ git checkout    and/or   $ git log&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Download the &amp;quot;kernel&amp;quot; file (&amp;lt;ZIMAGE&amp;gt;.bin) and the image compressed file (&amp;lt;IMAGE NAME&amp;gt;.tar.bz2) from autobilder link.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;[[Steps:]]&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Open a terminal and place in poky/ directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ cd $PATH/poky&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Source the environment:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ source oe-init-build-env build&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;$ MACHINE=&amp;lt;MACHINE_TESTED&amp;gt; on conf/local.conf &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Place the downloaded kernel (&amp;lt;ZIMAGE&amp;gt;.bin) and the &amp;lt;IMAGE NAME&amp;gt;.tar.bz2 file after &amp;quot;build&amp;quot; directory, something like &amp;quot;/home/&amp;lt;YOURUSER&amp;gt;/poky/build/tmp/deploy/images/qemu&amp;lt;MACHINE&amp;gt;/&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note 1:&#039;&#039;&#039; First you need to create manually those directories in your system.&lt;br /&gt;
a) In poky directory create tmp directory (&amp;lt;code&amp;gt;~/poky/build$ mkdir tmp&amp;lt;/code&amp;gt;); b) Then access to tpm (&amp;lt;code&amp;gt;$ cd tmp &amp;lt;/code&amp;gt;); c) Create deploy directory (&amp;lt;code&amp;gt;$ mkdir deploy &amp;lt;/code&amp;gt;); d) Access to deploy directory (&amp;lt;code&amp;gt;$ cd deploy &amp;lt;/code&amp;gt;); e) Create images directory (&amp;lt;code&amp;gt;$ mkdir images &amp;lt;/code&amp;gt;); f) Access to images directory (&amp;lt;code&amp;gt; $ cd images &amp;lt;/code&amp;gt;); g) create your qemu folder, for example if you are testing qemux86 (&amp;lt;code&amp;gt;$ mkdir qemux86&amp;lt;/code&amp;gt; ); h) Access  your qemu folder, for instance to qemux86 directory (&amp;lt;code&amp;gt; $ cd qemux86 &amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note 2:&#039;&#039;&#039; you can avoid to download and copy here the files and directly download in this path, typing in this path the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ wget /&amp;lt;WEB_ADRESS_OF_THE_KERNEL_IMAGE&amp;gt;/&amp;lt;ZIMAGE&amp;gt;.bin&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;$ wget /&amp;lt;WEB_ADRESS_OF_THE_IMAGE&amp;gt;/&amp;lt;IMAGE NAME&amp;gt;.tar.bz2 &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Go to build directory:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ cd /home/&amp;lt;YOURUSER&amp;gt;/poky/build&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. Extract the SDK, typing in a terminal the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ runqemu-extract-sdk tmp/deploy/images/qemux&amp;lt;MACHINE&amp;gt;/&amp;lt;IMAGE NAME&amp;gt;.tar.bz2 rootfs&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note 3:&#039;&#039;&#039; &amp;quot;rootfs&amp;quot; is referring to a directory going to be created, you can choose any name as you want.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note 4:&#039;&#039;&#039; is it possible that the system will ask you to bitbake the system first. If so, then type in the terminal &amp;lt;code&amp;gt;$ bitbake meta-ide-support&amp;lt;/code&amp;gt; (This process would take a while). Then type again in a terminal: &amp;lt;code&amp;gt;$ runqemu-extract-sdk tpm/deploy/images/qemux&amp;lt;MACHINE&amp;gt;/&amp;lt;IMAGE NAME&amp;gt;.tar.bz2 rootfs &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7. Start the qemu machine with NFS:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ runqemu nfs tmp/deploy/images/qemux&amp;lt;MACHINE&amp;gt;/&amp;lt;ZIMAGE&amp;gt;.bin rootfs&amp;lt;/pre&amp;gt;&lt;br /&gt;
qemu machine should be launch after this command.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note 5:&#039;&#039;&#039;if you get the error:&lt;br /&gt;
================================================================================================================&lt;br /&gt;
Error: neither rpcbind nor portmap appear to be running&lt;br /&gt;
Please install and start one of these services first&lt;br /&gt;
================================================================================================================&lt;br /&gt;
 for recent Ubuntu hosts, run:&lt;br /&gt;
  $sudo apt-get install rpcbind&lt;br /&gt;
 for Fedora:  &lt;br /&gt;
  $ sudo dnf install rpcbind&lt;br /&gt;
  &lt;br /&gt;
Then add OPTIONS=&amp;quot;-i -w&amp;quot; for Ubuntu machines /etc/default/rpcbind Fedora machines: /etc/sysconfig/rpcbind and run&lt;br /&gt;
  Ubuntu: sudo service portmap restart&lt;br /&gt;
  Fedora: sudo systemctl restart rpcbind &lt;br /&gt;
and run again step 7.&lt;br /&gt;
&lt;br /&gt;
8. Finally, from qemu open a terminal and type &lt;br /&gt;
&amp;lt;pre&amp;gt;$ poweroff&amp;lt;/pre&amp;gt;&lt;br /&gt;
to exit.&lt;br /&gt;
&lt;br /&gt;
Contributing to any of the yoctoproject.org repositories, including qa-tools, can be achieved with the [[Poky Contributions]] guidelines.&lt;/div&gt;</summary>
		<author><name>Javier Zepeda</name></author>
	</entry>
</feed>