since error "2" is this:

#define ENOENT 2        /* No such file or directory */

my guess would be that your rootfs does not actually contain a "/dev" 
directory for the filesystem to mount on.


On 12-03-19 20:38, Emily S wrote:
> Hi All -
> 
> I'm using Yocto version rocko with a custom layer to run on the Zynq+ SoC on 
> a 
> custom board. When trying to boot I'm getting an error like:
> 
> [    4.178864] devtmpfs: error mounting -2
> 
> in the boot output. Even after rolling back to a previous working version I 
> still get this error in the boot output. After this error, the boot process 
> seems to stop, and I am directly given a terminal input, but no login, or 
> anything. The /dev and /proc folders seem to be missing as does specifically 
> /etc/network/ among others.
> 
> I'm booting from an SD card and flashing it using a wic image made with the 
> "sdimage-bootpart.wks" from yocto. This method has worked fine before now.
> 
> Are there obvious things I should check to make sure devtmpfs can be mounted 
> properly? I have not messed with bootargs or anything since the working 
> version of the OS, so I'm not sure why I am suddenly seeing this error.
> 
> A comparison output from the working OS and the bad OS can be seen below. Any 
> ideas are greatly appreciated!
> 
> Thanks,
> Emily
> 
> *Bad OS: *
> [    4.125754] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature 
> incompatibilities
> [    4.163579] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data 
> mode. 
> Opts: (null)
> [    4.171613] VFS: Mounted root (ext4 filesystem) on device 179:2.
> [    4.178864] devtmpfs: error mounting -2
> [    4.182766] Freeing unused kernel memory: 640K (ffffffc000d20000 - 
> ffffffc000dc0000)
> /bin/sh: can't access tty; job control turned off
> / #
> 
> *Working OS: *
> [    4.089697] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature 
> incompatibilities
> [    5.324662] EXT4-fs (mmcblk0p2): recovery complete
> [    5.404047] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data 
> mode. 
> Opts: (null)
> [    5.412083] VFS: Mounted root (ext4 filesystem) on device 179:2.
> [    5.418084] devtmpfs: mounted
> [    5.421106] Freeing unused kernel memory: 512K (ffffffc000c10000 - 
> ffffffc000c90000)
> 
> ... (boot continues)
> 

-- 
_______________________________________________
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to