Making the integratorCP board boot. It still has no mmc support.

svn path=/nixpkgs/trunk/; revision=20184
This commit is contained in:
Lluís Batlle i Rossell 2010-02-22 23:44:02 +00:00
parent 5ec8e9cc7e
commit 26c4567797

View File

@ -1,6 +1,6 @@
{ system, pkgs}: { system, pkgs}:
with pkgs; with pkgs;
{ rec {
pc = assert system == "i686-linux" || system == "x86_64-linux"; { pc = assert system == "i686-linux" || system == "x86_64-linux"; {
name = "pc"; name = "pc";
uboot = null; uboot = null;
@ -65,6 +65,8 @@ with pkgs;
MMC_ARMMMCI y MMC_ARMMMCI y
MMC_SDHCI y MMC_SDHCI y
SERIO_AMBAKMI y SERIO_AMBAKMI y
AEABI y
''; '';
uboot = null; uboot = null;
}; };
@ -88,31 +90,17 @@ with pkgs;
SERIO_AMBAKMI y SERIO_AMBAKMI y
CPU_ARM926T y CPU_ARM926T y
ARCH_INTEGRATOR_CP y
VGA_CONSOLE n
AEABI y
''; '';
uboot = null; uboot = null;
ubootConfig = "integratorcp_config"; ubootConfig = "integratorcp_config";
}; };
integratorCPuboot = { integratorCPuboot = integratorCP // {
name = "integratorCP"; name = "integratorCPuboot";
kernelBaseConfig = "integrator_defconfig";
kernelArch = "arm";
kernelAutoModules = false;
kernelTarget = "uImage"; kernelTarget = "uImage";
kernelExtraConfig =
''
# needed for qemu integrator/cp
SERIAL_AMBA_PL011 y
SERIAL_AMBA_PL011_CONSOLE y
SERIAL_AMBA_PL010 n
SERIAL_AMBA_PL010_CONSOLE n
MMC_ARMMMCI y
MMC_SDHCI y
SERIO_AMBAKMI y
CPU_ARM926T y
'';
uboot = uboot; uboot = uboot;
ubootConfig = "integratorcp_config"; ubootConfig = "integratorcp_config";
}; };