All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dirk Behme <dirk.behme@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] mxsboot vs. imximage (was: Re: [PATCH 4/8] mxsboot: stop referring to i.MX28 as this ought to work for all i.MXS SoCs)
Date: Sat, 02 Jun 2012 09:06:10 +0200	[thread overview]
Message-ID: <4FC9BB62.3060404@googlemail.com> (raw)
In-Reply-To: <201205300749.24350.marex@denx.de>

Hi Marek,

On 30.05.2012 07:49, Marek Vasut wrote:
> Dear Wolfgang Denk,
>
>> Dear Otavio Salvador,
>>
>> In message<1336866018-614-5-git-send-email-otavio@ossystems.com.br>  you
> wrote:
>>> Signed-off-by: Otavio Salvador<otavio@ossystems.com.br>
>>> ---
>>>
>>>   tools/mxsboot.c |  110
>>>   +++++++++++++++++++++++++++---------------------------- 1 file changed,
>>>   55 insertions(+), 55 deletions(-)
>>>
>>> diff --git a/tools/mxsboot.c b/tools/mxsboot.c
>>> index 6c05aa4..9661a48 100644
>>> --- a/tools/mxsboot.c
>>> +++ b/tools/mxsboot.c
>>> @@ -1,5 +1,5 @@
>>>
>>>   /*
>>>
>>> - * Freescale i.MX28 image generator
>>> + * Freescale i.MXS image generator
>>
>> I'm unhappy about the name "i.MXS".
>
> I'm unhappy about the image generator ;-)
>
> Ok, now Otavio will probably hate me, but I believe it'd be much more helpful to
> convert mxsboot into part of mkimage (though this is unrelated to this patch).
> And maybe even better, study the generation of boot headers and compare it with
> mx53/mx6q ones, as mx53 ones are supported by imximage and mx28 carries direct
> predecessor of mx53 bootrom and then try to implement support into imximage part
> of mkimage.

I wasn't aware of mxsboot before this thread, so I start looking at 
it. I'm no expert of mx28 nor how the boot ROMs handle the NAND. 
Therefore some comments and questions:

Looking at

http://git.denx.de/?p=u-boot.git;a=blob;f=tools/mxsboot.c;h=6c05aa479d4360c0c14cd0f989c250ecf119126d;hb=HEAD#l453

mxsboot seem to support NAND and SD. Looking at the options given 
there, yes it sounds like a good idea to move that to imximage.


One question regarding the NAND handling, though:

Is mxsboot assumed to replace the Freescale tool 'kobs-ng'

http://imxcommunity.org/forum/topics/i-mx6-nand-boot?commentId=4103961%3AComment%3A69314&xg_source=activity

?

It was my understanding that for the NAND the bad sector table is 
necessary to be able to write a bootable image to the NAND? And this 
can be done only on the target? While mxsboot runs on the host? So 
it's not sufficient to give mxsboot the page/OOB/erase size options 
because the bad sector table is individual for each board/NAND chip?

Best regards

Dirk

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

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-12 23:40 [U-Boot] [PATCH 0/8] Minor fixes and start of consolidation onto mxs SoC Otavio Salvador
2012-05-12 23:40 ` [U-Boot] [PATCH 1/8] m28evk: use same notation to alloc the 128kB stack Otavio Salvador
2012-05-29 20:44   ` Wolfgang Denk
2012-06-13  9:06   ` Stefano Babic
2012-05-12 23:40 ` [U-Boot] [PATCH 2/8] m28evk: use "M28EVK U-Boot =>" as prompt Otavio Salvador
2012-05-13 17:11   ` Marek Vasut
2012-05-29 20:41   ` Wolfgang Denk
2012-05-12 23:40 ` [U-Boot] [PATCH 3/8] mx28evk: ensure command definition is in alphabetic order Otavio Salvador
2012-05-13 19:29   ` Fabio Estevam
2012-06-13  9:06   ` Stefano Babic
2012-05-12 23:40 ` [U-Boot] [PATCH 4/8] mxsboot: stop referring to i.MX28 as this ought to work for all i.MXS SoCs Otavio Salvador
2012-05-13 17:12   ` Marek Vasut
2012-05-13 18:19     ` Otavio Salvador
2012-05-29 20:44   ` Wolfgang Denk
2012-05-29 21:25     ` Otavio Salvador
2012-05-29 21:32       ` Wolfgang Denk
2012-05-29 21:53         ` Otavio Salvador
2012-05-30  5:49     ` Marek Vasut
2012-05-30 12:01       ` Otavio Salvador
2012-06-02  7:06       ` Dirk Behme [this message]
2012-06-02  7:21         ` [U-Boot] mxsboot vs. imximage (was: Re: [PATCH 4/8] mxsboot: stop referring to i.MX28 as this ought to work for all i.MXS SoCs) Marek Vasut
2012-05-12 23:40 ` [U-Boot] [PATCH 5/8] m28evk: fix board config include guardian macro name Otavio Salvador
2012-05-13 17:12   ` Marek Vasut
2012-05-13 18:46     ` Wolfgang Denk
2012-05-13 18:53       ` Marek Vasut
2012-06-13  9:07   ` Stefano Babic
2012-05-12 23:40 ` [U-Boot] [PATCH 6/8] mx28evk: " Otavio Salvador
2012-05-13 19:31   ` Fabio Estevam
2012-06-13  9:06   ` Stefano Babic
2012-05-12 23:40 ` [U-Boot] [PATCH 7/8] mxs: reorganize source directory for easy sharing of code in i.MXS SoCs Otavio Salvador
2012-05-12 23:40 ` [U-Boot] [PATCH 8/8] mxs: prefix register acessor macros with 'mxs' prefix Otavio Salvador
2012-05-13 17:15   ` Marek Vasut
2012-05-13 18:23     ` Otavio Salvador
2012-05-13 18:46       ` Marek Vasut
2012-05-14 17:09         ` Otavio Salvador
2012-05-14 18:25           ` Marek Vasut
2012-05-14 18:48   ` Otavio Salvador
2012-05-15  4:14     ` Marek Vasut
2012-05-29 20:47 ` [U-Boot] [PATCH 0/8] Minor fixes and start of consolidation onto mxs SoC Wolfgang Denk
2012-05-29 20:58   ` Otavio Salvador

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=4FC9BB62.3060404@googlemail.com \
    --to=dirk.behme@googlemail.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.