Patchwork [meta-fsl-arm-extra,PATCHv2,1/4] barebox 2013.08.0: add support for the cfa10036

login
register
mail settings
Submitter Alexandre Belloni
Date Aug. 23, 2013, 4:28 p.m.
Message ID <1377275339-10686-2-git-send-email-alexandre.belloni@free-electrons.com>
Download mbox | patch
Permalink /patch/56419/
State Changes Requested
Delegated to: Otavio Salvador
Headers show

Comments

Alexandre Belloni - Aug. 23, 2013, 4:28 p.m.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
 .../barebox/barebox-2013.08.0/cfa10036/defconfig   | 44 ++++++++++++++++++++++
 recipes-bsp/barebox/barebox_2013.08.0.bbappend     |  3 ++
 2 files changed, 47 insertions(+)
 create mode 100644 recipes-bsp/barebox/barebox-2013.08.0/cfa10036/defconfig
 create mode 100644 recipes-bsp/barebox/barebox_2013.08.0.bbappend
Otavio Salvador - Aug. 24, 2013, 6:22 p.m.
On Fri, Aug 23, 2013 at 1:28 PM, Alexandre Belloni
<alexandre.belloni@free-electrons.com> wrote:
> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>

I am fine with the patch but please drop PRINC as OE-Core now has PRServer.

Patch

diff --git a/recipes-bsp/barebox/barebox-2013.08.0/cfa10036/defconfig b/recipes-bsp/barebox/barebox-2013.08.0/cfa10036/defconfig
new file mode 100644
index 0000000..277a3ec
--- /dev/null
+++ b/recipes-bsp/barebox/barebox-2013.08.0/cfa10036/defconfig
@@ -0,0 +1,44 @@ 
+CONFIG_ARCH_MXS=y
+CONFIG_ARCH_IMX28=y
+CONFIG_MACH_CFA10036=y
+CONFIG_AEABI=y
+CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
+CONFIG_MMU=y
+CONFIG_TEXT_BASE=0x43000000
+CONFIG_MALLOC_SIZE=0x800000
+CONFIG_BROKEN=y
+CONFIG_LONGHELP=y
+CONFIG_HUSH_FANCY_PROMPT=y
+CONFIG_CMDLINE_EDITING=y
+CONFIG_AUTO_COMPLETE=y
+CONFIG_CONSOLE_ACTIVATE_ALL=y
+CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
+CONFIG_DEFAULT_ENVIRONMENT_PATH="arch/arm/boards/crystalfontz-cfa10036/env"
+CONFIG_DEBUG_INFO=y
+CONFIG_CMD_EDIT=y
+CONFIG_CMD_SLEEP=y
+CONFIG_CMD_SAVEENV=y
+CONFIG_CMD_EXPORT=y
+CONFIG_CMD_PRINTENV=y
+CONFIG_CMD_READLINE=y
+CONFIG_CMD_MENU=y
+CONFIG_CMD_MENU_MANAGEMENT=y
+CONFIG_CMD_ECHO_E=y
+CONFIG_CMD_MTEST=y
+CONFIG_CMD_MTEST_ALTERNATIVE=y
+CONFIG_CMD_BOOTM_SHOW_TYPE=y
+CONFIG_CMD_BOOTM_OFTREE=y
+CONFIG_CMD_RESET=y
+CONFIG_CMD_GO=y
+CONFIG_CMD_OFTREE=y
+CONFIG_CMD_TIMEOUT=y
+CONFIG_CMD_PARTITION=y
+CONFIG_CMD_GPIO=y
+# CONFIG_SPI is not set
+CONFIG_I2C=y
+CONFIG_MCI=y
+CONFIG_MCI_STARTUP=y
+CONFIG_MCI_MXS=y
+CONFIG_FS_EXT4=y
+CONFIG_FS_FAT=y
+CONFIG_FS_FAT_LFN=y
diff --git a/recipes-bsp/barebox/barebox_2013.08.0.bbappend b/recipes-bsp/barebox/barebox_2013.08.0.bbappend
new file mode 100644
index 0000000..90ed76a
--- /dev/null
+++ b/recipes-bsp/barebox/barebox_2013.08.0.bbappend
@@ -0,0 +1,3 @@ 
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
+
+PRINC := "${@int(PRINC) + 1}"