arduino-nano-33-ble ttyacm0 disappears after kernel test image flashed
With ONIRO_ENABLE_ACM0 = "1"
enabled in local.conf, and build kernel context image(MACHINE=arduino-nano-33-ble bitbake zephyr-kernel-test-context
) with the below headers.
Build Configuration:
BB_VERSION = "2.0.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-yocto-eabi"
MACHINE = "arduino-nano-33-ble"
DISTRO = "oniro-zephyr"
DISTRO_VERSION = "2.0.0-alpha"
TUNE_FEATURES = "armv7m cortexm4"
TARGET_FPU = "soft"
meta-oniro-staging = "HEAD:e08e5e8741e5111874b7239cd9999eb7196509bf"
meta = "HEAD:a4bfb5ceb5cf8c0c6d27225b27ef10c0b9dceccb"
meta-arm
meta-arm-toolchain = "HEAD:78fce73c3803aba82149a3a03fde1b708f5424fa"
meta-clang = "HEAD:d43df79361a8cdee6f1c16f072411f13005ca5c3"
meta-zephyr-bsp
meta-zephyr-core = "HEAD:e6f584142e4fe19cbf5e45ac05eb181ca96e393c"
meta-oniro-core = "HEAD:e08e5e8741e5111874b7239cd9999eb7196509bf"
meta-openharmony = "HEAD:99d5d0166f11eb009443b6206a77df3298fce505"
meta-freertos = "HEAD:98a6838261d36b8f79c5fbae1736492169727a1e"
meta-intel = "HEAD:ef3aa3064b9bbfa19f600eafb1e7d3473f62af74"
meta-seco-intel = "HEAD:65a673560211b11986db5785c70254fad190785f"
meta-freescale = "HEAD:2e785f257ad98581b684f0e32f6d4bb96faefb10"
meta-seco-imx = "HEAD:b6976d806dad5cff6e071cfdb59ab45c4210604b"
meta-oe
meta-filesystems
meta-networking
meta-perl
meta-python = "HEAD:a47ef046619d639dfbd3be2a13ef6d5b40fd40a1"
meta-raspberrypi = "HEAD:0135a02ea577bd39dd552236ead2c5894d89da1d"
meta-security = "HEAD:c79262a30bd385f5dbb009ef8704a1a01644528e"
meta-riscv = "HEAD:70e099d7ceca52a1dde2c978713012f6b20a9891"
meta-rauc = "HEAD:ea4236412dc4449eff4d52d3ef6b6d230355f936"
meta-java = "HEAD:1a8059f6b257ebe6fcae6416e499784d976afd24"
Once the new built context.bin image flashed, the ttyacm0 connects and disconnects.
[ 850.706780] usb 1-1.3: SerialNumber: 000000000000000084978D71A30C5423
[ 850.709541] cdc_acm 1-1.3:1.0: ttyACM0: USB ACM device
[ 850.852790] usb 1-1.3: USB disconnect, device number 50
[ 851.111630] usb 1-1.3: new full-speed USB device number 51 using xhci_hcd
[ 851.218816] usb 1-1.3: New USB device found, idVendor=2341, idProduct=005a, bcdDevice= 0.11
[ 851.218828] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 851.218835] usb 1-1.3: Product: Arduino Nano 33 BLE
[ 851.218839] usb 1-1.3: Manufacturer: Arduino
[ 851.218844] usb 1-1.3: SerialNumber: 000000000000000084978D71A30C5423
[ 851.221632] cdc_acm 1-1.3:1.0: ttyACM0: USB ACM device
[ 851.621085] usb 1-1.3: USB disconnect, device number 51
[ 851.851633] usb 1-1.3: new full-speed USB device number 52 using xhci_hcd
[ 851.932013] usb 1-1.3: Device not responding to setup address.
[ 852.139819] usb 1-1.3: Device not responding to setup address.
[ 852.347647] usb 1-1.3: device not accepting address 52, error -71
[ 852.843657] usb 1-1.3: new full-speed USB device number 53 using xhci_hcd
[ 852.924050] usb 1-1.3: Device not responding to setup address.
[ 853.131797] usb 1-1.3: Device not responding to setup address.
[ 853.339612] usb 1-1.3: device not accepting address 53, error -71
[ 853.339933] usb 1-1-port3: attempt power cycle
[ 853.943631] usb 1-1.3: new full-speed USB device number 54 using xhci_hcd
[ 853.964851] usb 1-1.3: device descriptor read/8, error -32
[ 854.092662] usb 1-1.3: device descriptor read/8, error -32
[ 854.487638] usb 1-1.3: new full-speed USB device number 55 using xhci_hcd
[ 854.487850] usb 1-1.3: Device not responding to setup address.
pi@rpi4:/etc/lava-dispatcher-host/build/boards/nano33ble/oniro$ lsusb
Bus 002 Device 003: ID 2109:0715 VIA Labs, Inc.
Bus 002 Device 002: ID 05e3:0612 Genesys Logic, Inc. Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 080: ID 2341:005a Arduino SA
Bus 001 Device 004: ID 05e3:0612 Genesys Logic, Inc. Hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@rpi4:/etc/lava-dispatcher-host/build/boards/nano33ble/oniro$ lsusb
Bus 002 Device 003: ID 2109:0715 VIA Labs, Inc.
Bus 002 Device 002: ID 05e3:0612 Genesys Logic, Inc. Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 087: ID 2341:005a Arduino SA
Bus 001 Device 004: ID 05e3:0612 Genesys Logic, Inc. Hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@rpi4:/etc/lava-dispatcher-host/build/boards/nano33ble/oniro$ lsusb
Bus 002 Device 003: ID 2109:0715 VIA Labs, Inc.
Bus 002 Device 002: ID 05e3:0612 Genesys Logic, Inc. Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 05e3:0612 Genesys Logic, Inc. Hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@rpi4:/etc/lava-dispatcher-host/build/boards/nano33ble/oniro$