Hi,
not wanting to hijack the thread or anything, but I've also been looking at 
updating the kernel to the latest version for machinekit
I'm currently in the process of figuring out how to setup a new machinekit 
setup
I'm using a BeagleBone Green (v1) With the latest debian stretch image from 
the beaglebone site
using the guide from 
https://machinekoder.com/machinekit-debian-stretch-beaglebone-black/

I've been using the commands you've mentioned to test out some of the newer 
kernel releases
(also doing a git pull in that directory to update /opt/scripts/tools/)

For version 4.4
I think this works okay so far, but I'd prefer to use a later version.

For version 4.9
I think there's a glitch in the kernel when I tested it with realtime
```
realtime start
halcmd show pin
realtime stop
```

This resulted in dmesg
```
[  160.328837] IPv6: ADDRCONF(NETDEV_UP): usb1: link is not ready
[  163.498868] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  168.193722] random: crng init done
[  290.635798] ------------[ cut here ]------------
[  290.635849] WARNING: CPU: 0 PID: 816 at fs/sysfs/dir.c:31 
sysfs_warn_dup+0x78/0x88
[  290.635857] sysfs: cannot create duplicate filename 
'/bus/platform/devices/4a300000.pruss'
[  290.635863] Modules linked in: pruss_soc_bus(+) evdev uio_pdrv_genirq 
uio usb_f_mass_storage usb_f_acm u_serial usb_f_ecm usb_f_rndis u_ether 
libcomposite iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 
nf_nat nf_conntrack iptable_mangle iptable_filter spidev pru_rproc 
pruss_intc pruss tieqep ip_tables x_tables
[  290.635938] CPU: 0 PID: 816 Comm: systemd-udevd Not tainted 
4.9.69-ti-rt-r84 #1
[  290.635942] Hardware name: Generic AM33XX (Flattened Device Tree)
[  290.635980] [<c0114500>] (unwind_backtrace) from [<c010ddd0>] 
(show_stack+0x20/0x24)
[  290.635993] [<c010ddd0>] (show_stack) from [<c075ef34>] 
(dump_stack+0x80/0x94)
[  290.636006] [<c075ef34>] (dump_stack) from [<c013ea20>] 
(__warn+0xf8/0x110)
[  290.636016] [<c013ea20>] (__warn) from [<c013ea90>] 
(warn_slowpath_fmt+0x58/0x74)
[  290.636026] [<c013ea90>] (warn_slowpath_fmt) from [<c0377a4c>] 
(sysfs_warn_dup+0x78/0x88)
[  290.636038] [<c0377a4c>] (sysfs_warn_dup) from [<c0377e24>] 
(sysfs_do_create_link_sd+0xc4/0xcc)
[  290.636046] [<c0377e24>] (sysfs_do_create_link_sd) from [<c0377e64>] 
(sysfs_create_link+0x38/0x44)
[  290.636063] [<c0377e64>] (sysfs_create_link) from [<c08ef104>] 
(bus_add_device+0x11c/0x1c0)
[  290.636074] [<c08ef104>] (bus_add_device) from [<c08ecc3c>] 
(device_add+0x2e0/0x5e0)
[  290.636086] [<c08ecc3c>] (device_add) from [<c0b10ab8>] 
(of_device_add+0x44/0x4c)
[  290.636097] [<c0b10ab8>] (of_device_add) from [<c0b111d8>] 
(of_platform_device_create_pdata+0x94/0xcc)
[  290.636108] [<c0b111d8>] (of_platform_device_create_pdata) from 
[<c0b11518>] (of_platform_bus_create+0x18c/0x33c)
[  290.636116] [<c0b11518>] (of_platform_bus_create) from [<c0b118c8>] 
(of_platform_populate+0x9c/0x13c)
[  290.636146] [<c0b118c8>] (of_platform_populate) from [<bf11d2d4>] 
(pruss_soc_bus_probe+0x12c/0x290 [pruss_soc_bus])
   290.636191] [<bf11d2d4>] (pruss_soc_bus_probe [pruss_soc_bus]) from 
[<c08f2a70>] (platform_drv_probe+0x60/0xc0)
[  290.636203] [<c08f2a70>] (platform_drv_probe) from [<c08f032c>] 
(driver_probe_device+0x27c/0x46c)
[  290.636213] [<c08f032c>] (driver_probe_device) from [<c08f0628>] 
(__driver_attach+0x10c/0x128)
[  290.636222] [<c08f0628>] (__driver_attach) from [<c08eddb8>] 
(bus_for_each_dev+0x8c/0xd0)
[  290.636231] [<c08eddb8>] (bus_for_each_dev) from [<c08efb14>] 
(driver_attach+0x2c/0x30)
[  290.636241] [<c08efb14>] (driver_attach) from [<c08ef550>] 
(bus_add_driver+0x1b8/0x278)
[  290.636250] [<c08ef550>] (bus_add_driver) from [<c08f1470>] 
(driver_register+0x88/0x104)
[  290.636261] [<c08f1470>] (driver_register) from [<c08f29bc>] 
(__platform_driver_register+0x50/0x58)
[  290.636275] [<c08f29bc>] (__platform_driver_register) from [<bf120020>] 
(pruss_soc_bus_driver_init+0x20/0xc0 [pruss_soc_bus])
[  290.636293] [<bf120020>] (pruss_soc_bus_driver_init [pruss_soc_bus]) 
from [<c0101994>] (do_one_initcall+0x64/0x1a0)
[  290.636313] [<c0101994>] (do_one_initcall) from [<c027b284>] 
(do_init_module+0x74/0x3d8)
[  290.636329] [<c027b284>] (do_init_module) from [<c01e8fa8>] 
(load_module+0x1fd4/0x26d8)
[  290.636341] [<c01e8fa8>] (load_module) from [<c01e997c>] 
(SyS_finit_module+0xf0/0x120)
[  290.636356] [<c01e997c>] (SyS_finit_module) from [<c0109180>] 
(__sys_trace_return+0x0/0x10)
[  290.636362] ---[ end trace 0000000000000002 ]---
```

