Re: [U-Boot] RFC - PatchTrack Specification (revised)

2012-07-24 Thread Graeme Russ
Hi Wolfgang, On Wed, Jul 25, 2012 at 4:41 AM, Wolfgang Denk w...@denx.de wrote: Dear Graeme Russ, In message CALButCJXJE+mo_W5=kyt8bto4e36-i5ajmcgre-cg0fyp1r...@mail.gmail.com you wrote: A revised version of the spec (sorry, I would have used reply-to but something went amiss with gmail

[U-Boot] RFC - PatchTrack Specification

2012-07-23 Thread Graeme Russ
Hi All, Here's a quick-and-dirty specification for a patch tracking tool... PatchTrack is designed to help alleviate some of the load from custodians manging a email based work flow accepting patches from a large community of contributors Functionality: - Monitor an electronic mailing list,

Re: [U-Boot] Notes from the U-Boot BOF Meeting in Geneva 2012/07/12

2012-07-22 Thread Graeme Russ
Hi Marek, On Sun, Jul 22, 2012 at 12:46 AM, Marek Vasut ma...@denx.de wrote: Dear Graeme Russ, Patchwork is GPL'd and, in my personal opinion, gets fairly close to what we might need. Maybe we could take Patchwork and modify it to suit our needs? Maybe ... where're the sources? git clone

Re: [U-Boot] Notes from the U-Boot BOF Meeting in Geneva 2012/07/12

2012-07-22 Thread Graeme Russ
Hi Marek, On Mon, Jul 23, 2012 at 11:47 AM, Marek Vasut ma...@denx.de wrote: Dear Graeme Russ, Yes - But see above. If the build infrastructure is building with all the repos applied we will get instant feedback that a repo is out-of-step with mainline rather than waiting for Wolfgang

Re: [U-Boot] Notes from the U-Boot BOF Meeting in Geneva 2012/07/12

2012-07-20 Thread Graeme Russ
Hi Kim Marek, On 07/21/2012 07:09 AM, Marek Vasut wrote: Dear Kim Phillips, On Mon, 16 Jul 2012 23:30:49 +0200 Detlev Zundel d...@denx.de wrote: as promised, here are my expanded notes from the BoF meeting at LSM2012 last week. It was a pleasure to get some core developers into one room

Re: [U-Boot] Notes from the U-Boot BOF Meeting in Geneva 2012/07/12

2012-07-20 Thread Graeme Russ
Hi Scott, On 07/21/2012 07:40 AM, Scott Wood wrote: On 07/20/2012 04:34 PM, Graeme Russ wrote: Hi Kim Marek, On 07/21/2012 07:09 AM, Marek Vasut wrote: Dear Kim Phillips, On Mon, 16 Jul 2012 23:30:49 +0200 Detlev Zundel d...@denx.de wrote: as promised, here are my expanded notes from

Re: [U-Boot] Notes from the U-Boot BOF Meeting in Geneva 2012/07/12

2012-07-20 Thread Graeme Russ
Hi All, On 07/21/2012 11:27 AM, Marek Vasut wrote: Dear Tom Rini, On Wed, Jul 18, 2012 at 09:21:40AM +0200, Wolfgang Denk wrote: [snip] And Jenkins... well, we have been using this for some time internally to run test builds for U-Boot. I can tell you a thing or two about it, and Marek

Re: [U-Boot] Notes from the U-Boot BOF Meeting in Geneva 2012/07/12

2012-07-18 Thread Graeme Russ
Hi Wolfgang, On Wed, Jul 18, 2012 at 5:21 PM, Wolfgang Denk w...@denx.de wrote: Dear Graeme, In message 5005562e.6070...@gmail.com you wrote: I think U-Boot has reached the point that purely manual patch management is not longer cutting the mustard. 100% agreed. The problem I see is that

Re: [U-Boot] [PATCH v4 1/1] zfs: Add ZFS filesystem support

2012-07-18 Thread Graeme Russ
Hi Lund, On Thu, Jul 19, 2012 at 10:14 AM, Jorgen Lundman lund...@lundman.net wrote: ... but it looks like you still have some GPL-3 gremlins lurking. this must be sorted out before we can consider the code for merging. i suspect simply changing version 3 to version 2 isn't the right

Re: [U-Boot] Notes from the U-Boot BOF Meeting in Geneva 2012/07/12

2012-07-17 Thread Graeme Russ
Hi Stefan, On 07/17/2012 08:37 PM, Stefan Roese wrote: On Tuesday 17 July 2012 01:11:01 Graeme Russ wrote: It was discussed whether to do some automatic merging of these per-custodian trees into a central next, but majority of people believed that the patch handling process should remain

Re: [U-Boot] Notes from the U-Boot BOF Meeting in Geneva 2012/07/12

2012-07-17 Thread Graeme Russ
On 07/17/2012 10:10 PM, Graeme Russ wrote: Maybe it's time to seriously look at a gerrit + jenkins based solution? Here's a good demo video: http://alblue.bandlem.com/2011/02/gerrit-git-review-with-jenkins-ci.html ___ U-Boot mailing list U

Re: [U-Boot] Notes from the U-Boot BOF Meeting in Geneva 2012/07/12

2012-07-16 Thread Graeme Russ
Hi Detlev, On Tue, Jul 17, 2012 at 7:30 AM, Detlev Zundel d...@denx.de wrote: * Conflict resolution: setting up a moderator procedure for unhappy submitters A recent occurence on the mailing list where contributers were sent through multiple rounds of patch submissions for non-obvious

Re: [U-Boot] [PATCH 2/7] HACK: rearrange link order for thumb

2012-07-09 Thread Graeme Russ
Hi Allen On Tue, Jul 10, 2012 at 10:45 AM, Allen Martin amar...@nvidia.com wrote: On Sat, Jul 07, 2012 at 03:15:36AM -0700, Albert ARIBAUD wrote: Hi Allen, On Fri, 6 Jul 2012 16:17:19 -0700, Allen Martin amar...@nvidia.com wrote: [snip] And I forgot to mention, the code bloat from

Re: [U-Boot] [PATCH 2/2] arm: work around assembler bug

2012-07-09 Thread Graeme Russ
Hi Martin, On Tue, Jul 10, 2012 at 3:08 PM, Allen Martin amar...@nvidia.com wrote: Disable sibling call optimization based on binutils version. This is to work around a bug in the assember in binutils versions 2.22. Branches to weak symbols can be incorrectly optimized in thumb mode to a

Re: [U-Boot] [PATCH v4 1/1] zfs: Add ZFS filesystem support

2012-07-04 Thread Graeme Russ
Hi Lund, On Thu, Jul 5, 2012 at 1:34 PM, Jorgen Lundman lund...@lundman.net wrote: Do I have to do anything special at this point, or can I assume everything is going according to plan? I've had a quick look - the intrusion into common code is minimal (additions to Makefiles) so the risk to

Re: [U-Boot] Issue with running commands

2012-07-03 Thread Graeme Russ
Hi Sughosh On Wed, Jul 4, 2012 at 4:35 AM, Sughosh Ganu urwithsugh...@gmail.com wrote: hi Christian, On Tue, Jul 3, 2012 at 11:52 AM, Christian Riesch christian.rie...@omicron.at wrote: Hi Sughosh, On Mon, Jul 2, 2012 at 9:24 PM, Sughosh Ganu urwithsugh...@gmail.com wrote: hi, While

Re: [U-Boot] [PATCH] config.mk:Update DBGFLAGS with dwarf information

2012-06-24 Thread Graeme Russ
Hi Prabhakar On Mon, Jun 25, 2012 at 2:57 PM, Prabhakar Kushwaha prabha...@freescale.com wrote: Hi Mike/Graeme. Please help me in closing review related comments on this patch. I can't offer any comments either way regarding -gdwarf-2 as I have never done any runtime debugging of U-Boot I

Re: [U-Boot] [PATCH 2/2] ARM: bcm2835: add Raspberry Pi model B board

2012-06-15 Thread Graeme Russ
Hi Stephen, On 06/07/2012 03:45 PM, Stephen Warren wrote: The Raspberry Pi model B uses the BCM2835 SoC, has 256MB of RAM, contains an SMSC 9512 USB LAN/Hub chip, and various IO connectors. For more details, see http://www.raspberrypi.org/. Signed-off-by: Stephen Warren

Re: [U-Boot] [PATCH] mmc: fix wrong timeout check in mmc_send_status()

2012-06-04 Thread Graeme Russ
Hi Jongman, On Mon, Jun 4, 2012 at 3:32 PM, Jongman Heo jongman@gmail.com wrote: (!timeout) condition check in mmc_send_status() can never be met, because do-while loop ends up with negative timeout value, -1. Fix it by using pre-decrement. Signed-off-by: Jongman Heo

Re: [U-Boot] facing issues with malloc in U-Boot

2012-06-01 Thread Graeme Russ
() Regards, Graeme P.S. Please stop top-posting Thanks and Regards, Sandeep -Original Message- From: Graeme Russ [mailto:graeme.r...@gmail.com] Sent: 01 June 2012 05:21 To: Sandeep Kumar Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] facing issues with malloc in U-Boot Hi

