diff options
author | Mike Fiore <mfiore@multitech.com> | 2013-05-03 13:10:43 -0500 |
---|---|---|
committer | Mike Fiore <mfiore@multitech.com> | 2013-05-03 13:10:43 -0500 |
commit | 050448154d1b2b6b74d0ffb90ca26f34367dbdc8 (patch) | |
tree | 923988b0337ab5026e2f87826105dbb9f6ddf342 /multitech | |
parent | d8188ec8d5f39b80f94da6b8f4f481bd963d0114 (diff) |
mtocgd: add support for usb debug port
Diffstat (limited to 'multitech')
3 files changed, 9 insertions, 6 deletions
diff --git a/multitech/conf/machine/mtocgd.conf b/multitech/conf/machine/mtocgd.conf index 9aa1af9..d6bb11f 100644 --- a/multitech/conf/machine/mtocgd.conf +++ b/multitech/conf/machine/mtocgd.conf @@ -20,7 +20,7 @@ PREFERRED_VERSION_at91bootstrap = "3.5.3" #don't try to access tty1 USE_VT = "0" -MACHINE_FEATURES = "kernel26 ext2 usbhost" +MACHINE_FEATURES = "kernel26 ext2 usbhost usbgadget" EXTRA_IMAGEDEPENDS += "at91bootstrap u-boot" # used by sysvinit_2 diff --git a/multitech/recipes/linux/linux-2.6.39-at91/mtocgd/linux-2.6.39.4-mach-at91-mtocgd.patch b/multitech/recipes/linux/linux-2.6.39-at91/mtocgd/linux-2.6.39.4-mach-at91-mtocgd.patch index 9832c23..1ca54a8 100644 --- a/multitech/recipes/linux/linux-2.6.39-at91/mtocgd/linux-2.6.39.4-mach-at91-mtocgd.patch +++ b/multitech/recipes/linux/linux-2.6.39-at91/mtocgd/linux-2.6.39.4-mach-at91-mtocgd.patch @@ -1,7 +1,7 @@ Index: git/arch/arm/mach-at91/board-sam9x5cm.c =================================================================== --- git.orig/arch/arm/mach-at91/board-sam9x5cm.c 2013-04-17 17:15:13.000000000 -0500 -+++ git/arch/arm/mach-at91/board-sam9x5cm.c 2013-05-01 15:02:23.164462880 -0500 ++++ git/arch/arm/mach-at91/board-sam9x5cm.c 2013-05-01 15:08:26.536469850 -0500 @@ -18,6 +18,9 @@ #include <linux/platform_device.h> #include <linux/spi/flash.h> @@ -194,7 +194,7 @@ Index: git/arch/arm/mach-at91/board-sam9x5cm.c Index: git/arch/arm/mach-at91/board-sam9x5ek.c =================================================================== --- git.orig/arch/arm/mach-at91/board-sam9x5ek.c 2013-04-17 17:15:13.000000000 -0500 -+++ git/arch/arm/mach-at91/board-sam9x5ek.c 2013-05-01 14:52:00.492450935 -0500 ++++ git/arch/arm/mach-at91/board-sam9x5ek.c 2013-05-02 17:03:25.395026565 -0500 @@ -23,6 +23,7 @@ #include <linux/leds.h> #include <linux/clk.h> @@ -311,9 +311,9 @@ Index: git/arch/arm/mach-at91/board-sam9x5ek.c at91_add_device_usbh_ohci(&ek_usbh_fs_data); at91_add_device_usbh_ehci(&ek_usbh_hs_data); /* USB HS Device */ -+ /* MTR: No USB Device ++ /* MTR: No USB Device */ at91_add_device_usba(&ek_usba_udc_data); -+ */ ++ /* Ethernet */ at91_add_device_eth(0, &ek_macb0_data); + /* MTR: no macb1 @@ -379,7 +379,7 @@ Index: git/arch/arm/mach-at91/board-sam9x5ek.c Index: git/arch/arm/mach-at91/at91sam9x5_devices.c =================================================================== --- git.orig/arch/arm/mach-at91/at91sam9x5_devices.c 2013-04-17 17:15:13.000000000 -0500 -+++ git/arch/arm/mach-at91/at91sam9x5_devices.c 2013-05-01 14:52:00.492450935 -0500 ++++ git/arch/arm/mach-at91/at91sam9x5_devices.c 2013-05-01 15:08:26.536469850 -0500 @@ -543,11 +543,11 @@ #endif diff --git a/multitech/recipes/sysvinit/sysvinit/mtocgd/inittab b/multitech/recipes/sysvinit/sysvinit/mtocgd/inittab index 6abbdf4..7b0dae8 100644 --- a/multitech/recipes/sysvinit/sysvinit/mtocgd/inittab +++ b/multitech/recipes/sysvinit/sysvinit/mtocgd/inittab @@ -28,3 +28,6 @@ l5:5:wait:/etc/init.d/rc 5 l6:6:wait:/etc/init.d/rc 6 # Normally not reached, but fallthrough in case of emergency. z6:6:respawn:/sbin/sulogin + +# USB serial terminal +GS0:2345:respawn:/sbin/getty 115200 ttyGS0 |