From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) by sourceware.org (Postfix) with ESMTPS id 4B99C385842A for ; Sun, 12 Dec 2021 06:31:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 4B99C385842A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=systematicsw.ab.ca Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTP id w7VcmfPzNztEjwIOmm3UrC; Sun, 12 Dec 2021 06:31:52 +0000 Received: from [192.168.1.105] ([68.147.0.90]) by cmsmtp with ESMTP id wIOmmUK0flt4QwIOmmXG4R; Sun, 12 Dec 2021 06:31:52 +0000 X-Authority-Analysis: v=2.4 cv=F+dEy4tN c=1 sm=1 tr=0 ts=61b59758 a=T+ovY1NZ+FAi/xYICV7Bgg==:117 a=T+ovY1NZ+FAi/xYICV7Bgg==:17 a=IkcTkHD0fZMA:10 a=94nOnFI1EgyDtX4ev68A:9 a=QEXdDO2ut3YA:10 Message-ID: <91147532-663c-de8b-4c51-0c3bce05aea9@SystematicSw.ab.ca> Date: Sat, 11 Dec 2021 23:31:51 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Reply-To: cygwin@cygwin.com Subject: Re: transplant uboot-tool(mkenvimage) to cygwin Content-Language: en-CA References: <4d0378ec96d84645a0ee5cf976eacd7d@nokia-sbell.com> To: cygwin@cygwin.com Cc: "Lv, Liang (NSB - CN/Hangzhou)" From: Brian Inglis Organization: Systematic Software In-Reply-To: <4d0378ec96d84645a0ee5cf976eacd7d@nokia-sbell.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4xfHfe68aDKHrchSwgFcsf2QHzsiUu33H2hARupSCT1hKe7s/7OBG8DGdqjzRIQQnVLBWTiJDvvAUP8w7BMfm4djOv1NsjM+EU7OOFCa1lsOCA3DxPwgCk fWbpTHGvpR8U6ILjC157UAsS/OMZwzVu9JVfvJW+aeh+olRnPg6BONY/5i0BIahRftXLm+uP+B3n4EOXg0vuPLbISmLl9UZD/8G4NfRSD9No3K0Nln9ojL5c X-Spam-Status: No, score=-1165.0 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Dec 2021 06:31:55 -0000 On 2021-07-02 03:37, Lv, Liang (NSB - CN/Hangzhou) wrote: > I find Cygwin don't support uboot-tool(mkenvimage) when I want to > transplant the tool, which is used to make image for flash by > python, from linux to windows. > But when I compile the source of uboot-tool from github, there are > many strange questions. > What's the appropriate way to transplant the command to Cygwin? It's a board and device support package which depends on board and device specific features and files including kernels, device trees, root file systems, and firmware in specific locations so can not be built in the Cygwin POSIX environment without adaptation: "The development of U-Boot is closely related to Linux: some parts of the source code originate in the Linux source tree, we have some header files in common, and special provision has been made to support booting of Linux images." You could look at using a Linux emulator like WSL or VM like VirtualBox. You may wish to look at RTEMS and other OSes which use newlib (in common with Cygwin) to develop similar systems. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in binary units and prefixes, physical quantities in SI.]