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

Re: [microblaze-uclinux] Uboot support for the New Flash



Hi Mak,


> I have followed the procedure on the website and I could build the
> u-boot for my board. As I have the FS-Boot in BRAM, I have downloaded
> the u-boot.srec from console. 
If you can use xmd and you have mdm in your design you can write simple xmd.ini
which helps you with loading.

connect mb mdm
dow u-boot
run
exit

Srec loading via serial line is slow.


But the u-boot restarts. (Please see the
> log file attached). I also checked the TEXT_BASE, it is 0x40000000
> which is start location of the DDR2. I tried to change the TEXT_BASE
> and mapped to the 1MB offset from top of the memory. But the behavior
> is still same, it restarts. I am not very sure about the what and
> where will be my TEXT_BASE and also in which file I need to specify.

it is up to you. For code doesn't matter. I personally use half memory or in
this time last 512kB of memory. It is up to you. There is no code limitation.

> 
> In my flash, all the sectors are not of same size. The top and bottom
> 4 sectors are 32kB and others are of 128kB. And also I am using 2
> flash chips interleaved to form a 32 bit wide data bus.

As I wrote before. I don't have experience with this flash.
But first of all - run u-boot without flash (in include/configs/ml401.h (or
microblaze-generic.h in latest code - just renaming)) disable flash (there is
#define FLASH -> just #undef FLASH and rebuild and run.
> 
> I am not able to point out where I have gone wrong.

please post your config.mk and xparameters.h file too.
Please inline that files to email (not attachment).

From your log -> enable #define	RAMENV
disable #define	CFG_FLASH_PROTECTION

Be sure that your memory is OK. -> memory tests.
You should try to load u-boot via mdm -> it could help.

Thanks,
Michal

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/