33 lines
1.2 KiB
INI
33 lines
1.2 KiB
INI
# A9 BY401 board kernel cfg. Top-level so s6 build also gets these flips —
|
|
# all repair-direction (safer for both).
|
|
|
|
# Vendor DRM: a9_postblend_hw_disable trips UB → BRK #0x3e8 → panic during
|
|
# DRM probe. Disabling UBSAN_TRAP makes UB warn-only.
|
|
# CONFIG_UBSAN_TRAP is not set
|
|
|
|
# Vendor DRM: am_meson_drm_fbdev_init runs drm_fb_helper_initial_config before
|
|
# meson_vpu_reg_handle_register → rdma_ins[-1] OOB → NULL deref.
|
|
# CONFIG_AMLOGIC_DRM_EMULATE_FBDEV is not set
|
|
|
|
# clk-scmi.ko has no modalias; udev never auto-loads it. Built-in (=y) so SCMI
|
|
# clock provider is registered before any pinctrl/mmc/clk-v2 probe.
|
|
CONFIG_COMMON_CLK_SCMI=y
|
|
|
|
# RTL8211F PHY on BY401 ethmac_a: amlogic_realtek.ko's mdio: aliases never match
|
|
# because PHY uevent emits only `of:Nethernet-phyT(null)`. Module never auto-loads
|
|
# → end0 stays unbound → no link. Built-in (=y) so PHY driver is registered before
|
|
# stmmac probes the MDIO bus. Same pattern as CONFIG_COMMON_CLK_SCMI=y above.
|
|
CONFIG_AMLOGIC_REALTEK=m
|
|
|
|
CONFIG_RFKILL_INPUT=y
|
|
CONFIG_USB_SERIAL=y
|
|
CONFIG_USB_SERIAL_CH341=y
|
|
CONFIG_USB_SERIAL_CP210X=y
|
|
CONFIG_TMPFS_POSIX_ACL=y
|
|
|
|
#enable AMFC
|
|
CONFIG_AMLOGIC_AMFC=m
|
|
# if soc not define, it will use default AMFC_S7D
|
|
CONFIG_AMFC_A9=y
|
|
CONFIG_AMFC_BASE=0xFE092000
|