- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello all
I have modified cpu cloclk to 100Mhz in SOPC Builder and cup input singal conneted from c1 of SDRAM PLL,then generate new ptf. But I could not open PTF file under uClinux-dist-test dir. <div class='quotetop'>QUOTE </div> --- Quote Start --- [faye@localhost uClinux-dist-test]$ make linux_hwselect SYSPTF=nios_clk100.ptf KCONFIG_NOTIMESTAMP=1 make ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- -C linux-2.6.x hwselect no emulation specific options. make[1]: Entering directory `/home/faye/uClinux-dist-test/linux-2.6.x' RUNNING hwselect ERROR: Could not open SYSTEM ptf file. make[1]: Leaving directory `/home/faye/uClinux-dist-test/linux-2.6.x'[/b] --- Quote End --- Do you know how to solve this problem ? Thx !Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by jay_1025@Jun 21 2006, 06:52 PM hello all
i have modified cpu cloclk to 100mhz in sopc builder and cup input singal conneted from c1 of sdram pll,then generate new ptf.
but i could not open ptf file under uclinux-dist-test dir.
<div class='quotetop'>quote
--- quote end ---
--- quote start ---
[faye@localhost uclinux-dist-test]$ make linux_hwselect sysptf=nios_clk100.ptf
kconfig_notimestamp=1 make arch=nios2nommu cross_compile=nios2-linux-uclibc- arch=nios2nommu cross_compile=nios2-linux-uclibc- -c linux-2.6.x hwselect
no emulation specific options.
make[1]: entering directory `/home/faye/uclinux-dist-test/linux-2.6.x'
running hwselect
error: could not open system ptf file.
make[1]: leaving directory `/home/faye/uclinux-dist-test/linux-2.6.x' --- Quote End --- Do you know how to solve this problem ? Thx ! <div align='right'><{post_snapback}> (index.php?act=findpost&pid=16313)</div> [/b] --- Quote End --- Please give the path of the ptf, eg, SYSPTF=~/proj_100/nios2_clk100.ptf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by jay_1025@Jun 21 2006, 01:52 PM hello all
i have modified cpu cloclk to 100mhz in sopc builder and cup input singal conneted from c1 of sdram pll,then generate new ptf.
but i could not open ptf file under uclinux-dist-test dir.
<div class='quotetop'>quote
--- quote end ---
--- quote start ---
[faye@localhost uclinux-dist-test]$ make linux_hwselect sysptf=nios_clk100.ptf
kconfig_notimestamp=1 make arch=nios2nommu cross_compile=nios2-linux-uclibc- arch=nios2nommu cross_compile=nios2-linux-uclibc- -c linux-2.6.x hwselect
no emulation specific options.
make[1]: entering directory `/home/faye/uclinux-dist-test/linux-2.6.x'
running hwselect
error: could not open system ptf file.
make[1]: leaving directory `/home/faye/uclinux-dist-test/linux-2.6.x' --- Quote End --- Do you know how to solve this problem ? Thx ! <div align='right'><{post_snapback}> (index.php?act=findpost&pid=16313)</div> [/b] --- Quote End --- As you notice, the make program enters directory home/faye/uClinux-dist-test/linux-2.6.x and runs hwselect from there, so that's where the ptf needs to be. Copy the ptf there, or give the absolute address of the ptf, something like SYSPTF=/home/faye/uClinux-dist-test/nios_clk100.ptf, or like hippo said, ~/project/nios_clk100.ptf.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by repa+jun 22 2006, 12:58 am--><div class='quotetop'>quote (repa @ jun 22 2006, 12:58 am)</div>
--- quote start ---
<!--quotebegin-jay_1025@Jun 21 2006, 01:52 PM hello all
i have modified cpu cloclk to 100mhz in sopc builder and cup input singal conneted from c1 of sdram pll,then generate new ptf.
but i could not open ptf file under uclinux-dist-test dir.
<div class='quotetop'>quote
--- quote end ---
--- quote start ---
[faye@localhost uclinux-dist-test]$ make linux_hwselect sysptf=nios_clk100.ptf
kconfig_notimestamp=1 make arch=nios2nommu cross_compile=nios2-linux-uclibc- arch=nios2nommu cross_compile=nios2-linux-uclibc- -c linux-2.6.x hwselect
no emulation specific options.
make[1]: entering directory `/home/faye/uclinux-dist-test/linux-2.6.x'
running hwselect
error: could not open system ptf file.
make[1]: leaving directory `/home/faye/uclinux-dist-test/linux-2.6.x' --- Quote End --- Do you know how to solve this problem ? Thx ! <div align='right'><{post_snapback}> (index.php?act=findpost&pid=16313)</div> [/b] --- Quote End --- As you notice, the make program enters directory home/faye/uClinux-dist-test/linux-2.6.x and runs hwselect from there, so that's where the ptf needs to be. Copy the ptf there, or give the absolute address of the ptf, something like SYSPTF=/home/faye/uClinux-dist-test/nios_clk100.ptf, or like hippo said, ~/project/nios_clk100.ptf. <div align='right'><{post_snapback}> (index.php?act=findpost&pid=16328)</div> [/b] --- Quote End --- hello hippo & Repa Thanks very much ! I can open PTF file now that two questions about open PTF file. Q1: I use this way to open PTF is OK in linux-2.6.16.1(buildroot) with no path. Q2: Why I can open anthor PTF file in uClinux-dist-test with no path? such as following <div class='quotetop'>QUOTE </div> --- Quote Start --- [faye@localhost uClinux-dist-test]$ ls autoconf.h Documentation linux-2.4.x README uClinux-dist.diff.gz bin freeswan linux-2.6.x romfs user config images Makefile SOURCE vendors config.arch include nios_605.ptf system_0.ptf config.in lib nios_clk100.ptf tools COPYING linux-2.0.x openswan uClibc [faye@localhost uClinux-dist-test]$ make linux_hwselect SYSPTF=nios_605.ptf KCONFIG_NOTIMESTAMP=1 make ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- -C linux-2.6.x hwselect no emulation specific options. make[1]: Entering directory `/home/faye/uClinux-dist-test/linux-2.6.x' RUNNING hwselect --- Please select which CPU you wish to build the kernel against: (1) cpu_0 - Class: altera_nios2 Type: f Version: 5.11 Selection: 1 --- Please select a device to upload the kernel to: (1) cfi_flash_0 Class: altera_avalon_cfi_flash Size: 4194304 bytes Selection: 1 --- Please select a device to execute kernel from: (1) sram_0 Class: user_logic_SRAM_16Bits_512K Size: 524288 bytes (2) sdram_0 Class: altera_avalon_new_sdram_controller Size: 8388608 bytes (3) epcs_controller Class: altera_avalon_epcs_flash_controller Size: 2048 bytes Selection: 2 --- Summary using PTF: nios_605.ptf CPU: cpu_0 Device to upload to: cfi_flash_0 Program memory to execute from: sdram_0 --- Settings written to /home/faye/uClinux-dist-test/linux-2.6.x/arch/nios2nommu/hardware.mk make[1]: Leaving directory `/home/faye/uClinux-dist-test/linux-2.6.x' [faye@localhost uClinux-dist-test]$[/b] --- Quote End --- Thx !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I can run cpu freq up to 100Mhz on uClinux OS,and feel speed up to run algorithm program. 1.Make zImage in linux-2.6.16.1 dir <div class='quotetop'>QUOTE </div> --- Quote Start --- # cat cpuinfo CPU: NIOS2 MMU: none FPU: none Clocking: 100.0MHz BogoMips: 49.56 Calibration: 24780800 loops# free total used free shared buffers Mem: 7012 5292 1720 0 0# [/b] --- Quote End --- 2.Make zImage in uClinux-dist-testdir (but i must add path ~/uClinux-dist-test to open my new ptf file). <div class='quotetop'>QUOTE </div> --- Quote Start --- /> cd /proc /proc> cat cpuinfo CPU: NIOS2 MMU: none FPU: none Clocking: 100.0MHz BogoMips: 49.56 Calibration: 24780800 loops /proc> free MemTotal: 6548 kB MemFree: 4844 kB Buffers: 0 kB /proc>[/b] --- Quote End ---
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page