Jump to content

wootje

Members
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I did manage to upgrade the kernel to version 6 by copying the boot directory from this post: : After that I upgraded to version 6.2.0 using "apt upgrade" twice: The list of available updates is more than a week old. To check for new updates run: sudo apt update Last login: Sun Dec 31 14:15:25 2023 from 10.10.10.10 root@localhost:~# apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: linux-headers-6.2.0-33-generic linux-headers-6.2.0-35-generic linux-hwe-6.2-headers-6.2.0-33 linux-hwe-6.2-headers-6.2.0-35 linux-image-6.2.0-33-generic linux-image-6.2.0-35-generic linux-modules-6.2.0-33-generic linux-modules-6.2.0-35-generic linux-modules-extra-6.2.0-33-generic linux-modules-extra-6.2.0-35-generic Use 'apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up initramfs-tools (0.140ubuntu13.4) ... update-initramfs: deferring update (trigger activated) Processing triggers for flash-kernel (3.104ubuntu17) ... dpkg-query: no packages found matching dpkg: error processing package flash-kernel (--configure): installed flash-kernel package post-installation script subprocess returned error exit status 1 Processing triggers for initramfs-tools (0.140ubuntu13.4) ... update-initramfs: Generating /boot/initrd.img-6.2.16-media W: missing /lib/modules/6.2.16-media W: Ensure all necessary drivers are built into the linux image! depmod: ERROR: could not open directory /lib/modules/6.2.16-media: No such file or directory depmod: FATAL: could not search modules: No such file or directory cat: /var/tmp/mkinitramfs_MdVH3i/lib/modules/6.2.16-media/modules.builtin: No such file or directory W: Can't find modules.builtin.modinfo (for locating built-in drivers' firmware, supported in Linux >=5.2) Warning: root device does not exist depmod: WARNING: could not open modules.order at /var/tmp/mkinitramfs_MdVH3i/lib/modules/6.2.16-media: No such file or directory depmod: WARNING: could not open modules.builtin at /var/tmp/mkinitramfs_MdVH3i/lib/modules/6.2.16-media: No such file or directory dpkg-query: no packages found matching run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1 dpkg: error processing package initramfs-tools (--configure): installed initramfs-tools package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: flash-kernel initramfs-tools E: Sub-process /usr/bin/dpkg returned an error code (1) root@localhost:~# apt --fix-broken install Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-6.2.0-33-generic linux-headers-6.2.0-35-generic linux-hwe-6.2-headers-6.2.0-33 linux-hwe-6.2-headers-6.2.0-35 linux-image-6.2.0-33-generic linux-image-6.2.0-35-generic linux-modules-6.2.0-33-generic linux-modules-6.2.0-35-generic linux-modules-extra-6.2.0-33-generic linux-modules-extra-6.2.0-35-generic Use 'apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up initramfs-tools (0.140ubuntu13.4) ... update-initramfs: deferring update (trigger activated) Setting up flash-kernel (3.104ubuntu17) ... flash-kernel: deferring update (trigger activated) Processing triggers for initramfs-tools (0.140ubuntu13.4) ... update-initramfs: Generating /boot/initrd.img-6.2.16-media W: missing /lib/modules/6.2.16-media W: Ensure all necessary drivers are built into the linux image! depmod: ERROR: could not open directory /lib/modules/6.2.16-media: No such file or directory depmod: FATAL: could not search modules: No such file or directory cat: /var/tmp/mkinitramfs_WTqKvI/lib/modules/6.2.16-media/modules.builtin: No such file or directory W: Can't find modules.builtin.modinfo (for locating built-in drivers' firmware, supported in Linux >=5.2) Warning: root device does not exist depmod: WARNING: could not open modules.order at /var/tmp/mkinitramfs_WTqKvI/lib/modules/6.2.16-media: No such file or directory depmod: WARNING: could not open modules.builtin at /var/tmp/mkinitramfs_WTqKvI/lib/modules/6.2.16-media: No such file or directory dpkg-query: no packages found matching run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1 dpkg: error processing package initramfs-tools (--configure): installed initramfs-tools package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: initramfs-tools E: Sub-process /usr/bin/dpkg returned an error code (1) root@localhost:~# dpkg --configure -a Setting up initramfs-tools (0.140ubuntu13.4) ... update-initramfs: deferring update (trigger activated) Processing triggers for flash-kernel (3.104ubuntu17) ... dpkg-query: no packages found matching dpkg: error processing package flash-kernel (--configure): installed flash-kernel package post-installation script subprocess returned error exit status 1 Processing triggers for initramfs-tools (0.140ubuntu13.4) ... update-initramfs: Generating /boot/initrd.img-6.2.16-media W: missing /lib/modules/6.2.16-media W: Ensure all necessary drivers are built into the linux image! depmod: ERROR: could not open directory /lib/modules/6.2.16-media: No such file or directory depmod: FATAL: could not search modules: No such file or directory cat: /var/tmp/mkinitramfs_YFa55a/lib/modules/6.2.16-media/modules.builtin: No such file or directory W: Can't find modules.builtin.modinfo (for locating built-in drivers' firmware, supported in Linux >=5.2) Warning: root device does not exist depmod: WARNING: could not open modules.order at /var/tmp/mkinitramfs_YFa55a/lib/modules/6.2.16-media: No such file or directory depmod: WARNING: could not open modules.builtin at /var/tmp/mkinitramfs_YFa55a/lib/modules/6.2.16-media: No such file or directory dpkg-query: no packages found matching run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1 dpkg: error processing package initramfs-tools (--configure): installed initramfs-tools package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: flash-kernel initramfs-tools root@localhost:~# dpkg --configure -a Setting up initramfs-tools (0.140ubuntu13.4) ... update-initramfs: deferring update (trigger activated) Setting up flash-kernel (3.104ubuntu17) ... flash-kernel: deferring update (trigger activated) Processing triggers for initramfs-tools (0.140ubuntu13.4) ... update-initramfs: Generating /boot/initrd.img-6.2.16-media W: missing /lib/modules/6.2.16-media W: Ensure all necessary drivers are built into the linux image! depmod: ERROR: could not open directory /lib/modules/6.2.16-media: No such file or directory depmod: FATAL: could not search modules: No such file or directory cat: /var/tmp/mkinitramfs_jeuqZz/lib/modules/6.2.16-media/modules.builtin: No such file or directory W: Can't find modules.builtin.modinfo (for locating built-in drivers' firmware, supported in Linux >=5.2) Warning: root device does not exist depmod: WARNING: could not open modules.order at /var/tmp/mkinitramfs_jeuqZz/lib/modules/6.2.16-media: No such file or directory depmod: WARNING: could not open modules.builtin at /var/tmp/mkinitramfs_jeuqZz/lib/modules/6.2.16-media: No such file or directory dpkg-query: no packages found matching run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1 dpkg: error processing package initramfs-tools (--configure): installed initramfs-tools package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: initramfs-tools root@localhost:~# apt --fix-broken install Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-6.2.0-33-generic linux-headers-6.2.0-35-generic linux-hwe-6.2-headers-6.2.0-33 linux-hwe-6.2-headers-6.2.0-35 linux-image-6.2.0-33-generic linux-image-6.2.0-35-generic linux-modules-6.2.0-33-generic linux-modules-6.2.0-35-generic linux-modules-extra-6.2.0-33-generic linux-modules-extra-6.2.0-35-generic Use 'apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up initramfs-tools (0.140ubuntu13.4) ... update-initramfs: deferring update (trigger activated) Processing triggers for flash-kernel (3.104ubuntu17) ... dpkg-query: no packages found matching dpkg: error processing package flash-kernel (--configure): installed flash-kernel package post-installation script subprocess returned error exit status 1 Processing triggers for initramfs-tools (0.140ubuntu13.4) ... update-initramfs: Generating /boot/initrd.img-6.2.16-media W: missing /lib/modules/6.2.16-media W: Ensure all necessary drivers are built into the linux image! depmod: ERROR: could not open directory /lib/modules/6.2.16-media: No such file or directory depmod: FATAL: could not search modules: No such file or directory cat: /var/tmp/mkinitramfs_q0BhM7/lib/modules/6.2.16-media/modules.builtin: No such file or directory W: Can't find modules.builtin.modinfo (for locating built-in drivers' firmware, supported in Linux >=5.2) Warning: root device does not exist depmod: WARNING: could not open modules.order at /var/tmp/mkinitramfs_q0BhM7/lib/modules/6.2.16-media: No such file or directory depmod: WARNING: could not open modules.builtin at /var/tmp/mkinitramfs_q0BhM7/lib/modules/6.2.16-media: No such file or directory dpkg-query: no packages found matching run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1 dpkg: error processing package initramfs-tools (--configure): installed initramfs-tools package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: flash-kernel initramfs-tools E: Sub-process /usr/bin/dpkg returned an error code (1) root@localhost:~# apt autoremove Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages will be REMOVED: linux-headers-6.2.0-33-generic linux-headers-6.2.0-35-generic linux-hwe-6.2-headers-6.2.0-33 linux-hwe-6.2-headers-6.2.0-35 linux-image-6.2.0-33-generic linux-image-6.2.0-35-generic linux-modules-6.2.0-33-generic linux-modules-6.2.0-35-generic linux-modules-extra-6.2.0-33-generic linux-modules-extra-6.2.0-35-generic 0 upgraded, 0 newly installed, 10 to remove and 0 not upgraded. 2 not fully installed or removed. After this operation, 1413 MB disk space will be freed. Do you want to continue? [Y/n] y] (Reading database ... 403395 files and directories currently installed.) Removing linux-headers-6.2.0-33-generic (6.2.0-33.33~22.04.1) ... Removing linux-headers-6.2.0-35-generic (6.2.0-35.35~22.04.1) ... Removing linux-hwe-6.2-headers-6.2.0-33 (6.2.0-33.33~22.04.1) ... Removing linux-hwe-6.2-headers-6.2.0-35 (6.2.0-35.35~22.04.1) ... Removing linux-image-6.2.0-33-generic (6.2.0-33.33~22.04.1) ... I: /boot/vmlinuz.old is now a symlink to vmlinuz-6.2.16-media I: /boot/initrd.img.old is now a symlink to initrd.img-6.2.16-media I: /boot/vmlinuz is now a symlink to vmlinuz-6.2.16-media I: /boot/initrd.img is now a symlink to initrd.img-6.2.16-media /etc/kernel/postrm.d/initramfs-tools: update-initramfs: Deleting /boot/initrd.img-6.2.0-33-generic /etc/kernel/postrm.d/zz-flash-kernel: flash-kernel: Kernel 6.2.0-33-generic has been removed. flash-kernel: A higher version (6.2.16-media) is still installed, no reflashing required. Removing linux-image-6.2.0-35-generic (6.2.0-35.35~22.04.1) ... /etc/kernel/postrm.d/initramfs-tools: update-initramfs: Deleting /boot/initrd.img-6.2.0-35-generic /etc/kernel/postrm.d/zz-flash-kernel: flash-kernel: Kernel 6.2.0-35-generic has been removed. flash-kernel: A higher version (6.2.16-media) is still installed, no reflashing required. Removing linux-modules-extra-6.2.0-33-generic (6.2.0-33.33~22.04.1) ... Removing linux-modules-6.2.0-33-generic (6.2.0-33.33~22.04.1) ... Removing linux-modules-extra-6.2.0-35-generic (6.2.0-35.35~22.04.1) ... Removing linux-modules-6.2.0-35-generic (6.2.0-35.35~22.04.1) ... Setting up initramfs-tools (0.140ubuntu13.4) ... update-initramfs: deferring update (trigger activated) Setting up flash-kernel (3.104ubuntu17) ... flash-kernel: deferring update (trigger activated) Processing triggers for initramfs-tools (0.140ubuntu13.4) ... update-initramfs: Generating /boot/initrd.img-6.2.16-media W: missing /lib/modules/6.2.16-media W: Ensure all necessary drivers are built into the linux image! depmod: ERROR: could not open directory /lib/modules/6.2.16-media: No such file or directory depmod: FATAL: could not search modules: No such file or directory cat: /var/tmp/mkinitramfs_XylMnf/lib/modules/6.2.16-media/modules.builtin: No such file or directory W: Can't find modules.builtin.modinfo (for locating built-in drivers' firmware, supported in Linux >=5.2) Warning: root device does not exist depmod: WARNING: could not open modules.order at /var/tmp/mkinitramfs_XylMnf/lib/modules/6.2.16-media: No such file or directory depmod: WARNING: could not open modules.builtin at /var/tmp/mkinitramfs_XylMnf/lib/modules/6.2.16-media: No such file or directory dpkg-query: no packages found matching run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1 dpkg: error processing package initramfs-tools (--configure): installed initramfs-tools package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: initramfs-tools E: Sub-process /usr/bin/dpkg returned an error code (1) root@localhost:~# apt install ^C root@localhost:~# ^C root@localhost:~# apt install initramfs-tools Reading package lists... Done Building dependency tree... Done Reading state information... Done initramfs-tools is already the newest version (0.140ubuntu13.4). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] n Abort. root@localhost:~# apt atoremove E: Invalid operation atoremove root@localhost:~# apt clean root@localhost:~# apt autoclean Reading package lists... Done Building dependency tree... Done Reading state information... Done root@localhost:~# So the issue is fixed
  2. Hello, I sucesfullly flashed image "Ubuntu_20.04.5_K4.19.219_RK3566_H96_MAX_8GB_No_Video_OUT_WIFI_OK_PARTITIONING" to my RK3566" device (model = H96 Max v56). I did an apgrade to Ubuntu 22.04. Only the kernel update won't work: root@localhost:~# apt --fix-broken install E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. root@localhost:~# apt --fix-broken install E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. root@localhost:~# dpkg --configure -a Setting up initramfs-tools (0.140ubuntu13.4) ... update-initramfs: deferring update (trigger activated) Processing triggers for flash-kernel (3.104ubuntu17) ... Unsupported platform 'Rockchip RK3566 EVB3 DDR3 V10 Board'. dpkg: error processing package flash-kernel (--configure): installed flash-kernel package post-installation script subprocess returned error exit status 1 Processing triggers for initramfs-tools (0.140ubuntu13.4) ... update-initramfs: Generating /boot/initrd.img-6.2.0-39-generic Warning: root device does not exist Unsupported platform 'Rockchip RK3566 EVB3 DDR3 V10 Board'. run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1 dpkg: error processing package initramfs-tools (--configure): installed initramfs-tools package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: flash-kernel initramfs-tools root@localhost:~# apt --fix-broken install Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-6.2.0-33-generic linux-headers-6.2.0-35-generic linux-hwe-6.2-headers-6.2.0-33 linux-hwe-6.2-headers-6.2.0-35 linux-image-6.2.0-33-generic linux-image-6.2.0-35-generic linux-modules-6.2.0-33-generic linux-modules-6.2.0-35-generic linux-modules-extra-6.2.0-33-generic linux-modules-extra-6.2.0-35-generic Use 'apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up initramfs-tools (0.140ubuntu13.4) ... update-initramfs: deferring update (trigger activated) Setting up flash-kernel (3.104ubuntu17) ... flash-kernel: deferring update (trigger activated) Processing triggers for initramfs-tools (0.140ubuntu13.4) ... update-initramfs: Generating /boot/initrd.img-6.2.0-39-generic Warning: root device does not exist Rockchip RK3566 EVB3 DDR3 V10 BoardUnsupported platform 'Rockchip RK3566 EVB3 DDR3 V10 Board'. run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1 dpkg: error processing package initramfs-tools (--configure): installed initramfs-tools package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: initramfs-tools E: Sub-process /usr/bin/dpkg returned an error code (1) W: Operation was interrupted before it could finish root@localhost:~# apt clean root@localhost:~# apt autoclean Reading package lists... Done Building dependency tree... Done Reading state information... Done root@localhost:~# ^C root@localhost:~# apt-mark hold /initrd.img-6.2.0-39-generic E: Unable to locate package I keep getting the error " device root not found". Can someone help me?
  3. I did flash the "Ubuntu_20.04.5_K4.19.219_RK3566_H96_MAX_8GB_No_Video_OUT_WIFI_OK_PARTITIONING.img" firmware (first flashed "H96-MAX-8gb-MiniLoaderAll.bin"). The I did upgrade to Ubuntu to version 22.04. I tried to update the kernel by recompiling from scratch, compiling from the kernel in "H96MAX RK3566 UPDATE.img". Both nu succes. I get the following message every time Ubuntu tries to update the kernel: Processing triggers for initramfs-tools (0.140ubuntu13.4) ... Processing triggers for flash-kernel (3.104ubuntu16) ... Unsupported platform 'Rockchip RK3566 EVB3 DDR3 V10 Board'. dpkg: error processing package flash-kernel (--configure): installed flash-kernel package post-installation script subprocess returned error exit status 1 Processing triggers for linux-image-6.2.0-35-generic (6.2.0-35.35~22.04.1) ... /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-6.2.0-35-generic Warning: root device does not exist flash-kernel: deferring update (trigger activated) /etc/kernel/postinst.d/zz-flash-kernel: flash-kernel: deferring update (trigger activated) Errors were encountered while processing: flash-kernel E: Sub-process /usr/bin/dpkg returned an error code (1) Does anybody have an idea on on how to solve this issue? Or is it impossible to update the kernel?
  4. I fixed the issue on a different firmware by running the following command: resize2fs /dev/mmcblk2p6 My main partition changed from 6GB to 56GB.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines