[OpenWrt-Devel] [PATCH v3 4/7] uboot-tegra: add U-Boot for tegra boards
Tomasz Maciej Nowak
tomek_n at o2.pl
Sun Mar 31 08:33:55 EDT 2019
W dniu 31.03.2019 o 14:12, Tomasz Maciej Nowak pisze:
> W dniu 31.03.2019 o 00:01, Hauke Mehrtens pisze:
>> On 3/28/19 5:20 PM, Tomasz Maciej Nowak wrote:
>>> Add U-Boot for NVIDIA Tegra based boards, with the first being CompuLab
>>> TrimSlice. This is part of initial support for this board.
>>> Signed-off-by: Tomasz Maciej Nowak <tomek_n at o2.pl>
>> U-Boot uses binman for tegra and binman needs swig to build.
>> In mainline U-Boot sunxi, tegra and x86 are using binman for building
>> and depend on swig at build time. On sunxi I patched this dependency
>> out, but I do not know how we should handle this here?
> Thanks for pointing this out. Looks like tegra has already definition in place for building without binman, so deleting 'select BINMAN' from arch/arm/mach-tegra/Kconfig lets the package build without swig.
> After testing on the hardware, I'll send next iteration of the patches.
>> "apt install swig" solves the problem for me, I do not know if we can
>> easily build swig in the tools and if this would be sufficient.
> Following documentation it needs libpcre, but I don't have any insight if we can rely on host library or should provide one in tools. Anyway U-Boot is building fine *for now* without it.
Oh wait, if it links against libpcre, that would definitely require us to provide libpcre in tools, but as mentioned swig is not required, for now.
> BTW Is there somewhere a list of packages installed on buildbots and is the list consistent across all of them?
> 1. http://git.denx.de/?p=u-boot.git;a=blob;f=Makefile;h=c1af9307b38e2b941d651bc316dcdf82e1bff8e6#l1363
> 2. http://swig.org/Doc4.0/Preface.html#Preface_unix_installation
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel