summary refs log tree commit diff stats
path: root/gitlab/issues_toml/target_missing/host_missing/accel_missing/2135.toml
blob: e6384bbd6ab02556c5f6fae481df490fe3df0c8d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
id = 2135
title = "Looking for ways to bypass MPS3-AN547 bootram size limit"
state = "closed"
created_at = "2024-01-30T09:26:28.229Z"
closed_at = "2024-01-31T06:29:18.762Z"
labels = []
url = "https://gitlab.com/qemu-project/qemu/-/issues/2135"
host-os = "Ubuntu 22.04"
host-arch = "x86_64"
qemu-version = "6.2 && latest"
guest-os = "RTOS"
guest-arch = "Cortex-M55"
description = """Could not boot MPS3-AN547 machine with images larger than 512KiB. 

I've tried to move part of the symbols to other memory area, but the memories were discontinuous and this resulted in a large image which covers the reserved area in-between and wouldn't boot. I'm looking for advice on how to put more code in bootram. 

I've also noticed the 8MB QSPI rom area, but AN547 does not have the remapping capability as AN524 and cannot use that as bootram. What is the best way to solve this?"""
reproduce = """1.Generate an image which goes beyond 0x00000000~(0+512K)

2.```qemu-system-arm -M mps3-an547 -nographic -kernel big-image.bin```

3."```qemu-system-arm: Could not load kernel 'nuttx/nuttx.bin'```""""
additional = """Current working linker script:
```
MEMORY
{
  flash (rx)  : ORIGIN = 0x00000000, LENGTH = 512K
  sram1 (rwx) : ORIGIN = 0x01000000, LENGTH = 2M
  sram2 (rwx) : ORIGIN = 0x21000000, LENGTH = 4M
}
```
Problem X is that the flash will overflow."""