Re: [OE-core] [yocto] Support UBI u-boot

2020-02-17 Thread Quentin Schulz
Hi JH, On Sun, Feb 09, 2020 at 08:01:15PM +1100, JH wrote: > Changed to https://source.codeaurora.org/external/imx/uboot-imx.git > branch imx_v2018.03_4.14.98_2.0.0_ga, it can now support > CONFIG_CMD_MTDPARTS ind defconfg, all MTDPARTS error gone, but then > 2018.03-r0/git/cmd/ubi.c missed depend

Re: [yocto] Support UBI u-boot

2020-02-09 Thread JH
Anyway, hacked the Makefile and mtdpart.c, finally got it compiled to support UBI. I think some latest branch might fix the problems I haven't tested, if not, I am happy to make patches. Thank you all. Kind regards, - jh On 2/9/20, JH wrote: > Changed to https://source.codeaurora.org/external/

Re: [yocto] Support UBI u-boot

2020-02-09 Thread JH
Changed to https://source.codeaurora.org/external/imx/uboot-imx.git branch imx_v2018.03_4.14.98_2.0.0_ga, it can now support CONFIG_CMD_MTDPARTS ind defconfg, all MTDPARTS error gone, but then 2018.03-r0/git/cmd/ubi.c missed dependencies of del_mtd_partitions, add_mtd_partitions, mtd_get_device_siz

Re: [yocto] Support UBI u-boot

2020-02-08 Thread JH
Hi Gabriele, Thanks for the help. On 2/8/20, Gabriele Zampieri wrote: > If you just want to run the menuconfig run > make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- menuconfig > and > make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- savedefconfig > In any environment. It does not seem the OE /

Re: [yocto] Support UBI u-boot

2020-02-07 Thread Gabriele Zampieri
Hi, On Fri, Feb 7, 2020 at 2:55 AM JH wrote: > Hi Gabriele, > > On 2/6/20, Gabriele Zampieri wrote: > > As far as I know uboot (usually virtual/bootloader) does not have a task > to > > run menuconfig directly from bitbake. > > I usually have a local clone of uboot and I simply run `make [...]

Re: [yocto] Support UBI u-boot

2020-02-06 Thread JH
Hi Gabriele, On 2/6/20, Gabriele Zampieri wrote: > As far as I know uboot (usually virtual/bootloader) does not have a task to > 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

Re: [yocto] Support UBI u-boot

2020-02-06 Thread Gabriele Zampieri
Hi, On Thu, Feb 6, 2020 at 11:07 AM JH wrote: > Thanks Gabriele and Andy, > > On 2/6/20, Gabriele Zampieri wrote: > > Hi JH, > > > > have you tried what we suggested you in your last thread? More > specifically > > adding your defconfig and tweaking it through menuconfig. and then > specify > >

Re: [yocto] Support UBI u-boot

2020-02-06 Thread JH
On 2/6/20, JH wrote: > I think I need to add an appended recipes-bsp to my layer just like I > added the recipes-kernel to my layer to overwrite kernel defconfig, I > need to overwrite u-boot defconfig. > > In kernel, to overwrite defconfig, I run bitbake -c menuconfig > virtual/kernel, how can I

Re: [yocto] Support UBI u-boot

2020-02-06 Thread JH
Thanks Gabriele and Andy, On 2/6/20, Gabriele Zampieri wrote: > Hi JH, > > have you tried what we suggested you in your last thread? More specifically > adding your defconfig and tweaking it through menuconfig. and then specify > the UBOOT_MACHINE. Yes, as I posted in another thread, the MTD, UB

Re: [yocto] Support UBI u-boot

2020-02-06 Thread Gabriele Zampieri
Hi JH, have you tried what we suggested you in your last thread? More specifically adding your defconfig and tweaking it through menuconfig. and then specify the UBOOT_MACHINE. However you should be able to create and apply patches for external repo without any problem and the needs to push your