Make sure you use the correct setting for Target RAM:

And also correct Address Offset when programming into qspi:

fl::target -lc "ls1021atwr-core0_RAM_LS1021ATWR_Download"
fl::target -b 0x10000000 0x20000
fl::target -v off -l off
cmdwin::fl::device -d "N25Q128A" -o "16Mx8x1" -a 0x40000000 0x40ffffff
cmdwin::fl::image -f "X:\\QorIQ-SDK-V1.9-20151210-yocto\\build_ls1021atwr\\tmp\\deploy\\images\\ls1021atwr\\u-boot-qspi.bin" -t "Auto Detect" -re off -oe on -o 0x40000000
cmdwin::fl::write
Beginning Operation ...
-------------------------
Programming file X:\QorIQ-SDK-V1.9-20151210-yocto\build_ls1021atwr\tmp\deploy\images\ls1021atwr\u-boot-qspi.bin
Auto-detection is successful.
File is of type Binary/Raw Format.
Performing target initialization ...
Downloading Flash Device Driver ...
Reading flash ID ...
Auto-detection is successful.
File is of type Binary/Raw Format.
Downloading 0x00010000 bytes to be programmed at 0x40000000
Executing program ....
Program Command Succeeded
Downloading 0x00010000 bytes to be programmed at 0x40010000
Executing program ....
Program Command Succeeded
Downloading 0x00010000 bytes to be programmed at 0x40020000
Executing program ....
Program Command Succeeded
Downloading 0x00010000 bytes to be programmed at 0x40030000
Executing program ....
Program Command Succeeded
Downloading 0x00010000 bytes to be programmed at 0x40040000
Executing program ....
Program Command Succeeded
Downloading 0x00010000 bytes to be programmed at 0x40050000
Downloading 0x0000AA60 bytes to be programmed at 0x40060000
Executing program ....
Program Command Succeeded
cmdwin::fl::dump -range 0x40000000 0x40080000 -t "Binary/Raw Format" -o "C:\\Users\\b11883\\Desktop\\qspi_dump.bin"
-------------------------
Downloading Flash Diagnostics Driver ...
Reading flash ID ...
Dumping flash region: 0x40000000 - 0x40080000 to C:\Users\b11883\Desktop\qspi_dump.bin
Running Dump Flash ...
Running Dump Flash ...
Running Dump Flash ...
Running Dump Flash ...
Running Dump Flash ...
Dump Flash Succeeded
Adrian