[Letux-kernel] LX20 prototype is booting

H. Nikolaus Schaller hns at goldelico.com
Mon Apr 28 22:18:30 CEST 2025



> Am 28.04.2025 um 19:13 schrieb H. Nikolaus Schaller <hns at goldelico.com>:
> 
> I think I will now try to compile their full 6.1.y kernel, but then I have to backport
> some LX20 specific additions (at least lx20 device tree and defconfig and perhaps tweaking
> Kconfigs).

I've done that. But the log is almost the same.

> 
> 6.15-rc4:
> 
> Starting FDT kernel 80936b08(-2, 87ff9000, 00000000, 0);...
> 
> start_kernel: start
> start_kernel: after set_task_stack_end_magic
> start_kernel: after smp_setup_processor_id
> start_kernel: after init_vmlinux_build_id
> start_kernel: after cgroup_init_early
> start_kernel: after local_irq_disable
> start_kernel: after boot_cpu_init
> start_kernel: after page_address_init
> start_kernel: after pr_notice: linux_banner=Linux version 6.15.0-rc4-letux-lx20+ (hns at iMac.local) (mipsel-linux-gnu-gcc (GCC) 6.3.0, GNU ld (GNU Binutils) 2.27) #2385 PREEMPT Mon Apr 28 18:21:31 CEST 2025
> start_kernel: after early_security_init
> setup_arch: start
> cpu_probe: start
> cpu_probe: after set_elf_platform
> cpu_probe: after read_c0_prid id = 00132000
> cpu_probe: after switch: cpuname=Ingenic XBurst II cputype=47
> setup_arch: after cpu_probe
> setup_arch: after mips_cm_probe
> setup_arch: after prom_init
> setup_arch: after setup_early_fdc_console
> setup_arch: after cpu_report
> setup_arch: after check_bugs64_early

6.1.y:

Starting FDT kernel 80940d00(-2, 87ffa000, 00000000, 0);...

start_kernel: start
start_kernel: after set_task_stack_end_magic
start_kernel: after smp_setup_processor_id
start_kernel: after init_vmlinux_build_id
start_kernel: after cgroup_init_early
start_kernel: after local_irq_disable
start_kernel: after boot_cpu_init
start_kernel: after page_address_init
start_kernel: after pr_notice: linux_banner=Linux version 6.1.28-letux-lx20+ (hns at iMac.local) (mipsel-linux-gnu-gcc (GCC) 6.3.0, GNU ld (GNU Binutils) 2.27) #2387 PREEMPT Mon Apr 28 21:25:24 CEST 2025
start_kernel: after early_security_init
setup_arch: start
cpu_probe: start
cpu_probe: after set_elf_platform
cpu_probe: after read_c0_prid id = 00132000
cpu_probe: after switch: cpuname=Ingenic XBurst II cputype=47
setup_arch: after cpu_probe
setup_arch: after mips_cm_probe
setup_arch: after prom_init
setup_arch: after setup_early_fdc_console
setup_arch: after cpu_report
setup_arch: after check_bugs_early

As we can see it stops at the same location!

And the next step after check_bugs_early() or check_bugs64_early() is:

arch_mem_init(cmdline_p);

So there is something wrong with passing or processing the command line...
Maybe kernel gets stuck in some loop.
Shouldn't be very difficult to analyse.

AFAIR we have patched the LX16 U-Boot to properly pass some environment
variables like memory size.

BR,
Nikolaus



More information about the Letux-kernel mailing list