AnsweredAssumed Answered

Serial download problems: initramfs and linuxrc, using mfgtool

Question asked by Chibesa Chilumbu on Feb 2, 2018
Latest reply on Feb 19, 2018 by igorpadykov

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

Outcomes