2023-01-24 03:38 PM
There seems to be an issue with CubeProgrammer and parsing hex strings that are longer than 8 characters. For example, an offset of 0x05984400 will parse correctly but 0x105984400 will not. It will incorrectly parse as 0x05984400. I am trying to reference an offset that is past the 4GB mark so CubeProgrammer is truncating my offset value. Is it supposed to do that? What is the best way to reference partitions past the 2^32 bits mark? Are other people able to get it to work or am I just doing something weird?
Edit: Also the images in Kirkstone are defaut to a rootfs size of 4GiB.
2023-02-01 11:55 PM
What is your setup ?
2023-02-01 11:56 PM
If you are on Linux the CLI is working well.
2023-02-02 09:21 AM
Hi @Bernard PUEL
I am using Ubuntu 20.04.
Also another data point. I tried to work around the issue by using a GPT image but that didn't seem to work either. When I went to flash the device I used the following.
#Opt Id Name Type IP Offset Binary
- 0x01 fsbl-boot Binary none 0x0 arm-trusted-firmware/tf-a-stm32mp157c-osd32mp1-axcend-system-controller-usb.stm32
- 0x03 fip-boot FIP none 0x0 fip/fip-stm32mp157c-osd32mp1-axcend-system-controller-trusted.bin
P 0x10 sdcard RawImage mmc0 0x0 st-image-core-stm32mp157c-osd32mp1-axcend-system-controller.img
but I would just end up with the device hanging at
INFO: SP_MIN: Preparing exit to normal world
I got around it by flashing to a SD card. I still need to test the command line