[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] fs-boot/u-boot trouble on ml403
Hi Alex,
> Hello all,
>
> I am trying to put a linux-2.6 kernel onto a ML403 board.
>
> The step I'm stuck on is the FS-BOOT just hangs up while downloading the U-boot
> image.
> =================================================
> FS-BOOT First Stage Bootloader (c) 2006 PetaLogix
> =================================================
> FS-BOOT: System initialisation completed.
> FS-BOOT: No existing image in FLASH. Starting image download.
> FS-BOOT: Waiting for SREC image....
> -
> The spin wheel goes for a split second, then nothing happens even after the cat
> command finishes.
>
> I've checked the u-boot image and the file endings only have just LF endings I
> believe (0A endings), so I don't think I have the problem described in the uart
> issue in fs-boot thread. (I also checked my serial cable just to be sure and it
> works)
The best and straight way is load u-boot through jtag. Just go to petalinux-dist/u-boot
and then run xmd.
connect mb mdm
dow u-boot
run
and look at your serial line -> you should see u-boot prompt there. It is much faster than wait
30 sec for serial transfer.
>
> Two things that I think could possibly be fouling it up, but I don't know enough
> about this kind of project yet to know how to check:
>
> 1) To get the kernel to actually build Vendor settings of Xilinx/ML401 had to be
> used, as it wouldn't build when we changed it to ML403. Perhaps the image is wrong?
If you changed only FPGA type, it should be ok.
>
> 2) What I think might be messing this up is I had to manually edit the
> auto-config.h file because the edk-9.1 I'm using didn't recognize the Flash
> memory (of any type) so it didn't create a FLASH_MEMORY_START so the fs-boot
> program wouldn't build. I added in manually the START and SIZE of my Flash
> Memory peripheral, could there be memory address issues from changing it that way?
Which version do you use? any 0.30 version or svn head?
>
> The only two lines I added to the auto-config.h file the edk created were
>
> #define CONFIG_XILINX_FLASH_START (0x41800000)
> #define CONFIG_XILINX_FLASH_SIZE (0x00010000)
This is wrong. ML403 is standard Xilinx board. Flash should be generated properly.
Look at your mss file. There should be petalinux part and there should be any record about flash.
Editing by hand is not good idea.
Regards,
Michal
>
> Let me know if there is also a much easier way that I've missed.
>
> Thanks,
> -Alex
>
>
>
> ___________________________
> 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/
>
>
--
Michal Simek, Ing. (M.Eng)
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com p: +61-7-30090663,+42-0-721842854 f: +61-7-30090663
___________________________
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/