With version 4.14
I think this works okay (no kernel messages when using testing with 
realtime)
But I've noticed there's no linux-firmware-image for 4.14.6-ti-rt-r17
https://rcn-ee.com/repos/debian/pool/main/l/linux-upstream/
I'm not sure if it's missing or perhaps not needed with this kernel version


I was going to ask which is better to use bone-rt or ti-rt
I'm not sure what the differences are, but looking at the thread it looks 
like ti-rt is preferred
although bone-rt does have a firmware image for 4.13
linux-firmware-image-4.13.16-bone-rt-r3_1stretch_armhf.deb
(perhaps these are not needed for 4.14 I'm unsure)

Many Thanks
Richard


On Friday, December 15, 2017 at 3:04:29 PM UTC, Robert Nelson wrote:
>
> On Fri, Dec 15, 2017 at 8:55 AM,  <[email protected] <javascript:>> 
> wrote: 
> > I'm flashing the 4.14 TI RT kernel that Robert linked earlier. I'll let 
> you 
> > know how it goes. Where is the image of the 4.4 TI RT kernel that you'd 
> like 
> > me to try? Or is there an easy what to switch out the kernel for the 
> image I 
> > have? 
>
> Hi John, 
>
> v4.14-ti-rt: 
>
> sudo /opt/scripts/tools/update_kernel.sh --ti-rt-channel --lts-4_14 
>
> v4.4.x-ti-rt 
>
> --lts-4_4 
>
> v4.9.x-ti-rt 
>
> --lts-4_9 
>
> Once a kernel deb files get's installed it just a matter of changing: 
>
> uname_r in /boot/uEnv.txt to swap between versions.. 
>
> 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.

Reply via email to