All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gabriele Zampieri <gabbla.malist@gmail.com>
To: u-boot@lists.denx.de
Subject: [yocto] Support UBI u-boot
Date: Thu, 6 Feb 2020 08:02:18 +0100	[thread overview]
Message-ID: <CAAx3WaDGin=NcQk3X4=MTK8RfTrNO=LvrG+LbAyrWFUnWgU9aQ@mail.gmail.com> (raw)
In-Reply-To: <CAA=hcWSCZROrpDBWV5ZAA+LV6j0cjRSKxyjonOfWS4mCZAtdHg@mail.gmail.com>

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 changes to public repos
(unless them are useful for others).

BR
Gabriele

On Thu, Feb 6, 2020 at 7:35 AM JH <jupiter.hce@gmail.com> wrote:

> Hi,
>
> Sorry for cross-posting, I have been asking for helping solving the
> issue many days ago, but could not get those work.
>
> (1) UBI support
>
> 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] += "mx6ull_14x14_evk_nand_config"
> UBOOT_CONFIG[nand] += "ubi"
> UBOOT_CONFIG[nand] += "ubifs"
>
> But my u-boot.imx-nand still could not support ubi:
>
> => ubi part rootfs
> Unknown command 'ubi' - try 'help'
>
> What I could be missing here?
>
>
> (2) Patch u-boot parameters
>
> I am not clear how you do to change u-boot parameters, it seems to me
> I have to create my own u-boot-imx_2017.03.bbappend and patch files to
>  mx6ullevk.h, to change u-boot parameters of mtdparts, NAND_ROOT_UBI,
> bootcmd, etc based on my configuration.
>
> But Yocto won't allow the patch running unless that the patch is
> committed to the git repository in
> https://source.codeaurora.org/external/imx/uboot-imx.git.
>
> Ideally, I thought all u-boot parameters can be changed in a bbappend
> file, could you advise if it is possible to do that way or not? If so,
> how 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
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
>
> View/Reply Online (#48284):
> https://lists.yoctoproject.org/g/yocto/message/48284
> Mute This Topic: https://lists.yoctoproject.org/mt/71016973/3618237
> Group Owner: yocto+owner at lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  [
> gabbla.malist at gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>

WARNING: multiple messages have this Message-ID (diff)
From: "Gabriele" <gabbla.malist@gmail.com>
To: JH <jupiter.hce@gmail.com>
Cc: Meta Freescale <meta-freescale@yoctoproject.org>,
	 Yocto discussion list <yocto@yoctoproject.org>,
	 Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>,
	 U-Boot Mailing List <u-boot@lists.denx.de>
Subject: Re: [yocto] Support UBI u-boot
Date: Thu, 6 Feb 2020 08:02:18 +0100	[thread overview]
Message-ID: <CAAx3WaDGin=NcQk3X4=MTK8RfTrNO=LvrG+LbAyrWFUnWgU9aQ@mail.gmail.com> (raw)
In-Reply-To: <CAA=hcWSCZROrpDBWV5ZAA+LV6j0cjRSKxyjonOfWS4mCZAtdHg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1885 bytes --]

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 changes to public repos
(unless them are useful for others).

BR
Gabriele

On Thu, Feb 6, 2020 at 7:35 AM JH <jupiter.hce@gmail.com> wrote:

> Hi,
>
> Sorry for cross-posting, I have been asking for helping solving the
> issue many days ago, but could not get those work.
>
> (1) UBI support
>
> 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] += "mx6ull_14x14_evk_nand_config"
> UBOOT_CONFIG[nand] += "ubi"
> UBOOT_CONFIG[nand] += "ubifs"
>
> But my u-boot.imx-nand still could not support ubi:
>
> => ubi part rootfs
> Unknown command 'ubi' - try 'help'
>
> What I could be missing here?
>
>
> (2) Patch u-boot parameters
>
> I am not clear how you do to change u-boot parameters, it seems to me
> I have to create my own u-boot-imx_2017.03.bbappend and patch files to
>  mx6ullevk.h, to change u-boot parameters of mtdparts, NAND_ROOT_UBI,
> bootcmd, etc based on my configuration.
>
> But Yocto won't allow the patch running unless that the patch is
> committed to the git repository in
> https://source.codeaurora.org/external/imx/uboot-imx.git.
>
> Ideally, I thought all u-boot parameters can be changed in a bbappend
> file, could you advise if it is possible to do that way or not? If so,
> how 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
> 
>

[-- Attachment #2: Type: text/html, Size: 2650 bytes --]

  reply	other threads:[~2020-02-06  7:02 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-06  6:34 Support UBI u-boot JH
2020-02-06  6:34 ` JH
2020-02-06  7:02 ` Gabriele Zampieri [this message]
2020-02-06  7:02   ` [yocto] " Gabriele
2020-02-06 10:07   ` JH
2020-02-06 10:07     ` JH
2020-02-06 10:07     ` JH
2020-02-06 10:39     ` JH
2020-02-06 10:39       ` JH
2020-02-06 10:39       ` JH
2020-02-06 11:11     ` Gabriele Zampieri
2020-02-06 11:11       ` Gabriele
2020-02-07  1:55       ` JH
2020-02-07  1:55         ` JH
2020-02-07  1:55         ` JH
2020-02-07 14:13         ` Gabriele Zampieri
2020-02-07 14:13           ` Gabriele
2020-02-09  6:23           ` JH
2020-02-09  6:23             ` JH
2020-02-09  6:23             ` JH
2020-02-09  9:01             ` JH
2020-02-09  9:01               ` JH
2020-02-09  9:01               ` JH
2020-02-09 11:13               ` JH
2020-02-09 11:13                 ` JH
2020-02-09 11:13                 ` JH
2020-02-17  9:51               ` [OE-core] " Quentin Schulz
2020-02-17  9:51                 ` Quentin Schulz
2020-02-17  9:51                 ` [OE-core] " Quentin Schulz
2020-02-06  9:26 ` Andy Pont
2020-02-07  4:32   ` JH
2020-02-07  4:32     ` JH
2020-02-07  4:32     ` JH
2020-02-07  6:43     ` [yocto] " Pelle Windestam
2020-02-07  8:52       ` JH
2020-02-07  8:52         ` JH
2020-02-07  8:52         ` JH
2020-02-07 11:55         ` [OE-core] " Quentin Schulz
2020-02-07 11:55           ` Quentin Schulz
2020-02-07 11:55           ` [OE-core] " Quentin Schulz
2020-02-07 13:01           ` JH
2020-02-07 13:01             ` JH
2020-02-07 13:01             ` [OE-core] " JH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAx3WaDGin=NcQk3X4=MTK8RfTrNO=LvrG+LbAyrWFUnWgU9aQ@mail.gmail.com' \
    --to=gabbla.malist@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.