summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconf/machine/qt1040-1gb.conf4
-rwxr-xr-xconf/machine/qt1040-4gb.conf37
-rwxr-xr-xrecipes-bsp/u-boot/u-boot-qoriq_2017.09.bb2
3 files changed, 40 insertions, 3 deletions
diff --git a/conf/machine/qt1040-1gb.conf b/conf/machine/qt1040-1gb.conf
index 25aac12..d3a3fcb 100755
--- a/conf/machine/qt1040-1gb.conf
+++ b/conf/machine/qt1040-1gb.conf
@@ -1,7 +1,7 @@
#@TYPE: Machine
-#@NAME: Scalys simc-t1040 Module on a TCB-02 carrier board
+#@NAME: QT1040-1GB (DDR3L) Module on a TCB-02 carrier board
#@SOC: t1040
-#@DESCRIPTION: Machine configuration for Sintecs simc-t1040 module on a TCB-02
+#@DESCRIPTION: Machine configuration for QT1040-1GB (DDR3L) module on a TCB-02.
#@MAINTAINER: Evert Pap <evert.pap@sintecs.nl>
require conf/machine/include/e5500-64b.inc
diff --git a/conf/machine/qt1040-4gb.conf b/conf/machine/qt1040-4gb.conf
new file mode 100755
index 0000000..f3aabdb
--- /dev/null
+++ b/conf/machine/qt1040-4gb.conf
@@ -0,0 +1,37 @@
+#@TYPE: Machine
+#@NAME: QT1040-4GB (DDR4) Module on a TCB-02 carrier board
+#@SOC: t1040
+#@DESCRIPTION: Machine configuration for QT1040-4GB (DDR4) module on a TCB-02
+#@MAINTAINER: Evert Pap <evert.pap@sintecs.nl>
+
+require conf/machine/include/e5500-64b.inc
+
+SOC_FAMILY = "t1:t1040"
+
+KERNEL_DEFCONFIG ?= "${S}/arch/powerpc/configs/corenet64_fmanv3l_smp_defconfig"
+KBUILD_DEFCONFIG ?= "corenet64_fmanv3l_smp_defconfig"
+KERNEL_DEVICETREE ?= "fsl/simc-t1040.dtb"
+KERNEL_FIT_IMAGES ?= "simc-t1040"
+
+PREFERRED_PROVIDER_virtual/bootloader = "${PREFERRED_PROVIDER_u-boot}"
+PREFERRED_VERSION_u-boot_qoriq = "2017.09"
+UBOOT_CONFIG ??= "nand"
+UBOOT_CONFIG[nand] = "QT1040-4GB_nand_config,,u-boot-with-spl-pbl.bin"
+
+# Images types generated for this machine
+IMAGE_FSTYPES = "tar.bz2 ubifs ubi"
+
+# mkfs.ubi options:
+# Find parameter values on target with `ubinfo -a`
+# -m, --min-io-size=SIZE minimum I/O unit size
+# -e, --leb-size=SIZE logical erase block size
+# -c, --max-leb-cnt=COUNT maximum logical erase block count
+MKUBIFS_ARGS = "--space-fixup -m 2048 -e 124KiB -c 10000"
+
+# ubinize options:
+# Find parameter values on target with `mtdinfo -a`
+# -p, --peb-size=<bytes> size of the physical eraseblock of the flash
+# -m, --min-io-size=<bytes> minimum input/output unit size of the flash in bytes
+# -s, --sub-page-size=<bytes> minimum input/output unit used for UBI headers
+UBINIZE_ARGS = "-m 2048 -p 128KiB -s 2048"
+UBI_VOLNAME = "rootfs"
diff --git a/recipes-bsp/u-boot/u-boot-qoriq_2017.09.bb b/recipes-bsp/u-boot/u-boot-qoriq_2017.09.bb
index b96515b..0b5a70b 100755
--- a/recipes-bsp/u-boot/u-boot-qoriq_2017.09.bb
+++ b/recipes-bsp/u-boot/u-boot-qoriq_2017.09.bb
@@ -1,4 +1,4 @@
require recipes-bsp/u-boot/u-boot-qoriq_2016.09.bb
SRC_URI = "git://git.scalys.com/u-boot-fsl-qoriq;branch=scalys"
-SRCREV = "c9b89a4f8b11463e3bd8587a05ae0955e2e86c2a" \ No newline at end of file
+SRCREV = "39928f076f24ea4524b6a54d6d5693a0d0f544c8"