[Letux-kernel] LetuxOS: kernel: letux-5.5-rc1

H. Nikolaus Schaller hns at goldelico.com
Tue Dec 10 21:51:52 CET 2019


> Am 10.12.2019 um 20:57 schrieb H. Nikolaus Schaller <hns at goldelico.com>:
> 
> 
>> Am 10.12.2019 um 19:01 schrieb H. Nikolaus Schaller <hns at goldelico.com>:
>> 
>> Next, I'll try to build with your defconfig.

I have simply copied it to arch/arm/configs/letux_defconfig. Then it will
be taken by my scripts.

> 
> Hm:
> 
>  LD [M]  lib/crypto/libdes.o - due to: lib/crypto/des.o
>  Building modules, stage 2.
>  MODPOST 436 modules - due to target is PHONY
> ERROR: "input_unregister_polled_device" [drivers/iio/industrialio.ko] undefined!
> ERROR: "input_register_polled_device" [drivers/iio/industrialio.ko] undefined!
> ERROR: "devm_input_allocate_polled_device" [drivers/iio/industrialio.ko] undefined!
> make[3]: *** [__modpost] Error 1
> make[2]: *** [modules] Error 2
> make[1]: *** [__build_one_by_one] Error 2
> make: *** [sub-make] Error 2
> 
> $head->scratch()

Ok, I have disabled the IIO_INPUT_BRIDGE.

Now I can compile
...
...
...
and it boots. Also without display. There is no td028ttec1 panel driver in
modprobe -c. Indeed, CONFIG_DRM_PANEL_TPO_TD028TTEC1=m is not in your config.
CONFIG_DRM_OMAP_PANEL_TPO_TD028TTEC1=m is but that does no longer exist in
v5.5-rc1.

Now let's do a diff of the savedefconfig.
Quite some...

I have filtered out all =m so that only =y lines remain because it is
not relevant which modules we have. Result:

