I am writing to you to ask you about the following: I am working on a custom embedded Linux distro for a Zynq700 based board. One of the features to be added is support for USB in host mode, which I have achieved.
This way, with rootfs I have a combination of udev rules & fstab entries that allow a given USB stick to be automounted with a certain conditions. However, if we change the filesystem to initramfs, the flash drive not only does not automount, it is not recognised.
I looked at the output of dmesg, lsusb & lsmod to make sure of this & confirmed that no driver function is called. In addition, I also notice that the USB stick is not receiving any power (the HW is correct because with the same hdf and roofs I have it functional).
Is there some peculiarity of initramfs compared to rootfs that I'm missing that has this effect?
Thanks in advance