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 (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
#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 (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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Installing Wifi drive for the RockPro64 John45595 0 177 02-10-2024, 11:32 PM
Last Post: John45595
Wink You don't sell case and fan for "ROCKPro64 4GB Single Board Computer"? Clea 1 674 09-17-2023, 12:00 AM
Last Post: tllim
  Want to check maximum toggle speed in Rockpro64 board. kundanjha 0 627 08-14-2023, 07:55 AM
Last Post: kundanjha
  Unable to boot Armbian on new RockPro64 mooseball 5 4,087 07-14-2023, 08:59 AM
Last Post: rockjonn
  Hardware fix for software sound problem on Rockpro64 Ricks Rockpro 0 836 04-06-2023, 03:59 PM
Last Post: Ricks Rockpro
  No sound on Rockpro64 with OpenWrt Patrice 1 1,241 04-06-2023, 02:46 PM
Last Post: Ricks Rockpro
  Cant get rockpro64 working brasilikum 3 1,703 03-19-2023, 06:22 AM
Last Post: runyor
  RockPro64 Stopped working WarpLover 5 2,520 02-06-2023, 10:10 AM
Last Post: diizzy
Lightbulb ROCKPro64 + SSD case model for 3D print Spater 0 959 01-27-2023, 07:43 PM
Last Post: Spater
  RockPro64 and Neon rapier1 2 1,698 10-21-2022, 07:44 AM
Last Post: rapier1

Forum Jump:


Users browsing this thread: 1 Guest(s)