Directory: initscripts/post_boot/
Post-boot scripts apply target-specific kernel and sysfs tuning at system startup, for example to configure CPU governor, RT scheduling, memory management, etc.
| Script | Purpose |
|---|---|
| post_boot.sh | Dispatcher: runs common + target-specific scripts |
| post_boot_common.sh | Common kernel tuning applied to all targets |
| post_boot_alorp.sh | ALORP kernel tuning |
| post_boot_qcm6490.sh | QCM6490 kernel tuning |
| post_boot_qcs615.sh | QCS615 kernel tuning |
| post_boot_qcs8300.sh | QCS8300 kernel tuning |
| post_boot_qcs9075.sh | QCS9075 kernel tuning |
| post_boot_qcs9100.sh | QCS9100 kernel tuning |
All scripts are installed to /usr/libexec/urm/initscripts/post_boot/ with execute permissions (755).
The dispatcher script:
tr.sa8775p → qcs9100sa7255p → qcs8300qcs6490 → qcm6490Target detection is fully automatic - no manual configuration needed.
Applied to all targets before the target-specific script. Settings:
| Setting | Value | Rationale |
|---|---|---|
| CPU governor | schedutil | Energy-aware; tracks actual CPU load |
| mem_sleep | s2idle | Fast resume for embedded/always-on use |
| vm.swappiness | 100 | Aggressive swap to free RAM for workloads |
| THP enabled | never (if RAM < 15 GB) | Disable transparent huge pages on low-RAM targets |
| ZRAM mem_limit | RAM_MB / 2 | Cap ZRAM usage to half of physical RAM |
All target-specific scripts (alorp, qcm6490, qcs615, qcs8300, qcs9075, qcs9100) apply the following settings:
| Setting | Value | Rationale |
|---|---|---|
| sched_util_clamp_min_rt_default | 0 | Disable minimum utilization clamp for RT tasks |
| vm.compaction_proactiveness | 0 | Disable proactive THP compaction (THP not used) |
Scripts for qcm6490, qcs615, qcs8300, qcs9075, and qcs9100 additionally apply:
| Setting | Value | Rationale |
|---|---|---|
| system.slice cpuset.cpus | 0-3 | Restrict system slice to little cores |
| kernel.printk | 4 | Suppress debug/info kernel messages |
The alorp script does not restrict system.slice or printk level.