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? - has anyone a patch for U-Boot (either 1.1.6 or 1.20) that enables NAND-support for the new mtd-stuff? 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
