Commit graph

32 commits

Author SHA1 Message Date
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
Lluís Batlle i Rossell 26c4567797 Making the integratorCP board boot. It still has no mmc support.
svn path=/nixpkgs/trunk/; revision=20184
2010-02-22 23:44:02 +00:00
Lluís Batlle i Rossell bc939a87b4 More platform updates - the serial line in integratorcp kernel still does
not work for me, nevertheless.


svn path=/nixpkgs/trunk/; revision=20153
2010-02-21 12:24:50 +00:00
Lluís Batlle i Rossell e1760d529b I still did not fix the nixpkgs tarball in the previous commit...
Next attempt, now simpler.

svn path=/nixpkgs/trunk/; revision=20129
2010-02-19 14:42:50 +00:00
Lluís Batlle i Rossell 840a78977b Adding a kernelArch to the 'pc' platform to keep uboot happy.
This should fix the nixpkgs tarball evaluation.

svn path=/nixpkgs/trunk/; revision=20127
2010-02-19 14:25:15 +00:00
Lluís Batlle i Rossell 85a35352bb Trying to get serial in qemu integratorcp. Still without succeed.
svn path=/nixpkgs/trunk/; revision=20118
2010-02-18 21:10:49 +00:00
Lluís Batlle i Rossell 9bcb6277f3 Changing linux kernel references from vmlinuz to bzImage.
This way we get a simpler kernel build script.

svn path=/nixpkgs/trunk/; revision=20094
2010-02-18 11:34:48 +00:00
Lluís Batlle i Rossell 513443dc9f Setting the pc kernel image to 'vmlinuz', and not 'bzImage'.
I thought it had to be bzImage. I should have checked better.

svn path=/nixpkgs/trunk/; revision=20091
2010-02-18 09:42:59 +00:00
Lluís Batlle i Rossell 70cb7050f5 Trying to make the linux kernels also cross-build.
svn path=/nixpkgs/trunk/; revision=20080
2010-02-17 22:20:56 +00:00
Lluís Batlle i Rossell 7b4529cfc7 Allowing multiplatform uboot (sheevaplug/integratorcp).
svn path=/nixpkgs/trunk/; revision=20079
2010-02-17 21:09:27 +00:00
Lluís Batlle i Rossell c86da889cc Made the kernel generate-config "build as modules as you can" an option.
Sepcifically, a nixpkgs "platform" option. So, for PC all remained the same
as it was.

svn path=/nixpkgs/trunk/; revision=20059
2010-02-16 19:27:51 +00:00
Lluís Batlle i Rossell 77ff62b2d6 Adding MD kernel option for the sheevaplug
svn path=/nixpkgs/branches/stdenv-updates/; revision=19141
2009-12-28 22:29:17 +00:00
Lluís Batlle i Rossell 0748d96eff Adding initrd support into the sheevaplug kernel
svn path=/nixpkgs/branches/stdenv-updates/; revision=19140
2009-12-28 17:47:01 +00:00
Lluís Batlle i Rossell 1452ce46a4 Fixing the kernel configuration for the sheevaplug
svn path=/nixpkgs/branches/stdenv-updates/; revision=19137
2009-12-28 10:35:34 +00:00
Lluís Batlle i Rossell 9ef11e4c4d Made the linux kernel expressions support 'platform' again (thinking on reusing
most of the kernel expressions for the sheevaplug).
I still have not added anything in the kernels about cross compilation.
I moved the platform definitions out of all-packages.
I have not written good platform definitions for the sheevaplug - only for the
PC.
Only the linux-2.6.32 expression uses the platforms kernelConfig.
The linux-2.6.31 was broken, and I left it broken.


svn path=/nixpkgs/branches/stdenv-updates/; revision=19046
2009-12-19 12:12:24 +00:00