Vladimir Serbinenko
ba5401b197
Add possibility to verify kernel command lines.
2017-05-09 16:12:18 +02:00
Vladimir Serbinenko
4f280d955e
Adjustment proposed by dkiper
2017-05-09 16:12:18 +02:00
Vladimir Serbinenko
09bd17faaa
verify framework.
2017-05-09 16:12:18 +02:00
Vladimir Serbinenko
aa93127ed8
File type for fine-grained signature-verification controlling
2017-05-09 16:12:18 +02:00
Vladimir Serbinenko
c4b8bec5fe
at_keyboard: Fix falco chromebook case.
...
EC is slow, so we need few delays for it to toggle the bits correctly.
Command to enable clock and keyboard were not sent.
2017-05-09 14:27:52 +02:00
Julius Werner
70b555a52a
coreboot: Changed cbmemc to support updated console format from coreboot.
2017-05-09 09:03:02 +02:00
Vladimir Serbinenko
c6eaa982d1
Missing parts of previous commit
2017-05-09 09:02:15 +02:00
Vladimir Serbinenko
5c3fd1b135
arm_coreboot: Add Chromebook keyboard driver.
2017-05-09 08:47:34 +02:00
Vladimir Serbinenko
b0b1b81a11
rk3288_spi: Add SPI driver
2017-05-09 08:44:23 +02:00
Vladimir Serbinenko
c4313c812d
fdtbus: Add ability to send/receive messages on parent busses.
2017-05-09 08:43:20 +02:00
Vladimir Serbinenko
4f8471532d
Fix bug on FDT nodes with compatible property
2017-05-09 08:43:09 +02:00
Vladimir Serbinenko
d11ced1e1f
arm_coreboot: Support EHCI.
2017-05-08 22:15:05 +02:00
Vladimir Serbinenko
058df7b5a9
ehci: Split core code from PCI part.
...
On ARM often EHCI is present without PCI and just declared in device
tree. So splitcore from PCI part.
2017-05-08 22:10:26 +02:00
Vladimir Serbinenko
265292f2b0
arm_coreboot: Support DMA.
...
This is needed to support USB and some other busses.
2017-05-08 22:06:04 +02:00
Vladimir Serbinenko
656c3b0d7f
arm_coreboot: Support loading linux images.
2017-05-08 22:00:06 +02:00
Vladimir Serbinenko
3edabad8fe
arm_coreboot: Support grub-mkstandalone.
2017-05-08 21:59:48 +02:00
Vladimir Serbinenko
848bed9d92
arm_coreboot: Support keyboard for vexpress.
2017-05-08 21:42:37 +02:00
Vladimir Serbinenko
216950a4ee
at_keyboard: Split protocol from controller code.
...
On vexpress controller is different but protocol is the same, so reuse the
code.
2017-05-08 21:41:22 +02:00
Vladimir Serbinenko
ac6b41b89f
arm-coreboot: Export FDT routines.
...
We need to use them from modules as well.
2017-05-08 21:29:48 +02:00
Vladimir Serbinenko
5a865b3786
arm-coreboot: Support for vexpress timer.
2017-05-08 21:26:36 +02:00
Vladimir Serbinenko
fcbb723d4b
Add support for device-tree-based drivers.
2017-05-08 21:19:59 +02:00
Vladimir Serbinenko
24e37a8852
arm-coreboot: Start new port.
2017-05-08 20:53:28 +02:00
Vladimir Serbinenko
9808c3ef95
Rename uboot/datetime to dummy/datetime.
...
It's just a stub and is not UBoot-specific.
2017-05-08 19:40:14 +02:00
Vladimir Serbinenko
1daa716c70
Rename uboot/halt.c to dummy/halt.c.
...
It's not U-Boot specific and it's a stub.
2017-05-08 19:33:56 +02:00
Vladimir Serbinenko
461bfab7b7
coreboot: Split parts that are platform-independent.
...
We currently assume that coreboot is always i386, it's no longer the case,
so split i386-coreboot parts from generic coreboot code.
2017-05-08 19:10:24 +02:00
Vladimir Serbinenko
d08c968514
Refactor arm-uboot code to make it genereic.
...
arm-coreboot startup code can be very similar to arm-uboot but current code has
U-Boot specific references. So split U-Boot part from generic part.
2017-05-08 17:47:57 +02:00
Vladimir Serbinenko
a35ac85430
mkimage: Pass layout to mkimage_generate_elfXX rather than some fields.
...
This allows easier extension of this function without having too long of
arguments list.
2017-05-08 17:32:15 +02:00
Paulo Flabiano Smorigo
d9f7de0ae3
Add Virtual LAN support.
...
This patch adds support for virtual LAN (VLAN) tagging. VLAN tagging allows
multiple VLANs in a bridged network to share the same physical network link
but maintain isolation:
http://en.wikipedia.org/wiki/IEEE_802.1Q
* grub-core/net/ethernet.c: Add check, get, and set vlan tag id.
* grub-core/net/drivers/ieee1275/ofnet.c: Get vlan tag id from bootargs.
* grub-core/net/arp.c: Add check.
* grub-core/net/ip.c: Likewise.
* include/grub/net/arp.h: Add vlantag attribute.
* include/grub/net/ip.h: Likewise.
2017-05-03 13:03:50 +02:00
Vladimir Serbinenko
dc6e1b5af8
strtoull: Fix behaviour on chars between '9' and 'a'.
...
Reported by: Aaron Miller <aaronmiller@fb.com >
2017-05-03 12:59:58 +02:00
Vladimir Serbinenko
ede6c96893
Add strtoull test.
2017-05-03 12:58:15 +02:00
Vladimir Serbinenko
a827807a13
Fix shebang for termux.
...
Termux doesn't have a /bin/sh. So we needto use $SHELL.
Keep /bin/sh as much as possible.
2017-05-03 12:49:31 +02:00
Vladimir Serbinenko
1073ddb120
Add termux path to dict.
2017-05-03 12:48:00 +02:00
Vladimir Serbinenko
4341f82af0
po: Use @SHELL@ rather than /bin/sh.
...
/bin/sh might not exist.
2017-05-03 12:46:48 +02:00
Vladimir Serbinenko
c2ea443446
Use $(SHELL) rather than /bin/sh.
...
/bin/sh doesn't exist under termux.
2017-05-03 12:46:38 +02:00
Vladimir Serbinenko
608bec5112
Support lseek64.
...
Android doesn't have 64-bit off_t, so use off64_t instead.
2017-05-03 12:24:43 +02:00
Vladimir Serbinenko
6dec3a26b3
Don't retrieve fstime when it's not useful.
2017-05-03 12:23:15 +02:00
Vladimir Serbinenko
b43b8cacc8
support busybox date.
...
Busybox date doesn't understand weekdays in -d input,
so strip them beforehand.
2017-05-03 12:22:05 +02:00
Vladimir Serbinenko
37865c2c4a
fs-tester: make sh-compatible
2017-05-03 12:19:44 +02:00
Vladimir Serbinenko
5a0c548ba3
Remove bashisms from tests.
...
Those tests don't actually need bash. Just use common shebang.
2017-05-03 12:10:36 +02:00
Vladimir Serbinenko
b0bad6fd94
Bump version to 2.03
2017-05-03 11:55:52 +02:00
Vladimir Serbinenko
e54c99aaff
Increase version to 2.02.
grub-2.02
2.02
2017-04-25 16:23:16 +02:00
Vladimir Serbinenko
d454509bb8
Fix remaining cases of gcc 7 fallthrough warning.
...
They are all intended, so just add the relevant comment.
2017-04-12 01:42:38 +00:00
Andrei Borzenkov
007f0b407f
Add gnulib-fix-gcc7-fallthrough.diff
...
As long as the code is not upstream, add it as explicit patch for the
case of gnulib refresh.
2017-04-04 19:37:47 +03:00
Andrei Borzenkov
4bd4a88725
i386, x86_64, ppc: fix switch fallthrough cases with GCC7
...
In util/getroot and efidisk slightly modify exitsing comment to mostly
retain it but still make GCC7 compliant with respect to fall through
annotation.
In grub-core/lib/xzembed/xz_dec_lzma2.c it adds same comments as
upstream.
In grub-core/tests/setjmp_tets.c declare functions as "noreturn" to
suppress GCC7 warning.
In grub-core/gnulib/regexec.c use new __attribute__, because existing
annotation is not recognized by GCC7 parser (which requires that comment
immediately precedes case statement).
Otherwise add FALLTHROUGH comment.
Closes: 50598
2017-04-04 19:23:55 +03:00
Andrei Borzenkov
6cef7f6079
btrfs: avoid "used uninitialized" error with GCC7
...
sblock was local and so considered new variable on every loop
iteration.
Closes: 50597
2017-04-04 19:22:32 +03:00
Andrei Borzenkov
ec4af117c6
acpi: add missing efi_call wrapper to acpi command
...
Fixed loading of ACPI tables on EFI (side effect was apparent memory
corruption ranging from unpredictable behavior to system reset).
Reported by Nando Eva <nando4eva@ymail.com >
2017-04-02 14:47:20 +03:00
Vladimir Serbinenko
8014b7b337
Increment version to GRUB 2.02~rc2.
grub-2.02-rc2
2.02-rc2
2017-03-15 09:20:29 +01:00
Vladimir Serbinenko
fcea891e17
Use core2duo for bootcheck test on 64-bit EFI.
...
Obviously pentium2 can't run efi64.
2017-03-15 09:20:14 +01:00
Andrei Borzenkov
c42cb97f08
efi: skip iPXE block device.
...
iPXE adds Simple File System Protocol to loaded image handle, as side
effect it also adds Block IO protocol (according to comments, to work
around some bugs in EDK2). GRUB assumes that every device with Block IO
is disk and skips network initialization entirely. But iPXE Block IO
implementation is just a stub which always fails for every operation
so cannot be used. Attempt to detect and skip such devices.
We are using media ID which iPXE sets to "iPXE" and block IO size in
hope that no real device would announce 1B block ...
Closes: 50518
2017-03-14 04:14:36 +00:00
phcoder
bcf3c55531
xen: Fix wrong register in relocator.
...
This fixes chainloading of some GRUB variants.
2017-03-05 10:07:36 +01:00