Lines Matching refs:dtb
237 run_dtc_test -I dts -O dtb -o overlay_base_no_symbols.test.dtb "$SRCDIR/overlay_base.dts"
238 run_test check_path overlay_base_no_symbols.test.dtb not-exists "/__symbols__"
239 run_test check_path overlay_base_no_symbols.test.dtb not-exists "/__fixups__"
240 run_test check_path overlay_base_no_symbols.test.dtb not-exists "/__local_fixups__"
242 …run_dtc_test -I dts -O dtb -o overlay_overlay_no_fixups.test.dtb "$SRCDIR/overlay_overlay_no_fixup…
243 run_test check_path overlay_overlay_no_fixups.test.dtb not-exists "/__symbols__"
244 run_test check_path overlay_overlay_no_fixups.test.dtb not-exists "/__fixups__"
245 run_test check_path overlay_overlay_no_fixups.test.dtb exists "/__local_fixups__"
247 run_test overlay overlay_base_no_symbols.test.dtb overlay_overlay_no_fixups.test.dtb
250 …run_dtc_test -I dts -O dtb -o overlay_base_manual_symbols.test.dtb "$SRCDIR/overlay_base_manual_sy…
251 run_test check_path overlay_base_manual_symbols.test.dtb exists "/__symbols__"
252 run_test check_path overlay_base_manual_symbols.test.dtb not-exists "/__fixups__"
253 run_test check_path overlay_base_manual_symbols.test.dtb not-exists "/__local_fixups__"
255 …run_dtc_test -I dts -O dtb -o overlay_overlay_manual_fixups.test.dtb "$SRCDIR/overlay_overlay_manu…
256 run_test check_path overlay_overlay_manual_fixups.test.dtb not-exists "/__symbols__"
257 run_test check_path overlay_overlay_manual_fixups.test.dtb exists "/__fixups__"
258 run_test check_path overlay_overlay_manual_fixups.test.dtb exists "/__local_fixups__"
260 run_test overlay overlay_base_manual_symbols.test.dtb overlay_overlay_manual_fixups.test.dtb
263 run_dtc_test -@ -I dts -O dtb -o overlay_overlay_simple.dtb "$SRCDIR/overlay_overlay_simple.dts"
266 run_test check_path overlay_overlay_simple.dtb not-exists "/__local_fixups__"
271 run_dtc_test -I dts -O dtb -o $tree.test.dtb "$SRCDIR/$tree.dts"
272 run_test overlay_bad_fixup overlay_base_no_symbols.test.dtb $tree.test.dtb
279 run_dtc_test -@ -I dts -O dtb -o overlay_base.test.dtb "$SRCDIR/overlay_base.dts"
280 run_test check_path overlay_base.test.dtb exists "/__symbols__"
281 run_test check_path overlay_base.test.dtb not-exists "/__fixups__"
282 run_test check_path overlay_base.test.dtb not-exists "/__local_fixups__"
285 run_dtc_test -I dts -O dtb -o overlay_overlay.test.dtb "$SRCDIR/overlay_overlay.dts"
286 run_test check_path overlay_overlay.test.dtb not-exists "/__symbols__"
287 run_test check_path overlay_overlay.test.dtb exists "/__fixups__"
288 run_test check_path overlay_overlay.test.dtb exists "/__local_fixups__"
291 run_dtc_test -I dts -O dtb -o overlay_overlay_nosugar.test.dtb "$SRCDIR/overlay_overlay.dts"
292 run_test check_path overlay_overlay_nosugar.test.dtb not-exists "/__symbols__"
293 run_test check_path overlay_overlay_nosugar.test.dtb exists "/__fixups__"
294 run_test check_path overlay_overlay_nosugar.test.dtb exists "/__local_fixups__"
297 … run_dtc_test -I dts -O dtb -o overlay_overlay_bypath.test.dtb "$SRCDIR/overlay_overlay_bypath.dts"
298 run_test check_path overlay_overlay_bypath.test.dtb not-exists "/__symbols__"
299 run_test check_path overlay_overlay_bypath.test.dtb not-exists "/__fixups__"
300 run_test check_path overlay_overlay_bypath.test.dtb exists "/__local_fixups__"
303 …run_dtc_test -I dts -O dtb -o overlay_overlay_local_merge.test.dtb "$SRCDIR/overlay_overlay_local_…
304 …run_test check_path overlay_overlay_local_merge.test.dtb exists "/fragment@0/__overlay__/new-node/…
305 …run_test check_path overlay_overlay_local_merge.test.dtb exists "/fragment@1/__overlay__/new-root-…
308 run_test dtbs_equal_ordered overlay_overlay.test.dtb overlay_overlay_nosugar.test.dtb
310 …run_dtc_test -I dts -O dtb -o overlay_overlay_manual_fixups.test.dtb "$SRCDIR/overlay_overlay_manu…
311 run_test dtbs_equal_ordered overlay_overlay.test.dtb overlay_overlay_manual_fixups.test.dtb
313 …run_dtc_test -I dts -O dtb -o overlay_overlay_no_fixups.test.dtb "$SRCDIR/overlay_overlay_no_fixup…
314 run_test dtbs_equal_ordered overlay_overlay_bypath.test.dtb overlay_overlay_no_fixups.test.dtb
317 run_dtc_test -I dts -O dtb -o overlay_base_no_symbols.test.dtb "$SRCDIR/overlay_base.dts"
318 run_test overlay overlay_base.test.dtb overlay_overlay.test.dtb
319 run_test overlay overlay_base_no_symbols.test.dtb overlay_overlay_bypath.test.dtb
322 run_dtc_test -I dtb -O dts -o overlay_overlay_decompile.test.dts overlay_overlay.test.dtb
323 …run_dtc_test -I dts -O dtb -o overlay_overlay_decompile.test.dtb overlay_overlay_decompile.test.dts
324 run_test dtbs_equal_ordered overlay_overlay.test.dtb overlay_overlay_decompile.test.dtb
327 run_dtc_test -A -I dts -O dtb -o overlay_base_with_aliases.dtb "$SRCDIR/overlay_base.dts"
328 run_test check_path overlay_base_with_aliases.dtb exists "/aliases"
329 run_test check_path overlay_base_with_aliases.dtb not-exists "/__symbols__"
330 run_test check_path overlay_base_with_aliases.dtb not-exists "/__fixups__"
331 run_test check_path overlay_base_with_aliases.dtb not-exists "/__local_fixups__"
375 run_sh_test "$SRCDIR/dtc-checkfails.sh" "$@" -- -I dts -O dtb $tree
376 run_dtc_test -I dts -O dtb -o $tree.test.dtb -f $tree
377 run_sh_test "$SRCDIR/dtc-checkfails.sh" "$@" -- -I dtb -O dtb $tree.test.dtb
383 tree1_tests test_tree1.dtb
385 run_dtc_test -I dts -O dtb -o addresses.test.dtb "$SRCDIR/addresses.dts"
386 run_test addr_size_cells addresses.test.dtb
387 run_dtc_test -I dts -O dtb -o addresses2.test.dtb "$SRCDIR/empty.dts"
388 run_test addr_size_cells2 addresses2.test.dtb
390 run_dtc_test -I dts -O dtb -o stringlist.test.dtb "$SRCDIR/stringlist.dts"
391 run_test stringlist stringlist.test.dtb
396 tree1_tests sw_tree1.test.dtb
397 tree1_tests unfinished_tree1.test.dtb
398 run_test dtbs_equal_ordered test_tree1.dtb sw_tree1.test.dtb
404 tree1_tests sw_tree1.test.dtb
405 tree1_tests unfinished_tree1.test.dtb
406 run_test dtbs_equal_ordered test_tree1.dtb sw_tree1.test.dtb
411 for tree in test_tree1.dtb sw_tree1.test.dtb unfinished_tree1.test.dtb; do
420 for tree in test_tree1.dtb; do
431 for basetree in test_tree1.dtb; do
447 tree1_tests rw_tree1.test.dtb
448 tree1_tests_rw rw_tree1.test.dtb
450 run_test appendprop2 appendprop1.test.dtb
451 run_dtc_test -I dts -O dtb -o appendprop.test.dtb "$SRCDIR/appendprop.dts"
452 run_test dtbs_equal_ordered appendprop2.test.dtb appendprop.test.dtb
455 for basetree in test_tree1.dtb sw_tree1.test.dtb rw_tree1.test.dtb; do
464 run_dtc_test -I dts -O dtb -o subnode_iterate.dtb "$SRCDIR/subnode_iterate.dts"
465 run_test subnode_iterate subnode_iterate.dtb
467 run_dtc_test -I dts -O dtb -o property_iterate.dtb "$SRCDIR/property_iterate.dts"
468 run_test property_iterate property_iterate.dtb
470 run_dtc_test -I dts -O dtb -o unit-addr-without-reg.dtb "$SRCDIR/unit-addr-without-reg.dts"
471 run_test appendprop_addrrange unit-addr-without-reg.dtb 1 1 1
472 run_test appendprop_addrrange unit-addr-without-reg.dtb 2 2 2
473 run_test appendprop_addrrange unit-addr-without-reg.dtb 2 1 3
481 run_dtc_test -I dts -O dtb -o aliases.dtb "$SRCDIR/aliases.dts"
482 run_test get_alias aliases.dtb
483 run_test path_offset_aliases aliases.dtb
488 run_dtc_test -I dts -O dtb -o sourceoutput.test.dtb "$SRCDIR/sourceoutput.dts"
489 run_dtc_test -I dts -O dtb -o sourceoutput.test.dts.test.dtb sourceoutput.test.dts
490 run_test dtbs_equal_ordered sourceoutput.test.dtb sourceoutput.test.dts.test.dtb
492 run_dtc_test -I dts -O dtb -o embedded_nul.test.dtb "$SRCDIR/embedded_nul.dts"
493 run_dtc_test -I dts -O dtb -o embedded_nul_equiv.test.dtb "$SRCDIR/embedded_nul_equiv.dts"
494 run_test dtbs_equal_ordered embedded_nul.test.dtb embedded_nul_equiv.test.dtb
496 run_dtc_test -I dts -O dtb "$SRCDIR/bad-size-cells.dts"
500 run_dtc_test -I dts -O dtb "$SRCDIR/nul-in-escape.dts"
504 run_wrap_error_test $DTC -I dtb -O dts -o /dev/null ovf_size_strings.dtb
506 run_test check_header test_tree1.dtb
513 run_dtc_test -I fs -O dtb -o fs.test_tree1.test.dtb $FSBASE/test_tree1
514 run_test dtbs_equal_unordered -m fs.test_tree1.test.dtb test_tree1.dtb
517 for good in test_tree1.dtb; do
520 for bad in truncated_property.dtb truncated_string.dtb \
521 truncated_memrsv.dtb; do
527 run_dtc_test -I dts -O dtb -o dtc_tree1.test.dtb "$SRCDIR/test_tree1.dts"
528 tree1_tests dtc_tree1.test.dtb
529 tree1_tests_rw dtc_tree1.test.dtb
530 run_test dtbs_equal_ordered dtc_tree1.test.dtb test_tree1.dtb
532 run_dtc_test -I dts -O dtb -o dtc_escapes.test.dtb "$SRCDIR/propname_escapes.dts"
533 run_test propname_escapes dtc_escapes.test.dtb
535 run_dtc_test -I dts -O dtb -o line_directives.test.dtb "$SRCDIR/line_directives.dts"
537 run_dtc_test -I dts -O dtb -o dtc_escapes.test.dtb "$SRCDIR/escapes.dts"
538 run_test string_escapes dtc_escapes.test.dtb
540 run_dtc_test -I dts -O dtb -o dtc_char_literal.test.dtb "$SRCDIR/char_literal.dts"
541 run_test char_literal dtc_char_literal.test.dtb
543 run_dtc_test -I dts -O dtb -o dtc_sized_cells.test.dtb "$SRCDIR/sized_cells.dts"
544 run_test sized_cells dtc_sized_cells.test.dtb
546 …run_dtc_test -I dts -O dtb -o dtc_extra-terminating-null.test.dtb "$SRCDIR/extra-terminating-null.…
547 run_test extra-terminating-null dtc_extra-terminating-null.test.dtb
549 run_dtc_test -I dts -O dtb -o dtc_references.test.dtb "$SRCDIR/references.dts"
550 run_test references dtc_references.test.dtb
552 run_dtc_test -I dts -O dtb -o dtc_path-references.test.dtb "$SRCDIR/path-references.dts"
553 run_test path-references dtc_path-references.test.dtb
555 run_test phandle_format dtc_references.test.dtb epapr
557 run_dtc_test -I dts -O dtb -H $f -o dtc_references.test.$f.dtb "$SRCDIR/references.dts"
558 run_test phandle_format dtc_references.test.$f.dtb $f
561 run_dtc_test -I dts -O dtb -o multilabel.test.dtb "$SRCDIR/multilabel.dts"
562 run_test references multilabel.test.dtb
564 run_dtc_test -I dts -O dtb -o label_repeated.test.dtb "$SRCDIR/label_repeated.dts"
566 run_dtc_test -I dts -O dtb -o dtc_comments.test.dtb "$SRCDIR/comments.dts"
567 run_dtc_test -I dts -O dtb -o dtc_comments-cmp.test.dtb "$SRCDIR/comments-cmp.dts"
568 run_test dtbs_equal_ordered dtc_comments.test.dtb dtc_comments-cmp.test.dtb
571 run_dtc_test -I dts -O dtb -o includes.test.dtb "$SRCDIR/include0.dts"
572 run_test dtbs_equal_ordered includes.test.dtb test_tree1.dtb
575 run_dtc_test -I dts -O dtb -o incbin.test.dtb "$SRCDIR/incbin.dts"
576 run_test incbin "$SRCDIR/incbin.bin" incbin.test.dtb
579 run_dtc_test -I dts -O dtb -o boot_cpuid.test.dtb "$SRCDIR/boot-cpuid.dts"
580 run_test boot-cpuid boot_cpuid.test.dtb 16
582 run_dtc_test -I dts -O dtb -b 17 -o boot_cpuid_17.test.dtb "$SRCDIR/boot-cpuid.dts"
583 run_test boot-cpuid boot_cpuid_17.test.dtb 17
585 run_dtc_test -I dtb -O dtb -o preserve_boot_cpuid.test.dtb boot_cpuid.test.dtb
586 run_test boot-cpuid preserve_boot_cpuid.test.dtb 16
587 run_test dtbs_equal_ordered preserve_boot_cpuid.test.dtb boot_cpuid.test.dtb
589 run_dtc_test -I dtb -O dtb -o preserve_boot_cpuid_17.test.dtb boot_cpuid_17.test.dtb
590 run_test boot-cpuid preserve_boot_cpuid_17.test.dtb 17
591 run_test dtbs_equal_ordered preserve_boot_cpuid_17.test.dtb boot_cpuid_17.test.dtb
593 run_dtc_test -I dtb -O dtb -b17 -o override17_boot_cpuid.test.dtb boot_cpuid.test.dtb
594 run_test boot-cpuid override17_boot_cpuid.test.dtb 17
596 run_dtc_test -I dtb -O dtb -b0 -o override0_boot_cpuid_17.test.dtb boot_cpuid_17.test.dtb
597 run_test boot-cpuid override0_boot_cpuid_17.test.dtb 0
606 run_dtc_test -I dts -O dtb -o $tree.test.dtb "$SRCDIR/$tree"
607 run_test asm_tree_dump ./oasm_$tree.test.so oasm_$tree.test.dtb
608 run_wrap_test cmp oasm_$tree.test.dtb $tree.test.dtb
614 for tree in test_tree1.dtb dtc_tree1.test.dtb dtc_escapes.test.dtb \
615 dtc_extra-terminating-null.test.dtb dtc_references.test.dtb; do
616 run_dtc_test -I dtb -O dts -o odts_$tree.test.dts $tree
617 run_dtc_test -I dts -O dtb -o odts_$tree.test.dtb odts_$tree.test.dts
618 run_test dtbs_equal_ordered $tree odts_$tree.test.dtb
628 run_dtc_test -I dts -O dtb -o $tree.test.dtb "$SRCDIR/$tree.dts"
630 run_dtc_test -I dts -O dtb -o $tree.test.dts.test.dtb $tree.test.dts
631 run_test dtbs_equal_ordered $tree.test.dtb $tree.test.dts.test.dtb
643 for tree in test_tree1.dtb ; do
646 run_dtc_test -I dtb -O dtb -V$aver -o $atree $tree
649 run_dtc_test -I dtb -O dtb -V$bver -o $btree $atree
656 run_dtc_test -I dts -O dtb -o dtc_tree1_merge.test.dtb "$SRCDIR/test_tree1_merge.dts"
657 tree1_tests dtc_tree1_merge.test.dtb test_tree1.dtb
658 …run_dtc_test -I dts -O dtb -o dtc_tree1_merge_labelled.test.dtb "$SRCDIR/test_tree1_merge_labelled…
659 tree1_tests dtc_tree1_merge_labelled.test.dtb test_tree1.dtb
660 …run_dtc_test -I dts -O dtb -o dtc_tree1_label_noderef.test.dtb "$SRCDIR/test_tree1_label_noderef.d…
661 run_test dtbs_equal_unordered dtc_tree1_label_noderef.test.dtb test_tree1.dtb
662 run_dtc_test -I dts -O dtb -o multilabel_merge.test.dtb "$SRCDIR/multilabel_merge.dts"
663 run_test references multilabel.test.dtb
664 run_test dtbs_equal_ordered multilabel.test.dtb multilabel_merge.test.dtb
665 run_dtc_test -I dts -O dtb -o dtc_tree1_merge_path.test.dtb "$SRCDIR/test_tree1_merge_path.dts"
666 tree1_tests dtc_tree1_merge_path.test.dtb test_tree1.dtb
667 run_wrap_error_test $DTC -I dts -O dtb -o /dev/null "$SRCDIR/test_label_ref.dts"
670 run_dtc_test -I dts -O dtb -o dtc_tree1_delete.test.dtb "$SRCDIR/test_tree1_delete.dts"
671 tree1_tests dtc_tree1_delete.test.dtb
674 run_dtc_test -I dts -O dtb -o omit-no-ref.test.dtb "$SRCDIR/omit-no-ref.dts"
675 run_test check_path omit-no-ref.test.dtb not-exists "/node1"
676 run_test check_path omit-no-ref.test.dtb not-exists "/node2"
677 run_test check_path omit-no-ref.test.dtb exists "/node3"
678 run_test check_path omit-no-ref.test.dtb exists "/node4"
689 …run_sh_test "$SRCDIR/dtc-checkfails.sh" phandle_references -- -I dts -O dtb "$SRCDIR/nonexist-node…
690 …run_sh_test "$SRCDIR/dtc-checkfails.sh" phandle_references -- -I dts -O dtb "$SRCDIR/nonexist-labe…
691 run_sh_test "$SRCDIR/dtc-fatal.sh" -I dts -O dtb "$SRCDIR/nonexist-node-ref2.dts"
715 …fails.sh" deprecated_gpio_property -- -Wdeprecated_gpio_property -I dts -O dtb "$SRCDIR/bad-gpio.d…
718 run_sh_test "$SRCDIR/dtc-checkfails.sh" node_name_chars -- -I dtb -O dtb bad_node_char.dtb
719 run_sh_test "$SRCDIR/dtc-checkfails.sh" node_name_format -- -I dtb -O dtb bad_node_format.dtb
720 run_sh_test "$SRCDIR/dtc-checkfails.sh" property_name_chars -- -I dtb -O dtb bad_prop_char.dtb
722 …run_sh_test "$SRCDIR/dtc-checkfails.sh" duplicate_label -- -I dts -O dtb "$SRCDIR/reuse-label1.dts"
723 …run_sh_test "$SRCDIR/dtc-checkfails.sh" duplicate_label -- -I dts -O dtb "$SRCDIR/reuse-label2.dts"
724 …run_sh_test "$SRCDIR/dtc-checkfails.sh" duplicate_label -- -I dts -O dtb "$SRCDIR/reuse-label3.dts"
725 …run_sh_test "$SRCDIR/dtc-checkfails.sh" duplicate_label -- -I dts -O dtb "$SRCDIR/reuse-label4.dts"
726 …run_sh_test "$SRCDIR/dtc-checkfails.sh" duplicate_label -- -I dts -O dtb "$SRCDIR/reuse-label5.dts"
727 …run_sh_test "$SRCDIR/dtc-checkfails.sh" duplicate_label -- -I dts -O dtb "$SRCDIR/reuse-label6.dts"
729 run_test check_path test_tree1.dtb exists "/subnode@1"
730 run_test check_path test_tree1.dtb not-exists "/subnode@10"
741 …t_cells_is_cell -n size_cells_is_cell -- -Wno_size_cells_is_cell -I dts -O dtb "$SRCDIR/bad-ncells…
742 …run_sh_test "$SRCDIR/dtc-fails.sh" -n test-warn-output.test.dtb -I dts -O dtb "$SRCDIR/bad-ncells.…
743 …run_sh_test "$SRCDIR/dtc-fails.sh" test-error-output.test.dtb -I dts -O dtb bad-ncells.dts -Esize_…
744 …run_sh_test "$SRCDIR/dtc-checkfails.sh" always_fail -- -Walways_fail -I dts -O dtb "$SRCDIR/test_t…
745 …-checkfails.sh" -n always_fail -- -Walways_fail -Wno_always_fail -I dts -O dtb "$SRCDIR/test_tree1…
746 …run_sh_test "$SRCDIR/dtc-fails.sh" test-negation-1.test.dtb -Ealways_fail -I dts -O dtb "$SRCDIR/t…
747 …test "$SRCDIR/dtc-fails.sh" -n test-negation-2.test.dtb -Ealways_fail -Eno_always_fail -I dts -O d…
748 …sh_test "$SRCDIR/dtc-fails.sh" test-negation-3.test.dtb -Ealways_fail -Wno_always_fail -I dts -O d…
749 …SRCDIR/dtc-fails.sh" -n test-negation-4.test.dtb -Esize_cells_is_cell -Eno_size_cells_is_cell -I d…
750 …ze_cells_is_cell -- -Esize_cells_is_cell -Eno_size_cells_is_cell -I dts -O dtb "$SRCDIR/bad-ncells…
753 run_dtc_test -I dts -O dtb -o stdin_dtc_tree1.test.dtb - < "$SRCDIR/test_tree1.dts"
754 run_wrap_test cmp stdin_dtc_tree1.test.dtb dtc_tree1.test.dtb
755 run_dtc_test -I dtb -O dts -o stdin_odts_test_tree1.dtb.test.dts - < test_tree1.dtb
756 run_wrap_test cmp stdin_odts_test_tree1.dtb.test.dts odts_test_tree1.dtb.test.dts
760 run_dtc_test -I dts -O dtb -o integer-expressions.test.dtb integer-expressions.test.dts
761 run_test integer-expressions integer-expressions.test.dtb
764 run_sh_test "$SRCDIR/dtc-fatal.sh" -I dts -O dtb nosuchfile.dts
765 run_sh_test "$SRCDIR/dtc-fatal.sh" -I dtb -O dtb nosuchfile.dtb
766 run_sh_test "$SRCDIR/dtc-fatal.sh" -I fs -O dtb nosuchfile
769 …run_dtc_test -I dts -O dtb -o dependencies.test.dtb -d dependencies.test.d "$SRCDIR/dependencies.d…
774 run_wrap_error_test $DTC -I dts -O dtb -o search_paths.dtb "$SRCDIR/search_paths.dts"
775 run_dtc_test -i "$SRCDIR/search_dir" -I dts -O dtb -o search_paths.dtb \
777 run_wrap_error_test $DTC -i "$SRCDIR/search_dir_b" -I dts -O dtb \
778 -o search_paths_b.dtb "$SRCDIR/search_paths_b.dts"
779 run_dtc_test -i "$SRCDIR/search_dir_b" -i "$SRCDIR/search_dir" -I dts -O dtb \
780 -o search_paths_b.dtb "$SRCDIR/search_paths_b.dts"
781 run_dtc_test -I dts -O dtb -o search_paths_subdir.dtb \
787 run_dtc_test -O dtb -p 1000 -a $align -o align0.dtb "$SRCDIR/subnode_iterate.dts"
788 base_run_test check_align align0.dtb $align
790 run_dtc_test -O dtb -S 1999 -a $align -o align1.dtb "$SRCDIR/subnode_iterate.dts"
791 base_run_test check_align align1.dtb $align
807 run_test dtbs_equal_ordered -n $basetree $basetree.reversed.test.dtb
814 run_test dtbs_equal_unordered $basetree $basetree.reversed.test.dtb
815 run_test dtbs_equal_unordered $basetree.reversed.test.dtb $basetree
821 run_dtc_test -I dtb -O dtb -s -o $basetree.sorted.test.dtb $basetree
822 run_test dtbs_equal_unordered $basetree $basetree.sorted.test.dtb
823 run_dtc_test -I dtb -O dtb -s -o $basetree.reversed.sorted.test.dtb $basetree.reversed.test.dtb
824 run_test dtbs_equal_unordered $basetree.reversed.test.dtb $basetree.reversed.sorted.test.dtb
825 run_test dtbs_equal_ordered $basetree.sorted.test.dtb $basetree.reversed.sorted.test.dtb
831 run_dtc_test -I dts -O dtb -o test_tree1_wrong$x.test.dtb "$SRCDIR/test_tree1_wrong$x.dts"
834 cmp_tests test_tree1.dtb $WRONG_TREE1
839 dtb=$dts.fdtget.test.dtb
840 run_dtc_test -O dtb -o $dtb "$SRCDIR/$dts"
843 run_fdtget_test "MyBoardName" $dtb / model
844 run_fdtget_test "MyBoardName MyBoardFamilyName" $dtb / compatible
847 108 121 78 97 109 101 0" -t bu $dtb / compatible
848 run_fdtget_test "MyBoardName MyBoardFamilyName" -t s $dtb / compatible
849 run_fdtget_test 32768 $dtb /cpus/PowerPC,970@1 d-cache-size
850 run_fdtget_test 8000 -tx $dtb /cpus/PowerPC,970@1 d-cache-size
851 run_fdtget_test "61 62 63 0" -tbx $dtb /randomnode tricky1
852 run_fdtget_test "a b c d de ea ad be ef" -tbx $dtb /randomnode blob
855 run_wrap_error_test $DTGET -tlx $dtb /randomnode mixed
856 run_fdtget_test "6162 6300 1234 0 a 0 b 0 c" -thx $dtb /randomnode mixed
858 -thhx $dtb /randomnode mixed
859 run_wrap_error_test $DTGET -ts $dtb /randomnode doctor-who
862 run_fdtget_test "MyBoardName\nmemory" -ts $dtb / model /memory device_type
865 run_wrap_error_test $DTGET -tx $dtb /randomnode doctor-who
867 -d "<the dead silence>" $dtb /randomnode doctor-who
868 run_fdtget_test "<blink>" -tx -d "<blink>" $dtb /memory doctor-who
873 dtb=$dts.fdtput.test.dtb
877 run_dtc_test -O dtb -p $($STATSZ $text) -o $dtb "$SRCDIR/$dts"
880 run_fdtput_test "a_model" $dtb / model -ts "a_model"
881 run_fdtput_test "board1 board2" $dtb / compatible -ts board1 board2
882 run_fdtput_test "board1 board2" $dtb / compatible -ts "board1 board2"
883 run_fdtput_test "32768" $dtb /cpus/PowerPC,970@1 d-cache-size "" "32768"
884 run_fdtput_test "8001" $dtb /cpus/PowerPC,970@1 d-cache-size -tx 0x8001
885 run_fdtput_test "2 3 12" $dtb /randomnode tricky1 -tbi "02 003 12"
886 run_fdtput_test "a b c ea ad be ef" $dtb /randomnode blob \
888 run_fdtput_test "a0b0c0d deeaae ef000000" $dtb /randomnode blob \
890 run_fdtput_test "$(cat $text)" $dtb /randomnode blob -ts "$(cat $text)"
893 run_fdtput_test "$(cat $text $text)" $dtb /randomnode blob -ts "$(cat $text $text)"
896 run_dtc_test -O dtb -p $($STATSZ $text) -o $dtb "$SRCDIR/$dts"
899 run_wrap_error_test $DTPUT $dtb -c /baldrick sod
900 run_wrap_test $DTPUT $dtb -c /chosen/son /chosen/daughter
901 run_fdtput_test "eva" $dtb /chosen/daughter name "" -ts "eva"
902 run_fdtput_test "adam" $dtb /chosen/son name "" -ts "adam"
905 run_wrap_error_test $DTPUT $dtb -c /chosen
906 run_wrap_error_test $DTPUT $dtb -c /chosen/son
909 run_wrap_test $DTPUT $dtb -cp /blackadder/the-second/turnip \
911 run_fdtput_test 1000 $dtb /blackadder/the-second/turnip cost "" 1000
912 run_fdtput_test "fine wine" $dtb /blackadder/the-second/potato drink \
914 run_wrap_test $DTPUT $dtb -p /you/are/drunk/sir/winston slurp -ts twice
917 run_wrap_test $DTPUT $dtb -cp "$(cat $text $text)/longish"
920 run_wrap_test $DTPUT $dtb -cp /chosen
921 run_wrap_test $DTPUT $dtb -cp /chosen/son
924 run_dtc_test -O dtb -p $($STATSZ $text) -o $dtb "$SRCDIR/$dts"
927 run_wrap_test $DTPUT $dtb -c /chosen/node1 /chosen/node2 /chosen/node3
928 run_fdtget_test "node3\nnode2\nnode1" $dtb -l /chosen
929 run_wrap_test $DTPUT $dtb -r /chosen/node1 /chosen/node2
930 run_fdtget_test "node3" $dtb -l /chosen
933 run_wrap_error_test $DTPUT $dtb -r /non-existent/node
936 run_fdtput_test "eva" $dtb /chosen/ name "" -ts "eva"
937 run_fdtput_test "016" $dtb /chosen/ age "" -ts "016"
938 run_fdtget_test "age\nname\nbootargs\nlinux,platform" $dtb -p /chosen
939 run_wrap_test $DTPUT $dtb -d /chosen/ name age
940 run_fdtget_test "bootargs\nlinux,platform" $dtb -p /chosen
943 run_wrap_error_test $DTPUT $dtb -d /chosen non-existent-prop
958 basedtb=overlay_base.fdoverlay.test.dtb
960 overlaydtb=overlay_overlay_manual_fixups.fdoverlay.test.dtb
961 targetdtb=target.fdoverlay.test.dtb
963 run_dtc_test -@ -I dts -O dtb -o $basedtb $base
964 run_dtc_test -@ -I dts -O dtb -o $overlaydtb $overlay
970 stacked_basedtb=stacked_overlay_base.fdtoverlay.test.dtb
972 stacked_bardtb=stacked_overlay_bar.fdtoverlay.test.dtb
974 stacked_bazdtb=stacked_overlay_baz.fdtoverlay.test.dtb
975 stacked_targetdtb=stacked_overlay_target.fdtoverlay.test.dtb
977 run_dtc_test -@ -I dts -O dtb -o $stacked_basedtb $stacked_base
978 run_dtc_test -@ -I dts -O dtb -o $stacked_bardtb $stacked_bar
979 run_dtc_test -@ -I dts -O dtb -o $stacked_bazdtb $stacked_baz
989 overlay_long_pathdtb=overlay_overlay_long_path.fdoverlay.test.dtb
990 target_long_pathdtb=overlay_overlay_long_path_target.fdoverlay.test.dtb
991 run_dtc_test -@ -I dts -O dtb -o $overlay_long_pathdtb $overlay_long_path
998 stacked_base_nolabeldtb=stacked_overlay_base_nolabel.test.dtb
1000 stacked_addlabeldtb=stacked_overlay_addlabel.test.dtb
1001 stacked_addlabel_targetdtb=stacked_overlay_target_nolabel.fdtoverlay.test.dtb
1003 run_dtc_test -@ -I dts -O dtb -o $stacked_base_nolabeldtb $stacked_base_nolabel
1004 run_dtc_test -@ -I dts -O dtb -o $stacked_addlabeldtb $stacked_addlabel
1010 run_dtc_test -I dts -O dtb -o test_props.dtb "$SRCDIR/test_props.dts"
1057 rm -f *.test.dtb *.test.dts