[U-Boot] Uboot with at91sam9G20ek
Abhishek Ashtekar
Abhishek.Ashtekar at ubitronix.com
Mon Jan 17 17:18:35 CET 2011
Hello,
I have spent now more than 2 weeks with U - boot and want the network interface to work
so that tftpboot works but my current state seems not very encouraging.
A) I am using the AT91SAM9G20EK board. I downloaded tried the U-Boot.2010.12.
I have the following results (issues) when I try to build.
1) make at91sam9g20ek_nandflash_config
make CROSS_COMPILE=arm-linux-
Error 1: You need to define CONFIG_AT91FAMILY in your board config
Action: Defined CONFIG_AT91FAMILY in the file /include/configs/at91sam9260ek.h
Also defined CONFIG_AT91SAM9G20EK in the same file
2) Error 2: board.c:233: CONFIG_SYS_SDRAM_BASE undeclared
Error 3: board.c:279: CONFIG_SYS_INIT_SP_ADDR undeclared
Error 4: board.c:312: CONFIG_SYS_SDRAM_BASE undeclared
In the file board.c,
#define CONFIG_SYS_SDRAM_BASE 0x00000000
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_TEXT_BASE - GENERATED_GBL_DATA_SIZE)
3) Error 5: Undefined reference to 'CONFIG_SYS_INIT_SP_ADDR' in file /arc/arm/cpu/arm926ejs/start.S
Cannot find a work around
Error 6: /drivers/spi/atmel_dataflash_spi.c:161: undefined reference to 'reset_timer_masked'
Error 7: /drivers/spi/atmel_dataflash_spi.c:161: undefined reference to 'get_timer_masked'
Why are these definitions removed in the 2010.12 build?
B) Initially I was trying the u-boot-2010.09.
I want to use the MII interface instead of RMII.
so #undef ed RMII and #defined CONFIG_MII and CONFIG_CMD_MII
The Ping to self as well as host does not function at all despite of correct settings.
I tried with putting debug outputs in various functions called.
Actually no data is sentout TXD0 - TXD3 and no activity on the TX_EN or EX_ER.
At the end, I get ping failed; host xx.xx.xx.xx is not alive.
Can anyone guide me regarding the further line of efforts.
Thanks a lot in advance.
Regards,
Abhishek
More information about the U-Boot
mailing list