I've built a custom board using LS1022A rev 2.0. It is very basic - CPU, DDR3, QSPI Flash, Ethernet, UART. I intend to boot Linux from QSPI flash. I have LS1021ATWR reference board, CW, and CW-TAP and have the LS1021ATWR board up and running using default factory settings and image. What steps do you I need to take to get my custom board going?
Some background first:
I have some experience working with Yocto on BeagleBone, but still learning and consider myself relatively new at this but once I get the basics I’m usually good at making progress.
I’m not looking for very detailed how-to or a tutorial, just general pointers to get me started so that I start asking specific questions when I get stuck. I’ve read the HRM and guides accompanying the LT1021ATWR board so I have a general understanding of the environment. My RCW bootstrap pins are set appropriately for my custom hardware. I’m aware about details like the need for qspi byte swapping, rev 1.0 die bug, Linux SDK, etc. I’m not worried about such details for now. So, my basic questions are:
- How do I create the correct RCW for my custom environment? Will the Configuration tool in CW help, reuse RCW bin from LS1021ATWR even though it will have many options I don't need, or I have to go bit by bit to manually define every RCW field?
- Once I have my RCW bin how do I get it into QSPI flash? Do I have to program this using external flash programming tool or it is possible to do so through JTAG via the LS1 target?
- How do I get U-boot into QSPI flash? Once I have U-boot I’ll figure out how to get the Kernel and RFS.
- Is CW helpful at all in configuring and booting Linux on my platform?
- Will life be any easier if I add an SD card? I don’t need SD card in my final product.
- Would it be easier to start with Bareboard project in CW first before I even consider Linux boot?
Thanks for your help.