iMac:master hns$ diff -u defconfig-good defconfig-bad | fgrep =y | egrep '(\+|\-)'
+CONFIG_PSI=y
+CONFIG_ARCH_BCM=y
+CONFIG_ARCH_BCM2835=y
+CONFIG_SOC_IMX50=y
+CONFIG_SOC_IMX51=y
+CONFIG_SOC_IMX53=y
+CONFIG_SOC_IMX6Q=y
+CONFIG_SOC_IMX6SL=y
+CONFIG_SOC_IMX6SLL=y
+CONFIG_SOC_IMX6SX=y
+CONFIG_SOC_IMX6UL=y
+CONFIG_ARCH_OMAP4=y
+CONFIG_SOC_OMAP5=y
+CONFIG_SOC_AM33XX=y
+CONFIG_SOC_AM43XX=y
+CONFIG_SOC_DRA7XX=y
+CONFIG_OMAP5_ERRATA_801819=y
+CONFIG_CMDLINE="coherent_pool=1M twl4030_charger.allow_usb=1 fsck.repair=yes rootwait ignore_loglevel"
-CONFIG_PM_DEBUG=y
+CONFIG_RASPBERRYPI_FIRMWARE=y
+CONFIG_ZPOOL=y
+CONFIG_ZBUD=y
+CONFIG_Z3FOLD=y
+CONFIG_ZSMALLOC=y
+CONFIG_PGTABLE_MAPPING=y
+CONFIG_NETFILTER=y
+CONFIG_NF_CONNTRACK_EVENTS=y
+CONFIG_NF_CONNTRACK_TIMEOUT=y
+CONFIG_NF_CONNTRACK_TIMESTAMP=y
+CONFIG_NETFILTER_NETLINK_GLUE_CT=y
+CONFIG_BT_HCIUART_BCM=y
+CONFIG_PCI_IMX6=y
+CONFIG_UEVENT_HELPER=y
+CONFIG_IMX_WEIM=y
+CONFIG_TI_CPSW_PHY_SEL=y
-CONFIG_INPUT_MATRIXKMAP=y
+CONFIG_KEYBOARD_IMX=y
+CONFIG_TOUCHSCREEN_CYPRESS_CYTTSP5_DEVICETREE_SUPPORT=y
+CONFIG_TOUCHSCREEN_CYPRESS_CYTTSP5_MT_A=y
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_SERIAL_8250_EXTENDED=y
+CONFIG_SERIAL_8250_SHARE_IRQ=y
+CONFIG_SERIAL_8250_BCM2835AUX=y
+CONFIG_SERIAL_AMBA_PL011=y
+CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
+CONFIG_SERIAL_IMX=y
+CONFIG_SERIAL_IMX_CONSOLE=y
+CONFIG_SERIAL_FSL_LPUART=y
+CONFIG_SERIAL_FSL_LPUART_CONSOLE=y
+CONFIG_SPI_MEM=y
+CONFIG_SPI_FSL_QUADSPI=y
+CONFIG_GPIO_PALMAS=y
+CONFIG_POWER_RESET=y
+CONFIG_POWER_RESET_SYSCON=y
+CONFIG_POWER_RESET_SYSCON_POWEROFF=y
+CONFIG_SENSORS_AM335X_BANDGAP=y
+CONFIG_SENSORS_GPIO_FAN=y
+CONFIG_THERMAL_STATISTICS=y
+CONFIG_OMAP4_THERMAL=y
+CONFIG_OMAP5_THERMAL=y
+CONFIG_DRA752_THERMAL=y
+CONFIG_RN5T618_WATCHDOG=y
+CONFIG_IMX2_WDT=y
+CONFIG_BCM2835_WDT=y
+CONFIG_MFD_RN5T618=y
+CONFIG_MFD_PALMAS=y
+CONFIG_TWL6040_CORE=y
+CONFIG_REGULATOR_ANATOP=y
+CONFIG_REGULATOR_PALMAS=y
+CONFIG_REGULATOR_RN5T618=y
+CONFIG_RC_CORE=y
+CONFIG_RC_DECODERS=y
+CONFIG_IR_NEC_DECODER=y
+CONFIG_IR_RC5_DECODER=y
+CONFIG_IR_RC6_DECODER=y
+CONFIG_IR_JVC_DECODER=y
+CONFIG_IR_SONY_DECODER=y
+CONFIG_IR_SANYO_DECODER=y
+CONFIG_IR_SHARP_DECODER=y
+CONFIG_IR_MCE_KBD_DECODER=y
+CONFIG_IR_XMP_DECODER=y
+CONFIG_MEDIA_CEC_SUPPORT=y
+CONFIG_V4L_MEM2MEM_DRIVERS=y
+CONFIG_DRM_LOAD_EDID_FIRMWARE=y
+CONFIG_DRM_VC4_HDMI_CEC=y
+CONFIG_SGX=y
+CONFIG_PVRSGX_1_14_3699939=y
+CONFIG_SGX_DRM=y
+CONFIG_FB_MODE_HELPERS=y
+CONFIG_BACKLIGHT_LM3630A=y
+CONFIG_HID_MULTITOUCH=y
+CONFIG_USB_CHIPIDEA_UDC=y
+CONFIG_USB_CHIPIDEA_HOST=y
+CONFIG_USB_FSL_USB2=y
+CONFIG_MMC_SDHCI_IPROC=y
+CONFIG_MMC_BCM2835=y
+CONFIG_MMC_TXS02612=y
+CONFIG_RTC_DRV_PALMAS=y
+CONFIG_RTC_DRV_RC5T619=y
+CONFIG_DMA_BCM2835=y
+CONFIG_ASHMEM=y
+CONFIG_BCM2835_VCHIQ=y
+CONFIG_CLK_TWL6040=y
+CONFIG_COMMON_CLK_PALMAS=y
+CONFIG_COMMON_CLK_PWM=y
+CONFIG_MAILBOX=y
+CONFIG_BCM2835_MBOX=y
+CONFIG_RASPBERRYPI_POWER=y
+CONFIG_EXTCON_PALMAS=y
+CONFIG_IIO_INPUT_BRIDGE=y
+CONFIG_ANDROID=y
+CONFIG_ANDROID_BINDER_IPC=y
+CONFIG_NVMEM_IMX_OCOTP=y
+CONFIG_VALIDATE_FS_PARSER=y
-CONFIG_DEFAULT_SECURITY_DAC=y
-CONFIG_CRYPTO_CBC=y
-CONFIG_CRYPTO_ECB=y
+CONFIG_CRYPTO_DEV_SAHARA=y
+CONFIG_CRYPTO_DEV_MXS_DCP=y
+CONFIG_DEBUG_FS=y
iMac:master hns$ 

Now, which one of these breaks ALL ARM boards?

At a first glance a handful can certainly be exlcuded (e.g. the CONFIG_IR or DRM_LOAD_EDID_FIRMWARE).
SGX is also unlikely since the =y only prepare for building a module and it works with omap2plus_defconfig.

Well, one potential issue could be the CONFIG_ANDROID stuff. Or CONFIG_PSI.

So I will try to disable the potentially "uncritical" ones so that only critical ones
remain. Sort of manual "bisect"...

BR,
Nikolaus



More information about the Letux-kernel mailing list