K Richard Pixley | 16 May 00:30 2015

compiling u-boot/tools/env

I've just upgraded to a more recent version of u-boot for one of my 
targets.  And now I'm thoroughly stumped on how to build fw_printenv.

The README says to use CROSS_COMPILE, but that doesn't include all the 
other environment variables from sourcing my eldk environment file.  It 
also doesn't work.  Attempting to build hides /everything/ so I can't 
even tell what compiler is being used.  It /says/ HOSTCC, which is 
wrong, and it should know better.  And neither setting HOSTCC nor CC on 
the command line produces anything useful, (of course, it's hidden, so I 
can't tell if it's really taking effect anyway).

Shouldn't this thing just be a simple "$(CC) -o fw_printenv *.c"?  I 
tried that, and tried adding -I options to find the headers, but 
apparently some of the u-boot headers are intended to replace standard 
system library headers.  I suppose that might make sense for standalone 
u-boot, but not for fw_printenv that runs inside a running linux.

This is the most opaque Makefile I've seen in years, btw.  Kudos.

*sigh*

How do I build fw_printenv for my target, (ie, in a cross 
configuration), using my eldk toolchain?  What's the secret?

I checked top-of-tree in git and it looks like the same arrangement in 
the code I was handed by a vendor that's marked 2014.07.  So whatever 
the secret is, I'm guessing that it's the same secret as is used for 
top-of-tree.

--rich
(Continue reading)

ibragimov | 24 Apr 16:41 2015
Picon

Error in building ELDK, probably bad links

Hello, I'm try to build
MACHINE=generic-armv7a-hf bitbake core-image-lsb-sdk

in local.conf i've add
EXTRA_IMAGE_FEATURES = "tools-debug eclipse-debug debug-tweaks"

I've got warnings and error:

