HCL:FRDM-LS1012A

Jump to: navigation, search

The NXP FRDM-LS1012A is a single-board computer (SBC).

Technical data

Manual installation

TBD

RCW

git clone https://source.codeaurora.org/external/qoriq/qoriq-components/rcw
cd rcw
git checkout -b LSDK-18.06 LSDK-18.06
make -C ls1012afrdm

What to do with the resulting ls1012afrdm/N_SSDP_3305/rcw_800.{bin,bin.swapped} files? NXP's Getting Started Guide speaks of a PBL_0x33_0x05_800_250_1000_default.bin file.

Untested:

tftp 0x80000000 PBL_0x33_0x05_800_250_1000_default.bin
sf probe 0:0
sf erase 0x0 0x40000
sf write 0x80000000 0x0 0x40000

PPA

Prerequisites: u-boot-tools and dtc packages installed

git clone https://source.codeaurora.org/external/qoriq/qoriq-components/ppa-generic
cd ppa-generic
git checkout -b LSDK-18.06 LSDK-18.06
cd ppa
CROSS_COMPILE=aarch64-suse-linux- ./build prod frdm-fit ls1012

This will build soc-ls1012/build/obj/ppa.itb. (Untested)

Are any build options needed such as ddr or uart?

Untested:

tftp 0x96000000 ppa.itb
sf probe 0:0
sf erase 0x500000 +$filesize
sf write 0x96000000 0x500000 $filesize

U-Boot

ls1012afrdm_qspi is in mainline U-Boot since v2016.07.

Warning: Flashing just u-boot.bin from u-boot-ls1012afrdm 2018.05 package and leaving everything else in the original factory state leads to a non-booting (bricked) board!

tftp 0x80000000 u-boot.bin
sf probe 0:0
# Beware of the above warning!
sf erase 0x100000 0x80000
sf write 0x80000000 0x100000 0x80000

See also