Ayufan 5.4.0 rc1 release - cannot boot
#1
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?
#2
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 }
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC
#3
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.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Boot/Shutdown on timer captainmorgan 8 7,334 11-01-2023, 12:08 PM
Last Post: Nikolay_Po
  Installing CH431SER on Ayufan 0.9.14: gitlab-ci-linux-build-159 Thisone 4 2,112 07-14-2023, 04:22 AM
Last Post: hunderteins
Question How do I compile an arbitrary kernel for U-Boot? Valenoern 3 1,712 06-16-2023, 10:54 AM
Last Post: CounterPillow
  GPIO on Ayufan 0.9.14 Build Thisone 7 3,220 04-23-2023, 01:32 PM
Last Post: diederik
  RockPro64 boot questions misterc 3 2,204 01-13-2023, 06:21 PM
Last Post: misterc
  Is some u-boot required on the SPI for installing debian with the official installer? callegar 1 1,674 10-25-2022, 10:07 AM
Last Post: ratzzupaltuff
  Armbian 22.02 Release Announcement TRS-80 0 1,360 02-28-2022, 05:08 PM
Last Post: TRS-80
  How I Got Fedora Linux to Boot From eMMC (or microSD, for that matter) whitecat23 4 5,179 01-03-2022, 10:32 AM
Last Post: whitecat23
  Overlays not loading at boot - ROCKPRO64 on Armbian rookieone 0 1,516 09-28-2021, 04:10 AM
Last Post: rookieone
Question cannot boot openSUSE - what am I doing wrong? Mentaluproar 2 2,864 08-12-2021, 04:58 AM
Last Post: igorp

Forum Jump:


Users browsing this thread: 1 Guest(s)