[Letux-kernel] LX16 does not like me anymore.. or any kernels.. early boot
H. Nikolaus Schaller
hns at goldelico.com
Fri Feb 9 21:06:44 CET 2024
> Am 09.02.2024 um 20:36 schrieb H. Nikolaus Schaller <hns at goldelico.com>:
>
>
>
>> Am 09.02.2024 um 20:32 schrieb H. Nikolaus Schaller <hns at goldelico.com>:
>>
>> I had seen similar things but not that early in boot and related to dt_alloc.
>>
>> But I see you have used a 5.10.202 kernel from December which may have become incompatbile by the U-Boot fix if you have installed it (although it should not).
>>
>> Please try http://download.goldelico.com/letux-kernel/latest-lx16/
>
>
> sorry - this leads to the latest 6.8-rc3...
>
> the latest stable 5.10.y-lx16 seems to not be on the download server. Maybe a bug by my auto-build scripts?
>
> I'll fix asap and report.
Ok, here is the version I have compiled and used this afternoon for testing with the scope:
http://download.goldelico.com/letux-kernel/stable-lx16/
(see also http://download.goldelico.com/letux-kernel/?C=M;O=D for updates)
This is what I get as boot log:
[ 0.000000] Linux version 5.10.209-letux-lx16+ (hns at iMac.local) (mipsel-linux-gnu-gcc (GCC) 4.9.2, GNU ld (GNU Binutils) 2.25) #16493 PREEMPT Fri Feb 9 20:57:39 CET 2024
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00d00000 (Ingenic XBurst)
[ 0.000000] FPU revision is: 00b70000
[ 0.000000] OF: fdt: No chosen node found, continuing without
[ 0.000000] MIPS: machine is Letux LX16
[ 0.000000] Reserved memory: created DMA memory pool at 0x02000000, size 32 MiB
[ 0.000000] OF: reserved mem: initialized node reserved_mem at 0x2000000, compatible id shared-dma-pool
[ 0.000000] User-defined physical RAM map overwrite
this differs from your
>>> [ 0.000000] Kernel sections are not in the memory maps
Which might indicate a device tree install issue.
[ 0.000000] Reserved memory: created DMA memory pool at 0x02000000, size 32 MiB
[ 0.000000] OF: reserved mem: initialized node reserved_mem at 0x2000000, compatible id shared-dma-pool
^^^ I've never found why this is reported twice
[ 0.000000] Primary instruction cache 16kB, VIPT, 8-way, linesize 32 bytes.
[ 0.000000] Primary data cache 16kB, 8-way, VIPT, no aliases, linesize 32 bytes
[ 0.000000] Unified secondary cache 128kB 8-way, linesize 32 bytes.
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Built 1 zonelists, mobility grouping off. Total pages: 8128
[ 0.000000] Kernel command line: console=ttyS2,115200n8 rootfstype=ext4 root=/dev/mmcblk0p2 rw mem=32M at 0x0
>
> BR,
> Nikolaus
>
>>
>> Otherwise please try to bake a fresh µSD using latest makesd.
>>
>> Hope this helps.
>>
>> BR,
>> Nikolaus
>>
>>
>>> Am 09.02.2024 um 20:02 schrieb Andreas Kemnade <andreas at kemnade.info>:
>>>
>>> Hi,
>>> after some problems with the mmc test kernel, which did not show any output
>>> after Starting kernel, I reverted to the well known one, but no success either
>>> but at least output.
>>>
>>> HW problems or some code depending on random memory contents?
>>>
>>> Regards,
>>> Andreas
>>>
>>> Starting kernel ...
>>>
>>> [ 0.000000] Linux version 5.10.202-letux-lx16+ (hns at iMac.local) (mipsel-linux-gnu-gcc (GCC) 4.9.2, GNU ld (GNU Binutils) 2.25) #15788 PREEMPT Sun Dec 10 14:08:21 CET 2023
>>> [ 0.000000] printk: bootconsole [early0] enabled
>>> [ 0.000000] CPU0 revision is: 00d00000 (Ingenic XBurst)
>>> [ 0.000000] FPU revision is: 00b70000
>>> [ 0.000000] OF: fdt: No chosen node found, continuing without
>>> [ 0.000000] MIPS: machine is Letux LX16
>>> [ 0.000000] Reserved memory: created DMA memory pool at 0x02000000, size 32 MiB
>>> [ 0.000000] OF: reserved mem: initialized node reserved_mem at 0x2000000, compatible id shared-dma-pool
>>> [ 0.000000] Kernel sections are not in the memory maps
>>> [ 0.000000] Reserved memory: created DMA memory pool at 0x02000000, size 32 MiB
>>> [ 0.000000] OF: reserved mem: initialized node reserved_mem at 0x2000000, compatible id shared-dma-pool
>>> [ 0.000000] Wasting 512 bytes for tracking 16 unused pages
>>> [ 0.000000] Kernel panic - not syncing: early_init_dt_alloc_memory_arch: Failed to allocate 14491 bytes align=0x40
>>> [ 0.000000] Rebooting in 10 seconds..
>>> [ 0.000000] Reboot failed -- System halted
>>> _______________________________________________
>>> https://projects.goldelico.com/p/gta04-kernel/
>>> Letux-kernel mailing list
>>> Letux-kernel at openphoenux.org
>>> http://lists.goldelico.com/mailman/listinfo.cgi/letux-kernel
>>
>> _______________________________________________
>> https://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