edison-fw / meta-intel-edison

Here is the meta-intel-edison that builds, tries to stay up to date. Master is based on Yocto Poky Gatesgarth LTS 5.10.yy vanilla kernels. It builds a 32bit kernel (Gatesgarth branch 64bit) with ACPI enabled and corresponding rootfs. Telegram group: https://t.me/IntelEdison Web-site:
https://edison-fw.github.io/meta-intel-edison/
MIT License
60 stars 37 forks source link

/boot -> No such device #88

Closed mwallnoefer closed 4 years ago

mwallnoefer commented 4 years ago

With the latest Yocto release (warrior) I get:

root@edison:/# cd /boot
-sh: cd: /boot: No such device
htot commented 4 years ago

We are now at warrior.

Where does your fstab point to?

mwallnoefer commented 4 years ago

Here my whole fstab:

/dev/mmcblk1    /          auto    nodev,noatime,discard,barrier=1,data=ordered,noauto_da_alloc    1  1
proc            /proc      proc    defaults              0  0
devpts          /dev/pts   devpts  mode=0620,gid=5       0  0
tmpfs           /run               tmpfs      mode=0755,nodev,nosuid,strictatime 0  0
tmpfs           /var/volatile      tmpfs      defaults              0  0

/dev/disk/by-partlabel/factory  /factory        auto    noauto,x-systemd.automount,nosuid,nodev,noatime,discard     1   1
/dev/mmcblk0p9     /boot       auto    noauto,x-systemd.automount,nosuid,nodev,noatime,discard     1   1
/dev/disk/by-partlabel/home     /home       auto    noauto,x-systemd.automount,nosuid,nodev,noatime,discard,barrier=1,data=ordered,noauto_da_alloc 1   1
mwallnoefer commented 4 years ago

With this change everything works:

/dev/disk/by-partlabel/boot     /boot       auto    noauto,x-systemd.automount,nosuid,nodev,noatime,discard     1   1
mwallnoefer commented 4 years ago

92

htot commented 4 years ago

Ah, I remember. I reformatted ota so I can easily put kernels there to boot a rootfs on usb or sdhc. It needs formatting otherwise U-Boot can't read the kernel from the partition. Apparently linux also doesn't like it as it was.