[Nix-dev] Compiling the Linux kernel for the Sheevaplug

Rickard Nilsson rickard.nilsson at telia.com
Mon Nov 28 14:54:51 CET 2011


I can now report that I have a nice fresh NixOS running on my Sheevaplug.  
Thanks for all help!

$ uname -a
Linux rn-srv01 3.1.2 #1 PREEMPT Mon Nov 28 04:16:02 UTC 2011 armv5tel  
GNU/Linux


   / Rickard

Den 2011-11-27 17:43:35 skrev Rickard Nilsson <rickard.nilsson at telia.com>:

> Hi,
>
> Den 2011-11-27 11:04:45 skrev Lluís Batlle i Rossell <viric at viric.name>:
>
>> On Sun, Nov 27, 2011 at 10:46:15AM +0100, Rickard Nilsson wrote:
>>> Hi,
>>>
>>> I managed to get my Sheevaplug running NixOS with the help of Lluís'
>>> nixos-system-tarball
>>> (http://vicerveza.homeunix.net/~viric/tmp/nix/nixos-system-armv5tel-linux.tar.xz).
>>
>> Brave! I'm really impressed, how you could work out with such an
>> unpolished
>> work. Congratulations! :)
>>
>>> I've then tried to build my system with a recent kernel (3.1). But the
>>> build stops after the kernel config step, with the output "unused
>>> option:
>>> <xxx>". If I comment out the option in question in the linux_3_1 nix
>>> expression, I can run the build again, and now it complains about some
>>> other unused option. I can continue commenting out that option too, but
>>> I
>>> don't want to carry on like that...
>>
>> I think that you have not set the platform in your nixpkgs:
>>
>> nixpkgs.config.platform = pkgs.platform.sheevaplug;
>
> That did the trick! The kernel is now building, at least. I suspect it
> will take some time :)
>
>
>> You also need that in the ~/.nixpkgs/config.nix for normal profiles to
>> install
>> proper packages.
>>
>> That will use all the sheevaplug details in building (like kernel
>> configurations, etc.)
>>
>> Regards,
>> Lluís.
>
>
>    / Rickard
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev


More information about the nix-dev mailing list