u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
* u-boot compilation failure for Sifive unmatched board
@ 2023-06-30 17:22 satish kumar
  2023-06-30 18:49 ` Fabio Estevam
  0 siblings, 1 reply; 2+ messages in thread
From: satish kumar @ 2023-06-30 17:22 UTC (permalink / raw)
  To: u-boot
  Cc: Jagan Teki, Vignesh R, Marek, Simon, Tien Fong, Kok Kiang, Raaj,
	Dinesh, Boon Khai, Alif, Teik Heng, Hazim, Jit Loon Lim,
	Sieu Mun Tang

Hi all
This is Satish, compiling u-boot code based on the reference page:
https://github.com/carlosedp/riscv-bringup/blob/master/unmatched/Readme.md#install-toolchain-to-build-kernel

u-boot is failing with following commit id & its tag is
commit d637294e264adfeb29f390dfc393106fd4d41b17 (HEAD, tag: v2022.01)

Last tag working is:
commit b46dd116ce03e235f2a7d4843c6278e1da44b5e1 (HEAD, tag: v2021.04)

Error log is:
scripts/dtc/pylibfdt/libfdt_wrap.c:149:11: fatal error: Python.h: No
such file or directory
 # include <Python.h>
           ^~~~~~~~~~
compilation terminated.

Does that I am using invalid tag or invalid link
please support me to fix the issue.

Thanks & Regards
Satish G

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: u-boot compilation failure for Sifive unmatched board
  2023-06-30 17:22 u-boot compilation failure for Sifive unmatched board satish kumar
@ 2023-06-30 18:49 ` Fabio Estevam
  0 siblings, 0 replies; 2+ messages in thread
From: Fabio Estevam @ 2023-06-30 18:49 UTC (permalink / raw)
  To: satish kumar
  Cc: u-boot, Jagan Teki, Vignesh R, Marek, Simon, Tien Fong,
	Kok Kiang, Raaj, Dinesh, Boon Khai, Alif, Teik Heng, Hazim,
	Jit Loon Lim, Sieu Mun Tang

Hi Satish,

On Fri, Jun 30, 2023 at 3:21 PM satish kumar <gsatish.ldd@gmail.com> wrote:
>
> Hi all
> This is Satish, compiling u-boot code based on the reference page:
> https://github.com/carlosedp/riscv-bringup/blob/master/unmatched/Readme.md#install-toolchain-to-build-kernel
>
> u-boot is failing with following commit id & its tag is
> commit d637294e264adfeb29f390dfc393106fd4d41b17 (HEAD, tag: v2022.01)
>
> Last tag working is:
> commit b46dd116ce03e235f2a7d4843c6278e1da44b5e1 (HEAD, tag: v2021.04)

Please try mainline U-Boot instead and follow the instructions at:
doc/board/sifive/unmatched.rst

> Error log is:
> scripts/dtc/pylibfdt/libfdt_wrap.c:149:11: fatal error: Python.h: No
> such file or directory
>  # include <Python.h>
>            ^~~~~~~~~~
> compilation terminated.

You need to install python package in your host.

For example, on Debian: sudo apt-get install python3-dev

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-30 18:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-30 17:22 u-boot compilation failure for Sifive unmatched board satish kumar
2023-06-30 18:49 ` Fabio Estevam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).