Searched refs:ramdisk (Results 1 – 11 of 11) sorted by relevance
/aosp14/system/core/fastboot/ |
H A D | bootimg_utils.cpp | 51 const std::vector<char>& ramdisk, const boot_img_hdr_v2& src, in mkbootimg_v3_and_above() argument 56 int64_t ramdisk_actual = (ramdisk.size() + page_mask) & (~page_mask); in mkbootimg_v3_and_above() 65 hdr->ramdisk_size = ramdisk.size(); in mkbootimg_v3_and_above() 76 memcpy(hdr->magic + V3_PAGE_SIZE + kernel_actual, ramdisk.data(), ramdisk.size()); in mkbootimg_v3_and_above() 79 void mkbootimg(const std::vector<char>& kernel, const std::vector<char>& ramdisk, in mkbootimg() argument 87 mkbootimg_v3_and_above(kernel, ramdisk, src, out); in mkbootimg() 94 int64_t ramdisk_actual = (ramdisk.size() + page_mask) & (~page_mask); in mkbootimg() 108 hdr->ramdisk_size = ramdisk.size(); in mkbootimg() 125 memcpy(hdr->magic + hdr->page_size + kernel_actual, ramdisk.data(), ramdisk.size()); in mkbootimg()
|
H A D | bootimg_utils.h | 38 void mkbootimg(const std::vector<char>& kernel, const std::vector<char>& ramdisk,
|
H A D | fastboot.cpp | 659 if (!ramdisk.empty()) die("cannot boot a boot.img *and* ramdisk"); in LoadBootableImage() 665 if (!ramdisk.empty()) { in LoadBootableImage() 666 if (!ReadFileToVector(ramdisk, &ramdisk_data)) { in LoadBootableImage() 667 die("cannot load '%s': %s", ramdisk.c_str(), strerror(errno)); in LoadBootableImage() 1472 std::string ramdisk(pname_sv.substr(pname_sv.find(':') + 1)); in repack_ramdisk() local 2471 std::string ramdisk; in Main() local 2472 if (!args.empty()) ramdisk = next_arg(&args); in Main() 2475 auto data = LoadBootableImage(kernel, ramdisk, second_stage); in Main() 2493 std::string ramdisk; in Main() local 2494 if (!args.empty()) ramdisk = next_arg(&args); in Main() [all …]
|
H A D | README.md | 133 by "boot", "ramdisk", "flash", etc. The client
|
/aosp14/system/core/fastboot/testdata/ |
H A D | Android.bp | 51 // Fake vendor ramdisk with type "none". 59 // Fake vendor ramdisk with type "platform". 67 // Fake replacement ramdisk.
|
/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/ |
H A D | Android.bp | 154 // This way, init can check if generic ramdisk copy exists. 161 // This target is specifically for generic ramdisk, therefore we set 165 ramdisk: true,
|
/aosp14/system/core/rootdir/ |
H A D | adb_debug.prop | 2 # other system properties, if a special ramdisk with "/force_debuggable"
|
H A D | Android.bp | 50 // adb_debug.prop in debug ramdisk
|
/aosp14/system/core/init/ |
H A D | Android.bp | 435 // Install adb_debug.prop into debug ramdisk. 436 // This allows adb root on a user build, when debug ramdisk is used. 439 ramdisk: true,
|
H A D | README.md | 1057 the system.img mount to / for devices with a ramdisk. 1061 require using a ramdisk to boot Android. The recovery ramdisk can be used to boot to Android instead 1062 of a dedicated ramdisk as well. 1069 2) For devices with a ramdisk, first stage init is a static executable located at /init. These 1071 /system to /. The contents of the ramdisk are freed after mounting has completed. 1073 3) For devices that use recovery as a ramdisk, first stage init it contained within the shared init 1074 located at /init within the recovery ramdisk. These devices first switch root to
|
/aosp14/system/core/fs_mgr/ |
H A D | README.overlayfs.md | 123 - First stage init, or ramdisk, can not be overriden.
|