You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nuclei RISC-V CPU IP user should following this guidance to port your SoC to enable quickly linux bringup and then you can port linux to your own linux sdk platform.
Nuclei Linux SDK is a really simple Linux SDK platform for customer to quickly bring up their SoC with Linux.
If you find there is something wrong with our document, please create a issue, and let us improve it.
Note
Make sure you have confirmed that your L1/L2 cache integration is correct and testing passed, please cowork with your team member to make sure it is ok. For software, you can disable L1 and L2 cache in freeloader to see whether cache is not ok which affect normal boot.
If you are using SMP core, please make sure single core version works by generate a single core version bitstream, and then port a smp version.
If you are using SMP core, you also need to update openocd configuration file, if you want to debug it, please contact with our AE for help about how to update this configuration file.
Please take care clint0 in dts should be nuclei timer base address + 0x1000, please check Nuclei ISA Spec
Nuclei Linux SDK is developed for Nuclei evaluation SoC which is very simple, with SPI XIP Flash, UART, and SPI SDCard and DDR memory enabled evaluation SoC, for details about this SoC, please see our Nuclei_Eval_SoC_Intro.pdf
Our evaluation SoC don't have a bootrom to do some basic SOC initialization and load image from flash or other storages to memory, so we create a software called freeloader to handle this.
Nuclei Linux SDK has different branches to evaluate different Linux version and different features, see 关于各分支功能介绍 About each branch feature #2 , so you should choose a correct branch you want to use, and following the guidance in that branch
We strongly requested you to bring up your SoC using our Linux SDK, it will be easy to debug what is not acting as expected, if the bring up is done, then you can port it to your own SDK environment, it will be much easier.
When you are expecting to use some higher level feature such as OpTEE, please make sure normal linux is already brought up, and then you can follow the guidance in OpTEE feature branch.
NOTE: You may need to do two versions of bitstream, first version for normal boot, just configure cpu without any secure feature, and do a bitstream, when comes to optee related porting, then you can configure cpu with secure feature, and do a bitstream and port linux to it.
Our own porting to fsl91030m is based on commit 00e1fc1, you can see all the changes we have made to it, see 00e1fc...feature/fsl, this porting is a best practice about this suggestion.
Nuclei RISC-V CPU IP user should following this guidance to port your SoC to enable quickly linux bringup and then you can port linux to your own linux sdk platform.
Note
clint0
in dts should be nuclei timer base address + 0x1000, please check Nuclei ISA SpecThanks
The text was updated successfully, but these errors were encountered: