Felix Fietkau
303a241478
x86: enable grub at_keyboard support for x86_64
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-12 17:00:53 +02:00
John Crispin
fa69553900
branding: add LEDE branding
...
Signed-off-by: John Crispin <blogic@openwrt.org>
2016-03-24 22:40:13 +01:00
John Crispin
096b3759a9
build: Prevent more gzip timestamps
...
To improve reproducibility, prevent the inclusion of timestamps
in the gzip header.
Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>
SVN-Revision: 46361
2015-07-14 09:57:45 +00:00
Jo-Philipp Wich
0ee9504911
all: replace genext2fs with make_ext4fs
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 45517
2015-04-20 13:57:43 +00:00
Felix Fietkau
09aad60610
x86: remove bogus bzImage copy that breaks initramfs+no-initramfs builds
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45114
2015-03-29 04:31:35 +00:00
Felix Fietkau
7427007193
x86: remove the olpc subtarget, it has been unmaintained for a long time
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45083
2015-03-28 11:37:08 +00:00
Jo-Philipp Wich
02e2548b84
x86: use PARTUUID instead explicitly specifying the device by default
...
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
2015-03-24 10:08:12 +00:00
Felix Fietkau
578aa97f8c
x86: disable rts/cts for serial console in grub - fixes net48xx boot issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44753
2015-03-14 08:38:35 +00:00
Felix Fietkau
c718d0b10c
x86: remove the arbitrary limitation of vmware/virtualbox images to ext4, select TARGET_IMAGES_PAD instead
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41763
2014-07-20 08:18:50 +00:00
Felix Fietkau
f02e3a2a4a
x86: try harder to attach block2mtd to fix boot issues on devices with longer delays
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40444
2014-04-10 14:43:17 +00:00
Imre Kaloz
cc49f7c6e9
move most of the x86 image generation options to the main file
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39206
2014-01-07 10:18:55 +00:00
Imre Kaloz
c11bd50d77
For now vdi and vmdk images should be x86 only
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38896
2013-11-22 14:39:53 +00:00
Imre Kaloz
4242b42880
VMWare and VirtualBox images should select what they need, not depend on it..
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38892
2013-11-22 09:54:36 +00:00
Imre Kaloz
4c65eebf06
rationalize target image options
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38891
2013-11-22 09:44:14 +00:00
Felix Fietkau
09f4018b2e
x86: Fix CONFIG_X86_GRUB_SERIAL=""
...
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
2013-08-10 18:35:29 +00:00
Florian Fainelli
6a4f2922f6
targets: prepare for supporting normal and initramfs images
...
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
2013-06-27 19:58:31 +00:00
Felix Fietkau
96bb7c123b
build: consistently use 'depends on' instead of 'depends'
...
make the syntax more compatible with kernel menuconfig
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36351
2013-04-17 15:36:41 +00:00
Jo-Philipp Wich
7399df1d69
x86: explicitely pass staging directory to grub-mkimage instead of relying on build time defaults ( #12821 )
...
SVN-Revision: 35200
2013-01-17 15:46:26 +00:00
Felix Fietkau
46288bf98e
x86: use $(strip) for the at_keyboard check
...
SVN-Revision: 34127
2012-11-09 10:53:36 +00:00
Felix Fietkau
0a9e05fb0e
x86: only enable at_keyboard for the generic and kvm_guest subtargets to avoid hangs on alix2 and others (thx, russell)
...
SVN-Revision: 34126
2012-11-09 10:19:51 +00:00
Florian Fainelli
60ecd5fe04
merge the RDC R-321x target as a subtarget of x86
...
SVN-Revision: 33779
2012-10-15 18:54:34 +00:00
Felix Fietkau
856fba88d9
x86: remove the reboot=bios command line parameter ( #12193 )
...
SVN-Revision: 33671
2012-10-09 15:20:11 +00:00
Felix Fietkau
1abbe676d1
x86: rename the iso file to openwrt-x86-generic.iso
...
SVN-Revision: 33641
2012-10-07 23:05:39 +00:00
Felix Fietkau
0dd7644ec7
x86: remove grub-legacy
...
SVN-Revision: 33640
2012-10-07 23:01:56 +00:00
Felix Fietkau
a1bcd25082
x86: add grub2 iso support
...
SVN-Revision: 33639
2012-10-07 23:01:52 +00:00
Felix Fietkau
493b7c7f3c
x86: avoid using grub prepare when using grub2
...
SVN-Revision: 33525
2012-09-23 09:59:56 +00:00
Felix Fietkau
52e8ee0666
x86: add support for building grub2 images
...
SVN-Revision: 33513
2012-09-22 20:10:42 +00:00
Felix Fietkau
ce4244c8af
x86: split generic image building into a separate script
...
SVN-Revision: 33511
2012-09-22 20:10:35 +00:00
Felix Fietkau
6c02dd2b04
x86: rename gen_image_x86.sh to gen_image_grub.sh
...
SVN-Revision: 33510
2012-09-22 20:10:31 +00:00
Jo-Philipp Wich
e3663ff907
use ttyS0 @ 115200 baud as default for KVM guests
...
SVN-Revision: 32384
2012-06-15 12:59:49 +00:00
Gabor Juhos
9e54e012d6
x86: image: select bootscript images by default for OLPC
...
SVN-Revision: 31783
2012-05-18 09:57:29 +00:00
Jo-Philipp Wich
4b230e19fc
PATCH: Disable console terminal in Grub for alix2 target
...
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
2012-04-12 23:30:27 +00:00
Vasilis Tsiligiannis
eed8e2a4fd
Disable by default padding of images
...
SVN-Revision: 30590
2012-02-16 17:54:07 +00:00
Vasilis Tsiligiannis
8676e49d9d
Allow gzipping of squashfs images with padded jffs2 partition
...
SVN-Revision: 30589
2012-02-16 17:54:04 +00:00
Vasilis Tsiligiannis
ab09db09fc
GZip only ext4 and padded images
...
SVN-Revision: 30588
2012-02-16 17:54:01 +00:00
Vasilis Tsiligiannis
b4f51343c6
Make gzipping of images configurable via menuconfig
...
SVN-Revision: 30587
2012-02-16 17:53:57 +00:00
Jo-Philipp Wich
2fc3fe1d09
Make the grub timeout configurable on x86 targets
...
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
SVN-Revision: 29786
2012-01-19 01:14:45 +00:00
Nicolas Thill
b0d9bccafc
x86: allow VDI & VMDK images for all subtargets ( closes : #10255 )
...
SVN-Revision: 28518
2011-10-22 13:09:15 +00:00
John Crispin
dfc19a34b4
* adds support for Artec Thincan
...
Signed-of-By: Lauri Võsandi <lauri.vosandi@gmail.com>
SVN-Revision: 26919
2011-05-17 10:35:14 +00:00
Daniel Dickinson
937362f270
This patch provides an image suitable for the alix2*, alix3, and alix6 headless (non-VGA equipped) SBC's.
...
Note that the Alix6 uses GPIO 27 to disable wireless transmit (W_DIS#), whereas on all other versions this is used to actuate the speaker.
GPIO 1 : SIM select (Alix6)
GPIO 6 : LED1
GPIO 25 : LED2
GPIO 27 : LED3 or RFKILL (Alix6)
GPIO 24 : Soft switch 1
No kernel version bump. Added i2c-scx200-acb for lm-sensors support.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 26879
2011-05-13 06:06:42 +00:00
Jo-Philipp Wich
76bfcee5ea
gzip jffs2 images Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
...
SVN-Revision: 26625
2011-04-12 20:48:47 +00:00
Jo-Philipp Wich
d1f053d7ef
Enable padding of jffs2 images to user specified filesystem size Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
...
SVN-Revision: 26624
2011-04-12 20:46:34 +00:00
John Crispin
275c33c6f8
* Make sure that Geos baud-rate defaults correctly Changeset 23414 somehow got reordered. The unconditional default trumps later settings.
...
contributed by Philip Prindeville
SVN-Revision: 25068
2011-01-22 23:10:51 +00:00
Imre Kaloz
4052849677
switch from ext2 to ext4 (w/o) journaling
...
SVN-Revision: 24084
2010-11-22 12:12:39 +00:00
Alexandros C. Couloumbis
e37cba7e95
target/linux: fix Geos baudrate. (thank you Philip Prindeville)
...
SVN-Revision: 23414
2010-10-12 15:27:34 +00:00
Jo-Philipp Wich
2bda5979ab
Geos -- new x86 subtarget definition This defines the Geos platform from Traverse Technologies in AUS.
...
This is a Geode LX800 with 512MB of DDR400 memory, 2 8139CP interfaces, 2 Solos ADSL2+ interfaces, USB, serial console, CF slot, and miniPCI slot.
I'll add support for the LEDs separately.
Signed-off-by: Philip A. Prindeville
SVN-Revision: 23390
2010-10-10 22:48:33 +00:00
Jo-Philipp Wich
7d045509fd
adjust image defaults for KVM
...
SVN-Revision: 22950
2010-09-06 02:31:37 +00:00
Andy Boyett
0f5d0f69ab
image: use internal qemu-img for vmdk and vdi images drop host dependencies on qemu-utils and VirtualBox
...
SVN-Revision: 22553
2010-08-09 04:22:39 +00:00
Felix Fietkau
816a9b30f6
x86: build fully functional images on Mac OS X, now that grub is fixed
...
SVN-Revision: 21609
2010-05-28 19:48:21 +00:00
Nicolas Thill
2c82cf966c
image/x86: fix typo when building on Mac OS X ( closes : #7303 )
...
SVN-Revision: 21401
2010-05-08 12:46:25 +00:00
Nicolas Thill
d0773b2356
target/x86: cleanup image config options
...
SVN-Revision: 21365
2010-05-05 02:11:15 +00:00
Nicolas Thill
482ee200cb
target/x86: use common config items for options shared between generic and olpc targets
...
SVN-Revision: 21364
2010-05-05 02:07:38 +00:00
Nicolas Thill
5403c59f57
images: rename CONFIG_TARGET_ROOTFS_FSPART to CONFIG_TARGET_ROOTFS_PARTSIZE
...
SVN-Revision: 21362
2010-05-05 01:52:54 +00:00
Nicolas Thill
3bca4b2094
package/grub: build a host grub and a target grub ( #7269 ) - use the host grub binary for grub install, but with target stage files - disable SSP (-fno-stack-protector) & Compile Time Buffer Checks (-U_FORTIFY_SOURCE) if appropriate - create a target grub package
...
SVN-Revision: 21305
2010-05-02 17:32:25 +00:00
Nicolas Thill
a64f53f482
target/x86: add to changes missed from [21246] preventing .vdi & .vmdk image generation
...
SVN-Revision: 21277
2010-04-30 18:43:39 +00:00
Nicolas Thill
99d4eee466
target/x86: various image changes * add a -combined suffix for grub+kernel+rootfs images and -rootfs for root filesystem only images * change ext from .image to .img * fix perms on VirtualBox .vdi image * gzip ext2 rootfs image as well
...
SVN-Revision: 21246
2010-04-29 03:03:47 +00:00
Nicolas Thill
bd1fc43e6d
target/x86: rearrange image Makefile, indent, reorder, simplify, change some ifeq/ifneq tests
...
SVN-Revision: 21245
2010-04-29 00:47:05 +00:00
Nicolas Thill
b6734d9753
target/x86: remove temporary files in image generation scripts
...
SVN-Revision: 21243
2010-04-29 00:41:22 +00:00
Nicolas Thill
224db523da
replace old quote stripping with calls to qstrip macro
...
SVN-Revision: 21242
2010-04-29 00:32:44 +00:00
Nicolas Thill
e2b57ecf5f
define a shared IMG_PREFIX variable used as a basename for image files, it contains board & subtarget infos (if appropriate) allowing subtargets to share the same bin directory without overwriting each other's files
...
SVN-Revision: 20834
2010-04-12 23:15:56 +00:00
Florian Fainelli
15e8d2e0b7
add net5501 support
...
This patch brings up the net5501 platform.
Note that the x86/ target included support for all x86/ class
processors. That's not technically correct. This should be constrained
only to the "generic" subtarget. Every x86-class target that isn't
generic should be able to select only the optimizations/capabilities
applicable to that architectural variant.
It's also assumed that all x86 processors have keyboard & mouse ports,
ISA, DMI, ACPI... the embedded ones typically don't. Again, moving
that to the generic subtarget.
Fortunately, this was a fairly benign tweak.
The net5501 board includes the following logic:
Geode/LX processor
CS5535 super-I/O chip
PC87360 sensor chip
Via Rhine Ethernet controllers
Via Sata controllers
USB, LEDS, I2C
Signed-off-by: Philip Prindeville <philipp_subx@redfish-solutions.com>
SVN-Revision: 20794
2010-04-11 12:36:55 +00:00
Jo-Philipp Wich
9ce3d38331
- clean up menu.lst template - make grub usage of vt0 selectable in menuconfig - choose appropriate default baudrate for soekris devices - fix generation of grub menu for iso images
...
SVN-Revision: 19681
2010-02-17 00:59:41 +00:00
Jo-Philipp Wich
e0fc8fb6aa
make console port editable through menuconfig, gzip ext2 images, add suitable defaults for Xen
...
SVN-Revision: 19612
2010-02-12 19:04:12 +00:00
Imre Kaloz
29a020ffb3
remove handling of older unsupported kernels
...
SVN-Revision: 18955
2009-12-27 21:54:09 +00:00
Florian Fainelli
a155e4fd53
add rootwait option to the kernel command line ( #6209 )
...
SVN-Revision: 18672
2009-12-06 09:12:34 +00:00
Imre Kaloz
917ef8e84b
fix grub image target dependency
...
SVN-Revision: 18446
2009-11-18 10:13:40 +00:00
Imre Kaloz
93fe520994
change x86 image generation handling to treat only olpc specially
...
SVN-Revision: 18441
2009-11-17 19:49:25 +00:00
Florian Fainelli
e49c2d7691
merge the olpc target with the x86 target, both tested and running
...
SVN-Revision: 18279
2009-11-03 01:02:39 +00:00
Felix Fietkau
ac8c461d50
x86: use libata in 2.6.30, fix pata support for sc1200 (used on wrap)
...
SVN-Revision: 17722
2009-09-25 14:15:21 +00:00
Imre Kaloz
a9c958c2de
make kernels use /etc/preinit by default
...
SVN-Revision: 15840
2009-05-14 10:20:53 +00:00
Jo-Philipp Wich
9209af2c00
Fix building of iso filesystem This fixes two errors when building iso filesystem:
...
a) dir root.grub/boot doesn't get created.
b) the creation of .image file by gen_image.sh which apparently is not needed
when building an iso.
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 15682
2009-05-07 13:50:09 +00:00
Hauke Mehrtens
76fe41a8d3
The image was selected from a wrong location. Fixes bug #4618
...
SVN-Revision: 14948
2009-03-19 13:02:06 +00:00
Jo-Philipp Wich
e0440fefb6
Use wildcards to copy grub stage files, will cover both i386-pc and i386-openwrt directory names
...
SVN-Revision: 13963
2009-01-10 23:12:21 +00:00
Jo-Philipp Wich
2273aadfb2
fix grub installation on target images, regression caused by multi-libc support
...
SVN-Revision: 13936
2009-01-08 16:51:01 +00:00
Steven Barth
5c95516f24
Use VBoxManage instead of obsolete vditool to generate VirtualBox images.
...
SVN-Revision: 13821
2009-01-02 14:35:18 +00:00
Florian Fainelli
45cc45cac5
Add support for creating VMware vmdk images #1317
...
SVN-Revision: 13158
2008-11-09 17:39:09 +00:00
Felix Fietkau
2b5ce63303
x86: don't attempt to compile grub on darwin
...
SVN-Revision: 11599
2008-06-28 17:54:44 +00:00
Felix Fietkau
b0e669ee13
fix x86 image build order ( fixes #3317 )
...
SVN-Revision: 11359
2008-06-04 21:55:25 +00:00
Florian Fainelli
08fa2c3feb
fix typo
...
SVN-Revision: 11300
2008-05-30 16:59:36 +00:00
Florian Fainelli
8c0c28eef2
Add virtualbox images to x86 ( #3475 )
...
SVN-Revision: 11298
2008-05-30 16:50:37 +00:00
Imre Kaloz
e7432794fa
fix image generation on x86
...
SVN-Revision: 10610
2008-03-17 12:37:52 +00:00
Felix Fietkau
1bca0cc517
make the image filenames a bit shorter
...
SVN-Revision: 9533
2007-11-10 23:08:11 +00:00
John Crispin
16b236fb69
fixed generation of iso images
...
SVN-Revision: 9317
2007-10-14 13:39:35 +00:00
Felix Fietkau
27baec04a1
move grub menu.lst to the right place
...
SVN-Revision: 9216
2007-10-09 16:57:12 +00:00
Felix Fietkau
8c97372e0d
move grub to package/
...
SVN-Revision: 9212
2007-10-09 03:19:07 +00:00
John Crispin
215fa7eb8b
added generation of x86 livecds, from #2391
...
SVN-Revision: 9191
2007-10-08 18:53:19 +00:00
John Crispin
630713ece0
changed the timeout for grub to load the menu from 10 secs to 2 secs
...
SVN-Revision: 8815
2007-09-16 21:03:04 +00:00
John Crispin
b9eaeeaf99
fixes menuconfig selection of grub for x86 targets
...
SVN-Revision: 8713
2007-09-09 18:00:00 +00:00
Felix Fietkau
56231056ea
strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.
...
SVN-Revision: 8653
2007-09-06 16:27:37 +00:00