[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] XIP problems in uClinux-microblaze
Hi all
We are working on uClinux-microblaze project.
but we are getting problems to execute the image in
Flash memory i. e., executable in plale.
I have gone through a mail in mail-archive that we
have to make some changes in Board.make, Machine.c,
entry.c and ram.ld.in, i tried but not fully solved.
If anyone of You have done the same in
uClinux-microblaze project plz send me the seggestions
and pathces of these changes.
thanks and regards
Vijai Kumar
--- Jason Wu <wu@itee.uq.edu.au> wrote:
> Hi Calayrac
>
> calayrac@univ-orleans.fr wrote:
>
> >Dear Jason,
> >
> >I follow instruction in your las email regarding
> the last patch
> >(uClinux-dist.diff) from John.
> >
> >In the mean time I read on mailling list that you
> recommand also to patch first
> >(eq before uClinux-dist.diff):
> >include.diff, tools.diff, uClibc.diff,
> vendor-config.diff and vendor-xilinx.diff.
> >
> >
> >
> When you apply these patches, are there any errors?
> because these patch
> will only work with current CVS (release on 10th of
> Aug 2005)
>
> >So I patch all these files. But When I start Kernel
> compilation it comes out
> >whith an error message during make dep processing
> with a message that looklike
> >something like :
> >unable to find rools to make
>
>/MicroBlaze-elf-tools/lib/gcc-lib/microblaze/2.95.3-4/include/starg.h
> >necessary for dfs...
> >
> >In fact I've removed old tollchain from my
> computer. I decide then to install
> >back old toll chain (tar -xzf
> microblaze-elf-tools-20050308.tar.gz) and then the
> >3.4.1 tool chain (tar -xzf
> microblaze-elf-tools-20050830.tar.gz).
> >
> >Compilation then pass some over steps but cames out
> with a knew error message :
> >make[2]: Entering directory
> `/home/alayrac/uClinux-dist/user/version'
> >ucfront-gcc mb-gcc -Os -g -fomit-frame-pointer
> -fno-common -fno-builtin -Wall
> > -mxl-soft-mul -mxl-barrel-shift -mno-xl-soft-div
> -DEMBED -Dlinux -D__linux__
> >-Dunix -D__uClinux__ -c -o version.o version.c
> >version.c: In function `main':
> >version.c:24: warning: implicit declaration of
> function `memset'
> >version.c:32: warning: implicit declaration of
> function `exit'
> >version.c:109: warning: control reaches end of
> non-void function
> >ucfront-gcc mb-gcc -Wl,-elf2flt -o version
> version.o
> >ucfront-gcc mb-gcc -Os -g -fomit-frame-pointer
> -fno-common -fno-builtin -Wall
> > -mxl-soft-mul -mxl-barrel-shift -mno-xl-soft-div
> -DEMBED -Dlinux -D__linux__
> >-Dunix -D__uClinux__ -c -o stamp.o stamp.c
> >make[2]: Leaving directory
> `/home/alayrac/uClinux-dist/user/version'
> >make[2]: Entering directory
>
`/home/alayrac/uClinux-dist/vendors/Xilinx/uclinux-auto'
> >Makefile:216: *** les commandes commencent avant la
> première cible. Arrêt.
> >make[2]: Leaving directory
>
`/home/alayrac/uClinux-dist/vendors/Xilinx/uclinux-auto'
> >make[1]: *** [all] Erreur 2
> >make[1]: Leaving directory
> `/home/alayrac/uClinux-dist/user'
> >make: *** [subdirs] Erreur 1
> >
> >
> >
> I assume the error is " Makefile:216: *** commands
> commence before first
> target. stop"
> This looks like the vendor_xilinx.diff or
> uClinux-dist.diff did not
> patch properly. any error while you apply these
> patches?
>
> >To download the kernel source I follow the next
> step:
> >cvs -d:pserver:anonymous@cvs.uclinux.org:/var/cvs
> login
> >cvs -z3
> -d:pserver:anonymous@cvs.uclinux.org:/var/cvs co
> uClinux-dist
> >cvs -z3
> -d:pserver:anonymous@cvs.uclinux.org:/var/cvs co
> uClinux-2.4.x
> >
> >then from both directories uClinux-dist and
> uClinux-2.4.x I've proceed a cvs update.
> >
> >
> >
> Did you download the cvs before you apply the
> patches? or after you
> apply the patches?
> Maybe you should try clean download of uClinux-dist
> before you apply the
> patches.
> If you still having the same problem after you clean
> download of
> uClinux-dis, could you please send me a copy of your
> Makefile (locate
> under uClinux-dist/vendors/Xilinx/uclinux-auto
> folder)
>
> >I guess that all these informations will help you
> to Identify the error.
> >
> >(For Information my final target is Spartan IIE on
> SpartanIIELC Memec board)
> >
> >Note: I read your instruction manual for ML401
> board (thanks for this nice job),
> >I think that it would be direct to port it to ML403
> (I think that its the same
> >board as ML401 with different FPGA, ML403 as the
> FPGA with embeded PowerPC).
> >Do you think that it could be a good start for the
> beginer I'm to first work
> >with that ML403 board and then to turn back to my
> SpatanIIE board?
> >
> >
> As long as you install the board support package
> (BSP), I believe the
> instructions should be pretty much the same.
>
> cheers,
>
> Jason
>
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@itee.uq.edu.au
> Project Home Page :
> http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive :
>
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/