From: Tom Rini <trini@konsulko.com>
To: Heinrich Schuchardt <xypron.glpk@gmx.de>
Cc: u-boot@lists.denx.de, Simon Glass <sjg@chromium.org>
Subject: Re: [PATCH 2/4] doc: Migrate DesignPrinciples wiki page to sphinx
Date: Sat, 9 Jul 2022 08:39:19 -0400 [thread overview]
Message-ID: <20220709123919.GF1146598@bill-the-cat> (raw)
In-Reply-To: <fdd1d46c-1050-907a-4d06-d1fdb23a9e4f@gmx.de>
[-- Attachment #1: Type: text/plain, Size: 2446 bytes --]
On Sat, Jul 09, 2022 at 08:37:12AM +0200, Heinrich Schuchardt wrote:
> On 6/27/22 19:17, Tom Rini wrote:
> > Move the current DesignPrinciples wiki page to
> > doc/develop/designprinciples.rst. The changes here are for formatting
> > or slight rewording so that it reads well when linking to other sphinx
> > documents.
> >
> > Signed-off-by: Tom Rini <trini@konsulko.com>
> > ---
> > doc/develop/designprinciples.rst | 197 +++++++++++++++++++++++++++++++
> > doc/develop/index.rst | 1 +
> > 2 files changed, 198 insertions(+)
> > create mode 100644 doc/develop/designprinciples.rst
> >
> > diff --git a/doc/develop/designprinciples.rst b/doc/develop/designprinciples.rst
> > new file mode 100644
> > index 000000000000..79694db77604
> > --- /dev/null
> > +++ b/doc/develop/designprinciples.rst
> > @@ -0,0 +1,197 @@
> > +.. SPDX-License-Identifier: GPL-2.0+:
> > +
> > +U-Boot Design Principles
> > +========================
> > +
> > +The 10 Golden Rules of U-Boot design
> > +------------------------------------
> > +
> > +Keep it Small
> > +^^^^^^^^^^^^^
> > +
> > +U-Boot is a Boot Loader, i.e. its primary purpose in the shipping
> > +system is to load some operating system.
> > +That means that U-Boot is
> > +necessary to perform a certain task, but it's nothing you want to
> > +throw any significant resources at. Typically U-Boot is stored in
> > +relatively small NOR flash memory, which is expensive
> > +compared to the much larger NAND devices often used to store the
> > +operating system and the application.
> > +
> > +At the moment, U-Boot supports boards with just 128 !KiB ROM or with
> > +256 !KiB NOR flash. We should not easily ignore such configurations -
>
> %s/!KiB/KiB/g
I fixed that in a follow-up.
> Are these numbers still true? U-Boot typically is larger than 512 KiB.
More true than not still, yes. And then very much so something to keep
in mind for SPL. It's more true that NOR isn't common than less than
512KiB isn't true.
[snip]
> > +Keep it Simple
> > +^^^^^^^^^^^^^^
> > +
> > +U-Boot is a boot loader, but it is also a tool used for board
> > +bring-up, for production testing, and for other activities
>
> %/$/./
>
> I cannot see how this sentence is related to the heading. The sentence
> is repeated below.
It's also verbatim what the original page says. It's repetition for
emphasis.
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
next prev parent reply other threads:[~2022-07-09 12:39 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-27 17:17 [PATCH 0/4] Migrate some wiki pages to sphinx Tom Rini
2022-06-27 17:17 ` [PATCH 1/4] doc: Migrate CodingStyle wiki page " Tom Rini
2022-06-30 10:06 ` Simon Glass
2022-07-09 6:15 ` Heinrich Schuchardt
2022-07-09 6:12 ` Heinrich Schuchardt
2022-07-09 12:32 ` Tom Rini
2022-07-09 12:36 ` Tom Rini
2022-06-27 17:17 ` [PATCH 2/4] doc: Migrate DesignPrinciples " Tom Rini
2022-06-30 10:06 ` Simon Glass
2022-07-08 7:22 ` Claudius Heine
2022-07-09 6:37 ` Heinrich Schuchardt
2022-07-09 12:39 ` Tom Rini [this message]
2022-06-27 17:17 ` [PATCH 3/4] doc: codingstyle: Remove comment about '//' style comments Tom Rini
2022-06-30 10:06 ` Simon Glass
2022-07-09 6:40 ` Heinrich Schuchardt
2022-06-27 17:17 ` [PATCH 4/4] doc: Migrate Process wiki page to sphinx Tom Rini
2022-06-30 10:06 ` Simon Glass
2022-07-08 7:06 ` Claudius Heine
2022-07-08 7:22 ` Martin Bonner
2022-07-08 17:44 ` Tom Rini
2022-07-09 6:55 ` Heinrich Schuchardt
2022-07-09 12:41 ` Tom Rini
2022-07-09 15:02 ` Tom Rini
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=20220709123919.GF1146598@bill-the-cat \
--to=trini@konsulko.com \
--cc=sjg@chromium.org \
--cc=u-boot@lists.denx.de \
--cc=xypron.glpk@gmx.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.