[U-Boot-Users] dataflash broken on at91sam9260ek

Hello,
I have a at91sam9260ek with a DataFlash on CS1. It seems like U-boot is detecting the flash, but it is not working properly. I uncommented the printf()s in drivers/dataflash.c, and I think it has something to do with how it's configuring the partitions. The "found * dataflash" lines are printf()s I put in the first switch statement of AT91F_DataflashInit().
I am using U-Boot 1.2.0 within Ulf's buildroot.
found no dataflash found AT45DB642 dataflash Start=C0000000, End (computed)=C0000000, To: , From: Data To: Data, From: Data Start=BFFFFFFF, End=C0000000, Invalid To: , From: <Invalid> To: <Invalid>, From: <Invalid> Start=BFFFFFFF, End=C0000000, Invalid To: , From: <Invalid> To: <Invalid>, From: <Invalid> Start=BFFFFFFF, End=C0000000, Invalid To: , From: <Invalid> To: <Invalid>, From: <Invalid> Start=BFFFFFFF, End=C0000000, Invalid To: , From: <Invalid> To: <Invalid>, From: <Invalid> Start=BFFFFFFF, End=C0000000, Invalid To: , From: <Invalid> To: <Invalid>, From: <Invalid>

Sorry, I should include the output of fli too: U-Boot> fli DataFlash:AT45DB642 Nb pages: 8192 Page Size: 1056 Size= 8650752 bytes Logical address: 0xC0000000 Area 0: C0000000 to C0000000 Data
participants (1)
-
Jonathan Kotta