Lines Matching refs:sb

101         sb = []
102 sb.append('{key:>20} = {value:d}'.format(key='dt_size',
104 sb.append('{key:>20} = {value:d}'.format(key='dt_offset',
106 sb.append('{key:>20} = {value:08x}'.format(key='id',
108 sb.append('{key:>20} = {value:08x}'.format(key='rev',
110 sb.append('{key:>20} = {value:08x}'.format(key='custom[0]',
112 sb.append('{key:>20} = {value:08x}'.format(key='custom[1]',
114 sb.append('{key:>20} = {value:08x}'.format(key='custom[2]',
116 sb.append('{key:>20} = {value:08x}'.format(key='custom[3]',
118 return '\n'.join(sb)
385 sb = []
386 sb.append('dt_table_header:')
391 sb.append('{key:>20} = {value:08x}'.format(key=key,
394 sb.append('{key:>20} = {value:d}'.format(key=key,
398 sb.append('dt_table_entry[{0:d}]:'.format(count))
399 sb.append(str(dt_entry))
401 return '\n'.join(sb)
879 sb = []
880 sb.append(' ' + progname + ' help all')
881 sb.append(' ' + progname + ' help <command>\n')
882 sb.append(' commands:')
883 sb.append(' help, dump, create, cfg_create')
884 print('\n'.join(sb))
892 sb = []
893 sb.append(' ' + progname + ' dump <image_file> (<option>...)\n')
894 sb.append(' options:')
895 sb.append(' -o, --output <filename> Output file name.')
896 sb.append(' Default is output to stdout.')
897 sb.append(' -b, --dtb <filename> Dump dtb/dtbo files from image.')
898 sb.append(' Will output to <filename>.0, <filename>.1, etc.')
899 print('\n'.join(sb))
907 sb = []
908sb.append(' ' + progname + ' create <image_file> (<global_option>...) (<dtb_file> (<entry_option>…
909 sb.append(' global_options:')
910 sb.append(' --dt_type=<type> Device Tree Type (dtb|acpi). Default: dtb')
911 sb.append(' --page_size=<number> Page size. Default: 2048')
912 sb.append(' --version=<number> DTBO/ACPIO version. Default: 0')
913sb.append(' --id=<number> The default value to set property id in dt_table_entry. Defau…
914 sb.append(' --rev=<number>')
915 sb.append(' --flags=<number>')
916 sb.append(' --custom0=<number>')
917 sb.append(' --custom1=<number>')
918 sb.append(' --custom2=<number>\n')
920 sb.append(' The value could be a number or a DT node path.')
921 sb.append(' <number> could be a 32-bits digit or hex value, ex. 68000, 0x6800.')
922 sb.append(' <path> format is <full_node_path>:<property_name>, ex. /board/:id,')
923 sb.append(' will read the value in given FTB file with the path.')
924 print('\n'.join(sb))
932 sb = []
933 sb.append(' ' + progname + ' cfg_create <image_file> <config_file> (<option>...)\n')
934 sb.append(' options:')
935 sb.append(' -d, --dtb-dir <dir> The path to load dtb files.')
936 sb.append(' Default is load from the current path.')
937 print('\n'.join(sb))