From: Jerry Van Baren <gerald.vanbaren@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Can U-boot Autodetect arch/ppcversusarch/powerpc from info in the uImage?
Date: Thu, 13 Dec 2007 13:49:23 -0500 [thread overview]
Message-ID: <47617EB3.5030809@ge.com> (raw)
In-Reply-To: <20071209150038.D560B247F5@gemini.denx.de>
Wolfgang Denk wrote:
> In message <1197205927.937.51.camel@gentoo-jocke.transmode.se> you wrote:
>> Made a new patch with Jerrys comments addressed. Also renamed
>> DEFAULT_OF_TREE to CFG_OF_TREE. OK?
>
> I still object against this modification.
>
>> +#ifdef CFG_OF_TREE
>> + char *of_flat_tree = CFG_OF_TREE;
>> +#else
>> char *of_flat_tree = NULL;
>> +#endif
>> ulong of_data = 0;
>> #endif
>
> I hereby NAK this patch for 3 reasons:
>
> 1) The patch does not solve a problem. Instead of hardwiring the
> address, you can just pass it as argument to the bootm command
> which seems more straightforward to me
>
> 2) The patch causes confusion. Documented behaviour is that "bootm"
> with one or two arguments (kernel address, or kernel plus ramdisk
> addresses) will boot a non-OF enabled kernel. With this patch,
> "bootm" will behave different on systems where the CFG_OF_TREE has
> been selected - which is usually not known to and cannot be
> checked by the end user, thus causing confusion.
>
> 3) With the patch applied and CFG_OF_TREE defined, there is no way to
> boot a non-OF kernel, thus breaking backward compatibility.
>
> Best regards,
>
> Wolfgang Denk
FWIIW, #2 and #3 are serious problems that I had not considered when I
supported Jocke's proposed patch. Sorry, Jocke, but I have to side with
Wolfgang in light of those arguments.
Best regards,
gvb
next prev parent reply other threads:[~2007-12-13 18:49 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-03 18:49 [U-Boot-Users] Can U-boot Autodetect arch/ppc versus arch/powerpc from info in the uImage? Darcy Watkins
2007-12-03 21:36 ` Wolfgang Denk
2007-12-03 23:33 ` [U-Boot-Users] Can U-boot Autodetect arch/ppc versusarch/powerpc " Joakim Tjernlund
2007-12-04 0:23 ` Wolfgang Denk
2007-12-04 1:06 ` Joakim Tjernlund
2007-12-06 22:43 ` [U-Boot-Users] Can U-boot Autodetect arch/ppcversusarch/powerpc " Joakim Tjernlund
2007-12-07 0:57 ` Wolfgang Denk
2007-12-07 6:55 ` Joakim Tjernlund
2007-12-07 11:11 ` Wolfgang Denk
2007-12-07 13:14 ` Jerry Van Baren
2007-12-09 13:12 ` Joakim Tjernlund
2007-12-09 15:00 ` Wolfgang Denk
2007-12-09 17:32 ` Joakim Tjernlund
2007-12-09 19:28 ` Wolfgang Denk
2007-12-09 21:14 ` Joakim Tjernlund
2007-12-09 21:36 ` Wolfgang Denk
2007-12-09 21:59 ` Joakim Tjernlund
2007-12-09 22:47 ` [U-Boot-Users] Can U-boot Autodetect arch/ppcversusarch/powerpcfrom " Joakim Tjernlund
2007-12-13 18:49 ` Jerry Van Baren [this message]
2007-12-13 23:03 ` [U-Boot-Users] Can U-boot Autodetect arch/ppcversusarch/powerpc from " Joakim Tjernlund
2007-12-14 15:53 ` Joakim Tjernlund
2007-12-16 20:14 ` Wolfgang Denk
2007-12-16 21:27 ` Joakim Tjernlund
2007-12-17 14:42 ` Joakim Tjernlund
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=47617EB3.5030809@ge.com \
--to=gerald.vanbaren@ge.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox