# 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