
11. The Linux shell will ask for login, enter
root
and press
Enter. The Linux shell is up.
9.2.2 Using SD boot
9.2.2.1 Hardware settings
For SD boot, follow the hardware settings as mentioned in
Resistor configurations
on page 6
By default, R85 and R493 are not installed. Hence, simply install R493 (4.7K) to change the board boot mode to SD boot.
9.2.2.2 Flashing software
Connect the SD card on a Linux Ubuntu machine. Check the device name using the command
sudo fdisk -l
. (In this case, the
device name is /dev/sde1, hence sde is the main device. So, we use /dev/sde as the device name.)
Prepare SD card to flash the required images later:
1. export DEVSD=/dev/sde
2. sudo fdisk ${DEVSD}
3. Press “d”. (Repeat unitl all the partitions are deleted)
4. Press “n”. This creates a new partition.
5. Press “p”. This creates a primary partition.
6. Press “1”. The first partition.
7. Press
Enter. This will create a partition that starts at offset 2048.
8. Press “t”. To set partition type.
9. Press “1” to select partition number 1. Note: If “1” is already entered in the command and displayed, directly go to the
next step.
10. Now type “83” to select Linux file system.
11. Press “w”. This writes the partition table and fdisk exits
12. This newly created partition need to be formatted to be usable. Firstly, remove and put SD Card back into its slot, then
run the following commands to format the partition:
sudo mkfs.ext3 -L rootfs ${DEVSD}1
Now copy all the binaries (U-Boot, fman, ppa, Linux) in a single directory on Ubuntu machine, and execute the following set of
commands to flash them on SD card.
RCW is a part of the U-Boot image in case of SD, hence it will not be flashed separately.
NOTE
Flash SD card:
1. U-Boot:
u-boot: u-boot-with-spl-pbl_sd.bin(image build as in section
SD Boot
)
sudo dd if=u-boot-with-spl-pbl_sd.bin of=/dev/ sde bs=512 seek=8
2. PPA:
ppa.itb
sudo dd if=ppa.itb of=/dev/sde bs=512 seek=8192
3. Fman:
fsl_fman_ucode_ls1043_r1.1_106_4_18.bin
sudo dd if=fsl_fman_ucode_ls1043_r1.1_106_4_18.bin of=/dev/sde bs=512 seek=18432
NXP Semiconductors
How to flash the board or perform board recovery
MPC-LS Vehicle Network Processing Evaluation Board User Manual, Rev. 0, Feb 2019
User's Guide
92 / 107