[meta-xilinx] uRamdisk.image.gz

Cai, Chuntian (GE Transportation) chuntian.cai at ge.com
Thu Jul 21 01:47:18 PDT 2016


Hi Rossi,

Could you tell me how to make uRamdisk.image.gz with YOCTO toolchain.

Thanks.


-----Original Message-----
From: Nathan Rossi [mailto:nathan at nathanrossi.com] 
Sent: Tuesday, July 12, 2016 5:22 PM
To: Cai, Chuntian (GE Transportation) <chuntian.cai at ge.com>
Cc: meta-xilinx at lists.yoctoproject.org
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) <chuntian.cai at ge.com> 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=Ei3floKgst6PhYpovUjTVlWwDEc4CVl_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_Xilinx_linux-2Dxlnx.git&d=CwIFaQ&c=IV_clAzoPDE253xZdHuilRgztyh_RiV3wUrLrDQYWSI&r=Ei3floKgst6PhYpovUjTVlWwDEc4CVl_t-gxqM04eQY&m=nq8czs_U5UXDvXM4ciXRICgPDdXYu7ElFGMISg-LHBI&s=x-ZWgWgfN-aaj3mudJuBFjg1KicY-DqWbbIpbJVqwhw&e=
or (ssh)
git clone git at github.com: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-kernel/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:nathan at nathanrossi.com]
> Sent: Monday, July 11, 2016 8:24 PM
> To: Cai, Chuntian (GE Transportation) <chuntian.cai at ge.com>
> Cc: meta-xilinx at lists.yoctoproject.org
> 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) <chuntian.cai at ge.com> 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
>> meta-xilinx at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-xilinx
>>


More information about the meta-xilinx mailing list