aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/image
Commit message (Collapse)AuthorAgeFilesLines
* x86: add support to set GRUB menu entry titleKjel Delaey2018-07-303-3/+6
| | | | | | | | $ make menuconfig Target Images -> Title for the menu entry in GRUB Signed-off-by: Kjel Delaey <kjel_delaey@hotmail.com>
* merge: targets: update image generation and targetsZoltan HERPAI2017-12-082-3/+3
| | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* scripts/gen_image_generic.sh: move from x86/imageStijn Tintel2017-07-142-38/+1
| | | | | | The script can also be useful for other targets. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* build: enable gzipping of images on x86 even if ext4 is disabledFelix Fietkau2017-07-061-4/+2
| | | | | | | There is lots of padding between the boot partition and the rootfs, so gzipping is helpful here Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: allow specifying flow-control to grub on serial consolePhilip Prindeville2017-04-031-2/+2
| | | | | | | On the more sophisticated (i.e. deeper FIFO) serial controllers, flow-control might be needed to avoid dropping output. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* x86: image: drop duplicated copy of bzImage into vmlinuzRafał Miłecki2017-03-161-1/+0
| | | | | | It's already done once few lines earlier in the Image/Build/iso. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* x86: image: drop unneeded grub callRafał Miłecki2017-03-121-1/+0
| | | | | | | It appears there isn't any Image/Build/grub/* define so this step looks redundant. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* x86: image: drop unused ROOTDELAY variableRafał Miłecki2017-03-121-2/+0
| | | | | | | It's unused since commit 742700719303 ("x86: remove the olpc subtarget, it has been unmaintained for a long time"). Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* target/linux/x86/image: add explicit prefix to grub-mkimage commandAlexandru Ardelean2016-12-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | In the latest version of grub-mkimage, the prefix option is mandatory. Not supplying it fails with: ``` Prefix not specified (use the -p option). ``` In grub-2.02-beta2 a DEFAULT_DIRECTORY was defined in `include/grub/osdep/hostfile_unix.h` as: ``` #if defined (__NetBSD__) /* NetBSD uses /boot for its boot block. */ # define DEFAULT_DIRECTORY "/"GRUB_DIR_NAME #else # define DEFAULT_DIRECTORY "/"GRUB_BOOT_DIR_NAME"/"GRUB_DIR_NAME #endif ``` Where: * GRUB_BOOT_DIR_NAME == boot * GRUB_DIR_NAME == grub This was used if the -p option was omitted. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* x86: fix GRUB_ROOT for Xen subtargetWilfried Klaebe2016-11-192-1/+7
| | | | | | | | | Change grub's root device to xen/xvda,msdos1 for the x86_xen_domu target so that it will boot without further changes. Signed-off-by: Wilfried Klaebe <w+lede-project@chaos.in-kiel.de> [Jo-Philipp Wich: fixed and rebased patch from FS#264, added subject] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* x86: drop the use of block2mtd, use ext4/f2fs as overlay filesystemFelix Fietkau2016-09-101-16/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: remove obsolete reference to $(PROFILE)Felix Fietkau2016-07-201-1/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: stop relying on hexdump for image build signatureFelix Fietkau2016-07-031-1/+1
| | | | | | | Use perl to generate random number instead. See https://github.com/freifunk-gluon/gluon/issues/811 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: remove defunct etherboot image building codeFelix Fietkau2016-05-121-7/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: remove obsolete Config.in fileFelix Fietkau2016-05-121-14/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: remove legacy script/makefile code for rdc devicesFelix Fietkau2016-05-123-85/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: enable grub at_keyboard support for x86_64Felix Fietkau2016-05-121-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* branding: add LEDE brandingJohn Crispin2016-03-242-3/+3
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* build: Prevent more gzip timestampsJohn Crispin2015-07-141-2/+2
| | | | | | | | | To improve reproducibility, prevent the inclusion of timestamps in the gzip header. Signed-off-by: Reiner Herrmann <reiner@reiner-h.de> SVN-Revision: 46361
* all: replace genext2fs with make_ext4fsJo-Philipp Wich2015-04-201-4/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 45517
* x86: remove bogus bzImage copy that breaks initramfs+no-initramfs buildsFelix Fietkau2015-03-291-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45114
* x86: remove the olpc subtarget, it has been unmaintained for a long timeFelix Fietkau2015-03-284-80/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45083
* x86: use PARTUUID instead explicitly specifying the device by defaultJo-Philipp Wich2015-03-242-2/+4
| | | | | | | | | | | | | This changes the x86 image generation to match x86_64, using the PARTUUID for the rootfs instead of explicitly configuring the device. It unbreaks KVM with VirtIO, which uses /dev/vda2 instead of /dev/sda2. Tested in QEMU/KVM with VirtIO, VirtualBox and VMware. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 44966
* x86: disable rts/cts for serial console in grub - fixes net48xx boot issuesFelix Fietkau2015-03-141-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44753
* x86: remove the arbitrary limitation of vmware/virtualbox images to ext4, ↵Felix Fietkau2014-07-201-16/+10
| | | | | | | | select TARGET_IMAGES_PAD instead Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41763
* x86: try harder to attach block2mtd to fix boot issues on devices with ↵Felix Fietkau2014-04-101-3/+3
| | | | | | | | longer delays Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40444
* move most of the x86 image generation options to the main fileImre Kaloz2014-01-072-90/+9
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39206
* For now vdi and vmdk images should be x86 onlyImre Kaloz2013-11-221-0/+2
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38896
* VMWare and VirtualBox images should select what they need, not depend on it..Imre Kaloz2013-11-221-4/+4
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38892
* rationalize target image optionsImre Kaloz2013-11-221-3/+1
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38891
* x86: Fix CONFIG_X86_GRUB_SERIAL=""Felix Fietkau2013-08-101-2/+4
| | | | | | | | | | | | | | | | | | | | With .config:CONFIG_X86_GRUB_SERIAL="" which (AFAICT) is the way to tell GRUB not to use a serial console, in target/linux/x86/image/Makefile:ifneq ($(CONFIG_X86_GRUB_SERIAL),) $(CONFIG_X86_GRUB_SERIAL) expands to `""' (a literal double double-quote), making the condition unconditionally false. This patch fixes the situation by passing CONFIG_X86_GRUB_SERIAL through qstrip before testing. Signed-off-by: Tamas TEVESZ <ice@extreme.hu> SVN-Revision: 37749
* targets: prepare for supporting normal and initramfs imagesFlorian Fainelli2013-06-271-1/+1
| | | | | | | | | | | | In order to support both normal images and initramfs, ensure that each target sets KERNELNAME properly so that the generic kernel building code can copy the corresponding files over $(KDIR) with the appropriate extension. Update the various paths to the kernel and wrapper images from $(LINUX_DIR)/arch/$(ARCH)/boot/$(foo) to $(KDIR)/$(foo). Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 37049
* build: consistently use 'depends on' instead of 'depends'Felix Fietkau2013-04-171-21/+21
| | | | | | | | make the syntax more compatible with kernel menuconfig Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36351
* x86: explicitely pass staging directory to grub-mkimage instead of relying ↵Jo-Philipp Wich2013-01-171-0/+2
| | | | | | on build time defaults (#12821) SVN-Revision: 35200
* x86: use $(strip) for the at_keyboard checkFelix Fietkau2012-11-091-1/+1
| | | | SVN-Revision: 34127
* x86: only enable at_keyboard for the generic and kvm_guest subtargets to ↵Felix Fietkau2012-11-091-2/+9
| | | | | | avoid hangs on alix2 and others (thx, russell) SVN-Revision: 34126
* merge the RDC R-321x target as a subtarget of x86Florian Fainelli2012-10-154-1/+94
| | | | SVN-Revision: 33779
* x86: remove the reboot=bios command line parameter (#12193)Felix Fietkau2012-10-092-3/+3
| | | | SVN-Revision: 33671
* x86: rename the iso file to openwrt-x86-generic.isoFelix Fietkau2012-10-071-1/+3
| | | | SVN-Revision: 33641
* x86: remove grub-legacyFelix Fietkau2012-10-074-93/+6
| | | | SVN-Revision: 33640
* x86: add grub2 iso supportFelix Fietkau2012-10-072-3/+39
| | | | SVN-Revision: 33639
* x86: avoid using grub prepare when using grub2Felix Fietkau2012-09-231-1/+1
| | | | SVN-Revision: 33525
* x86: add support for building grub2 imagesFelix Fietkau2012-09-224-3/+56
| | | | SVN-Revision: 33513
* x86: split generic image building into a separate scriptFelix Fietkau2012-09-222-36/+40
| | | | SVN-Revision: 33511
* x86: rename gen_image_x86.sh to gen_image_grub.shFelix Fietkau2012-09-222-1/+1
| | | | SVN-Revision: 33510
* use ttyS0 @ 115200 baud as default for KVM guestsJo-Philipp Wich2012-06-151-3/+3
| | | | SVN-Revision: 32384
* x86: image: select bootscript images by default for OLPCGabor Juhos2012-05-181-0/+1
| | | | SVN-Revision: 31783
* PATCH: Disable console terminal in Grub for alix2 targetJo-Philipp Wich2012-04-121-1/+1
| | | | | | | | | | | The alix2 target has the VGA console for grub enabled by default. This prevents the grub menu from appearing on bootup. It is disabled by default for the other embedded x86 platforms. This patch corrects that behavior for the alix2 target. Signed-off-by: Adam Gensler <openwrt@kristenandadam.net> SVN-Revision: 31270
* Disable by default padding of imagesVasilis Tsiligiannis2012-02-161-1/+0
| | | | SVN-Revision: 30590
* Allow gzipping of squashfs images with padded jffs2 partitionVasilis Tsiligiannis2012-02-161-0/+3
| | | | SVN-Revision: 30589