Skip to contentSkip to conversation

How to search in this mailing-list?

DISCUSSION Stephen Cheng 4 participants 5 messages Jun 27, 2006 – Jun 10, 2011 2 messages not in the archive

lore
Share & tools
lore
#3 lore raw

Can anyone tell me if it is a bug of the ELDK4.0?

Hi,

I failed to compile the uboot on my 440GP platform, I set the compile switch as "-m440 -mcpu=440",

But the interest thing is when I change the switch to "-m405 -mcpu=440", I can compile my uboot successfully, why?

Also I find all the instructions are existed both in user manual of PPC_405 and PPC440.

make[1]: Leaving directory `/opt/glacier_boot/post/cpu'
ppc_4xx-gcc -Wa,-gstabs -D__ASSEMBLY__ -g -Os -fPIC -ffixed-r14 -meabi -fno-strict-aliasing -D__KERNEL__ -DTEXT_BASE=0xFFC40000 -I/opt/glacier_boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/eldk4.0/usr/bin/../lib/gcc/powerpc-linux/4.0.0/include -pipe -DCONFIG_PPC -D__powerpc__ -DCONFIG_4xx -ffixed-r2 -ffixed-r29 -mstring -Wa,-m440 -mcpu=440 -msoft-float -c -o cpu/ppc4xx/start.o /opt/glacier_boot/cpu/ppc4xx/start.S
/opt/glacier_boot/cpu/ppc4xx/start.S: Assembler messages:
/opt/glacier_boot/cpu/ppc4xx/start.S:996: Error: Unrecognized opcode: mfdccr' /opt/glacier_boot/cpu/ppc4xx/start.S:998: Error: Unrecognized opcode: mtdccr' /opt/glacier_boot/cpu/ppc4xx/start.S:1016: Error: Unrecognized opcode: mtdccr' /opt/glacier_boot/cpu/ppc4xx/start.S:1027: Error: Unrecognized opcode: mticcr' /opt/glacier_boot/cpu/ppc4xx/start.S:1033: Error: Unrecognized opcode: mticcr' /opt/glacier_boot/cpu/ppc4xx/start.S:1039: Error: Unrecognized opcode: mficcr' /opt/glacier_boot/cpu/ppc4xx/start.S:1050: Error: Unrecognized opcode: mtdccr' /opt/glacier_boot/cpu/ppc4xx/start.S:1059: Error: Unrecognized opcode: mtdccr' /opt/glacier_boot/cpu/ppc4xx/start.S:1064: Error: Unrecognized opcode: `mfdccr'
make: *** [cpu/ppc4xx/start.o] Error 1
[root@localhost glacier_boot]#

#4 lore raw

Re: Can anyone tell me if it is a bug of the ELDK4.0?

Quoted 2 lines · In message <[email protected]> you wrote:

I failed to compile the uboot on my 440GP platform, I set the compile switch as "-m440 -mcpu=440",

Don't do this, then. The  ELDK  will  automatically  set  approproate
compiler  options  as  needed,  depending  on  your  setting  of  the

CROSS_COMPILE variable.

All this is documented in the manual.

Just follow the instructions.

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
Half of the people in the world are below average.
#6 lore raw

[U-Boot] encounter 'bad length' problem in u-boot

In reply to a message not in the archive

Dear jxnuxdy,

Quoted 4 lines · In message <[email protected]> you wrote:

I enconter the problem 'bad length' during the ping, can anybody give a point as how this issue happen, how to kill it even this maybe not an critical issue ...

Which board is this, and which exact version of U-Boot?

Quoted 3 lines

u-boot $ ping 10.4.58.48

Using nae-6 device

This does not look like any code supported in mainline U-Boot?

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
On a clear disk you can seek forever.