#linuxcnc Logs
Oct 02 2025
#linuxcnc Calendar
01:02 AM Deejay: moin
07:54 AM Tom_L: bit of rain this morning
08:33 AM Tom_L: skunkworks, did you have to edit the config for nvme?
08:36 AM lcnc-relay: <skunkworks8841@> no - it just booted
08:37 AM Tom_L: i wonder if it searches for sd first
08:46 AM lcnc-relay: <lesliet@> moin
09:10 AM lcnc-relay: <skunkworks8841@> it connects to the pcie buss - I bet it is just more like a normal linux box then.
09:11 AM lcnc-relay: <skunkworks8841@> when you booted the rpi4 from usb - you needed to update the firmware? or something
09:11 AM Tom_L: i think so
09:12 AM Tom_L: i know it wasn't automagic
09:12 AM * JT-Cave heads to town
09:14 AM Tom_L: at least not on early firmwares
09:15 AM Tom_L: huh... Yes, a Raspberry Pi 4 can boot from an NVMe drive using a compatible M.2 HAT+, but you must first update the Pi's bootloader and set the boot order to prioritize NVMe storage
09:16 AM Tom_L: takes a different hat.. the pinout is different
09:19 AM Tom_L: doesn't look that friendly to do
10:18 AM lcnc-relay: <skunkworks8841@> The 5 seems just better
11:10 AM Tom_L: ah hah, i just checked the M.2 i have and it _is_ nvme
11:12 AM * JT-Cave now has two nights in Bowling Green
11:12 AM Tom_L: that's this weekend?
11:12 AM JT-Cave: no rush touring the museum
11:13 AM JT-Cave: next Thursday and Friday
11:13 AM Tom_L: i'll be out of commission
11:13 AM JT-Cave: what's going on?
11:17 AM Tom_L: skunkworks, http://tom-itx.no-ip.biz:443/~webpage/cnc/Rpi5/pics/Nvme_ssd.jpg
11:17 AM Tom_L: that should work i think
12:50 PM lcnc-relay: <skunkworks8841@> I would think so..
01:00 PM lcnc-relay: <skunkworks8841@> have you gottent he usb-nvme yet?
01:01 PM Tom_L: no
01:01 PM Tom_L: 6-9pm delivery
01:08 PM fogl: hello everybody
01:09 PM fogl: i am having problems wtiting to external pcie card in .hal module
01:11 PM Tom_L: be a little more specific
01:11 PM fogl: If i write one register right after another, the second one is written with all zeros
01:11 PM fogl: but if i add a delay, everythings works fine
01:11 PM Tom_L: maybe it needs the delay
01:11 PM fogl: i am not sure if the problem is rtai or my pcie card
01:11 PM Tom_L: what rtai?
01:11 PM fogl: the delay between two writes is 56 ns
01:11 PM Tom_L: i heard the very latest had a bug
01:12 PM Tom_L: i forgot the number
01:12 PM fogl: Linux kdLinuxCNC 4.19.0-21-rt-amd64 #1 SMP PREEMPT RT Debian 4.19.249-2 (2022-06-30) x86_64 GNU/Linux
01:12 PM Tom_L: that is not RTAI
01:13 PM Tom_L: that is preempt-rt
01:13 PM fogl: the bug would be great, if it was solved :)
01:13 PM fogl: oh
01:13 PM fogl: sorry
01:14 PM fogl: would that make a difference?
01:14 PM Tom_L: maybe not
01:14 PM Tom_L: not on pcie i think (not positive)
01:14 PM Tom_L: it's harder to find a RTAI build
01:15 PM Tom_L: https://onelaboratories.us/abc/
01:15 PM Tom_L: test files
01:15 PM Tom_L: install order matters i think
01:15 PM fogl: what do you mean by "not on pcie"
01:15 PM fogl: ?
01:15 PM fogl: that the problem is not on the pcie card?
01:15 PM Tom_L: ethernet spi parport
01:16 PM Tom_L: i don't know
01:16 PM fogl: no, it is my custom xilinx pcie card
01:16 PM Tom_L: walking out the door right now though
01:20 PM fogl: i tested it with picoEVB Artix PCIe board, and i got the same problems (https://www.crowdsupply.com/rhs-research/picoevb)
02:07 PM lcnc-relay: <skunkworks8841@> fogl: nothing really to add other than looking at other pcie device drivers in hal..
02:37 PM Unterhaus_ is now known as Unterhausen
02:57 PM * JT-Shop cleans out the blasting cabinet
03:28 PM rdtsc-w: fyi, if you ever want to really mess up a barcode scanner, just expose it to silicone oil...
03:48 PM fogl: @lcnc-relay, it is my driver, it is very simple, just writes two numbers on specific adress
03:48 PM xxcoder: lcnc-relay is a bridge to matrix and discord, skunks is one who said it :)
03:50 PM fogl: :), ok
03:57 PM fogl: is it possible to strace pcie read and write commands?
05:01 PM pcw__: Is the memory region non-cached?
06:01 PM * JT-Shop finally got the trailing arm clean and painted
06:48 PM lcnc-relay: <skunkworks8841@> well - Found the lost rpi5
06:49 PM lcnc-relay: <skunkworks8841@> it was still in the box. but. am missing two of the fans kits
06:51 PM lcnc-relay: <skunkworks8841@> I am guessing they are in the house somewhere. but - I have been cleaning up - so that is good
06:53 PM lcnc-relay: <skunkworks8841@> I thought for sure the rpi was together on a machine somewhere
07:00 PM roycroft: so my local mechanic cannot do the repair on my pickup transmission
07:01 PM roycroft: i've been shopping around, and the failed seal replacement is going to be $1200-$1500, depending on the shop
07:01 PM roycroft: but all of them cautioned me that i may need a full transmission rebuild, which is ~$5500
07:02 PM * roycroft does not have the budget for that, and is going to have to scramble if he has to budget for the worst case
07:03 PM roycroft: i think whomever i choose, i'll want to be there on the day the drop the pan for the initial inspection, as that will tell how much work needs to be done
07:05 PM roycroft: also, all the shops in eugene are a month out
07:05 PM roycroft: so it's not getting fixed any time soon
07:05 PM roycroft: i have appointments at two shops
07:05 PM roycroft: but it's still a monthe out
07:06 PM roycroft: more than a month, actually - one shop has me on the schedule for 10 november, and the other on 13 november
07:07 PM lcnc-relay: <skunkworks8841@> ugh- sorry
07:27 PM roycroft: yeah, it sucks
07:27 PM roycroft: but it would cost $15k to get another similar pickup
07:27 PM roycroft: so doing whatever it takes to fix the transmission is a no-brainer
07:27 PM roycroft: but now i'm exploring how much it would cost to replace it with a manual transmission
07:28 PM xxcoder: sucks. sometimes its cheaper to just get another transmission, if you have skills to
07:28 PM roycroft: which i woudl absolutely prefer
07:28 PM roycroft: i'm not going to do a tranny swap myself
07:28 PM roycroft: i've done that on smaller pickups
07:28 PM roycroft: but this one is way to big for me to even begin to consider doing that myself
07:33 PM xxcoder: I bet
07:33 PM Tom_L: skunkworks, just arrived
07:54 PM Tom_L: seems to 'just work'
07:54 PM Tom_L: i think my evo ssd is dead though
07:55 PM fluffywolf: I got seals to re-seal a transmission a couple weeks ago... got a spare one I'm going to make shiny and then swap in.
07:56 PM fluffywolf: also has less than half the miles on it. heh.
08:12 PM roycroft: i paid $6k less for the pickup than it was worth when i bought it
08:12 PM roycroft: so if i have to pay $5.5k for a transmission rebuild it's still kind of a wash
08:12 PM roycroft: at least, i can rationalize it that way and not feel so bad
08:13 PM roycroft: but $5.5k would pretty much deplete my cash reservers, so if that's what it ends up being i'll have to focus on building up reserves for a while
08:14 PM lfluffywof is now known as fluffywolf
08:15 PM fluffywolf: is it some exotic transmission that can't be found at a junkyard for about a tenth that price?
08:15 PM Tom_L: skunkworks, saved my image from the sd and copied it to the nvme drive and it just worked
08:27 PM xxcoder: heavy rain
08:27 PM xxcoder: tom nice
08:28 PM fluffywolf: bbl
08:42 PM -!- #linuxcnc mode set to +v by ChanServ
08:42 PM -!- #linuxcnc mode set to +v by ChanServ
08:43 PM lcnc-relay: <skunkworks8841@> Neat.. pretty cool platform
08:44 PM Tom_L: it is
08:51 PM lcnc-relay: <skunkworks8841@> You could see the possibilities with the rpi4...
08:52 PM Tom_L: the 5 is really no comparison
08:52 PM Tom_L: numbers are better than most PCs
08:53 PM xxcoder: and very repeatable. easy to buy rpi and not have to try buy same hardware collection for best lcnc pc
08:53 PM Tom_L: now they need an industrial version
08:54 PM Tom_L: and the nvme gets you away from the rw cycles on the sd
09:00 PM xxcoder: ugh and I thought it was over. 2 new mystery packages
09:01 PM xxcoder: in least one of em should be gold brick or million bucks to pay me back for the hassle
09:26 PM lcnc-relay: <skunkworks8841@> I was able to do decent software pwm with it too. It would do decent step generation - especially if the reset works.. hal manual says it should.