Monday 4 June 2018 photo 21/44
|
Initramfs.cpio.lzo
=========> Download Link http://dlods.ru/49?keyword=initramfscpiolzo&charset=utf-8
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
ARM Emulator (eventually for iOS) in javascript. Contribute to iEMU development by creating an account on GitHub. [Buildroot] [Bug 5186] New: initramfs/cpio should support lzo compression. Thomas Petazzoni thomas.petazzoni at free-electrons.com. Mon May 7 13:54:04 UTC 2012. Previous message: [Buildroot] [Bug 5186] New: initramfs/cpio should support lzo compression; Next message: [Buildroot] [Bug 5186] New: initramfs/cpio. I also had problem extracting initramfs.cpio.gz , until I opened this file in editor and seen first 3 ascii letters (the header) in my case it was "LZO" , so I found proper soft to decompress "lzop -x " you can find it probably in every linux, for example knoppix has it. maybe you will notice other header in your file , so. Edit the contents (if needed); Finally repack and compress the initrd image: Raw. # cd /tmp/initrd # find . 2>/dev/null | cpio --quiet -c -o | xz -9 --format=lzma >"new_initrd.img". Note: For Red Hat Enterprise Linux 7, please use How to extract the contents of initramfs image on RHEL7? for extracting the .img file. [Bug 5186] New: initramfs/cpio should support lzo compression. https://bugs.busybox.net/show_bug.cgi?id=5186 Summary: initramfs/cpio should support lzo compression Product:... targets := initramfs_data.cpio.gz initramfs_data.cpio.bz2 initramfs_data.cpio.lzma initramfs_data.cpio.xz initramfs_data.cpio.lzo initramfs_data.cpio -# do not try to update files included in initramfs -$(deps_initramfs): ; -$(deps_initramfs): klibcdirs -# We rebuild initramfs_data.cpio if: -# 1) Any included file is. ... -o $@ $(ramfs-args) $(ramfs-input) -targets := initramfs_data.cpio.gz initramfs_data.cpio.bz2 - initramfs_data.cpio.lzma initramfs_data.cpio.xz - initramfs_data.cpio.lzo initramfs_data.cpio.lz4 - initramfs_data.cpio +targets := $(datafile_y) + # do not try to update files included in initramfs $(deps_initramfs):. Since none of them is defined, resulting 'initramfs_data.cpio' file remains un-compressed... initramfs_data.cpio.lzma initramfs_data.cpio.xz > + initramfs_data.cpio.lzo initramfs_data.cpio.lz4 > + initramfs_data.cpio > # do not try to update files included in initramfs > $(deps_initramfs): ; > > @@ -66,4 +72,3. mkinitcpio is a modular tool for building an initramfs CPIO image, offering many advantages over alternative methods; these advantages include: The use of... The kernel supports several formats for compression of the initramfs—gzip, bzip2, lzma, xz (also known as lzma2), lzo, and lz4. For most use cases,. +targets := initramfs_data.cpio.gz initramfs_data.cpio.bz2 initramfs_data.cpio.lzma initramfs_data.cpio.lzo initramfs_data.cpio # do not try to update files included in initramfs $(deps_initramfs): ; diff --git a/usr/initramfs_data.lzo.S b/usr/initramfs_data.lzo.S new file mode 100644 index 0000000..5921190 Eventually look up LDFLAGS_BLOB in an older version of the. arch/$(ARCH)/Makefile to see the flags used before .incbin was introduced. Using .incbin has the advantage over ld that the correct flags are set. in the ELF header, as required by certain architectures. */ .section .init.ramfs,"a" .incbin "usr/initramfs_data.cpio.lzo". Lzo. suffix_$(CONFIG_INITRAMFS_COMPRESSION_LZO) = .lzo. AFLAGS_initramfs_data.o += -DINITRAMFS_IMAGE="usr/initramfs_data.cpio$(suffix_y)". # Generate builtin.o based on initramfs_data.o. obj-$(CONFIG_BLK_DEV_INITRD) := initramfs_data.o. # initramfs_data.o contains the compressed initramfs_data.cpio. Specs: * LZO data decompresses in 55 - 60% of the time needed by gzip, when using the 'fast' decompressor. * The decompressor is very small, An LZO-compressed initramfs takes 7-10% more disk space vs gzip. Test results: initramfs.cpio: 14174 kB initramfs.gz: 4657 kB initramfs.lzo:. Solved: i have used sp605 and builded linux kernel with ' http://xilinx.wikidot.com/microblaze-linux' now i have another problem.i want to generate. Add the necessary parts to be enable the use of LZO-compressed initramfs build into the kernel. Signed-off-by: Albin Tonnerre Cc: "H. Peter Anvin" Cc: Michal Marek Signed-off-by: Andrew Morton Signed-off-by:... appendVarFlag('do_assemble_fitimage_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete') # Verified boot will sign the fitImage and append the.. if [ "x${ramdiskcount}" = "x1" ] ; then # Find and use the first initramfs image archive type we find for img in cpio.lz4 cpio.lzo cpio.lzma cpio.xz cpio.gz cpio;. a compiled basic Linux distribution for the PS4, to use with PS4 Playground: You need a FAT32 formatted USB drive plugged in on any PS4's USB port with the following files on the root directory: bzImage : Kernel image that will be loaded. initramfs.cpio.gz : The initial file system that gets loaded into. You can simply create your own with 'cpio', put all your needed stuff in a directory and fire up: Code: Select all find . | cpio -o -H newc. Other than an extra 10 seconds boot time and 25% lesser filesystem size due to lzo compression, performance seems to be the same. Minor issue: BTRFS subvolume on. Hello Andrew, When expert configuration option(CONFIG_EXPERT) is enabled, menuconfig offers choice of compression algorithm, to compress initial ramfs image. This choice is stored into CONFIG_RD_ variables. But, usr/Makefile reads from earlier INITRAMFS_COMPRESSION_*. flash Kernel & initramfs -> copier ici zImage et initramfs.cpio.lzo dans le nouveau lecteur qui apparaît! ** OK -> attendre le redémarrage-> Profitez de la nouvelle rom: BlueAndroid. changelog : custom bootanimation! accès root. Superutilisateur & su binaire mis à jour vers la dernière version. Fixer accès root In the initramfs scheme (available since the Linux kernel 2.6.13), the image may be a cpio archive (optionally compressed). The archive is unpacked by the kernel into a special instance of a tmpfs that becomes the initial root file system. This scheme has the advantage of not requiring an intermediate file system or block. ... %post # save a little bit of space at least... rm -f /boot/initrd* # Prelink can reduce boot time if [ -x /usr/sbin/prelink ]; then /usr/sbin/prelink -aRqm fi rm -f /var/lib/rpm/__db* rpm --rebuilddb # Create empty initramfs.cpio.lzo for NAND deployment touch /boot/initramfs.cpio.lzo # Create a session file x-plasma-active.desktop echo. 1) Allow an image recipe to specify a paired INITRAMFS recipe such as core-image-minimal-initramfs.. The current implementation of the INITRAMFS_IMAGE variable has a circular dependency when using kernel modules in the initramfs image.bb file.. for img in cpio.gz cpio.lzo cpio.lzma cpio.xz; do. El 23/12/16 a las 04:15, Nicholas Piggin escribió: > When using initramfs compression, the data file gets quotes pulled > in from Kconfig, e.g., initramfs_data.cpio".gz" which make does not > match a target and causes rebuild. > > Fix this by filtering out quotes from the Kconfig string. > > While we're here, set. Apague la tablet, inicie en modo recovery (o le das a reiniciar y cuando ponga apagando... dejas pulsado la tecla de volumen- hasta que se habra el recovery), development edition, flash initramfs.cpio.lzo y zImage, y en la carpeta que se te abre en el ordenador copie el initramfs.cpio.lzo de @surdu_petru,. ... Sascha Hauer . Sascha Hauer authored 3 years ago. b3a667cd. usb-android 216 Bytes. Edit. 1 2 3 4 5 6. #!/bin/sh path=/mnt/usb global.bootm.image=${path}/android global.bootm.initrd=${path}/initramfs.cpio.lzo global.linux.bootargs.base="mem=512M init=/linuxrc debug omapdss.debug=0. ... Developer Edition Menu,; Séléctionnez « Remove Android Kernel » (non obligatoire); Sélectionnez Flash Kernel and Initramfs,; Copiez zImage et initramfs.cpio.lzo à l'emplacement demandé; Rebooter en mode Recovery/Developer Edition votre tablette, elle est rootée, le 1er lancement est un peu long. reboot into SDE menu and under Developer Edition Menu , Flash Kernel and Initramfs : copy zImage and initramfs.cpio.lzo on the new driver that appears on desktop/laptop ; - ok ! and wait for reboot your devices : after reboot you can see Android update system for a while...be patient ! In this Rom we do. http://forum.xda-developers.com/showthread.php?t=1720422# --- Quote ---Installation : - copy archos.ext4.update into Internal Storage ( /mnt/storage ) - reboot into SDE menu and under Developer Edition Menu , Flash Kernel and Initramfs : copy zImage and initramfs.cpio.lzo on the new driver that appears on desktop/laptop. mkinitcpio is a modular tool for building an initramfs CPIO image, offering many advantages over alternative methods; these advantages include: The use of... The kernel supports several formats for compression of the initramfs—gzip, bzip2, lzma, xz (also known as lzma2), lzo, and lz4. For most use cases,. m4boot zImage initramfs.cpio.lzo vf610m4-colibri.dtb zImage: 1103944 bytes loaded initramfs.cpio.lzo: 1632028 bytes loaded vf610m4-colibri.dtb: 9911 bytes loaded vf610m4bootldr: 128 bytes copied to 0x8f000000 through 0x8f000080 zImage: 1103944 bytes copied to 0x8f000080 through 0x8f10d8c8 initramfs.cpio.lzo:. Contains precompiled kernel, precompiled initramfs (as above). rootfs2.7z Contains rootfs2.cpio.lzo. The initramfs used for the root filesystem in the Linux system. Contains precompiled busybox. Compressed using LZOP. Extract it as follows (as root, because it creates device nodes): mkdir image cd image lzop -d < . Good luck ! Yes it is possible. I was mistaken, however, you first need to enable sde. learn how to do that here: http://forum.xda-developers.com/showthr. ?t=1456875 then you need to download this: http://forum.xda-developers.com/showthr. ?t=1477667 and rename initramfs.cpio.gz to initramfs.cpio.lzo. Шаг 8: Копируем файлы zImage и initramfs.cpio.lzo во внутреннюю память устройства. Шаг 9: Нажимаем на кнопку питания и происходит процесс прошивки. Шаг 10: Перезагрузите устройство. Шаг 11: Поздравляю! Вы являетесь обладателем root-а. Спойлер (Как установить ADB для Gen9. This implements the API defined in which is used for kernel, initramfs, and initrd decompression. This patch together with the first patch is enough for XZ-compressed initramfs and initrd; XZ-compressed... bin/sh + +if [ "$1" = menu ]; then + boot-menu-add-entry "$0" "Android from SD card" "$2" + exit +fi + +path=/mnt/sd +global.bootm.image=${path}/android +global.bootm.initrd=${path}/initramfs.cpio.lzo +global.linux.bootargs.base="mem=512M init=/linuxrc debug omapdss.debug=0 omapfb.debug=0. ... and pressing the power button simultaneously you should now be in Recovery mode and select "Developer Edition Menu";; Remove Android Kernel" (if the option is present, if not, skip);; Select Flash Kernel and Initramfs;; Copy zImage and initramfs.cpio.lzo to the drive that appears;; Reboot your device. Selected archives. I have selected: Source of the kernel to test source compression; Stream protocol with flush. Test conditions. Tests were run on a desktop: Intel Core i5 CPU 750 at 2.67GHz; 8GB of DDR3 memory; tmpfs as ram disk is used; Linux kernel 3.3.2, gentoo amd64; CFLAGS: -pipe -O2 -g. 10. +. cmd_initfs = $(initramfs) -o $@ $(ramfs-args) $(ramfs-input). 11. +. 12. +. targets := initramfs_data.cpio.gz initramfs_data.cpio.bz2 initramfs_data.cpio.lzma initramfs_data.cpio.xz initramfs_data.cpio.lzo initramfs_data.cpio. 13. +. # do not try to update files included in initramfs. 14. +. -$(deps_initramfs): ;. In contrast to other initramfs compression methods, support for. + * Wrapper for XZ decompressor to make it usable for kernel and initramfs... +targets := initramfs_data.cpio.gz initramfs_data.cpio.bz2 initramfs_data.cpio.lzma initramfs_data.cpio.xz initramfs_data.cpio.lzo initramfs_data.cpio # do not try to. I also had problem extracting initramfs.cpio.gz , until I opened this file in editor and seen first 3 ascii letters (the header) in my case it was "LZO" , so I found proper soft to decompress "lzop -x " you can find it probably in every linux, for example knoppix has it. maybe you will notice other header in your file , so you will need to. Commit 35e669e1a254 ("initramfs: select builtin initram compression algorithm on KConfig instead of Makefile") makes suffix_y be a quote variable, which can be illustrated looking at the build output: GEN usr/initramfs_data.cpio".gz" Make sure that we do strip off double quotes from If unsure, say N. config RD_LZO bool "Support initial ramdisks compressed using LZO" if EXPERT default !EXPERT depends on BLK_DEV_INITRD select DECOMPRESS_LZO help Support loading of a LZO encoded initial ramdisk or cpio buffer If unsure, say N. choice prompt "Built-in initramfs compression mode" if. + initramfs_data.cpio.lzo initramfs_data.cpio.lz4 + initramfs_data.cpio # do not try to update files included in initramfs $(deps_initramfs): ; @@ -66,4 +72,3 @@ $(deps_initramfs): klibcdirs $(obj)/initramfs_data.cpio$(suffix_y): $(obj)/gen_init_cpio $(deps_initramfs) klibcdirs $(Q)$(initramfs) -l $(ramfs-input). and again repackaged the initrd.lzo (find | cpio -o -H newc | lzop -c1 >../initrd.lzo) Now when I boot it boots to the normal ram only mode, however I can run the command. Initramfs ( initramfs.cpio.lzo ) => initramfs.cpio.lzo download - 2shared scompattiamo i file in una directory sul desk del pc. FASE 1. installazione SDE Prerequisiti: è necessario possedere un Archos 80/101G9 e fimrware 4.0.1 (ICS) o superiore. Passo 1: avvio in recupero tenendo il bilanciere del volume su. My question now, at the bottom of the plasma active installation guide you can see "Setup a Android™ and Plasma Active dual Boot System" , where the plasma active files can be put on the SD card and this was possible by just changing the zimage file 1- is there any sde zimage and initramfs.cpio.lzo that can boot from the. Put archos.ext4.update in /data/media 3.) Put zImage and intramfs.cpio.lzo in /data 4.) Open a terminal on the device or ADB 5.) Gain root (su) 6.) Run the command: Code: kd_flasher -k/data/zImage -i/data/initramfs.cpio.lzo 7.) Power off the device as normal 8.) Go into Archos recovery (Power + Vol down) ... $(initramfs) -o $@ $(ramfs-args) $(ramfs-input) targets := initramfs_data.cpio.gz initramfs_data.cpio.bz2 initramfs_data.cpio.lzma initramfs_data.cpio.xz initramfs_data.cpio.lzo initramfs_data.cpio # do not try to update files included in initramfs $(deps_initramfs): ; $(deps_initramfs): klibcdirs # We rebuild initramfs_data.cpio. In the initramfs scheme (available since the Linux kernel 2.6.13), the image may be a cpio archive (optionally compressed). The archive is. a root filesystem. Depending on which algorithms were compiled statically into it, the kernel can unpack initrd/initramfs images compressed with gzip, bzip2, LZMA, XZ, LZO, and LZ4. The second I copied the files from the boot folder over to the "boot" partition on the sd card. System.map-3.0.8 vmlinux-3.0.8 zlmage initramfs.cpio.lzo. Then I tried re-booting my PP... three times no luck. I added the old files from the original "boot" partition boot.scr script.bin ulmage. That didn't work either. ... hash@1 { algo = "md5"; }; }; ramdisk@1 { description = "BusyBox based initrd"; data = /incbin/("./initramfs.cpio.lzo"); type = "ramdisk"; arch = "arm"; os = "linux"; compression = "lzo"; load = ; hash@1 { algo = "md5"; }; }; fdt@1 { description = "Vybrid VF610 for Cortex-M4"; data = /incbin/("./vf610m4-colibri.dtb");. Reboot to SDE menu-> Connect tablet to computer-> Recovery System-> Remove Android Kernel(If there is no such item, skip it)-> Flash Kernel and Initramfs-> copy zImage and initramfs.cpio.lzo to the disk that appeared on the computer-> Select Ok; Then the device will reboot; After the first boot, be sure. dd if=/mnt/gentoo/boot/uInitrd of="initrd".cpio.gz bs="64" skip="1". sudo mkimage -A arm -O linux -C none -T ramdisk -a 0x30800000 -n "ramdisk" -d /mnt/gentoo/boot/newinitrd.cpio.gz /mnt/gentoo/boot/uInitrd # # to start without... dev-libs/lzo-2.06 perl-core/ExtUtils-ParseXS-2.22.05 x11-libs/libXaw-1.0.11 ... .xz # Lzo suffix_$(CONFIG_RD_LZO) = .lzo # Lz4 suffix_$(CONFIG_RD_LZ4) = .lz4 # Gzip suffix_$(CONFIG_RD_GZIP) = .gz AFLAGS_initramfs_data.o += -DINITRAMFS_IMAGE="usr/initramfs_data.cpio$(suffix_y)" # Generate builtin.o based on initramfs_data.o obj-$(CONFIG_BLK_DEV_INITRD) := initramfs_data.o. appendVarFlag('do_configure', 'depends', ' ${INITRAMFS_TASK}') } # Old style kernels may set ${S} = ${WORKDIR}/git for example # We need to move. the first initramfs image archive type we find rm -f ${B}/usr/${INITRAMFS_IMAGE}-${MACHINE}.cpio for img in cpio.gz cpio.lz4 cpio.lzo cpio.lzma cpio.xz;. inherit linux-kernel-base kernel-module-split PROVIDES += "virtual/kernel" DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc kmod-native depmodwrapper-cross bc-native" # we include gcc above, we dont need virtual/libc INHIBIT_DEFAULT_DEPS = "1". UBIFS: media format: w4/r0 (latest is w4/r0) UBIFS: default compressor: LZO UBIFS: reserved for root: 0 bytes (0 KiB) Loading file '/boot/k2-fw-initrd.cpio.gz' to addr 0x88080000 with size 64895 (0x0000fd7f)... Done Loading file '/boot/keystone-k2l-sri.dtb' to addr 0x87000000 with size 44696 (0x0000ae98). appendVarFlag('do_configure', 'depends', ' ${INITRAMFS_TASK}') } # Here we pull in all various kernel image types which we support.. Find and use the first initramfs image archive type we find rm -f ${B}/usr/${INITRAMFS_IMAGE}-${MACHINE}.cpio for img in cpio.gz cpio.lz4 cpio.lzo cpio.lzma cpio.xz;. kbuild file for usr/ - including initramfs image # klibcdirs:; PHONY += klibcdirs # Gzip suffix_$(CONFIG_INITRAMFS_COMPRESSION_GZIP) = .gz # Bzip2 suffix_$(CONFIG_INITRAMFS_COMPRESSION_BZIP2) = .bz2 # Lzma suffix_$(CONFIG_INITRAMFS_COMPRESSION_LZMA) = .lzma # Lzo.
Annons