Hi all,I am using ML 402 Board & ISE & EDK 8.1. I have ported uClinux on this board. kernel gets booted properly & I get login prompt & all command supports.
That's good !
I created a new BSB project in Windows & did Libgen.
Then I launched EDK Shell & I am able to compile ?hello world ?program successfully .Executable a.out is generated.
I am not sure if programs generated in EDK can run uClinux ... you should cross-compile it in your Linux instead.
I have two doubts now
1) I am not sure how should I transfer this executable file to uClinux kernel & how to run it.
IF it can run, you can boot you board and transfer it via ftp.
2) I want to run the Client Server Application (Socket Programming of Linux using TCP/IP). For Windows , we don?t have all the header files. So instead of creating all the required header files, do we have any other way so that I can cross compile my program in Linux using mb-gcc ?
( NOTE : I don?t have ISE-EDK setup in Linux. The only thing I have in Linux is microblaze-elf-toolchain).Is it possible to cross compile a program in linux only with tool chain without any BSB project file ? Please give appropriate suggestion.
You don't need EDK in linux - haven't you build a kernel already ?
Anyway, get uClinux_ready_Microblaze_design.pdf, it explains how to do it very well.