Home
last modified time | relevance | path

Searched refs:os (Results 1 – 25 of 227) sorted by relevance

12345678910

/u-boot/arch/sandbox/cpu/
A DMakefile9 extra-y := start.o os.o
12 obj-$(CONFIG_ETH_SANDBOX_RAW) += eth-raw-os.o
20 $(obj)/os.o: $(src)/os.c FORCE
27 quiet_cmd_cc_eth-raw-os.o = CC $(quiet_modtag) $@
28 cmd_cc_eth-raw-os.o = $(CC) $(filter-out -nostdinc, \
31 $(obj)/eth-raw-os.o: $(src)/eth-raw-os.c FORCE
32 $(call if_changed_dep,cc_eth-raw-os.o)
/u-boot/scripts/dtc/pylibfdt/
A Dsetup.py22 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()
/u-boot/common/
A Dbootm.c99 &images, &images.os.image_start, &images.os.image_len); in bootm_find_os()
111 images.os.os = image_get_os(os_hdr); in bootm_find_os()
137 &images.os.os)) { in bootm_find_os()
164 images.os.os = IH_OS_LINUX; in bootm_find_os()
221 images.os.load = images.os.image_start; in bootm_find_os()
327 (images.os.os == IH_OS_LINUX || in bootm_find_other()
328 images.os.os == IH_OS_VXWORKS)) in bootm_find_other()
378 image_info_t os = images->os; in bootm_load_os() local
392 err = image_decomp(os.comp, load, os.image_start, os.type, in bootm_load_os()
719 boot_fn = bootm_os_get_boot_func(images->os.os); in do_bootm_states()
[all …]
/u-boot/test/py/tests/test_fs/test_squashfs/
A Dsqfs_common.py5 import os
34 src = os.path.join(build_dir, "sqfs_src/")
35 os.mkdir(src)
40 os.symlink(self.files[0], src + "sym")
42 sqfs_img = os.path.join(build_dir, "sqfs-" + self.name)
52 src = os.path.join(build_dir, "sqfs_src/")
54 os.remove(src + f)
55 os.remove(src + "sym")
56 os.rmdir(src)
60 sqfs_img = os.path.join(build_dir, "sqfs-" + self.name)
[all …]
/u-boot/tools/patman/
A Dproject.py5 import os.path
21 if os.path.exists(os.path.join(top_level, "include", "u-boot")):
23 elif os.path.exists(os.path.join(top_level, "kernel")):
A Dtools.py7 import os
60 if not os.path.isdir(outdir):
62 os.makedirs(outdir)
95 return os.path.join(outdir, fname)
140 if os.path.exists(pathname):
195 if os.path.exists(os.path.join(dir, fname)):
276 env = dict(os.environ)
336 env = dict(os.environ)
387 if fname and not os.path.exists(fname):
389 pathname = os.path.join(path, os.path.basename(fname))
[all …]
A Dcheckpatch.py6 import os
18 os.getcwd(),
19 os.path.join(os.getcwd(), '..', '..'),
20 os.path.join(top_level, 'tools'),
21 os.path.join(top_level, 'scripts'),
22 '%s/bin' % os.getenv('HOME'),
26 fname = os.path.join(path, 'checkpatch.pl')
27 if os.path.isfile(fname):
31 while not os.path.ismount(path):
34 if os.path.isfile(fname):
[all …]
A Dget_maintainer.py5 import os
20 fname = os.path.join(path, 'get_maintainer.pl')
21 if os.path.isfile(fname):
/u-boot/tools/concurrencytest/
A Dconcurrencytest.py23 import os
67 c2pread, c2pwrite = os.pipe()
68 pid = os.fork()
71 stream = os.fdopen(c2pwrite, 'wb')
72 os.close(c2pread)
91 os._exit(1)
92 os._exit(0)
94 os.close(c2pwrite)
95 stream = os.fdopen(c2pread, 'rb')
/u-boot/tools/
A Dgenboardscfg.py20 import os
43 os.remove(f)
52 if not os.path.exists(f):
63 ctime = os.path.getctime(output)
76 if ctime < os.path.getctime(filepath):
96 if not os.path.exists(os.path.join(CONFIG_DIR, defconfig)):
120 os.environ['srctree'] = os.getcwd()
121 os.environ['UBOOTVERSION'] = 'dummy'
122 os.environ['KCONFIG_OBJDIR'] = ''
157 with os.fdopen(fd, 'w') as f:
[all …]
/u-boot/test/py/tests/test_android/
A Dtest_ab.py6 import os
29 if os.path.exists(persistent):
34 fd = os.open(persistent, os.O_RDWR | os.O_CREAT)
35 os.ftruncate(fd, 524288)
36 os.close(fd)
/u-boot/lib/libfdt/
A Dtest_libfdt.py3 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'))
/u-boot/doc/sphinx/
A Dload_config.py4 import os
19 config_file = os.environ.get("SPHINX_CONF", None)
21 and os.path.normpath(namespace["__file__"]) != os.path.normpath(config_file) ):
22 config_file = os.path.abspath(config_file)
47 if os.path.isfile(config_file):
/u-boot/arch/arm/mach-nexell/
A Dcmd_boot_linux.c28 images->os.type = IH_TYPE_KERNEL; in boot_go_set_os()
29 images->os.comp = IH_COMP_NONE; in boot_go_set_os()
30 images->os.os = IH_OS_LINUX; in boot_go_set_os()
31 images->os.load = simple_strtoul(img_addr, NULL, 16); in boot_go_set_os()
32 images->ep = images->os.load; in boot_go_set_os()
34 images->os.arch = IH_ARCH_ARM; in boot_go_set_os()
36 images->os.arch = IH_ARCH_ARM64; in boot_go_set_os()
/u-boot/tools/binman/
A Dbinman13 import os
21 our_path = os.path.dirname(os.path.realpath(__file__))
22 sys.path.insert(2, os.path.join(our_path, '..'))
28 sys.path.insert(2, os.path.join(our_path, '../../scripts/dtc/pylibfdt'))
29 sys.path.insert(2, os.path.join(our_path,
82 all_set = set([os.path.splitext(os.path.basename(item))[0]
A Dmain.py13 import os
21 our_path = os.path.dirname(os.path.realpath(__file__))
22 sys.path.insert(2, os.path.join(our_path, '..'))
28 sys.path.insert(2, os.path.join(our_path, '../../scripts/dtc/pylibfdt'))
29 sys.path.insert(2, os.path.join(our_path,
82 all_set = set([os.path.splitext(os.path.basename(item))[0]
A Delf_test.py7 import os
19 binman_dir = os.path.dirname(os.path.realpath(sys.argv[0]))
64 if not os.path.exists(target_dir):
65 os.mkdir(target_dir)
66 testdir = os.path.join(binman_dir, 'test')
71 if 'MAKEFLAGS' in os.environ:
72 del os.environ['MAKEFLAGS']
91 return os.path.join(cls._indir, fname)
185 elf_fname = os.path.join(outdir, 'elf')
186 bin_fname = os.path.join(outdir, 'bin')
[all …]
/u-boot/test/py/
A Du_boot_spawn.py6 import os
55 os.chdir(cwd)
56 os.execvp(args[0], args)
62 os._exit(255)
81 os.kill(self.pid, sig)
96 w = os.waitpid(self.pid, os.WNOHANG)
113 os.write(self.fd, data.encode(errors='replace'))
171 c = os.read(self.fd, 1024).decode(errors='replace')
197 os.close(self.fd)
A Du_boot_utils.py8 import os
9 import os.path
77 if os.path.exists(self.abs_fn):
84 data = os.urandom(size)
274 self.module_timestamp = os.path.getmtime(self.module_filename)
276 if os.path.exists(self.filename):
277 filename_timestamp = os.path.getmtime(self.filename)
281 os.unlink(self.filename)
286 os.path.unlink(self.filename)
292 filename_timestamp = os.path.getmtime(self.filename)
[all …]
A Dtest.py10 import os
11 import os.path
18 args = [os.path.dirname(__file__) + '/tests']
/u-boot/scripts/kconfig/tests/
A Dconftest.py12 import os
18 CONF_PATH = os.path.abspath(os.path.join('scripts', 'kconfig', 'conf'))
36 self._test_dir = os.path.dirname(str(request.fspath))
62 shutil.copyfile(os.path.join(self._test_dir, dot_config),
63 os.path.join(temp_dir, '.config'))
70 env=dict(os.environ, **extra_env))
90 with open(os.path.join(temp_dir, out_file)) as f:
150 defconfig_path = os.path.join(self._test_dir, defconfig)
155 all_config_path = os.path.join(self._test_dir, all_config)
226 with open(os.path.join(self._test_dir, expected)) as f:
/u-boot/tools/buildman/
A Dbuilderthread.py7 import os
26 os.makedirs(dirname)
28 os.mkdir(dirname)
31 if os.path.realpath('.') == os.path.realpath(dirname):
182 if os.path.exists(err_file) and os.stat(err_file).st_size:
229 src_dir = os.getcwd()
253 if os.path.exists(fname):
254 os.remove(fname)
315 outfile = os.path.join(build_dir, 'log')
325 elif os.path.exists(errfile):
[all …]
A Dtoolchain.py8 import os
190 env = dict(os.environ)
334 for path in os.environ["PATH"].split(os.pathsep):
354 if os.path.exists(value):
358 if os.path.exists(fname):
550 os.remove(fname)
604 home = os.environ['HOME']
606 if not os.path.exists(dest):
607 os.mkdir(dest)
616 os.remove(tarfile)
[all …]
/u-boot/cmd/
A Dbooti.c89 images->os.start = relocated_addr; in booti_start()
90 images->os.end = relocated_addr + image_size; in booti_start()
120 images.os.os = IH_OS_LINUX; in do_booti()
122 images.os.arch = IH_ARCH_RISCV; in do_booti()
124 images.os.arch = IH_ARCH_ARM64; in do_booti()
/u-boot/test/py/tests/
A Dtest_hush_if_test.py6 import os
7 import os.path
173 os.unlink(test_file)
176 assert not os.path.exists(test_file)
184 assert os.path.exists(test_file)
189 os.unlink(test_file)

Completed in 22 milliseconds

12345678910