From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 2.mo2.mail-out.ovh.net ([188.165.53.149] helo=mo2.mail-out.ovh.net) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UZM6a-00058V-D3 for barebox@lists.infradead.org; Mon, 06 May 2013 14:09:29 +0000 Received: from mail411.ha.ovh.net (b6.ovh.net [213.186.33.56]) by mo2.mail-out.ovh.net (Postfix) with SMTP id 82AC0DC1132 for ; Mon, 6 May 2013 16:09:02 +0200 (CEST) Date: Mon, 6 May 2013 16:04:39 +0200 From: Jean-Christophe PLAGNIOL-VILLARD Message-ID: <20130506140439.GM13393@game.jcrosoft.org> References: <1367599871-28479-1-git-send-email-thomas.petazzoni@free-electrons.com> <1367599871-28479-3-git-send-email-thomas.petazzoni@free-electrons.com> <20130504195125.GJ13393@game.jcrosoft.org> <20130504203213.GS31290@titan.lakedaemon.net> <20130505111927.GK13393@game.jcrosoft.org> <20130506155352.15f23d3a@skate> <20130506135435.GL13393@game.jcrosoft.org> <20130506160614.054b5e1a@skate> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20130506160614.054b5e1a@skate> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 2/7] scripts: new kwbimage manipulation tool for Marvell SoC boot images To: Thomas Petazzoni Cc: Lior Amsalem , barebox@lists.infradead.org, Jason Cooper , Ezequiel Garcia , Willy Tarreau On 16:06 Mon 06 May , Thomas Petazzoni wrote: > Dear Jean-Christophe PLAGNIOL-VILLARD, > > On Mon, 6 May 2013 15:54:35 +0200, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > > > Could you please adopt a nicer language? You are very aggressive... and > > > at that the same time completely wrong. Your comments make it entirely > > > clear that you haven't even read the comments at the top of file. > > I did but still think we can handle it in C > > > > and need to handle by barebox itself when flashing > > The image is pushed to the target through X-modem, directly talking to > the ROM code of the SoC. Do you want the kwboot tool to prepare the > image? It seems to me like it makes a lot more sense to have a tool to > prepare the image. yes a you want to re-flash barebox itself and you will do for ddr and I do not want to care about all of this blob stuff twht the board already known > > Remember also that this tool is needed to *extract* existing images. > And you haven't explained how you intend to do this without a proper > userspace tool such as kwbimage. why extract? you generated at runtime > > And by the way, the tool is a simple userspace tool written entirely in > C, I'm not sure to see where the problem is. > > Quoting Sascha, an e-mail for this thread: > > """ > Anyway, what we do on i.MX doesn't really scale anymore since the more > complicated features of the image format can't be used with C > structures. I'm working on replacing this with a imx-image tool. > You seem to use checksums in your images. These can't be generated > in C or CPP anyway. > """ > > Thanks, > > Thomas > -- > Thomas Petazzoni, Free Electrons > Kernel, drivers, real-time and embedded Linux > development, consulting, training and support. > http://free-electrons.com _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox