* [U-Boot] U-boot build failes with armv5tel-reghat-linux-gnueabi-gcc (4.1.2)
@ 2008-11-19 11:10 Prafulla Wadaskar
2008-11-19 12:06 ` Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 1 reply; 6+ messages in thread
From: Prafulla Wadaskar @ 2008-11-19 11:10 UTC (permalink / raw)
To: u-boot
Hi
I am using u-boot-1.1.6 and building u-boot from my new board which includes nand flash support
If I build using armv5tel-reghat-linux-gnueabi-gcc (4.1.2) toolchain it gives build failure with below log
--start-group lib_generic/libgeneric.a board/Marvell/rd6281/librd6281.a cpu/arm926ejs/libarm926ejs.a cpu/arm926ejs/feroceon/libferoceon.a lib_arm/libarm.a fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a drivers/nand/libnand.a drivers/nand_legacy/libnand_legacy.a drivers/sk98lin/libsk98lin.a post/libpost.a post/cpu/libcpu.a common/libcommon.a --end-group -L /usr/lib/gcc/armv5tel-redhat-linux-gnueabi/4.1.2 -lgcc \
-Map u-boot.map -o u-boot
/usr/lib/gcc/armv5tel-redhat-linux-gnueabi/4.1.2/libgcc.a(_divdi3.o):(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'
/usr/lib/gcc/armv5tel-redhat-linux-gnueabi/4.1.2/libgcc.a(_udivdi3.o):(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'
make: *** [u-boot] Error 1
Whereas,
If I build the same code using codesoucery toolchain (arm2008q1) release (gcc ver 4.2.3) the build is sucessfull.
I want to go ahead with armv5tel-reghat-linux-gnueabi-gcc (4.1.2)
Can someone suggest what is problem and how should I proceed?
Regards..
Prafulla . .
^ permalink raw reply [flat|nested] 6+ messages in thread* [U-Boot] U-boot build failes with armv5tel-reghat-linux-gnueabi-gcc (4.1.2)
2008-11-19 11:10 [U-Boot] U-boot build failes with armv5tel-reghat-linux-gnueabi-gcc (4.1.2) Prafulla Wadaskar
@ 2008-11-19 12:06 ` Jean-Christophe PLAGNIOL-VILLARD
2008-11-23 0:27 ` Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 1 reply; 6+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2008-11-19 12:06 UTC (permalink / raw)
To: u-boot
On 03:10 Wed 19 Nov , Prafulla Wadaskar wrote:
> Hi
> I am using u-boot-1.1.6 and building u-boot from my new board which includes nand flash support
>
> If I build using armv5tel-reghat-linux-gnueabi-gcc (4.1.2) toolchain it gives build failure with below log
>
> --start-group lib_generic/libgeneric.a board/Marvell/rd6281/librd6281.a cpu/arm926ejs/libarm926ejs.a cpu/arm926ejs/feroceon/libferoceon.a lib_arm/libarm.a fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a drivers/nand/libnand.a drivers/nand_legacy/libnand_legacy.a drivers/sk98lin/libsk98lin.a post/libpost.a post/cpu/libcpu.a common/libcommon.a --end-group -L /usr/lib/gcc/armv5tel-redhat-linux-gnueabi/4.1.2 -lgcc \
> -Map u-boot.map -o u-boot
> /usr/lib/gcc/armv5tel-redhat-linux-gnueabi/4.1.2/libgcc.a(_divdi3.o):(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'
> /usr/lib/gcc/armv5tel-redhat-linux-gnueabi/4.1.2/libgcc.a(_udivdi3.o):(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'
> make: *** [u-boot] Error 1
>
> Whereas,
> If I build the same code using codesoucery toolchain (arm2008q1) release (gcc ver 4.2.3) the build is sucessfull.
>
> I want to go ahead with armv5tel-reghat-linux-gnueabi-gcc (4.1.2)
> Can someone suggest what is problem and how should I proceed?
update the divdi3 and _udivdi3 implementation
I'll said
so please try this patch
please note I've just test it on one board
Best Regards,
J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ARM-update-asm-implementation-and-remove-lgcc-from.patch
Type: text/x-diff
Size: 0 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20081119/bae3daed/attachment-0001.patch
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] U-boot build failes with armv5tel-reghat-linux-gnueabi-gcc (4.1.2)
2008-11-19 12:06 ` Jean-Christophe PLAGNIOL-VILLARD
@ 2008-11-23 0:27 ` Jean-Christophe PLAGNIOL-VILLARD
2008-12-11 10:07 ` [U-Boot] U-boot build failes witharmv5tel-reghat-linux-gnueabi-gcc (4.1.2) Prafulla Wadaskar
0 siblings, 1 reply; 6+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2008-11-23 0:27 UTC (permalink / raw)
To: u-boot
On 13:06 Wed 19 Nov , Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 03:10 Wed 19 Nov , Prafulla Wadaskar wrote:
> > Hi
> > I am using u-boot-1.1.6 and building u-boot from my new board which includes nand flash support
> >
> > If I build using armv5tel-reghat-linux-gnueabi-gcc (4.1.2) toolchain it gives build failure with below log
> >
> > --start-group lib_generic/libgeneric.a board/Marvell/rd6281/librd6281.a cpu/arm926ejs/libarm926ejs.a cpu/arm926ejs/feroceon/libferoceon.a lib_arm/libarm.a fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a drivers/nand/libnand.a drivers/nand_legacy/libnand_legacy.a drivers/sk98lin/libsk98lin.a post/libpost.a post/cpu/libcpu.a common/libcommon.a --end-group -L /usr/lib/gcc/armv5tel-redhat-linux-gnueabi/4.1.2 -lgcc \
> > -Map u-boot.map -o u-boot
> > /usr/lib/gcc/armv5tel-redhat-linux-gnueabi/4.1.2/libgcc.a(_divdi3.o):(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'
> > /usr/lib/gcc/armv5tel-redhat-linux-gnueabi/4.1.2/libgcc.a(_udivdi3.o):(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'
> > make: *** [u-boot] Error 1
> >
> > Whereas,
> > If I build the same code using codesoucery toolchain (arm2008q1) release (gcc ver 4.2.3) the build is sucessfull.
> >
> > I want to go ahead with armv5tel-reghat-linux-gnueabi-gcc (4.1.2)
> > Can someone suggest what is problem and how should I proceed?
> update the divdi3 and _udivdi3 implementation
>
> I'll said
>
> so please try this patch
>
> please note I've just test it on one board
>
> Best Regards,
> J.
Any news?
Best Regards,
J.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] U-boot build failes witharmv5tel-reghat-linux-gnueabi-gcc (4.1.2)
2008-11-23 0:27 ` Jean-Christophe PLAGNIOL-VILLARD
@ 2008-12-11 10:07 ` Prafulla Wadaskar
2008-12-11 13:30 ` Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 1 reply; 6+ messages in thread
From: Prafulla Wadaskar @ 2008-12-11 10:07 UTC (permalink / raw)
To: u-boot
Hi Jean,
First of all sorry for late feedback
Thanks for your help.
I tried to apply the above patch but it has lot of diff,
On the other thread I have migrated to latest u-boot version and the problem got resolved :-)
I think your patch is mainlined.
But I am facing now new problem...
The earlier I was using u-boot ver 1.1.6 and my nand driver was working fine.
With migration to latest u-boot I am always getting bad block errors (Skipping bad block 0x????)
What could be the problem?
Regards..
Prafulla. .
> -----Original Message-----
> From: Jean-Christophe PLAGNIOL-VILLARD [mailto:plagnioj at jcrosoft.com]
> Sent: Sunday, November 23, 2008 5:57 AM
> To: Prafulla Wadaskar; u-boot at lists.denx.de
> Subject: Re: [U-Boot] U-boot build failes
> witharmv5tel-reghat-linux-gnueabi-gcc (4.1.2)
>
> On 13:06 Wed 19 Nov , Jean-Christophe PLAGNIOL-VILLARD wrote:
> > On 03:10 Wed 19 Nov , Prafulla Wadaskar wrote:
> > > Hi
> > > I am using u-boot-1.1.6 and building u-boot from my new
> board which
> > > includes nand flash support
> > >
> > > If I build using armv5tel-reghat-linux-gnueabi-gcc
> (4.1.2) toolchain
> > > it gives build failure with below log
> > >
> > > --start-group
> lib_generic/libgeneric.a board/Marvell/rd6281/librd6281.a
> cpu/arm926ejs/libarm926ejs.a
> cpu/arm926ejs/feroceon/libferoceon.a lib_arm/libarm.a
> fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a
> fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a
> fs/ext2/libext2fs.a net/libnet.a disk/libdisk.a rtc/librtc.a
> dtt/libdtt.a drivers/libdrivers.a drivers/nand/libnand.a
> drivers/nand_legacy/libnand_legacy.a
> drivers/sk98lin/libsk98lin.a post/libpost.a post/cpu/libcpu.a
> common/libcommon.a --end-group -L
> /usr/lib/gcc/armv5tel-redhat-linux-gnueabi/4.1.2 -lgcc \
> > > -Map u-boot.map -o u-boot
> > >
> /usr/lib/gcc/armv5tel-redhat-linux-gnueabi/4.1.2/libgcc.a(_div
di3.o):(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'
> > >
> /usr/lib/gcc/armv5tel-redhat-linux-gnueabi/4.1.2/libgcc.a(_udi
vdi3.o):(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'
> > > make: *** [u-boot] Error 1
> > >
> > > Whereas,
> > > If I build the same code using codesoucery toolchain
> (arm2008q1) release (gcc ver 4.2.3) the build is sucessfull.
> > >
> > > I want to go ahead with armv5tel-reghat-linux-gnueabi-gcc (4.1.2)
> > > Can someone suggest what is problem and how should I proceed?
> > update the divdi3 and _udivdi3 implementation
> >
> > I'll said
> >
> > so please try this patch
> >
> > please note I've just test it on one board
> >
> > Best Regards,
> > J.
>
> Any news?
>
> Best Regards,
> J.
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] U-boot build failes witharmv5tel-reghat-linux-gnueabi-gcc (4.1.2)
2008-12-11 10:07 ` [U-Boot] U-boot build failes witharmv5tel-reghat-linux-gnueabi-gcc (4.1.2) Prafulla Wadaskar
@ 2008-12-11 13:30 ` Jean-Christophe PLAGNIOL-VILLARD
2008-12-11 14:02 ` [U-Boot] U-boot build faileswitharmv5tel-reghat-linux-gnueabi-gcc (4.1.2) Prafulla Wadaskar
0 siblings, 1 reply; 6+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2008-12-11 13:30 UTC (permalink / raw)
To: u-boot
On 02:07 Thu 11 Dec , Prafulla Wadaskar wrote:
> Hi Jean,
> First of all sorry for late feedback
> Thanks for your help.
> I tried to apply the above patch but it has lot of diff,
> On the other thread I have migrated to latest u-boot version and the problem got resolved :-)
> I think your patch is mainlined.
>
> But I am facing now new problem...
> The earlier I was using u-boot ver 1.1.6 and my nand driver was working fine.
> With migration to latest u-boot I am always getting bad block errors (Skipping bad block 0x????)
could you be a few more specific?
CPU, NAND?
your patch?
Best Regards,
J.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] U-boot build faileswitharmv5tel-reghat-linux-gnueabi-gcc (4.1.2)
2008-12-11 13:30 ` Jean-Christophe PLAGNIOL-VILLARD
@ 2008-12-11 14:02 ` Prafulla Wadaskar
0 siblings, 0 replies; 6+ messages in thread
From: Prafulla Wadaskar @ 2008-12-11 14:02 UTC (permalink / raw)
To: u-boot
> > The earlier I was using u-boot ver 1.1.6 and my nand driver
> was working fine.
> > With migration to latest u-boot I am always getting bad
> block errors
> > (Skipping bad block 0x????)
> could you be a few more specific?
>
Hi J
Just now it is working
I set chip_delay=1000 in board specific code, earlier it was 100
I am trying to get optimal value for the same
> CPU, NAND?
> your patch?
>
I am using arm926ejs based CPU and NAND01G-A,
Soon I will provide a patch
Thanks...
Regards..
Prafulla . .
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-12-11 14:02 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-19 11:10 [U-Boot] U-boot build failes with armv5tel-reghat-linux-gnueabi-gcc (4.1.2) Prafulla Wadaskar
2008-11-19 12:06 ` Jean-Christophe PLAGNIOL-VILLARD
2008-11-23 0:27 ` Jean-Christophe PLAGNIOL-VILLARD
2008-12-11 10:07 ` [U-Boot] U-boot build failes witharmv5tel-reghat-linux-gnueabi-gcc (4.1.2) Prafulla Wadaskar
2008-12-11 13:30 ` Jean-Christophe PLAGNIOL-VILLARD
2008-12-11 14:02 ` [U-Boot] U-boot build faileswitharmv5tel-reghat-linux-gnueabi-gcc (4.1.2) Prafulla Wadaskar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox