[U-Boot] Uboot with at91sam9G20ek
Chris Verges
chrisv at cyberswitching.com
Mon Jan 17 19:23:03 CET 2011
Hi Abhishek,
I'm also trying to get U-Boot 2010.12 working on an AT91 board. I came
across the following mailing list archive that may help.
http://old.nabble.com/-U-Boot--various-at91-patches-to-make-some-boards-
compilable-again-td30103062.html
Here's a tinyurl (http://tinyurl.com/4fkedr3) in case the above
line-wrapped oddly.
Seems like we may need to patch in AT91 support. I hope someone on the
list can indicate when the changes needed for AT91 support are
integrated into the master.
Please let me know if you get this working in the meantime!
Thanks,
Chris
-----Original Message-----
From: u-boot-bounces at lists.denx.de [mailto:u-boot-bounces at lists.denx.de]
On Behalf Of Abhishek Ashtekar
Sent: Monday, January 17, 2011 8:19 AM
To: u-boot at lists.denx.de
Subject: [U-Boot] Uboot with at91sam9G20ek
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