mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2024-11-28 14:23:09 +02:00
dde052cfc3
- added https://www.rtems.org/bugzilla/show_bug.cgi?id=2032 to patch set (Ioctl interface for loading USB firmware) - now really switched from using RTEMS CVS to git (forgot to commit all the changes before) - updated softusb -> FN update process
478 lines
28 KiB
Diff
478 lines
28 KiB
Diff
commit 72a02ec6c448b8a3fe003e575a5fe3f862100342
|
|
Author: Sebastien Bourdeauducq <sebastien@milkymist.org>
|
|
Date: Sun Feb 26 14:25:12 2012 +0100
|
|
|
|
Ioctl interface for loading USB firmware
|
|
|
|
diff --git a/c/src/lib/libbsp/lm32/shared/milkymist_usbinput/milkymist_usbinput.h b/c/src/lib/libbsp/lm32/shared/milkymist_usbinput/milkymist_usbinput.h
|
|
index dc91212..7db2b33 100644
|
|
--- a/c/src/lib/libbsp/lm32/shared/milkymist_usbinput/milkymist_usbinput.h
|
|
+++ b/c/src/lib/libbsp/lm32/shared/milkymist_usbinput/milkymist_usbinput.h
|
|
@@ -8,7 +8,7 @@
|
|
*
|
|
* $Id$
|
|
*
|
|
- * COPYRIGHT (c) 2010 Sebastien Bourdeauducq
|
|
+ * COPYRIGHT (c) 2010, 2012 Sebastien Bourdeauducq
|
|
*/
|
|
|
|
#ifndef __MILKYMIST_USBINPUT_H_
|
|
@@ -18,6 +18,14 @@
|
|
extern "C" {
|
|
#endif
|
|
|
|
+/* Ioctls */
|
|
+#define USBINPUT_LOAD_FIRMWARE 0x5500
|
|
+
|
|
+struct usbinput_firmware_description {
|
|
+ const unsigned char *data;
|
|
+ int length;
|
|
+};
|
|
+
|
|
rtems_device_driver usbinput_initialize(
|
|
rtems_device_major_number major,
|
|
rtems_device_minor_number minor,
|
|
@@ -36,8 +44,14 @@ rtems_device_driver usbinput_read(
|
|
void *arg
|
|
);
|
|
|
|
+rtems_device_driver usbinput_control(
|
|
+ rtems_device_major_number major,
|
|
+ rtems_device_minor_number minor,
|
|
+ void *arg
|
|
+);
|
|
+
|
|
#define USBINPUT_DRIVER_TABLE_ENTRY {usbinput_initialize, \
|
|
-usbinput_open, NULL, usbinput_read, NULL, NULL}
|
|
+usbinput_open, NULL, usbinput_read, NULL, usbinput_control}
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
diff --git a/c/src/lib/libbsp/lm32/shared/milkymist_usbinput/softusb-input.h b/c/src/lib/libbsp/lm32/shared/milkymist_usbinput/softusb-input.h
|
|
deleted file mode 100644
|
|
index 26feda0..0000000
|
|
--- a/c/src/lib/libbsp/lm32/shared/milkymist_usbinput/softusb-input.h
|
|
+++ /dev/null
|
|
@@ -1,329 +0,0 @@
|
|
-/* softusb-input.h
|
|
- *
|
|
- * Milkymist USB input devices driver for RTEMS
|
|
- *
|
|
- * The license and distribution terms for this file may be
|
|
- * found in the file LICENSE in this distribution or at
|
|
- * http://www.rtems.com/license/LICENSE.
|
|
- *
|
|
- * $Id$
|
|
- *
|
|
- * COPYRIGHT (c) 2010, 2011 Sebastien Bourdeauducq
|
|
- */
|
|
-
|
|
- 0x0f, 0xef, 0x0e, 0xbf, 0x0f, 0xe1, 0x0d, 0xbf, 0xfb, 0xd5, 0x27, 0xc4,
|
|
- 0x5d, 0xc4, 0x76, 0xc4, 0x87, 0xc4, 0xa3, 0xc4, 0xda, 0xc4, 0x32, 0xc5,
|
|
- 0x52, 0xc5, 0x73, 0x6f, 0x66, 0x74, 0x75, 0x73, 0x62, 0x2d, 0x69, 0x6e,
|
|
- 0x70, 0x75, 0x74, 0x20, 0x76, 0x31, 0x2e, 0x30, 0x52, 0x43, 0x31, 0x0a,
|
|
- 0x00, 0x46, 0x75, 0x6c, 0x6c, 0x20, 0x73, 0x70, 0x65, 0x65, 0x64, 0x20,
|
|
- 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x20, 0x6f, 0x6e, 0x20, 0x70, 0x6f,
|
|
- 0x72, 0x74, 0x20, 0x00, 0x4c, 0x6f, 0x77, 0x20, 0x73, 0x70, 0x65, 0x65,
|
|
- 0x64, 0x20, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x20, 0x6f, 0x6e, 0x20,
|
|
- 0x70, 0x6f, 0x72, 0x74, 0x20, 0x00, 0x56, 0x49, 0x44, 0x3a, 0x20, 0x00,
|
|
- 0x2c, 0x20, 0x50, 0x49, 0x44, 0x3a, 0x20, 0x00, 0x46, 0x6f, 0x75, 0x6e,
|
|
- 0x64, 0x20, 0x00, 0x75, 0x6e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74,
|
|
- 0x65, 0x64, 0x20, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x0a, 0x00, 0x6b,
|
|
- 0x65, 0x79, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x0a, 0x00, 0x6d, 0x6f, 0x75,
|
|
- 0x73, 0x65, 0x0a, 0x00, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x20, 0x64,
|
|
- 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x20, 0x6f, 0x6e,
|
|
- 0x20, 0x70, 0x6f, 0x72, 0x74, 0x20, 0x00, 0x43, 0x6f, 0x6e, 0x74, 0x72,
|
|
- 0x6f, 0x6c, 0x20, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x20,
|
|
- 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x3a, 0x0a, 0x00, 0x53, 0x45, 0x54,
|
|
- 0x55, 0x50, 0x20, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x3a, 0x0a, 0x00, 0x49,
|
|
- 0x4e, 0x20, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x3a, 0x0a, 0x00, 0x4f, 0x55,
|
|
- 0x54, 0x2f, 0x44, 0x41, 0x54, 0x41, 0x20, 0x72, 0x65, 0x70, 0x6c, 0x79,
|
|
- 0x3a, 0x0a, 0x00, 0x28, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74,
|
|
- 0x69, 0x6f, 0x6e, 0x29, 0x0a, 0x00, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66,
|
|
- 0x65, 0x72, 0x20, 0x73, 0x74, 0x61, 0x72, 0x74, 0x3a, 0x20, 0x00, 0x52,
|
|
- 0x58, 0x20, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x20, 0x65, 0x72,
|
|
- 0x72, 0x6f, 0x72, 0x0a, 0x00, 0x52, 0x58, 0x20, 0x62, 0x69, 0x74, 0x73,
|
|
- 0x74, 0x75, 0x66, 0x66, 0x20, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x0a, 0x00,
|
|
- 0x52, 0x65, 0x74, 0x72, 0x79, 0x20, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x20,
|
|
- 0x65, 0x78, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, 0x2c, 0x20, 0x64, 0x69,
|
|
- 0x73, 0x61, 0x62, 0x6c, 0x69, 0x6e, 0x67, 0x20, 0x64, 0x65, 0x76, 0x69,
|
|
- 0x63, 0x65, 0x2e, 0x0a, 0x00, 0x44, 0x41, 0x54, 0x41, 0x78, 0x20, 0x6d,
|
|
- 0x69, 0x73, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x0a, 0x00, 0x28, 0x6e, 0x6f,
|
|
- 0x20, 0x64, 0x61, 0x74, 0x61, 0x29, 0x0a, 0x00, 0x30, 0x31, 0x32, 0x33,
|
|
- 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46,
|
|
- 0x00, 0x00, 0xc1, 0x81, 0x40, 0x01, 0xc0, 0x80, 0x41, 0x01, 0xc0, 0x80,
|
|
- 0x41, 0x00, 0xc1, 0x81, 0x40, 0x01, 0xc0, 0x80, 0x41, 0x00, 0xc1, 0x81,
|
|
- 0x40, 0x00, 0xc1, 0x81, 0x40, 0x01, 0xc0, 0x80, 0x41, 0x01, 0xc0, 0x80,
|
|
- 0x41, 0x00, 0xc1, 0x81, 0x40, 0x00, 0xc1, 0x81, 0x40, 0x01, 0xc0, 0x80,
|
|
- 0x41, 0x00, 0xc1, 0x81, 0x40, 0x01, 0xc0, 0x80, 0x41, 0x01, 0xc0, 0x80,
|
|
- 0x41, 0x00, 0xc1, 0x81, 0x40, 0x01, 0xc0, 0x80, 0x41, 0x00, 0xc1, 0x81,
|
|
- 0x40, 0x00, 0xc1, 0x81, 0x40, 0x01, 0xc0, 0x80, 0x41, 0x00, 0xc1, 0x81,
|
|
- 0x40, 0x01, 0xc0, 0x80, 0x41, 0x01, 0xc0, 0x80, 0x41, 0x00, 0xc1, 0x81,
|
|
- 0x40, 0x00, 0xc1, 0x81, 0x40, 0x01, 0xc0, 0x80, 0x41, 0x01, 0xc0, 0x80,
|
|
- 0x41, 0x00, 0xc1, 0x81, 0x40, 0x01, 0xc0, 0x80, 0x41, 0x00, 0xc1, 0x81,
|
|
- 0x40, 0x00, 0xc1, 0x81, 0x40, 0x01, 0xc0, 0x80, 0x41, 0x01, 0xc0, 0x80,
|
|
- 0x41, 0x00, 0xc1, 0x81, 0x40, 0x00, 0xc1, 0x81, 0x40, 0x01, 0xc0, 0x80,
|
|
- 0x41, 0x00, 0xc1, 0x81, 0x40, 0x01, 0xc0, 0x80, 0x41, 0x01, 0xc0, 0x80,
|
|
- 0x41, 0x00, 0xc1, 0x81, 0x40, 0x00, 0xc1, 0x81, 0x40, 0x01, 0xc0, 0x80,
|
|
- 0x41, 0x01, 0xc0, 0x80, 0x41, 0x00, 0xc1, 0x81, 0x40, 0x01, 0xc0, 0x80,
|
|
- 0x41, 0x00, 0xc1, 0x81, 0x40, 0x00, 0xc1, 0x81, 0x40, 0x01, 0xc0, 0x80,
|
|
- 0x41, 0x00, 0xc1, 0x81, 0x40, 0x01, 0xc0, 0x80, 0x41, 0x01, 0xc0, 0x80,
|
|
- 0x41, 0x00, 0xc1, 0x81, 0x40, 0x01, 0xc0, 0x80, 0x41, 0x00, 0xc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x2f,
|
|
- 0x87, 0x56, 0x9e, 0x4f, 0xe8, 0x2f, 0xf9, 0x2f, 0xc8, 0x95, 0x90, 0x2d,
|
|
- 0x92, 0x27, 0x47, 0x56, 0x5d, 0x4f, 0xe4, 0x2f, 0xf5, 0x2f, 0xc8, 0x95,
|
|
- 0x80, 0x2d, 0x3f, 0x5f, 0x28, 0x2f, 0x36, 0x17, 0x48, 0xf3, 0x90, 0x95,
|
|
- 0x98, 0x83, 0x20, 0x95, 0x29, 0x83, 0xdf, 0x91, 0xcf, 0x91, 0x08, 0x95,
|
|
- 0xcf, 0x93, 0xdf, 0x93, 0xc8, 0x2f, 0xd9, 0x2f, 0x20, 0xe0, 0x30, 0xe0,
|
|
- 0x0c, 0xc0, 0xec, 0x2f, 0xfd, 0x2f, 0xe2, 0x0f, 0xf3, 0x1f, 0xa6, 0x2f,
|
|
- 0xb7, 0x2f, 0xa2, 0x0f, 0xb3, 0x1f, 0x8c, 0x91, 0x80, 0x83, 0x2f, 0x5f,
|
|
- 0x3f, 0x4f, 0x24, 0x17, 0x35, 0x07, 0x8c, 0xf3, 0x8c, 0x2f, 0x9d, 0x2f,
|
|
- 0xdf, 0x91, 0xcf, 0x91, 0x08, 0x95
|
|
diff --git a/c/src/lib/libbsp/lm32/shared/milkymist_usbinput/usbinput.c b/c/src/lib/libbsp/lm32/shared/milkymist_usbinput/usbinput.c
|
|
index 6931748..521b311 100644
|
|
--- a/c/src/lib/libbsp/lm32/shared/milkymist_usbinput/usbinput.c
|
|
+++ b/c/src/lib/libbsp/lm32/shared/milkymist_usbinput/usbinput.c
|
|
@@ -8,7 +8,7 @@
|
|
*
|
|
* $Id$
|
|
*
|
|
- * COPYRIGHT (c) 2010, 2011 Sebastien Bourdeauducq
|
|
+ * COPYRIGHT (c) 2010, 2011, 2012 Sebastien Bourdeauducq
|
|
*/
|
|
|
|
#define RTEMS_STATUS_CHECKS_USE_PRINTK
|
|
@@ -25,10 +25,6 @@
|
|
#include "../include/system_conf.h"
|
|
#include "milkymist_usbinput.h"
|
|
|
|
-static const unsigned char input_firmware[] = {
|
|
-#include "softusb-input.h"
|
|
-};
|
|
-
|
|
#include "comloc.h"
|
|
|
|
#define DEVICE_NAME "/dev/usbinput"
|
|
@@ -76,23 +72,9 @@ rtems_device_driver usbinput_initialize(
|
|
)
|
|
{
|
|
rtems_status_code sc;
|
|
- volatile unsigned int *usb_dmem
|
|
- = (volatile unsigned int *)MM_SOFTUSB_DMEM_BASE;
|
|
- volatile unsigned int *usb_pmem
|
|
- = (volatile unsigned int *)MM_SOFTUSB_PMEM_BASE;
|
|
- int i, nwords;
|
|
rtems_isr_entry dummy;
|
|
|
|
MM_WRITE(MM_SOFTUSB_CONTROL, SOFTUSB_CONTROL_RESET);
|
|
- for(i=0;i<SOFTUSB_DMEM_SIZE/4;i++)
|
|
- usb_dmem[i] = 0;
|
|
- for(i=0;i<SOFTUSB_PMEM_SIZE/2;i++)
|
|
- usb_pmem[i] = 0;
|
|
- nwords = (sizeof(input_firmware)+1)/2;
|
|
- for(i=0;i<nwords;i++)
|
|
- usb_pmem[i] = ((unsigned int)(input_firmware[2*i]))
|
|
- |((unsigned int)(input_firmware[2*i+1]) << 8);
|
|
- MM_WRITE(MM_SOFTUSB_CONTROL, 0);
|
|
|
|
mouse_consume = 0;
|
|
keyboard_consume = 0;
|
|
@@ -157,3 +139,43 @@ rtems_device_driver usbinput_read(
|
|
return RTEMS_UNSATISFIED;
|
|
}
|
|
}
|
|
+
|
|
+static void load_firmware(const unsigned char *firmware, int length)
|
|
+{
|
|
+ int i, nwords;
|
|
+ volatile unsigned int *usb_dmem
|
|
+ = (volatile unsigned int *)MM_SOFTUSB_DMEM_BASE;
|
|
+ volatile unsigned int *usb_pmem
|
|
+ = (volatile unsigned int *)MM_SOFTUSB_PMEM_BASE;
|
|
+
|
|
+ MM_WRITE(MM_SOFTUSB_CONTROL, SOFTUSB_CONTROL_RESET);
|
|
+ for(i=0;i<SOFTUSB_DMEM_SIZE/4;i++)
|
|
+ usb_dmem[i] = 0;
|
|
+ for(i=0;i<SOFTUSB_PMEM_SIZE/2;i++)
|
|
+ usb_pmem[i] = 0;
|
|
+ nwords = (length+1)/2;
|
|
+ for(i=0;i<nwords;i++)
|
|
+ usb_pmem[i] = ((unsigned int)(firmware[2*i]))
|
|
+ |((unsigned int)(firmware[2*i+1]) << 8);
|
|
+ MM_WRITE(MM_SOFTUSB_CONTROL, 0);
|
|
+}
|
|
+
|
|
+rtems_device_driver usbinput_control(
|
|
+ rtems_device_major_number major,
|
|
+ rtems_device_minor_number minor,
|
|
+ void *arg
|
|
+)
|
|
+{
|
|
+ rtems_libio_ioctl_args_t *args = arg;
|
|
+ struct usbinput_firmware_description *fd
|
|
+ = (struct usbinput_firmware_description *)args->buffer;
|
|
+
|
|
+ if(args->command == USBINPUT_LOAD_FIRMWARE) {
|
|
+ load_firmware(fd->data, fd->length);
|
|
+ args->ioctl_return = 0;
|
|
+ return RTEMS_SUCCESSFUL;
|
|
+ } else {
|
|
+ args->ioctl_return = -1;
|
|
+ return RTEMS_UNSATISFIED;
|
|
+ }
|
|
+}
|