Other Parts Discussed in Thread: AM1808, OMAPL138, OMAP-L138, OMAP-L137
Hi,
I am using AM1808 EVM (ZOOM dev. kit by LOGIC)
Now I am trying to make U-boot image. But I can't make it. I have some error as the following.
-----------------------------------------------------------------------------------------------------------------------------------
michihiro@michihiro-laptop:~/ti-sdk-am180x-evm-05.02.00.00/psp/u-boot-2010.12-psp03.21.00.04.sdk$ make all CROSS_COMPILE=arm-none-linux-gnueabi-
Generating include/autoconf.mk
In file included from include/common.h:37:
/home/michihiro/ti-sdk-am180x-evm-05.02.00.00/psp/u-boot-2010.12-psp03.21.00.04.sdk/include/config.h:4:40: error: configs/da850_omapl138_evm.h: No such file or directory
Generating include/autoconf.mk.dep
In file included from include/common.h:37:
/home/michihiro/ti-sdk-am180x-evm-05.02.00.00/psp/u-boot-2010.12-psp03.21.00.04.sdk/include/config.h:4:40: error: configs/da850_omapl138_evm.h: No such file or directory
arm-none-linux-gnueabi-gcc -DDO_DEPS_ONLY \
-g -Os -fno-common -ffixed-r8 -msoft-float -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -I/home/michihiro/ti-sdk-am180x-evm-05.02.00.00/psp/u-boot-2010.12-psp03.21.00.04.sdk/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv5te -march=armv5te -Wall -Wstrict-prototypes -fno-stack-protector \
-o lib/asm-offsets.s lib/asm-offsets.c -c -S
In file included from /home/michihiro/ti-sdk-am180x-evm-05.02.00.00/psp/u-boot-2010.12-psp03.21.00.04.sdk/include/common.h:37,
from lib/asm-offsets.c:18:
/home/michihiro/ti-sdk-am180x-evm-05.02.00.00/psp/u-boot-2010.12-psp03.21.00.04.sdk/include/config.h:4:40: error: configs/da850_omapl138_evm.h: No such file or directory
In file included from /home/michihiro/ti-sdk-am180x-evm-05.02.00.00/psp/u-boot-2010.12-psp03.21.00.04.sdk/include/common.h:116,
from lib/asm-offsets.c:18:
/home/michihiro/ti-sdk-am180x-evm-05.02.00.00/psp/u-boot-2010.12-psp03.21.00.04.sdk/include/flash.h:36: error: 'CONFIG_SYS_MAX_FLASH_SECT' undeclared here (not in a function)
In file included from /home/michihiro/ti-sdk-am180x-evm-05.02.00.00/psp/u-boot-2010.12-psp03.21.00.04.sdk/include/image.h:48,
from /home/michihiro/ti-sdk-am180x-evm-05.02.00.00/psp/u-boot-2010.12-psp03.21.00.04.sdk/include/common.h:117,
from lib/asm-offsets.c:18:
/home/michihiro/ti-sdk-am180x-evm-05.02.00.00/psp/u-boot-2010.12-psp03.21.00.04.sdk/include/asm/u-boot.h:48: error: 'CONFIG_NR_DRAM_BANKS' undeclared here (not in a function)
make: *** [lib/asm-offsets.s] Error 1
----------------------------------------------------------------------------------------------------------------------------------------
As you see the above, the error message is said that "configs/da850_omapl138_evm.h: No such file or directory".
So I searched the file "da850_omapl138_evm.h" in SDK directroy. But I could not find it. I just found only "da850evm.h".
According to the "Rbuilding U-boot " section of UserGuide, it is written in the below.
---------------------------
To change the default options, the EVM configuration file needs to be edited.
• for OMAP-L138 (or DA850, AM18xx) EVM are specified in the include file
include/configs/da850_evm.h
----------------------------
So I think the file name "da850_omapl138_evm.h" may be wrong. Is the correct name is da850evm.h?
Should I modify config.h for da850evm.h?
Please let me know.
Best regard,
Michi