ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
5.69k stars 1.83k forks source link

Is there a way to include your new build features into older builds without having to re-flash new image #186

Closed JFLim1 closed 2 years ago

JFLim1 commented 2 years ago

Hi @ophub

Just a feedback. I am currently running one of your earlier build Bullseye (Package Date = 2022-01-16).

jfl@armbian:~$ cat /etc/ophub-release
VERSION_CODENAME='bullseye'
FDTFILE='meson-g12b-gtking-pro.dtb'
U_BOOT_EXT='1'
UBOOT_OVERLOAD='u-boot-gtkingpro-rev-a.bin'
MAINLINE_UBOOT='/lib/u-boot/gtkingpro-u-boot.bin.sd.bin'
ANDROID_UBOOT=''
SOC='s922x'
PACKAGED_DATE='2022-01-16'
KERNEL_VERSION='5.16.15'
K510='1'

Noticed that you made quite a number of changes or added features to your newer pre-built images.

Is there a way to include all the new features that you have added to the older image by installing a package onto older image without having to re-flash a new image? It will good to have this option.

Just one example like you have now change from using uEnv.txt to /extlinux/extlinux.conf.

ophub commented 2 years ago
  1. Every Wednesday or Sunday, kernel.org will release a new version of the kernel, unifreq will synchronize and compile the latest kernel, and I will refactor the new kernel to the latest firmware for release. (This update can be achieved through armbian-update)
  2. Every week debian and Ubuntu upstream will fix some bugs and update new features, these can be updated with apt update
  3. The armbian official will add new features or fix bugs from time to time, but these generally do not affect the firmware being used.
  4. For some other scripts, you can generally download the specified script to your own device through wget

Your suggestion is very good. I think it is possible to do a [one-click script management] to upgrade, maintain and add services in a way similar to armbian-config.

JFLim1 commented 2 years ago
  • Every Wednesday or Sunday, kernel.org will release a new version of the kernel, unifreq will synchronize and compile the latest kernel, and I will refactor the new kernel to the latest firmware for release. (This update can be achieved through armbian-update)
  • Every week debian and Ubuntu upstream will fix some bugs and update new features, these can be updated with apt update
  • The armbian official will add new features or fix bugs from time to time, but these generally do not affect the firmware being used.

@ophub Item 1, 2 and 3, have been performing them since installing the image on 2022-01-16. Started with kernel 5.15.15-flippy, older armbian-config, armbian-firmaware and now upgraded to kernel 5.16.16-flippy-71+ and armbian-config v22.02.2 and armbian-firmware v22.02.2, etc.

4. For some other scripts, you can generally download the specified script to your own device through wget

This I have not done. Not familiar with the script/features to the newer builds.

I think it is possible to do a [one-click script management] to upgrade, maintain and add services in a way similar to armbian-config.

This will be a good feature which will be much easier for newbie to perform and basically have a new image just like your newer pre-built images.

I think this will be better option than performing Item 4 especially for many users.

Edit: Read with interest on your new image now uses /extlinux/exlinux.conf instead of uEnv.txt. What are the advantageous? How to convert the existing firmware using uEnv.txt to /etxlinux/extlinux.conf? Thanks.