Jörg Reiling wrote:
Hi folks,
today I tried to build U-Boot 1.2.0 for the DVEVM; build-environment is the
latest demonstration version (1.20.00) of Montavista 4.0 System tools from
the TI download page.
U-Boot's NAND handling has changed from version 1.1.4, now the boot-
loader contains the offcial linux mtd-nand-package plus the former nand-
module (now called nand_legacy).
As far as we build U-Boot 1.2.0 for NOR-flash everything is ok.
If we now activate NAND-support (/**#define CFG_ENV_IS_IN_FLASH 1*/)
linkage fails, please see below.
I see, that U-Boot's source package has own specific implementations which
may collide with montavistas arm-gcc-libraries. Esp. the divisor routines
cause problems.
So my questions:
- has anyone made the same experiences?
Yes. Somewhere there are patches that change the order of operations to
avoid the call to the udiv stuff, at least for some cases. This may help:
http://sourceforge.net/mailarchive/forum.php?thread_name=468D2650.10603%40rfo.atmel.com&forum_name=u-boot-users
- has anyone a patch for U-Boot (either 1.1.6 or 1.20) that enables
NAND-support for the new mtd-stuff?
I've by trying, but can't spend all my time on it. So not much progress.
The ARM uboot maintainer said he might have time to start updating
uboot.git with the DV stuff. Hopefully, this will be done in such a way
that makes it easier to add new support for different boards. The
current patches are very EVM focused.
Philip
Regards
Joerg
----------------------------------------------------------------------------
arm_v5t_le-ld:
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-mont
avista-linuxeabi/3.4.3/libgcc.a(_udivdi3.oS): warning: duplicate section
`.note.gnu.arm.ident' has different contents
arm_v5t_le-ld:
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-mont
avista-linuxeabi/3.4.3/libgcc.a(_udivsi3.oS): warning: duplicate section
`.note.gnu.arm.ident' has different contents
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-mont
avista-linuxeabi/3.4.3/libgcc.a(_udivsi3.oS)(.text+0x0): In function
`__udivsi3':
../../gcc/config/arm/lib1funcs.asm:653: multiple definition of `__udivsi3'
lib_arm/libarm.a(_udivsi3.o)(.text+0x0):/share/u-boot-1.2.0-davinci/lib_arm/
_udivsi3.S:17: first defined here
arm_v5t_le-ld: Warning: size of symbol `__udivsi3' changed from 152 in
lib_arm/libarm.a(_udivsi3.o) to 496 in
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-mont
avista-linuxeabi/3.4.3/libgcc.a(_udivsi3.oS)
arm_v5t_le-ld:
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-mont
avista-linuxeabi/3.4.3/libgcc.a(_clz.oS): warning: duplicate section
`.note.gnu.arm.ident' has different contents
make: *** [u-boot] Error 1
----------------------------------------------------------------------------
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source