* [U-Boot-Users] Linux kernel hang (infinite loop)
@ 2006-07-17 23:52 Madhu Saravana Sibi Govindan
2006-07-18 6:27 ` Stefan Roese
2006-07-18 6:40 ` Wolfgang Denk
0 siblings, 2 replies; 12+ messages in thread
From: Madhu Saravana Sibi Govindan @ 2006-07-17 23:52 UTC (permalink / raw)
To: u-boot
Hello all,
I'm using U-boot to bring up a custom 440gp-based board. We are able
to transfer the kernel image (uImage) to the target board's memory and
jump to it. But, the kernel seems to hang after that.
We have verified that the board info struct and the clock frequencies
are ok. We also have a BDI2000 hardware debugger with us, but we are
unable to set any breakpoints using this (both using telnet or using
gdb). However, I can use the telnet interface and single-step the
440gp after it seems to hang. I found that 440gp is infinitely looping
through the "DataTLBError" routine.
It is unclear to me what might have caused this in the first place.
Has anyone seen this behaviour before?
We are currently working on getting breakpoints to work using the BDI2000.
Any help is greatly appreciated.
Regards,
G.Sibi
^ permalink raw reply [flat|nested] 12+ messages in thread
* [U-Boot-Users] Linux kernel hang (infinite loop)
2006-07-17 23:52 [U-Boot-Users] Linux kernel hang (infinite loop) Madhu Saravana Sibi Govindan
@ 2006-07-18 6:27 ` Stefan Roese
2006-07-18 6:40 ` Wolfgang Denk
1 sibling, 0 replies; 12+ messages in thread
From: Stefan Roese @ 2006-07-18 6:27 UTC (permalink / raw)
To: u-boot
Hello,
On Tuesday 18 July 2006 01:52, Madhu Saravana Sibi Govindan wrote:
> I'm using U-boot to bring up a custom 440gp-based board. We are able
> to transfer the kernel image (uImage) to the target board's memory and
> jump to it. But, the kernel seems to hang after that.
Did you try looking at the logbuffer:
http://www.denx.de/wiki/DULG/LinuxPostMortemAnalysis
> We have verified that the board info struct and the clock frequencies
> are ok. We also have a BDI2000 hardware debugger with us, but we are
> unable to set any breakpoints using this (both using telnet or using
> gdb). However, I can use the telnet interface and single-step the
> 440gp after it seems to hang. I found that 440gp is infinitely looping
> through the "DataTLBError" routine.
I assume that you have a linux port for your "custom" board and are *not*
using the linux kernel image for some other 440 board, right?
> It is unclear to me what might have caused this in the first place.
> Has anyone seen this behaviour before?
>
> We are currently working on getting breakpoints to work using the BDI2000.
What is BREAKMODE set to in your BDI2000 config file? Try using "HARD".
Best regards,
Stefan
^ permalink raw reply [flat|nested] 12+ messages in thread
* [U-Boot-Users] Linux kernel hang (infinite loop)
2006-07-17 23:52 [U-Boot-Users] Linux kernel hang (infinite loop) Madhu Saravana Sibi Govindan
2006-07-18 6:27 ` Stefan Roese
@ 2006-07-18 6:40 ` Wolfgang Denk
2007-12-26 2:38 ` jxnuxdy
1 sibling, 1 reply; 12+ messages in thread
From: Wolfgang Denk @ 2006-07-18 6:40 UTC (permalink / raw)
To: u-boot
In message <513a5e60607171652v7391e6afn58e4c55a17fcf059@mail.gmail.com> you wrote:
>
> I'm using U-boot to bring up a custom 440gp-based board. We are able
> to transfer the kernel image (uImage) to the target board's memory and
> jump to it. But, the kernel seems to hang after that.
And what has this to do with U-Boot?
You're off topic here.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Overflow on /dev/null, please empty the bit bucket.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [U-Boot-Users] Linux kernel hang (infinite loop)
2006-07-18 6:40 ` Wolfgang Denk
@ 2007-12-26 2:38 ` jxnuxdy
2007-12-26 2:40 ` [U-Boot-Users] Can't compile u-boot-1.3.1 in the first time jxnuxdy
2007-12-26 9:05 ` [U-Boot-Users] Linux kernel hang (infinite loop) Wolfgang Denk
0 siblings, 2 replies; 12+ messages in thread
From: jxnuxdy @ 2007-12-26 2:38 UTC (permalink / raw)
To: u-boot
Hi guys,
I am now working on ELDK4.1+u-boot.1.3.1 in my Ubuntu linux, however I encounter a weird problem when I tried to compile u-boot each time with command:
make distclean;make B2_config;make clean;make
(see log)
But I can compile with command:
make distclean;make B2_config;make clean;make;make
(see log)
Why I can't compile u-boot in the first time? while I can compile it in the second time.
log as below:
denny at ubuntu:/arm44b0/u-boot-1.3.1$ make clean;make
find /arm44b0/u-boot-1.3.1 -type f \
\( -name 'core' -o -name '*.bak' -o -name '*~' \
-o -name '*.o' -o -name '*.a' \) -print \
| xargs rm -f
rm -f examples/hello_world examples/timer \
examples/eepro100_eeprom examples/sched \
examples/mem_to_mem_idma2intr examples/82559_eeprom \
examples/smc91111_eeprom examples/interrupt \
examples/test_burst
rm -f tools/img2srec tools/mkimage tools/envcrc \
tools/gen_eth_addr tools/ubsha1
rm -f tools/mpc86x_clk tools/ncb
rm -f tools/easylogo/easylogo tools/bmp_logo
rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend
rm -f tools/env/fw_printenv tools/env/fw_setenv
rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image
rm -f board/netstar/eeprom board/netstar/crcek board/netstar/crcit
rm -f board/netstar/*.srec board/netstar/*.bin
rm -f board/trab/trab_fkt board/voiceblue/eeprom
rm -f board/integratorap/u-boot.lds board/integratorcp/u-boot.lds
rm -f board/bf533-ezkit/u-boot.lds board/bf533-stamp/u-boot.lds
rm -f board/bf537-stamp/u-boot.lds board/bf561-ezkit/u-boot.lds
rm -f include/bmp_logo.h
rm -f nand_spl/u-boot-spl nand_spl/u-boot-spl.map
for dir in tools examples ; do make -C $dir _depend ; done
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/tools'
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/examples'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/examples'
make -C tools all
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/tools'
gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o img2srec.o img2srec.c
gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -o img2srec img2srec.o
strip img2srec
gcc -g -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o mkimage.o mkimage.c
gcc -g -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o crc32.o crc32.c
gcc -g -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o sha1.o sha1.c
sha1.c: In function 'sha1_update':
sha1.c:245: warning: implicit declaration of function 'memcpy'
sha1.c:245: warning: incompatible implicit declaration of built-in function 'memcpy'
sha1.c:259: warning: incompatible implicit declaration of built-in function 'memcpy'
sha1.c: In function 'sha1_hmac':
sha1.c:323: warning: implicit declaration of function 'memset'
sha1.c:323: warning: incompatible implicit declaration of built-in function 'memset'
gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -o mkimage mkimage.o crc32.o sha1.o
strip mkimage
gcc -g -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o envcrc.o envcrc.c
gcc -g -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -c -o environment.o environment.c
gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -o envcrc envcrc.o crc32.o environment.o sha1.o
gcc -g -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o ubsha1.o ubsha1.c
gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -o ubsha1 ubsha1.o sha1.o
gcc -g -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o gen_eth_addr.o gen_eth_addr.c
gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -o gen_eth_addr gen_eth_addr.o
strip gen_eth_addr
gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o bmp_logo.o bmp_logo.c
gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -o bmp_logo bmp_logo.o
strip bmp_logo
/bmp_logo logos/denx.bmp >/arm44b0/u-boot-1.3.1/include/bmp_logo.h
/bmp_logo: 1: Syntax error: word unexpected (expecting ")")
make[1]: *** [/arm44b0/u-boot-1.3.1/include/bmp_logo.h] Error 2
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/tools'
make: *** [tools] Error 2
denny at ubuntu:/arm44b0/u-boot-1.3.1$ make
for dir in tools examples ; do make -C $dir _depend ; done
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/tools'
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/examples'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/examples'
make -C tools all
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/tools'
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/tools'
make -C examples all
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/examples'
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x0C100000 -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o hello_world.o hello_world.c
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x0C100000 -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o stubs.o stubs.c
arm-linux-ar crv libstubs.a stubs.o
a - stubs.o
arm-linux-ld -g -Ttext 0xc100000 \
-o hello_world -e hello_world hello_world.o libstubs.a \
-L/arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0 -lgcc
arm-linux-objcopy -O srec hello_world hello_world.srec 2>/dev/null
arm-linux-objcopy -O binary hello_world hello_world.bin 2>/dev/null
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/examples'
make -C cpu/s3c44b0 start.o
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/cpu/s3c44b0'
arm-linux-gcc -D__ASSEMBLY__ -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x0C100000 -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -c -o start.o start.S
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/cpu/s3c44b0'
make -C lib_generic/
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/lib_generic'
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x0C100000 -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o bzlib.o bzlib.c
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x0C100000 -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o bzlib_crctable.o bzlib_crctable.c
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x0C100000 -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o bzlib_decompress.o bzlib_decompress.c
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x0C100000 -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o bzlib_randtable.o bzlib_randtable.c
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x0C100000 -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o bzlib_huffman.o bzlib_huffman.c
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x0C100000 -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o crc32.o crc32.c
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x0C100000 -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o ctype.o ctype.c
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x0C100000 -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o display_options.o display_options.c
arm-linux-gcc -g -Os -fno-stri
.....
,Regards
- Denny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071226/4b9d13a1/attachment.htm
^ permalink raw reply [flat|nested] 12+ messages in thread
* [U-Boot-Users] Can't compile u-boot-1.3.1 in the first time
2007-12-26 2:38 ` jxnuxdy
@ 2007-12-26 2:40 ` jxnuxdy
2007-12-26 9:05 ` [U-Boot-Users] Linux kernel hang (infinite loop) Wolfgang Denk
1 sibling, 0 replies; 12+ messages in thread
From: jxnuxdy @ 2007-12-26 2:40 UTC (permalink / raw)
To: u-boot
Hi guys,
I am now working on ELDK4.1+u-boot.1.3.1 in my Ubuntu linux, however I encounter a weird problem when I tried to compile u-boot each time with command:
make distclean;make B2_config;make clean;make
(see log)
But I can compile with command:
make distclean;make B2_config;make clean;make;make
(see log)
Why I can't compile u-boot in the first time? while I can compile it in the second time.
log as below:
denny at ubuntu:/arm44b0/u-boot-1.3.1$ make clean;make
find /arm44b0/u-boot-1.3.1 -type f \
\( -name 'core' -o -name '*.bak' -o -name '*~' \
-o -name '*.o' -o -name '*.a' \) -print \
| xargs rm -f
rm -f examples/hello_world examples/timer \
examples/eepro100_eeprom examples/sched \
examples/mem_to_mem_idma2intr examples/82559_eeprom \
examples/smc91111_eeprom examples/interrupt \
examples/test_burst
rm -f tools/img2srec tools/mkimage tools/envcrc \
tools/gen_eth_addr tools/ubsha1
rm -f tools/mpc86x_clk tools/ncb
rm -f tools/easylogo/easylogo tools/bmp_logo
rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend
rm -f tools/env/fw_printenv tools/env/fw_setenv
rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image
rm -f board/netstar/eeprom board/netstar/crcek board/netstar/crcit
rm -f board/netstar/*.srec board/netstar/*.bin
rm -f board/trab/trab_fkt board/voiceblue/eeprom
rm -f board/integratorap/u-boot.lds board/integratorcp/u-boot.lds
rm -f board/bf533-ezkit/u-boot.lds board/bf533-stamp/u-boot.lds
rm -f board/bf537-stamp/u-boot.lds board/bf561-ezkit/u-boot.lds
rm -f include/bmp_logo.h
rm -f nand_spl/u-boot-spl nand_spl/u-boot-spl.map
for dir in tools examples ; do make -C $dir _depend ; done
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/tools'
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/examples'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/examples'
make -C tools all
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/tools'
gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o img2srec.o img2srec.c
gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -o img2srec img2srec.o
strip img2srec
gcc -g -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o mkimage.o mkimage.c
gcc -g -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o crc32.o crc32.c
gcc -g -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o sha1.o sha1.c
sha1.c: In function 'sha1_update':
sha1.c:245: warning: implicit declaration of function 'memcpy'
sha1.c:245: warning: incompatible implicit declaration of built-in function 'memcpy'
sha1.c:259: warning: incompatible implicit declaration of built-in function 'memcpy'
sha1.c: In function 'sha1_hmac':
sha1.c:323: warning: implicit declaration of function 'memset'
sha1.c:323: warning: incompatible implicit declaration of built-in function 'memset'
gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -o mkimage mkimage.o crc32.o sha1.o
strip mkimage
gcc -g -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o envcrc.o envcrc.c
gcc -g -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -c -o environment.o environment.c
gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -o envcrc envcrc.o crc32.o environment.o sha1.o
gcc -g -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o ubsha1.o ubsha1.c
gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -o ubsha1 ubsha1.o sha1.o
gcc -g -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o gen_eth_addr.o gen_eth_addr.c
gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -o gen_eth_addr gen_eth_addr.o
strip gen_eth_addr
gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o bmp_logo.o bmp_logo.c
gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -o bmp_logo bmp_logo.o
strip bmp_logo
/bmp_logo logos/denx.bmp >/arm44b0/u-boot-1.3.1/include/bmp_logo.h
/bmp_logo: 1: Syntax error: word unexpected (expecting ")")
make[1]: *** [/arm44b0/u-boot-1.3.1/include/bmp_logo.h] Error 2
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/tools'
make: *** [tools] Error 2
denny at ubuntu:/arm44b0/u-boot-1.3.1$ make
for dir in tools examples ; do make -C $dir _depend ; done
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/tools'
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/examples'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/examples'
make -C tools all
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/tools'
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/tools'
make -C examples all
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/examples'
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x0C100000 -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o hello_world.o hello_world.c
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x0C100000 -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o stubs.o stubs.c
arm-linux-ar crv libstubs.a stubs.o
a - stubs.o
arm-linux-ld -g -Ttext 0xc100000 \
-o hello_world -e hello_world hello_world.o libstubs.a \
-L/arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0 -lgcc
arm-linux-objcopy -O srec hello_world hello_world.srec 2>/dev/null
arm-linux-objcopy -O binary hello_world hello_world.bin 2>/dev/null
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/examples'
make -C cpu/s3c44b0 start.o
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/cpu/s3c44b0'
arm-linux-gcc -D__ASSEMBLY__ -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x0C100000 -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -c -o start.o start.S
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/cpu/s3c44b0'
make -C lib_generic/
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/lib_generic'
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x0C100000 -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o bzlib.o bzlib.c
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x0C100000 -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o bzlib_crctable.o bzlib_crctable.c
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x0C100000 -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o bzlib_decompress.o bzlib_decompress.c
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x0C100000 -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o bzlib_randtable.o bzlib_randtable.c
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x0C100000 -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o bzlib_huffman.o bzlib_huffman.c
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x0C100000 -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o crc32.o crc32.c
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x0C100000 -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o ctype.o ctype.c
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x0C100000 -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o display_options.o display_options.c
arm-linux-gcc -g -Os -fno-stri
.....
,Regards
- Denny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071226/ef88504c/attachment.htm
^ permalink raw reply [flat|nested] 12+ messages in thread
* [U-Boot-Users] Linux kernel hang (infinite loop)
2007-12-26 2:38 ` jxnuxdy
2007-12-26 2:40 ` [U-Boot-Users] Can't compile u-boot-1.3.1 in the first time jxnuxdy
@ 2007-12-26 9:05 ` Wolfgang Denk
2007-12-27 1:16 ` [U-Boot-Users] About the compile problem for eldk4.1+u-boot.1.3.1 jxnuxdy
1 sibling, 1 reply; 12+ messages in thread
From: Wolfgang Denk @ 2007-12-26 9:05 UTC (permalink / raw)
To: u-boot
In message <567567.751661198636698510.JavaMail.coremail@bj163app54.163.com> you wrote:
>
> I am now working on ELDK4.1+u-boot.1.3.1 in my Ubuntu linux, however I encounter a weird problem when I tried to compile u-boot each time with command:
What has the subject line to do with the content of this message?
Please make sure to read http://www.catb.org/%7eesr/faqs/smart-questions.html
> make distclean;make B2_config;make clean;make
> (see log)
Works fine for me (on a Fedora 7 system)...
> Why I can't compile u-boot in the first time? while I can compile it in the second time.
...
...
> gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -o bmp_logo bmp_logo.o
> strip bmp_logo
> /bmp_logo logos/denx.bmp >/arm44b0/u-boot-1.3.1/include/bmp_logo.h
> /bmp_logo: 1: Syntax error: word unexpected (expecting ")")
Either your source tree has been modified / corrupted, or your "Make"
tool is somehow broken - or you did not literally copy the build log.
When I see a "strip bmp_logo" command as above, the next command
should be "./bmp_logo logos/denx.bmp >...".
You should fix this problem, then the other one goes away, too.
> ------=_Part_200280_30735470.1198636698508
> Content-Type: text/html; charset=gbk
> Content-Transfer-Encoding: quoted-printable
And STOP posting HTML here!
Best regards,
Wolfgang Denk
--
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
What is research but a blind date with knowledge? -- Will Harvey
^ permalink raw reply [flat|nested] 12+ messages in thread
* [U-Boot-Users] About the compile problem for eldk4.1+u-boot.1.3.1
2007-12-26 9:05 ` [U-Boot-Users] Linux kernel hang (infinite loop) Wolfgang Denk
@ 2007-12-27 1:16 ` jxnuxdy
2007-12-27 1:47 ` Wolfgang Denk
0 siblings, 1 reply; 12+ messages in thread
From: jxnuxdy @ 2007-12-27 1:16 UTC (permalink / raw)
To: u-boot
Thanks for the quick response.
What has the subject line to do with the content of this message?
Please make sure to read http://www.catb.org/%7eesr/faqs/smart-questions.html
>> I can't open this link.
Works fine for me (on a Fedora 7 system)...
>>Is it relevant to the linux system, I am now use the ubuntu7.10.
Either your source tree has been modified / corrupted, or your "Make"
tool is somehow broken - or you did not literally copy the build log.
>> Maybe it is due to the IE decode issue, in fact they are:
/bmp_logo logos/denx.bmp >/arm44b0/u-boot-1.3.1/include/bmp_logo.h
/bmp_logo: 1: Syntax error: word unexpected (expecting ")")
I am curious to see it use 'GCC' to compile my 'tools' in the first time, while use my cross compiler 'arm-linux-gcc' to compile 'tools' in the second time, even if I set the the 'GCC' to a symbol link to my cross compiler, the problem still exists.
log:
denny at ubuntu:~$ echo $PATH
/arm44b0/eldk/usr/arm-linux/bin:/arm44b0/eldk/bin:/arm44b0/eldk/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
denny at ubuntu:~$ gcc -v
Reading specs from /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/specs
Target: arm-linux
Configured with: /opt/eldk/build/arm-2007-01-22-uclibc/work/usr/src/denx/BUILD/crosstool-0.35/build/gcc-4.0.0-uclibc-0.9.27-eldk/arm-linux/gcc-4.0.0/configure --target=arm-linux --host=i686-host_pc-linux-gnu --prefix=/var/tmp/eldk.aLIfDn/usr/crosstool/gcc-4.0.0-uclibc-0.9.27-eldk/arm-linux --with-headers=/var/tmp/eldk.aLIfDn/usr/crosstool/gcc-4.0.0-uclibc-0.9.27-eldk/arm-linux/arm-linux/include --with-local-prefix=/var/tmp/eldk.aLIfDn/usr/crosstool/gcc-4.0.0-uclibc-0.9.27-eldk/arm-linux/arm-linux --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-languages=c,c++ --enable-shared --enable-c99 --enable-long-long --disable-__cxa_atexit
Thread model: posix
gcc version 4.0.0 (DENX ELDK 4.1 4.0.0)
denny at ubuntu:~$ echo $CROSS_COMPILE
arm-linux-
denny at ubuntu:~$ arm-linux-gcc -v
Reading specs from /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/specs
Target: arm-linux
Configured with: /opt/eldk/build/arm-2007-01-22-uclibc/work/usr/src/denx/BUILD/crosstool-0.35/build/gcc-4.0.0-uclibc-0.9.27-eldk/arm-linux/gcc-4.0.0/configure --target=arm-linux --host=i686-host_pc-linux-gnu --prefix=/var/tmp/eldk.aLIfDn/usr/crosstool/gcc-4.0.0-uclibc-0.9.27-eldk/arm-linux --with-headers=/var/tmp/eldk.aLIfDn/usr/crosstool/gcc-4.0.0-uclibc-0.9.27-eldk/arm-linux/arm-linux/include --with-local-prefix=/var/tmp/eldk.aLIfDn/usr/crosstool/gcc-4.0.0-uclibc-0.9.27-eldk/arm-linux/arm-linux --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-languages=c,c++ --enable-shared --enable-c99 --enable-long-long --disable-__cxa_atexit
Thread model: posix
gcc version 4.0.0 (DENX ELDK 4.1 4.0.0)
denny at ubuntu:~$
And STOP posting HTML here!
>> I tried many ways to kill these HTML, but seems take no effect, now I changed the decode in my IE, hopeful this will work.
,Thanks
- Denny
-------- this is the end of my mail --------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071227/a5565e55/attachment.htm
^ permalink raw reply [flat|nested] 12+ messages in thread
* [U-Boot-Users] About the compile problem for eldk4.1+u-boot.1.3.1
2007-12-27 1:16 ` [U-Boot-Users] About the compile problem for eldk4.1+u-boot.1.3.1 jxnuxdy
@ 2007-12-27 1:47 ` Wolfgang Denk
2007-12-29 2:43 ` jxnuxdy
0 siblings, 1 reply; 12+ messages in thread
From: Wolfgang Denk @ 2007-12-27 1:47 UTC (permalink / raw)
To: u-boot
In message <1392658266.70941198718213247.JavaMail.coremail@bj163app103.163.com> you wrote:
>
> What has the subject line to do with the content of this message?
> Please make sure to read http://www.catb.org/%7eesr/faqs/smart-questions.html
> >> I can't open this link.
Why not? You may have to install a web browser, of course...
> Works fine for me (on a Fedora 7 system)...
> >>Is it relevant to the linux system, I am now use the ubuntu7.10.
It should work on Ubuntu, too.
> Either your source tree has been modified / corrupted, or your "Make"
> tool is somehow broken - or you did not literally copy the build log.
>
> >> Maybe it is due to the IE decode issue, in fact they are:
What is the "IE decode issue" ?? Please make sure to use a clean,
unmodified source tree.
> /bmp_logo logos/denx.bmp >/arm44b0/u-boot-1.3.1/include/bmp_logo.h
> /bmp_logo: 1: Syntax error: word unexpected (expecting ")")
>
> I am curious to see it use 'GCC' to compile my 'tools' in the first time, while use my cross compiler 'arm-linux-gcc' to compile 'tools' in the second time, even if I set the the 'GCC' to a symbol link to my cross compiler, the problem still exists.
Don't mess around with your tools like that.
> And STOP posting HTML here!
> >> I tried many ways to kill these HTML, but seems take no effect, now I changed the decode in my IE, hopeful this will work.
No, it did not work.
> ------=_Part_19157_587839438.1198718213246
> Content-Type: text/html; charset=gbk
> Content-Transfer-Encoding: quoted-printable
Please STOP this!
See http://expita.com/nomime.html for detailed instructions.
Best regards,
Wolfgang Denk
--
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
Es ist nicht genug zu wissen, man mu? auch anwenden; es ist nicht ge-
nug zu wollen, man mu? auch tun. -- Goethe, Maximen und Reflexionen
^ permalink raw reply [flat|nested] 12+ messages in thread
* [U-Boot-Users] About the compile problem for eldk4.1+u-boot.1.3.1
2007-12-27 1:47 ` Wolfgang Denk
@ 2007-12-29 2:43 ` jxnuxdy
2007-12-29 14:21 ` Wolfgang Denk
0 siblings, 1 reply; 12+ messages in thread
From: jxnuxdy @ 2007-12-29 2:43 UTC (permalink / raw)
To: u-boot
Hi Folks,
I encounter may mess message when compile u-boot-1.3.1, is this due to the gcc version of my ubuntun7.1.0?
is there anyone even encounter this issue?
denny at ubuntu:/arm44b0/u-boot-1.3.1$ arm-linux-gcc -v
Reading specs from /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/specs
Target: arm-linux
Configured with: /opt/eldk/build/arm-2007-01-22-uclibc/work/usr/src/denx/BUILD/crosstool-0.35/build/gcc-4.0.0-uclibc-0.9.27-eldk/arm-linux/gcc-4.0.0/configure --target=arm-linux --host=i686-host_pc-linux-gnu --prefix=/var/tmp/eldk.aLIfDn/usr/crosstool/gcc-4.0.0-uclibc-0.9.27-eldk/arm-linux --with-headers=/var/tmp/eldk.aLIfDn/usr/crosstool/gcc-4.0.0-uclibc-0.9.27-eldk/arm-linux/arm-linux/include --with-local-prefix=/var/tmp/eldk.aLIfDn/usr/crosstool/gcc-4.0.0-uclibc-0.9.27-eldk/arm-linux/arm-linux --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-languages=c,c++ --enable-shared --enable-c99 --enable-long-long --disable-__cxa_atexit
Thread model: posix
gcc version 4.0.0 (DENX ELDK 4.1 4.0.0)
denny at ubuntu:/arm44b0/u-boot-1.3.1$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
denny at ubuntu:/arm44b0/u-boot-1.3.1$ make
for dir in tools examples ; do make -C $dir _depend ; done
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/tools'
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/examples'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/examples'
make -C tools all
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/tools'
gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o img2srec.o img2srec.c
In file included from img2srec.c:57:
/usr/local/include/stdlib.h:296: error: expected ????or ????before ????token
/usr/local/include/stdlib.h:302: error: expected ????or ????before ????token
/usr/local/include/stdlib.h:308: error: expected ????or ????before ????token
/usr/local/include/stdlib.h:329: error: expected ????or ????before ????token
/usr/local/include/stdlib.h:335: error: expected ????or ????before ????token
/usr/local/include/stdlib.h:344: error: expected ????or ????before ????token
/usr/local/include/stdlib.h:350: error: expected ????or ????before ????token
/usr/local/include/stdlib.h:357: error: expected ????or ????before ????token
/usr/local/include/stdlib.h:362: error: expected ????or ????before ????token
/usr/local/include/stdlib.h:367: error: expected ????or ????before ????token
/usr/local/include/stdlib.h:374: error: expected ????or ????before ????token
In file included from img2srec.c:58:
/usr/local/include/ctype.h:170: error: expected ????or ????before ????token
/usr/local/include/ctype.h:176: error: expected ????or ????before ????token
make[1]: *** [img2srec.o] Error 1
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/tools'
make: *** [tools] Error 2
denny at ubuntu:/arm44b0/u-boot-1.3.1$
,Thanks
- Denny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071229/c9c3f8a4/attachment.htm
^ permalink raw reply [flat|nested] 12+ messages in thread
* [U-Boot-Users] About the compile problem for eldk4.1+u-boot.1.3.1
2007-12-29 2:43 ` jxnuxdy
@ 2007-12-29 14:21 ` Wolfgang Denk
2008-01-02 4:54 ` [U-Boot-Users] how to convert u-boot to s19 file format jxnuxdy
0 siblings, 1 reply; 12+ messages in thread
From: Wolfgang Denk @ 2007-12-29 14:21 UTC (permalink / raw)
To: u-boot
In message <10584250.108351198896195167.JavaMail.coremail@bj163app65.163.com> you wrote:
>
> I encounter may mess message when compile u-boot-1.3.1, is this due to the
> gcc version of my ubuntun7.1.0?
I don't know what sort of native gcc you have installed in your
system, but it looks pretty strange to me...
> denny at ubuntu:/arm44b0/u-boot-1.3.1$ gcc -v
> Using built-in specs.
> Target: i486-linux-gnu
> Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
> Thread model: posix
> gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
Is this the gcc that comes with Ubuntu, or something you compiled
yourself?
> gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o img2srec.o img2srec.c
This looks good to me, but...
> In file included from img2srec.c:57:
> /usr/local/include/stdlib.h:296: error: expected ??????or ??????before ???{???token
... I have not the slightest idea why your compiler might have the
funny idea to pull in files from /usr/local/include ?
And obviously these header files are broken, too.
> ------=_Part_28757_21520426.1198896195166
> Content-Type: text/html; charset=gbk
> Content-Transfer-Encoding: quoted-printable
Stop posting HTML, please.
Best regards,
Wolfgang Denk
--
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
Documentation is the castor oil of programming.
Managers know it must be good because the programmers hate it so much.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [U-Boot-Users] how to convert u-boot to s19 file format
2007-12-29 14:21 ` Wolfgang Denk
@ 2008-01-02 4:54 ` jxnuxdy
2008-01-02 8:55 ` Wolfgang Denk
0 siblings, 1 reply; 12+ messages in thread
From: jxnuxdy @ 2008-01-02 4:54 UTC (permalink / raw)
To: u-boot
Hi Folks,
Now I used a programm named "Flash Programmer 2.24", I want to convert the u-boot image to s19 file format, but how?
denny at ubuntu:/arm44b0/u-boot-1.3.1$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.1 (Ubuntu 4.2.1-5ubuntu4)
denny at ubuntu:/arm44b0/u-boot-1.3.1$ arm-linux-gcc -v
Reading specs from /opt/eldk41/usr/bin/../lib/gcc/arm-linux/4.0.0/specs
Target: arm-linux
Configured with: /opt/eldk/build/arm-2007-01-22-uclibc/work/usr/src/denx/BUILD/crosstool-0.35/build/gcc-4.0.0-uclibc-0.9.27-eldk/arm-linux/gcc-4.0.0/configure --target=arm-linux --host=i686-host_pc-linux-gnu --prefix=/var/tmp/eldk.aLIfDn/usr/crosstool/gcc-4.0.0-uclibc-0.9.27-eldk/arm-linux --with-headers=/var/tmp/eldk.aLIfDn/usr/crosstool/gcc-4.0.0-uclibc-0.9.27-eldk/arm-linux/arm-linux/include --with-local-prefix=/var/tmp/eldk.aLIfDn/usr/crosstool/gcc-4.0.0-uclibc-0.9.27-eldk/arm-linux/arm-linux --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-languages=c,c++ --enable-shared --enable-c99 --enable-long-long --disable-__cxa_atexit
Thread model: posix
gcc version 4.0.0 (DENX ELDK 4.1 4.0.0)
denny at ubuntu:/arm44b0/u-boot-1.3.1$ cd tools/
denny at ubuntu:/arm44b0/u-boot-1.3.1/tools$ ls
bddb crc32.o envcrc.o gen_eth_addr.c img2srec.o mkimage scripts ubsha1.c
bmp_logo easylogo environment.c gen_eth_addr.o inca-swap-bytes.c mkimage.c setlocalversion ubsha1.o
bmp_logo.c env environment.o img2brec.sh logos mkimage.o sha1.c updater
bmp_logo.o envcrc gdb img2srec Makefile mpc86x_clk.c sha1.o
crc32.c envcrc.c gen_eth_addr img2srec.c Makefile.win32 ncb.c ubsha1
denny at ubuntu:/arm44b0/u-boot-1.3.1/tools$ ./img2srec ../u-boot.bin
*** illegal file format
denny at ubuntu:/arm44b0/u-boot-1.3.1/tools$
,Thanks
- Denny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080102/bb387a09/attachment.htm
^ permalink raw reply [flat|nested] 12+ messages in thread
* [U-Boot-Users] how to convert u-boot to s19 file format
2008-01-02 4:54 ` [U-Boot-Users] how to convert u-boot to s19 file format jxnuxdy
@ 2008-01-02 8:55 ` Wolfgang Denk
0 siblings, 0 replies; 12+ messages in thread
From: Wolfgang Denk @ 2008-01-02 8:55 UTC (permalink / raw)
To: u-boot
In message <29490644.438341199249680797.JavaMail.coremail@bj163app28.163.com> you wrote:
>
> Now I used a programm named "Flash Programmer 2.24", I want to convert the u-boot image to s19 file format, but how?
Type:
make u-boot.srec
???
> denny at ubuntu:/arm44b0/u-boot-1.3.1/tools$ ./img2srec ../u-boot.bin
> *** illegal file format
You must have done something wrong here. Check your PATH settings
(post your PATH and CROSS_COMPILE settings if you can't fix it).
> ------=_Part_114564_4799237.1199249680770
> Content-Type: text/html; charset=gbk
> Content-Transfer-Encoding: quoted-printable
And do not post HTML!
Best regards,
Wolfgang Denk
--
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
A fanatic is a person who can't change his mind and won't change the
subject. - Winston Churchill
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2008-01-02 8:55 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-17 23:52 [U-Boot-Users] Linux kernel hang (infinite loop) Madhu Saravana Sibi Govindan
2006-07-18 6:27 ` Stefan Roese
2006-07-18 6:40 ` Wolfgang Denk
2007-12-26 2:38 ` jxnuxdy
2007-12-26 2:40 ` [U-Boot-Users] Can't compile u-boot-1.3.1 in the first time jxnuxdy
2007-12-26 9:05 ` [U-Boot-Users] Linux kernel hang (infinite loop) Wolfgang Denk
2007-12-27 1:16 ` [U-Boot-Users] About the compile problem for eldk4.1+u-boot.1.3.1 jxnuxdy
2007-12-27 1:47 ` Wolfgang Denk
2007-12-29 2:43 ` jxnuxdy
2007-12-29 14:21 ` Wolfgang Denk
2008-01-02 4:54 ` [U-Boot-Users] how to convert u-boot to s19 file format jxnuxdy
2008-01-02 8:55 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox