[yocto] Support UBI u-boot
gabbla.malist at gmail.com
Fri Feb 7 15:13:17 CET 2020
On Fri, Feb 7, 2020 at 2:55 AM JH <jupiter.hce at gmail.com> wrote:
> Hi Gabriele,
> On 2/6/20, Gabriele Zampieri <gabbla.malist at gmail.com> wrote:
> > As far as I know uboot (usually virtual/bootloader) does not have a task
> > run menuconfig directly from bitbake.
> > I usually have a local clone of uboot and I simply run `make [...]
> > menuconfig|savedefconfig` , then I create a patch
> > to add my defconfig (custom_defconfig) to configs/ and specify
> > UBOOT_MACHINE = "custom_defconfig"
> Are there any document to use cross compiler tools to build u-boot-imx
> on Ubuntu 18 host machine? It seems that build environment will not be
> the same as the Yocto build environment I am currently running on
> Ubuntu 18 host.
> I compile uboot using the Yocto generated SDK. Simply
If you just want to run the menuconfig run
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- menuconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- savedefconfig
In any environment.
> Thank you Gabriele for great helps.
> Kind regards,
> - jh
More information about the U-Boot