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
  Reply
#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
[email protected]:~$ 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, SM961 128GB NVMe for rootfs, HDMI video & sound, Bluetooth keyboard & mouse. Started Bionic minimal - now eoan, Openbox desktop for general purpose daily PC.
* PinePhone BraveHeart on order
  Reply
#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:
[email protected]_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. RP64 v2.0 / PCIe NVMe as root / sd-card as boot / 2,5 Zoll HDD 1TB (USB3) using as Webserver .... (Kernel 4.4.167-1140-rockchip-ayufan-g6f266fb5d677)
2. RP64 v2.1 / PCIe SATA Marvell 88SE9230 Chipsatz / sd-card / 2 * 2,5 Zoll 2TB HDD (raid1) / using as NAS / Kernel 5.0.0-1101-ayufan-g41eeb7cd789e
3. RP64 v2.1 / testing.....testing....testing

https://forum.frank-mankel.org/category/14/rockpro64



  Reply
#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.
  Reply
#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, SM961 128GB NVMe for rootfs, HDMI video & sound, Bluetooth keyboard & mouse. Started Bionic minimal - now eoan, Openbox desktop for general purpose daily PC.
* PinePhone BraveHeart on order
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  RockPro64 Fan Pins TheUnknownMuncher 7 390 11-14-2019, 04:06 AM
Last Post: vecnar
  Is there a guide to using the PADI-Server serial console adapter? Tim Jones 1 66 11-04-2019, 01:25 PM
Last Post: xalius
  rockpro64 turn on with pine 64 remote vecnar 0 59 10-31-2019, 11:53 PM
Last Post: vecnar
Photo RockPro64 Case 2x3.5" HDDs and 2x2.5 HDDs Luke 48 18,529 10-17-2019, 11:58 AM
Last Post: Tim Jones
  rockPro64 vs Odroid-N2 kardanadm 4 972 10-16-2019, 10:29 AM
Last Post: buzzmarshall
  RockPro64 & Roshambo Case Gouki 0 109 10-13-2019, 01:16 PM
Last Post: Gouki
  The leds and fan of RockPro64 xlx 0 103 10-10-2019, 12:19 PM
Last Post: xlx
  Number of Rockpro64 boards sold/made fentavius 1 299 09-16-2019, 10:53 AM
Last Post: tllim
  Vulkan support with rockpro64 rahulsharma 2 287 08-21-2019, 10:34 PM
Last Post: rahulsharma
  ROCKPRO64 with 10GbE NICs H.HSEL 13 2,678 08-14-2019, 01:37 PM
Last Post: igorp

Forum Jump:


Users browsing this thread: 1 Guest(s)