RockPro64 powerful enough as a Plex Media Server?
#11
Hmm. I tried setting a default by adding "default kernel-4.18" to the extlinux.conf. But it's still booting 4.4. Care to share what your extlinux.conf looks like? Thanks for the help.

Code:
timeout 10
menu title select kernel
default kernel-4.18

label kernel-4.18
   kernel /boot/vmlinuz-4.18.0-rc8-1060-ayufan-g45828c4db727
   initrd /boot/initrd.img-4.18.0-rc8-1060-ayufan-g45828c4db727
   devicetreedir /boot/dtbs/4.18.0-rc8-1060-ayufan-g45828c4db727
   append rw panic=10 init=/sbin/init coherent_pool=1M ethaddr=${ethaddr} eth1addr=${eth1addr} serial=${serial#} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 root=LABEL=linux-root rootwait rootfstype=ext4

label kernel-4.18.0-rc8-1060-ayufan-g45828c4db727-memtest
   kernel /boot/vmlinuz-4.18.0-rc8-1060-ayufan-g45828c4db727
   initrd /boot/initrd.img-4.18.0-rc8-1060-ayufan-g45828c4db727
   devicetreedir /boot/dtbs/4.18.0-rc8-1060-ayufan-g45828c4db727
   append rw panic=10 init=/sbin/init coherent_pool=1M ethaddr=${ethaddr} eth1addr=${eth1addr} serial=${serial#} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 root=LABEL=linux-root rootwait rootfstype=ext4 memtest

label kernel-4.4.132-1075-rockchip-ayufan-ga83beded8524
    kernel /boot/vmlinuz-4.4.132-1075-rockchip-ayufan-ga83beded8524
    initrd /boot/initrd.img-4.4.132-1075-rockchip-ayufan-ga83beded8524
    devicetreedir /boot/dtbs/4.4.132-1075-rockchip-ayufan-ga83beded8524
    append rw panic=10 init=/sbin/init coherent_pool=1M ethaddr=${ethaddr} eth1addr=${eth1addr} serial=${serial#} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 root=LABEL=linux-root rootwait rootfstype=ext4

label kernel-4.4.132-1075-rockchip-ayufan-ga83beded8524-memtest
    kernel /boot/vmlinuz-4.4.132-1075-rockchip-ayufan-ga83beded8524
    initrd /boot/initrd.img-4.4.132-1075-rockchip-ayufan-ga83beded8524
    devicetreedir /boot/dtbs/4.4.132-1075-rockchip-ayufan-ga83beded8524
    append rw panic=10 init=/sbin/init coherent_pool=1M ethaddr=${ethaddr} eth1addr=${eth1addr} serial=${serial#} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 root=LABEL=linux-root rootwait rootfstype=ext4 memtest
#12
I do not claim full expertise in this area, but for whatever reason I believe the default line has to be first line. (Otherwise it is ignored and the first entry is used - in your case is 4.18 so you should be booting 4.18 either way!!) Did you boot 4.18 after the install? 

Mine is

Code:
$ cat /boot/extlinux/extlinux.conf
default kernel-4.4.138

timeout 10
menu title select kernel

label kernel-4.18.0
    kernel /boot/vmlinuz-4.18.0-rc8-76686-g45828c4db727-dirty
    initrd /boot/initrd.img-4.18.0-rc8-76686-g45828c4db727-dirty
    devicetreedir /boot/dtbs/4.18.0-rc8-76686-g45828c4db727-dirty
    append rw panic=10 init=/sbin/init coherent_pool=1M ethaddr=${ethaddr} eth1addr=${eth1addr} serial=${serial#} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 root=LABEL=MySM961 rootwait rootfstype=ext4

label kernel-4.18.0-rc8-1060-ayufan-g45828c4db727
    kernel /boot/vmlinuz-4.18.0-rc8-1060-ayufan-g45828c4db727
    initrd /boot/initrd.img-4.18.0-rc8-1060-ayufan-g45828c4db727
    devicetreedir /boot/dtbs/4.18.0-rc8-1060-ayufan-g45828c4db727
    append rw panic=10 init=/sbin/init coherent_pool=1M ethaddr=${ethaddr} eth1addr=${eth1addr} serial=${serial#} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 root=LABEL=MySM961 rootwait rootfstype=ext4

label kernel-4.4.138
    kernel /boot/vmlinuz-4.4.138-1094-rockchip-ayufan-gf13a8a9a4eee
    initrd /boot/initrd.img-4.4.138-1094-rockchip-ayufan-gf13a8a9a4eee
    devicetreedir /boot/dtbs/4.4.138-1094-rockchip-ayufan-gf13a8a9a4eee
    append rw panic=10 init=/sbin/init coherent_pool=1M ethaddr=${ethaddr} eth1addr=${eth1addr} serial=${serial#} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 root=LABEL=MySM961 rootwait rootfstype=ext4

label kernel-4.4.132-1075-rockchip-ayufan-ga83beded8524
    kernel /boot/vmlinuz-4.4.132-1075-rockchip-ayufan-ga83beded8524
    initrd /boot/initrd.img-4.4.132-1075-rockchip-ayufan-ga83beded8524
    devicetreedir /boot/dtbs/4.4.132-1075-rockchip-ayufan-ga83beded8524
    append rw panic=10 init=/sbin/init coherent_pool=1M ethaddr=${ethaddr} eth1addr=${eth1addr} serial=${serial#} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 root=LABEL=MySM961 rootwait rootfstype=ext4
chris@rpro64:~$ uname -a
Linux rpro64.dukla.net 4.4.138-1094-rockchip-ayufan-gf13a8a9a4eee #1 SMP Thu Aug 9 20:29:55 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux

<Mine is slightly complicated as I have my rootfs on my NVMe drive, which also means I have to maintain it on both the SDcard that is used for cold boot as well as the NVMe which is used for reboot!>
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (5.18 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition daily driver, Tow-boot on SPI, Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/Phosh on eMMC
#13
From my sd-card

/boot/extlinux/extlinux.conf

Code:
timeout 10
menu title select kernel

label kernel-4.18.0-rc8-1060-ayufan-g45828c4db727
   kernel /boot/vmlinuz-4.18.0-rc8-1060-ayufan-g45828c4db727
   initrd /boot/initrd.img-4.18.0-rc8-1060-ayufan-g45828c4db727
   devicetreedir /boot/dtbs/4.18.0-rc8-1060-ayufan-g45828c4db727
   append rw panic=10 init=/sbin/init coherent_pool=1M ethaddr=${ethaddr} eth1addr=${eth1addr} serial=${serial#} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 root=LABEL=linux-root rootwait rootfstype=ext4

label kernel-4.18.0-rc8-1060-ayufan-g45828c4db727-memtest
   kernel /boot/vmlinuz-4.18.0-rc8-1060-ayufan-g45828c4db727
   initrd /boot/initrd.img-4.18.0-rc8-1060-ayufan-g45828c4db727
   devicetreedir /boot/dtbs/4.18.0-rc8-1060-ayufan-g45828c4db727
   append rw panic=10 init=/sbin/init coherent_pool=1M ethaddr=${ethaddr} eth1addr=${eth1addr} serial=${serial#} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 root=LABEL=linux-root rootwait rootfstype=ext4 memtest

label kernel-4.4.138-1094-rockchip-ayufan-gf13a8a9a4eee
   kernel /boot/vmlinuz-4.4.138-1094-rockchip-ayufan-gf13a8a9a4eee
   initrd /boot/initrd.img-4.4.138-1094-rockchip-ayufan-gf13a8a9a4eee
   devicetreedir /boot/dtbs/4.4.138-1094-rockchip-ayufan-gf13a8a9a4eee
   append rw panic=10 init=/sbin/init coherent_pool=1M ethaddr=${ethaddr} eth1addr=${eth1addr} serial=${serial#} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 root=LABEL=linux-root rootwait rootfstype=ext4

label kernel-4.4.138-1094-rockchip-ayufan-gf13a8a9a4eee-memtest
   kernel /boot/vmlinuz-4.4.138-1094-rockchip-ayufan-gf13a8a9a4eee
   initrd /boot/initrd.img-4.4.138-1094-rockchip-ayufan-gf13a8a9a4eee
   devicetreedir /boot/dtbs/4.4.138-1094-rockchip-ayufan-gf13a8a9a4eee
   append rw panic=10 init=/sbin/init coherent_pool=1M ethaddr=${ethaddr} eth1addr=${eth1addr} serial=${serial#} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 root=LABEL=linux-root rootwait rootfstype=ext4 memtest

label kernel-4.4.132-1075-rockchip-ayufan-ga83beded8524
   kernel /boot/vmlinuz-4.4.132-1075-rockchip-ayufan-ga83beded8524
   initrd /boot/initrd.img-4.4.132-1075-rockchip-ayufan-ga83beded8524
   devicetreedir /boot/dtbs/4.4.132-1075-rockchip-ayufan-ga83beded8524
   append rw panic=10 init=/sbin/init coherent_pool=1M ethaddr=${ethaddr} eth1addr=${eth1addr} serial=${serial#} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 root=LABEL=linux-root rootwait rootfstype=ext4

label kernel-4.4.132-1075-rockchip-ayufan-ga83beded8524-memtest
   kernel /boot/vmlinuz-4.4.132-1075-rockchip-ayufan-ga83beded8524
   initrd /boot/initrd.img-4.4.132-1075-rockchip-ayufan-ga83beded8524
   devicetreedir /boot/dtbs/4.4.132-1075-rockchip-ayufan-ga83beded8524
   append rw panic=10 init=/sbin/init coherent_pool=1M ethaddr=${ethaddr} eth1addr=${eth1addr} serial=${serial#} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 root=LABEL=linux-root rootwait rootfstype=ext4 memtest

Sys is booting into 4.18.0

Code:
rock64@rockpro64v_2_1:/boot/extlinux$ uname -a
Linux rockpro64v_2_1 4.18.0-rc8-1060-ayufan-g45828c4db727 #1 SMP PREEMPT Thu Aug 9 19:41:21 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
Sorry for any mistakes. English is not my native language

1. Quartz64 Model B, 4GB RAM

2. Quartz64 Model A, 4GB RAM

3. RockPro64 v2.1

https://linux-nerds.org/
#14
Interesting enough. Even if I remove all 4.4 entries from /boot/extlinux.conf, I am still booting into 4.4 on the dietpi distro. Maybe something to do with my work around I am doing just to boot my emmc? Not sure. Will have to backup, flash to sd, and reboot to see if the problem persist.

Edit: Sure enough. Booted straight to 4.18 once I switched from emmc to sd.
#15
I think what is happening on your system is as follows:

1) Although you have both eMMC & SDcard installed the initial uboot feed is from the SDcard as your eMMC boot0 and boot1 segments are not properly "loaded". So the /boot/extlinux/extlinux.conf on your SDcard is what counts.

2) Both your SDcard partition 7 and your eMMC partition 7 will have a label "linux-root". This can be checked with sudo blkid - if so although uboot picks up extlinux.conf from the SDcard the loader will then find p7 on your eMMC as linux-root and use that. so df -h will show /dev/mmcblk1p7 mounted as rootfs.

3) In this setup, when you install 4.18 the extlinux.conf on the eMMC will be updated (because that is where linux is working with rootfs), but on reboot you will be back to step 1 and so you still booted 4.4. The necessary extra step is to keep the /boot/ directory on both the SDcard and eMMC synchronised so you get expected results.

You probably do want your rootfs on the eMMC as it is faster than SDcard. So until you sort the eMMC ability to boot on its own, you need to keep repeating the synchronisation of /boot/ directories. I have to do exactly this as I use NVMe for rootfs: so I have a little script to run after each time I modify my extlinux.conf and before I reboot:

Code:
$cat syncsd
sudo mount /dev/mmcblk0p7 /mnt/
sudo rsync -ax --delete /boot/ /mnt/boot/
cat /mnt/boot/extlinux/extlinux.conf
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (5.18 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition daily driver, Tow-boot on SPI, Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/Phosh on eMMC


Possibly Related Threads…
Thread Author Replies Views Last Post
  OPNsense for RockPro64 one8three 2 320 08-08-2022, 09:43 PM
Last Post: XaveT
  NAS Optimizations for RockPro64 MNtinkerer 25 2,139 08-03-2022, 01:57 PM
Last Post: MNtinkerer
  RockPro64 ddr clock speed causing system instability CypherShrugged 0 67 07-31-2022, 10:10 AM
Last Post: CypherShrugged
  How to run Raspberry Pi software on RockPro64? pk245 0 221 06-24-2022, 08:20 AM
Last Post: pk245
  ROCKPRO64 PCI SSD SD-boot Install pspgarret 0 195 06-09-2022, 10:56 AM
Last Post: pspgarret
  RockPro64 has no white led, nor will it boot past... AnjinMeili 2 294 05-31-2022, 09:19 AM
Last Post: Rocklobster
  RockPro64 Debian xrdb -- problem connecting emarsh 0 215 05-19-2022, 09:55 AM
Last Post: emarsh
  Booting my RockPro64 from NVMe drive PsySc0rpi0n 4 3,099 05-11-2022, 02:35 PM
Last Post: PsySc0rpi0n
  Possible HW Transcode with Media Server and Docker dperrigo18 0 452 02-10-2022, 02:37 AM
Last Post: dperrigo18
  rockpro64 emmc GreyLinux 8 3,130 11-08-2021, 01:56 PM
Last Post: GreyLinux

Forum Jump:


Users browsing this thread: 1 Guest(s)