Files
bfe-core1106-sdk/kernel/rv1106-enablement/configs/m2-earlycon.fragment
T
BFE EngineeringandClaude Opus 4.8 d50934d048 kernel: M2 earlycon build — full 6.18 zImage + minimal RV1106 board DT
M1 is complete (clk + pinctrl + mach compile clean); this reaches M2's build
milestone. multi_v7_defconfig + configs/m2-earlycon.fragment builds an 11.8 MB
zImage with clk-rv1106.o and pinctrl-rockchip.o (our rv1106 data) compiled into
the full tree — no rv1106 warnings. dts/rv1106-warden-m2.dts (CPU, GIC-400, arch
timer, 256 MiB RAM, GRF, the CRU, uart2 as snps,dw-apb-uart) compiles clean at
W=1 with earlycon=uart8250,mmio32,0xff4c0000. Reproducible via build-m2.sh.

Boot is the next step and is on-hardware/attended: package zImage + dtb, load on
a bench unit with a recovery net, watch for the earlycon "it's alive". PORT-VERIFY
before trusting a boot: DDR size/base, the CPU clock mux, console baud.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017wB8KB3MMQztRDXCMCkPrf
2026-08-24 18:39:38 -06:00

26 lines
999 B
Plaintext

# M2 earlycon config fragment for the RV1106 → Linux 6.18 forward-port.
#
# Base: multi_v7_defconfig (PORT-STATUS confirms it configures and CLK_RV1106
# wires in cleanly). Apply this fragment on top, then `make olddefconfig`:
#
# make ARCH=arm CROSS_COMPILE=arm-rockchip830-linux-uclibcgnueabihf- multi_v7_defconfig
# ./scripts/kconfig/merge_config.sh -m .config kernel/.../configs/m2-earlycon.fragment
# make ARCH=arm CROSS_COMPILE=... olddefconfig zImage
#
# This builds an 11.8 MB zImage with our ported SoC drivers compiled in
# (clk-rv1106.o, pinctrl-rockchip.o with the rv1106 data) — verified 2026-08-24.
# --- our ported RV1106 SoC drivers ---
CONFIG_ARCH_ROCKCHIP=y
CONFIG_CLK_RV1106=y
CONFIG_PINCTRL_ROCKCHIP=y
# --- console: mainline 8250_dw drives uart2 (snps,dw-apb-uart) ---
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_DW=y
CONFIG_SERIAL_OF_PLATFORM=y
# --- earlycon: the "it's alive" print, before clk/pinctrl probe ---
CONFIG_SERIAL_EARLYCON=y