issues loading firmware and missing pci card
#6
(11-13-2018, 07:22 AM)MisterA Wrote: Could you explain how you update the kernel to the latest one?
If I install 4.18 for example my rockpro64 fails to boot.

OK, it all depends on /boot/extlinux/extlinux.conf and also what is in your /boot directory. After a basic install of say the 0.7.9 (stable) Ayufan minimal release you will only have 1 kernel in your filesystem - in /boot/ you will have 1 of each config..., initrd... and vmlinux...

Now, I find it easier to find kernels using synaptic (a gui). And 4.18 has no merit any longer as 4.19 has hit the streets. You can of course do this all from a Linux command line, and there are other gui tools.

So doing it my way, start synaptic, and hit the big Reload button (which effectively is an apt-get update)
Then hit Search, and look for linux-image-4.19
There are about 12 results today, and mostly in pairs. If you expand the Package column you will see each result has a -dbg mate which is a complete debug version. I ignore them - I am sure they have a use but so far my life has been just fine without a debug kernel!
Many of the results are 4.19.0-rc4... , these are versions Ayufan cooked from release candidate 4 which is now pretty much deceased.
The only 1 of real interest is 4.19.0-1073... - select it (but not the -dbg one)
Click the Mark all Upgrades button (if you haven't upgraded your Linux recently)
Then click the Apply button

When synaptic has finished playing, exit and check /boot/extlinux/extlinux.conf and also what is in your /boot directory again. You should now have 4.19 scattered about in addition to what you had before. The key to deciding which kernel when booting is the .conf, and you can set a default from the options there. My file is currently

Code:
$ cat /boot/extlinux/extlinux.conf
timeout 10
menu title select kernel
default kernel-4.4.138-1100-rockchip-ayufan-g95cecee47f40

label kernel-4.19.0-1073-ayufan-ga6e013135a6e
    kernel /boot/vmlinuz-4.19.0-1073-ayufan-ga6e013135a6e
    initrd /boot/initrd.img-4.19.0-1073-ayufan-ga6e013135a6e
    devicetreedir /boot/dtbs/4.19.0-1073-ayufan-ga6e013135a6e
    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.19.0
    kernel /boot/vmlinuz-4.19.0
    initrd /boot/initrd.img-4.19.0
    devicetreedir /boot/dtbs/4.19.0
    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-1100-rockchip-ayufan-g95cecee47f40
    kernel /boot/vmlinuz-4.4.138-1100-rockchip-ayufan-g95cecee47f40
    initrd /boot/initrd.img-4.4.138-1100-rockchip-ayufan-g95cecee47f40
    devicetreedir /boot/dtbs/4.4.138-1100-rockchip-ayufan-g95cecee47f40
    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

Note the 3rd line I have added, which currently selects the 4.4 option at the bottom. Without that default entry the first option will be used. Also note this is your "Get out of jail free" card: if you screw up and have a duff kernel that wont do what you want, you can just change the default and try again. At worst you may need to mount your SDcard or eMMC (whichever you use to boot) in another Linux box and edit it there.

Hope this helps
  • 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


Messages In This Thread
RE: issues loading firmware and missing pci card - by dukla2000 - 11-13-2018, 01:54 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  prevent bluetooth from loading (manjaro, no wifi/bt card installed) flounder 0 1,252 02-17-2022, 12:10 PM
Last Post: flounder
  HBA Card working on Aufan's builds but not in debian, armbian or dietpi charsi 1 2,254 10-29-2021, 11:15 AM
Last Post: TRS-80
  Overlays not loading at boot - ROCKPRO64 on Armbian rookieone 0 1,562 09-28-2021, 04:10 AM
Last Post: rookieone
  Compiling ayufan mainline - DT-overlay missing Mentaluproar 0 1,676 07-24-2021, 09:46 PM
Last Post: Mentaluproar
  OMV to Kodi Streaming Issues cogito808 12 18,922 05-25-2021, 08:30 AM
Last Post: helpmerock
  Power supply underpowered for Rockpro64, deficient PCIe SATA card, or something else? daffy 8 8,059 05-20-2021, 10:04 PM
Last Post: t4_4t
  Headphone jack issues Manjaro Mangled 2 3,213 03-06-2021, 11:01 PM
Last Post: Mangled
  Building a new SD card linuxha 2 3,810 04-27-2020, 12:32 AM
Last Post: linuxha
  rockpro64 and wayland - missing files Mentaluproar 1 2,957 08-14-2019, 07:51 PM
Last Post: hmuller
  Major issues with 0.8.3 bionic mate and PCIe TheSupercomputer 2 4,356 07-03-2019, 03:38 PM
Last Post: ayufan

Forum Jump:


Users browsing this thread: 2 Guest(s)