4.6 KiB
4.6 KiB
title, type, permalink, stable_id, scope, project_id, workspace_type, usage_profile_id, preference_context, document_type, revision, source_memory_ids, source_checkpoint_ids, source_file_ids, source_git_commit, source_git_commits, source_agent_sync_ids, model_connection, model_name, source_count, source_revisions, source_dispositions, cited_source_ids, job_cited_source_ids, conflicts, supersedes, preferences, source_cursor, source_hash, prompt_version, schema_version, curation_job_id, created_at, updated_at, tags, restored_from_commit
| title | type | permalink | stable_id | scope | project_id | workspace_type | usage_profile_id | preference_context | document_type | revision | source_memory_ids | source_checkpoint_ids | source_file_ids | source_git_commit | source_git_commits | source_agent_sync_ids | model_connection | model_name | source_count | source_revisions | source_dispositions | cited_source_ids | job_cited_source_ids | conflicts | supersedes | preferences | source_cursor | source_hash | prompt_version | schema_version | curation_job_id | created_at | updated_at | tags | restored_from_commit | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Architecture Overview of the BDYG18Pro Armbian Build System | curated | main/projects/d0abaf3f-da04-4dd4-a228-bacf68f44e8f/curated/development/architecture-overview-of-the-bdyg18-pro-armbian-build-system | adb3722a-51e7-4ec5-88cc-a95dc399a7a1 | project | d0abaf3f-da04-4dd4-a228-bacf68f44e8f | development | null | development | architecture | 1 | 36234e0082845515a053c10ee552ce35a03415f0 |
|
Sub2API | git-restore | 125 |
|
|
|
0 | 5fe39ad3a37421f812566dd39f89d4c28fc6078c8d39031dff10eb6eb8d72e00 | 2026-08-12.3 | 3 | null | 2026-08-08T10:02:33.012303+00:00 | 2026-09-23T15:03:44.457714+00:00 |
|
6a6a895eaf |
Architecture Overview
1. Hardware Platform
| Component | Specification |
|---|---|
| SoC | Rockchip RK3568 – quad‑core Cortex‑A55 @ 2 GHz, Mali‑G710 GPU, VPU, RGA, HDMI, PCIe, USB 3.0. |
| Memory | 8 GB DDR4 HS200 (2.5 V). |
| Storage | 256 GB eMMC (boot + rootfs) + 32 MB Winbond W25Q256JW SPI‑NOR (blank). |
| Switch | Realtek RTL8367S 5‑port DSA (GMAC1 active, GMAC0 disabled). |
| Network | Ethernet MAC‑1 (end0), TSO disabled, TCP congestion = Cubic. |
| UART console | serial@fe660000 → ttyS2 @ 1 500 000 baud (pins RX/D0, TX/D1). |
Source: evidence/dtb/rk3568-bdy-g18-pro.fixed.dts, evidence/dtb/rk3568-bdy-g18-pro.orig.dts.
2. Boot Flow
- MaskROM reads SPL from DDR (address 0x08000) after power‑on.
- SPL (Rockchip
rk356x_spl_loader_v1.25.114.binpreferred) initialises DDR and loads U‑Boot (mainline 2026.04) from the SPL payload. - U‑Boot loads a FIT image (
uboot‑fit‑rk3568‑bdy‑g18‑pro.dts) containing BL31, kernel, and DTB. - Kernel
Linux 6.18.40‑current‑rockchip64boots with DTBrk3568‑bdy‑g18‑pro.dtb.
All steps are verified by flashing the SPL to SPI‑NOR, reading back SHA‑256, and confirming boot success (see evidence/selfbuilt-uboot-brideup.txt).
3. Repository Layout & Build Infrastructure
| Directory | Purpose |
|---|---|
arm64‑custom/ |
Custom board scripts & patches (tracked). |
evidence/ |
Raw logs, screenshots, serial captures (tracked). |
aidocs/ |
Additional documentation (tracked). |
outputs/armbian-g18pro/ |
Final artefacts – compressed image, SHA‑256 manifest, verification report. |
armbian‑g18pro‑cache (Docker volume) |
Persistent cache (~19 GB) for U‑Boot, kernel, ccache. |
Build orchestrator: Python script armbian‑custom/build_g18pro.py + PowerShell wrapper build_g18pro.ps1. Docker image ghcr.io/armbian/docker-armbian-build:armbian-ubuntu-noble-latest is used; shallow Git clones (--depth 1) minimise download size.
4. Runtime System State (as of 16 Aug 2026)
- Kernel:
6.18.40‑current‑rockchip64 - U‑Boot: Mainline v2026.04 on SPI‑NOR; vendor U‑Boot remains on eMMC as fallback.
- Network:
tsooff,cubiccongestion, throughput ≈ 30 Mbps. - Power‑off:
systemctl poweroffhangs (requires manual power‑cycle);syscon‑reboot‑modeDTB node restores clean reboot. - Docker cache: volume present, speeds up incremental builds.
Source: abe4221f-b290-4384-ad8f-1f72c360b893.
References
c650c1e4-18ee-44ad-af42-b7632fbdcf5cdd496c6d-1619-457d-86a9-da57f5b866d7S-1aa3057ab-54c5-4ffc-ba85-c2f2396ee60cbf88c265-4749-4c50-85bc-4bae25298cd5ff34c6eb-6bba-41e5-9e43-ff80941fa823adb3722a-51e7-4ec5-88cc-a95dc399a7a1abe4221f-b290-4384-ad8f-1f72c360b893