Hi all,
I'm trying to compile the u-boot for my davinci board TMS320 DM6441ZWT. The flash is S29GL256S11FHIV20 by Spansion. It's a NOR flash. I have two issues here:
1. The uboot doesn't compile
The u-boot compiles fine for a really old version 1.1.4.
However, when I tried to upgrade to the latest version, it doesn't compile. I need to cross-compile with arm_v5t_le-gcc. As follows are the commands I used:
make CROSS_COMPILE=arm_v5t_le- distclean
make CROSS_COMPILE=arm_v5t_le- clean
make CROSS_COMPILE=arm_v5t_le- davinci_dvevm_config
make CROSS_COMPILE=arm_v5t_le-
The first three ran fine, but the last one stopped with errors. The error message is:
crt0.S:111: Error: register expected, not '#(124)' -- `sub sp,#(124)'
I checked it, that's a variable GD_SIZE. I have no idea what that is, seems like something set to be the sizeof(struct global_data). Please tell me what's wrong with it!!
2. The rebuild of NOR flash confuses me.
My flash is NOR, but per this page:
http://processors.wiki.ti.com/index.php/Booting_Linux_kernel_using_U-Boot#NAND_Flash_.28ramdisk_as_rootfs.29
the NOR flash only supports OMAP-L138 (or DA850, AM18xx). Also, it says My borad is unfortunately dvevm. So does it mean that's not supported?
THANK YOU SO MUCH for any answers to any of the questions!