Add platform definition for BeagleBone and default to it on armv7l-linux.

This commit is contained in:
Ambroz Bizjak 2015-01-31 11:53:17 +01:00
parent b4dc2ab440
commit cf317b85ad
2 changed files with 18 additions and 0 deletions

View File

@ -72,6 +72,7 @@ let
platforms = (import ./platforms.nix);
in
if system == "armv6l-linux" then platforms.raspberrypi
else if system == "armv7l-linux" then platforms.beaglebone
else if system == "armv5tel-linux" then platforms.sheevaplug
else if system == "mips64el-linux" then platforms.fuloong2f_n32
else if system == "x86_64-linux" then platforms.pc64

View File

@ -372,4 +372,21 @@ rec {
uboot = null;
gcc.arch = "loongson2f";
};
beaglebone = {
name = "beaglebone";
kernelMajor = "2.6";
kernelHeadersBaseConfig = "omap2plus_defconfig";
kernelBaseConfig = "omap2plus_defconfig";
kernelArch = "arm";
kernelAutoModules = false;
kernelExtraConfig = ""; # TBD kernel config
kernelTarget = "zImage";
uboot = null;
gcc = {
arch = "armv7-a";
fpu = "vfpv3-d16";
float = "hard";
};
};
}