X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com 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 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 Subject: Re: transplant uboot-tool(mkenvimage) to cygwin Content-Language: en-CA References: <4d0378ec96d84645a0ee5cf976eacd7d AT nokia-sbell DOT com> To: cygwin AT cygwin DOT com From: Brian Inglis Organization: Systematic Software In-Reply-To: <4d0378ec96d84645a0ee5cf976eacd7d@nokia-sbell.com> 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 AT cygwin DOT 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: , Reply-To: cygwin AT cygwin DOT com Cc: "Lv, Liang \(NSB - CN/Hangzhou\)" Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" 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.] -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple