mirror of
https://github.com/ivoszbg/uniLoader.git
synced 2026-08-15 05:18:32 +00:00
HiSilicon bootloader copies the ramdisk itself, and marks its memory region as protected, so we can't memcpy on it. Even more: we also can NOT include the ramdisk into uniLoader for it, because the kernel partition is too small. The easiest workaround for that is just using an empty blob/ramdisk, so it won't be copied. But it breaks libfdt, as it doesn't know the actual ramdisk size.