Rama Chandra | 3 Jun 12:34 2016
Picon

Serial Com1 port not working

Hai,
I am using Custom IBM PowerPC 440GX Board.After Dumping the BIN file It is
not Display any thing in TeraTerm
Mainly i am refereed Ocotea Board. ocotea.c file i am not initialized FPGA
because in board we are not using.(Com1 port address also i am changed
#define CONFIG_SYS_NS16550_COM1 (CONFIG_SYS_PERIPHERAL_UART0_BASE)
(#define CONFIG_SYS_PERIPHERAL_UART0_BASE 0xa1080000)
-->Ocotea.c file Details
int board_early_init_f (void)
{
        unsigned long mfr;
  unsigned char *UartPtr;
  int i;

        UartPtr = (unsigned char *)(0xA1080000);
    /* Basically i am sending one character to UART*/
    *(UartPtr + 3) = 0x83;
   for(i=0;i<100000;i++);
    *(UartPtr + 0) = 0x1b;
     for(i=0;i<100000;i++);
    *(UartPtr + 1) = 0x00;
     for(i=0;i<100000;i++);
    *(UartPtr + 3) = 0x03;
    for(i=0;i<100000;i++);
    *(UartPtr + 0) = 0x41;

/*-------------------------------------------------------------------------+
          | Initialize EBC CONFIG

+-------------------------------------------------------------------------*/
(Continue reading)

Tremblay, Eric | 23 May 19:37 2016

Question about uboot.

Hi,

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 ?

Thanks

Eric Tremblay
Rama Chandra | 17 May 14:12 2016
Picon

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
constant
arch/powerpc/lib/bootm.c:49: error: 'kernel' undeclared (first use in this
function)
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"
#else
#define CONFIG_AMCC_DEF_ENV_ROOTPATH rootpath=/opt/eldk42/ppc_4xx\0"
#endif
Thank you sir.
--

-- 
Thanks & Regards,
RamaChandra PC
+918892147159.
Rama Chandra | 12 May 13:39 2016
Picon

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
+918892147159.
(Continue reading)

Rama Chandra | 12 May 08:49 2016
Picon

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
/opt/eldk
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]?:
y

Creating directories
Done

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
Picon

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
Picon

ELDK5.8 errors during installation

Hi,

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:

./install.sh -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:

./install.sh -d /home/sc/work/ELDK/eldk5.8 -s toolchain-qte armv7a
*** Installing ./targets/armv7a/eldk-glibc-i686-arm-toolchain-qte-5.8.sh
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
"./targets/armv7a/core-image-minimal-dev-generic-armv7a.tar.gz
./targets/armv7a/core-image-minimal-generic-armv7a.tar.gz
./targets/armv7a/core-image-minimal-mtdutils-generic-armv7a.tar.gz
./targets/armv7a/core-image-minimal-xenomai-generic-armv7a.tar.gz"

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
Picon

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

Hai,

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
+918892147159.

--

-- 
Thanks & Regards,
RamaChandra PC
+918892147159.
Albrecht Dreß | 18 Feb 20:53 2016
Picon

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,
Albrecht.

[1] <https://googleonlinesecurity.blogspot.de/2016/02/cve-2015-7547-glibc-getaddrinfo-stack.html>
[2] <https://sourceware.org/ml/libc-alpha/2016-02/msg00416.html>
[3] <https://github.com/fjserna/CVE-2015-7547>
[4] <http://lists.denx.de/pipermail/eldk/2014-October/002548.html>
_______________________________________________
eldk mailing list
eldk@...
http://lists.denx.de/mailman/listinfo/eldk
(Continue reading)

Rama Chandra | 15 Feb 08:23 2016
Picon

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 ftp://ftp.denx.de/pub/eldk/5.6/targets/powerpc-4xx/)

--

-- 
Thanks & Regards,
RamaChandra PC
+918892147159.
Thomas Lange | 12 Feb 15:04 2016
Picon

Cannot compile using stdlibs with 5.8

Hi,
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
   --with-sysroot=/not/exist
which seems weird to me.

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

Full example:

-----
/* First a patch to make install.sh work with debian */

k1:/tmp/work$ diff -Naur /mnt/work/install.sh install.sh -w
--- /mnt/work/install.sh        2016-02-03 11:17:25.000000000 +0100
+++ install.sh  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
         done
  fi
(Continue reading)


Gmane