[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111549":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":13,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":9,"pushedAt":24,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":15,"starSnapshotCount":15,"syncStatus":13,"lastSyncTime":28,"discoverSource":29},111549,"UniXNU-sheng","UniXNU\u002FUniXNU-sheng","UniXNU","UniXNU device support for the Xiaomi Pad 6S Pro (sheng, SM8550) (work in progress)",null,"C",102,110,2,4,0,8,34,53.52,"Other",false,"main",[23],"unixnu","2026-11-18 08:22:48","2026-11-21 09:25:36","# UniXNU sheng\n\nDevice support for Xiaomi Pad 6S Pro 12.4, codename `sheng`, with Qualcomm\nSM8550. The device profile selects\n[UniXNU-sm8550-common](https:\u002F\u002Fgithub.com\u002FUniXNU\u002FUniXNU-sm8550-common). One\nbranch builds every OS profile; `--os 17|26|27` picks the target (the 27\nprofile is the one under active maintenance).\n\n## Structure\n\n| Path | Contents |\n| --- | --- |\n| `porting.toml` | Subsystem inputs, findings, evidence and completion criteria |\n| `board.toml` | Device configuration and component selection |\n| `feeds.toml` | Pinned SoC source |\n| `configs\u002Fsheng_defconfig` | Device kernel settings |\n| `dts\u002Fsheng.dts` | Memory, CPU selection, and peripheral configuration |\n| `patches\u002Fxnu\u002Fseries` | Board patches |\n| `proprietary-files.txt` | Firmware input paths |\n| `package\u002F` | Device policy, display, input, and diagnostics |\n| `scripts\u002F` | Device build and inspection tools |\n\n`Adreno740` and `AdrenoMetal` provide the GPU implementation. Shared GMU,\ncommand database, and GPU SMMU operations are in the SoC repository's\n`Sm8550Platform` kit. sheng supplies GPU votes, signed ZAP firmware,\nreserved memory, and display integration. GPU initialization uses the\nstaged platform build. The hardware DTS contains GPU resources; the ADT\nexports nodes with `unixnu,adt-name`.\n\n`ShengUfs` includes the device's storage and persistence policy.\n`ShengHidInput` and `ShengNovatekTouch` provide the input integration.\n`QcomGeniSpi` provides the shared SPI controller interface.\n`Ath12kWifi` supplies the Wi-Fi stack through board PCIe, MSI, DMA,\nand network interfaces. The payload volume is 208 MiB. The device selects\nsRGB display properties and a 120 Hz display timing request.\n\n## Development record\n\nMaintain [porting.toml](porting.toml) with every subsystem change. It records\nhardware, configuration, procedures, findings, evidence and completion criteria.\nThe [device page](https:\u002F\u002Funixnu.com\u002Fdevices\u002Fsheng) renders this record.\nMaintainers and agents follow the [same guide](https:\u002F\u002Funixnu.com\u002Fporting\u002Frecords).\nThe required `Porting record` CI check validates structure, component coverage\nand updates to findings or evidence for changed code.\n\nThis repository owns the ShengUfs, ShengHidInput, ShengNovatekTouch and\nShengPreflight submodules. Shared components come from the selected profiles\nand UniXNU catalog. Read the [UFS guide](https:\u002F\u002Funixnu.com\u002Fporting\u002Fufs) before\nchanging storage resources or policy.\n\n## Build\n\nOne command from this repository builds everything: dependencies, preflight,\npatches, kernel, package, firmware, payload, boot image and the manifest.\n\n```sh\nUNIXNU_UNIQUE_CHIP_ID=\u003C8 hex digits> scripts\u002Fpackage.sh --os 27 --uefi ..\u002Fuefi-sheng\n```\n\n- The firmware inputs come from the official fastboot archive pinned in\n  `board.toml` `[firmware.image]`: the preflight downloads it with concurrent\n  HTTP ranges, keeps only the porting inputs, deletes the archive and\n  generates the `Binaries\u002Fsheng` modules the firmware volume builds from.\n  Extracted firmware lives in no repository.\n- `UNIXNU_UNIQUE_CHIP_ID` is the platform seed of the device, 8 hex digits.\n  It is baked into the images and stays out of every repository.\n- The kernelcache, trust caches and OS volumes come from the IPSW the OS\n  profile pins; the generated GPU headers come from the pinned sources the\n  kernel archives fetch.\n- Outputs land under `out\u002Fsheng\u002F\u003Cprofile>\u002F\u003Cconfig>\u002F` of the UniXNU checkout:\n  `boot\u002Fboot.img`, `payload\u002Fpayload.img`, `kernel\u002Fkernel.macho` and\n  `package.manifest.json`.\n- `--check` stops after deps, preflight and patches; `--no-deps` skips\n  fetching on a machine whose sources are already pinned.\n\nSee the [packaging script](https:\u002F\u002Funixnu.com\u002Fporting\u002Fpackaging) page for the\nfixed steps, the board.toml keys and the verification the run performs.\n\n## Build on GitHub\n\n`.github\u002Fworkflows\u002Fpackage.yml` runs the same script on a macOS runner and\noffers the images as the run's artifacts.\n\n1. Fork this repository and set its `UNIXNU_UNIQUE_CHIP_ID` secret to the\n   platform seed of the device.\n2. Actions, package, Run workflow, pick the OS profile.\n3. Download the run's artifacts, then delete the run. The images serve the one\n   device whose seed they bake; they are not kept.\n\nThe run installs and asserts its own tools; nothing else is needed on the\nrunner.\n\n## Documentation\n\nThe documentation site is maintained in UniXNU:\n\n- [sheng device guide](https:\u002F\u002Funixnu.com\u002Fdevices\u002Fsheng)\n- [Building](https:\u002F\u002Funixnu.com\u002Fbuilding)\n- [Device repository specification](https:\u002F\u002Funixnu.com\u002Fporting\u002Fdevice-repository)\n- [Device-tree specification](https:\u002F\u002Funixnu.com\u002Fporting\u002Fdevice-tree)\n- [Component catalog](https:\u002F\u002Funixnu.com\u002Freference\u002Fcomponents)\n- [Migration](https:\u002F\u002Funixnu.com\u002Fporting\u002Fmigration)\n\nReport build results and device boot, storage, display, input, and GPU\nobservations separately, with source revisions and commands.\n\n## GPU frame diagnostics\n\n`gpu-trace=1 diag-export=240` exports the latency capture at 240 seconds of boot-log time. It does not schedule a reboot. The capture holds the render server's frame trace, GPU submission and display arrival, large GPU allocations, CPU occupancy, render thread waits, faults, shared-region unnests and the touch report times. `scripts\u002Fread-sheng-log.py` extracts the files and runs the decoders; the `*.touch.*` outputs keep only the touch windows. See [GPU frame diagnostics](https:\u002F\u002Funixnu.com\u002Fporting\u002Fgpu-diagnostics).\n\nOn macOS, starting the Ethernet controller without the BSD wait and the display's hot plug binding follow [macOS-DroidVM](https:\u002F\u002Fgithub.com\u002FDroid-VM\u002FmacOS-DroidVM), the DroidVM port booted with UniXNU.\n","UniXNU-sheng 是为小米平板 6S Pro（代号 sheng，搭载高通 SM8550 芯片）提供 UniXNU 操作系统设备支持的开源移植项目。其核心功能包括基于 Device Tree 的硬件抽象配置、GPU（Adreno 740）驱动集成、UFS 存储策略、触摸与 HID 输入支持、Wi-Fi（ath12k）及显示子系统（120Hz sRGB）适配，并采用结构化端口记录（porting.toml）实现可验证的移植过程。项目使用 staged platform build 流程，支持一键构建完整 OS payload（含内核、固件、启动镜像等）。适用于嵌入式 macOS 兼容系统（XNU 内核）在 ARM64 移动 SoC 平台的硬件适配与研究场景。","2026-11-24 04:41:08","CREATED_QUERY"]