Re: Porting U-boot on MIPS (Au1350)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>       we are porting U-boot 1.2.0 to MIPS32 Au1350 Processor. i am using ELDK 4.1 for MIPS32.
>
> We have a MIPS CPU which has reset address 0xBFC00000 , this is mapped to NOR flash with XIP in place. The boot block  ( ie 0xBFC00000) is in the top block of the NOR flash and its of 16KB. U-Boot shall be put from address 0xBFC00000 in the NOR flash for CPU boot up , since it is the last block (16KB only) we cannot put complete U-Boot , some part of the U-Boot should go to lower blocks . To do this u-boot need to be divided into blocks and we shall provide a jump from the top block to other blocks of NOR flash. We have BDI3000 debugger for flashing the NOR flash and bdiGDB for MIPS.
>
> Is there any NOR flash drivers available which can support the below chip?
>
> NOR Flash chip : M29W160ET --> AM29BX16
> NOR Flash chip size is 0x00200000 --> 2MB

I believe you need to change CS0# decoded range (staddr0 reg) very
early to enable
access to the whole chip.  Put init code at bfc00000, and let it load
the main bootloader
binary from a predefined ROM address to a predefined RAM address and execute.

Manuel


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux