about summary refs log tree commit diff
path: root/pkgs/misc
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2012-01-07 09:20:16 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2012-01-07 09:20:16 +0000
commitd391d56f9704e8980c8243ad1f7e1fe217124a27 (patch)
treeebf7c907dd47b49c23899e93ba0e523ceef22314 /pkgs/misc
parent12e5f5b0703afa5ed61f6963830e18a5a365df11 (diff)
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
Diffstat (limited to 'pkgs/misc')
-rw-r--r--pkgs/misc/uboot/nanonote.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/misc/uboot/nanonote.nix b/pkgs/misc/uboot/nanonote.nix
index ff7c7742265ee..ad8237bc8e4f6 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