# Bootup lx2160

**URL:** https://community.solid-run.com/t/bootup-lx2160/265
**Category:** NXP LX2160
**Created:** [March 15, 2022, 12:28pm UTC](https://community.solid-run.com/t/bootup-lx2160/265 "2022-03-15T12:28:59Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Ranga](https://avatars.discourse-cdn.com/v4/letter/r/6de8d8/32.png) [@Ranga](https://community.solid-run.com/u/Ranga)
#### Post date: [March 15, 2022, 12:28pm UTC](https://community.solid-run.com/t/bootup-lx2160/265/1 "2022-03-15T12:28:59Z")

</div>

Hello team,  
with 32GB DDR booted the board with the prebuilt image flashed on SD card with switch setting to boot from SD 32GB capacity with single partiton with offset from 131072 for P1  
image : lx2160acex7\_2000\_700\_3200\_8\_5\_2\_sd\_ee5c233.img.xz (downloaded )

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/solid_run/original/1X/1d4ef6785b032071f264594bce33b3d3eb3d6e0e.png)  
The boot option is not proceeding  
on UEFI interface  
Mapping table : BLK1 - SD(0XCA) , BLK0: eMMC(0xCA)  
shell\>

Does the SD card class 10 32GB is supported.  
Could you help me to proceed - to boot board.

---

<div class="post-metadata">

### Author: ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)
#### Post date: [March 15, 2022, 5:38pm UTC](https://community.solid-run.com/t/bootup-lx2160/265/2 "2022-03-15T17:38:22Z")

</div>

