* GuixSD on Olimex A20 OLinuXino?
[not found] ` <20180122215323.99D4A207FC@vcs0.savannah.gnu.org>
@ 2018-01-24 14:03 ` Ludovic Courtès
2018-01-24 14:24 ` Danny Milosavljevic
0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2018-01-24 14:03 UTC (permalink / raw)
To: guix-devel, Danny Milosavljevic
Hello Danny!
dannym@scratchpost.org (Danny Milosavljevic) skribis:
> commit c55c6985948b12a39cd5805bde95db9a80def3ba
> Author: Danny Milosavljevic <dannym@scratchpost.org>
> Date: Mon Jan 22 22:35:06 2018 +0100
>
> system: Add A20 OLinuXino LIME installer.
>
> * gnu/bootloader/u-boot.scm (u-boot-a20-olinuxino-lime-bootloader):
> New exported variable.
> * gnu/packages/bootloaders.scm (u-boot-a20-olinuxino-lime):
> New exported variable.
> * gnu/system/install.scm (a20-olinuxino-lime-installation-os):
> New exported variable.
So, does it actually work? :-)
I have one of these (maybe not the “LIME”, but does it make a
difference?). How should I proceed? Is it enough to dump this on
microSD and boot?
I would actually write the final system rather than the installation
system given that ‘guix pull’ currently runs out of memory on that
device.
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: GuixSD on Olimex A20 OLinuXino?
2018-01-24 14:03 ` GuixSD on Olimex A20 OLinuXino? Ludovic Courtès
@ 2018-01-24 14:24 ` Danny Milosavljevic
2018-01-24 18:16 ` Danny Milosavljevic
2018-01-24 21:05 ` Ludovic Courtès
0 siblings, 2 replies; 4+ messages in thread
From: Danny Milosavljevic @ 2018-01-24 14:24 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel
Hi Ludo,
> I have one of these (maybe not the “LIME”, but does it make a
> difference?).
Yes, it makes a difference (in U-Boot only).
Which one do you have? There's MICRO, LIME, LIME2 and additional
variants with eMMC and without eMMC.
Most of these should already have entries in
gnu/system/install.scm . If not, one can easily add one
(add entry to gnu/bootloader/u-boot.scm, inheriting from allwinner-bootloader,
and then add entry to gnu/system/install.scm using it)
> How should I proceed? Is it enough to dump this on
> microSD and boot?
Yes.
> I would actually write the final system rather than the installation
> system given that ‘guix pull’ currently runs out of memory on that
> device.
You can also boot the image using qemu-system-arm -kernel ... -dtb ...
in order to directly load the Linux kernel (skipping u-boot).
Then set everything up in there.
Then copy the resulting image to the SD card.
You'd just have to specify the correct bootloader form in the final
system. (u-boot-a20-olinuxino-whatever-bootloader).
Like this does:
(define (adjust-bootloader os)
(operating-system (inherit os)
(bootloader (bootloader-configuration
(bootloader u-boot-a20-olinuxino-whatever-bootloader)
(target "/dev/mmcblk0")))))
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: GuixSD on Olimex A20 OLinuXino?
2018-01-24 14:24 ` Danny Milosavljevic
@ 2018-01-24 18:16 ` Danny Milosavljevic
2018-01-24 21:05 ` Ludovic Courtès
1 sibling, 0 replies; 4+ messages in thread
From: Danny Milosavljevic @ 2018-01-24 18:16 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel
> Most of these should already have entries in
> gnu/system/install.scm . If not, one can easily add one
> (add entry to gnu/bootloader/u-boot.scm, inheriting from allwinner-bootloader,
> and then add entry to gnu/system/install.scm using it)
Oh yeah, and a bootloader package into gnu/packages/bootloader.scm .
if you don't know the make-u-boot-package parameter, just guess it
wrong - you'll get a list.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: GuixSD on Olimex A20 OLinuXino?
2018-01-24 14:24 ` Danny Milosavljevic
2018-01-24 18:16 ` Danny Milosavljevic
@ 2018-01-24 21:05 ` Ludovic Courtès
1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2018-01-24 21:05 UTC (permalink / raw)
To: Danny Milosavljevic; +Cc: guix-devel
Hello,
Danny Milosavljevic <dannym@scratchpost.org> skribis:
>> I have one of these (maybe not the “LIME”, but does it make a
>> difference?).
>
> Yes, it makes a difference (in U-Boot only).
>
> Which one do you have? There's MICRO, LIME, LIME2 and additional
> variants with eMMC and without eMMC.
It’s the MICRO.
> Most of these should already have entries in
> gnu/system/install.scm . If not, one can easily add one
> (add entry to gnu/bootloader/u-boot.scm, inheriting from allwinner-bootloader,
> and then add entry to gnu/system/install.scm using it)
OK.
>> How should I proceed? Is it enough to dump this on
>> microSD and boot?
>
> Yes.
Awesome. :-)
I guess I’ll give it a try probably after FOSDEM. Really crazy that
GuixSD on ARM “just works”!
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-01-24 21:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20180122215320.16031.12314@vcs0.savannah.gnu.org>
[not found] ` <20180122215323.99D4A207FC@vcs0.savannah.gnu.org>
2018-01-24 14:03 ` GuixSD on Olimex A20 OLinuXino? Ludovic Courtès
2018-01-24 14:24 ` Danny Milosavljevic
2018-01-24 18:16 ` Danny Milosavljevic
2018-01-24 21:05 ` Ludovic Courtès
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.