Forum Discussion
Altera_Forum
Honored Contributor
19 years ago --- Quote Start --- originally posted by liuxiaoping@Jan 5 2007, 09:59 AM to hippo:
because the address of any devices on nios is not certain,so we need the .ptf file which come from the sopcbuilder for building the uclinux,i think i can find something about the .ptf file in the ucliux source.
could you understand me?
thank you very much!!
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=20373)
--- quote end ---
--- Quote End --- The io ports address is generated from ptf file, in the hwselect perl script. We run "make vendor_hwselect SYSPTF=your_ptf_path" in uClinux-dist, (or make hwselect in the kernel tree). The port definition will be created in linux-2.6.x/include/nios2_system.h .