DietPi OS for Quartz64
#22
(09-29-2023, 02:17 PM)MichaIng Wrote:
(09-29-2023, 02:02 PM)balbes150 Wrote: RAM management, in principle, cannot work as an overlay. You're trying to use an overlay where it basically can't work. Have you seen on a regular PC that someone on a running system connected or disconnected the DDR memory strips and the system automatically changed the RAM? The PnP principle (dynamic overlay/parameter change) works only with equipment that can be dynamically reconfigured (load or unload drivers or change their settings, if they support it).

The overlay works perfectly fine when applying it via fdtoverlay parameter in extlinux.conf. StarFive themselves rewrite the device tree with this exact change on every boot, to support the 8 GiB variant. I just didn't like the fact that the dtb file on disk is rewritten on every boot, hence do this via overlay.

I am sure there are some features which do work dynamically, but I am not keen trying to find out what works and what not and then instruct users to apply this overlay dynamically while applying the other overlay only via boot config. Generally I also do not see the big problem of the need for a reboot, as long as this is the one and only method which simply works for every kind of (effective) device tree change.

But well, if someone requires a specific feature of the Quartz64 which causes problems when being permanently enabled with our kernel builds, and that particular one can be reliably toggled dynamically, then I am open to implement it + a dietpi-config option for it.

EDIT: I see I2C and SPI. Will look into this. Is there any downside to have both interfaces just enabled OOTB?

Using u-boot to change DTB (at the level of the loaded binary code in RAM that the kernel uses in its work) is just a "dumb" replacement of DTB, similar to if you build a completely new DTB (for example, using the DTC utility or add a new DTS file with the necessary parameters to the kernel build system) and not it has to do with dynamic "overlay" in a running system. I. e. you can immediately create many different ready-made DTBS with the necessary functions \ parameters for each case and just stupidly change the name of the DTB file used (for example, change the name in extlinux.conf) and get this so-called "overlay" (changed the name of which DTB to use, rebooted the system and voila, got the necessary functionality). This option will work with absolutely any startup system (where it is possible to specify the name of the DTB used) - extlinux, grub (UEFI), etc.
  Reply


