Dear NXP support,
I set Virtual banks select SW5[6:4] to default setting ( 000 Virtual bank 0 ).
When I was trying to Program a New Primary Protected Application (PPA) firmware on LS1043ARDB,
I corrupted vBank0 by mistake.
I followed the step as described by reference guide..
=>tftp 83000000 ppa.itb
=>protect off 64500000 +$filesize
=>erase 64500000 +$filesize
=>cp.b 83000000 64500000 $filesize
=>protect on 64500000 +$filesize
=>cpld reset altbank
After doing that, I can't nor_ boot.
U_boot prompt gives me following message.
Model: LS1043A RDB Board
Board: LS1043ARDB, boot from vBank 0 <note***********************>
CPLD: V2.0
PCBA: V6.0
SERDES Reference Clocks:
SD1_CLK1 = 156.25MHZ, SD1_CLK2 = 100.00MHZ
I2C: ready
DRAM: Initializing DDR....
Detected UDIMM Fixed DDR on board
1.9 GiB (DDR4, 32-bit, CL=11, ECC off)
Using SERDES1 Protocol: 5205 (0x1455)
SEC0: RNG instantiated
PPA Firmware: Version LSDK-17.09
Firmware 'Microcode version 0.0.1 for LS1021a r1.0' for 1021 V1.0
QE: uploading microcode 'Microcode for LS1021a r1.0' version 0.0.1
Flash: 128 MiB
NAND: 512 MiB
MMC: FSL_SDHC: 0
EEPROM: NXID v1
In: serial
Out: serial
Err: serial
Net: Fman1: Uploading microcode version 108.4.9
PCIe0: pcie@3400000 disabled
PCIe1: pcie@3500000 Root Complex: no link
PCIe2: pcie@3600000 Root Complex: no link
FM1@DTSEC1, FM1@DTSEC2, FM1@DTSEC3 [PRIME], FM1@DTSEC4, FM1@DTSEC5, FM1@DTSEC6, FM1@TGEC1
Hit any key to stop autoboot: 0
=> run nor_bootcmd
Trying load from nor..
## Loading kernel from FIT Image at a0000000 ...
Bad FIT kernel image format!
ERROR: can't get kernel image!
You can see board boots from vBank 0.
My assumption is that the board was booted from vBank4 when I programed PPA.
If my assumption is right, writing something at 64000000 when board is in vBank4 , then it is written in vBank0 area.
Am I correct?
Please give me step by step guide to roll back to tinyDistro.
many thanks,
Solved! Go to Solution.
You are correct, writing something at 64000000 when board is in vBank4 , then it is written in vBank0 area.
Please download the firmware image with the following command.
wget http://www.nxp.com/lgfiles/sdk/lsdk1709/firmware_ls1043ardb_uboot_norboot.img
Please deploy the firmware image on bank0 of NOR flash with the following command.
=>tftp 83000000 firmware_ls1043ardb_uboot_norboot.img
=>protect off 60000000 +$filesize
=>erase 60000000 +$filesize
=>cp.b 83000000 60000000 $filesize
=>protect on 60000000 +$filesize
You are correct, writing something at 64000000 when board is in vBank4 , then it is written in vBank0 area.
Please download the firmware image with the following command.
wget http://www.nxp.com/lgfiles/sdk/lsdk1709/firmware_ls1043ardb_uboot_norboot.img
Please deploy the firmware image on bank0 of NOR flash with the following command.
=>tftp 83000000 firmware_ls1043ardb_uboot_norboot.img
=>protect off 60000000 +$filesize
=>erase 60000000 +$filesize
=>cp.b 83000000 60000000 $filesize
=>protect on 60000000 +$filesize