Commit Graph

79 Commits

Author SHA1 Message Date
Tuomas Tynkkynen
322faf9219 platforms.nix: Switch ARMv7 to vfpv3-d16
Make ARMv7 compatible with non-NEON chips, changing to the same float ABI
that Debian and Arch Linux use. This is apparently required for the
binaries to work on Scaleway, for instance.
2016-07-20 02:38:10 +03:00
Tuomas Tynkkynen
171c7f0e63 make-bootstrap-tools-cross.nix: Have more consistency with platforms.nix
E.g. we had `arch = "arm"` in the former and `arch = "armv6"` in the
latter. Try to have some more consistency.
2016-07-20 02:38:10 +03:00
Tuomas Tynkkynen
953249db34 platforms.nix: kirkwood_defconfig is gone, use multi_v5_defconfig
kirkwood_defconfig was removed in 3.17, and our kernel headers are based
on 4.4. Make this change to allow the armv5tel bootstrap tarball
to build again (I can't test it, though).
2016-07-20 02:38:10 +03:00
Tuomas Tynkkynen
44955a73b2 platforms.nix: Enable DTB for the ARMv6 Raspberry Pi 2016-07-04 15:13:13 +03:00
Tuomas Tynkkynen
7ae1e9bb6d multi_v7_defconfig: Enable AHCI_IMX 2016-06-14 01:31:57 +03:00
Tuomas Tynkkynen
6102398d46 platforms.nix: Use bcm2835_defconfig for RPi kernelHeadersBaseConfig
kirkwood_defconfig was removed in the 3.17 kernel release, so
kernelHeadersBaseConfig needs to be changed in order to build
any Raspberry Pi stuff against linuxHeaders_3_18 (which has been the
default since the systemd 227 merge).
2015-11-16 02:37:13 +02:00
Tuomas Tynkkynen
1793fdbfb1 platforms.nix: Remove IntegratorCP and Versatile
These ARM boards are very old and quite likely used only for booting in
QEMU emulation. I'll focus on making the multiplatform image easy to
boot in QEMU instead.
2015-06-30 10:33:25 +03:00
Lluís Batlle i Rossell
caeaddcf18 Enabling NEON for armv7l. Also use a common platform for armv7.
I added some comments about our decision for fpu flags. It's about the boards
we have in mind to support. NVidia Tegra2 is out, because it lacks neon.
2015-05-10 10:59:29 +00:00
Tuomas Tynkkynen
a6aa673849 ARMv7 platforms: switch header config to multi_v7_defconfig
Otherwise they wouldn't be able to share a binary cache since glibc et
al would get a different hash due to different linux-headers package.
2015-05-07 06:04:10 +03:00
Tuomas Tynkkynen
0d5e144210 platforms: Add ARMv7 (hard float) multiplatform
Based on the 'multi_v7_defconfig' that supports numerous boards.
2015-05-07 06:04:10 +03:00
Lluís Batlle i Rossell
0c5be7164c sheevaplug: fix kernel build.
I added platform.kernelMakeFlags. This allows setting the required
parameter to make the required kernel uImage for the sheevaplug,
since it became a platform with devicetree (3.10).

I have tried it with linux 3.18 and it built fine.
2015-05-06 09:50:51 +02:00
Lluís Batlle i Rossell
9d8c26efae Add comment explaining the rpi2 gcc flags. 2015-03-05 10:00:21 +00:00
Ambroz Bizjak
c1b803ba0e Cut down on the gcc flags for raspberrypi2. 2015-03-05 09:23:24 +00:00
Lluís Batlle i Rossell
1c7fc46ee5 Adding the raspberrypi2 platform. 2015-03-05 09:09:30 +00:00
Ambroz Bizjak
cf317b85ad Add platform definition for BeagleBone and default to it on armv7l-linux. 2015-02-05 21:26:43 +01:00
Shea Levy
58246936e4 platforms.nix: Separate 32-bit and 64-bit PCs
With this, stdenv.platform.kernelArch can be used by the kernel builder
for PC platforms too.

Signed-off-by: Shea Levy <shea@shealevy.com>
2013-12-31 21:34:44 -05:00
Eelco Dolstra
f155a35d7d Move kernelExtraConfig to common-config.nix (for x86)
It's bad to have the kernel config scattered across two places.  (This
should also be done for the other architectures.)

