You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To compile u-boot with SPL I have done the following operations:
add the following definitions in include/configs/smdk2410.h:
define CONFIG_SPL
define CONFIG_SPL_BUILD
define CONFIG_SPL_FRAMEWORK
define CONFIG_SYS_ONENAND_BASE 0x4E000000
define CONFIG_SPL_TEXT_BASE 0x0
define CONFIG_SPL_SKIP_RELOCATE
define CONFIG_SPL_SERIAL_SUPPORT
make distclean
make smdk2410_defconfig
make
and then, the compiler throwed a lot of error of multiple definition of functions like s3serial1_putc, s3serial1_getc and etc.
following is the fiction of the error messages:
....
LD examples/standalone/hello_world
OBJCOPY examples/standalone/hello_world.srec
OBJCOPY examples/standalone/hello_world.bin
LDS u-boot.lds
LD u-boot
drivers/serial/built-in.o: In function serial_putc_dev': /home/wxm/Desktop/work/u-boot-2015.10/drivers/serial/serial_s3c24x0.c:209: multiple definition ofs3serial1_putc'
drivers/built-in.o:/home/wxm/Desktop/work/u-boot-2015.10/drivers/serial/serial_s3c24x0.c:209: first defined here
drivers/serial/built-in.o: In function serial_stub_start': /home/wxm/Desktop/work/u-boot-2015.10/drivers/serial/serial.c:261: multiple definition ofs3serial1_puts'
drivers/built-in.o:/home/wxm/Desktop/work/u-boot-2015.10/drivers/serial/serial.c:261: first defined here
drivers/serial/built-in.o: In function serial_stub_start': /home/wxm/Desktop/work/u-boot-2015.10/drivers/serial/serial.c:261: multiple definition ofs3serial0_puts'
drivers/built-in.o:/home/wxm/Desktop/work/u-boot-2015.10/drivers/serial/serial.c:261: first defined here
drivers/serial/built-in.o: In function `serial_stub_start':
.......
I can't find where the key point of the problem is. Is my operations wrong? Or miss some configurations.
It will be appreciate someone can offer some SPL related documents especially the configuration and compiling process of SPL.
The text was updated successfully, but these errors were encountered:
To compile u-boot with SPL I have done the following operations:
define CONFIG_SPL
define CONFIG_SPL_BUILD
define CONFIG_SPL_FRAMEWORK
define CONFIG_SYS_ONENAND_BASE 0x4E000000
define CONFIG_SPL_TEXT_BASE 0x0
define CONFIG_SPL_SKIP_RELOCATE
define CONFIG_SPL_SERIAL_SUPPORT
make smdk2410_defconfig
make
and then, the compiler throwed a lot of error of multiple definition of functions like s3serial1_putc, s3serial1_getc and etc.
following is the fiction of the error messages:
....
LD examples/standalone/hello_world
OBJCOPY examples/standalone/hello_world.srec
OBJCOPY examples/standalone/hello_world.bin
LDS u-boot.lds
LD u-boot
drivers/serial/built-in.o: In function
serial_putc_dev': /home/wxm/Desktop/work/u-boot-2015.10/drivers/serial/serial_s3c24x0.c:209: multiple definition of
s3serial1_putc'drivers/built-in.o:/home/wxm/Desktop/work/u-boot-2015.10/drivers/serial/serial_s3c24x0.c:209: first defined here
drivers/serial/built-in.o: In function
serial_stub_start': /home/wxm/Desktop/work/u-boot-2015.10/drivers/serial/serial.c:261: multiple definition of
s3serial1_puts'drivers/built-in.o:/home/wxm/Desktop/work/u-boot-2015.10/drivers/serial/serial.c:261: first defined here
drivers/serial/built-in.o: In function
serial_stub_start': /home/wxm/Desktop/work/u-boot-2015.10/drivers/serial/serial.c:261: multiple definition of
s3serial0_puts'drivers/built-in.o:/home/wxm/Desktop/work/u-boot-2015.10/drivers/serial/serial.c:261: first defined here
drivers/serial/built-in.o: In function `serial_stub_start':
.......
I can't find where the key point of the problem is. Is my operations wrong? Or miss some configurations.
It will be appreciate someone can offer some SPL related documents especially the configuration and compiling process of SPL.
The text was updated successfully, but these errors were encountered: