remove usbgadget from routerstationpro
PATCH 1/1 remove usbgadget from routerstationpro
1. No mass storage needed to be accessed by usbgadget.
2. This is a router station & switch, so it should not be taken as a USB_NET device too.
--- meta-yocto/conf/machine/routerstationpro.conf | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta-yocto/conf/machine/routerstationpro.conf +1 -1
@@ -5,7 +5,7 @@ require conf/machine/include/tune-mips32.inc MACHINE_FEATURES = "kernel26 screen keyboard pci usbhost ext2 ext3 \ - serial usbgadget" + serial" KERNEL_IMAGETYPE = "vmlinux" KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
Signature · 1 line
1.7.5.4
Quoted 3 lines · Zumeng Chen
1. No mass storage needed to be accessed by usbgadget.
2. This is a router station& switch, so it should not be taken as aUSB_NETdevice too.
Zumeng,
The comment from the bug reporter was also that the target doesn't have USB slave hardware to support usbgadget. So mentioning that in the header is probably a good idea as well.
And small comment indicating that as a result of these conditions, we remove usbgadget from MACHINE_FEATURES, since it can't be used. Would complete the header.
Cheers,
Bruce
Quoted 19 lines
Signed-off-by [email protected]>--- meta-yocto/conf/machine/routerstationpro.conf | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)meta-yocto/conf/machine/routerstationpro.conf +1
-1@@ -5,7 +5,7 @@ require conf/machine/include/tune-mips32.inc MACHINE_FEATURES = "kernel26 screen keyboard pci usbhost ext2 ext3 \ - serial usbgadget" + serial" KERNEL_IMAGETYPE = "vmlinux" KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
Quoted 10 lines · Bruce Ashfield
Quoted 3 lines · Zumeng Chen
1. No mass storage needed to be accessed by usbgadget.
2. This is a router station& switch, so it should not be taken as aUSB_NETdevice too.Zumeng,
The comment from the bug reporter was also that the target doesn't have USB slave hardware to support usbgadget. So mentioning that in the header is probably a good idea as well.
OK, will add it, generally speaking MTD can be used as the slave, but obviously it's meaningless here. Soon V2
Regards,
Zumeng
Quoted 29 lines
And small comment indicating that as a result of these conditions, we remove usbgadget from
MACHINE_FEATURES, since it can't be used. Would complete the header.Cheers,
Bruce
Quoted 19 lines
Signed-off-by [email protected]>---
meta-yocto/conf/machine/routerstationpro.conf| 2 +-1 files changed, 1 insertions(+), 1 deletions(-)meta-yocto/conf/machine/routerstationpro.conf +0
-0@@ -5,7 +5,7 @@require conf/machine/include/tune-mips32.inc
MACHINE_FEATURES= "kernel26 screen keyboard pci usbhost ext2 ext3 \
- serial usbgadget"
+ serial"
KERNEL_IMAGETYPE= "vmlinux"KERNEL_ALT_IMAGETYPE= "vmlinux.bin"
PATCH v2 1/1 remove usbgadget from routerstationpro
In reply to Bruce Ashfield Since the target doesn't have the related requirement to use USB slave hardware supporting usb gadget, so remove it from MACHINE_FEATURES.
--- meta-yocto/conf/machine/routerstationpro.conf | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta-yocto/conf/machine/routerstationpro.conf +1 -1
@@ -5,7 +5,7 @@ require conf/machine/include/tune-mips32.inc MACHINE_FEATURES = "kernel26 screen keyboard pci usbhost ext2 ext3 \ - serial usbgadget" + serial" KERNEL_IMAGETYPE = "vmlinux" KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
Signature · 1 line
1.7.5.4
Quoted 3 lines · Zumeng Chen
Since the target doesn't have the related requirement to use USB slave hardware supporting usb gadget, so remove it from
MACHINE_FEATURES.
Indention went a bit out of whack there, but the wording is what we want.
Quoted 19 lines
Signed-off-by [email protected]>--- meta-yocto/conf/machine/routerstationpro.conf | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)meta-yocto/conf/machine/routerstationpro.conf +1
-1@@ -5,7 +5,7 @@ require conf/machine/include/tune-mips32.inc MACHINE_FEATURES = "kernel26 screen keyboard pci usbhost ext2 ext3 \ - serial usbgadget" + serial" KERNEL_IMAGETYPE = "vmlinux" KERNEL_ALT_IMAGETYPE = "vmlinux.bin"