1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/pkgs/os-specific/linux
Lluís Batlle i Rossell b1b7266aa3 After some testing with an ultrasparc cross-compiler:
Updating the cross-build expressions, adding some flexibility.
Updated the linux headers used cross building, as 2.6.28 had bugs on endianness in
sparc64.
There were, as usual some bugs in gcc. Maybe not many make a cross compiler to
ultrasparc.

For the record, I could build an ultrasparc kernel with this base nix:
import /etc/nixos/nixpkgs/default.nix   # The root nixpkgs default.nix
{
    crossSystem = {
        config = "sparc64-unknown-linux";
        bigEndian = true;
        arch = "sparc64";
        float = "soft";
        withTLS = true;
        cpu = "ultrasparc";
    };

    config = pkgs: {
      packageOverrides = pkgs : {
        platform = {
            name = "sparc64";
            kernelHeadersBaseConfig = "sparc64_defconfig";
            kernelBaseConfig = "sparc64_defconfig";
            kernelArch = "sparc";
            kernelAutoModules = false;
            kernelTarget = "zImage";
            uboot = null;
        };
      };
    };
}

Although it did not boot directly in qemu-system-sparc64:
[sparc64] Kernel already loaded
Unhandled Exception 0x0000000000000020
PC = 0x0000000000404000 NPC = 0x0000000000404004