Also, restore Xen and KVM guest support in Linux 3.10.
2013-08-01 14:35:31 +02:00
Lluís Batlle i Rossell
b513ea43e4 Enable blowfish/twoflish crypto in sheevaplug kernel 2013-07-20 23:16:50 +02:00
Shea Levy
270ba268d7 Add HYPERVISOR_GUEST for linux 3.10
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-06-30 21:42:51 -04:00
Shea Levy
0d8025c612 Linux 3.10
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-06-30 20:55:21 -04:00
Lluís Batlle i Rossell
2ba0d9d3ae fuloong linux: add CGROUPS and disable FTRACE
FTRACE was making linux not load at all. And systemd
wants cgroups.
2013-03-30 23:38:39 +01:00
Lluís Batlle i Rossell
0bf70832f4 Raspberrypi platform: make ext4 in kernel
I also make other modules in-kernel. I originally copied this
from the sheevaplug kernel, but the sheevaplug runs the initrd
and the raspberrypi not.
2013-01-29 20:17:36 +01:00
Lluís Batlle i Rossell
60f2d9c6bb raspberrypi platform: adding a missing uboot attr
It's required, even if set to null, along all nixpkgs.
2013-01-29 20:17:30 +01:00
Lluís Batlle i Rossell
d770ea2ad2 Fixing the kernel target for raspberrypi (zImage)
Removing uboot things about it too.
2013-01-29 20:17:28 +01:00
Peter Simons
9e9cd7b529 Merge branch 'master' into stdenv-updates. 2013-01-04 21:00:53 +01:00
Lluís Batlle i Rossell
2402bb2613 gcc: Moving the arch=loongson2f to the current platform approach 2012-12-31 09:38:32 +00:00
Lluís Batlle i Rossell
97d81bde0c Adding platform gcc information for raspberrypi, and the gcc support.
Without it, gcc builds for softfloat, and the glibc doesn't have support for
softfloat (it ends up requiring some gnu-soft.h file). We'll have to test if
this fixes the build of gcc or not, though.
2012-12-30 21:55:02 +00:00
Lluis Batlle
db6925ea37 Add kgdb to the sheeveaplug. It can help in case of troubles. 2012-12-29 12:22:50 +01:00
root
1b29d29c76 First movement to get the raspberrypi stdenv building. 2012-12-26 21:59:54 +00:00
Shea Levy
9ddd1cc78b Linux 3.7
Kernel configuration succeeds, I'll let hydra test the build
2012-12-11 11:57:04 -05:00
Rickard Nilsson
4959fd19f4 sheevaplug platform: Add hardware watchdog support 2012-10-04 13:11:13 +02:00
Rickard Nilsson
0c88675592 sheevaplug platform: Add VLAN support (CONFIG_VLAN_8021Q=m) 2012-10-04 13:10:24 +02:00
Lluis Batlle
30e76124e6 platforms: adding sha1 to the sheevaplug
The mv-cesa requires soft sha1 as fallback, to work.
2012-09-25 19:37:17 +02:00
Lluis Batlle
04f93115a3 sheevaplug: adding ubifs support to the kernel. 2012-09-16 22:46:57 +02:00
Lluís Batlle i Rossell
0820367a35 Adding the XFS and JFS modules to the sheevaplug kernel. They may be worth
using.


svn path=/nixpkgs/trunk/; revision=34426
2012-06-10 19:11:07 +00:00
Lluís Batlle i Rossell
5d263987a0 Updating the sheevaplug kernel config to include btrfs and netconsole.
svn path=/nixpkgs/trunk/; revision=34412
2012-06-09 20:27:00 +00:00
Rickard Nilsson
00b9523bbb Added IP_PNP_DHCP to the SheevaPlug kernel configuration.
This allows the SheevaPlug to set up the network automatically with
DHCP, if the "ip=dhcp" kernel option is set.

svn path=/nixpkgs/trunk/; revision=34105
2012-05-15 14:00:21 +00:00
Rickard Nilsson
3e2a3f5d09 Added ZRAM module support to the SheevaPlug kernel.
svn path=/nixpkgs/trunk/; revision=34104
2012-05-15 13:51:03 +00:00
Lluís Batlle i Rossell
e0cfa58706 Updating the cifs utils (I think even the hash did not match for 4.5),
and adding some CIFS support to the sheevaplug kernel.

Patch by Rickard Nilsson.


svn path=/nixpkgs/trunk/; revision=32298
2012-02-15 11:08:38 +00:00
Lluís Batlle i Rossell
e6c1aa2005 Fixing the kernel configuration for Fuloong2F. Specially with VGA_CONSOLE enabled,
it will not boot.

svn path=/nixpkgs/trunk/; revision=31750
2012-01-21 00:34:38 +00:00
Lluís Batlle i Rossell
9c87cccee9 Adding cgroups to the sheevaplug kernel.
svn path=/nixpkgs/trunk/; revision=31114
2011-12-27 19:33:36 +00:00
Lluís Batlle i Rossell
624b8616d4 Enabling the ipv6 module in the sheevaplug
svn path=/nixpkgs/trunk/; revision=30018
2011-10-25 17:41:43 +00:00
Lluís Batlle i Rossell
a9ce52e01a Updating dos2unix, that now includes also unix2dos.
svn path=/nixpkgs/trunk/; revision=28788
2011-08-24 07:48:02 +00:00
Lluís Batlle i Rossell
9387a99a19 Adding netfilter/iptables to the sheevaplug kernel.
svn path=/nixpkgs/trunk/; revision=27886
2011-07-21 18:40:24 +00:00
Lluís Batlle i Rossell
2c5de61327 Updating from trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=23840
2010-09-17 19:10:21 +00:00
Ludovic Courtès
50e1e6147e Add `guruplug' platform.
svn path=/nixpkgs/trunk/; revision=23834
2010-09-17 15:56:47 +00:00
Lluís Batlle i Rossell
28841f686c Fixing the fuloong kernel, which had a SYSFS_DEPRECATED_V2 enabled. That made udev
work bad, the main simptom being the lack of /dev/hda*.

I also added the IP_PNP DHCP and BOOTP methods, which may be confortable in nfsroot situations.

svn path=/nixpkgs/branches/stdenv-updates/; revision=23827
2010-09-16 19:32:13 +00:00
Lluís Batlle i Rossell
daa0f13358 Fixing the kernel for the fuloong (I should never had deactivated IDE, otherwise it cannot
find the hd controller)

svn path=/nixpkgs/branches/stdenv-updates/; revision=23497
2010-08-29 10:01:46 +00:00
Lluís Batlle i Rossell
13a647ab4c Disabling the legacy IDE in the fuloong2f kernel (that may give sda devices instead of hga?)
svn path=/nixpkgs/branches/stdenv-updates/; revision=23338
2010-08-21 20:03:00 +00:00
Lluís Batlle i Rossell
b368b4b199 Making more packages build on the Fuloong2f.
I still can't build the kernel because it requires binutils yet to be released.

svn path=/nixpkgs/branches/stdenv-updates/; revision=23132
2010-08-11 20:16:09 +00:00