DEBUG: Mirror fetch failure for url 
http://autobuilder.yoctoproject.org/sources/git2_git.denx.de.cramfs.git.tar.gz 
(original url: git://git.denx.de/cramfs.git;protocol=git)
DEBUG: Fetcher failure: Fetch command failed with exit code 8, output:
http://autobuilder.yoctoproject.org/sources/git2_git.denx.de.cramfs.git.tar.gz:
2015-04-24 17:30:56 ERROR 404: Not Found.

...

WARNING: Failed to fetch URL git://git.denx.de/cramfs.git;protocol=git, 
attempting MIRRORS if available
DEBUG: Fetcher failure: Fetch command failed with exit code 128, output:
Cloning into bare repository 
'.../git/eldk/build/2014-11-19-8346b82-armv7a-hf/downloads/git2/git.denx.de.cramfs.git'...
fatal: read error: Connection reset by peer

...

DEBUG: Fetcher failure: Fetch command failed with exit code 8, output:
http://downloads.yoctoproject.org/mirror/sources/git2_git.denx.de.cramfs.git.tar.gz:
2015-04-24 17:31:05 ERROR 404: Not Found.

(Continue reading)

ibragimov | 24 Apr 11:04 2015
Picon

Building ELDK for Altera SoC

Hello,
i want to build ELDK for SoM MCV.
I have not hardware now and I can not to test my work with hardware.
I try to build ELDK for Altera and follow 
http://www.denx.de/wiki/view/ELDK-5/EldkBuilding.
And I have question on adopting build for Altera.
In step
  - You can now edit "conf/local.conf" to make any local adjustments you 
want.
i do not see altera-meta.
Is it not used in ELDK for MCV?
Or I should customize my build with steps not shown in 
http://www.denx.de/wiki/view/ELDK-5/EldkBuilding with git clone 
git://git.rocketboards.org/meta-altera.git, editing bblayers.conf or 
similar ways?
ibragimov | 8 Apr 15:58 2015
Picon

LSB build failed on wayland-drm-client-protocol compilation

Hello,
I've try to build
ELDK 5.5.3 core-image-lsb-dev for qemuarm
on Ubuntu 14.04.
And got error.

Here is a part of logs:

Build Configuration:
BB_VERSION        = "1.20.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "arm-linux-gnueabi"
MACHINE           = "qemuarm"
DISTRO            = "eldk"
DISTRO_VERSION    = "5.5.3"
TUNE_FEATURES     = "armv5 thumb dsp"
TARGET_FPU        = "soft"
meta
meta-yocto
meta-yocto-bsp
meta-eldk
meta-hob          = 
"(detachedfromeldk-5.5.3):ba6000e2a2d5d5562e953294d11d7aab92483949"
...
ERROR: Function failed: do_compile (log file is located at 
/home/.../git/eldk/build_qemu/2014-11-13-ba6000e-armv7a-hf/tmp/work/armv5te-linux-gnueabi/mesa/2_9.1.6-r0/temp/log.do_compile.1577)
NOTE: recipe mesa-2_9.1.6-r0: task do_compile: Failed
ERROR: Task 3565 
(/home/.../git/eldk/meta/recipes-graphics/mesa/mesa_9.1.6.bb, 
(Continue reading)

Adir Atias | 22 Feb 10:36 2015

create iso file for ELDK5.x

Hi All,

I would like to know how to create ISO file like this
ftp://ftp.denx.de/pub/eldk/5.4/iso/eldk-5.4-powerpc-4xx.iso for example.

What are the steps ?
I didn't found documentation about it  (I also looked at  Yocto / OE )

(I succeeded to compile ELDK env  according the WIKI steps
http://www.denx.de/wiki/view/ELDK-5/EldkBuilding )

BR,
Adir Atias.
Adir Atias | 12 Feb 16:52 2015

Cross Compile SRC RPM for eldk5.4

Hi all,

I'm trying to build new rpm for eldk5.4 for ppc4xx cpu.

I've installed eldk-5.4-powerpc-4xx.iso (from
ftp://ftp.denx.de/pub/eldk/5.4/iso/eldk-5.4-powerpc-4xx.iso )
With this command

"./install.sh -s gmae -r - powerpc-4xx"

I attached all the steps I did (following the instructions on site)

And after eldk5.4 cross compile env installation ,
rpmbuild/rpm tools are not exists.

I need support , who can suggest?

BR,
Adir Atias.
Adir Atias | 12 Feb 16:19 2015

Cross Compile SRC RPM for eldk5.4

Hi all,

I'm trying to build new rpm for eldk5.4 for ppc4xx cpu.

I've installed eldk-5.4-powerpc-4xx.iso (from
ftp://ftp.denx.de/pub/eldk/5.4/iso/eldk-5.4-powerpc-4xx.iso )
With this command

"./install.sh -s gmae -r - powerpc-4xx"

I attached all the steps I did (following the instructions on site)

And after eldk5.4 cross compile env installation ,
rpmbuild/rpm tools are not exists.

I need support , who can suggest?

BR,
Adir Atias.
K Richard Pixley | 12 Feb 00:19 2015

embedding dtb into uImage

Can anyone tell me how to go about producing a powerpc uImage that 
embeds the dtb file?

I'm trying "make uImage.myboard" but it fails for want of 
uboot-myboard.o  Is there somethings else I need to do?

--rich
Wolfgang Denk | 2 Feb 22:22 2015
Picon
Picon

Re: ELDK 5.4 and 'GHOST' glibc bug

Dear Albrecht,

In message <1422902202.3495.0 <at> deneb.(none)> you wrote:
> 
> I use ELDK v. 5.4 for a PowerPC (MPC5200B) target.  Due to [1], upgrading
> to 5.5.x is not an option for me.

Yeah, that's a sad story, expecially as Yocto is targeting a fix only
for the 1.8M3 milestone (see [1])

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=6872

> It appears, though, that the glibc coming with 5.4 is vulnerable by
> CVE-2015-0235 (glibc 'GHOST' gethostbyname buffer overflow; [2]).

This is my understanding, too.

> Before downloading 5.6 - does it have both the gcc/PowerPC glitch *and* the
> GHOST bug fixed?  Or will you provide an update for 5.4?

5.6 includes basically the same compiler as 5.5.x; especially the
aforementioned bug is still unfixed.

We did not come to a final decision yet how to handle this.  It wuld
be possible to switch to GCC 4.8.4 for some ELDK v5.6.1 release or
such, but I hesitate as I'd much rather have a community accepted and
tested fix included.

Eventually we might even skip v5.7 and rather focus efforts on a quick
v5.8 which then would (hopefully) a reliable version of GCC again.
(Continue reading)

Albrecht Dreß | 2 Feb 19:36 2015
Picon

ELDK 5.4 and 'GHOST' glibc bug

Hi all,

I use ELDK v. 5.4 for a PowerPC (MPC5200B) target.  Due to [1], upgrading to 5.5.x is not an option for me.

It appears, though, that the glibc coming with 5.4 is vulnerable by CVE-2015-0235 (glibc 'GHOST'
gethostbyname buffer overflow; [2]).

Before downloading 5.6 - does it have both the gcc/PowerPC glitch *and* the GHOST bug fixed?  Or will you
provide an update for 5.4?

Thanks,
Albrecht.

[1] <http://lists.denx.de/pipermail/eldk/2014-October/002548.html>
[2] <http://www.openwall.com/lists/oss-security/2015/01/27/9>
_______________________________________________
eldk mailing list
eldk@...
http://lists.denx.de/mailman/listinfo/eldk
karunakaran.krishnan | 30 Jan 05:57 2015

whether eldk 5.5.3 support 64bit cross compilation for powerpc e6500 core?

Hi All,

whether ELDK 5.5.3 powerpc e500v2 cross compiler is support 64bit 
compilation for freescale T2080 processor (T2080 is a e6500 64bit core)?

if ELDK 5.5.3 powerpc e500v2 is not support for 64bit compilation, 
Kindly suggest me the eldk for 64bit cross compiler.

Thanks
Karunakaran R

**************** CAUTION - Disclaimer *****************This email may contain confidential and
privileged material for the
sole use of the intended recipient(s). Any review, use, retention, distribution or disclosure by others
is strictly prohibited. If you are not the intended recipient (or authorized to receive for the
recipient), please contact the sender by reply email and delete all copies of this message. Also, email is
susceptible to data corruption, interception, tampering, unauthorized amendment and viruses. We only
send and receive emails on the basis that we are not liable for any such corruption, interception,
tampering, amendment or viruses or any consequence thereof. 
*********** End of Disclaimer ***********DataPatterns ITS Group**********

Gmane