[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] About petalinux-copy-autoconfig
Hi Naoki,
Naoki Miyashita wrote:
My environment is follows,
- EDK 9.2i (or 10.1i if supported) on Windows XP : for generating
bitstream.
- "petalinux-mmu-v0.10" on CentOS5 for compiling petalinux kernel.
I had an error message - "ERROR: Only PetaLinux OS type supported.
" on using the "petalinux-copy-autoconfig" in my_edk_project on
"hardware/user-platforms/".
From the manual, I edited the "system.mss" as follows,
BEGIN OS
PARAMETER OS_NAME = petalinux
PARAMETER OS_VER = 1.00.b
PARAMETER PROC_INSTANCE = microblaze_1
PARAMETER main_memory = ddr_sdram_cntlr
PARAMETER stdin = mb1_uart
PARAMETER stdout = mb1_uart
END
But the error message was happenned.
Have you left an older, standalone OS fragment in the MSS file, but
possibly commented out?
Let me know how the "petalinux-copy-autoconfig" detects this error.
It's a fairly primitive grep for OS_NAME
If you have more than one OS fragment, even if it is commented out, it
will confuse the script. We will fix this.
Need I edit other files in order to use this "petalinux-copy-autoconfig".
You have to be sure that your petalinux-dist menuconfig has been run,
and a valid vendor/platform selection has been made. Typically this
will be a platform created with the petalinux-new-platform script.
And I'd like to know the proper procedures for using petalinux on the
original FPGA board.
1) excuting "petalinux-new-platform"
2) copying EDK project directory on windows into
"hardware/user-platforms/" on linux
3) creating an symbolic link - "edk_user_repository".
3) editing system.mss
4) excuting "petalinux-copy-autoconfig" <<<--- I got this error here.
5) make menuconfig and customizing kernel setting.
6) make all
That's it!
Regards,
John
___________________________
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/