Hi, If you are editing the rootfs image recipe by hand then add:
> IMAGE_INSTALL_append += "python3-core" Best regards, Oleg Dzhimiev Electronics Engineer phone: +1 801 783 5555 x124 Elphel, Inc. On 25 August 2016 at 03:17, Cai, Chuntian (GE Transportation) < [email protected]> wrote: > Hi, > Could you tell me how to setup python to target rootfs? > > I need python 3.5 for ZC706 board. > > Thanks. > > > -----Original Message----- > From: da Silva Filho, Josias [mailto:[email protected]] > Sent: Thursday, August 04, 2016 10:49 AM > To: Cai, Chuntian (GE Transportation) <[email protected]>; Nathan Rossi > <[email protected]> > Cc: [email protected] > Subject: EXT: RE: How to modify the linux source. > > http://www.yoctoproject.org/docs/latest/dev-manual/dev- > manual.html#using-devtool-in-your-workflow > > Regards, > Josias > ________________________________________ > From: Cai, Chuntian (GE Transportation) [[email protected]] > Sent: Wednesday, August 03, 2016 9:54 PM > To: da Silva Filho, Josias; Nathan Rossi > Cc: [email protected] > Subject: RE: How to modify the linux source. > > Hi, > If you have user manual for devtool? > I do not understand the command, but it works. > > > > -----Original Message----- > From: da Silva Filho, Josias [mailto:[email protected]] > Sent: Tuesday, August 02, 2016 9:40 PM > To: Cai, Chuntian (GE Transportation); Nathan Rossi > Cc: [email protected] > Subject: EXT: RE: How to modify the linux source. > > Try this: > > $ devtool modify -s virtual/kernel <path_you_want_the_kernel_source_to_be> > > Then modify the kernel source in that path. Finally, do: > > $ bitbake virtual/kernel > > Regards, > > Josias Inacio da Silva Filho | Software Engineer 2 [email protected] | > 3500 Carling Avenue | Ottawa, ON K2H 8E9 Canada > > -----Original Message----- > From: [email protected] [mailto:meta-xilinx-bounces@ > yoctoproject.org] On Behalf Of Cai, Chuntian (GE Transportation) > Sent: Tuesday, August 02, 2016 5:54 AM > To: Nathan Rossi > Cc: [email protected] > Subject: [meta-xilinx] How to modify the linux source. > > Hi , > I want modifid the the source :driver/hwmon/pmbus/ucd9000.c > > Then I run bitbake linux-xlnx -c build > > But there have no any response, jut do nothing. > > How to modify kernel source and apply it to build new image? > > Thanks. > > > > -----Original Message----- > From: Nathan Rossi [mailto:[email protected]] > Sent: Wednesday, July 27, 2016 7:02 PM > To: Cai, Chuntian (GE Transportation) > Cc: Oleg K Dzhimiev; [email protected] > Subject: EXT: Re: How to write .bb file for package > > On Wed, Jul 27, 2016 at 7:09 PM, Cai, Chuntian (GE Transportation) < > [email protected]> wrote: > > > > Memtestrer: It is an open source tool. You can download it from > > https://urldefense.proofpoint.com/v2/url?u=http-3A__pyropus.ca_softwar > > e_memtester_&d=CwIFaQ&c=IV_clAzoPDE253xZdHuilRgztyh_RiV3wUrLrDQYWSI&r= > > Ei3floKgst6PhYpovUjTVlWwDEc4CVl_t-gxqM04eQY&m=8lfyAOv7H7ObiGkCy_SYZA3e > > 3R1dDF9NJw3fznpyOLc&s=M2jFqhb5o4yMdze1TgWXb8HYhtrFHAxqGhZyMYRuPSc&e= > > > > > > > > I added memtest folder in meta-custom/recipes-example/memtest > > > > It seems bitbake can detect this change and try to install it. > > > > > > > > But seems bitbake could not find the Makefile for install it. > > > > > > > > The attached file are memtester_4.3.bb and local.conf > > A memtester recipe (for the same project you mention) is already available > in meta-openembedded/meta-oe. > > https://layers.openembedded.org/layerindex/branch/master/ > recipes/?q=memtester > > The recipe file is here: > http://cgit.openembedded.org/meta-openembedded/tree/meta- > oe/recipes-benchmark/memtester/memtester_4.3.0.bb. > > It appears that for that recipe there is some special configuration, a > patch to the Makefile as well as a custom "do_install" task. > > On a side note. General Yocto/OE related questions (like this one) are > better asked on the Yocto mailing list (https://www.yoctoproject.org/ > tools-resources/community/mailing-lists). > > Regards, > Nathan > > > > > > > > > Please help check it. > > > > > > > > From: Oleg K Dzhimiev [mailto:[email protected]] > > Sent: Saturday, July 23, 2016 1:37 AM > > To: Cai, Chuntian (GE Transportation) > > Cc: Nathan Rossi; [email protected] > > Subject: EXT: Re: [meta-xilinx] How to install mtd-utils on rootfs > > > > > > > > 1. do_compile is not the last task for rootfs - should be do_image. > > > > Run these (the 2nd line is without command defined - the recipe will run > through all of the tasks): > > > > bitbake core-image-minimal -c configure -f > > > > bitbake core-image-minimal > > > > > > > > 2a. The compiled mtd-utils programs go to: > > poky/build/tmp/work/<some-long-name>/mtd-utils/<mtd-utils-version>/ima > > ge/usr/sbin/ > > > > 2b. If the result rootfs is *.tar.gz - check the build date then just > > open the archive and see if flashcp is in /usr/sbin/ > > > > > > > > On 22 July 2016 at 05:58, Cai, Chuntian (GE Transportation) < > [email protected]> wrote: > > > > How about tmp/sysroots dir ? it is used to generate rootfs? > > > > > > > > If mtd-util properly installed ,I should found flashcp here? > > > > > > > > Thanks. > > > > > > > > > > > > > > > > From: Oleg K Dzhimiev [mailto:[email protected]] > > Sent: Friday, July 22, 2016 2:16 PM > > To: Cai, Chuntian (GE Transportation) > > Cc: Nathan Rossi; [email protected] > > Subject: EXT: Re: [meta-xilinx] How to install mtd-utils on rootfs > > > > > > > > 1. To poky/meta/recipes-core/images/core-image-minimal.bb add: > > > > > > > > IMAGE_INSTALL_append += " \ > > > > mtd-utils \ > > > > mtd-utils-misc \ > > > > " > > > > > > > > 2. Or create a core-image-minimal.bbappend file in the meta-xilinx layer > and put the text above there. > > > > > > > > 3. Or create your own recipe - example: core-image-elphel393.bb > > > > > > > > > > > > On 21 July 2016 at 04:06, Cai, Chuntian (GE Transportation) < > [email protected]> wrote: > > > > Hi Rossi, > > > > I want use mtd-utils to test MTD dirver, could you tell me how to > install it when I build rootfs. > > > > My board is ZC706 and I use bitbake core-image-minimal make > > uboot,uimage and dtb > > > > Thanks. > > > > > > -----Original Message----- > > From: Nathan Rossi [mailto:[email protected]] > > Sent: Thursday, July 21, 2016 5:14 PM > > To: Cai, Chuntian (GE Transportation) <[email protected]> > > Cc: [email protected] > > Subject: EXT: Re: uRamdisk.image.gz > > > > Hi, > > > > "uramdisk.image.gz" is just another name for "*.cpio.gz.u-boot" (or any > initramfs/initrd format e.g. ext. Which is gzipped and wrapped with the > u-boot image header). > > > > All meta-xilinx machines are setup by default to generate the > *.cpio.gz.u-boot for the images you build. You can get other formats like > ext.gz.u-boot, etc by adding them to IMAGE_FSTYPES ( > http://git.yoctoproject.org/cgit/cgit.cgi/meta-xilinx/tree/docs/Rootfs). > > > > If you want it named as "uramdisk.image.gz" renaming it to that when > writing it to the sd card/etc is sufficient. > > > > Regards, > > Nathan > > > > On Thu, Jul 21, 2016 at 6:47 PM, Cai, Chuntian (GE Transportation) < > [email protected]> wrote: > > > Hi Rossi, > > > > > > Could you tell me how to make uRamdisk.image.gz with YOCTO toolchain. > > > > > > Thanks. > > > > > > > > > -----Original Message----- > > > From: Nathan Rossi [mailto:[email protected]] > > > Sent: Tuesday, July 12, 2016 5:22 PM > > > To: Cai, Chuntian (GE Transportation) <[email protected]> > > > Cc: [email protected] > > > Subject: EXT: Re: [meta-xilinx] I could not download linux-xlnx.git > from YOCTO. > > > > > > On Tue, Jul 12, 2016 at 11:59 AM, Cai, Chuntian (GE Transportation) < > [email protected]> wrote: > > >> Hi Rossi, > > >> > > >> I am strange, I can download all the package except for > linux-xlnx-4.4-xilinx.git package with current proxy setting. > > >> > > > > > > Since you are using poky, I suspect you might be getting a large > percentage of your sources from the poky source mirror. This is fine, but > it means that you only need to do http downloads even for some of the > recipes that have git sources. > > > > > >> I can open the website https://urldefense.proofpoint. > com/v2/url?u=https-3A__github.com_Xilinx_linux-2Dxlnx&d=CwIFaQ&c=IV_ > clAzoPDE253xZdHuilRgztyh_RiV3wUrLrDQYWSI&r=Ei3floKgst6PhYpovUjTVlWwDEc4CV > l_t-gxqM04eQY&m=nq8czs_U5UXDvXM4ciXRICgPDdXYu7ElFGMISg-LHBI&s=g9Dyxs- > 86wE5plyauMqhKrxK8lVmDN8OaMc279mWldE&e= from IE & firefox. > > >> > > >> I setted proxy setting in the ~./bashrc. > > > > > > I have seen issues with proxies before for kernel repos, this is due > to the large pack files that git attempts to retrieve. And the delayed time > it takes to compress the pack files on the remote which some proxies > timeout on. Sometimes using a different protocol works better that others. > Try to clone the repo outside of yocto. Also try the different protocols if > one fails. e.g. > > > > > > git clone > > > https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Xili > > > nx > > > _linux-2Dxlnx.git&d=CwIFaQ&c=IV_clAzoPDE253xZdHuilRgztyh_RiV3wUrLrDQ > > > YW > > > SI&r=Ei3floKgst6PhYpovUjTVlWwDEc4CVl_t-gxqM04eQY&m=nq8czs_U5UXDvXM4c > > > iX > > > RICgPDdXYu7ElFGMISg-LHBI&s=x-ZWgWgfN-aaj3mudJuBFjg1KicY-DqWbbIpbJVqw > > > hw > > > &e= > > > or (ssh) > > > git clone [email protected]:Xilinx/linux-xlnx.git > > > or (git) > > > git clone git://github.com/Xilinx/linux-xlnx.git > > > > > > If you find that one of these protocols work, change the protocol > > > value in the linux-xlnx.inc recipe to use it > > > (http://git.yoctoproject.org/cgit/cgit.cgi/meta-xilinx/tree/recipes- > > > ke rnel/linux/linux-xlnx.inc#n12), setting the "protocol" value to > > > either https, ssh or git. > > > > > > If you have no success with that, your easiest solution is to pull > down the repo with proper access to the public internet, and bring it into > your network (if permitted). Although I have limited understanding of your > companies IT policies, so it would be in your best interest to contact your > companies IT department for assistance, as this is an issue with the > service they are maintaining for you. > > > > > > If you do get the repo cloned outside of yocto, you can bring the repo > in manually. The following should work assuming you replace the paths with > those appropriate to your setup. > > > > > > git clone --mirror <path to local linux-xlnx clone> <path to yocto > > > build>/downloads/git2/github.com.Xilinx.linux-xlnx.git > > > > > >> > > >> > > >> Can I change fetch method from git download method to file download > method? And how to modify? Because I can download > linux-xlnx-4.4-xilinx.git with IE. > > > > > > Due to the way the recipe functions it relies on the git repository. > > > So it would require some work to make it operate with just the working > tree source that you can get when downloading the zip from github. > > > > > > Regards, > > > Nathan > > > > > >> > > >> > > >> Thanks. > > >> > > >> > > >> -----Original Message----- > > >> From: Nathan Rossi [mailto:[email protected]] > > >> Sent: Monday, July 11, 2016 8:24 PM > > >> To: Cai, Chuntian (GE Transportation) <[email protected]> > > >> Cc: [email protected] > > >> Subject: EXT: Re: [meta-xilinx] I could not download linux-xlnx.git > from YOCTO. > > >> > > >> Hi, > > >> > > >> Looks like you might be stuck inside an internal corporate network > which doesn't not allow direct access to the public internet. Which is why > you are getting a "Connection reset by peer" error from git. You will need > to figure out what setup you have for your company and then configure > access to the internet via a proxy or pre-download the sources and transfer > them to your internal machine. > > >> > > >> Here is a some info for configuring Yocto to handle some of the > common proxies https://wiki.yoctoproject.org/ > wiki/Working_Behind_a_Network_Proxy. > > >> If you have already setup the proxy for http, make sure you have also > setup https, ftp, ssh and git proxy configurations. The linux-xlnx recipe > specifically relies on https access to github.com. > > >> > > >> Regards, > > >> Nathan > > >> > > >> On Mon, Jul 11, 2016 at 5:27 PM, Cai, Chuntian (GE Transportation) < > [email protected]> wrote: > > >>> I setup YOCTO compilation system I could downloand almost package > > >>> but failed wirh downloading linux-xlnx-4.4-xilinx.git. > > >>> > > >>> > > >>> 0: linux-xlnx-4.4-xilinx+gitAUTOINC+89cc643aff-r0 do_fetch (pid > > >>> 28925) > > >>> > > >>> when I run bitbake core-image-x11 second tims, It always wait on > > >>> this action. > > >>> > > >>> below picture is error output when I first run bitbake > > >>> core-image-x11 last friday. > > >>> > > >>> > > >>> > > >>> > > >>> > > >>> Xilinx > > >>> Support > > >>> | Xilinx Service Portal | Xilinx User Community Forums > > >>> > > >>> > > >>> > > >>> > > >>> > > >>> This email and any attachments are intended for the sole use of > > >>> the named > > >>> recipient(s) and contain(s) confidential information that may be > > >>> proprietary, privileged or copyrighted under applicable law. If > > >>> you are not the intended recipient, do not read, copy, or forward > > >>> this email message or any attachments. Delete this email message and > any attachments immediately. > > >>> > > >>> > > >>> > > >>> This email and any attachments are intended for the sole use of > > >>> the named > > >>> recipient(s) and contain(s) confidential information that may be > > >>> proprietary, privileged or copyrighted under applicable law. If > > >>> you are not the intended recipient, do not read, copy, or forward > > >>> this email message or any attachments. Delete this email message and > any attachments immediately. > > >>> > > >>> > > >>> -- > > >>> _______________________________________________ > > >>> meta-xilinx mailing list > > >>> [email protected] > > >>> https://lists.yoctoproject.org/listinfo/meta-xilinx > > >>> > > -- > > _______________________________________________ > > meta-xilinx mailing list > > [email protected] > > https://lists.yoctoproject.org/listinfo/meta-xilinx > > > > > > > > > > > > -- > > > > Best regards, > > Oleg Dzhimiev > > Electronics Engineer > > phone: +1 801 783 5555 x124 > > Elphel, Inc. > > > > > > > > > > > > -- > > > > Best regards, > > Oleg Dzhimiev > > Electronics Engineer > > phone: +1 801 783 5555 x124 > > Elphel, Inc. > -- > _______________________________________________ > meta-xilinx mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/meta-xilinx > -- > _______________________________________________ > meta-xilinx mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/meta-xilinx
-- _______________________________________________ meta-xilinx mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-xilinx
