While booting Linux kernel using initramfs on Sabre board IMX7, I am getting permissions denied when linuxrc tries to mount filesystems. Does anyone know where linuxrc comes from as it is not clear within the Yocto spaggetti. I am using bitbake fsl-image-mfgtool-initramfs. I also do not know what other targets to rebuild, or recipes to modify, that would force any changes I make to result in a new u-boot rootfs image. I have also tried setting CONFIG_CONFIGFS_FS=y in sources/u-boot/u-boot-fslc-eg4/configs/mx7dsabresd_defconfig, and rebuilding fsl-image-mfgtool-initramfs, but the images are not updated, so I am thinking I need to clean/rebuild other recipes. What configurations should I be looking at?
I am new to Yocto, so please be gentle.
ALSA device list:
#0: wm8960-audio
#1: sii902x-audio
Freeing unused kernel memory: 740K (80d37000 - 80df0000)
/linuxrc: line 4: /bin/mount: Permission denied
/linuxrc: line 5: /bin/mount: Permission denied
/linuxrc: line 6: /bin/mount: Permission denied
/linuxrc: line 7: /bin/mount: Permission denied
mkdir: cannot create directory ‘/sys/kernel/config/usb_gadget/g1’: No such file or directory
/linuxrc: line 21: cd: /sys/kernel/config/usb_gadget/g1/: No such file or directory
mkdir: cannot create directory ‘strings/0x409’: No such file or directory
/linuxrc: line 25: strings/0x409/serialnumber: No such file or directory
/linuxrc: line 26: strings/0x409/manufacturer: No such file or directory
/linuxrc: line 27: strings/0x409/product: No such file or directory
mkdir: cannot create directory ‘configs/c.1’: No such file or directory
/linuxrc: line 29: configs/c.1/MaxPower: No such file or directory
mkdir: cannot create directory ‘functions/mass_storage.1’: No such file or directory
ln: target 'configs/c.1/' is not a directory: No such file or directory
/linuxrc: line 32: functions/mass_storage.1/lun.0/file: No such file or directory
ls: cannot access '/sys/class/udc': No such file or directory
Starting UTP
Hi Chibesa
community version of uboot (u-boot-fslc) may not support mfg tool,
one can try nxp uboot (uboot-imx) using attached Yocto Guide
sect.6.2 Manufacturing Tool, MFGTool, nxp software is described on
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------