Which parameters are shared by kernel and u-boot?

2020-02-16 Thread JH
Hi, Does kernel and u-boot both need be compiled by u-boot configure files to include bootargs, mtdpars etc? Thank you. Kind regards, - jh

u-boot saveenv corrupted other MTD parttions

2020-02-17 Thread JH
at 0x5e -- 100% complete. Writing to NAND... OK It looks like that saveenv overwritten to the storage, is 0x5e RAM or NAND address? Where was that address defined? How do I know it was the NAND 1m(ubootenv) address? Thank you. Kind regards, - jh

[U-Boot] What is the current U-Boot status to boot from multiple UBI volumes?

2019-10-12 Thread JH
vol_type=static vol_name=rootfs [data-volume] mode=ubi image=rootfs_data vol_id=3 vol_size=10MiB vol_type=dynamic vol_name=data vol_flags=autoresize $ ubinize -o rootfs.img -p 130MiB -m 512 -s 256 volume.conf Thank you. Kind regards, - jh ___ U-Boot

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

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

Support UBI u-boot

2020-02-06 Thread JH
to do it? If not, what is the policy for making parches and commit to the git repository https://source.codeaurora.org/external/imx/uboot-imx.git? Thank you. Kind regards, - jh

Re: [yocto] Support UBI u-boot

2020-02-06 Thread JH
nment I am currently running on Ubuntu 18 host. Thank you Gabriele for great helps. Kind regards, - jh

Re: Support UBI u-boot

2020-02-06 Thread JH
Hi Andy, On 2/6/20, Andy Pont wrote: > JH wrote... > > >>I added NAND and UBIFS support to my Yocto layer machine config file: >> >>UBOOT_CONFIG = "nand" >>UBOOT_CONFIG[nand] += "mx6ull_14x14_evk_config" >>UBOOT_CONFIG[nand] +=

Re: [yocto] Support UBI u-boot

2020-02-08 Thread JH
xternal/imx/uboot-imx.git (commit "8be98e9322040c655b9e5c9fb2c494e002e3fad9") works for ubi or not? Or what I could be missing? Apologize to cc source contributors. Thank you. Kind regards, - jh

Re: [yocto] Support UBI u-boot

2020-02-09 Thread JH
, mtd_get_device_size all in mtdpart.c which can only be enabled by CONFIG_MTD_PARTITIONS: obj-$(CONFIG_MTD_PARTITIONS) += mtdpart.o But that CONFIG_MTD_PARTITIONS is not supported in defconfig. Could anyone advise which branch works for UBI? Thank you. Kind regards, - jh

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/

[U-Boot] Set up NAND UBIFS partitions

2019-09-23 Thread JH
partition every time in rootfs partition boot that is definitely a wrong way. What is a proper way to fix it? Thank you. Kind regards, - jh ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot