# Anyone tried flashing uefi f/w to SPI?

**URL:** <https://community.solid-run.com/t/anyone-tried-flashing-uefi-f-w-to-spi/185>\
**Category:** NXP LX2160\
**Created:** [November 1, 2021, 8:44am UTC](https://community.solid-run.com/t/anyone-tried-flashing-uefi-f-w-to-spi/185 "2021-11-01T08:44:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![WarrantyV0ided](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/warrantyv0ided/32/76_2.png) [@WarrantyV0ided](https://community.solid-run.com/u/WarrantyV0ided)\
**Post date:** [November 1, 2021, 8:44am UTC](https://community.solid-run.com/t/anyone-tried-flashing-uefi-f-w-to-spi/185/1 "2021-11-01T08:44:18Z")

</div>

Has anyone tried flashing the latest UEFI firmware to the SPI flash so that the SD card can be freed up for other purposes? There are vague documentation references to flexspi\_nor, but I can’t see an actual doc page showing how to do it (not to mention which toolkit to get the tool from).

---

<div class="post-metadata">

**Author:** ![jurgen.schober](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jurgen.schober/32/83_2.png) [@jurgen.schober](https://community.solid-run.com/u/jurgen.schober)\
**Post date:** [January 28, 2022, 5:45pm UTC](https://community.solid-run.com/t/anyone-tried-flashing-uefi-f-w-to-spi/185/2 "2022-01-28T17:45:22Z")

</div>

No response yet? I would be interested to know this, too.

---

<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:** [February 1, 2022, 9:19am UTC](https://community.solid-run.com/t/anyone-tried-flashing-uefi-f-w-to-spi/185/3 "2022-02-01T09:19:46Z")

</div>

This can be done by booting with u-boot and flashing the SPI uefi image following the same instructions that are documented on the [developer.solid-run.com](http://developer.solid-run.com) website

---

<div class="post-metadata">

**Author:** ![alex9373](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@alex9373](https://community.solid-run.com/u/alex9373)\
**Post date:** [February 21, 2022, 12:09am UTC](https://community.solid-run.com/t/anyone-tried-flashing-uefi-f-w-to-spi/185/4 "2022-02-21T00:09:45Z")

</div>

I wrote a UEFI img to an SD card from [SolidRun Images](https://images.solid-run.com/LX2k/lx2160a_uefi) (matching RAM speed). I wanted to write this to eMMC (or SPI), but wasn’t able to figure out the commands in either uboot or UEFI.  
In uboot ls of the SD card MMC device said “unrecognized filesystem” so I didn’t know what to pass the load command. I was obviously booting from SD card using the SD image not the SPI one.

---

<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:** [February 23, 2022, 4:13pm UTC](https://community.solid-run.com/t/anyone-tried-flashing-uefi-f-w-to-spi/185/5 "2022-02-23T16:13:48Z")

</div>

I would definitely recommend SPI-NOR. Current easiest method (I am working on a better one) is to grab a generic lx2160a\_build u-boot image like for instance [https://solid-run-images.sos-de-fra-1.exo.io/LX2k/lx2160a\_build/lx2160acex7\_2000\_700\_2400\_8\_5\_2-2fff64e.img.xz](https://solid-run-images.sos-de-fra-1.exo.io/LX2k/lx2160a_build/lx2160acex7_2000_700_2400_8_5_2-2fff64e.img.xz) (most systems will boot with DDR 2400 speeds), and write that to a uSDHC card. Then mount the first partition on that card and delete the Ubuntu image file on it. Then grab the image that matches your hardware from [SolidRun Images](https://images.solid-run.com/LX2k/lx2160a_uefi) , making sure it is a flexspi image and copy that onto the uSDHC and extract it. Then boot that on the HoneyComb and break into the u-boot command line. Then run these commands

```auto
sf probe
sf erase 0 0x4000000
load mmc 0:1 0x90000000 lx2160acex7_2000_700_2400_8_5_2_flexspi_nor_ee5c233.img
sf write 0x90000000 0 0x800000

```

Obviously replacing the load filename with the image version you downloaded. After that is finished change the boot select jumper on the CEX7 module to spi-nor and everything should boot.

---

<div class="post-metadata">

**Author:** ![Dmitry](https://avatars.discourse-cdn.com/v4/letter/d/0ea827/32.png) [@Dmitry](https://community.solid-run.com/u/Dmitry)\
**Post date:** [March 7, 2022, 5:38pm UTC](https://community.solid-run.com/t/anyone-tried-flashing-uefi-f-w-to-spi/185/6 "2022-03-07T17:38:53Z")

</div>

Where I can get information about jumper settings for boot from spi-nor?

---

<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 7, 2022, 6:52pm UTC](https://community.solid-run.com/t/anyone-tried-flashing-uefi-f-w-to-spi/185/7 "2022-03-07T18:52:33Z")

</div>

The jumper settings are silk screened onto the CEX7 module next to the jumper select block. Booting to SPI-NOR is all jumpers set towards the edge of the board.
