git.iko.soy/typeable/nixpkgs
on master help sign in
ubootNanonote: remove

This removes the last non-mainline U-Boot from Nixpkgs.

commit3d2d18cdb8a3c77ee27bd7f548da33e8b2e5f40e authorSamuel Dionne-Riel <samuel@dionne-riel.com> dateWed 23 Sep 2020, 21:00 (6 years ago) parent1179840
2 files changed−62
pkgs/misc/uboot/nanonote.nix−59 pkgs/top-level/all-packages.nix−3
pkgs/misc/uboot/nanonote.nixdeleted−59
@@ -1,59 +0,0 @@
1−{stdenv, fetchurl, fetchgit}:
2−
3−# All this file is made for the Marvell Sheevaplug
4−
5−stdenv.mkDerivation {
6− name = "uboot-qb-2010.06";
7−
8− src = fetchurl {
9− url = "ftp://ftp.denx.de/pub/u-boot/u-boot-2010.06.tar.bz2";
10− sha256 = "1j0bl8x5i5m1pn62z450gbw30pbrj7sgs3fjp2l2giczv49cn33r";
11− };
12−
13− srcPatches = fetchgit {
14− url = "git://projects.qi-hardware.com/openwrt-xburst.git";
15− rev = "3244d5ef9f93802f9b9b6f4405636424abf6fa83";
16− sha256 = "0mg87s10hpz41dr1zbd3bcl8i64gwvh3f1nrz8cb8c49099miqla";
17− };
18−
19− patchPhase = ''
20− cp -R $srcPatches/package/uboot-xburst/files/* .
21− for a in $srcPatches/package/uboot-xburst/patches/*; do
22− patch -p1 < $a
23− done
24− chmod +w -R *
25− sed -i -e 's/console=ttyS0,57600n8//' include/configs/qi_lb60.h
26− # Load more than 2MiB for the kernel
27− sed -i -e 's/0x200000;bootm/0x400000;bootm/' include/configs/qi_lb60.h
28− '';
29−
30− makeFlags = [
31− "CROSS_COMPILE=${stdenv.cc.targetPrefix}"
32− ];
33−
34− # Add reiserfs support
35− configurePhase = ''
36− make mrproper
37− make qi_lb60_config
38− '';
39−
40− preBuild= ''
41− # A variable named 'src' used to affect the build in some uboot...
42− unset -v src
43− '';
44−
45− dontStrip = true;
46−
47− installPhase = ''
48− mkdir -p $out
49− cp u-boot-nand.bin $out
50− cp u-boot u-boot.map $out
51−
52− mkdir -p $out/bin
53− cp tools/{envcrc,mkimage} $out/bin
54− '';
55−
56− meta = {
57− platforms = stdenv.lib.platforms.mips;
58− };
59−}
pkgs/top-level/all-packages.nix−3
@@ -18529,9 +18529,6 @@ in
1852918529 ubootWandboard
1853018530 ;
1853118531
18532− # Non-upstream U-Boots:
18533− ubootNanonote = callPackage ../misc/uboot/nanonote.nix { };
18534−
1853518532 uclibc = callPackage ../os-specific/linux/uclibc { };
1853618533
1853718534 uclibcCross = callPackage ../os-specific/linux/uclibc {