forked from mirrors/nixpkgs
platforms: add CompuLab Utilite (armv7)
This commit is contained in:
parent
c3eca1f8dc
commit
127347f1fd
|
@ -348,6 +348,35 @@ rec {
|
|||
};
|
||||
};
|
||||
|
||||
utilite = {
|
||||
name = "utilite";
|
||||
kernelMajor = "2.6";
|
||||
kernelHeadersBaseConfig = "multi_v7_defconfig";
|
||||
kernelBaseConfig = "multi_v7_defconfig";
|
||||
kernelArch = "arm";
|
||||
kernelAutoModules = false;
|
||||
kernelExtraConfig =
|
||||
''
|
||||
# Ubi for the mtd
|
||||
MTD_UBI y
|
||||
UBIFS_FS y
|
||||
UBIFS_FS_XATTR y
|
||||
UBIFS_FS_ADVANCED_COMPR y
|
||||
UBIFS_FS_LZO y
|
||||
UBIFS_FS_ZLIB y
|
||||
UBIFS_FS_DEBUG n
|
||||
'';
|
||||
kernelMakeFlags = [ "LOADADDR=0x10800000" ];
|
||||
kernelTarget = "uImage";
|
||||
kernelDTB = true;
|
||||
uboot = true; #XXX: any non-null value here is needed so that mkimage is present to build kernelTarget uImage
|
||||
gcc = {
|
||||
cpu = "cortex-a9";
|
||||
fpu = "neon";
|
||||
float = "hard";
|
||||
};
|
||||
};
|
||||
|
||||
guruplug = sheevaplug // {
|
||||
# Define `CONFIG_MACH_GURUPLUG' (see
|
||||
# <http://kerneltrap.org/mailarchive/git-commits-head/2010/5/19/33618>)
|
||||
|
|
|
@ -123,6 +123,20 @@ in rec {
|
|||
filesToInstall = ["u-boot.bin"];
|
||||
};
|
||||
|
||||
ubootUtilite = buildUBoot rec {
|
||||
defconfig = "cm_fx6_defconfig";
|
||||
targetPlatforms = ["armv7l-linux"];
|
||||
filesToInstall = ["u-boot-with-nand-spl.imx"];
|
||||
buildFlags = "u-boot-with-nand-spl.imx";
|
||||
postConfigure = ''
|
||||
cat >> .config << EOF
|
||||
CONFIG_CMD_SETEXPR=y
|
||||
EOF
|
||||
'';
|
||||
# sata init; load sata 0 $loadaddr u-boot-with-nand-spl.imx
|
||||
# sf probe; sf update $loadaddr 0 80000
|
||||
};
|
||||
|
||||
ubootWandboard = buildUBoot rec {
|
||||
defconfig = "wandboard_defconfig";
|
||||
targetPlatforms = ["armv7l-linux"];
|
||||
|
|
|
@ -12232,6 +12232,7 @@ with pkgs;
|
|||
ubootRaspberryPi2
|
||||
ubootRaspberryPi3_32bit
|
||||
ubootRaspberryPi3_64bit
|
||||
ubootUtilite
|
||||
ubootWandboard
|
||||
;
|
||||
|
||||
|
|
Loading…
Reference in a new issue