soc: nxp: imx: imx8m: Align resource table to 64bit for i.MX 8M
Running samples/subsys/ipc/openamp_rsc_table with some adjustments sometimes results in linux kernel panics. After experimenting it appears to be hit or miss depending on the resource table alignment. Explicitly aligning to 64bit (the native width), no more kernel panics were seen. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
parent
8dd03c63d6
commit
42fa87d5a8
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
||||||
SECTIONS
|
SECTIONS
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_OPENAMP_RSC_TABLE
|
#ifdef CONFIG_OPENAMP_RSC_TABLE
|
||||||
SECTION_PROLOGUE(.resource_table,, SUBALIGN(4))
|
SECTION_PROLOGUE(.resource_table,, SUBALIGN(8))
|
||||||
{
|
{
|
||||||
KEEP(*(.resource_table*))
|
KEEP(*(.resource_table*))
|
||||||
} GROUP_LINK_IN(ROMABLE_REGION)
|
} GROUP_LINK_IN(ROMABLE_REGION)
|
||||||
|
|
|
@ -21,7 +21,7 @@ MEMORY
|
||||||
SECTIONS
|
SECTIONS
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_OPENAMP_RSC_TABLE
|
#ifdef CONFIG_OPENAMP_RSC_TABLE
|
||||||
SECTION_PROLOGUE(.resource_table,, SUBALIGN(4))
|
SECTION_PROLOGUE(.resource_table,, SUBALIGN(8))
|
||||||
{
|
{
|
||||||
KEEP(*(.resource_table*))
|
KEEP(*(.resource_table*))
|
||||||
} GROUP_LINK_IN(ROMABLE_REGION)
|
} GROUP_LINK_IN(ROMABLE_REGION)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue