summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a/config/images/stm32mp.config
blob: 45d3c00c9a901328cf20c1ec907c0c05d320997a (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
image @IMAGE@ {
	hdimage {
		align = 1M
		partition-table-type = gpt
		gpt-no-backup = true
	}

	/* below three partitions are unused when booting from eMMC boot partition */
	partition fsbl1 {
		image = "stm32mp1-tf-a-@STM32MP_BOARD@.stm32"
		size = 256K
	}
	partition fsbl2 {
		image = "stm32mp1-tf-a-@STM32MP_BOARD@.stm32"
		size = 256K
	}
	partition fip {
		image = "@STM32MP_BOARD@.fip"
		size = 1M
	}

	partition barebox-environment {
		partition-type-uuid = "6c3737f2-07f8-45d1-ad45-15d260aab24d"
		size = 1M
	}
	partition barebox-state {
		partition-type-uuid = "4778ed65-bf42-45fa-9c5b-287a1dc4aab1"
		size = 1M
	}
	partition root-A {
		partition-type-uuid = 69dad710-2ce4-4e3c-b16c-21a1d49abed3 # root-arm
		image = root.ext2
	}
}

image @STM32MP_BOARD@-emmcboot.img {
	hdimage {
		partition-table = false
	}

	partition fsbl {
		image = "stm32mp1-tf-a-@STM32MP_BOARD@.stm32"
		size = 256K
	}

	partition fip {
		image = "@STM32MP_BOARD@.fip"
		offset = 256K
	}
}

image @STM32MP_BOARD@.fip {
	fip {
		fw-config = "stm32mp1-@STM32MP_BOARD@-fw-config.dtb"
		hw-config = "@STM32MP_BOARD@.dtb-bb"
		nt-fw = "barebox-stm32mp-generic-bl33.img"
		tos-fw = { "stm32mp1-bl32.bin" }
		tos-fw-config = "stm32mp1-@STM32MP_BOARD@-bl32.dtb"
	}
	size = 1M
}
/* vim: set tabstop=8 noexpandtab : */