From d391d56f9704e8980c8243ad1f7e1fe217124a27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sat, 7 Jan 2012 09:20:16 +0000 Subject: [PATCH] Setting the nanonote uboot to load 4MiB, and not 2MiB. My last 2.6.37 kernel has more than 2MiB. svn path=/nixpkgs/trunk/; revision=31393 --- pkgs/misc/uboot/nanonote.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/misc/uboot/nanonote.nix b/pkgs/misc/uboot/nanonote.nix index ff7c7742265e..ad8237bc8e4f 100644 --- a/pkgs/misc/uboot/nanonote.nix +++ b/pkgs/misc/uboot/nanonote.nix @@ -26,6 +26,8 @@ stdenv.mkDerivation { done chmod +w -R * sed -i -e 's/console=ttyS0,57600n8//' include/configs/qi_lb60.h + # Load more than 2MiB for the kernel + sed -i -e 's/0x200000;bootm/0x400000;bootm/' include/configs/qi_lb60.h ''; # Remove the cross compiler prefix, and add reiserfs support