[Machinekit] Re: ROCKPro64 + Mesa 6i24 or 6i25 What are your thoughts on this low cost mini combo

2019-09-17 Thread mugginsac
Michael, I bought a RockPro64 4gb and I have rt_preempt running on it. However, they keep moving the goal posts. I have been unable to get rt_preempt to run on a newer release. If I lose the uSD I have (or if I find a bug in it) I can't produce a newer image. The people most involved in it

Re: [Machinekit] Does the Pine64 look like a good option for Machinekit development?

2019-03-13 Thread mugginsac
I just completed building Linux-4.19.25-rt16 for the Pine64 A64+. It was relatively speaking a piece of cake. They are now using the mainline kernel for the Pine64 A64+. So it was just download the mainline kernel sources for 4.19.25 and the Preempt_rt patches, apply them, make the oldconfig

Re: [Machinekit] Machinekit on BBB - long boot times with PREEMPT kernel

2019-03-01 Thread mugginsac
I loaded Robert Nelsons Stretch 9.8 from 02/24/2019 . <

Re: [Machinekit] Updated install of machinekit -- new errors

2019-03-01 Thread mugginsac
OK, I got machinekit loading on my BeBoPr-Bridge, my CRAMPS board and my Xylotex-DB25. I posted another set of edits of the configs for the three of them. I posted them to machinekit-cnc this time. Basically, I think the configs were what I posted previously to machinekit, but somehow either I

Re: [Machinekit] Startup error messages in Axis

2019-02-26 Thread mugginsac
The next day after I submitted the pull request, I updated machinekit and the messages that I had fixed were no longer there, but there were some new ones. Things that I had missed. So I found them, fixed them and submitted a new pull request. The next time I updated machinekit, the old

[Machinekit] Re: Updated install of machinekit -- new errors

2019-02-25 Thread mugginsac
Found the culprits. Three more calls to rtapi_print() affected by the change from RTAPI_MSG_ERR to RTAPI_MSG_ALL. But I have seemingly created a bug in my config in the process of cleaning them up. The axis screen appears for a fraction of a second and then disappears. -- website:

[Machinekit] Updated install of machinekit -- new errors

2019-02-25 Thread mugginsac
I did sudo apt-get install machinekit. Now I get a bunch of new messages. I am trying to figure out if I somehow screwed up my configs in the process of updating machinekit. Here is a link to my .ini file . Here is a link to my .hal file

Re: [Machinekit] Startup error messages in Axis