svn path=/nixpkgs/trunk/; revision=20269
2010-02-27 00:52:48 +00:00
..
915resolution * Until the modesetting branch of the i810 driver works, we're still 2007-03-06 00:12:43 +00:00
acpi * Cleaned up a lot of description fields that contained newlines. 2009-03-03 13:27:40 +00:00
acpid Updating acpid. 2010-02-11 18:59:58 +00:00
acpitool * Cleaned up a lot of description fields that contained newlines. 2009-03-03 13:27:40 +00:00
afuse adding afuse. A userspace automounter 2009-12-21 08:55:27 +00:00
alsa-lib second part of alsaLib patch + comment 2010-01-18 19:15:36 +00:00
alsa-plugins pass jackaudio to alsaPlugins also adding convinient wrapper script 2009-09-21 15:55:26 +00:00
alsa-utils * Updated ALSA. 2009-10-30 15:05:13 +00:00
atheros * Removed selectVersion. There's no good reason to write 2009-11-18 09:39:59 +00:00
aufs Reverting AUFS update 2009-07-16 11:39:03 +00:00
aufs2 Fix more problems with aufs2 2009-09-14 13:30:33 +00:00
aufs2-utils Fix aufs utilities for NixOS manual 2009-09-15 10:28:40 +00:00
autofs Replace kernelHeaders' by linuxHeaders'. 2009-12-21 14:04:45 +00:00
blcr FullDepEntry -> fullDepEntry, PackEntry -> packEntry 2009-05-19 23:25:58 +00:00
bluez * Bluez 4.54. 2009-09-28 16:25:38 +00:00
bridge_utils Nix-expr style review 2008-01-31 10:41:04 +00:00
cpufrequtils Replace kernelHeaders' by linuxHeaders'. 2009-12-21 14:04:45 +00:00
cramfsswap update to 1.4.1 2008-03-03 21:37:55 +00:00
cryopid New version of cryopid. 2009-11-08 10:38:07 +00:00
cryptsetup * Replace usage of 'udevsettle' by 'udevadm settle' in cryptsetup. 2010-01-03 11:01:58 +00:00
dietlibc * Got rid of a lot of "postInstall=postInstall" and similar lines in 2009-04-23 13:31:10 +00:00
directvnc Add directvnc. Not sure whether it works - for me it hangs, but I have known Radeon issues, it seems 2009-11-05 21:10:51 +00:00
dmidecode * dmidecode 2.10. 2009-08-11 20:43:39 +00:00
dmraid Adding dmraid 2009-09-20 08:38:30 +00:00
dmtcp Updated nixpkgs/pkgs/os-specific/linux/dmtcp 2010-02-23 16:00:37 +00:00
e3cfsprogs New Ext3cow version with some bugs resolved. Updated ext3cow kernel-patch, e3cfsprogs and ext3cow-tools 2008-03-09 20:06:42 +00:00
eject * Eject 2.1.5. 2007-06-07 21:27:25 +00:00
exmap Add Exmap, a Linux-specific tool to examine process memory usage. 2008-09-12 20:00:00 +00:00
ext3cow-tools New Ext3cow version with some bugs resolved. Updated ext3cow kernel-patch, e3cfsprogs and ext3cow-tools 2008-03-09 20:06:42 +00:00
fbterm Updating fbterm 2009-10-27 23:49:59 +00:00
firmware Add Firmware for the Intel 1000 wireless card. 2009-12-26 16:22:51 +00:00
fuse * fuse updated to 2.8.2. 2010-02-01 17:08:35 +00:00
fxload * fxload: make it work with recent kernels. 2008-06-20 16:08:03 +00:00
gw6c Gw6c tarball is now uncompessed.. Do not ask me why 2009-09-29 16:22:23 +00:00
hal Fix propagated dependencies in hal 2010-02-18 15:44:01 +00:00
hdparm * hdparm 8.7. 2008-06-07 12:20:19 +00:00
hibernate hibernate: Fix impurities. 2008-04-01 17:31:31 +00:00
htop htop: updated to version 0.8.3 2009-09-22 19:37:18 +00:00
hwdata * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl 2007-08-24 12:32:36 +00:00
ifplugd * Fix a bunch of URLs. 2007-09-11 10:15:07 +00:00
iproute * iproute2 updated to 2.6.29-1. 2009-07-23 21:34:53 +00:00
iptables update to 1.4.6 2009-12-25 19:36:16 +00:00
iputils Replace kernelHeaders' by linuxHeaders'. 2009-12-21 14:04:45 +00:00
iwlwifi * Put all packages that depend on a specific kernel (notably kernel 2008-05-22 12:01:24 +00:00
kbd Making kbd build in armv5tel-linux. gcc 4.4.3 issues a warning with it, and kbd was compiled with -Werror. 2010-01-29 21:30:09 +00:00
kernel * Updated fbcondecor for Linux 2.6.33. 2010-02-25 14:15:42 +00:00
kernel-headers After some testing with an ultrasparc cross-compiler: 2010-02-27 00:52:48 +00:00
kernel-headers-cross * Got rid of a lot of "postInstall=postInstall" and similar lines in 2009-04-23 13:31:10 +00:00
keyutils Adding ecryptfs, and one of its dependencies: keyutils. 2010-01-25 10:34:47 +00:00
klibc Replace kernelHeaders' by linuxHeaders'. 2009-12-21 14:04:45 +00:00
kqemu Fix the cleanup-induced problems 2009-11-23 12:21:34 +00:00
kudzu * Got rid of a lot of "postInstall=postInstall" and similar lines in 2009-04-23 13:31:10 +00:00
kvm Replace kernelHeaders' by linuxHeaders'. 2009-12-21 14:04:45 +00:00
libcap * Merged the stdenv branch 2008-06-13 11:46:39 +00:00
libnscd * Fix URL. 2007-03-16 14:58:28 +00:00
libselinux * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl 2007-08-24 12:32:36 +00:00
libsepol * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl 2007-08-24 12:32:36 +00:00
libsmbios * Latest libsmbios. 2009-09-28 15:33:42 +00:00
libvolume_id * HAL 0.5.10. 2008-03-06 13:06:32 +00:00
lm_sensors * Latest lm_sensors. 2009-09-15 22:06:38 +00:00
lvm2 * Updated LVM2 to 2.02.56. LVM2 now includes device-mapper, so that 2010-01-07 16:14:10 +00:00
mdadm
mingetty * mingetty 1.08. 2009-01-27 14:14:42 +00:00
module-init-tools * Module aggregator: use buildEnv, which is much faster because it 2009-04-20 19:13:40 +00:00
modutils * Rewrite all the kernel.org URLs to mirror://kernel/. 2007-08-27 13:59:40 +00:00
mount-cifs * Fixed the mount-cifs source URL (copied from the stdenv-branch). 2009-04-09 08:12:16 +00:00
ndiswrapper Added perl dependency to ndiswrapper 2008-06-15 17:30:34 +00:00
net-tools * Fix broken meta attributes. 2009-10-13 09:39:27 +00:00
nfs-utils * util-linux-ng: updated to 2.16. Don't build a separate mount 2009-08-11 20:57:29 +00:00
nss_ldap * Merged the stdenv branch 2008-06-13 11:46:39 +00:00
numactl numactl: Fix post-install. 2008-04-18 14:46:29 +00:00
nvidia-x11 Updating the nvidia drivers to the latest version. 2009-12-18 11:36:36 +00:00
opengl/xorg-sys svn path=/nixpkgs/trunk/; revision=12090 2008-06-14 17:06:39 +00:00
ov511 * Get rid of all references to nix.cs.uu.nl. 2008-11-14 16:57:19 +00:00
pam * Various PAM updates. 2009-02-18 11:40:32 +00:00
pam_console * Got rid of all --disable-static flags; they're redundant now. 2009-04-21 23:18:09 +00:00
pam_devperm * Added pam_devperm. 2007-04-07 19:29:59 +00:00
pam_ldap
pam_login Made pam_login build with gcc 4.4 (disabling its -Werror) 2009-12-26 11:18:59 +00:00
pam_unix2 Making pam_unix2 not link to libxcrypt under armv5tel, because libxcrypt does not build under it. 2010-02-04 18:40:54 +00:00
pam_usb * Add pam_usb package. 2010-01-03 11:12:05 +00:00
pcmciautils pcmcia-utils: 2008-08-27 13:59:33 +00:00
pm-utils * Use /etc/pm for the configuration. 2009-09-26 17:09:51 +00:00
pmount * Add pmount package. 2010-01-03 11:10:22 +00:00
powertop bump powertop to 1.11 2009-03-09 13:53:48 +00:00
procps * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl 2007-08-24 12:32:36 +00:00
pwdutils * Rewrite all the kernel.org URLs to mirror://kernel/. 2007-08-27 13:59:40 +00:00
qc-usb * Rewrite all the SourceForge URLs to mirror://sourceforge/. 2007-08-27 13:01:33 +00:00
qemu-kvm * qemu-kvm: link against libuuid. 2010-02-01 18:44:08 +00:00
radeontools Nix-expr style review 2008-01-31 10:41:04 +00:00
sdparm * sdparm: the previous URL was broken. 2009-04-16 12:23:53 +00:00
shadow
splashutils * Removed splashutils 1.3 (obsolete). 2010-01-27 14:35:38 +00:00
statifier Adding statifier, a tool to make pseudostatic binaries. Unfortunately, statified NixOS-built binaries segfault on Ubuntu.. 2009-07-09 21:34:29 +00:00
sysfsutils Add sysfsutils. 2008-07-25 15:53:23 +00:00
sysklogd sysklogd: upgraded to 1.5 2007-12-01 20:04:44 +00:00
syslinux * Rewrite all the kernel.org URLs to mirror://kernel/. 2007-08-27 13:59:40 +00:00
sysstat * sysstat 8.0.4.1. 2008-08-07 11:15:11 +00:00
sysvinit * Got rid of a lot of "postInstall=postInstall" and similar lines in 2009-04-23 13:31:10 +00:00
tcp-wrapper TCP Wrappers: Use the Debian patches. 2009-02-26 09:53:31 +00:00
tunctl Adding tunctl. I didn't know how to build the manpage, though. 2009-03-01 21:34:39 +00:00
uclibc Replace kernelHeaders' by linuxHeaders'. 2009-12-21 14:04:45 +00:00
udev A case study in transitive overrides. WebKit needs fresh glib. This means it needs a whole slice of system built against glib-2.22.. Added overrides are generic enough, though. So the same way can be used to override everything. I have failed (so far?) to add mkOverridable into stdenv, though. 2009-10-06 05:43:51 +00:00
uml-utilities Replace kernelHeaders' by linuxHeaders'. 2009-12-21 14:04:45 +00:00
upstart * Upstart updated to 0.6.5. 2010-02-15 15:55:39 +00:00
usbutils * usbutils updated to 0.84. 2009-08-11 20:48:56 +00:00
util-linux-ng Reverting some changes I brought in by error for util-linux-ng (I was trying 2009-12-10 15:05:26 +00:00
wireless-tools update to 29 2009-12-25 19:30:56 +00:00
wis-go7007 * wis-go7007: updated for Linux 2.6.26. 2008-08-21 07:43:38 +00:00
wpa_supplicant Updating wpa_supplicant, and enabling its possible syslog output. 2009-12-16 19:45:00 +00:00
zen-kernel Force CFS in zen-kernel not specified as BFS 2010-01-20 06:24:29 +00:00