summaryrefslogtreecommitdiffstats
path: root/local_src/remoteproc-elf/imx7m4.S
blob: 6430fe90e1635b3cbd1bd82da48fe9ae1e90e951 (plain)
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
.syntax unified
.text
.thumb
.global _start
_start:
	.int 0x18020000                 @ Initial SP value
	.int reset + 1

reset:

#define ADDR_DTB        0x10000200
#define ADDR_LINUX      0x10008000

	mov     r0, #0
	mov     r1, #0xffffffff
	ldr     r2, =(0x18000200)
	ldr     pc, =(0x18008000 + 1)

/* data required by remoteproc loader and actual fw to provide info
 * about shared resources. It is writable, since it can be updated.
 */
.section .resource_table, "aw" @progbits
.word	1, 0, 0, 0	/* struct resource_table base */
.word	0		/* uint32_t offset[1] */

.section .dts, "aw" @progbits
.incbin "dtb"

.section .linux, "aw" @progbits
.incbin "Image"