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

H. Nikolaus Schaller hns at goldelico.com
Tue Dec 10 19:01:19 CET 2019


> Am 10.12.2019 um 18:53 schrieb H. Nikolaus Schaller <hns at goldelico.com>:
> 
> 
>> Am 10.12.2019 um 18:05 schrieb Andreas Kemnade <andreas at kemnade.info>:
>> 
>> On Tue, 10 Dec 2019 15:38:44 +0100
>> "H. Nikolaus Schaller" <hns at goldelico.com> wrote:
>> 
>>> 
>> I see
>> [   13.300109] [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0
>> on minor 0
>> 
>> For reference my config is attached.
>> I copy it into the tree as .config and then do a
>> make ARCH=arm CROSS_COMPLIE=....   olddefconfig
> 
> Yes, I have the same with omap2plus_defconfig:
> 
> [   14.926788] [drm] Initialized pvr 1.14.3699939 20110701 for 50000000.gpu on minor 0
> 
> More interesting is the boot log. There is a hint for ttyO2 vs. ttyS2.
> But that can't be the problem, because Udoo neo uses yet another name.
> 
> So what I know:
> * compiled with omap2plus_defconfig works
> * compiled with letux_defconfig fails
> * removing modules doesn't make it work
> * DTB is identical
> => it is something that is compiled into the uImage
> 
> Most likely a CONFIG that is no longer compatible or omap2plus_defconfig
> got some new one.
> 
> iMac:master hns$ git diff v5.4 v5.5-rc1 arch/arm/configs/omap2plus_defconfig 
> diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
> index 40d7f1a4fc45..8c37cc8ab6f2 100644
> --- a/arch/arm/configs/omap2plus_defconfig
> +++ b/arch/arm/configs/omap2plus_defconfig
> @@ -128,7 +128,6 @@ CONFIG_PCI_ENDPOINT_CONFIGFS=y
> CONFIG_PCI_EPF_TEST=m
> CONFIG_DEVTMPFS=y
> CONFIG_DEVTMPFS_MOUNT=y
> -CONFIG_DMA_CMA=y
> CONFIG_OMAP_OCP2SCP=y
> CONFIG_CONNECTOR=m
> CONFIG_MTD=y
> @@ -343,18 +342,16 @@ CONFIG_VIDEO_OMAP3=m
> CONFIG_CEC_PLATFORM_DRIVERS=y
> # CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set
> CONFIG_VIDEO_TVP5150=m
> +CONFIG_VIDEO_MT9P031=m
> CONFIG_DRM=m
> CONFIG_DRM_OMAP=m
> CONFIG_OMAP5_DSS_HDMI=y
> CONFIG_OMAP2_DSS_SDI=y
> CONFIG_OMAP2_DSS_DSI=y
> CONFIG_DRM_OMAP_ENCODER_OPA362=m
> -CONFIG_DRM_OMAP_ENCODER_TFP410=m
> CONFIG_DRM_OMAP_ENCODER_TPD12S015=m
> -CONFIG_DRM_OMAP_CONNECTOR_DVI=m
> CONFIG_DRM_OMAP_CONNECTOR_HDMI=m
> CONFIG_DRM_OMAP_CONNECTOR_ANALOG_TV=m
> -CONFIG_DRM_OMAP_PANEL_DPI=m
> CONFIG_DRM_OMAP_PANEL_DSI_CM=m
> CONFIG_DRM_TILCDC=m
> CONFIG_DRM_PANEL_SIMPLE=m
> @@ -539,11 +536,16 @@ CONFIG_NLS_CODEPAGE_437=y
> CONFIG_NLS_ISO8859_1=y
> CONFIG_SECURITY=y
> CONFIG_CRYPTO_MICHAEL_MIC=y
> +CONFIG_CRYPTO_DEV_OMAP=m
> +CONFIG_CRYPTO_DEV_OMAP_SHAM=m
> +CONFIG_CRYPTO_DEV_OMAP_AES=m
> +CONFIG_CRYPTO_DEV_OMAP_DES=m
> CONFIG_CRC_CCITT=y
> CONFIG_CRC_T10DIF=y
> CONFIG_CRC_ITU_T=y
> CONFIG_CRC7=y
> CONFIG_LIBCRC32C=y
> +CONFIG_DMA_CMA=y
> CONFIG_FONTS=y
> CONFIG_FONT_8x8=y
> CONFIG_FONT_8x16=y
> @@ -554,3 +556,4 @@ CONFIG_DEBUG_INFO_DWARF4=y
> CONFIG_MAGIC_SYSRQ=y
> CONFIG_SCHEDSTATS=y
> # CONFIG_DEBUG_BUGVERBOSE is not set
> +CONFIG_TI_CPSW_SWITCHDEV=y
> iMac:master hns$ 
> 
> Well, not much :(

I have now compared the savedefconfig of letux_defconfig in letux-5.4 and letux-5.5-rc1

iMac:master hns$ diff defconfig.5.*
273d272
< CONFIG_BT_WILINK=m
338d336
< CONFIG_AT803X_PHY=y
339a338
> CONFIG_AT803X_PHY=y
387a387
> CONFIG_INPUT_POLLDEV=m
909a910
> CONFIG_DEBUG_FS=y
iMac:master hns$ 

The only potentially influencing thing is CONFIG_DEBUG_FS=y which is now automatically
enabled.

Next, I'll try to build with your defconfig.

BR,
Nikolaus

> 
> BR,
> Nikolaus
> 
> 
> ## Booting kernel from Legacy Image at 82000000 ...
>   Image Name:   Linux-5.5.0-rc1+
>   Image Type:   ARM Linux Kernel Image (uncompressed)
>   Data Size:    4332064 Bytes = 4.1 MiB
>   Load Address: 80008000
>   Entry Point:  80008000
>   Verifying Checksum ... OK
> ## Flattened Device Tree blob at 81c00000
>   Booting using the fdt blob at 0x81c00000
>   Loading Kernel Image ... OK
>   Using Device Tree in place at 81c00000, end 81c14dce
> 
> Starting kernel ...
> 
> [    0.000000] Booting Linux on physical CPU 0x0
> [    0.000000] Linux version 5.5.0-rc1+ (hns at iMac.fritz.box) (gcc version 4.9.2 (GCC)) #1613 SMP PREEMPT Tue Dec 10 17:58:52 CET 2019
> [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
> [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
> [    0.000000] OF: fdt: Machine model: Goldelico GTA04A4/Letux 2804
> [    0.000000] printk: debug: ignoring loglevel setting.
> [    0.000000] Memory policy: Data cache writeback
> [    0.000000] cma: Reserved 16 MiB at 0x9e800000
> [    0.000000] On node 0 totalpages: 130560
> [    0.000000]   Normal zone: 1148 pages used for memmap
> [    0.000000]   Normal zone: 0 pages reserved
> [    0.000000]   Normal zone: 130560 pages, LIFO batch:31
> [    0.000000] CPU: All CPU(s) started in SVC mode.
> [    0.000000] OMAP3630/DM3730 ES1.2 (l2cache iva sgx neon isp 192mhz_clk)
> [    0.000000] percpu: Embedded 19 pages/cpu s49152 r8192 d20480 u77824
> [    0.000000] pcpu-alloc: s49152 r8192 d20480 u77824 alloc=19*4096
> [    0.000000] pcpu-alloc: [0] 0 
> [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129412
> [    0.000000] Kernel command line: console=ttyO2,115200n8 mtdoops.mtddev=omap2.nand ubi.mtd=4 root=/dev/mmcblk0p1 rw rootfstype=ext4,ext3 rootwait console=ttyO2,115200n8 vram=12M omapfb.vram=0:8M,1:4M omapfb.rotate_type=0 omapdss.def_disp=lcd rootwait twl4030_charger.allow_usb=1 log_buf_len=8M ignore_loglevel earlyprintk
> [    0.000000] printk: log_buf_len: 8388608 bytes
> [    0.000000] printk: early log buf free: 64028(97%)
> [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
> [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
> [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
> [    0.000000] Memory: 477944K/522240K available (9216K kernel code, 723K rwdata, 2044K rodata, 1024K init, 259K bss, 27912K reserved, 16384K cma-reserved, 0K highmem)
> [    0.000000] rcu: Preemptible hierarchical RCU implementation.
> [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
> [    0.000000]  Tasks RCU enabled.
> [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
> [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
> [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
> [    0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 4.0) with 96 interrupts
> [    0.000000] random: get_random_bytes called from start_kernel+0x2b4/0x4e4 with crng_init=0
> [    0.000000] Clocking rate (Crystal/Core/MPU): 26.0/400/600 MHz
> [    0.000000] OMAP clockevent source: timer1 at 32768 Hz
> [    0.000000] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
> [    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 65535999984741ns
> [    0.000030] OMAP clocksource: 32k_counter at 32768 Hz
> [    0.001312] Console: colour dummy device 80x30
> [    0.001342] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
> [    0.001373] This ensures that you still see kernel messages. Please
> [    0.001373] update your kernel commandline.
> [    0.001434] Calibrating delay loop... 594.73 BogoMIPS (lpj=2973696)
> 
> 
> _______________________________________________
> http://projects.goldelico.com/p/gta04-kernel/
> Letux-kernel mailing list
> Letux-kernel at openphoenux.org
> http://lists.goldelico.com/mailman/listinfo.cgi/letux-kernel



More information about the Letux-kernel mailing list