Gerhard Sittig | 22 Apr 16:14 2014
Picon
Picon

[PATCH v1 1/2] META-ELDK: Linux kernel build-depends on the bc(1) command

add 'bc-native' as a build dependency in the meta-eldk linux.inc file,
without the bc(1) program kernel builds fail with this error message

  /bin/sh: 1: bc: not found
  make[1]: *** [kernel/timeconst.h] Error 127
  make: *** [kernel] Error 2

in the absence of the bc command in the native sysroot this error
might be hidden if the build machine has bc(1) installed locally

Signed-off-by: Gerhard Sittig <gsi@...>
---
 meta-eldk/recipes-kernel/linux/linux.inc |    1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-eldk/recipes-kernel/linux/linux.inc b/meta-eldk/recipes-kernel/linux/linux.inc
index 7c08af4a7a69..905849bf20fa 100644
--- a/meta-eldk/recipes-kernel/linux/linux.inc
+++ b/meta-eldk/recipes-kernel/linux/linux.inc
 <at>  <at>  -24,6 +24,7  <at>  <at>  KERNEL_DIR_SUFFIX = "${ <at> 'xenomai' if '${PN}' == 'linux-xenomai' else 'eldk'}"
 KERNEL_SRC_PATH_append = '-${KERNEL_DIR_SUFFIX}'
 KERNEL_LINK_PATH = "/usr/src/kernel"

+DEPENDS_append = " bc-native "
 DEPENDS_append = " u-boot-mkimage-native "
 DEPENDS_append_em-x270 = " mtd-utils "

--

-- 
1.7.10.4
(Continue reading)

Gerhard Sittig | 22 Apr 16:06 2014
Picon
Picon

[PATCH v2 1/2] META-ELDK: u-boot-mkimage: unbreak U-Boot tools build

building the u-boot-mkimage-native package breaks with the error message

  mxsimage.c:18:25: fatal error: openssl/evp.h: No such file or directory

OpenSSL related header files are not found despite their being present
in the native sysroot

the error can be hidden by libssl-dev packages in the build machine, in
this case the host's header files are used instead (which would result
in building applications against headers that don't match the library
which gets used at runtime, and is as bad)

this change unbreaks compilation of the u-boot-mkimage-native package;
passing both the CC as well as the CFLAGS values within one HOSTCC spec
is done because passing individual HOSTCFLAGS does not work for v2014.01
and results in the error message

  gcc -isystem.../tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -o default_image.o
default_image.c -c
  In file included from imagetool.h:12:0,
                   from aisimage.c:8:
  os_support.h:10:22: fatal error: compiler.h: No such file or directory
  compilation terminated.

Signed-off-by: Gerhard Sittig <gsi@...>
---

changes in v2:
- reword and expand the commit message for improved clarity,
  state why passing individual CFLAGS doesn't work
(Continue reading)

gilles B | 18 Apr 11:17 2014
Picon

[eldk 5] [arm] [qemu] init not tainted...

Hi,

I would like to install a light linux on Qemu ARM VersatilePB.
I use my Intel Core i3 to cross compile linux kernel 3.11.

So, i've installed ELDK 5 to cross compile to ARM:
http://www.denx.de/wiki/ELDK-5/WebHome

I followed installation process and all seems ok.

In ARM compilation environment:
source /opt/eldk-5.5/armv6/environment-setup-armv6-vfp-linux-gnueabi

I've configured linux 3.11 kernel to use "versatile_defconfig" :
make versatile_defconfig
and I've added EABI option.

I can't use make menuconfig because it needs ncurses shared libraries and i don't know how to install them
with cross-compilation tools. 

