mirror of
https://github.com/andreili/SBC_builder.git
synced 2025-09-22 12:44:41 +02:00
76 lines
1.8 KiB
JSON
76 lines
1.8 KiB
JSON
{
|
|
"build":
|
|
[
|
|
"uboot", "kernel"
|
|
],
|
|
"variables":
|
|
[
|
|
"CROSS_C:aarch64-linux-gnu-",
|
|
"ATF_PLATFORM:sun50i_h616",
|
|
"ARCH:aarch64",
|
|
"DTB_FILE:allwinner/sun50i-h616-bigtreetech-cb1-manta.dtb",
|
|
"DTO_FILES:sun50i-h616*.dtbo",
|
|
"DTO_DIR:allwinner/overlays"
|
|
],
|
|
"targets":
|
|
[
|
|
{
|
|
"parent": "atf",
|
|
"version": "lts-v2.12.1",
|
|
"version_type": "tag",
|
|
"patch_dir": "atf/sunxi64",
|
|
"target": [ "bl31" ],
|
|
"makeopts": "CROSS_COMPILE=%{CROSS_C}% PLAT=%{ATF_PLATFORM}% DEBUG=0",
|
|
"artifacts":
|
|
[
|
|
{
|
|
"file": "build/%{ATF_PLATFORM}%/release/bl31.bin",
|
|
"store_type": "temp"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"parent": "uboot",
|
|
"version": "v2024.01",
|
|
"version_type": "tag",
|
|
"patch_dir": "uboot/sunxi",
|
|
"deps":
|
|
[
|
|
"atf"
|
|
],
|
|
"artifacts":
|
|
[
|
|
{
|
|
"file": "u-boot-sunxi-with-spl.bin",
|
|
"store_type": "dd",
|
|
"block_size": "1k",
|
|
"img_offset": 8
|
|
}
|
|
],
|
|
"target": [ "" ],
|
|
"makeopts": "CROSS_COMPILE=%{CROSS_C}% BL31=%{out_dir}%/bl31.bin"
|
|
},
|
|
{
|
|
"parent": "kernel"
|
|
}
|
|
],
|
|
"install":
|
|
{
|
|
"target": "image",
|
|
"type": "mbr",
|
|
"block_size": "512b",
|
|
"partitions":
|
|
[
|
|
{
|
|
"name": "boot",
|
|
"size": "1g",
|
|
"first_sector": "2048"
|
|
},
|
|
{
|
|
"name": "rw",
|
|
"size": "2g"
|
|
}
|
|
]
|
|
}
|
|
}
|