Home
last modified time | relevance | path

Searched refs:dtb (Results 1 – 16 of 16) sorted by relevance

/system/libufdt/tests/
Dapply_verify_multiple_overlay.sh20 dtc -@ -qq -O dtb -o "${tmpdir}/${BASE_DT_NAME}.dtb" "${IN_DATA_DIR}/${BASE_DT_NAME}.dts"
21 dtc -@ -qq -O dtb -o "${tmpdir}/${OVERLAY_DT_1}.dtb" "${IN_DATA_DIR}/${OVERLAY_DT_1}.dts"
22 dtc -@ -qq -O dtb -o "${tmpdir}/${OVERLAY_DT_2}.dtb" "${IN_DATA_DIR}/${OVERLAY_DT_2}.dts"
23 dtc -@ -qq -O dtb -o "${tmpdir}/${OVERLAY_DT_3}.dtb" "${IN_DATA_DIR}/${OVERLAY_DT_3}.dts"
24 dtc -@ -qq -O dtb -o "${tmpdir}/${OVERLAY_DT_4}.dtb" "${IN_DATA_DIR}/${OVERLAY_DT_4}.dts"
29 $apply_bin_path "${BASE_DT_NAME}.dtb" "${OVERLAY_DT_1}.dtb" final_dt.dtb > /dev/null
30 $apply_bin_path final_dt.dtb "${OVERLAY_DT_2}.dtb" final_dt.dtb > /dev/null
31 $apply_bin_path final_dt.dtb "${OVERLAY_DT_3}.dtb" final_dt.dtb > /dev/null
61 $verify_bin_path final_dt.dtb ${overlay_sets[$i]} >& /dev/null
Dapply_overlay.sh76 dtc -@ -qq -O dtb -o "$BASE_DTB" "$BASE_DTS"
86 dtc -@ -qq -O dtb -o "$OVERLAY_DTB" "$OVERLAY_DTS"
Dverify_dto_inc.sh61 dtc -@ -i "$BASE_DTS_DIR" -i "$OVERLAY_DTS_DIR" -O dtb -o "$MERGED_DTB" "$BASE_DT_WITH_INC_DTS"
/system/libufdt/utils/tests/data/
Dmkdtimg.cfg3 id=/:board_id # Read the value form the path in dtb
4 rev=/:board_rev # Read the value form the path in dtb
8 board1v1.dts.dtb
10 board1v1_1.dts.dtb
13 board2v1.dts.dtb
16 board1v1.dts.dtb
19 board1v1.dts.dtb
Dmkdtboimg.cfg3 id=0x100 # Read the value form the path in dtb
4 rev=0x100 # Read the value form the path in dtb
8 board1v1.dts.dtb
10 board1v1_1.dts.dtb
14 board2v1.dts.dtb
18 board1v1.dts.dtb
21 board1v1.dts.dtb
/system/libufdt/utils/tests/
Dmkdtboimg_testdata.sh35 MKDTIMG_DUMP="${MKDTIMG_OUT}"/dump.dtb
40 MKDTBOIMG_CREATEDUMP="${MKDTBOIMG_OUTCREATE}"/dump.dtb
41 MKDTBOIMG_CFGDUMP="${MKDTBOIMG_OUTCFG}"/dump.dtb
51 dtc -O dtb -@ -qq -a "$ALIGN" -o "$out_dtb" "$src_dts"
70 ../src/mkdtboimg.py cfg_create ${MKDTBOIMG_OUTCFG}/create.img ${PYCONFIG} --dtb-dir "${OUTDIR}"
Dmkdtimg_testdata.sh41 dtc -O dtb -@ -qq -a "$ALIGN" -o "$out_dtb" "$src_dts"
45 mkdtimg cfg_create "$IMG" "${CONFIG}" --dtb-dir="$OUTDIR"
Dmkdtimg_acpi_testdata.sh47 mkdtimg cfg_create "$IMG" "${CONFIG}" --dtb-dir="$OUTDIR"
/system/core/fastboot/
Dbootimg_utils.cpp80 const std::vector<char>& second, const std::vector<char>& dtb, size_t base, in mkbootimg() argument
83 if (!second.empty() || !dtb.empty()) { in mkbootimg()
96 int64_t dtb_actual = (dtb.size() + page_mask) & (~page_mask); in mkbootimg()
120 hdr->dtb_size = dtb.size(); in mkbootimg()
128 memcpy(hdr->magic + hdr->page_size + kernel_actual + ramdisk_actual + second_actual, dtb.data(), in mkbootimg()
129 dtb.size()); in mkbootimg()
Dbootimg_utils.h39 const std::vector<char>& second, const std::vector<char>& dtb, size_t base,
Dvendor_boot_img_utils_test.cpp212 OpenTestFile("test_dtb.img", &dtb, &dtb_content); in SetUp()
219 std::unique_ptr<TestFileHandle> dtb; member in __anon39f087e00111::RepackVendorBootImgTestEnv
294 EXPECT_EQ(hdr->dtb_size, env->dtb->size()); in TEST_P()
382 EXPECT_EQ(hdr->dtb_size, env->dtb->size()); in TEST_P()
/system/core/fastboot/testdata/
DAndroid.bp35 // Fake dtb image.
40 cmd: "$(location fastboot_gen_rand) --seed dtb --length 1024 > $(out)",
99 "--dtb $(location :fastboot_test_dtb) " +
115 "--dtb $(location :fastboot_test_dtb) " +
132 "--dtb $(location :fastboot_test_dtb) " +
/system/tools/mkbootimg/tests/
Dmkbootimg_test.py248 dtb = generate_test_file(os.path.join(temp_out_dir, 'dtb'), 0x1000)
259 '--dtb', dtb,
323 dtb = generate_test_file(os.path.join(temp_out_dir, 'dtb'), 0x1000)
335 '--dtb', dtb,
383 dtb = generate_test_file(os.path.join(temp_out_dir, 'dtb'), 0x1000)
391 '--dtb', dtb,
478 dtb = generate_test_file(
495 '--dtb', dtb,
647 dtb = generate_test_file(os.path.join(temp_out_dir, 'dtb'), 0x1000)
658 '--dtb', dtb,
[all …]
/system/libufdt/utils/
DREADME.md9 If your DTB/DTBO is in an unique partition, e.g. `dtb` and `dtbo` partition.
10 `mkdtimg` is a tool for creating the `dtb`/`dtbo` image.
15 This is the layout for `dtb`/`dtbo` image:
66 Use the `create` command to create a `dtb`/`dtbo` image:
75 Each dtb/dtbo `ftbX_filename` will generate a `dt_table_entry` in image.
185 For `dtb`/`dtbo` images, use the `dump` command to print the information in
/system/libufdt/tests/testdata/
Dsuffix_compress-base.dts4 /* these name could be suffix compressed in dtb after compiled */
/system/tools/mkbootimg/
Dmkbootimg.py134 if filesize(args.dtb) == 0:
167 args.vendor_boot.write(pack('I', filesize(args.dtb)))
230 update_sha(sha, args.dtb)
255 if filesize(args.dtb) == 0:
259 args.output.write(pack('I', filesize(args.dtb)))
632 write_padded_file(args.output, args.dtb, pagesize)
641 write_padded_file(args.vendor_boot, args.dtb, args.pagesize)
647 write_padded_file(args.vendor_boot, args.dtb, args.pagesize)