Files Loading Issue LS1012A

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Files Loading Issue LS1012A

402 Views
devchandil
Contributor II

Hi,

I tried the below steps for loading the files to our custom LS1012A board. But facing issue while loading the files.

$ wget https://www.nxp.com/lgfiles/sdk/lsdk2108/firmware_ls1012ardb_qspiboot.img

Then run the following command.

fl_unprotect 0x0 0x4000000
fl_write 0x0 firmware_ls1012ardb_qspiboot.img --erase

Thanks for sharing the files. I'm facing issue with the write. Please find the logs below

Running init script c:\freescale\cw4net_v2020.06\cw_armv8\armv8\gdb_extensions\flash\scripts/../../../../Config/boards/LS1012A_RDB_init.py
Initialized board LS1012A_RDB.
______ __ _ __ _
/ ____/____ ____/ /___ | | / /____ _ _____ _____ (_)____ _____
/ / / __ \ / __ // _ \| | /| / // __ `// ___// ___// // __ \ / ___/
/ /___ / /_/ // /_/ // __/| |/ |/ // /_/ // / / / / // /_/ // /
\____/ \____/ \__,_/ \___/ |__/|__/ \__,_//_/ /_/ /_/ \____//_/

______ __ __
/ ____// /____ _ _____ / /_
/ /_ / // __ `// ___// __ \
/ __/ / // /_/ /(__ )/ / / /
/_/ /_/ \__,_//____//_/ /_/

(qspi) fl_unprotect 0x0 0x4000000
Unprotecting...
Unprotected 64.00MB in 0.06s
(qspi) fl_write 0x0 firmware_ls1012ardb_qspiboot.img --erase
Erasing from offset 0x0 51.98MB
Writing...
Flash programming operation failed.
//
Additional error details:
[FP: wait for target callback not set or not working]

 

Regards,

0 Kudos
1 Reply

369 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please try whether you could program bl2_qspi.pbl at 0x0 and fip_uboot.bin at 0x100000 on QSPI flash.

In addition, do you use the same QSPI flash on your custom board as LS1012ARDB? If no, you need to modify LS1012ARDB initialization file in C:\Freescale\CW4NET_v2020.06\CW_ARMv8\Config\boards\LS1012A_RDB_init.py.

if QSPI_NAND:
fl.add_device({"alias": "qspi", "name": "GD5F1GQ4", "address": 0x40000000, "ws_address": 0x10000000, "ws_size": 0x1FFFF, "geometry": "8x1", "controller": "QSPI"})
else:
fl.add_device({"alias": "qspi", "name": "S25FS512S", "address": 0x40000000, "ws_address": 0x10000000, "ws_size": 0x1FFFF, "geometry": "8x1", "controller": "QSPI"})

0 Kudos