Hello everyone.
My goal is to get my LS1043a board to boot by SD and starting the system by shutting down cores 1, 2 and 3.
Once the system is up and running, i would like to see from uboot that such cores are disabled.
To do this I have to create a custom boot via flexbuilder.
The procedure I performed is the following:
- Change the file rcw_1600_sdboot.rcw, with the addition of the PBI command.
- Save the file rcw_1600_sdboot.rcw with the new changes.
- Delete the old compiled RCW file rcw_1600_sdboot.bin from the folder located in :
/home/flex/Downloads/flexbuild_lsdk2108/components/firmware/rcw/ls1043ardb/RR_FQPP_1455
/home/flex/Downloads/flexbuild_lsdk2108/components/firmware/rcw
And run the linux $ make command, to compile all the RCWs
- Delete any folders present in the following path:
/home/flex/Downloads/flexbuild_lsdk2108/build/firmware/rcw
- Delete any folders present in the following path:
/home/flex/Downloads/flexbuild_lsdk2108/build/firmware/atf
- Delete any files or folders present in the following path:
/home/flex/Downloads/flexbuild_lsdk2108/build/images
- Once the old executable files are deleted, I run the following command:
flex-builder -i mkfw -m ls1043ardb-b sd
- The output of the command generates me the following files:
firmware_ls1043ardb_sdboot.img
firmware_ls1043ardb_sdboot_secure.img
linux_LS_arm64_signature.itb
lsdk2108_yocto_tiny_LS_arm64.itb
rootfs_lsdk2108_yocto_tiny_arm64.cpio.gz
- I write the file firmware_ls1043ardb_sdboot.img to the SD card using the following linux command:
sudo dd if=firmware_ls1043ardb_sdboot.img of=/dev/sdb1 bs=512 seek=8
I use a USB adapter to insert SD card into my PC.
I am running Ubuntu 20.04 through a virtual machine.
The writing seems to have been successful.
But when I try to boot from SD (set de DIP switches for SD boot), I don't see anything on the console.
I don't see Uboot starting.
there is something wrong with this procedure ?
Below is the link to the drive folder in which there are all the .bin files of interest and the modified RCW file
File