-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fit image introduction breaks building for windows #181
Comments
You would need to install the headers and runtime library files (.so/.dll) for libfdt. I don't know from the top of my head how that works exactly in mingw, but I read that you would download the device-tree-compiler source (https://git.kernel.org/pub/scm/utils/dtc/dtc.git/snapshot/dtc-1.6.1.tar.gz) and build and install libfdt from there:
Not sure if your mingw installation comes with something where you can pull in compiled libraries more easily, but the above should work anyway. |
Hello @apritzel |
So I managed to (cross-)compile a sunxi-fel.exe, from Slackware Linux. I don't know if there is something easier to install libraries, but I manually cross-compiled all required libraries, and then copied the .a and .h files into the SYSROOT. On my install this was under |
Hi,
I'm able to compile and run sunxi-fel on 32bit windows including commit #5541673db88f7a0182738e514665eb908738387a
After that, with the fit image support merge i cant compile anymore. Compiler has issues with fit_image.c and some libfdt references:
fit_image.c: undefined reference to
fdt_getprop
fdt_get_property
fdt_path_offset
fdt_subnode_offset
fdt_get_property
fdt_path_offset
fdt_first_subnode
fdt_get_property
fdt_next_subnode
fdt_get_property
fdt_first_subnode
fdt_subnode_offset
fdt_get_property
Any advice on how to solve this? I'm compiling with mingw-w32 under linux and with msys2 also under windows. same results.
The text was updated successfully, but these errors were encountered: