1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 20:36:27 +00:00
Commit graph

64 commits

Author SHA1 Message Date
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
Lluís Batlle i Rossell 8783e812b5 More changes beyond stdenv-linux for the fuloong2f platform
svn path=/nixpkgs/branches/stdenv-updates/; revision=22973
2010-08-05 18:51:12 +00:00
Lluís Batlle i Rossell 212161482f Setting the proper kernel headers in platforms
svn path=/nixpkgs/branches/stdenv-updates/; revision=22845
2010-08-01 21:05:32 +00:00
Lluís Batlle i Rossell 937578d5ef Some first changes to get some evaluation working on the fuloong2f
svn path=/nixpkgs/branches/stdenv-updates/; revision=22840
2010-08-01 20:57:13 +00:00
Lluís Batlle i Rossell 7ac1e6a12b Making the sheevaplug kernel have nfs4 server and client
svn path=/nixpkgs/trunk/; revision=22233
2010-06-12 17:42:17 +00:00
Lluís Batlle i Rossell ed55a19bc7 Adding FUSE to the sheevaplug kernel, as a module
svn path=/nixpkgs/trunk/; revision=21754
2010-05-12 19:31:03 +00:00
Lluís Batlle i Rossell 00726e62fc Fixing some sheevaplug linux kernel configuration options,
because they were bad written.
I also added the support for tun devices.


svn path=/nixpkgs/trunk/; revision=20773
2010-03-22 20:01:48 +00:00
Lluís Batlle i Rossell 182aa30e55 Making the sheevaplug kernel include DM_CRYPT and the cryptoloop device.
svn path=/nixpkgs/trunk/; revision=20618
2010-03-14 21:17:17 +00:00
Lluís Batlle i Rossell 648b17197f Adding linux 2.4 kernel headers for cross builds.
(I'm thinking of OpenWRT machines out there, mips, with linux 2.4)

svn path=/nixpkgs/trunk/; revision=20539
2010-03-10 20:44:48 +00:00
Lluís Batlle i Rossell 152a0c97fa Adding kernelArch to platforms.pc. Needed to make the release.nix tarball happy.
svn path=/nixpkgs/trunk/; revision=20308
2010-03-01 14:06:48 +00:00
Lluís Batlle i Rossell 38a19b7202 Adding the pc kernel headers base config, for the new linux kernel headers to build.
svn path=/nixpkgs/trunk/; revision=20307
2010-03-01 13:12:57 +00:00
Lluís Batlle i Rossell 11aa65c28a Simplified much more the expressions for cross building and multiplatform.
I introduce the new nixpkgs parameter "platform", defaulting to "pc",
which was before defined as an attribute of nixpkgs.

I made the crossSystem nixpkgs attribute set parameter contain its own 'platform'.

This allows cross-building a kernel for a given crossSystem.platform in a non-PC
platform.

The actual native platform can be taken from stdenv.platform, and this way we also
avoid the constant passing of 'platform' to packages for platform-dependant builds
(kernel, initrd, ...).

I will update nixos accordingly to these changes, for non-PC platforms to work.

I think we are gaining on flexibility and clearness. I could cross build succesfully
an ultrasparc kernel and a mipsel kernel on PC. But since this change, I should be able
to do this also in non-PC.

Before this change, there was no possibility of distinguishing the "target platform" or
the "native build platform" when cross building, being the single "platform" attribute
always interpreted as target platform.

The platform is a quite relevant attribute set, as it determines the linuxHeaders used
(in the case, by now the only one supported, of linux targets).

The platform attributes are quite linux centric still. Let's hope for more generality to come.

svn path=/nixpkgs/trunk/; revision=20273
2010-02-27 17:35:47 +00:00
Lluís Batlle i Rossell 8f2427c91a Updating the actual platforms in platforms.nix to fit the new requirement:
kernelHeadersBaseConfig.

svn path=/nixpkgs/trunk/; revision=20270
2010-02-27 00:55:03 +00:00
Lluís Batlle i Rossell 7d898c52df Adding some important modules to the qemu versatile board and the sheevaplug,
mainly for nfsroot and nixos.


svn path=/nixpkgs/trunk/; revision=20238
2010-02-24 22:13:48 +00:00
Lluís Batlle i Rossell eaf2e0f1fa Trying to get nfsroot boot in versatile (simply adding kernel options for that)
svn path=/nixpkgs/trunk/; revision=20237
2010-02-24 20:35:14 +00:00
Lluís Batlle i Rossell 93ee9539e2 Made the RTC and the SCSI disks work on versatile.
svn path=/nixpkgs/trunk/; revision=20207
2010-02-23 22:41:16 +00:00