Hi I've tried to follow along all example from
https://machinekoder.com/machinekit-debian-stretch-beaglebone-black/ as well as https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Stretch_Snapshot_console An I too an unable to get any PRU examples to work.... I am getting the insmod errors. I have a brand new BBB. Are there any up to date step by step instructions as to get a working machinekit system with a BBB? Any help is appreciated. Scott On Tuesday, June 19, 2018 at 4:58:16 PM UTC-4, Kern Herskind Nightingale wrote: > > Mr Nelson, you are correct. More things are indeed working now. > > I'm able to run the pru-stepper.hal example (with some tweaks), but is it > a good starting point for a BBB-no-cape setup, or should I look at > something like the cramps example? > > Just to increase my understanding - did I mess up my install bigtime? or > is the BBB stretch image from elinux a bit wonky? (no window manager by > default, wrong flavor detection) > > Thanks for all your help! > > /Kern > > On Tuesday, 19 June 2018 19:29:54 UTC+1, Robert Nelson wrote: >> >> On Tue, Jun 19, 2018 at 1:23 PM, Kern Herskind Nightingale >> <[email protected]> wrote: >> > machinekit@beaglebone:~/src/machinekit/configs/pru-examples$ sudo >> > /opt/scripts/tools/version.sh >> > git:/opt/scripts/:[607c2f08e25c061f61ec78d15be3fe9b9999a3b7] >> > eeprom:[A335BNLT00C00618BBBK08CB] >> > model:[TI_AM335x_BeagleBone_Black] >> > dogtag:[Machinekit Debian Image 2018-06-03] >> > bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot >> > 2018.03-00002-gac9cce7c6a]:[location: dd MBR] >> >> >> > bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot >> > 2017.03-rc1-00003-ga09f2d]:[location: dd MBR] >> >> ^The old version of u-boot is blocking u-boot overlays.. >> >> sudo dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=10 >> >> > kernel:[4.14.44-ti-rt-r51] >> >> ^ update this by running: >> >> machinekit@beaglebone:~$ cd /opt/scripts/tools/ >> machinekit@beaglebone:/opt/scripts/tools$ git pull >> Already up-to-date. >> machinekit@beaglebone:/opt/scripts/tools$ sudo ./update_kernel.sh >> >> > uboot_overlay_options:[enable_uboot_overlays=1] >> > >> uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo] >> >> >> > uboot_overlay_options:[enable_uboot_cape_universal=1] >> > pkg:[bb-cape-overlays]:[4.4.20180424.0-0rcnee0~stretch+20180424] >> >> ^ This needs to be updated, uio overlay fix... >> >> sudo apt update >> sudo apt install --only-upgrade bb-cape-overlays >> >> > pkg:[bb-wl18xx-firmware]:[1.20180517-0rcnee0~stretch+20180517] >> > pkg:[roboticscape]:[0.4.4-git20180530.0-0rcnee0~stretch+20180530] >> > cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 >> > root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M >> > net.ifnames=0 quiet video=HDMI-A-1:1024x600M@60] >> > dmesg | grep pinctrl-single >> > [ 1.088958] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 >> size >> > 568 >> > dmesg | grep gpio-of-helper >> > [ 1.096802] gpio-of-helper ocp:cape-universal: ready >> > END >> >> Then just reboot, and a lot more things should be working.. >> >> Regards, >> >> -- >> Robert Nelson >> https://rcn-ee.com/ >> > -- 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.
