@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
ARCH:=arm
BOARD:=gemini
BOARDNAME:=Cortina Systems CS351x
-FEATURES:=squashfs pci rtc usb dt gpio display ext4 rootfs-part boot-part
+FEATURES:=squashfs pci rtc usb usbgadget dt gpio display ext4 rootfs-part boot-part
CPU_TYPE:=fa526
SUBTARGETS:=generic
new file mode 100644
@@ -0,0 +1,4 @@
+::sysinit:/etc/init.d/rcS S boot
+::shutdown:/etc/init.d/rcS K shutdown
+::askconsole:/usr/libexec/login.sh
+ttyGS0::askfirst:/usr/libexec/login.sh
@@ -168,7 +168,7 @@ define Device/dlink_dns-313
DEVICE_VENDOR := D-Link
DEVICE_MODEL := DNS-313 1-Bay Network Storage Enclosure
DEVICE_DTS := gemini-dlink-dns-313
- DEVICE_PACKAGES := $(GEMINI_NAS_PACKAGES)
+ DEVICE_PACKAGES := $(GEMINI_NAS_PACKAGES) kmod-usb-gadget kmod-usb-gadget-serial
BLOCKSIZE := 1k
FILESYSTEMS := ext4
IMAGES := factory.bin.gz
This brings up a serial console on the USB device port of the DNS-313. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- target/linux/gemini/Makefile | 2 +- target/linux/gemini/base-files/etc/inittab | 4 ++++ target/linux/gemini/image/Makefile | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-)