Hi,
We're in the process of testing an eMMC and we need to build all the objects required for UUU, fsl-image-mfgtool-initramfs-imx7dsabresd.cpio.zst.u-boot etc which we've have done.
We need to do everything for UUU as we must include specific changes to run our new eMMC in flashing the board as well as booting into the new OS. Normally we'd take the pre-built NXP image and just replace what is actually flashed onto the board; in this case we can't do that as the first bootloader half (initramfs) of UUU cannot detect our specific eMMC.
This issue we're experiencing is after running UUU we're not getting the imx to become a USB storage device as normal; what we get is 'No udc available!' From memory this involves a few tweaks in the device tree around the USB area and the kernel conf. I have tried for quite a while to get the UDC device to appear with no success, does anyone know if the later NXP builds create a UDC device for the purposes of UUU? Build is NXP Yocto 6.12.20
The command we're using for the initial half of UUU is bitbake fsl-image-mfgtool-initramfs in which we use the following files for UUU:
fsl-image-mfgtool-initramfs-imx7dsabresd.cpio.zst.u-boot, zImage-imx7dsabresd.bin and imx7d-sdb.dtb
Advice please..
1) &usbotg1 {
vbus-supply = <®_usb_otg1_vbus>;
dr_mode = "peripheral"; <=============== peripheral or host?
status = "okay";
};
2) Does the UDC code expect a fixed mmc? Our eMMC is attached to mmc2
3) Kernel configs? CONFIG_USB_...... anything else?
4) Does the typical NXP Yocto build have all the .bb files to create everything for UUU i.e udc? Or do we need to add one/them?
Appreciate your help!
Kind regards,