Tremblay, Eric | 23 May 19:37 2016

Question about uboot.


I don't know if it is the right place to ask but I was wondering if it is possible and if anyone has done it
before, Is it possible to had a login/password to uboot when we stop it before it load ?


Eric Tremblay
Rama Chandra | 17 May 14:12 2016

Bootm.c code problem in ocotea board

Hai sir,
     I am using IBM PowerPC440GX (the reference of OCOTEA board i am taken)

arch/powerpc/lib/bootm.c: In function 'boot_jump_linux':
arch/powerpc/lib/bootm.c:43: error: expected ';', ',' or ')' before numeric
arch/powerpc/lib/bootm.c:49: error: 'kernel' undeclared (first use in this
arch/powerpc/lib/bootm.c:49: error: (Each undeclared identifier is reported
only once
arch/powerpc/lib/bootm.c:49: error: for each function it appears in.)
make[1]: *** [arch/powerpc/lib/bootm.o] Error 1
make: *** [arch/powerpc/lib] Error 2

I am not changed the libraries any thing, but same problem is coming. I am
only changed  include/configs/amcc-common.h file below things only i am
changed eldk path changed:
#if defined(CONFIG_440EP) || defined(CONFIG_440EPX) || \
    defined(CONFIG_460EX) || defined(CONFIG_460GT)
#define CONFIG_AMCC_DEF_ENV_ROOTPATH "rootpath=/opt/eldk42/ppc_4xxFP\0"
#define CONFIG_AMCC_DEF_ENV_ROOTPATH rootpath=/opt/eldk42/ppc_4xx\0"
Thank you sir.

Thanks & Regards,
RamaChandra PC
Rama Chandra | 12 May 13:39 2016

Can't find UART Base Reg Values in UBOOT.2014.04

Hai sir in u-boot2014.04 i can't see the UART0,1,2,3. Base Registers values
which file those are included could you give me some suggestions please.
#define sdr_uart0 0x0120 /* UART0 Config */
#define SDR0_PFC1_U0ME_MASK         0x00080000    /* UART0 Mode Enable */
#define   SDR0_PFC1_U0ME_DSR_DTR      0x00000000      /* UART0 in DSR/DTR
Mode */
 #define   SDR0_PFC1_U0ME_CTS_RTS      0x00080000      /* UART0 in CTS/RTS
Mode */
#define   SDR0_PFC1_U0IM_MASK         0x00040000    /* UART0 Interface Mode
#define   SDR0_PFC1_U0IM_8PINS        0x00000000      /* UART0 Interface
Mode 8 pins */
#define   SDR0_PFC1_U0IM_4PINS        0x00040000      /* UART0 Interface
Mode 4 pins */
 UART Register Offsets
#define DATA_REG 0x00
#define DL_LSB 0x00
#define DL_MSB 0x01
#define INT_ENABLE 0x01
#define FIFO_CONTROL 0x02
#define LINE_CONTROL 0x03
#define MODEM_CONTROL 0x04
#define LINE_STATUS 0x05
#define MODEM_STATUS 0x06
#define SCRATCH 0x07

Thanks & Regards,
RamaChandra PC
(Continue reading)

Rama Chandra | 12 May 08:49 2016

Fwd: Error 127 problem in eldk

Hai sir,
i am using Ubuntu 14.04LTS eldk will support or not. i am trying the below
procedure but same ERROR 127 is coming.

ram <at> caravel:~/Desktop/media$ sudo mkdir /opt/eldk
mkdir: cannot create directory ‘/opt/eldk’: File exists
ram <at> caravel:~/Desktop/media$ sudo chown ram:ram /opt/eldk
ram <at> caravel:~/Desktop/media$ sudo mount -o loop,exec ppc-2008-04-01.iso
mount: block device /home/ram/Desktop/media/ppc-2008-04-01.iso is
write-protected, mounting read-only
ram <at> caravel:~/Desktop/media$ /opt/eldk/install ppc_4xx

Do you really want to install into /home/ram/Desktop/media directory[y/n]?:

Creating directories

export PATH=$PATH:/opt/eldk/usr/bin:/opt/eldk/bin
export PATH=/home/opt/media/bin:/home/opt/media/usr/bin:$PATH
export CROSS_COMPILE=ppc_4xx-
export ARCH=powerpc
ram <at> caravel:~$ cd Desktop/ppc_uboot/
export PATH=/home/opt/media/bin:/home/opt/media/usr/bin:$PATH
export CROSS_COMPILE=ppc_4xx-
export ARCH=powerpc
ram <at> caravel:~/Desktop/ppc_uboot$ make distclean
make: ppc_4xxgcc: Command not found
/bin/sh: 1: ppc_4xxgcc: not found
(Continue reading)

Rama Chandra | 11 May 14:02 2016

Error 127 problem in eldk

Hai sir,

i am doing below procedure but till know some Error 127 problems are coming
could you give me the some suggestions:

cd /home/ram/Desktop/media/
cp /media/ram/ppc-2008-04-01.iso /home/ram/Desktop/media/
sudo mkdir /opt/eldk
sudo chown ram:ram /opt/eldk
./install -d /opt/eldk ppc_4xx
sudo ./ELDK_MAKEDEV -d /opt/eldk/
sudo ./ELDK_FIXOWNER -d /opt/eldk/
echo 'PATH=$PATH:/opt/eldk/usr/bin:/opt/eldk/bin
export CROSS_COMPILE="ppc_4xx"
export ARCH=powerpc' > setup_eldk & chmod u+x setup_eldk
source /opt/eldk/setup_eldk
then after i am started U-BOOT
ram <at> caravel:~$ cd Desktop/ppc_uboot/
ram <at> caravel:~/Desktop/ppc_uboot$ make distclean
make: ppc_4xxgcc: Command not found
/bin/sh: 1: ppc_4xxgcc: not found
dirname: missing operand
Try 'dirname --help' for more information.
/bin/sh: 1: ppc_4xxgcc: not found
dirname: missing operand
Try 'dirname --help' for more information.
ram <at> caravel:~/Desktop/ppc_uboot$ make ocotea_config
make: execvp: /home/ram/Desktop/ppc_uboot/mkconfig: Permission denied
make: *** [ocotea_config] Error 127
ram <at> caravel:~/Desktop/ppc_uboot$ sudo make ocotea_config
(Continue reading)

Michael Schulte | 13 Apr 14:47 2016

ELDK5.8 errors during installation


Although I am no programmer, why not trying to install ELDK5.8 on OpenSuse 13.2.
After downloading and mounting the iso image I got here:

./ -d /home/sc/work/ELDK/eldk5.8 armv7a
Error: SDK image "gmae" is not available
Available SDK images for target 'armv7a':
        'toolchain', 'toolchain-qte', 'toolchain-xenomai-qte'.

The default setting for the SDK "gmae" in the install script is not
available, so I chose one of the available SDK images and got:

./ -d /home/sc/work/ELDK/eldk5.8 -s toolchain-qte armv7a
*** Installing ./targets/armv7a/
into /home/sc/work/ELDK/eldk5.8/armv7a
NOTICE: superuser priviledges will be needed to install the
root file system; make sure you have sufficient permissions.
Error: Can't read rootfs tarball

First assuming a permission problem I then reviewed the install script and
found that the tarball variable isn't set properly.

		tarball=$(echo ${SRC_DIR}/targets/${target}/\
(Continue reading)

Rama Chandra | 21 Mar 07:05 2016

Fwd: request for information on a reference document of Porting Linux for AMCC 440gx Ref Platform


Recently i am started Embedded Linux, Could you have about any information
or reference document of Porting Linux for AMCC 440gx Ref Platform
Thanks & Regards,
RamaChandra PC


Thanks & Regards,
RamaChandra PC
Albrecht Dreß | 18 Feb 20:53 2016

glibc getaddrinfo() bug (CVE-2015-7547)

Hi all,

short question - is the glibc version (2.21?) coming with ELDK 5.8 affected by the recently published glibc
getaddrinfo() bug CVE-2015-7547 [1]?  If so, will you provide a patched version of '5.8 (like 5.8.1), or do
we have to re-compile glibc with a fix [2] ourselves?

IMO, this bug is a really critical one, much worse than CVE-2015-0235 aka 'GHOST' which strikes the
obsolescent (though still used by some older applications) gethostbyname() function only.

I still use ELDK 5.4 on two PowerPC platforms (MPC5200; P2020) which *is* vulnerable on both according to
the proof-of-concept [3].  This in turn means that *any* system built with ELDK 5.4 (and earlier and later
versions?) is also vulnerable if any application running on it uses getaddrinfo() - which is /very/ likely.

As ELDK 5.8 now comes with gcc 4.9.1 which should have the issue described in [4] fixed, this would be the
perfect time to move to the new ELDK, if CVE-2015-7547 is fixed.

Any insight would be highly appreciated!

Thanks in advance,

[1] <>
[2] <>
[3] <>
[4] <>
eldk mailing list
(Continue reading)

Rama Chandra | 15 Feb 08:23 2016

Supported Target Architectures

Hai DENX Members,

      I am using IBM PPC440GX it will supports eldk Supported Target
Architectures or not and which ELDK is useful for IBM PPC440GX (which one i
can select


Thanks & Regards,
RamaChandra PC
Thomas Lange | 12 Feb 15:04 2016

Cannot compile using stdlibs with 5.8

there seems to be a problem with gcc system paths
on my system when running ELDK v5.8 on Debian/Jessie:

   k1:/tmp$ arm-linux-gnueabi-gcc -Wall x.c
   x.c:1:19: fatal error: stdio.h: No such file or directory
    #include <stdio.h>

gcc says it is configured with
which seems weird to me.

I would appreciate any hints, I am kind of stuck here.

Full example:

/* First a patch to make work with debian */

k1:/tmp/work$ diff -Naur /mnt/work/ -w
--- /mnt/work/        2016-02-03 11:17:25.000000000 +0100
+++  2016-02-12 07:04:10.000938733 +0100
 <at>  <at>  -288,7 +288,7  <at>  <at> 
                 echo -e "*** Installing ${shar}\n    into ${inst_path}" >&2

                 echo -e "${inst_path}\ny" | \
-               ${DRY_RUN} sh ${shar} >/dev/null || exit 1
+               ${DRY_RUN} bash ${shar} >/dev/null || exit 1
(Continue reading)

Thomas Lange | 12 Feb 09:54 2016

[PATCH] Handle empty lines in environment script

ELDK v5.8 includes an empty line in environment-setup-*
which caused this:

  k33:~$ eval ` -r 5.8 armv7a-hf`
  Setup for armv7a-hf (using ELDK 5.8)
  bash: syntax error near unexpected token `;'

So remove all empty lines before substituting <newline> with ;

Signed-off-by: Thomas Lange <thomas@...>
--- | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ b/
index dcdc193..252065a 100755
--- a/
+++ b/
 <at>  <at>  -346,7 +346,7  <at>  <at>  else
 	# Use our pruned path to add the new path in our environment
 	pathcmd=$(cat ${config} | grep " PATH=")
 	eval $pathcmd
-	cmds=$(cat ${config} | grep -v " PATH=" | sed 's/$/ ; /g')
+	cmds=$(cat ${config} | grep -v " PATH=" | sed '/^$/d; s/$/ ; /g')
 	# We want to reference ${TARGET_PREFIX}, so evaluate it
 	eval $(cat ${config} | grep "TARGET_PREFIX=")
 	# Built minimal set of variables, i.e. PATH, CROSS_COMPILE and ARCH

(Continue reading)