PINE64

Full Version: Ayufan 5.4.0 rc1 release - cannot boot
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
After installing ayufans patched mainline kernel (I want panfrost) onto his minimal buster and bionic builds, I cannot boot past a certain point.  Here's what I see on serial console before it dies:

[   47.917722] Run /init as init process
Loading, please wait...
[   48.897918] tmpfs: Unknown parameter 'size'
mount: mounting tmpfs on /run failed: Invalid argument
starting version 237
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Warning: fsck not present, so skipping root file system
[   99.500975] EXT4-fs (mmcblk1p7): mounted filesystem with writeback data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
mount: mounting /run on /root/run failed: Invalid argument
[  104.987855] random: crng init done
[  106.115332] tmpfs: Unknown parameter 'mode'
[  106.119090] systemd[1]: Failed to mount tmpfs at /dev/shm: Invalid argument
[  106.143006] tmpfs: Unknown parameter 'mode'
[  106.145440] systemd[1]: Failed to mount tmpfs at /run: Invalid argument
[  106.169253] tmpfs: Unknown parameter 'mode'
[  106.172654] systemd[1]: Failed to mount tmpfs at /run/lock: Invalid argument
[  106.204518] tmpfs: Unknown parameter 'mode'
[  106.207772] systemd[1]: Failed to mount tmpfs at /sys/fs/cgroup: Invalid argument
[  106.257404] systemd[1]: Failed to mount cgroup at /sys/fs/cgroup/systemd: No such file or directory
[.[0;1;31m!!!!!!.[0m] Failed to mount API filesystems, freezing.
[  106.312466] systemd[1]: Freezing execution.


So it looks like we can't mount root with ayufans mainline.  Has anyone managed to get this working?
Yeah, I tried the 0.9.16-11163 release: when I added the 5.4.0-rc1 kernel I could not boot either from just an SDcard nor from just eMMC. I don't have a serial console so cannot confirm my hangs are the same as yours but would guess so.

{I also have the same lack of progress with 5.3.0-rc4 }
Its probably a bit late but in case somebody is still interested in it.

The Kernel should boot if you apply the following changes:
Edit file arch/arm64/configs/rockchip_linux_defconfig

Search for the following line:
CONFIG_TMPFS_POSIX_ACL=y

Replace it with the following config settings:
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_TMPFS_XATTR=y

Rebuild kernel with the new config settings and it should boot now.