From: Jerry Van Baren <gvb.uboot@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH 6/17] Reorganize and fix problems (returns) in the bootm command.
Date: Thu, 05 Jul 2007 06:54:08 -0400 [thread overview]
Message-ID: <468CCDD0.2020208@gmail.com> (raw)
In-Reply-To: <fa686aa40707041943x2871c457xc19cd230520bf28f@mail.gmail.com>
Grant Likely wrote:
> On 7/4/07, Jerry Van Baren <gvb.uboot@gmail.com> wrote:
>> Do *NOT* return after the "point of no return" has been passed.
>> If something goes wrong, the board must be reset after that point.
>> Move the "Transferring control to Linux" debug message back to where it
>> belongs: just before transferring control to linux.
>
> Why is it necessary to reset the board at this point? The failure
> paths here seem to be things like invalid checksums and the like. Why
> are these tests after a point of no return?
>
> I would think that if any of these failures are hit, you would *not*
> want to reset the board so you can figure out what was going on.
>
> Cheers,
> g.
We've smashed our underpinnings by uncompressing linux over our
interrupt vectors before the checksum catches the problem. There is no
way back other than a reset. The error I fixed (in a couple of places)
was returns. FWIIW, my experience with the erroneous returns is that it
sort of works, but not right and then funky stuff happens. :-/
I presume the comment was a general one. If you have any specific reset
vs. return questions, hollar and I'll justify them or eat crow.
Thanks,
gvb
next prev parent reply other threads:[~2007-07-05 10:54 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-05 1:15 [U-Boot-Users] [PATCH 6/17] Reorganize and fix problems (returns) in the bootm command Jerry Van Baren
2007-07-05 2:43 ` Grant Likely
2007-07-05 10:54 ` Jerry Van Baren [this message]
2007-07-05 14:13 ` Grant Likely
2007-07-05 14:30 ` Jerry Van Baren
2007-07-05 19:36 ` Wolfgang Denk
2007-07-05 15:29 ` Timur Tabi
2007-07-05 15:33 ` Jerry Van Baren
2007-07-05 19:38 ` Wolfgang Denk
2007-07-05 23:46 ` Jerry Van Baren
2007-07-06 2:25 ` Timur Tabi
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=468CCDD0.2020208@gmail.com \
--to=gvb.uboot@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.