
Hi,
As far as I know CFG_MAX_FLASH_BANKS should be set to 1 always. Multiple flash banks in u-boot are not supported.
Flash: 0 kB
This message is saying that u-boot was unable to detect the flash chip itself. The easiest way to get you flash working: 1. add flash id in include/flash.h (check your flash datasheet) 2. based on board/../flash.c get it working (probably you will need only sector organization, also a datasheet material)
Hope this helps.
Regards, Andrejs Cainikovs.
navin karnam wrote:
I changed CFG_MAX_FLASH_BANKS from 2 to 1 soi am getting the message as Flash: 0 kB *** Warning - bad CRC, using default environment
and stops there.
On Tue, Jun 17, 2008 at 10:29 AM, navin karnam <navin.karnam@gmail.com mailto:navin.karnam@gmail.com> wrote:
Hi all, I tried to debug why it is stopping after DRAM Configuration: Bank #0: a0000000 64 MB Bank #1: a4000000 0 kB Bank #2: a8000000 0 kB Bank #3: ac000000 0 kB It is unable to find the flash type; and control is not coming out of flash_init() function. Regards, Naveen. On Mon, Jun 16, 2008 at 1:35 PM, navin karnam <navin.karnam@gmail.com <mailto:navin.karnam@gmail.com>> wrote: -- Hi all, I am new to this list, I planned port u-boot on my board(pxa255), followed the procedure in README and i am able to compile the uboot. I loaded the image on board. The messages i got when i boot the board are ------------------------------------------------------------- U-Boot 0.4.5 (Jun 16 2008 - 12:24:00) U-Boot code: A3000000 -> A301BD30 BSS: -> A301FE98 DRAM Configuration: Bank #0: a0000000 64 MB Bank #1: a4000000 0 kB Bank #2: a8000000 0 kB Bank #3: ac000000 0 kB ------------------------------------------------------------- and it stops at that point. Please give me an hint where i am making the mistake. Regards, Naveen --
--
Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php
U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users