meta-digi-arm: ccardimx28js: Add 3.10 kernel version.

The UBOOT_LOADADDRESS and UBOOT_ENTRYPOINT variables are only used in
the kernel recipe, so remove from the machine configuration files.

Also, use the defconfig from the kernel tree which compiles all the
support by default and expects the device tree to be configured with
the desired support. Hence, remove all the empty configuration fragments
files.

https://jira.digi.com/browse/DEL-577

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
Alex Gonzalez 2013-08-05 14:24:46 +02:00
parent 99b3316802
commit 7795aa736c
12 changed files with 703 additions and 186 deletions

View File

@ -6,9 +6,6 @@ include conf/machine/include/mxs-digi-base.inc
SOC_FAMILY = "mxs"
UBOOT_ENTRYPOINT = "0x41008000"
UBOOT_LOADADDRESS = "0x41008000"
# wpa_supplicant driver to use in '/etc/network/interfaces'
WPA_DRIVER = "nl80211"

View File

@ -1,7 +1,7 @@
# Copyright (C) 2012 Digi International
SRCREV_external = ""
SRCREV_internal = "45e300431bc39eb658cb9de84723d84dbc423bf7"
SRCREV_internal = "2fcb44f49c3b1958668dcf5c50775897f26656bd"
SRCREV = "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${SRCREV_internal}', '${SRCREV_external}', d)}"
SRC_URI_external = "${DIGI_GITHUB_GIT}/yocto-linux.git;protocol=git"

View File

@ -1,5 +1,7 @@
# Copyright (C) 2012 Digi International
UBOOT_ENTRYPOINT = "0x41008000"
include linux-dey.inc
include linux-dey-rev_${PV}.inc

View File

@ -1,5 +1,7 @@
# Copyright (C) 2012 Digi International
UBOOT_ENTRYPOINT = "0x40008000"
require recipes-kernel/linux/linux-dtb.inc
include linux-dey.inc
@ -10,13 +12,8 @@ PR = "${DISTRO}.${INC_PR}.0"
LOCALVERSION_mxs = "mxs"
LOCALVERSION_cpx2_mxs = "mxs+gateways"
# Preferably configure kernel through device tree.
KERNEL_CFG_FRAGS ?= ""
KERNEL_CFG_FRAGS_append_mxs = " ${@base_contains('MACHINE_FEATURES', 'wifi', 'file://config-wireless-atheros.cfg', '', d)}"
KERNEL_CFG_FRAGS_append_mxs = " ${@base_contains('MACHINE_FEATURES', 'bluetooth', 'file://config-bluetooth-atheros.cfg', '', d)}"
KERNEL_CFG_FRAGS_append_ccardimx28js = " ${@base_contains('MACHINE_FEATURES', '1-wire', 'file://config-1-wire.cfg', '', d)}"
KERNEL_CFG_FRAGS_append_ccardimx28js = " ${@base_contains('MACHINE_FEATURES', 'ext-eth', 'file://config-ext-eth.cfg', '', d)}"
KERNEL_CFG_FRAGS_append_ccardimx28js = " ${@base_contains('DISTRO_FEATURES', 'x11', 'file://config-fb.cfg file://config-touch.cfg', '', d)}"
KERNEL_CFG_FRAGS_append_ccardimx28js = " ${@base_contains('MACHINE_FEATURES', 'alsa', 'file://config-sound.cfg', '', d)}"
SRC_URI += " \
file://defconfig \
@ -26,6 +23,7 @@ SRC_URI += " \
S = "${WORKDIR}/git"
KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/${DTSNAME}.dts"
KERNEL_EXTRA_ARGS = "LOADADDR=${UBOOT_LOADADDRESS}"
FILES_kernel-image += "/boot/config*"