Hi, I was just a few days away. Thanks for your reply. I just Just install the package with the bitfiles as Charles advices: sudo apt-get install socfpga-rbf
and selected /configs/hm2-soc-stepper/5i25-socfpga.ini, but it failed. linuxcnc.log shows as (http://pastebin.com/z1L4X4vY). It seems can not found device_tree overlay files Nov 6 12:01:18 arm msgd:0: hal_lib:5132:rt hm2_soc_ol: > mkdir(/sys/kernel/config/device-tree/overlays/hm2-socfpg0) failed: No such > file or directory > Nov 6 12:01:18 arm msgd:0: hal_lib:5132:rt hm2/foo: failed to program > fpga, aborting hm2_register > Nov 6 12:01:18 arm msgd:0: hal_lib:5132:rt foo: hm2_soc_ol_board fails > HM2 registration > Nov 6 12:01:18 arm msgd:0: hal_lib:5132:rt hm2_soc_ol: error registering > UIO driver > Nov 6 12:01:18 arm msgd:0: rtapi_app:5132:user > hal_call_usrfunct(newinst,config="firmware=socfpga/dtbo/DE0_Nano_SoC_DB25.7I76_7I85S_GPIO_GPIO.dtbo > > num_stepgens=4 num_encoders=1 num_mencoders=4") failed: -1 - Operation not > permitted > Then it start to remove all components. May I know after i installed socfpga-rbf, any hardware configuration should be done in advance? Thanks for any hints. -chengxi On Monday, 31 October 2016 22:15:58 UTC+8, Bas de Bruijn wrote: > > > > > On 31 Oct 2016, at 14:33, euerka <[email protected] <javascript:>> > wrote: > > > > Yeah, I would like to do FPGA development in future, since I have no > plan to use Mesa board. > > All the functions of the hostmot2 firmware are available on the pins of > the board. It's not mandatory to have mesa hardware connected. And to my > knowledge it's trivial to make your own pin layout. So if you want > stepgens, encoders and whatnot, then it's basically a matter of defining > which pins need which function > -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.