2019-02-23 Thread mugginsac
About a month ago Zultron "fixed" a logging problem. He changed rtapi_print from: void rtapi_print(const char *fmt, ...) { va_list args; va_start(args, fmt); rtapi_msg_handler(RTAPI_MSG_ERR, fmt, args); va_end(args); } to: void rtapi_print(const char *fmt, ...) { va_list args; va_start(args,

[Machinekit] Startup error messages in Axis

2019-02-20 Thread mugginsac
I am running Stretch 9.8 (testing) on a BBB with Xylotex DB25 cape. I am getting the following errors or warnings when Axis starts up: prussdrv_init prussdrv_open prussdrv_pruintc_init prussdrv_map_prumem PRU data ram mapped num_pwmgens : 1 num_stepgens: 4 num_encoders: 0 Init pwm hpg_pwm_init

[Machinekit] How does machinekit test to see if it is running on a rt-preempt kernel?

2019-02-18 Thread mugginsac
Robert just furnished a new test image. It definitely has an rt-preempt kernel, when I exported FLAVOR=rt-preempt, it ran machinekit. However, before I exported FLAVOR=rt-preempt, machinekit tried to run the posix realtime stuff (term of art). So, the question is how does machinekit try to

[Machinekit] Old slow stepper drivers and pru

2019-02-17 Thread mugginsac
I have some old slow stepper drivers (Superior SS2000MD4), max frequency 20 kHz, min pulse width 25 microseconds and min rise and fall times 1 microsecond. Will setting pru-period to 25000 wreak havoc with the pru code? Alan -- website: http://www.machinekit.io blog:

Re: [Machinekit] Machinekit on BBB - long boot times with PREEMPT kernel

2019-02-15 Thread mugginsac
I went back to the 1/27/2019 image "bone-debian-9.7-machinekit-armhf-2019-01-27-4gb.img.xz" until Robert can furnish a new kernel that will get rid of the slow boot times. I still had to install uuid-runtime, ssh, xorg, and openbox in order to run machinekit via ssh. Actually ssh is only

[Machinekit] Re: machinekit.ini and MKUUID

2019-02-14 Thread mugginsac
isn't it? > https://github.com/machinekit/machinekit/pull/1447/files#diff-3a8967c9c7449446ddcdc76faa20bfafL57 > > Cern > > Dne čtvrtek 14. února 2019 19:57:00 UTC+1 mugginsac napsal(a): >> >> I just built a fresh uSD from one of Robert Nelson's images. It does not

[Machinekit] Re: machinekit.ini and MKUUID

2019-02-14 Thread mugginsac
I just built a fresh uSD from one of Robert Nelson's images. It does not include uuid-runtime. Since machinekit now has to have a uuid generated the first time it is run, shouldn't uuid-runtime be part of the Machinekit requirements. Alan -- website: http://www.machinekit.io blog:

Re: [Machinekit] Machinekit on BBB - long boot times with PREEMPT kernel

2019-02-13 Thread mugginsac
I buily a new uSD using the image that Robert sent me the link for. I ran uname -r and it reports 4.19.15-ti-rt-r8. I am guessing that the rt stands for rt-preempt??? I ran machinekit: machinekit@beaglebone:~$ machinekit MACHINEKIT - 0.1 Machine configuration directory is

Re: [Machinekit] Machinekit on BBB - long boot times with PREEMPT kernel

2019-02-13 Thread mugginsac
cd /usr/libexec/linuxcnc machinekit@beaglebone:/usr/libexec/linuxcnc$ ls flavor inivar pci_read pci_write rtapi_app_rt-preempt rtapi_msgd machinekit@beaglebone:/usr/libexec/linuxcnc$ So I have rtapi_app_rt-preempt on the uSD. So why is it reporting the other error message. Alan --

Re: [Machinekit] Machinekit on BBB - long boot times with PREEMPT kernel

2019-02-11 Thread mugginsac
So, does that mean there will be a new Stretch-Machinekit image, or is it just the new kernel for the moment? -- 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

Re: [Machinekit] Machinekit on BBB - long boot times with PREEMPT kernel

2019-02-03 Thread mugginsac
Did anyone find an answer to this problem? -- 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

Re: [Machinekit] testing BBB with Xylotex-DB25 step not changing directions

2018-12-31 Thread mugginsac
Bas, Thanks that was the problem. I deleted the PRU pins from the "loadrt hal_gpio" statement and added a note to the comment. # load low-level drivers (must not include pins used by PRU) loadrt hal_bb_gpio output_pins=807,813,819,826,914,913,911 input_pins=809,810,814,818 I also cleaned up

[Machinekit] testing BBB with Xylotex-DB25 step not changing directions

2018-12-29 Thread mugginsac
I have a BBB with a Xylotex-DB25 cape and controller box with a single motor hooked up for testing. When I press + or - to jog the motor spins the same direction. My control box has 3 Superior SS2000MD4 drives in it (old technology). It requires 25000ns for step, step set up or pause. Here are

Re: [Machinekit] Re: bone-debian-9.6-machinekit-armhf-2018-12-10-4gb.img machinekit not starting

2018-12-28 Thread mugginsac
UPDATE: Well, solved may be a bit strong. The error messages still appear during start up and periodically it won't keep the axis window displayed. However, in googling the error "libGL error: No matching fbConfigs or visuals found" for the Mac, I found out that it appears to be common on the

Re: [Machinekit] Re: bone-debian-9.6-machinekit-armhf-2018-12-10-4gb.img machinekit not starting

2018-12-26 Thread mugginsac
Bas and Schooner, I had seen those errors and had even googled some of them but hadn't yet figured out whether the problem was on my Mac or the BBB. I got those 3 libs on the BBB and that fixed the problem. Thank you both so much, Alan -- website: http://www.machinekit.io blog:

Re: [Machinekit] Re: bone-debian-9.6-machinekit-armhf-2018-12-10-4gb.img machinekit not starting

2018-12-25 Thread mugginsac
So when I run "machinekit Xylotex.ini" I see the machinekit logo and then it displays the axis window but immediately hides it (it is so fast that I can't even tell if it is fully drawing the contents. The axis window shows up in the XWindow windows list but I can't get it to re-display. The

Re: [Machinekit] Re: bone-debian-9.6-machinekit-armhf-2018-12-10-4gb.img machinekit not starting

2018-12-25 Thread mugginsac
Scott, You are correct that got me through the insmod problem. I corrected a couple of dufus errors that I had made in the .hal file. I had used a >= instead of => and it didn't like that. Now it is getting to the point of displaying the axis window but then immediately hiding it. It show up

[Machinekit] Re: bone-debian-9.6-machinekit-armhf-2018-12-10-4gb.img machinekit not starting

2018-12-25 Thread mugginsac
I have got X11 forwarding working (I got the config picker). However, the app is still not executing. I got these messages (with DEBUG=5 set): machinekit@beaglebone:~/machinekit/configs/ARM.BeagleBone.Xylotex$ machinekit Xylotex.ini MACHINEKIT - 0.1 Machine configuration directory is

Re: [Machinekit] bone-debian-9.6-machinekit-armhf-2018-12-10-4gb.img machinekit not starting

2018-12-25 Thread mugginsac
Paulo Sherring wrote: > Hi! Don't know if it is relevant by now, but, I had this issue some time > ago and I was missing Xauth and a .Xauthority file on my profile. > To repair it, I ran: > sudo apt-get install xauth > touch ~/.Xauthority > Then, ended ssh session and started a new one. >

Re: [Machinekit] bone-debian-9.6-machinekit-armhf-2018-12-10-4gb.img machinekit not starting

2018-12-24 Thread mugginsac
Charles the subject line has the name of the image I started with “bone-debian-9.6-machinekit-armhf-2018-12-10-4gb.img” this time. My earlier image from 9.5 works. So I will try to find my post about how I got ssh -X working earlier and see if I can get this fixed. I just thought that that

[Machinekit] bone-debian-9.6-machinekit-armhf-2018-12-10-4gb.img machinekit not starting

2018-12-24 Thread mugginsac
I downloaded bone-debian-9.6-machinekit-armhf-2018-12-10-4gb.img and wrote a uSD using Etcher. Then I wrote it to the eMMC. It boots fine. I logged into the beaglebone with ssh -X machinekit@beaglebone.local However, when I try to run machinekit I get the following error.

[Machinekit] Re: Anyone able to get a working remote display from a Mac to a BBB?

2018-09-12 Thread mugginsac
Brandon, Last night (9/12/2018) I built a new uSD for my Xylotex cape using Robert Nelson's 8-30-2018 image. It seems to start up fine. I have quit machinekit and restarted it in the same session with no problems. Alan -- website: http://www.machinekit.io blog: http://blog.machinekit.io

[Machinekit] Re: Creating Stretch uSD for BEBOPR

2018-09-11 Thread mugginsac
I have a Beaglebone Black rev A5 with an 8gb uSD flashed with bone-debian-9.5-machinekit-armhf-2018-08-20-4gb.img.xz. The beaglebone bridge that Charles Steinkuehler designed and BeBoPr board that I am not using. If anyone is building a 3d printer or the like and would like to have them, make

[Machinekit] Creating Stretch uSD for BEBOPR

2018-09-11 Thread mugginsac
Download Stretch/machinekit image burn Stretch image to uSD optional (if you want to rename your BeagleBone) edit /etc/hostschanging BeagleBone to BeagleBone-bebopr edit /etc/hostname changing BeagleBone to BeagleBone-bebopr sudo apt-get update sudo apt-get install ssh sudo

[Machinekit] Re: Anyone able to get a working remote display from a Mac to a BBB?

2018-09-10 Thread mugginsac
Brandon, Did you ever solve this issue? I am seeing the same thing sporadically. Sometimes it will run fine and other times the axis window will just go away when it is starting up. I am using "ssh -X ..." from my Mac. I have three different BBBs, one with a Xylotex-DB25, one with a CRAMPS and

[Machinekit] How do you turn off emmc and/or audio in booting with universal cape?

2018-09-08 Thread mugginsac
When I try to use p8.03 in the setup.sh file I get "bash: /sys/devices/platform/ocp/ocp*P8_03_pinmux/state: No such file or directory Cannot write pinmux file: /sys/devices/platform/ocp/ocp*P8_03_pinmux/state". I also tried to use a different pin that Charles told me was in audio_cape. Is

[Machinekit] Re: BBB not booting from bone-debian-9.5-machinekit-armhf-2018-08-20-4gb.img.xz

2018-09-07 Thread mugginsac
Steps to creating Stretch uSD for CRAMPS or Xylotex (DB25) Download stretch/machinekit image burn image to uSD sudo apt-get update sudo apt-get install ssh sudo apt-get install xorg (logout/log back in ???) If using rev C or later reflash emmc with a recent version of stretch else if USING Rev

Re: [Machinekit] PRU control files not found in /sys/class/uio/uio0

2018-09-05 Thread mugginsac
Yesterday I made a new uSD from bone-debian-9.5-machinekit-armhf- *2018-08-30*-4gb.img. I did "sudo apt-get update", "sudo apt-get install ssh" and "sudo apt-get install xorg" so that I can run "ssh -X". I followed Robert Nelson's advice > -nuke these lines: > >

[Machinekit] bone-debian-9.5-machinekit-armhf-2018-08-30-4gb.img not working

2018-09-04 Thread mugginsac
I started this new thread because I thought the problem might be the new stretch image. I made a new uSD from bone-debian-9.5-machinekit-armhf-*2018-08-30*-4gb.img today. I installed xorg so that I can run "ssh -X". I followed Robert Nelson's advice > -nuke these lines: > >

[Machinekit] Re: PRU control files not found in /sys/class/uio/uio0

2018-09-04 Thread mugginsac
Here is what I see in the console: MACHINEKIT - 0.1 Machine configuration directory is '/home/machinekit/machinekit/configs/ARM.BeagleBone.CRAMPS' Machine configuration file is 'CRAMPS.ini' Starting Machinekit... rtapi_msgd command: /usr/libexec/linuxcnc/rtapi_msgd --instance=0 --rtmsglevel=5

[Machinekit] PRU control files not found in /sys/class/uio/uio0

2018-09-04 Thread mugginsac
I am working on a CRAMPS config for Stretch. It is blowing out with the error msg PRU control files not found in /sys/class/uio/uio0 That comes from the following code it setup.sh: if [ ! -r /sys/class/uio/uio0 ] ; then echo PRU control files not found in /sys/class/uio/uio0 >&2 exit 1;

[Machinekit] Loading .bbio file in .hal file

2018-09-03 Thread mugginsac
Is it possible to load a .bbio file from a ".hal" file without using python? -- 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

Re: [Machinekit] Xylotex.ini failing to run under Stretch

2018-09-02 Thread mugginsac
I found the answer in another thread. Seems XQuartz on macOS doesn't enable indirect GLX by default, and it must > be enabled: > > $ defaults write org.macosforge.xquartz.X11 enable_iglx -bool true > > I fixed the enable indirect GLX on my Mac and then I could get Axis to run under ssh

Re: [Machinekit] Re: Xylotex.ini failing to run under Stretch

2018-09-01 Thread mugginsac
I changed: loadrt pid num_chan=4 to loadrt pid count=4 and now it gets past that. Documentation description should be fixed and maybe add someone besides John Kasunich as the guilty party for the change??? Now it doesn't like net home-a bb_gpio.*p9.in-41* => axis.3.home-sw-in So what is the

[Machinekit] Re: Xylotex.ini failing to run under Stretch

2018-08-31 Thread mugginsac
It looks like it may be failing on insmod of motmod. This is the line in the Xylotex.hal file that the message points to: loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES -- website: http://www.machinekit.io blog: http://blog.machinekit.io github:

[Machinekit] Re: Xylotex.ini failing to run under Stretch

2018-08-31 Thread mugginsac
The last time I tried to run this is what I found in /var/log/linuxcnc.log. 6.3.0 20170516 version=v0.1~-~5d86a7e Aug 31 18:25:01 beaglebone-db25 msgd:0: ØMQ=4.2.1 czmq=4.0.2 protobuf=3.0.0 atomics=gcc intrinsicslibwebsockets=2.0.3 Aug 31 18:25:01 beaglebone-db25 msgd:0: configured:

[Machinekit] Xylotex.ini failing to run under Stretch

2018-08-30 Thread mugginsac
I got machinekit loaded to where I can pick the ini file to load. (I am running ssh -X machinekit@beaglebone.local.) I chose Xylotex under ARM.BeagleBone.Xylotex. Is that the correct ini file to load for a Xylotex DB25 cape? Do Xylotex.ini and Xylotex.hal need some changes to run under

[Machinekit] ssh -X works on 8.7 image but not on 9.5 (Stretch) image

2018-08-29 Thread mugginsac
If I boot the 8.7 image with machinekit I can start linuxcnc or stepconf with ssh -X machinekit@beaglebone.local. However, when I try to start linuxcnc or machinekit after logging in with ssh -X machinekit@beaglebone.local on the 9.5 (Stretch) image, I get the following error (same error

[Machinekit] BBB not booting from bone-debian-9.5-machinekit-armhf-2018-08-20-4gb.img.xz

2018-08-28 Thread mugginsac
I am trying to boot and log in over ethernet with ssh -X machinekit@beaglebone.local. This works with the 2017-02-12 image uSD. I used Etcher to flash both the 2017-02-12 image and the 2018-08-20 image to uSD. With the 2018-08-20 uSD I am seeing the outboard three of four LEDs go solid blue.

Re: [Machinekit] Re: DE10-DE0-Nano - Invitation to collaborate

2018-05-25 Thread mugginsac
I did built a new uSD and then did the following: setenv bitimage DE10_Nano_FB_DB25.7I76_7I76_7I76_7I76.rbf setenv fdtfile DE10_Nano_FB_DB25.7I76_7I76_7I76_7I76.dtb (renamed from soc_system.dtb) and the result was that I couldn't boot at all. So I reset the environment to default and started

Re: [Machinekit] Re: DE10-DE0-Nano - Invitation to collaborate

2018-05-23 Thread mugginsac
OK, the build was successful again this time. So it appears to me that something is being wiped out during “make scrub_clean” that causes the next build to fail testing. Because it completed the compile both times but didn’t complete the build script after the “make scrub_clean”. I hope this

Re: [Machinekit] Re: DE10-DE0-Nano - Invitation to collaborate

2018-05-23 Thread mugginsac
I have gotten DE10_Nano_FB_25 with Michael's mods to build but I have yet to test it. After it built successfully, (since I was going to be gone all day anyway) I did "make scrub_clean" and tried running build again, however, this time it failed in Synthesis. I am running "./build.sh

Re: [Machinekit] Re: DE10-DE0-Nano - Invitation to collaborate

2018-05-23 Thread mugginsac
*Never mind, I found the answer to my question, it is already cv_ip in mksocfpga.* On Wednesday, May 23, 2018 at 4:09:50 PM UTC-7, mugginsac wrote: > > Michael, > > What is gained by renaming the "ip" directory to "cv_ip"? > > What is lost is the

Re: [Machinekit] Re: DE10-DE0-Nano - Invitation to collaborate

2018-05-22 Thread mugginsac
unless someone else >> beats me to it. >> >> Question to ponder: >> It is not yet possible (for me) to support more than 1 screen resolution >> pr bitfile , right now it is 1024x768x8bpp. >> Do you prefer a different screen resolution (up to hd) ? >>

Re: [Machinekit] Re: DE10-DE0-Nano - Invitation to collaborate

2018-05-16 Thread mugginsac
I am trying to figure out exactly what I need to do to get the DE10_Nano_FB_DB25 to run with the HDMI console. The problem is that Charles' DE0_Nano_Soc_DB25 uses VHDL and Michael's DE10_Nano_FB_Cramps uses SYSTEM_VERILOG. And Charles' uses hostmot2_cfg.vhd while Michael is using

Re: [Machinekit] Re: DE10-DE0-Nano - Invitation to collaborate

2018-05-13 Thread mugginsac
CP fix must be in the updated image. > If you are only able to ssh by using the ip address this can be due to DNS > server setup on your local lan router. > > > On Thu, May 10, 2018, 00:34 mugginsac <mugg...@gmail.com > > wrote: > >> I see two addresses. One for

Re: [Machinekit] Re: DE10-DE0-Nano - Invitation to collaborate

2018-05-09 Thread mugginsac
t; When you run the ifconfig command how many up addresses do you see ? ..:-) > BTW. > You can also look in the leases list on the DHCP server on your local > network. > > On Tue, May 8, 2018, 00:02 mugginsac <mugg...@gmail.com > > wrote: > >> Michael, >> >> I t

[Machinekit] Re: DE10-DE0-Nano - Invitation to collaborate

2018-05-07 Thread mugginsac
Michael, I tried your suggestion but apt reported dhcpcd5 not found. Did you take it out before you built the last uSD image? Thanks, Alan On Sunday, May 6, 2018 at 4:09:36 AM UTC-7, Michael Brown wrote: > > I found 1 quirk in the image: > If you do a ifconfig in the image you will probably

[Machinekit] Re: DE10-DE0-Nano - Invitation to collaborate

2018-05-01 Thread mugginsac
OK, I have got "DE10_Nano_FB_DB25" building the dts, dtb and rbf with no errors. But before I try to use it on my DE10_Nano, it seems to me that Michael wrote something recently about setting some area of memory to load something. I have searched with no luck. So if you remember writing

Re: [Machinekit] Re: mksocfpga

2018-04-30 Thread mugginsac
make a Docker image, or just run the > Quartus GUI and enable talkback if you're working with a "regular" system. > > On 4/30/2018 10:16 AM, mugginsac wrote: > > I discovered that tb2_install is included in Quartus 15.1 but not in > 17.1. > > Does that mean th

[Machinekit] Re: mksocfpga

2018-04-30 Thread mugginsac
I discovered that tb2_install is included in Quartus 15.1 but not in 17.1. Does that mean that tb2_install is no longer required with the new version of Quartus? Thanks, Alan On Saturday, May 28, 2016 at 10:59:07 AM UTC-7, DeWayne Young wrote: > > Starting the Quartus shell is the first

[Machinekit] where do you find the command sopc2dts

2018-04-29 Thread mugginsac
I ran "make dtb" in my Quartus project DE10_Nano_FB_DB25 and it reported sopc2dts command not found. I searched online for reference to the command sopc2dts. I found a java jar sopc2dts but the method of invoking it is different than is shown when invoking sopc2dts in the quartus makefile. So

Re: [Machinekit] Docker upgrade failing

2018-04-27 Thread mugginsac
Schooner, I uninstalled 18 and tried installing 17.0.3 and it failed too. Must be something wierd with my setup. Here is the screen from that effort. This was booted in to a non-realtime kernel (4.9.0.6 AMD64). acondit@D525MW:~$ sudo apt-get install docker-ce=17.03.2~ce-0~debian-stretch

Re: [Machinekit] Docker upgrade failing

2018-04-26 Thread mugginsac
I rebooted into the standard kernel, did “sudo apt-get remove docker*”. Then I tried to reinstall. It still failed to complete the installation. It reports that it is failing in dpkg —configure. I am running Debian Stretch with 4.9.0.6 AMD64. I also tried the install by downloading the deb

Re: [Machinekit] Re: DE10-DE0-Nano - Invitation to collaborate

2018-04-16 Thread mugginsac
Michael, I followed your instructions down to: setenv bitimage /lib/firmware/socfpga/DE10_Nano_FB_Cramps.3x24_cap_spi.rbf setenv fdtfile socfpga_cyclone5_de10_nano_fb.dtb It looks to me like I need something like: setenv bitimage /lib/firmware/socfpga/DE10_Nano_FB_DB25.rbf

Re: [Machinekit] Re: DE10-DE0-Nano - Invitation to collaborate

2018-04-14 Thread mugginsac
Michael, I just wrote a uSD of the desktop image with Etcher. I was able to login with the console in Putty, however, I didn't see anything with the monitor connected to the HDMI. Am I missing something? I am in the process of finishing the rewire of my CNC-Lathe controller using a 5i25/7i76

Re: [Machinekit] Re: Will DE0-Nano image work on a DE10-Nano board?

2018-02-07 Thread mugginsac
Thanks Schooner and Michael, I followed the instructions through the setenv default -a; setenv ethaddr ba:d0:4a:9c:4e:ce; saveenv; reset. Now I get a little farther. Do I need to remove the 'quiet' in extlinux.conf following the 'rootwait' so that I can see what is going on in the starting

Re: [Machinekit] Re: Will DE0-Nano image work on a DE10-Nano board?

2018-02-06 Thread mugginsac
I finally got the USB console working under stretch. I didn't have the dtb file that it was looking (socfpga_cyclone5_de10_nano.dtb) for in the boot/dtbs/4.9.68-socfpga-r3/ directory. After I fixed that it is either loading the kernel or trying to load the kernel. It is getting a crc error and

Re: [Machinekit] Re: Will DE0-Nano image work on a DE10-Nano board?

2018-01-30 Thread mugginsac
Charles, Robert’s instructions only create two partitions, an A2 and an EXT4. The “A2” partition is where u-boot-with-spl.sfp gets written. The ext4 partition is for linux. The kernel resides in the “boot” directory along with a directory for the extlinux.conf file, and a directory for the

[Machinekit] Re: Will DE0-Nano image work on a DE10-Nano board?

2018-01-28 Thread mugginsac
I am trying to follow Robert Nelson's instructions on the eewiki to build a stretch installation for the DE10-Nano with a DE10-Nano-DB25 and 1206 size parts. I got u-boot built from the github repository but it still won't boot. My guess is that the FPGA is not properly initialized. So my

Re: [Machinekit] DE0-Nano_DB25

2018-01-11 Thread mugginsac
I got the boards from OSHPark setup for the 1206 resistors and caps. I forgot to change the footprints for the LEDs but luckily I had the 805 LEDs on hand. When I ordered the 1206 parts, I also bought a better curved nose tweezer. Without that I don't think I could have soldered the 0805 LEDs.

Re: [Machinekit] DE0-Nano_DB25

2017-12-21 Thread mugginsac
Thanks, It looks like it will cost about $52 for 3 boards with 1206 resistors and caps. Alan On Thursday, December 21, 2017 at 4:24:08 PM UTC-8, Charles Steinkuehler wrote: > > On 12/21/2017 5:39 PM, mugginsac wrote: > > I have discovered that my hand are not steady enough to

Re: [Machinekit] DE0-Nano_DB25

2017-12-21 Thread mugginsac
I have discovered that my hand are not steady enough to hand solder 0603 parts. I bought three of the boards of Charles design and have two new boards left, if anyone is interested. They cost me about $14 a piece. One board has 3 capacitors soldered on but nothing more. I am thinking about

[Machinekit] DE0-Nano_DB25

2017-12-04 Thread mugginsac
A big thank you to Charles for this design. I have ordered and received 3 boards from OSH Park. As I understand the schematic, this board uses both 5V and 3.3V power. Both voltages appear to be provided through the P1 header. Is this correct? It appears that W3 then selects the pull up voltage

[Machinekit] Re: Will DE0-Nano image work on a DE10-Nano board?

2017-09-11 Thread mugginsac
I am in the process of downgrading from Stretch to Jessie. I couldn't get Quartus to run on Stretch. It needs libpng12.0 and the notes I found about it and Stretch said that Stretch won't allow you to load libpng12.0 that you have to go to libpng14 or libpng16. Libpng16 is preinstalled on

[Machinekit] Re: DE10-DE0-Nano - Invitation to collaborate

2017-09-02 Thread mugginsac
Michael, It seemed to take forever to write, but eventually using dd the image wrote to the uSD and it boots. I am in agreement with you that having the hdmi for local maintenance is a good idea. I have never tried to run 3D graphics on one of these small "card" computers. I think running

Re: [Machinekit] Re: DE10-DE0-Nano - Invitation to collaborate

2017-09-01 Thread mugginsac
I disagree with Charles and Schooner. I used console access for years and I have had enough of it. I am tired of typing long lines of console entry to avoid the conveniences of a good gui interface. There are many features available in a good gui that help avoid carpal tunnel syndrome. I think

[Machinekit] Re: DE10-DE0-Nano - Invitation to collaborate

2017-08-31 Thread mugginsac
Michael, How much swap did you add? I am trying to get my image to load but my SD writing programs don't like your image. I use ApplePi Baker or Etcher. Etcher complains about no partition table. ApplePi Baker wrote an SD image but Linux thinks it is a CD. How do you format the uSD card??

[Machinekit] Re: DE10-DE0-Nano - Invitation to collaborate

2017-08-29 Thread mugginsac
Michael, Actually I have a couple questions for you. First, is your image still using three partitions A2, Fat, and ext4? Second, I cant find the source file "include/config_cmd_all.h". Is it part of u-boot?? I am trying to cut down to just two partitions. Initially A2 (for u-boot-with-spl.sfp)

[Machinekit] Re: Will DE0-Nano image work on a DE10-Nano board?

2017-08-24 Thread mugginsac
I understand CONFIG_DEFAULT_FDT_FILE but what does CONFIG_DEFAULT_DEVICE_TREE indicate? CONFIG_DEFAULT_DEVICE_TREE="socfpga_cyclone5_de10_nano" CONFIG_DEFAULT_FDT_FILE="socfpga_cyclone5_de10_nano.dtb" The DE10_NANO_SoC_GHRD *(Golden Hardware Reference Design) from the DE10-Nano CD uses

[Machinekit] Re: Will DE0-Nano image work on a DE10-Nano board?

2017-08-24 Thread mugginsac
Is there a way to get the DE10 to use uenv.txt for boot environment info with the new u-boot? -- 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"

[Machinekit] Re: Will DE0-Nano image work on a DE10-Nano board?

2017-08-24 Thread mugginsac
When I boot the disk that has the original boot loader. I get the following: UART clock 10 KHz CLOCK: MMC clock 5 KHz CLOCK: QSPI clock 3125 KHz RESET: COLD SDRAM: Initializing MMR registers SDRAM: Calibrating PHY SEQ.C: Preparing to start memory calibration U-Boot SPL 2013.01.01

[Machinekit] Re: Will DE0-Nano image work on a DE10-Nano board?

2017-08-24 Thread mugginsac
OK that made some progress. It still looks like some command processor is running at the same time as the login process. It printed "U-Boot SPL 2017.05-dirty (Aug 23 2017 - 15:20:51) drivers/ddr/alt" on the serial console and then went quiet. Next thing I saw was that it had apparently loaded

[Machinekit] Re: Will DE0-Nano image work on a DE10-Nano board?

2017-08-23 Thread mugginsac
I still have problems with the serial terminal. It seems to me like U-boot is starting up and receiving input that is putting it into command mode. Then it is like the process that outputs the text from the DE10 is being fed into the console input and confusing the heck out of the command

Re: [Machinekit] Re: Will DE0-Nano image work on a DE10-Nano board?

2017-08-21 Thread mugginsac
Robert, Thanks. At least it loaded right up as shown on the serial terminal. Now it is at least looking for the ext4 filesystem before loading the ext2 filesystem. Something that I read suggested that the journal-ing stuff on ext4 could shorten the life of the uSD card but that the ext4 has

Re: [Machinekit] Re: Will DE0-Nano image work on a DE10-Nano board?

2017-08-21 Thread mugginsac
Charles, What terminal software are you using? Is there any special setup required other than 115,200 baud and 8N1 (data,parity, and stop bits)? I can't get putty to work with the DE10 and I sometimes get those weird single column scroll down the right hand side with minicom. Alan --

[Machinekit] Re: Will DE0-Nano image work on a DE10-Nano board?

2017-08-21 Thread mugginsac
Here is what I am getting from trying to boot the uSD I built. Is it possible that I have a bad uSD? U-Boot SPL 2017.05 (Aug 20 2017 - 08:57:37) drivers/ddr/altera/sequencer.c: Preparing to start memory calibration drivers/ddr/altera/sequencer.c: CALIBRATION PASSED

[Machinekit] Re: Will DE0-Nano image work on a DE10-Nano board?

2017-08-21 Thread mugginsac
Taking a break from watching the progress of the solar eclipse. What I am trying to do is get to the point of building a system that will run with HDMI before I start trying to add MachineKit and the hm2 stuff. At the moment the build doesn't seem to run HDMI. I thought I was using the same

[Machinekit] Re: Will DE0-Nano image work on a DE10-Nano board?

2017-08-20 Thread mugginsac
I rebuilt the uSD with an ext2 filesystem. At first I got a bunch of messages related to the initialization. Then a bunch of characters seem to scroll down the right side of the "terminal" screen in a single column. Then after awhile, I got a login prompt in minicom, but I couldn't get it to

[Machinekit] Re: Will DE0-Nano image work on a DE10-Nano board?

2017-08-20 Thread mugginsac
OK, my face is red. Yes I was plugging into the wrong port. It is running u-boot-with-spl but it is looking for an ext2 partition instead of an ext4. So after a while it starts looking for a USB device. -- website: http://www.machinekit.io blog: http://blog.machinekit.io github:

Re: [Machinekit] Re: Will DE0-Nano image work on a DE10-Nano board?

2017-08-20 Thread mugginsac
Well it appears that the not so fun situation is the case. When I unplug power from the DE10-Nano the ftdi chip disappears. I also tried plugging DE10 cable into a powered hub instead of directly into the desktop box but same result. How about if I plug in the DE10, get the ttyUSB0 and then

Re: [Machinekit] Re: Will DE0-Nano image work on a DE10-Nano board?

2017-08-19 Thread mugginsac
OK, I can now get a /dev/ttyUSB0. I had to add altera vendor id 0x09fb and DE10 product id 0x6810 to ftdi_sio. I have to plug in the USB cable from the DE10 to get ftdi_sio to load. Then by the time I get it plugged in and putty loaded there is nothing coming over the console. If I try to start

Re: [Machinekit] Re: Will DE0-Nano image work on a DE10-Nano board?

2017-08-17 Thread mugginsac
Charles, I installed putty on my D525MW linux box, and I plugged a USB A to mini cable from the USB port on the desktop to the UartToUSB connector on the DE10. However, I don't know what pseudo serial port to watch for the Nano? Can you tell me how to figure out what /dev/tty device to use

Re: [Machinekit] Re: Will DE0-Nano image work on a DE10-Nano board?

2017-08-17 Thread mugginsac
Robert Nelson's instructions don't show creating a FAT partition, just an A2 partition and an EXT4 partition. If I am reading his instructions correctly he is writing u-boot-with-spl.sfp in the A2 partition then creating ext4 file system in the 2nd partition. Then he makes creates the rootfs

[Machinekit] Re: Will DE0-Nano image work on a DE10-Nano board?

2017-08-15 Thread mugginsac
, 2017 at 11:18:00 AM UTC-7, mugginsac wrote: > > I just wondered if the machinekit image for a DE0-Nano-SOC board will run > on a DE10-Nano? > > Alan > -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You rec

Re: [Machinekit] Re: Will DE0-Nano image work on a DE10-Nano board?

2017-08-12 Thread mugginsac
Charles, That worked. I now have the DE10-Nano booting into Debian Stretch console. I just formatted the Angstrom partitition, expanded the partition to fill the uSD card, made an ext4 partition out of it, and then followed Robert Nelson's instructions to expand the minfs tar into the

[Machinekit] Re: Will DE0-Nano image work on a DE10-Nano board?

2017-08-11 Thread mugginsac
can't seem to find the corresponding folders or files on the two systems. On Monday, July 24, 2017 at 11:18:00 AM UTC-7, mugginsac wrote: > > I just wondered if the machinekit image for a DE0-Nano-SOC board will run > on a DE10-Nano? > > Alan > -- website: http://www.machin

Re: [Machinekit] Will DE0-Nano image work on a DE10-Nano board?

2017-08-08 Thread mugginsac
I got a USB OTG cable from Digikey and I am now able to boot the DE10-Nano with an HDMI monitor, keyboard and mouse. On Tuesday, August 8, 2017 at 8:49:21 AM UTC-7, mugginsac wrote: > > Charles, > > I understand how ignoring HDMI to start may be easier, however, the reason >

Re: [Machinekit] Will DE0-Nano image work on a DE10-Nano board?

2017-08-08 Thread mugginsac
Charles, I understand how ignoring HDMI to start may be easier, however, the reason that I bought the DE10 instead of the DE0 is the HDMI. :-( Alan On Tuesday, August 8, 2017 at 4:01:07 AM UTC-7, Charles Steinkuehler wrote: > > Yes, it would be much easier to load a single FPGA image via

Re: [Machinekit] Will DE0-Nano image work on a DE10-Nano board?

2017-08-04 Thread mugginsac
OK, I got a new 1TB hard disk for my D525MW board, installed Debian Stretch and the associated development software. I have ordered three of the DB25 boards that Charles designed. I tried to follow the instructions from Robert Nelson's socfpga-kernel-dev page on eewiki. I got down to the

Re: [Machinekit] Will DE0-Nano image work on a DE10-Nano board?

2017-07-30 Thread mugginsac
UTC-7, mugginsac wrote: > > I placed the order for a DE10-Nano. > Alan > > On Wednesday, July 26, 2017 at 2:15:29 PM UTC-7, Charles Steinkuehler > wrote: >> >> >> I'll try to carve out some time to get an FPGA project setup for the >> DE10-nano

Re: [Machinekit] Will DE0-Nano image work on a DE10-Nano board?

2017-07-27 Thread mugginsac
I placed the order for a DE10-Nano. Alan On Wednesday, July 26, 2017 at 2:15:29 PM UTC-7, Charles Steinkuehler wrote: > > > I'll try to carve out some time to get an FPGA project setup for the > DE10-nano, unless someone else feels up to the task. > > -- > Charles Steinkuehler >