2faf051a | 04-Aug-2021 |
neal_liu <neal_liu@aspeedtech.com> |
configs: ast2600: add usb related define to support usbtty
Re-set stdout/stderr/stdin to both usbtty & serial. The input/output works on both COM ports.
Example: setenv usbtty cdc_acm setenv stdout
configs: ast2600: add usb related define to support usbtty
Re-set stdout/stderr/stdin to both usbtty & serial. The input/output works on both COM ports.
Example: setenv usbtty cdc_acm setenv stdout usbtty,serial@1e784000 setenv stderr usbtty,serial@1e784000 setenv stdin usbtty,serial@1e784000
Signed-off-by: neal_liu <neal_liu@aspeedtech.com> Change-Id: I850201086228f92d38c2330d1cc7c027c9043ada
show more ...
|
92c7edae | 12-Jul-2018 |
Alberto Panizzo <alberto@amarulasolutions.com> |
usb: rockchip: on K_FW_LBA_WRITE_10 remove magic block size of 512 bytes
As well as in K_FW_LBA_READ_10 and K_FW_LBA_ERASE_10 take device's block size from f_rkusb->desc->blksz instead of the fixed
usb: rockchip: on K_FW_LBA_WRITE_10 remove magic block size of 512 bytes
As well as in K_FW_LBA_READ_10 and K_FW_LBA_ERASE_10 take device's block size from f_rkusb->desc->blksz instead of the fixed 512 bytes.
Keep original behaviour of retry probing assigned block device on every host request to manage late SDCard plugs.
Signed-off-by: Alberto Panizzo <alberto@amarulasolutions.com>
show more ...
|
11758a56 | 12-Jul-2018 |
Alberto Panizzo <alberto@amarulasolutions.com> |
usb: rockchip: be quiet on serial port while transferring data
While downloading or uploading megabytes of data we had thousands of printf in console like:
transfer 0x10000 bytes done OR Uploading
usb: rockchip: be quiet on serial port while transferring data
While downloading or uploading megabytes of data we had thousands of printf in console like:
transfer 0x10000 bytes done OR Uploading 0x1000 bytes
This because transfers are chunked and there is no way on target side to know the overall transfer size (to print one string per overall transfer).
All these prints on serial console do slow down significantly the transfer and does not offer a significant information to the developer: rkdeveloptool and Rockchip original tool do use small chunks read/writes on big transfers. This allows on workstation to print percentage of transfer complete and as well offers to developer the information about: transfer is running OK. On error, either the percentage will stop or an error will be shown on workstation console.
Signed-off-by: Alberto Panizzo <alberto@amarulasolutions.com>
show more ...
|