all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: Jookia <166291@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: Guix on Mobile (Was: Interest check: U-Boot bootloader support)
Date: Mon, 22 Feb 2016 21:17:56 +0100	[thread overview]
Message-ID: <20160222211756.6f286f57@scratchpost.org> (raw)
In-Reply-To: <20160222191927.GA4900@novena-choice-citizen.lan>

Hi,

On Tue, 23 Feb 2016 06:19:27 +1100
Jookia <166291@gmail.com> wrote:

> Basically the bootloader would just be Linux to do some hardware init (touch screen, etc)

Actually, on ARM you usually have to do basic hardware init before Linux runs. 
Linux doesn't do it all. Often, booting Linux without U-Boot doesn't work.

On linux-sunxi, U-Boot initializes some clocks, memory, important regulators, USB, MMC and the framebuffer (I'm sure I forgot some). 

U-Boot started out as just a tiny copy of Linux, but it has diverged a bit since.

There are also weird things like you aren't allowed to turn stuff you need later off (in, say, U-Boot), because once it's off, you can't turn it on again (because it's off, duh) without rebooting. So kexeced Linux can find itself in a world of hurt. 

(There's a special data-passing mechanism between U-Boot and Linux in order to mitigate that problem - but does it work between Linux and kexec-Linux?)

> systems with GRUB and U-Boot as Linux tends to initialize hardware better than
> them (neither U-Boot nor Libreboot like either of the EDID values of my screen!)
> and would probably allow faster bootup given you're not initializing the
> hardware twice.

I also have a screen with wrong EDID. I have a DVI<->HDMI adapter by ATI which contains an EDID chip in order to fake the data in order to get it to work. How insane is that?

That said, on the general interest: guix is already slooow on a fairly modern X200. If that ran on an armv7, it would probably be much slower. Not fun. 

But might be worth a try. Did someone try the non-GuixSD armv7 thing? Is the speed acceptable?

  reply	other threads:[~2016-02-22 20:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-20 20:43 Interest check: U-Boot bootloader support Jookia
2016-02-21 15:29 ` Andreas Enge
2016-02-22 16:19 ` Nils Gillmann
2016-02-22 18:01   ` Christopher Allan Webber
2016-02-22 18:42     ` Nils Gillmann
2016-02-22 19:19     ` Guix on Mobile (Was: Interest check: U-Boot bootloader support) Jookia
2016-02-22 20:17       ` Danny Milosavljevic [this message]
2016-02-22 20:28         ` Leo Famulari
2016-02-22 20:29         ` Jookia
2016-02-22 21:12         ` Andreas Enge
2016-02-23 11:14 ` Interest check: U-Boot bootloader support Ludovic Courtès

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=20160222211756.6f286f57@scratchpost.org \
    --to=dannym@scratchpost.org \
    --cc=166291@gmail.com \
    --cc=guix-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

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.