# Boot error

**URL:** https://community.solid-run.com/t/boot-error/659
**Category:** NXP LX2160
**Created:** [June 3, 2023, 12:29pm UTC](https://community.solid-run.com/t/boot-error/659 "2023-06-03T12:29:48Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![joema](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@joema](https://community.solid-run.com/u/joema)
#### Post date: [June 3, 2023, 12:29pm UTC](https://community.solid-run.com/t/boot-error/659/1 "2023-06-03T12:29:49Z")

</div>

I used the latest runme.sh on lx2160a-build and tried to boot via sdcard, i get a few errors and then dropped to a grub prompt, any idea what’s going on here? thank you:

�NOTICE: BL2: v2.4(release):cb9b3c9de  
NOTICE: BL2: Built : 17:04:08, May 30 2023  
NOTICE: UDIMM J722GU44J2320N7  
NOTICE: DDR PMU Hardware version-0x1210  
NOTICE: DDR PMU Firmware vision-0x1001 (vA-2019.04)  
NOTICE: DDR4 UDIMM with 1-rank 64-bit bus (x8)

NOTICE: 16 GB DDR4, 64-bit, CL=22, ECC on  
NOTICE: BL2: Booting BL31  
NOTICE: BL31: v2.4(release):cb9b3c9de  
NOTICE: BL31: Built : 17:04:11, May 30 2023  
NOTICE: Welcome to lx2160acex7 BL31 Phase

U-Boot 2021.04 (Jun 03 2023 - 15:18:33 +0300)

SoC: LX2160ACE Rev2.0 (0x87360020)  
Clock Configuration:  
CPU0(A72):2000 MHz CPU1(A72):2000 MHz CPU2(A72):2000 MHz  
CPU3(A72):2000 MHz CPU4(A72):2000 MHz CPU5(A72):2000 MHz  
CPU6(A72):2000 MHz CPU7(A72):2000 MHz CPU8(A72):2000 MHz  
CPU9(A72):2000 MHz CPU10(A72):2000 MHz CPU11(A72):2000 MHz  
CPU12(A72):2000 MHz CPU13(A72):2000 MHz CPU14(A72):2000 MHz  
CPU15(A72):2000 MHz  
Bus: 700 MHz DDR: 3200 MT/s  
Reset Configuration Word (RCW):  
00000000: 50838338 24500050 00000000 00000000  
00000010: 00000000 0e010000 00000000 00000000  
00000020: 10c001a0 00002580 00000000 08000086  
00000030: 09240000 00000001 00000000 00000000  
00000040: 00000000 00000000 00000000 00000000  
00000050: 00000000 00000000 00000000 00000000  
00000060: 00000000 00000000 00027000 00000000  
00000070: 08a80001 00151020  
Model: SolidRun LX2160ACEX7 COM express type 7 based board  
Board: LX2160ACE Rev2.0-CEX7, SD  
SERDES1 Reference: Clock1 = 161.13MHz Clock2 = 100MHz  
SERDES2 Reference: Clock1 = 100MHz Clock2 = 100MHz  
SERDES3 Reference: Clock1 = 100MHz Clock2 = 100Hz  
DRAM: 15.9 GiB  
DDR 15.9 GiB (DDR4, 64-bit, CL=22, ECC on)  
dev\_get\_priv: null device  
dev\_get\_priv: null device  
Using SERDES1 Protocol: 8 (0x8)  
Using SERDES2 Protocol: 5 (0x5)  
Using SERDES3 Protocol: 2 (0x2)  
PCIe1: pcie@3400000 disabled  
PCIe2: pcie@3500000 disabled  
PCIe3: pcie@3600000 Root Complex: x4 gen3  
PCIe4: pcie@3700000 disabled  
PCIe5: pcie@3800000 Root Complex: no link  
PCIe6: pcie@3900000 disabled  
WDT: Started with servicing (30s timeout)  
MMC: FSL\_SDHC: 0, FSL\_SDHC: 1  
Loading Environment from MMC… \*\*\* Warning - bad CRC, using default environment

EEPROM: TlvInfo v1 len=18  
In: serial\_pl01x  
Out: serial\_pl01x  
Err: serial\_pl01x  
SEC0: RNG instantiated  
fsl\_board\_late\_init  
Setting up retimer channels 1..4 as 10Gbps  
Net: eth0: DPMAC3@xgmii, eth1: DPMAC4@xgmii, eth2: DPMAC5@xgmii, eth3: DPMAC6@xgmii, eth4: DPMAC7@xgmii, eth5: DPMAC8@xgmii, eth6: DPMAC9@xgmii, eth7: DPMAC10@xgmii, eth8: DPMAC17@rgmii-id [PRIME]

MMC read: dev # 0, block # 20480, count 4608 … 4608 blocks read: OK

MMC read: dev # 0, block # 28672, count 2048 … 2048 blocks read: OK  
crc32+  
fsl-mc: Booting Management Complex … SUCCESS  
fsl-mc: Management Complex booted (version: 10.37.0, boot status: 0x1)  
Hit any key to stop autoboot: 0  
Device: FSL\_SDHC  
Manufacturer ID: 3  
OEM: 5344  
Name: SR128  
Bus Speed: 50000000  
Mode: SD High Speed (50MHz)  
Rd Block Len: 512  
SD version 3.0  
High Capacity: Yes  
Capacity: 119.1 GiB  
Bus Width: 4-bit  
Erase Group Size: 512 Bytes

MMC read: dev # 0, block # 26624, count 2048 … 2048 blocks read: OK  
starting USB…  
Bus usb3@3100000: Register 200017f NbrPorts 2  
Starting the controller  
USB XHCI 1.00  
Bus usb3@3110000: Register 200017f NbrPorts 2  
Starting the controller  
USB XHCI 1.00  
scanning bus usb3@3100000 for devices… 1 USB Device(s) found  
scanning bus usb3@3110000 for devices… 4 USB Device(s) found  
scanning usb for storage devices… 0 Storage Device(s) found

Device 0: unknown device  
switch to partitions #0, OK  
mmc0 is current device  
Scanning mmc 0:1…  
libfdt fdt\_check\_header(): FDT\_ERR\_BADMAGIC  
Scanning disk esdhc@2140000.blk…  
Scanning disk esdhc@2150000.blk…  
\*\* Unrecognized filesystem type \*\*  
\*\* Unrecognized filesystem type \*\*  
\*\* Unrecognized filesystem type \*\*  
Found 7 disks  
\*\* File not found ubootefi.var \*\*  
Failed to load EFI variables  
ERROR: invalid device tree  
switch to partitions #0, OK  
mmc1(part 0) is current device  
Scanning mmc 1:1…  
Found /extlinux/extlinux.conf  
Retrieving file: /extlinux/extlinux.conf  
348 bytes read in 9 ms (37.1 KiB/s)  
1: primary kernel  
Retrieving file: /boot/Image  
fs\_devread read outside partition 40976  
Failed to load ‘/boot/Image’  
Skipping primary for failure retrieving kernel  
SCRIPT FAILED: continuing…  
libfdt fdt\_check\_header(): FDT\_ERR\_BADMAGIC  
ERROR: invalid device tree  
\*\* Unrecognized filesystem type \*\*  
\*\* Unrecognized filesystem type \*\*  
\*\* Unrecognized filesystem type \*\*  
scanning bus for devices…  
SATA link 0 timeout.  
AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl SATA mode  
flags: 64bit ncq pm clo only pmp fbss pio slum part ccc apst  
SATA link 0 timeout.  
AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl SATA mode  
flags: 64bit ncq pm clo only pmp fbss pio slum part ccc apst  
SATA link 0 timeout.  
AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl SATA mode  
flags: 64bit ncq pm clo only pmp fbss pio slum part ccc apst  
SATA link 0 timeout.  
AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl SATA mode  
flags: 64bit ncq pm clo only pmp fbss pio slum part ccc apst

Device 0: unknown device

Device 0: Vendor: 0x144d Rev: 1B4QFXO7 Prod: S64BNF0R709046R  
Type: Hard Disk  
Capacity: 238475.1 MB = 232.8 GB (488397168 x 512)  
… is now current device  
Scanning nvme 0:1…  
Found U-Boot script /boot.scr  
2146 bytes read in 1 ms (2 MiB/s)

## Executing script at 80000000

Saving Environment to MMC… Writing to MMC(0)… OK  
resetting …  
NOTICE: BL2: v2.4(release):cb9b3c9de  
NOTICE: BL2: Built : 17:04:08, May 30 2023  
NOTICE: UDIMM J722GU44J2320N7  
NOTICE: DDR PMU Hardware version-0x1210  
NOTICE: DDR PMU Firmware vision-0x1001 (vA-2019.04)  
NOTICE: DDR4 UDIMM with 1-rank 64-bit bus (x8)

NOTICE: 16 GB DDR4, 64-bit, CL=22, ECC on  
NOTICE: BL2: Booting BL31  
NOTICE: BL31: v2.4(release):cb9b3c9de  
NOTICE: BL31: Built : 17:04:11, May 30 2023  
NOTICE: Welcome to lx2160acex7 BL31 Phase

U-Boot 2021.04 (Jun 03 2023 - 15:18:33 +0300)

SoC: LX2160ACE Rev2.0 (0x87360020)  
Clock Configuration:  
CPU0(A72):2000 MHz CPU1(A72):2000 MHz CPU2(A72):2000 MHz  
CPU3(A72):2000 MHz CPU4(A72):2000 MHz CPU5(A72):2000 MHz  
CPU6(A72):2000 MHz CPU7(A72):2000 MHz CPU8(A72):2000 MHz  
CPU9(A72):2000 MHz CPU10(A72):2000 MHz CPU11(A72):2000 MHz  
CPU12(A72):2000 MHz CPU13(A72):2000 MHz CPU14(A72):2000 MHz  
CPU15(A72):2000 MHz  
Bus: 700 MHz DDR: 3200 MT/s  
Reset Configuration Word (RCW):  
00000000: 50838338 24500050 00000000 00000000  
00000010: 00000000 0e010000 00000000 00000000  
00000020: 10c001a0 00002580 00000000 08000086  
00000030: 09240000 00000001 00000000 00000000  
00000040: 00000000 00000000 00000000 00000000  
00000050: 00000000 00000000 00000000 00000000  
00000060: 00000000 00000000 00027000 00000000  
00000070: 08a80001 00151020  
Model: SolidRun LX2160ACEX7 COM express type 7 based board  
Board: LX2160ACE Rev2.0-CEX7, SD  
SERDES1 Reference: Clock1 = 161.13MHz Clock2 = 100MHz  
SERDES2 Reference: Clock1 = 100MHz Clock2 = 100MHz  
SERDES3 Reference: Clock1 = 100MHz Clock2 = 100Hz  
DRAM: 15.9 GiB  
DDR 15.9 GiB (DDR4, 64-bit, CL=22, ECC on)  
dev\_get\_priv: null device  
dev\_get\_priv: null device  
Using SERDES1 Protocol: 8 (0x8)  
Using SERDES2 Protocol: 5 (0x5)  
Using SERDES3 Protocol: 2 (0x2)  
PCIe1: pcie@3400000 disabled  
PCIe2: pcie@3500000 disabled  
PCIe3: pcie@3600000 Root Complex: x4 gen3  
PCIe4: pcie@3700000 disabled  
PCIe5: pcie@3800000 Root Complex: no link  
PCIe6: pcie@3900000 disabled  
WDT: Started with servicing (30s timeout)  
MMC: FSL\_SDHC: 0, FSL\_SDHC: 1  
Loading Environment from MMC… OK  
EEPROM: TlvInfo v1 len=18  
In: serial\_pl01x  
Out: serial\_pl01x  
Err: serial\_pl01x  
SEC0: RNG instantiated  
fsl\_board\_late\_init  
Setting up retimer channels 1..4 as 10Gbps  
Net: eth0: DPMAC3@xgmii, eth1: DPMAC4@xgmii, eth2: DPMAC5@xgmii, eth3: DPMAC6@xgmii, eth4: DPMAC7@xgmii, eth5: DPMAC8@xgmii, eth6: DPMAC9@xgmii, eth7: DPMAC10@xgmii, eth8: DPMAC17@rgmii-id [PRIME]  
switch to partitions #0, OK  
mmc1(part 0) is current device

MMC read: dev # 1, block # 20480, count 4608 … 4608 blocks read: OK

MMC read: dev # 1, block # 28672, count 2048 … 2048 blocks read: OK

MMC read: dev # 1, block # 26624, count 2048 … 2048 blocks read: OK  
crc32+  
fsl-mc: Booting Management Complex … SUCCESS  
fsl-mc: Management Complex booted (version: 10.24.0, boot status: 0x1)  
Hit any key to stop autoboot: 0  
switch to partitions #0, OK  
mmc1(part 0) is current device  
Device: FSL\_SDHC  
Manufacturer ID: 45  
OEM: 100  
Name: DF406  
Bus Speed: 50000000  
Mode: MMC High Speed (52MHz)  
Rd Block Len: 512  
MMC version 5.0  
High Capacity: Yes  
Capacity: 58.2 GiB  
Bus Width: 4-bit  
Erase Group Size: 512 KiB  
HC WP Group Size: 8 MiB  
User Capacity: 58.2 GiB WRREL  
Boot Capacity: 4 MiB ENH  
RPMB Capacity: 4 MiB ENH  
Boot area 0 is not write protected  
Boot area 1 is not write protected  
starting USB…  
Bus usb3@3100000: Register 200017f NbrPorts 2  
Starting the controller  
USB XHCI 1.00  
Bus usb3@3110000: Register 200017f NbrPorts 2  
Starting the controller  
USB XHCI 1.00  
scanning bus usb3@3100000 for devices… 1 USB Device(s) found  
scanning bus usb3@3110000 for devices… 4 USB Device(s) found  
scanning usb for storage devices… 0 Storage Device(s) found

Device 0: unknown device  
switch to partitions #0, OK  
mmc0 is current device  
Scanning mmc 0:1…  
libfdt fdt\_check\_header(): FDT\_ERR\_BADMAGIC  
Scanning disk esdhc@2140000.blk…

```
                                                                                                        GNU GRUB version 2.04

```

Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device or file completions.

grub\>

---

<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: [June 6, 2023, 8:55am UTC](https://community.solid-run.com/t/boot-error/659/2 "2023-06-06T08:55:20Z")

</div>

The default u-boot built from lx2160a\_build is not designed for EFI booting that is required with a distribution that uses grub2 as the boot-loader. Instead it uses u-boot’s distro boot options which require either a uboot script, or an extlinux.conf file that will load or describe what dtb and kernel should be loaded for the system.

---

<div class="post-metadata">

### Author: ![joema](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@joema](https://community.solid-run.com/u/joema)
#### Post date: [June 11, 2023, 10:17am UTC](https://community.solid-run.com/t/boot-error/659/3 "2023-06-11T10:17:12Z")

</div>

> [@joema](#):
>
> Loading Environment from MMC… \*\*\* Warning - bad CRC, using default environment

Any idea why do I see this error? I’m just following the build process as shown in runme.sh. where does it take care of initializing the u-boot environment in that script? or is this error expected and be ignored? 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: [June 12, 2023, 5:12am UTC](https://community.solid-run.com/t/boot-error/659/4 "2023-06-12T05:12:59Z")

</div>

That is normal. It means that the bootloader hasn’t yet saved an environment to local storage so it will just use the defaults set at build time.

---

<div class="post-metadata">

### Author: ![joema](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@joema](https://community.solid-run.com/u/joema)
#### Post date: [June 12, 2023, 6:25am UTC](https://community.solid-run.com/t/boot-error/659/5 "2023-06-12T06:25:19Z")

</div>

Thank you
