Hi,
I'm also using the EvalKit LX2160A RDB and:
I don't understand the instructions. When is supposed to move the switch1 to "1000 1000"?
I have done as follow:
In My laptop:
1- Built images using flex-builder
2- Download uboot image with "wget https://www.nxp.com/lgfiles/sdk/lsdk1909/firmware_lx2160ardb_uboot_sdboot.img"
3- Flash all the images with command: flex-installer -b bootpartition_LS_arm64_lts_4.14.tgz -r build/images/rootfs_lsdk1909_LS_arm64_main_201911201102.tgz -f /home/lex/Downloads/firmware_lx2160ardb_uboot_sdboot.img -d /dev/mmcblk0 -> Success
In the EvalKit (UART1):
4- Insert the SD card to the LX2160A,
5- Use command: "load mmc 0:2 a0000000 firmware_lx2160ardb_uboot_sdboot.img"
6- Use command "mmc write a0000000 8 1f000"
7- Use command: "editenv bootargs" clean the values and set these: "console=ttyS0,115200 root=/dev/mmcblk0p4 rw rootwait earlycon=uart8250,mmio,0x21c0500"
From now I have tried the next two options:
Option 1:
Without reboot/poweroff
8- Use command boot, this fails with a kernel panic since it doesn't find any init:
"[ 7.079874] Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.
[ 7.094030] CPU: 1 PID: 1 Comm: swapper/0 Tainted: G W 4.14.83 #1
[ 7.101238] Hardware name: NXP Layerscape LX2160ARDB (DT)
[ 7.106623] Call trace:
[ 7.109066] [<ffff000008089b80>] dump_backtrace+0x0/0x3c0
[ 7.114453] [<ffff000008089f54>] show_stack+0x14/0x20
[ 7.119494] [<ffff000008ce7228>] dump_stack+0x9c/0xbc
[ 7.124534] [<ffff0000080ce878>] panic+0x11c/0x28c
[ 7.129313] [<ffff000008cf980c>] kernel_init+0xf4/0x108
[ 7.134526] [<ffff000008084f30>] ret_from_fork+0x10/0x18
[ 7.139835] SMP: stopping secondary CPUs
[ 7.143748] Kernel Offset: disabled
[ 7.147224] CPU features: 0x1802008
[ 7.150700] Memory Limit: none
[ 7.153748] ---[ end Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.
"
Option 2:
- 8 After Step 7, poweroff the board,
-9 Move the Switch1 to "SW1:1000 1000" the other switches keep as default
-10 Power on the EvalKit
- 11 No output from the UART1
What am I doing wrong? How did you manage to make it work @Ash Law?
Thank you.