9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Steven Stallion <sstallion@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Porting plan9
Date: Tue,  2 Dec 2014 09:21:47 -0600	[thread overview]
Message-ID: <CAGGHmKGCzhdgqE7vFJV473f0P2Qb=Citye+xqrFswR=MBc_jNQ@mail.gmail.com> (raw)
In-Reply-To: <efe5026fa74aec21d3e0abf04dc46233@lilly.quanstro.net>

On Tue, Dec 2, 2014 at 8:10 AM, erik quanstrom <quanstro@quanstro.net> wrote:
>> One of the functions u-boot performs is configuring the various subsystems
>> in the SoC (individual clocks and power settings for subcomponents, gpio
>> pin functions, ...) -- things a BIOS would do in a more old-timey computer.
>> In my experience these are typically undocumented (or worse, incorrectly
>> documented), so doing this initialisation in Plan 9 would require reverse
>> engineering of u-boot to figure out what to do.  It's easier just to be
>> lazy and let u-boot do it.
>
> that's interesting.  with the marvell chip and board i had, there was almost no
> setup code required.  and what setup code there was, the hardware guy had got
> wrong.

That project was a little different. Off the shelf SoC's (particularly
those targeted for mobile) usually have firmware blobs that have to be
loaded at specific addresses, (undocumented) clock trees, signed stage
1 loaders, and other bits. Many times, using u-boot is your only
choice. You can pick apart the source if you like, but honestly why do
the work? I'm more interested in porting the kernel than writing a
bootloader. Frankly, purity in a software system only exists if you've
also designed the hardware.

Steve



  reply	other threads:[~2014-12-02 15:21 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-01  5:14 Ramakrishnan Muthukrishnan
2014-12-01  5:44 ` erik quanstrom
2014-12-01  8:43   ` Ramakrishnan Muthukrishnan
2014-12-01 14:13     ` erik quanstrom
2014-12-01 21:54     ` Steven Stallion
2014-12-02  0:30       ` Ramakrishnan Muthukrishnan
2014-12-02  0:56       ` Kurt H Maier
2014-12-02  2:16         ` Steven Stallion
2014-12-02  2:23           ` Skip Tavakkolian
2014-12-02  4:03           ` Kurt H Maier
2014-12-02  4:05             ` erik quanstrom
2014-12-02  4:19               ` Kurt H Maier
2014-12-02  4:23                 ` erik quanstrom
2014-12-02  2:42       ` Bakul Shah
2014-12-02  3:31         ` Steven Stallion
2014-12-02  2:43       ` erik quanstrom
2014-12-02  9:32         ` Richard Miller
2014-12-02 10:12           ` Jens Staal
2014-12-02 10:48             ` mischief
2014-12-02 10:54               ` mischief
2014-12-02 14:10           ` erik quanstrom
2014-12-02 15:21             ` Steven Stallion [this message]
2014-12-02 21:57               ` Enrico Weigelt, metux IT consult
2014-12-02 22:02                 ` Iruatã Souza
2014-12-02 22:28                   ` Enrico Weigelt, metux IT consult
2014-12-02 22:55                     ` Iruatã Souza
2014-12-03  0:20                     ` yoann padioleau
  -- strict thread matches above, loose matches on Subject: below --
2002-01-24  1:17 [9fans] porting plan9 forsyth
2002-01-24 19:13 ` Michael Grunditz
2002-01-24  0:45 jmk
2002-01-23 23:58 Michael Grunditz
2002-01-23 23:06 anothy

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='CAGGHmKGCzhdgqE7vFJV473f0P2Qb=Citye+xqrFswR=MBc_jNQ@mail.gmail.com' \
    --to=sstallion@gmail.com \
    --cc=9fans@9fans.net \
    /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;
as well as URLs for NNTP newsgroup(s).