Re: [U-Boot] facing issues with malloc in U-Boot

2012-05-31 Thread Graeme Russ
Hi Sandeep, On Fri, Jun 1, 2012 at 1:42 AM, Sandeep Kumar sandeep.ku...@open-silicon.com wrote: Hi Everyone, I am facing issues with malloc in U-Boot while trying to allocate some memory. Here are the prints which I am getting after enabling the debug. U-Boot 2011.12 (May 31 2012 -

Re: [U-Boot] [PATCH] config.mk:Update DBGFLAGS with dwarf information

2012-05-23 Thread Graeme Russ
Hi Prabhakar, On Thu, May 24, 2012 at 2:43 PM, Prabhakar Kushwaha prabha...@freescale.com wrote: Hi Wolfgang, This patch has been pending for a very long time.  No review comments has been provided. Mike Frysinger posted a comment on May 14, 2012: [quote] no real information here as to what

Re: [U-Boot] [PATCH] EXT4

2012-05-22 Thread Graeme Russ
Hi Jorgen, On Tue, May 22, 2012 at 3:55 PM, Jorgen Lundman lund...@lundman.net wrote: Yes, that is exactly what you should do. But before you post them, make sure you run them through checkpatch.pl first and resolve/explain any errors or warnings Wow, ohhweee this will take a little while.

Re: [U-Boot] [PATCH] EXT4

2012-05-22 Thread Graeme Russ
Hi Jorgen, On Tue, May 22, 2012 at 4:17 PM, Jorgen Lundman lund...@lundman.net wrote: Uninitialized global and static variables reside in .bss and are set to zero during relocation. Initialised globals and static variables go into .data Alas, I know from experience that Microsoft's C

Re: [U-Boot] [PATCH] ZFS

2012-05-22 Thread Graeme Russ
Hi Jorgen, On May 22, 2012 4:31 PM, Jorgen Lundman lund...@lundman.net wrote: I stand corrected, going over the files now for the patching, nearly all ZFS related files (headers, and internals) are GPLv3. The GRUB specific files (the files interfacing with the GRUB API) appear to be GPLv2.

Re: [U-Boot] [PATCH] ZFS

2012-05-22 Thread Graeme Russ
Hi Jorgen, On May 22, 2012 5:34 PM, Jorgen Lundman lund...@lundman.net wrote: That is a problem. U-Boot is nominally GPLv2+ which would allow inclusion of GPLv3 code but there are significant portions of U-Boot which are GPLv2 (Linux kernel code for example) which is a blocker :(

Re: [U-Boot] [PATCH 2/2] zfs: Add ZFS filesystem support

2012-05-22 Thread Graeme Russ
Hi Jorgen, On Wed, May 23, 2012 at 12:26 PM, Jorgen Lundman lund...@lundman.net wrote: commit bc192bb0716b02b2b711dc2df62ed15e1160ea50 Author: Jorgen Lundman lund...@lundman.net Date:   Wed May 23 01:55:02 2012 + [snip] commit bea9588d98f52d95a325f3b71a7ae448242c7b64 Author: Jorgen

Re: [U-Boot] [PATCH 2/2] zfs: Add ZFS filesystem support

2012-05-22 Thread Graeme Russ
Hi Jorgen, On Wed, May 23, 2012 at 1:11 PM, Jorgen Lundman lund...@lundman.net wrote: What are all these commit references? Are they from an external git-repo? If so I think the commit message might make more sense if you simply summarise what you have done to adapt the original source code

Re: [U-Boot] [PATCH v2 2/2] zfs: Add ZFS support

2012-05-22 Thread Graeme Russ
Hi Jorgen, On Wed, May 23, 2012 at 1:45 PM, Jorgen Lundman lund...@lundman.net wrote: Signed-off-by: Jorgen Lundman lund...@lundman.net ---  Makefile                 |    2 +- You just committed a major ML no-no Always out a revision summary below the --- (even if it's a 'no change')

Re: [U-Boot] [PATCH] EXT4

2012-05-21 Thread Graeme Russ
Hi Jorgen On Tue, May 22, 2012 at 1:31 PM, Jorgen Lundman lund...@lundman.net wrote: Slowly getting the hang of github and u-boot. I took a fork of u-boot 20120520, and merged in the EXT4 patched. In addition to Samsung's work;  * Fix minor string ext2-ext4  * 'unsigned' sectors for

Re: [U-Boot] [PATCH] ZFS

2012-05-21 Thread Graeme Russ
Hi Jorgen, On Tue, May 22, 2012 at 1:32 PM, Jorgen Lundman lund...@lundman.net wrote: Work based on current u-boot repository; https://github.com/lundman/u-boot/compare/upstream...upstream-zfs These patches will likely not get reviewed and definitely will not get merged unless that are

Re: [U-Boot] [PATCH] EXT4

2012-05-21 Thread Graeme Russ
Hi Jorgen, On Tue, May 22, 2012 at 1:45 PM, Jorgen Lundman lund...@lundman.net wrote: These patches will likely not get reviewed and definitely will not get merged unless that are posted to the mailing list Ok, is it better if I use git format-patch and send them on the list? Yes, that is

Re: [U-Boot] [PATCH] ZFS

2012-05-21 Thread Graeme Russ
Hi Jorgen, On Tue, May 22, 2012 at 1:51 PM, Jorgen Lundman lund...@lundman.net wrote: GRUB ZFS booting sources are based on the GRUB GPL sources, provided by Sun to GRUB. Hmm, I know that GRUB is GPLv3+ - Is the ZFS code GPLv3+ or was that released under a different version? (I know the ZFS

Re: [U-Boot] [PATCH] uboot and ZFS

2012-05-13 Thread Graeme Russ
Hi Jorgen Lundman, On Mon, May 14, 2012 at 11:12 AM, Jorgen Lundman lund...@lundman.net wrote: Yay, so the ext4 works for you? Why wasn't ext4 merged? Can you post the reasoning (maybe links to gmane or something?) I have no idea. I just needed ext4 support, and saw someone had done the

Re: [U-Boot] [PATCH v7 03/23] Add abs() macro to return absolute value

2012-05-10 Thread Graeme Russ
and Graeme Russ to CC for OMAP4 and x86 signoff, although /drivers/bios_emulator/x86emu is not under my control - I think this is used mostly by PPC. But I do have a couple of questions/comments it's a trivial change. Hmm, int abs(in v) is in prim_ops.c and not declared static

Re: [U-Boot] uboot and ZFS

2012-05-09 Thread Graeme Russ
Hi Jorgen Lundman, On 05/07/2012 11:03 PM, Jorgen Lundman wrote: Did you miss my message of Wed, 02 May? See http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/130638/focus=130671 Unfortunately there is no legal (license-conforming) way to include ZFS code into U-Boot and distribute

Re: [U-Boot] [PATCH 1/3] init_func: Add fundamental framework

2012-05-02 Thread Graeme Russ
it alone'(tm) and test cases are fairly trivial. You can even mock-up the input file in vi :) And is a shell based implementation going to be any easier to understand, modify, debug, etc? +/* + * (C) Copyright 2012 + * Graeme Russ graeme.r...@gmail.com + * + * This program is free software; you can

[U-Boot] [PATCH 0/5] Various x86 patches

2012-04-29 Thread Graeme Russ
These have been floating around for a while waiting for 2012.04 The first patch touches on the common makefiles, but it is only examples/standalone/Makefile that really needs to be checked for cross-platform issues Graeme Russ (5): x86: Fix compilation on 64-built built machines x86: Forward

[U-Boot] [PATCH 2/5] x86: Forward declate gd_t

2012-04-29 Thread Graeme Russ
So it can be used as a type in struct global_data and remove an ugly typecast Signed-off-by: Graeme Russ graeme.r...@gmail.com --- arch/x86/cpu/cpu.c |2 +- arch/x86/include/asm/global_data.h |4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/x86

[U-Boot] [PATCH 4/5] x86: Remove duplicate PCI init

2012-04-29 Thread Graeme Russ
Signed-off-by: Graeme Russ graeme.r...@gmail.com --- arch/x86/lib/board.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/arch/x86/lib/board.c b/arch/x86/lib/board.c index 100ac1e..8c8b6fe 100644 --- a/arch/x86/lib/board.c +++ b/arch/x86/lib/board.c @@ -169,9 +169,6

[U-Boot] [PATCH 3/5] x86: Put global data on the stack

2012-04-29 Thread Graeme Russ
Putting global data on the stack simplifies the init process (and makes it slightly quicker). During the 'flash' stage of the init sequence, global data is in the CAR stack. After SDRAM is initialised, global data is copied from CAR to the SDRAM stack Signed-off-by: Graeme Russ graeme.r

[U-Boot] [PATCH 5/5] x86: Add ilog2 to bitops

2012-04-29 Thread Graeme Russ
ilog2 is required by AHCI driver Signed-off-by: Graeme Russ graeme.r...@gmail.com --- arch/x86/include/asm/bitops.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/x86/include/asm/bitops.h b/arch/x86/include/asm/bitops.h index c7a38f2..5a7e4cb 100644 --- a/arch

Re: [U-Boot] [PATCH 0/5] Various x86 patches

2012-04-29 Thread Graeme Russ
Hi Andy, On 04/29/2012 10:25 PM, Andy Pont wrote: Hi Graeme, Graeme Russ (5): x86: Fix compilation on 64-built built machines Shouldn't this be 64-bit build machines? Yep - Thanks Regards, Graeme ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] make menuconfig does not work

2012-04-26 Thread Graeme Russ
Hi Wolfgang, On 04/26/2012 10:18 PM, Wolfgang Denk wrote: Dear Graeme Russ, In message calbutckzc7cwoaql4b+mjndczgyzas0jpfzzf7q9psdhe_j...@mail.gmail.com you wrote: Any plan to add Kconfig or any other way to configure u-boot? Not that I am aware of, but I would support anyone who

Re: [U-Boot] Pull request: Integrate latest yaffs2

2012-04-26 Thread Graeme Russ
Hi Charles, On Fri, Apr 27, 2012 at 8:59 AM, Charles Manning mannin...@actrix.gen.nz wrote: On Friday 27 April 2012 00:25:55 Wolfgang Denk wrote: Dear Charles Manning, In message 201204261028.44543.mannin...@actrix.gen.nz you wrote: yaffs went through a large reformat a while ago meaning

Re: [U-Boot] make menuconfig does not work

2012-04-25 Thread Graeme Russ
Hi Henry, On Thu, Apr 26, 2012 at 4:21 AM, hong zhang henryzhan...@yahoo.com wrote: List, make menuconfig does not work for u-boot under panadaboard. Old mailing list said because of no Kconfig in u-boot tree. Correct - new mailing list says the same thing ;) Any plan to add Kconfig or any

Re: [U-Boot] [STATUS] v2012.04 released, Merge Window is OPEN

2012-04-23 Thread Graeme Russ
Hi Wolfgang, On Tue, Apr 24, 2012 at 7:06 AM, Wolfgang Denk w...@denx.de wrote: Dear Tom Rini, In message 20120423202619.GG31450@bill-the-cat you wrote: And why did _nobody_ complain during the -rc cycle? To try and say what Stephan said, differently, what do we need to do in the future

[U-Boot] [PATCH 0/3] Initialisation Sequence Framework

2012-04-22 Thread Graeme Russ
on Fire away ;) Regards, Graeme Graeme Russ (3): init_func: Add fundamental framework init_func: Add x86 support init_func: Use for eNET board Makefile | 34 +- arch/x86/cpu/cpu.c |3 + arch/x86/cpu/sc520/sc520_sdram.c |3 + arch/x86/cpu/sc520

[U-Boot] [PATCH 1/3] init_func: Add fundamental framework

2012-04-22 Thread Graeme Russ
Signed-off-by: Graeme Russ graeme.r...@gmail.com --- Makefile | 34 ++- common/Makefile |2 + config.mk|2 + doc/README.INIT_FUNC | 65 +++ include/init_func.h | 37 ++ tools/Makefile |6 + tools/mkinitseq.c| 1512

[U-Boot] [PATCH 2/3] init_func: Add x86 support

2012-04-22 Thread Graeme Russ
Signed-off-by: Graeme Russ graeme.r...@gmail.com --- arch/x86/cpu/u-boot.lds | 23 +++ arch/x86/lib/board.c| 10 +++--- 2 files changed, 26 insertions(+), 7 deletions(-) diff --git a/arch/x86/cpu/u-boot.lds b/arch/x86/cpu/u-boot.lds index fe28030..b88fd57 100644

[U-Boot] [PATCH 3/3] init_func: Use for eNET board

2012-04-22 Thread Graeme Russ
Signed-off-by: Graeme Russ graeme.r...@gmail.com --- arch/x86/cpu/cpu.c |3 +++ arch/x86/cpu/sc520/sc520_sdram.c |3 +++ arch/x86/cpu/sc520/sc520_timer.c |2 ++ arch/x86/lib/init_helpers.c | 14 ++ arch/x86/lib/init_wrappers.c | 11

Re: [U-Boot] [PATCH v3] Add support for MINI2440 (s3c2440). Documentation about the product can be found on: http://www.friendlyarm.net/products/mini2440

2012-04-19 Thread Graeme Russ
Gabriel, Can you please trim the subject by removing the 'Documentation about ...' bit. This information belongs in the source code files or, better yet, in doc/README.MINI2440 Regards, Graeme ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v3] Add support for MINI2440 (s3c2440). Documentation about the product can be found on: http://www.friendlyarm.net/products/mini2440

2012-04-19 Thread Graeme Russ
Hi Marek, On Fri, Apr 20, 2012 at 8:23 AM, Marek Vasut ma...@denx.de wrote: Dear Ilya Averyanov, 2012/4/20 Marek Vasut ma...@denx.de Dear Gabriel Huau, On Thu, Apr 19, 2012 at 10:08:47PM +0200, Marek Vasut wrote: Dear Gabriel Huau, --- + /* some delay between

Re: [U-Boot] FW: I want to use Barebox

2012-04-17 Thread Graeme Russ
Hi Andy, On Wed, Apr 18, 2012 at 2:11 AM, ANDY KENNEDY andy.kenn...@adtran.com wrote: 1)  I have a concern that barebox is not mainstream enough yet. [snip] 2)  I have a feeling we will always be porting everyone's bsp (that    already has a working u-boot) to barebox. Which should not

Re: [U-Boot] FW: I want to use Barebox

2012-04-16 Thread Graeme Russ
Hi Andy, On Tue, Apr 17, 2012 at 1:58 AM, ANDY KENNEDY andy.kenn...@adtran.com wrote: Wolfgang corresponded with me over the weekend asking me to (in the interest of being fair) repost this message to the U-Boot list as well to allow you the opportunity to expound upon the benefits of U-Boot

Re: [U-Boot] [PATCH v5 4/4] ARM: SAMSUNG: support sdhci controller

2012-04-13 Thread Graeme Russ
Hi Prabhakar, On Fri, Apr 13, 2012 at 4:16 PM, Prabhakar Lad prabhakar.cse...@gmail.com wrote: Hi Jaehoon, [snip]    There is no consistency for the #define  CONFIG_S5P_SDHCI,    few have been assigned to value 1, And looking at the patchset    the value of it is not used if I am not

Re: [U-Boot] U-boot customized

2012-04-13 Thread Graeme Russ
until you find the commit that caused the breakage - Post that commit ID to the mailing list and somebody should get around to looking at it Thanks for your attention. Your welcome, Regards, Graeme Regards, Allyson 2012/4/13 Graeme Russ graeme.r...@gmail.com mailto:graeme.r

[U-Boot] [RFC][PATCH] INIT_FUNC - List madness

2012-04-12 Thread Graeme Russ
list_head in U-Boot. It took a while to get used to it's sematics, but the Linux kernel list data structure is incredible Regards, Graeme commit 1567e349f774d93e25b3ab2da01cab5e11632916 Author: Graeme Russ graeme.r...@gmail.com Date: Sun Apr 8 22:09:42 2012 +1000 initcall: Some testing diff

Re: [U-Boot] [RFC][PATCH] INIT_FUNC - List madness

2012-04-12 Thread Graeme Russ
Hi Wolfgang, On Thu, Apr 12, 2012 at 11:28 PM, Wolfgang Denk w...@denx.de wrote: Dear Graeme Russ, In message 4f86cdf0.2030...@gmail.com you wrote: This patch is a little heads-up for my upcomming INIT_FUNC patch series This is the INIT_FUNC 'engine' - It processes a file which consists

Re: [U-Boot] [RFC][PATCH] INIT_FUNC - List madness

2012-04-12 Thread Graeme Russ
Hi Wolfgang, Detlev But, tsort works on paired entries, while INIT_FUNC allows functions to have multiple dependencies. So to use tsort, I will need to process the list to produce entry pairs - That should be a pretty simple operation. Well the solution appears to be trivial anyway:

Re: [U-Boot] U-boot customized

2012-04-12 Thread Graeme Russ
Hi Allyson, On Fri, Apr 13, 2012 at 1:57 PM, Allyson allyson...@gmail.com wrote: Hi folks, My name is Allyson, I need put u-boot on my board with ARM 920t (at91rm9200) When I build u-boot-1.1.6 it is worked ok, but if I build u-boot-2011 don't work. I need help ... please! And we will

[U-Boot] Q: How to enable debugging info in U-Boot.bin

2012-04-11 Thread Graeme Russ
Hi Guys, This may be a really dumb question, but what is the best way to enable GCC debugging information in u-boot.bin The intention is to look at using Lauterbach Regards, Graeme ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-04-03 Thread Graeme Russ
On 04/03/2012 09:35 AM, Graeme Russ wrote: Hi Jocke And I really need to check, but I have a sneaking suspicion that as the code currently stands in U-Boot/x86 dereferencing a NULL pointer won't cause an exception. In x86, U-Boot configures all protected mode segments to be 4GB starting

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-04-02 Thread Graeme Russ
Hi Joakim, On Apr 2, 2012 4:55 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Hi Marek, On Mon, Apr 2, 2012 at 1:36 PM, Marek Vasut marek.va...@gmail.com wrote: Dear Mike Frysinger, On Sunday 01 April 2012 20:25:44 Graeme Russ wrote: b) The code calling malloc(0

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-04-02 Thread Graeme Russ
On 04/02/2012 05:40 PM, Joakim Tjernlund wrote: Hi Grame Graeme Russ graeme.r...@gmail.com wrote on 2012/04/02 09:17:44: Hi Joakim, On Apr 2, 2012 4:55 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Hi Marek, On Mon, Apr 2, 2012 at 1:36 PM, Marek Vasut marek.va

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-04-02 Thread Graeme Russ
On Apr 3, 2012 6:57 AM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Graeme Russ graeme.r...@gmail.com wrote on 2012/04/02 22:28:46: From: Graeme Russ graeme.r...@gmail.com On 04/02/2012 05:40 PM, Joakim Tjernlund wrote: Hi Grame Graeme Russ graeme.r...@gmail.com wrote

Re: [U-Boot] [PATCH 1/2] ARM: introduce arch_early_init_r()

2012-04-02 Thread Graeme Russ
Hi Tom, On Tue, Apr 3, 2012 at 8:15 AM, Tom Rini tr...@ti.com wrote: On Mon, Apr 02, 2012 at 06:19:45PM -0300, Fabio Estevam wrote: Introduce arch_early_init_r() function, which can be useful for doing early initialization after relocation has happened. Signed-off-by: Fabio Estevam

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-04-02 Thread Graeme Russ
Hi Jocke On Tue, Apr 3, 2012 at 7:14 AM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Graeme Russ graeme.r...@gmail.com wrote on 2012/04/02 22:59:57: On Apr 3, 2012 6:57 AM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Graeme Russ graeme.r...@gmail.com wrote on 2012/04

Re: [U-Boot] [PATCH V6] BOOT: Add bootz command to boot Linux zImage on ARM

2012-04-01 Thread Graeme Russ
Hi Marek, On 04/01/2012 05:27 AM, Marek Vasut wrote: Dear Mike Frysinger, On Thursday 15 March 2012 03:52:45 Marek Vasut wrote: --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c -static void bootm_start_lmb(void) -{ #ifdef CONFIG_LMB +static void boot_start_lmb(bootm_headers_t

[U-Boot] Pull request: u-boot-x86/master

2012-04-01 Thread Graeme Russ
Hi Wolfgang, The following changes since commit c008b6f6dd6b8965e9a7654ffbce75bb9ff7a3b5: Prepare v2012.04-rc1 (2012-03-31 00:13:05 +0200) are available in the git repository at: git://git.denx.de/u-boot-x86.git master Simon Glass (1): x86: Remove dead code in eNET

Re: [U-Boot] [STATUS] v2012.04-rc1 is out

2012-04-01 Thread Graeme Russ
Hi Wolfgang, On 03/31/2012 10:40 AM, Wolfgang Denk wrote: Hi everybody, after long struggeling we finally have a -rc1. Please help testing, so we can fix the remaining issues before the release, which I decided to shift to April 21, 2012. I just sent a pull request for an outstanding x86

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-04-01 Thread Graeme Russ
Graeme Russ wrote: On 22/10/10 06:51, Mike Frysinger wrote: have u-boot return an error. Is NULL what you consider to be an error yes Besides, is not free(NULL) valid (does nothing) as well? yes, free(NULL) should work fine per POSIX -mike

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-04-01 Thread Graeme Russ
Hi Marek, On Mon, Apr 2, 2012 at 11:04 AM, Marek Vasut marek.va...@gmail.com wrote: Dear Graeme Russ, Hi Marek, On Mon, Apr 2, 2012 at 10:13 AM, Marek Vasut marek.va...@gmail.com wrote: Dear Graeme Russ, Hi Marek, On Mon, Apr 2, 2012 at 9:45 AM, Marek Vasut marek.va...@gmail.com

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-04-01 Thread Graeme Russ
Hi Marek, On Mon, Apr 2, 2012 at 12:51 PM, Marek Vasut marek.va...@gmail.com wrote: Dear Graeme Russ, Hi Marek, Bottom line is, we could do either and we would be 100% compliant with the C standard The question is, what would be more onerous. Since the majority of U-Boot developers

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-04-01 Thread Graeme Russ
Hi Mike, On Mon, Apr 2, 2012 at 1:12 PM, Mike Frysinger vap...@gentoo.org wrote: On Sunday 01 April 2012 20:25:44 Graeme Russ wrote: b) The code calling malloc(0) is making a perfectly legitimate assumption    based on how glibc handles malloc(0) not really.  POSIX says malloc(0

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-04-01 Thread Graeme Russ
Hi Marek, On Mon, Apr 2, 2012 at 1:36 PM, Marek Vasut marek.va...@gmail.com wrote: Dear Mike Frysinger, On Sunday 01 April 2012 20:25:44 Graeme Russ wrote: b) The code calling malloc(0) is making a perfectly legitimate assumption    based on how glibc handles malloc(0) not really

Re: [U-Boot] [PATCH] Prevent malloc with size 0

2012-04-01 Thread Graeme Russ
Hi Marek, On Mon, Apr 2, 2012 at 2:23 PM, Marek Vasut marek.va...@gmail.com wrote: Dear Graeme Russ, Hi Marek, On Mon, Apr 2, 2012 at 1:36 PM, Marek Vasut marek.va...@gmail.com wrote: Dear Mike Frysinger, On Sunday 01 April 2012 20:25:44 Graeme Russ wrote: b) The code calling malloc

Re: [U-Boot] [PATCH V4 1/2] ext4fs ls load support

2012-03-27 Thread Graeme Russ
Hi Manjunatha Rob On Wed, Mar 28, 2012 at 12:46 AM, Rob Herring robherri...@gmail.com wrote: On 03/27/2012 08:13 AM, manjunatha wrote: Dear Rob Herring/ Wolfgang, As discussed in earlier mail chain, our current ext4 implementation is capable enough to list(ls) and read(load) ext2 partitons

Re: [U-Boot] BIOS EMULATOR driver

2012-03-27 Thread Graeme Russ
Hi Viktor, On Wed, Mar 28, 2012 at 9:46 AM, Viktor Křivák viktor.kri...@gmail.com wrote: Dear Timur Tabi, 2012/3/27 Marek Vasut ma...@denx.de: Dear Timur Tabi, Marek Vasut wrote: Agreed, but I expected there was some dead code and that was the point I was trying to express ;-) Well,

Re: [U-Boot] BIOS EMULATOR driver

2012-03-27 Thread Graeme Russ
Hi Marek, On Wed, Mar 28, 2012 at 10:46 AM, Marek Vasut ma...@denx.de wrote: Dear Graeme Russ, Hi Viktor, On Wed, Mar 28, 2012 at 9:46 AM, Viktor Křivák viktor.kri...@gmail.com wrote: Dear Timur Tabi, 2012/3/27 Marek Vasut ma...@denx.de: Dear Timur Tabi, Marek Vasut wrote

Re: [U-Boot] BIOS EMULATOR driver

2012-03-27 Thread Graeme Russ
Marek, Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away.  -- Antoine de Saint-Exupery And: Not all that is simple is perfect. However, all that is perfect is simple -- Unkown :)

Re: [U-Boot] [PATCH v4 07/27] Introduce generic global_data

2012-03-24 Thread Graeme Russ
Hi Simon, On 03/24/2012 05:40 PM, Simon Glass wrote: Hi Graeme, On Wed, Mar 14, 2012 at 8:41 PM, Simon Glass s...@chromium.org wrote: Hi Graeme, On Wed, Mar 14, 2012 at 8:02 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Simon, On Thu, Mar 15, 2012 at 1:50 PM, Simon Glass s

Re: [U-Boot] [PATCH v4 07/27] Introduce generic global_data

2012-03-24 Thread Graeme Russ
Hi Simon, On 03/25/2012 10:10 AM, Simon Glass wrote: Hi Graeme, On Sat, Mar 24, 2012 at 4:14 AM, Graeme Russ graeme.r...@gmail.com wrote: Hi Simon, [snip] arch/asm/global_data.h: #define HAS_ARCH_GD struct arch_global_data { ... }; include/global_data.h: #include arch

Re: [U-Boot] patchwork: miiphyutil: Add Micrel KSZ9021 support to miiphy_speed

2012-03-22 Thread Graeme Russ
Hi Dirk, On 03/22/2012 07:40 PM, Dirk Behme wrote: Superseded: http://patchwork.ozlabs.org/patch/135813/ http://patchwork.ozlabs.org/patch/136834/ Updated patch applied instead: http://git.denx.de/?p=u-boot/u-boot-imx.git;a=commit;h=8682aba7da2af2842296710acca7c03fcebafd5c Updated

Re: [U-Boot] patchwork: net/eth.c: fix eth_write_hwaddr() to use dev-enetaddr as fall back

2012-03-22 Thread Graeme Russ
Hi Dirk, On 03/22/2012 07:31 PM, Dirk Behme wrote: Waiting: http://patchwork.ozlabs.org/patch/136789/ Assigned to Wolfgang and changed state to 'Under Review' (seemed most appropriate status) Regards, Graeme ___ U-Boot mailing list

Re: [U-Boot] Patchwork housekeeping

2012-03-22 Thread Graeme Russ
Hi Marek, On 03/22/2012 05:45 PM, Marek Vasut wrote: Dear Graeme Russ, Hello Custodians and Mailing List Aficionados, I don't know if anyone has noticed, but patchwork is starting to collect a rather large amount of cruft. I occasionally jump onto patchwork and do a little housekeeping

Re: [U-Boot] [PATCH] tegra: Specify debugging serial port at boot.

2012-03-22 Thread Graeme Russ
Hi Simon, On Fri, Mar 23, 2012 at 10:03 AM, Simon Glass s...@google.com wrote: I am going to have a similar problem in the SPL soon - how to deal with panic(). Advice gratefully accepted. Take a leaf out of the Linux x86 source arch/x86/boot/main.c - This is the start of the 16-bit

Re: [U-Boot] [PATCH] tegra: Specify debugging serial port at boot.

2012-03-21 Thread Graeme Russ
Hi Stephen, Wolfgang, On 03/21/2012 08:38 PM, Wolfgang Denk wrote: Dear Simon Glass, In message CAPnjgZ0jYpHSNG354=f4mdvj0tt5-6jdcxpeg1y70v5dwby...@mail.gmail.com you wrote: We have standard ways of telling the Linux kernel what the console port is - the console= boot argument has been

[U-Boot] Patchwork housekeeping

2012-03-21 Thread Graeme Russ
Hello Custodians and Mailing List Aficionados, I don't know if anyone has noticed, but patchwork is starting to collect a rather large amount of cruft. I occasionally jump onto patchwork and do a little housekeeping by marking updated patches as 'Superceeded' and anything applied by Wolfgang as

Re: [U-Boot] [PATCH 2/5] Add board_panic_no_console() to deal with early critical errors

2012-03-20 Thread Graeme Russ
Hi Simon, On Tue, Mar 20, 2012 at 7:27 AM, Simon Glass s...@chromium.org wrote: This patch adds support for console output in the event of a panic() before the console is inited. The main purpose of this is to deal with a very early panic() which would otherwise cause a silent hang. A new

Re: [U-Boot] [PATCH] tegra: Specify debugging serial port at boot.

2012-03-20 Thread Graeme Russ
Hi Stephen, Simon, On Wed, Mar 21, 2012 at 8:17 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 03/20/2012 02:13 PM, Simon Glass wrote: Hi Stephen, On Tue, Mar 20, 2012 at 12:57 PM, Stephen Warren swar...@wwwdotorg.org wrote: This works together with a kernel change that looks at the

Re: [U-Boot] [PATCH 2/5] Add board_panic_no_console() to deal with early critical errors

2012-03-20 Thread Graeme Russ
Hi Simon, On Wed, Mar 21, 2012 at 10:22 AM, Simon Glass s...@chromium.org wrote: Hi Graeme, On Tue, Mar 20, 2012 at 3:26 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Simon, OK, so what about in panic():  - If gd-have_console is not set:    o call the board specific setup_panic_uarts

Re: [U-Boot] [PATCH] tegra: Specify debugging serial port at boot.

2012-03-20 Thread Graeme Russ
Hi Simon, On Wed, Mar 21, 2012 at 10:33 AM, Simon Glass s...@chromium.org wrote: Hi Graeme, On Tue, Mar 20, 2012 at 4:28 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Stephen, Simon, On Wed, Mar 21, 2012 at 8:17 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 03/20/2012 02:13 PM

Re: [U-Boot] [PATCH] tegra: Specify debugging serial port at boot.

2012-03-20 Thread Graeme Russ
Hi Simon, On Wed, Mar 21, 2012 at 11:02 AM, Simon Glass s...@chromium.org wrote: Hi Graeme, On Tue, Mar 20, 2012 at 4:52 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Simon, On Wed, Mar 21, 2012 at 10:33 AM, Simon Glass s...@chromium.org wrote: We cannot select the UART via CONFIG

Re: [U-Boot] [PATCH] tegra: Specify debugging serial port at boot.

2012-03-20 Thread Graeme Russ
Hi Simon On Wed, Mar 21, 2012 at 11:19 AM, Simon Glass s...@chromium.org wrote: Hi Graeme, On Tue, Mar 20, 2012 at 5:17 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Simon, And we are talking about one board vendor taking a SoC and using UARTA for the panic output and another board

Re: [U-Boot] [PATCH] tegra: Specify debugging serial port at boot.

2012-03-20 Thread Graeme Russ
Hi Stehpen, On Wed, Mar 21, 2012 at 12:18 PM, Simon Glass s...@chromium.org wrote: Hi Graeme, On Tue, Mar 20, 2012 at 5:39 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Simon On Wed, Mar 21, 2012 at 11:19 AM, Simon Glass s...@chromium.org wrote: Hi Graeme, On Tue, Mar 20, 2012 at 5:17

Re: [U-Boot] [PATCH v4 04/27] x86: Remove dead code in eNET

2012-03-14 Thread Graeme Russ
Hi Simon, On Thu, Mar 15, 2012 at 1:16 PM, Simon Glass s...@chromium.org wrote: This avoids a compiler warning about unused variables. Signed-off-by: Simon Glass s...@chromium.org ---  board/eNET/eNET.c |    5 -  1 files changed, 0 insertions(+), 5 deletions(-) Acked-By: Graeme Russ

Re: [U-Boot] [PATCH v4 11/27] x86: Change stub example to use asm-generic/sections.h

2012-03-14 Thread Graeme Russ
Hi Simon, On Thu, Mar 15, 2012 at 1:16 PM, Simon Glass s...@chromium.org wrote: We can use the declarations of __bss_start and _end from this header instead of declaring them locally. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Use asm/sections.h instead of

Re: [U-Boot] [PATCH v4 07/27] Introduce generic global_data

2012-03-14 Thread Graeme Russ
Hi Simon, On Thu, Mar 15, 2012 at 1:16 PM, Simon Glass s...@chromium.org wrote: We want to unify the global_data structure. Most fields are common across architectures, but there are a fair number of SOC-specific additions. It isn't clear how best to deal with these, but for now we just use

Re: [U-Boot] [PATCH v4 07/27] Introduce generic global_data

2012-03-14 Thread Graeme Russ
Hi Simon, On Thu, Mar 15, 2012 at 1:16 PM, Simon Glass s...@chromium.org wrote: We want to unify the global_data structure. Most fields are common across architectures, but there are a fair number of SOC-specific additions. It isn't clear how best to deal with these, but for now we just use

<    1   2   3   4   5   6   7   8   9   10   >