Exact minimal DT used for the CCU v4 A7S diagnostic ================================================== This is the small test DT, NOT the newer private DTS v2. The board explicitly enables UART0 and MMC0. It retains the fixed 3.3 V card supply used for this diagnostic, not a validated PMIC/card supply description. Base: v7.3-rc1, cee9395acd8043be0644b25c34bfa86623f2b935. Local tested source head: 937756dcfb9fd853c91269c45d106026cca26607. Local commit hashes are recorded for identity, not advertised as public refs. Reconstruct in a disposable Linux checkout at that base: 1. Apply the four single-divider patches: https://lore.kernel.org/all/20260906-sunxi-clk-no-p-v1-0-cbde21c9fe69@pigmoral.tech/ 2. Apply all eight CCU v4 patches: https://lore.kernel.org/all/20260921-a733-clk-v4-0-9c184ebe9ac1@pigmoral.tech/ 3. Apply minimal-dt-integration.diff from reproduction-support.tar.gz. This includes the board binding, Makefile entry and the two attached DT sources, using the CCU v4 binding header names. 4. Apply all seven pinctrl patches: https://lore.kernel.org/all/20260910133519.459011-1-andre.przywara@arm.com/ 5. Apply ahb-cpus-comparator.diff. This is the one-line CLK_IS_CRITICAL diagnostic change, not a submitted fix. The support archive also contains the four A733 clock/reset binding headers from the exact tested commit. Compare them with those installed by CCU v4; do not replace them with a newer version. arm-gic.h, irq.h and sun6i-rtc.h are supplied by the base tree. source-history.txt records all local commits. Use b4 am to retrieve each series and git am to apply its resulting mailbox. Apply the two local diff files with git apply. Then, from the checkout: mkdir -p ../a733-test-build gzip -dc /path/to/tested.config.gz > ../a733-test-build/.config make O=../a733-test-build ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- olddefconfig make O=../a733-test-build ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j8 allwinner/sun60i-a733-cubie-a7s.dtb The configuration was extracted from the exact tested Image with scripts/extract-ikconfig, not copied from a later tracing build directory. Compiler recorded in that Image/config: aarch64-linux-gnu-gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0; binutils banner: 2.46. The isolated DTB rebuild matches the original, size 4497 bytes, SHA256: 4c7b762757392334e8b7ac525e60bf5757ec23b34efdcc949d2093c238b1ed16 Original payloads (not attached): Image, 42928640 bytes: 14d1415a80258170616f97e5b55e1b8d3dac4f9d67d4d870a0582e5e569a0f63 initramfs.cpio.gz, 5680294 bytes: 37675cf26adc7b1a1ab8f9e1d6613523b561149ec4b7c710c877d9bf352b8db0 The userspace is an initramfs /bin/sh smoke harness. These instructions reproduce the DT; no byte-identical rebuilt Image or initramfs is claimed. Boot commands and firmware caveat ------------------------------- The successful run loaded from the existing vendor eMMC filesystem using ext4load mmc 0:3, directly into RAM. No firmware was flashed for these tests. The recorded staging directory was /home/radxa/a733-ccu-v4-clk-ignore-unused-r2-20260926. Commands below preserve the recorded arguments and payload CRC checks: setenv drm_debug 1 setenv kernel_addr_r 0x40080000 setenv ramdisk_addr_r 0x4c000000 setenv fdt_addr_r 0x4fa00000 setenv bootargs console=ttyS0,115200n8 earlycon=uart8250,mmio32,0x02500000 loglevel=8 ignore_loglevel drm_debug=1 ro rootflags=noload rdinit=/bin/sh init=/bin/sh clk_ignore_unused ext4load mmc 0:3 0x40080000 /home/radxa/a733-ccu-v4-clk-ignore-unused-r2-20260926/Image crc32 0x40080000 0x28f0a00 ext4load mmc 0:3 0x4c000000 /home/radxa/a733-ccu-v4-clk-ignore-unused-r2-20260926/initramfs.cpio.gz crc32 0x4c000000 0x56aca6 ext4load mmc 0:3 0x4fa00000 /home/radxa/a733-ccu-v4-clk-ignore-unused-r2-20260926/sun60i-a733-cubie-a7s.dtb crc32 0x4fa00000 0x1191 fdt addr 0x4fa00000 booti 0x40080000 0x4c000000:0x56aca6 0x4fa00000 Expected CRCs: Image 3449b907; initramfs 2bc19206; DTB 3fe3901c. For the earlier failing comparator, clk_ignore_unused was absent; payload bytes were identical. Staging directory differed. No saveenv was issued. The drm_debug environment variable was set separately from bootargs. Both UART captures show the same U-Boot and BL31 version/build banners; see the two excerpts in the support archive. U-Boot reports FDT fixup errors and "update dts" before Linux, including in the successful run. The attached DT sources/hash identify the file loaded into RAM, not an asserted exact post-fixup DT presented to Linux. No final flattened DT dump was captured. No claim is made that U-Boot's fixups are identical to those on the A7A. Firmware origin --------------- These runs used the vendor firmware already installed on this A7S. U-Boot: 2018.07-12-boot-aw2501-gb2d229198b2-dirty Jan 06 2026 - 03:45:33 +0000, Allwinner Technology BL31: v2.5(debug):5fc237a6a Built: 09:05:28, Feb 26 2025 I cannot identify the original download/installation image or provide a verified installed-binary hash. The installation history is unknown. Earlier local source-correlation records associate the U-Boot banner with Radxa's downstream U-Boot repository, but this does not identify its dirty changes or reproduce the installed bytes. The retained candidate U-Boot build in those records has a different revision (8f59d3cea4d). The BL31 source repository and build inputs remain unknown. No nearby firmware binary is supplied or represented as the firmware used by these tests.