The edk2 images are only firmware and are meant to boot generic Aarch64 distro installers. If you are booting from the sdhc card then you can grab any recent Debian, Ubuntu, Fedora installer image and put it on a USB stick, and then boot from there. Note that for full networking support the Installer Image will need a 5.14 kernel or newer. For some tips you can take a look at our DevCuts video here, [SolidRun DevCuts - HoneyComb Distro Install - YouTube](https://www.youtube.com/watch?v=1rkMUZFYEkY)

If you would like to boot a device-tree based BSP image then you can download that from here, [SolidRun Images](https://images.solid-run.com/LX2k/lx2160a_build) and flash that to your SDHC card.

---

<div class="post-metadata">

### Author: ![Ranga](https://avatars.discourse-cdn.com/v4/letter/r/6de8d8/32.png) [@Ranga](https://community.solid-run.com/u/Ranga)
#### Post date: [March 16, 2022, 6:28am UTC](https://community.solid-run.com/t/bootup-lx2160/265/3 "2022-03-16T06:28:56Z")

</div>

Thanks for the info , I flashed the below image and this command. Single partiton with offset from 131072 for P1  
xz -dc lx2160acex7\_2000\_700\_3200\_8\_5\_2-bc46e34.img.xz | dd of=/dev/sdX bs=4k conv=fdatasync  
when booted i am seeing the below error . My requirement is device-tree based BSP image.

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/solid_run/original/1X/1bf38765586192b8ae67d7dceaefe639fe828e84.png)

what would be possible error on the board.

Do i need to update both images UEFI and the boot based ? if any steps let me know  
As i need LSDK based UBoot image on the board.

thanks.

---

<div class="post-metadata">

### Author: ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)
#### Post date: [March 16, 2022, 6:58am UTC](https://community.solid-run.com/t/bootup-lx2160/265/4 "2022-03-16T06:58:28Z")

</div>

If you require a device-tree based BSP then you shouldn’t use the UEFI based firmware. You should just follow the bringup instructions on [https://solidrun.atlassian.net/wiki/spaces/developer/pages/197494345/LX2160A+Software](https://solidrun.atlassian.net/wiki/spaces/developer/pages/197494345/LX2160A+Software)

---

<div class="post-metadata">

### Author: ![Ranga](https://avatars.discourse-cdn.com/v4/letter/r/6de8d8/32.png) [@Ranga](https://community.solid-run.com/u/Ranga)
#### Post date: [March 16, 2022, 7:07am UTC](https://community.solid-run.com/t/bootup-lx2160/265/5 "2022-03-16T07:07:17Z")

</div>

yes so i have flashed only the lx2160acex7\_2000\_700\_3200\_8\_5\_2-bc46e34.img on the SD card and put on the board. and while booting the board is showing above error and stopped.  
Execution FW failed (error code -5)  
As i understand with the above image Boot default kernel should come up and boot.  
if not could let me know the steps. if any live debug possible do let me know.

regards,  
ranga

---

<div class="post-metadata">

### Author: ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)
#### Post date: [March 16, 2022, 7:34am UTC](https://community.solid-run.com/t/bootup-lx2160/265/6 "2022-03-16T07:34:36Z")

</div>

What brand and model of memory are you using on your board? You can also try testing a lower memory configuration like the 2000\_700\_2600.

---

<div class="post-metadata">

### Author: ![Ranga](https://avatars.discourse-cdn.com/v4/letter/r/6de8d8/32.png) [@Ranga](https://community.solid-run.com/u/Ranga)
#### Post date: [March 16, 2022, 7:57am UTC](https://community.solid-run.com/t/bootup-lx2160/265/7 "2022-03-16T07:57:20Z")

</div>

Below is the details of the RAM

> **[32GB DDR4 3200MHz PC4-25600 1.2V 2Rx8 260-Pin SODIMM Laptop RAM Memory Module...](https://www.amazon.com/3200MHz-PC4-25600-260-Pin-SODIMM-M471A4G43AB1-CWE/dp/B08FBNQXC4)**
>
> Samsung 32GB DDR4 3200MHz (PC4-25600) RAM Memory Module for Laptop Computers (260 Pin SODIMM, 1.2V CL22) M471A4G43AB1-CWE

I am observing the same issue with the lx2160acex7\_2000\_700\_2600\_8\_5\_2-bc46e34.img

regards,  
ranga

---

<div class="post-metadata">

### Author: ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)
#### Post date: [March 16, 2022, 9:25am UTC](https://community.solid-run.com/t/bootup-lx2160/265/8 "2022-03-16T09:25:35Z")

</div>

It would appear that some of the memory calibration fixes I have added to the UEFI edk2 builds are required for your memory configurations. I will need to talk with the BSP team about integrating them. Or if you are willing to build your own boot image I can instruct you on the patch you most likely need.

---

<div class="post-metadata">

### Author: ![Ranga](https://avatars.discourse-cdn.com/v4/letter/r/6de8d8/32.png) [@Ranga](https://community.solid-run.com/u/Ranga)
#### Post date: [March 16, 2022, 9:31am UTC](https://community.solid-run.com/t/bootup-lx2160/265/9 "2022-03-16T09:31:33Z")

</div>

Thanks…  
As we have some 10+ boards to bring UP it will be great if we get the image to verify the board .All basics are working fine. later i will bring up the build setup.

regards,  
ranga

---

<div class="post-metadata">

### Author: ![Ranga](https://avatars.discourse-cdn.com/v4/letter/r/6de8d8/32.png) [@Ranga](https://community.solid-run.com/u/Ranga)
#### Post date: [March 21, 2022, 4:29am UTC](https://community.solid-run.com/t/bootup-lx2160/265/10 "2022-03-21T04:29:09Z")

</div>

Hello team,  
could you help to provide the updated image,

Thanks

---

<div class="post-metadata">

### Author: ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)
#### Post date: [March 21, 2022, 6:32am UTC](https://community.solid-run.com/t/bootup-lx2160/265/11 "2022-03-21T06:32:08Z")

</div>

While that code is being used for the edk2 based firmware it is still not validated with the NXP BSP codebase. The team is working on this but images will not be available until all internal testing is done with our validated memory modules. As I said before you are welcome to use our container based build system to include the patch, or do you initial validation with our SystemReady ES firmware and a standard distribution.

---

<div class="post-metadata">

### Author: ![Ranga](https://avatars.discourse-cdn.com/v4/letter/r/6de8d8/32.png) [@Ranga](https://community.solid-run.com/u/Ranga)
#### Post date: [March 21, 2022, 6:47am UTC](https://community.solid-run.com/t/bootup-lx2160/265/12 "2022-03-21T06:47:48Z")

</div>

Hello team,  
let me try to build parallel and check, could you share the patch and apply steps.

Thanks,  
Ranga

---

<div class="post-metadata">

### Author: ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)
#### Post date: [March 21, 2022, 7:05am UTC](https://community.solid-run.com/t/bootup-lx2160/265/13 "2022-03-21T07:05:06Z")

</div>

Most likely you just need this patch. [https://github.com/SolidRun/arm-trusted-firmware/commit/8c756b166b2132290af53d9a9e9a5f307828b84e.patch](https://github.com/SolidRun/arm-trusted-firmware/commit/8c756b166b2132290af53d9a9e9a5f307828b84e.patch)

This can be added to patches/atf-LSDK-21.08/ in the lx2160a\_build repository and then running the runme.sh script should pick it up and apply it.

---

<div class="post-metadata">

### Author: ![Ranga](https://avatars.discourse-cdn.com/v4/letter/r/6de8d8/32.png) [@Ranga](https://community.solid-run.com/u/Ranga)
#### Post date: [March 21, 2022, 10:27am UTC](https://community.solid-run.com/t/bootup-lx2160/265/14 "2022-03-21T10:27:22Z")

</div>

Hello team,  
The board is booting fine now but i am facing issue in kernel up for Device tree.

 ![1_RT](https://europe1.discourse-cdn.com/flex005/uploads/solid_run/original/1X/40009c20cfe86514f21e6bb309967384ad4a2061.jpeg)  
 ![2_RT](https://europe1.discourse-cdn.com/flex005/uploads/solid_run/original/1X/95f97c5e9bc6b216868c1be15d570d7cbdf85e08.jpeg)  
 ![3_RT](https://europe1.discourse-cdn.com/flex005/uploads/solid_run/original/1X/68528be48d1308724dbb6e80595d34d2c0fcfe4e.jpeg)

Any specific check need to be made.

Thanks,  
ranga

---

<div class="post-metadata">

### Author: ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)
#### Post date: [March 21, 2022, 10:33am UTC](https://community.solid-run.com/t/bootup-lx2160/265/15 "2022-03-21T10:33:29Z")

</div>

The image on the SD-Card is meant to boot to u-boot and then flash to another storage medium, eMMC, SATA, or NVMe. You can follow the instructions here, [https://solidrun.atlassian.net/wiki/spaces/developer/pages/197494345/LX2160A+Software](https://solidrun.atlassian.net/wiki/spaces/developer/pages/197494345/LX2160A+Software)

---

<div class="post-metadata">

### Author: ![Ranga](https://avatars.discourse-cdn.com/v4/letter/r/6de8d8/32.png) [@Ranga](https://community.solid-run.com/u/Ranga)
#### Post date: [March 21, 2022, 1:28pm UTC](https://community.solid-run.com/t/bootup-lx2160/265/16 "2022-03-21T13:28:53Z")

</div>

Hell team,  
Thanks  
I could able to boot now but find few issues after booted to EMMC. I could hardly able to edit once “boot” cmd is given.

# vi /etc/ssh/sshd\_config

/bin/sh: 120: vi: not found

# cat /etc/ssj^H

cat: ‘/etc/ssj’$‘\b’: No such file or directory

# cat /etc/ssh/sshd\_config

cat: /etc/ssh/sshd\_config: No such file or directory

# cd /etc/ssh

/bin/sh: 123: cd: can’t cd to /etc/ssh

# ls

bin dev extlinux lib media opt root sbin sys usr  
boot etc home lost+found mnt proc run srv tmp var  
uname -a  
Linux (none) 5.10.35-00001-gb998eddab2c6 #1 SMP PREEMPT Mon Mar 7 12:07:50 IST x

Let me know how to go ahead and get proper login and proceed.

regards,  
ranga

---

<div class="post-metadata">

### Author: ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)
#### Post date: [March 21, 2022, 1:53pm UTC](https://community.solid-run.com/t/bootup-lx2160/265/17 "2022-03-21T13:53:58Z")

</div>

This is a most basic Ubuntu image. You will need to connect the board to the network and apt install the features and programs you want.

---

<div class="post-metadata">

### Author: ![Ranga](https://avatars.discourse-cdn.com/v4/letter/r/6de8d8/32.png) [@Ranga](https://community.solid-run.com/u/Ranga)
#### Post date: [March 22, 2022, 4:23am UTC](https://community.solid-run.com/t/bootup-lx2160/265/18 "2022-03-22T04:23:09Z")

</div>

Hello team,  
could you help me with the any default install packages scripts or details which vendors usually use… so that at once i can update the required all features.  
and as i understand I have to delete the current emmc partition and make it complete 64GB of space.

regards,  
ranga

---

<div class="post-metadata">

### Author: ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)
#### Post date: [March 22, 2022, 4:37am UTC](https://community.solid-run.com/t/bootup-lx2160/265/19 "2022-03-22T04:37:26Z")

</div>

Once you have the system installed you can refer to the Ubuntu documentation for your specific installation needs, and features such as resizing the filesystem. This page may be useful to you. [MetaPackages - Community Help Wiki](https://help.ubuntu.com/community/MetaPackages)

---

<div class="post-metadata">

### Author: ![Ranga](https://avatars.discourse-cdn.com/v4/letter/r/6de8d8/32.png) [@Ranga](https://community.solid-run.com/u/Ranga)
#### Post date: [March 22, 2022, 5:44am UTC](https://community.solid-run.com/t/bootup-lx2160/265/20 "2022-03-22T05:44:33Z")

</div>

Thanks team,  
but my generic boot kernel i am seeing this issue once i updated the emmc and boot  
is there any way to get proper login point any specific check.

 ![kernlel_issue](https://europe1.discourse-cdn.com/flex005/uploads/solid_run/original/1X/e20ed1fffd528a7c276d1590610196a87dcbcb41.jpeg)

Or if i can push only Uboot - DDR image changes on the genric image on SD card flashed with lx2160acex7\_2000\_700\_3200\_8\_5\_2-a393e2e.img from release mail.  
i can boot to normal login

regards,  
ranga

[Next page](https://community.solid-run.com/t/bootup-lx2160/265.md?page=2)
