[U-Boot] [PATCH v3 0/9] tools: Support building U-Boot host tools for Windows via MSYS2

Tom Rini trini at konsulko.com
Mon Oct 28 13:55:50 UTC 2019


On Mon, Oct 28, 2019 at 08:34:58PM +0800, Bin Meng wrote:

> Hi Tom,
> 
> On Sun, Oct 27, 2019 at 8:20 PM Bin Meng <bmeng.cn at gmail.com> wrote:
> >
> > Per current U-Boot README, building Windows versions of the utilities
> > in the tools directory is done via the MinGW toolchain. But testing
> > shows that it is broken and actually it must have been broken for
> > quite a long time.
> >
> > Fixing MinGW build seems quite amount of work as developers of
> > U-Boot normally work on Linux boxes hence codes written are mainly
> > for Linux or POSIX OSes. We must investigate another way of building
> > host tools for Windows, and now we have MSYS2, a software distro and
> > building platform for Windows, to build POSIX compliant software on
> > Windows using an emulation layer.
> >
> > This small series fixes several issues in current U-Boot tools codes,
> > that only assume a Linux host is used. Cases are using standard C
> > typedefs whenever possbile, or using compiler builtin functions to
> > improve portability, etc.
> >
> > A reST document for how to build U-Boot host tools for both platforms
> > is added.
> >
> > A new CI pipeline configuration for Microsoft Azure Pipelines is added
> > for U-Boot. We rely on it to ensure future host tools for Windows build
> > does not break.
> >
> > I've also investigated putting what we have for now on GitLab-CI and
> > Travis-CI to Azure Pipelines, and it turns out there are several issues
> > that should be fixed. I will post a follow-up patch series for enabling
> > full CI testing on Azure Pipelines.
> >
> > Changes in v3:
> > - new patch: tools: ifwitool: Define __packed when it is not defined
> > - rename to .azure-pipelines.yml
> > - correct typo in the commit summary
> 
> If there is no issue, could we get this series applied in v2020.01-rc1?

Yes, I would like to, and I think I've gotten far enough along with my
account setup that I should be able to test this as well.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191028/92328c07/attachment.sig>


More information about the U-Boot mailing list