Author: viric
Date: Sat Jan  7 09:20:16 2012
New Revision: 31393
URL: https://nixos.org/websvn/nix/?rev=31393&sc=1

Log:
Setting the nanonote uboot to load 4MiB, and not 2MiB. My last 2.6.37 kernel
has more than 2MiB.

Modified:
   nixpkgs/trunk/pkgs/misc/uboot/nanonote.nix

Modified: nixpkgs/trunk/pkgs/misc/uboot/nanonote.nix
==============================================================================
--- nixpkgs/trunk/pkgs/misc/uboot/nanonote.nix  Sat Jan  7 00:27:17 2012        
(r31392)
+++ nixpkgs/trunk/pkgs/misc/uboot/nanonote.nix  Sat Jan  7 09:20:16 2012        
(r31393)
@@ -26,6 +26,8 @@
     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
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to