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
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
cpufrequtils Replace kernelHeaders' by linuxHeaders'. 2009-12-21 14:04:45 +00:00
cramfsswap
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
eject
exmap
ext3cow-tools
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
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
hibernate
htop htop: updated to version 0.8.3 2009-09-22 19:37:18 +00:00
hwdata
ifplugd
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
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
libnscd
libselinux
libsepol
libsmbios * Latest libsmbios. 2009-09-28 15:33:42 +00:00
libvolume_id
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
mount-cifs * Fixed the mount-cifs source URL (copied from the stdenv-branch). 2009-04-09 08:12:16 +00:00
ndiswrapper
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
numactl
nvidia-x11 Updating the nvidia drivers to the latest version. 2009-12-18 11:36:36 +00:00
opengl/xorg-sys
ov511
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
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
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
pwdutils
qc-usb
qemu-kvm * qemu-kvm: link against libuuid. 2010-02-01 18:44:08 +00:00
radeontools
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
sysklogd
syslinux
sysstat
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
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