| /rk3399_rockchip-uboot/test/py/ |
| H A D | make_test_disk.py | 7 import os 10 if (os.path.exists("testdisk.raw")): 11 os.remove("testdisk.raw") 12 fd = os.open("testdisk.raw", os.O_RDWR|os.O_CREAT ) 13 os.ftruncate(fd, 4194304) 14 os.close(fd) 15 os.spawnl(os.P_WAIT, "/sbin/sgdisk", "sgdisk", "-U", 17 os.spawnl(os.P_WAIT, "/sbin/sgdisk", "sgdisk", "--new=1:2048:2560", "testdisk.raw") 18 os.spawnl(os.P_WAIT, "/sbin/sgdisk", "sgdisk", "--new=2:4096:4608", "testdisk.raw") 19 os.spawnl(os.P_WAIT, "/sbin/gdisk", "sgdisk", "-l", "testdisk.raw")
|
| H A D | u_boot_spawn.py | 7 import os 59 os.chdir(cwd) 60 os.execvp(args[0], args) 66 os._exit(255) 85 os.kill(self.pid, sig) 100 w = os.waitpid(self.pid, os.WNOHANG) 117 os.write(self.fd, data) 175 c = os.read(self.fd, 1024) 201 os.close(self.fd)
|
| H A D | test.py | 11 import os 12 import os.path 19 args = ['py.test', os.path.dirname(__file__) + '/tests'] 23 os.execvp('py.test', args)
|
| /rk3399_rockchip-uboot/scripts/dtc/pylibfdt/ |
| H A D | setup.py | 22 import os 81 basedir = os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0]))) 83 makevars = ParseMakefile(os.path.join(basedir, 'Makefile')) 86 makevars = ParseMakefile(os.path.join(basedir, 'libfdt', 'Makefile.libfdt')) 88 files = [os.path.join(basedir, 'libfdt', fname) for fname in files] 96 files = os.environ.get('SOURCES', '').split() 97 cflags = os.environ.get('CPPFLAGS', '').split() 98 objdir = os.environ.get('OBJDIR') 99 version = os.environ.get('VERSION') 100 swig_opts = os.environ.get('SWIG_OPTS', '').split()
|
| /rk3399_rockchip-uboot/common/ |
| H A D | bootm.c | 115 &images, &images.os.image_start, &images.os.image_len); in bootm_find_os() 116 if (images.os.image_len == 0) { in bootm_find_os() 125 images.os.type = image_get_type(os_hdr); in bootm_find_os() 126 images.os.comp = image_get_comp(os_hdr); in bootm_find_os() 127 images.os.os = image_get_os(os_hdr); in bootm_find_os() 129 images.os.end = image_get_image_end(os_hdr); in bootm_find_os() 130 images.os.load = image_get_load(os_hdr); in bootm_find_os() 131 images.os.arch = image_get_arch(os_hdr); in bootm_find_os() 138 &images.os.type)) { in bootm_find_os() 146 &images.os.comp)) { in bootm_find_os() [all …]
|
| /rk3399_rockchip-uboot/arch/sandbox/cpu/ |
| H A D | Makefile | 10 obj-y := cpu.o os.o start.o state.o 12 obj-$(CONFIG_ETH_SANDBOX_RAW) += eth-raw-os.o 21 $(obj)/os.o: $(src)/os.c FORCE 28 quiet_cmd_cc_eth-raw-os.o = CC $(quiet_modtag) $@ 29 cmd_cc_eth-raw-os.o = $(CC) $(filter-out -nostdinc, \ 32 $(obj)/eth-raw-os.o: $(src)/eth-raw-os.c FORCE 33 $(call if_changed_dep,cc_eth-raw-os.o)
|
| /rk3399_rockchip-uboot/tools/ |
| H A D | genboardscfg.py | 23 import os 28 sys.path.append(os.path.join(os.path.dirname(__file__), 'buildman')) 47 os.remove(f) 56 if not os.path.exists(f): 67 ctime = os.path.getctime(output) 75 for (dirpath, dirnames, filenames) in os.walk(CONFIG_DIR): 79 filepath = os.path.join(dirpath, filename) 80 if ctime < os.path.getctime(filepath): 83 for (dirpath, dirnames, filenames) in os.walk('.'): 89 filepath = os.path.join(dirpath, filename) [all …]
|
| /rk3399_rockchip-uboot/tools/binman/ |
| H A D | binman.py | 13 import os 19 our_path = os.path.dirname(os.path.realpath(__file__)) 21 sys.path.insert(0, os.path.join(our_path, dirname)) 27 sys.path.insert(0, os.path.join(our_path, 'etype')) 64 os.system(cmd) 95 pager = os.getenv('PAGER') 98 fname = os.path.join(os.path.dirname(os.path.realpath(sys.argv[0])),
|
| H A D | binman | 13 import os 19 our_path = os.path.dirname(os.path.realpath(__file__)) 21 sys.path.insert(0, os.path.join(our_path, dirname)) 27 sys.path.insert(0, os.path.join(our_path, 'etype')) 64 os.system(cmd) 95 pager = os.getenv('PAGER') 98 fname = os.path.join(os.path.dirname(os.path.realpath(sys.argv[0])),
|
| H A D | control.py | 10 import os 69 pager = os.getenv('PAGER') 72 fname = os.path.join(os.path.dirname(os.path.realpath(sys.argv[0])), 84 board_pathname = os.path.join(options.build_dir, board) 85 dtb_fname = os.path.join(board_pathname, 'u-boot.dtb')
|
| /rk3399_rockchip-uboot/tools/patman/ |
| H A D | project.py | 6 import os.path 22 if os.path.exists(os.path.join(top_level, "include", "u-boot")): 24 elif os.path.exists(os.path.join(top_level, "kernel")):
|
| H A D | checkpatch.py | 9 import os 17 os.getcwd(), 18 os.path.join(os.getcwd(), '..', '..'), 19 os.path.join(top_level, 'tools'), 20 os.path.join(top_level, 'scripts'), 21 '%s/bin' % os.getenv('HOME'), 25 fname = os.path.join(path, 'checkpatch.pl') 26 if os.path.isfile(fname): 30 while not os.path.ismount(path): 31 fname = os.path.join(path, 'src', 'third_party', 'kernel', 'files', [all …]
|
| H A D | test.py | 8 import os 74 infd = os.fdopen(inhandle, 'w') 79 expfd = os.fdopen(exphandle, 'w') 84 rc = os.system('diff -u %s %s' % (inname, expname)) 87 os.remove(inname) 88 os.remove(expname) 209 infd = os.fdopen(inhandle, 'w') 225 os.remove(inf) 236 os.remove(inf) 247 os.remove(inf) [all …]
|
| H A D | tools.py | 7 import os 39 if not os.path.isdir(outdir): 41 os.makedirs(outdir) 73 return os.path.join(outdir, fname) 106 pathname = os.path.join(dirname, fname) 107 if os.path.exists(pathname):
|
| H A D | get_maintainer.py | 8 import os 17 os.path.join(gitutil.GetTopLevel(), 'scripts'), 21 fname = os.path.join(path, 'get_maintainer.pl') 22 if os.path.isfile(fname):
|
| /rk3399_rockchip-uboot/lib/libfdt/ |
| H A D | test_libfdt.py | 3 import os 6 our_path = os.path.dirname(os.path.realpath(__file__)) 7 sys.path.append(os.path.join(our_path, '../../b/sandbox_spl/tools'))
|
| /rk3399_rockchip-uboot/tools/buildman/ |
| H A D | toolchain.py | 9 import os 71 self.path = os.path.dirname(fname) 75 basename = os.path.basename(fname) 155 env = dict(os.environ) 159 env['CROSS_COMPILE'] = wrapper + os.path.join(self.path, self.cross) 262 dirname = os.path.join(path, subdir) 278 for path in os.environ["PATH"].split(os.pathsep): 280 pathname = os.path.join(path, fname) 281 if os.path.exists(pathname): 298 if os.path.exists(value): [all …]
|
| H A D | builderthread.py | 8 import os 25 os.makedirs(dirname) 27 os.mkdir(dirname) 143 out_rel_dir = os.path.join('..', brd.target) 146 out_dir = os.path.join(work_dir, out_rel_dir) 150 result.already_done = os.path.exists(done_file) 163 if os.path.exists(err_file) and os.stat(err_file).st_size: 186 git_dir = os.path.join(work_dir, '.git') 197 src_dir = os.path.realpath(work_dir) 207 out_dir = os.path.realpath(out_dir) [all …]
|
| H A D | buildman | 11 import os 17 our_path = os.path.dirname(os.path.realpath(__file__)) 18 sys.path.insert(1, os.path.join(our_path, '../patman'))
|
| H A D | buildman.py | 11 import os 17 our_path = os.path.dirname(os.path.realpath(__file__)) 18 sys.path.insert(1, os.path.join(our_path, '../patman'))
|
| H A D | control.py | 7 import os 103 pager = os.getenv('PAGER') 106 fname = os.path.join(os.path.dirname(os.path.realpath(sys.argv[0])), 114 options.git_dir = os.path.join(options.git, '.git') 178 board_file = os.path.join(options.git, 'boards.cfg') 179 status = subprocess.call([os.path.join(options.git, 185 boards.ReadBoards(os.path.join(options.git, 'boards.cfg')) 242 gnu_make = command.Output(os.path.join(options.git, 254 output_dir = os.path.join(options.output_dir, dirname) 256 os.path.exists(output_dir)):
|
| /rk3399_rockchip-uboot/test/py/tests/ |
| H A D | test_hush_if_test.py | 7 import os 8 import os.path 143 os.unlink(test_file) 146 assert not os.path.exists(test_file) 154 assert os.path.exists(test_file) 159 os.unlink(test_file)
|
| /rk3399_rockchip-uboot/scripts/ |
| H A D | fill_scrapyard.py | 37 import os 104 os.chdir(toplevel) 123 self.file = os.fdopen(fd, 'w') 128 os.remove(self.filename) 163 os.rename(tmpfile.filename, DOC)
|
| /rk3399_rockchip-uboot/tools/dtoc/ |
| H A D | dtoc.py | 30 import os 35 our_path = os.path.dirname(os.path.realpath(__file__)) 36 sys.path.append(os.path.join(our_path, '../patman'))
|
| H A D | dtoc | 30 import os 35 our_path = os.path.dirname(os.path.realpath(__file__)) 36 sys.path.append(os.path.join(our_path, '../patman'))
|