I've recently done something like this just 3 weeks ago.
I started with using the omap-serial-rs485.c driver (TI). I made some
modifications (blink some LEDs) to the driver and have it compiled in the
kernel at
/KERNEL/drivers/tty/serial.
I then modified the am335x-boneblack.dts file to make
I've got a slight issue--
On my hardware:
root@localhost:/sys/class/uio# uname -r
3.14.54-ti-rt-r77
root@localhost:/sys/class/uio# lsmod
Module Size Used by
usb_f_ecm 7909 1
g_ether 1802 0
usb_f_rndis17719 2 g_ether
u_ether