blob: ff8fa2257dbfc6d9278b899f516c5b093f51cf1d (
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
33
34
35
36
37
|
device: 0.638
graphic: 0.569
other: 0.501
semantic: 0.365
instruction: 0.331
socket: 0.282
vnc: 0.263
boot: 0.223
network: 0.195
mistranslation: 0.140
KVM: 0.088
assembly: 0.087
Looking for ways to bypass MPS3-AN547 bootram size limit
Description of problem:
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?
Steps to 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 information:
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.
|