Hello,
I am now able to stop the boot process and pass parameters to the kernel - but still cannot get to the command line with running system. The point is that the boot process does not start a shell or similar - it prints boot messages, but there is no login prompt or a command line in the end. The console prints characters I type, but nothing more happens.
First idea was to pass init=/bin/sh (or /bin/bash, ash, dash, etc) to the kernel, however nothing of those exists. It for sure runs busybox, but how to get a shell? As you see from the command line init=/etc/preinit, and it stays there forever.
[ 0.000000] Kernel command line: earlycon=lantiq,0x16600000 nr_cpus=4 nocoherentio clk_ignore_unused root=/dev/ram ro rd_start=0x60a36000 rd_size=25384976 ubi.mtd=system_sw console=ttyLTQ0,115200 ethaddr=88:6A:E3:72:D0:69 panic=1 mtdparts=17c00000.nand-parts:1m(uboot),256k(ubootconfigA),256k(ubootconfigB),256k(gphyfirmware),256k(dsd),506m(system_sw),-(res) init=/etc/preinit active_bank=A update_chk=0 maxcpus=4 pci=pcie_bus_perf ethwan= ubootver=U-Boot 2016.07-INTEL-v-3.1.177 GWS-1.6 (Jul 13 2022 - 21:46:48 +0000) mem=480M@512M
I cannot mount the root filesystem from uboot prompt to check what is there, uboot does not understand this. So, someone to have an idea what can I put for init= to get a console?
To be noted that if I login with ssh to the box I get a chroot environment which has /bin/sh (busybox), but how can I know where it is located? And I have yet to see an UNIX system without some shell - but I am not expert in system-on-chip devices.