cancel
Showing results for 
Search instead for 
Did you mean: 

Error: Illegal access to ... when flashing custom board with own configuration/device tree

DmnSd
Associate III

Hello,

I want to upgrade my hardware to new openstlinux kirkstone release november 2022.

First test on eval board was successful.

I have written custom device tree files and compiling for tf-a, u-boot, fip and kernel is fine.

However when I try to flash my image flashlayout to my custom board I get a "ERROR: Illegal access to 0xfffffff0:"

See following for complete output:

NOTICE: CPU: STM32MP157C?? Rev.Z

NOTICE: Model: OSD32MP1 epis shuttle sps board

INFO:   PMIC version = 0x21

INFO:   Reset reason (0x214):

INFO:     IWDG2 Reset (rst_iwdg2)

INFO:   FCONF: Reading TB_FW firmware configuration file from: 0x2ffe2000

INFO:   FCONF: Reading firmware configuration information for: stm32mp_io

INFO:   Using USB

INFO:     Instance 2

INFO:   Boot used partition fsbl1

NOTICE: BL2: v2.6-stm32mp1-r2.0(debug):v2.6-dirty(a1f02f4f)

NOTICE: BL2: Built : 13:14:26, Nov 23 2021

INFO:   BL2: Doing platform setup

INFO:   RAM: DDR3-DDR3L 16bits 533000Khz

INFO:   Memory size = 0x20000000 (512 MB)

INFO:   DFU USB START...

INFO:   phase ID :3, Manifestation 3 at c7110ac2

INFO:   Send detach request

INFO:   Receive DFU Detach

INFO:   DFU USB STOP...

INFO:   BL2: Loading image id 1

INFO:   Loading image id=1 at address 0x2ffff000

INFO:   Image id=1 loaded: 0x2ffff000 - 0x2ffff226

INFO:   FCONF: Reading FW_CONFIG firmware configuration file from: 0x2ffff000

INFO:   FCONF: Reading firmware configuration information for: dyn_cfg

INFO:   FCONF: Reading firmware configuration information for: stm32mp1_firewall

INFO:   BL2: Loading image id 4

INFO:   Loading image id=4 at address 0x2ffc5000

INFO:   Image id=4 loaded: 0x2ffc5000 - 0x2ffd9820

INFO:   BL2: Skip loading image id 8

INFO:   BL2: Skip loading image id 9

INFO:   BL2: Loading image id 2

INFO:   Loading image id=2 at address 0xc0500000

INFO:   Image id=2 loaded: 0xc0500000 - 0xc05140a8

INFO:   BL2: Loading image id 16

INFO:   Loading image id=16 at address 0x2ffc0000

INFO:   Image id=16 loaded: 0x2ffc0000 - 0x2ffc39a0

INFO:   BL2: Loading image id 5

INFO:   Loading image id=5 at address 0xc0100000

INFO:   Image id=5 loaded: 0xc0100000 - 0xc01e4534

NOTICE: BL2: Booting BL32

INFO:   Entry point address = 0x2ffc5000

INFO:   SPSR = 0x1d3

NOTICE: SP_MIN: v2.6-stm32mp1-r2.0(debug):v2.6-dirty(a1f02f4f)

NOTICE: SP_MIN: Built : 13:14:26, Nov 23 2021

INFO:   ARM GICv2 driver initialized

INFO:   Set calibration timer to 60 sec

INFO:   stm32mp1 IWDG1 is secure

INFO:   SP_MIN: Initializing runtime services

INFO:   SP_MIN: Preparing exit to normal world

ERROR:  Illegal access to 0xfffffff0:

ERROR:     FAIL_ID = 0x4c0

ERROR:     Non-Secure

ERROR:     Privilege

ERROR:     Read

PANIC at PC : 0x2ffc9739

Exception mode=0x00000016 at: 0x2ffc9739

What is wrong in my configuration or device tree?

Error messages come from tf-a, not sure if it is related to u-boot and fip.

Any suggestion is appreciated! Thanks!

Greez Dmn

1 REPLY 1
Olivier GALLIEN
ST Employee

Hi @DmnSd​ 

Sorry to come late in this thread ?

Where do you stand with this issue ?

Did you find the issue ?

I read you are using OSD32MP1. Did you try to contact Octavo support ?

Did you migrate to kirkstone release from ST material or Octavo ones ?

Did your system works properly with previous version ?

Thanks

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.