Searched refs:ramdisk (Results 1 – 8 of 8) sorted by relevance
/system/core/fastboot/ |
D | bootimg_utils.cpp | 42 boot_img_hdr_v2* mkbootimg(const std::vector<char>& kernel, const std::vector<char>& ramdisk, in mkbootimg() argument 49 int64_t ramdisk_actual = (ramdisk.size() + page_mask) & (~page_mask); in mkbootimg() 63 hdr->ramdisk_size = ramdisk.size(); in mkbootimg() 80 memcpy(hdr->magic + hdr->page_size + kernel_actual, ramdisk.data(), ramdisk.size()); in mkbootimg()
|
D | bootimg_utils.h | 38 boot_img_hdr_v2* mkbootimg(const std::vector<char>& kernel, const std::vector<char>& ramdisk,
|
D | fastboot.cpp | 446 static std::vector<char> LoadBootableImage(const std::string& kernel, const std::string& ramdisk, in LoadBootableImage() argument 462 if (!ramdisk.empty()) die("cannot boot a boot.img *and* ramdisk"); in LoadBootableImage() 468 if (!ramdisk.empty()) { in LoadBootableImage() 469 if (!ReadFileToVector(ramdisk, &ramdisk_data)) { in LoadBootableImage() 470 die("cannot load '%s': %s", ramdisk.c_str(), strerror(errno)); in LoadBootableImage() 1852 std::string ramdisk; in Main() local 1853 if (!args.empty()) ramdisk = next_arg(&args); in Main() 1856 auto data = LoadBootableImage(kernel, ramdisk, second_stage); in Main() 1887 std::string ramdisk; in Main() local 1888 if (!args.empty()) ramdisk = next_arg(&args); in Main() [all …]
|
D | README.md | 124 by "boot", "ramdisk", "flash", etc. The client
|
/system/update_engine/payload_generator/ |
D | boot_img_filesystem_unittest.cc | 35 const brillo::Blob& ramdisk) { in GetBootImg() argument 40 hdr.ramdisk_size = ramdisk.size(); in GetBootImg() 47 memcpy(boot_img.data() + offset, ramdisk.data(), ramdisk.size()); in GetBootImg() 90 const brillo::Blob ramdisk = {0x1f, 0x8b, 0x08, 0x00, 0x3a, 0x83, 0x35, in TEST_F() local 95 GetBootImg(brillo::Blob(5678, 'k'), ramdisk)); in TEST_F()
|
/system/core/mkbootimg/ |
D | mkbootimg.py | 57 num_ramdisk_pages = get_number_of_pages(filesize(args.ramdisk), args.pagesize) 76 filesize(args.ramdisk), # size in bytes 89 update_sha(sha, args.ramdisk) 213 write_padded_file(args.output, args.ramdisk, args.pagesize)
|
/system/core/rootdir/ |
D | adb_debug.prop | 2 # other system properties, if a special ramdisk with "/force_debuggable"
|
/system/core/init/ |
D | README.md | 846 the system.img mount to / for devices with a ramdisk. 850 require using a ramdisk to boot Android. The recovery ramdisk can be used to boot to Android instead 851 of a dedicated ramdisk as well. 858 2) For devices with a ramdisk, first stage init is a static executable located at /init. These 860 /system to /. The contents of the ramdisk are freed after mounting has completed. 862 3) For devices that use recovery as a ramdisk, first stage init it contained within the shared init 863 located at /init within the recovery ramdisk. These devices first switch root to
|