Any idea how to use ncurses with ARM ELDK ? (i tried to cross compile ncurses but i can't generate shared libraries).

So I've edited .config file and modified CONFIG_AEABI to yes: CONFIG_AEABI=y

I compiled linux kernel without any problem.

For
 my tiny test, i want to load kernel without root file system, just ram 
disk (initrd) and just an 'init' programm that displays 'hello' every 
seconds.
(Continue reading)

Gerhard Sittig | 14 Apr 19:43 2014
Picon
Picon

[PATCH v1 1/1] META-ELDK: u-boot-mkimage: Unbreak build (missing SSL headers)

in the absence of OpenSSL headers in the host, builds for the
u-boot-mkimage-native package fail with the following error

  mxsimage.c:18:25: fatal error: openssl/evp.h: No such file or directory

the error goes unnoticed when the host has libssl-dev installed, which
could be considered another issue because one could argue the host's
OpenSSL configuration should not influence the Yocto build

this change unbreaks compilation of the u-boot-mkimage-native package

Signed-off-by: Gerhard Sittig <gsi@...>
---
 meta-eldk/recipes-bsp/uboot/u-boot-mkimage_2014.01.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-eldk/recipes-bsp/uboot/u-boot-mkimage_2014.01.bb b/meta-eldk/recipes-bsp/uboot/u-boot-mkimage_2014.01.bb
index 85f6673e3c83..549a0ce2e942 100644
--- a/meta-eldk/recipes-bsp/uboot/u-boot-mkimage_2014.01.bb
+++ b/meta-eldk/recipes-bsp/uboot/u-boot-mkimage_2014.01.bb
 <at>  <at>  -22,7 +22,7  <at>  <at>  S = "${WORKDIR}/git"

 BBCLASSEXTEND = "native nativesdk"

-EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" HOSTCC="${CC}" HOSTLD="${LD}"
HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true'
+EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" HOSTCC="${CC} ${CFLAGS}" HOSTLD="${LD}"
HOSTLDFLAGS="${LDFLAGS}" HOSTSTRIP=true'

 # Make sure the MXS-specific tools will build. This encomprises both
(Continue reading)

Marek Vasut | 1 Apr 22:41 2014
Picon
Picon

[PATCH 01/10] META-ELDK: u-boot: Adjust loading from UBI on M28EVK

This patch adjusts two things. First of all, it adjusts the 'nandload' command
to load the kernel from UBIFS instead of raw NAND. Having the kernel on UBIFS
is very important, since even thought the M28 uses SLC NAND, the NAND is still
very prone to data corruption and bitrot. Placing the kernel into UBI/UBIFS
partition mitigates the data corruption.

Moreover, to reflect that we no longer load the kernel from raw NAND, rename
the 'nand.*' commands to 'ubi.*' to be consistent with their true function.

Signed-off-by: Marek Vasut <marex@...>
Cc: Wolfgang Denk <wd@...>
---
 ...003-ARM-m28evk-Update-default-environment.patch | 32 ++++++++++++----------
 1 file changed, 17 insertions(+), 15 deletions(-)

diff --git
a/meta-eldk/recipes-bsp/uboot/u-boot/m28evk/0003-ARM-m28evk-Update-default-environment.patch b/meta-eldk/recipes-bsp/uboot/u-boot/m28evk/0003-ARM-m28evk-Update-default-environment.patch
index aa997d8..ed52294 100644
--- a/meta-eldk/recipes-bsp/uboot/u-boot/m28evk/0003-ARM-m28evk-Update-default-environment.patch
+++ b/meta-eldk/recipes-bsp/uboot/u-boot/m28evk/0003-ARM-m28evk-Update-default-environment.patch
 <at>  <at>  -6,8 +6,8  <at>  <at>  Subject: [PATCH 3/3] ARM: m28evk: Update default environment
 Signed-off-by: Marek Vasut <marex@...>
 Signed-off-by: Lothar Rubusch <lothar@...>
 ---
- include/configs/m28evk.h | 85 ++++++++++++++++++++++++++++++++++++++++++++++--
- 1 file changed, 82 insertions(+), 3 deletions(-)
+ include/configs/m28evk.h | 87 ++++++++++++++++++++++++++++++++++++++++++++++--
+ 1 file changed, 84 insertions(+), 3 deletions(-)

 diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h
(Continue reading)

Marek Vasut | 1 Apr 22:42 2014
Picon
Picon

[PATCH 1/2] META-ELDK: linux-eldk: Add USB support for M53EVK

Backport Linux patches necessary to get USB operational on i.MX5x
and backport a patch which enables USB support on M53. Moreover,
enable NOP PHY in the M53EVK defconfig, as that is the PHY type
used on i.MX5x .

The diffstat for the kernel part looks like below, so the changes
for the kernel part are contained:
 Documentation/devicetree/bindings/usb/ci13xxx-imx.txt |  6 +++
 arch/arm/boot/dts/imx51.dtsi                          | 23 ++++++++++
 arch/arm/boot/dts/imx53-m53evk.dts                    | 22 +++++++++
 arch/arm/boot/dts/imx53.dtsi                          | 31 +++++++++++++
 drivers/usb/chipidea/bits.h                           | 16 ++++++-
 drivers/usb/chipidea/ci13xxx_imx.c                    | 98 ++++++++++++----------------------------
 drivers/usb/chipidea/core.c                           | 97 +++++++++++++++++++++++++++++++++++----
 drivers/usb/chipidea/host.c                           | 23 +++++++++-
 drivers/usb/chipidea/udc.c                            | 20 +++++++-
 drivers/usb/chipidea/udc.h                            |  1 +
 drivers/usb/chipidea/usbmisc_imx.c                    |  4 +-
 drivers/usb/phy/Makefile                              |  1 +
 drivers/usb/phy/of.c                                  | 47 +++++++++++++++++++
 drivers/usb/usb-common.c                              | 35 ++++++++++++++
 include/linux/usb/chipidea.h                          |  4 +-
 include/linux/usb/of.h                                | 28 ++++++++++++
 include/linux/usb/otg.h                               |  7 +++
 include/linux/usb/phy.h                               |  9 ++++
 18 files changed, 388 insertions(+), 84 deletions(-)

Signed-off-by: Marek Vasut <marex <at> denx.de>
Cc: Wolfgang Denk <wd <at> denx.de>
---
(Continue reading)

Detlev Zundel | 26 Mar 17:29 2014
Picon
Picon
Picon

Known problem in ELDK 5.5 root filesystems

Hi,

in case someone else stumbles across this problem in ELDK 5.5 root
filesystems:

  INIT: /etc/inittab[31]: id field too long (max 4 characters)

The problem is known and will be fixed in the next bug fix release.

http://www.denx.de/wiki/view/ELDK-5/FrequentlyAskedQuestionsAndAnswers#ELDK_5_5_Known_Issues_and_Workar

Best wishes
  Detlev

--

-- 
When it’s 3 A.M., and you’ve been debugging for 12 hours, and you encounter a
virtual static friend protected volatile templated function pointer, you want
to go into hibernation and awake as a  werewolf and then  find the people who 
wrote the C++ standard and bring ruin to the things that they love. 
                              -- James Mickens
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu <at> denx.de
_______________________________________________
eldk mailing list
eldk <at> lists.denx.de
http://lists.denx.de/mailman/listinfo/eldk
Marek Vasut | 18 Mar 01:40 2014
Picon
Picon

[PATCH] META-ELDK: linux-eldk: Add USB support for M53EVK

Backport Linux patches necessary to get USB operational on i.MX5x
and backport a patch which enables USB support on M53. Moreover,
enable NOP PHY in the M53EVK defconfig, as that is the PHY type
used on i.MX5x .

The diffstat for the kernel part looks like below, so the changes
for the kernel part are contained:
 Documentation/devicetree/bindings/usb/ci13xxx-imx.txt |  6 +++
 arch/arm/boot/dts/imx51.dtsi                          | 23 ++++++++++
 arch/arm/boot/dts/imx53-m53evk.dts                    | 22 +++++++++
 arch/arm/boot/dts/imx53.dtsi                          | 31 +++++++++++++
 drivers/usb/chipidea/bits.h                           | 16 ++++++-
 drivers/usb/chipidea/ci13xxx_imx.c                    | 98 ++++++++++++----------------------------
 drivers/usb/chipidea/core.c                           | 97 +++++++++++++++++++++++++++++++++++----
 drivers/usb/chipidea/host.c                           | 23 +++++++++-
 drivers/usb/chipidea/udc.c                            | 20 +++++++-
 drivers/usb/chipidea/udc.h                            |  1 +
 drivers/usb/chipidea/usbmisc_imx.c                    |  4 +-
 drivers/usb/phy/Makefile                              |  1 +
 drivers/usb/phy/of.c                                  | 47 +++++++++++++++++++
 drivers/usb/usb-common.c                              | 35 ++++++++++++++
 include/linux/usb/chipidea.h                          |  4 +-
 include/linux/usb/of.h                                | 28 ++++++++++++
 include/linux/usb/otg.h                               |  7 +++
 include/linux/usb/phy.h                               |  9 ++++
 18 files changed, 388 insertions(+), 84 deletions(-)

Signed-off-by: Marek Vasut <marex <at> denx.de>
Cc: Wolfgang Denk <wd <at> denx.de>
---
(Continue reading)

Marek Vasut | 18 Mar 01:39 2014
Picon
Picon

[PATCH 1/3] META-ELDK: u-boot: Adjust loading of Linux kernel from UBIFS on M28EVK

Adjust the 'nandload' command on M28EVK so it can correctly load the kernel
from UBIFS instead of reading it from raw NAND .

Signed-off-by: Marek Vasut <marex@...>
Cc: Wolfgang Denk <wd@...>
---
 .../m28evk/0003-ARM-m28evk-Update-default-environment.patch    | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git
a/meta-eldk/recipes-bsp/uboot/u-boot/m28evk/0003-ARM-m28evk-Update-default-environment.patch b/meta-eldk/recipes-bsp/uboot/u-boot/m28evk/0003-ARM-m28evk-Update-default-environment.patch
index aa997d8..6824dd7 100644
--- a/meta-eldk/recipes-bsp/uboot/u-boot/m28evk/0003-ARM-m28evk-Update-default-environment.patch
+++ b/meta-eldk/recipes-bsp/uboot/u-boot/m28evk/0003-ARM-m28evk-Update-default-environment.patch
 <at>  <at>  -6,8 +6,8  <at>  <at>  Subject: [PATCH 3/3] ARM: m28evk: Update default environment
 Signed-off-by: Marek Vasut <marex@...>
 Signed-off-by: Lothar Rubusch <lothar@...>
 ---
- include/configs/m28evk.h | 85 ++++++++++++++++++++++++++++++++++++++++++++++--
- 1 file changed, 82 insertions(+), 3 deletions(-)
+ include/configs/m28evk.h | 87 ++++++++++++++++++++++++++++++++++++++++++++++--
+ 1 file changed, 84 insertions(+), 3 deletions(-)

 diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h
 index e44344b..92e0afa 100644
 <at>  <at>  -53,7 +53,7  <at>  <at>  index e44344b..92e0afa 100644
  		"setexpr update_off ${loadaddr} + ${update_nand_fcb} ; " \
  		"setexpr update_sz ${filesize} - ${update_nand_fcb} ; " \
  		"nand write ${update_off} ${update_nand_fcb} ${update_sz} ; " \
- <at>  <at>  -203,6 +217,71  <at>  <at> 
(Continue reading)

Jeff Franks | 12 Mar 15:04 2014
Picon

eldk splash progress screen -- how can I change the logo?

Hello,

We have installed eldk 5.4 on an Atmel board.
Late after the kernel boots a splash progress screen is displayed "denx".

How can I change the logo?

--jlf
Sergei Poselenov | 25 Feb 11:07 2014

Java support for eldk-5.3/armv7a (Vybrid VF6xx)

Hello,

Starting from this message, I will publish a series of patches
which adds support for Java to ELDK-5.3 "qte-sdk" configuration, armv7a
target.

To build, run "bitbake core-image-java-qte-sdk".
The Java binary is proved to work on the Freescale Vybrid VF6xx target.

Regards,

Sergei Poselenov,
Emcraft Systems

Gmane