Re: [WIP PATCH] gnu: add U-Boot support to operating-system configuration.

2016-09-23 Thread Ludovic Courtès
Hi, David Craven skribis: > Tested u-boot-beagle-bone-black, it boots arch linux arm after making > some modifications. Good progress already! > I managed to build the system natively and install it using guix > system init. This required a few modifications here and there. There's > a boot pr

Re: [WIP PATCH] gnu: add U-Boot support to operating-system configuration.

2016-09-17 Thread David Craven
Hi Danny, Tested u-boot-beagle-bone-black, it boots arch linux arm after making some modifications. I managed to build the system natively and install it using guix system init. This required a few modifications here and there. There's a boot problem obviously - would be to easy if not. I ordered

Re: [WIP PATCH] gnu: add U-Boot support to operating-system configuration.

2016-09-17 Thread David Craven
> Did you test the vm part? I ran it and I can see that it starts up and > provides ssh, apparently, but I have no idea how to connect to its network. Works well. The only part I removed was the install-u-boot part so that it only installs the extlinux.conf. I think this is close to what we want

Re: [WIP PATCH] gnu: add U-Boot support to operating-system configuration.

2016-09-16 Thread Vincent Legoll
Hello, The following hopefully is not too far from the truth, memory is somewhat fading away... > It says "Install GRUB with GRUB.CFG on DEVICE, which is assumed > to be mounted on MOUNT-POINT." > Does it mean "Install GRUB (with GRUB.CFG on DEVICE), which is > assumed to be mounted on MOUNT-POIN

Re: [WIP PATCH] gnu: add U-Boot support to operating-system configuration.

2016-09-16 Thread Danny Milosavljevic
Hi everyone, On Sat, 10 Sep 2016 19:52:49 +0200 David Craven wrote: > Thanks Danny! Awesome work! =) I'm really excited to see this hitting > master... Thanks. The version I posted in this thread should be the simplest version that still works. I'm using the grub part of it every day (I modi

Re: [WIP PATCH] gnu: add U-Boot support to operating-system configuration.

2016-09-10 Thread David Craven
Thanks Danny! Awesome work! =) I'm really excited to see this hitting master...

[WIP PATCH] gnu: add U-Boot support to operating-system configuration.

2016-09-09 Thread Danny Milosavljevic
--- gnu.scm | 1 + gnu/build/install.scm | 45 +- gnu/build/vm.scm| 3 +- gnu/system.scm | 20 +++- gnu/system/grub.scm | 5 ++ gnu/system/u-boot.scm | 124 gnu/system/vm.scm

Re: [PATCH] gnu: Add u-boot.

2016-09-01 Thread Ludovic Courtès
Hi Danny! Danny Milosavljevic skribis: > On Wed, 31 Aug 2016 22:40:57 +0200 > l...@gnu.org (Ludovic Courtès) wrote: > >> > + (lambda* (#:key outputs make-flags #:allow-other-keys) >> > + (let ((configname (string-append ,board "_defconfig"))) >> >> Should be ‘config-name

Re: [PATCH] gnu: Add u-boot.

2016-08-31 Thread David Craven
> I'm not totally against naming filenames "file" - or "f" for that matter - > but I distinguish for good reason. I believe I renamed your variables... xD (replace 'install + (lambda* (#:key outputs make-flags #:allow-other-keys) + (let ((out (string-append (assoc-ref outpu

Re: [PATCH] gnu: Add u-boot.

2016-08-31 Thread Danny Milosavljevic
Hi Ludo, On Wed, 31 Aug 2016 22:40:57 +0200 l...@gnu.org (Ludovic Courtès) wrote: > > + (lambda* (#:key outputs make-flags #:allow-other-keys) > > + (let ((configname (string-append ,board "_defconfig"))) > > Should be ‘config-name’ per our conventions, but ‘config’ is pr

Re: [PATCH] gnu: Add u-boot.

2016-08-31 Thread Ludovic Courtès
David Craven skribis: > From: Danny Milosavljevic > > * gnu/packages/u-boot.scm (u-boot, make-u-boot-package, > u-boot-vexpress_ca9x4, u-boot-malta armhf-linux-uboot, > mips64el-linux-uboot): New variables. > > Co-authored-by: David Craven Cool, thanks for picking it up! Overall this LGTM

Re: [PATCH] gnu: Add u-boot.

2016-08-29 Thread Danny Milosavljevic
On Mon, 29 Aug 2016 20:27:52 +0200 Danny Milosavljevic wrote: > (find-files "." ".*\\.(bin|efi)$")) Also in order to support Novena it should be (find-files "." ".*\\.(bin|efi|spl)$"))

Re: [PATCH] gnu: Add u-boot.

2016-08-29 Thread Danny Milosavljevic
> +(define (make-u-boot-package board triplet xgcc) ... > + (begin > + (display "Invalid boardname. Valid boardnames would > have been:") > + (newline) > + (system* "ls" "-1" "configs") > + #f) I

[PATCH] gnu: Add u-boot.

2016-08-29 Thread David Craven
From: Danny Milosavljevic * gnu/packages/u-boot.scm (u-boot, make-u-boot-package, u-boot-vexpress_ca9x4, u-boot-malta armhf-linux-uboot, mips64el-linux-uboot): New variables. Co-authored-by: David Craven --- gnu/packages/u-boot.scm | 83 - 1