MEMORY / DIRECTIVES
===================

This file is the OFFICIAL long-term memory for the baby project.
User directives (verbindlich, from 18.09.2026) — persist even if
the session database loses entries.

USER GOAL (phone)
-----------------
Better drafts: fast boot, NO splash images, ONLY the kernel bootlog.
The phone should boot as fast as physically possible.

REPEAT ON ALL DEVICES
---------------------
This process (bootline trimming, no-splash, direct boot, lean system)
must be repeated on EVERY device: PC, laptop, Pi 4B, phone. It is a
system philosophy, not a one-off.

SYNC SCOPE
----------
Everything the user cares about lives in their sync graph:
    /bin  /etc  /root  /boot
Changes must keep working with that sync. Respect it in every change:
- scripts/daemons placed under /usr/bin or /bin (never /usr/local/bin)
- configs under /etc (config symlink to /etc)
- boot-related material under /boot (and the baby repo's rb/ mirror)

CLEAN LITTLE OPERATING SYSTEM
-----------------------------
The user wants ONE clean, small, functional operating system on all
devices. Lightweight Linux is the target — specifically:
    - stali linux (http://sta.li) as the clean/small reference
    - "toybox linux" as the working model: one binary per tool, plain C,
      no bloat, UI-less, Plan9-flavour (see ein-datei-rule / toybox)
No UI, no systemd, no bloat. Busybox init / rc.boot on the PC; on the
phone postmarketOS + sdm660-mainline kernel.

PROJECT LOCATION (AUTHORITATIVE)
--------------------------------
Everything for the phone/baby project lives here:
    root@marlonivo.com:/mnt/marlonivo.com/home/ivo/ongoing/code/baby
(= /mnt/marlonivo.com/home/ivo/ongoing/code/baby on this PC)
Source-first workflow: EDIT the files in this repo, then deploy to
the device. Never edit only on the device.

DEVICE REACHABILITY NOTE
------------------------
Phone: ssh root@172.16.42.1 (USB gadget, PC side usb0 up +
172.16.42.2/24) — WLAN IP 192.168.1.6 is the LAPTOP, not the phone.

CURRENT BOOT CHAIN (KEY2 LE, as of 18.09.2026)
-----------------------------------------------
PBL -> XBL (xbl_a p27, embedded BlackBerry BMP logo, SIGNED) -> ABL
(abl_a p37) -> p23 boot.img (U-Boot "uboot2nd") -> p76 pmOS_boot
(systemd-boot BOOTAA64.EFI) -> vmlinuz.efi + initramfs + DTB
sdm636-bbry-luna-boe.dtb.

GOAL BOOT CHAIN
---------------
PBL -> XBL(signed, logo unavoidable) -> U-Boot -> booti direct:
vmlinuz + initramfs + dtb, NO systemd-boot, NO EFI stack, kernel
bootlog straight after U-Boot. Logo dies as soon as the kernel takes
the display (~1..2 s after power-on).