Messages In This Thread
DietPi OS for Quartz64 - by MichaIng - 11-13-2022, 05:06 AM
RE: DietPi OS for Quartz64 - by mig - 03-06-2023, 10:54 AM
RE: DietPi OS for Quartz64 - by fxc - 03-06-2023, 04:11 PM
RE: DietPi OS for Quartz64 - by mig - 03-08-2023, 04:52 AM
RE: DietPi OS for Quartz64 - by balbes150 - 03-09-2023, 12:42 AM
RE: DietPi OS for Quartz64 - by MichaIng - 03-15-2023, 07:48 AM
RE: DietPi OS for Quartz64 - by hughsheehy - 03-26-2023, 03:29 AM
RE: DietPi OS for Quartz64 - by hughsheehy - 03-26-2023, 09:48 AM
RE: DietPi OS for Quartz64 - by hughsheehy - 04-05-2023, 07:01 AM
RE: DietPi OS for Quartz64 - by CounterPillow - 04-08-2023, 09:15 AM
RE: DietPi OS for Quartz64 - by balbes150 - 04-09-2023, 04:41 AM
RE: DietPi OS for Quartz64 - by CounterPillow - 04-09-2023, 07:59 AM
RE: DietPi OS for Quartz64 - by balbes150 - 04-10-2023, 01:24 AM
RE: DietPi OS for Quartz64 - by CounterPillow - 04-10-2023, 04:13 AM
RE: DietPi OS for Quartz64 - by hughsheehy - 04-10-2023, 02:45 PM
RE: DietPi OS for Quartz64 - by balbes150 - 04-11-2023, 01:01 AM
RE: DietPi OS for Quartz64 - by MichaIng - 09-26-2023, 09:21 AM
RE: DietPi OS for Quartz64 - by balbes150 - 09-27-2023, 02:14 AM
RE: DietPi OS for Quartz64 - by MichaIng - 09-29-2023, 09:37 AM
RE: DietPi OS for Quartz64 - by balbes150 - 09-29-2023, 02:02 PM
RE: DietPi OS for Quartz64 - by MichaIng - 09-29-2023, 02:17 PM
RE: DietPi OS for Quartz64 - by balbes150 - 09-30-2023, 04:44 AM
RE: DietPi OS for Quartz64 - by MichaIng - 09-30-2023, 06:27 AM
RE: DietPi OS for Quartz64 - by stormwyrm - 11-17-2023, 12:02 AM
RE: DietPi OS for Quartz64 - by MichaIng - 11-17-2023, 09:38 AM
RE: DietPi OS for Quartz64 - by stormwyrm - 11-17-2023, 10:22 AM
RE: DietPi OS for Quartz64 - by MichaIng - 11-17-2023, 10:45 AM
RE: DietPi OS for Quartz64 - by stormwyrm - 11-17-2023, 11:01 AM
RE: DietPi OS for Quartz64 - by MichaIng - 11-17-2023, 11:56 AM
RE: DietPi OS for Quartz64 - by stormwyrm - 11-17-2023, 12:18 PM
RE: DietPi OS for Quartz64 - by MichaIng - 11-17-2023, 12:52 PM
RE: DietPi OS for Quartz64 - by stormwyrm - 11-17-2023, 02:00 PM
RE: DietPi OS for Quartz64 - by MichaIng - 11-17-2023, 02:03 PM
RE: DietPi OS for Quartz64 - by stormwyrm - 11-17-2023, 02:23 PM
RE: DietPi OS for Quartz64 - by MichaIng - 11-17-2023, 02:26 PM
RE: DietPi OS for Quartz64 - by stormwyrm - 11-26-2023, 09:47 PM
RE: DietPi OS for Quartz64 - by MichaIng - 11-27-2023, 08:41 AM
RE: DietPi OS for Quartz64 - by stormwyrm - 11-29-2023, 02:47 AM
RE: DietPi OS for Quartz64 - by MichaIng - 11-29-2023, 10:41 AM
RE: DietPi OS for Quartz64 - by diederik - 11-29-2023, 07:34 PM
RE: DietPi OS for Quartz64 - by stormwyrm - 11-30-2023, 12:57 AM
RE: DietPi OS for Quartz64 - by MichaIng - 11-30-2023, 07:07 AM
RE: DietPi OS for Quartz64 - by diederik - 11-30-2023, 09:25 AM
RE: DietPi OS for Quartz64 - by MichaIng - 11-30-2023, 09:44 AM
RE: DietPi OS for Quartz64 - by diederik - 11-30-2023, 04:02 AM
RE: DietPi OS for Quartz64 - by sickos - 12-12-2023, 02:26 AM
RE: DietPi OS for Quartz64 - by kup4ooo - 07-16-2024, 12:18 AM
RE: DietPi OS for Quartz64 - by ifreislich - 08-08-2024, 07:42 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) Quartz64 riscv64, aarch64 mara 4 1,103 11-20-2024, 10:45 AM
Last Post: mara
  USB on Quartz64 Zero litbulb 0 95 11-13-2024, 08:16 AM
Last Post: litbulb
  Armbian and LibreELEC and AltLinux for Quartz64 balbes150 149 81,983 10-25-2024, 01:53 PM
Last Post: gounthar
  slarm64 (unofficial slackware) Quartz64 RK3566 (aarch64) mara 56 49,968 10-17-2023, 10:55 AM
Last Post: mara
  quartz64-a - on-board SATA port problems manning 2 1,787 09-14-2023, 04:22 PM
Last Post: manning
  How the reset Quartz64-b onboard memory (emmc) beepy 2 1,391 07-20-2023, 10:44 PM
Last Post: beepy
  crux-arm Quartz64 RK3566 (aarch64) mara 5 5,916 10-29-2022, 06:55 AM
Last Post: mara
  Ov5647 camera attached via csi to Quartz64 /Soquartz Randomuser 0 1,517 07-21-2022, 01:08 PM
Last Post: Randomuser
  Armbian on Quartz64 dieselnutjob 34 32,190 03-17-2022, 06:29 AM
Last Post: balbes150

Forum Jump:


Users browsing this thread: 5 Guest(s)