<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Sprechblasentext Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.SprechblasentextZchn
        {mso-style-name:"Sprechblasentext Zchn";
        mso-style-priority:99;
        mso-style-link:Sprechblasentext;
        font-family:"Tahoma","sans-serif";}
p.BalloonText, li.BalloonText, div.BalloonText
        {mso-style-name:"Balloon Text";
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.E-MailFormatvorlage21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.E-MailFormatvorlage22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.E-MailFormatvorlage23
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hi ting<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Thank you for your reply.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Yes, the link are ok<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">lrwxrwxrwx    1 root     root            21 Jan 22 07:59 mount -> /bin/mount.util-linux<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">but I found out that the helper program under /sbin are not exist.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">I don’t know how I changed util-linux mount to busybox mount applet.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Yes I try to used hob.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Alex<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Von:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> ting.liu@freescale.com [mailto:ting.liu@freescale.com]
<br>
<b>Gesendet:</b> Donnerstag, 22. Januar 2015 10:48<br>
<b>An:</b> Hänel-Baas, Alexander; yocto@yoctoproject.org<br>
<b>Betreff:</b> RE: Ls1021a how i include nfs-utils correcty<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"> </span><span lang="EN-US"><o:p></o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
<a href="mailto:yocto-bounces@yoctoproject.org">yocto-bounces@yoctoproject.org</a> [<a href="mailto:yocto-bounces@yoctoproject.org">mailto:yocto-bounces@yoctoproject.org</a>]
<b>On Behalf Of </b>H?nel-Baas, Alexander<br>
<b>Sent:</b> Wednesday, January 21, 2015 8:31 PM<br>
<b>To:</b> <a href="mailto:yocto@yoctoproject.org">yocto@yoctoproject.org</a><br>
<b>Subject:</b> [yocto] Ls1021a how i include nfs-utils correcty</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal">Hi<span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"> <span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I work with the Layerscape 1021a ,that comes with yocto, i can create the image, dtb und rootfs and start my target.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">But I cannot mount a nfs directory via “mount -t nfs”.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The Error message say:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">“mount: wrong fs type, bad option, bad superblock on 172.16.17.63:/home/sm/myExport,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">       missing codepage or helper program, or other error<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">       (for several filesystems (e.g. nfs, cifs) you might<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">       need a /sbin/mount.<type> helper program)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">       In some cases useful info is found in syslog - try<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">       dmesg | tail or so.” <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><b><i><span lang="EN-US" style="color:#1F497D">[Liu Ting-B28495] check if your mount is linked to mount.util-linux: bin/mount -> /bin/mount.util-linux
</span></i></b><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><b><i><span lang="EN-US" style="color:#1F497D">try to use the mount applet provided by busybox or mount.nfs provided by nfs-utils.</span></i></b><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">And right in /sbin are no nfs helper.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">So i start yocto select my machine (ls1021atwr), the image recipes (lsl-image-core) press the “edit image recipe” button, the “All recipes” button<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">And search for nfs and then I included the nfs-utils manually by activate the checkbox. Then I press the “Build packages” button.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Then yocto print “Building packages…” then shows “Step 2 of 2”<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">and I’m wondering because in the Included Packages  nfs-utils are not shown!!!
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><b><i><span lang="EN-US" style="color:#1F497D">[Liu Ting-B28495] are you using hob?</span></i></b><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">So I go to the “all package tab” an include the nfs-utils again.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">And finally I build the image.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Yocto creates a new image, that can boot, but it has no changes. No nfs-utils are included!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The I press the edit recipes button and look under includet recipies/all recipies and my before selected nfs-utils are NOT included.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">My question are:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">What is going wrong?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">How I added the nfs-utils correctly?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Best regards<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">                Alexander<o:p></o:p></span></p>
<p class="MsoNormal"> <span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</body>
</html>