v2.2.0: Flash BL1
bl1 & bsp_demo
Validate the configuration file
sudo dnf install nodejs npm install pajv node_modules/.bin/pajv -s configs/<script_name>.schema.json -d configs/<script_name>.yml
Using ngultra_bsp_demo_programmer.py
This script is used to write the “bsp_demo” onto a flash device. ngultra_bsp_demo_programmer.py -c <configuration_file> A complete documentation of the configuration file may be found here bsp_demo.schema.json
config.yml:
bl1: path: bsp_demo.bin flash: number: 2 bitstream: bin: test_led.nxb src_addr: 0x100000 core_0: bin: test_led.bin src_addr: 0x200000
Command:
ngultra_bsp_demo_programmer.py -c config.yml
If you don’t want to directly write the content on the flash, you can add the -d option. This will cause the script to output a binary file that you have to write in the flash by your own.
Using ngultra_bl1_programmer.py
The script is used to write the BL1 & at least one bitstream or application. ngultra_bl1_programmer.py -c <configuration_file> A complete documentation of the configuration file may be found here bl1.schema.json
© NanoXplore 2022