Re: [OE-core] [yocto] Support UBI u-boot
Quentin Schulz
Hi JH,
On Fri, Feb 07, 2020 at 07:52:35PM +1100, JH wrote: Hi Pelle,This function is not defined. So you look it up in the sources, find where it's defined. Is it in a file which is compiled/included somewhere? Is it surrounded by #ifdef? And by surrounded, I mean the #ifdef can be several thousands of lines above the function definition. In that case, I couldn't find the sources of u-boot-imx (didn't take the time) but from upstream: https://elixir.bootlin.com/u-boot/v2017.03/source/cmd/nand.c#L35 It's surrounded by #if defined(CONFIG_CMD_MTDPARTS) so you need CMD_MTDPARTS to be enabled. Do the same for all the other calls. There's no magic thing, you thus have to look it up yourself most of the time. Even though arguably, that's a mistake from upstream (there should be a dependency on MTDPARTS in Kconfig, anyway...). Quentin
|
|