]> git.ipfire.org Git - thirdparty/grub.git/log
thirdparty/grub.git
9 years agoehci split fixup
Vladimir Serbinenko [Mon, 22 Feb 2016 02:28:10 +0000 (03:28 +0100)] 
ehci split fixup

9 years agocoreboot
Vladimir Serbinenko [Mon, 22 Feb 2016 02:27:39 +0000 (03:27 +0100)] 
coreboot

9 years agoRemove useless include
Vladimir Serbinenko [Mon, 22 Feb 2016 02:25:50 +0000 (03:25 +0100)] 
Remove useless include

9 years agoehci split
Vladimir Serbinenko [Mon, 22 Feb 2016 00:08:27 +0000 (01:08 +0100)] 
ehci split

9 years agoDTB overrides
Vladimir Serbinenko [Sun, 21 Feb 2016 23:05:40 +0000 (00:05 +0100)] 
DTB overrides

9 years agocoreboot
Vladimir Serbinenko [Sun, 21 Feb 2016 19:28:10 +0000 (20:28 +0100)] 
coreboot

9 years agofdtbus
Vladimir Serbinenko [Sun, 21 Feb 2016 19:27:50 +0000 (20:27 +0100)] 
fdtbus

9 years agoOut-of-place FDT handling
Vladimir Serbinenko [Sun, 21 Feb 2016 19:26:40 +0000 (20:26 +0100)] 
Out-of-place FDT handling

9 years agofdt
Vladimir Serbinenko [Sun, 21 Feb 2016 18:48:57 +0000 (19:48 +0100)] 
fdt

9 years agopre-located image for veyron
Vladimir Serbinenko [Sun, 21 Feb 2016 18:28:56 +0000 (19:28 +0100)] 
pre-located image for veyron

9 years agocoreboot
Vladimir Serbinenko [Sun, 21 Feb 2016 18:28:40 +0000 (19:28 +0100)] 
coreboot

9 years agofdt: relax align requirement
Vladimir Serbinenko [Sun, 21 Feb 2016 18:28:23 +0000 (19:28 +0100)] 
fdt: relax align requirement

9 years agocoreboot
Vladimir Serbinenko [Sun, 21 Feb 2016 17:59:14 +0000 (18:59 +0100)] 
coreboot

9 years agoswitch to layout
Vladimir Serbinenko [Sun, 21 Feb 2016 17:47:29 +0000 (18:47 +0100)] 
switch to layout

9 years agocoreboot
Vladimir Serbinenko [Sun, 21 Feb 2016 17:44:55 +0000 (18:44 +0100)] 
coreboot

9 years agoSimplify reloc
Vladimir Serbinenko [Sun, 21 Feb 2016 17:44:18 +0000 (18:44 +0100)] 
Simplify reloc

9 years agocoreboot reloc
Vladimir Serbinenko [Sun, 21 Feb 2016 17:42:35 +0000 (18:42 +0100)] 
coreboot reloc

9 years agocoreboot memory before _start
Vladimir Serbinenko [Sun, 21 Feb 2016 17:41:39 +0000 (18:41 +0100)] 
coreboot memory before _start

9 years agopl050
Vladimir Serbinenko [Sun, 21 Feb 2016 00:53:44 +0000 (01:53 +0100)] 
pl050

9 years agofdtbus
Vladimir Serbinenko [Sun, 21 Feb 2016 00:53:07 +0000 (01:53 +0100)] 
fdtbus

9 years agocoreboot
Vladimir Serbinenko [Sat, 20 Feb 2016 23:05:38 +0000 (00:05 +0100)] 
coreboot

9 years agofdt
Vladimir Serbinenko [Sat, 20 Feb 2016 23:05:21 +0000 (00:05 +0100)] 
fdt

9 years agofdtbus
Vladimir Serbinenko [Sat, 20 Feb 2016 23:04:18 +0000 (00:04 +0100)] 
fdtbus

9 years agops2 split
Vladimir Serbinenko [Sat, 20 Feb 2016 17:45:42 +0000 (18:45 +0100)] 
ps2 split

9 years agocoreboot
Vladimir Serbinenko [Sat, 20 Feb 2016 15:26:23 +0000 (16:26 +0100)] 
coreboot

9 years agobus fdt improvements
Vladimir Serbinenko [Sat, 20 Feb 2016 15:25:39 +0000 (16:25 +0100)] 
bus fdt improvements

9 years agofdtbus
Vladimir Serbinenko [Sat, 20 Feb 2016 13:30:43 +0000 (14:30 +0100)] 
fdtbus

9 years agomissing files
Vladimir Serbinenko [Sat, 20 Feb 2016 13:29:01 +0000 (14:29 +0100)] 
missing files

9 years agofdtlib
Vladimir Serbinenko [Sat, 20 Feb 2016 13:28:37 +0000 (14:28 +0100)] 
fdtlib

9 years agoUseless fdt.lst
Vladimir Serbinenko [Sat, 20 Feb 2016 13:22:34 +0000 (14:22 +0100)] 
Useless fdt.lst

9 years agoFDT lib improvements
Vladimir Serbinenko [Sat, 20 Feb 2016 11:30:06 +0000 (12:30 +0100)] 
FDT lib improvements

9 years agorefresh before abort
Vladimir Serbinenko [Sat, 20 Feb 2016 08:12:15 +0000 (09:12 +0100)] 
refresh before abort

9 years agogeneric timer safeguard
Vladimir Serbinenko [Sat, 20 Feb 2016 08:12:02 +0000 (09:12 +0100)] 
generic timer safeguard

9 years agoWIP2
Vladimir Serbinenko [Fri, 19 Feb 2016 15:47:36 +0000 (16:47 +0100)] 
WIP2

9 years agoWIP
Vladimir Serbinenko [Fri, 19 Feb 2016 11:16:09 +0000 (12:16 +0100)] 
WIP

9 years agorename
Vladimir Serbinenko [Fri, 19 Feb 2016 11:14:50 +0000 (12:14 +0100)] 
rename

9 years agofix relocate
Vladimir Serbinenko [Fri, 19 Feb 2016 11:17:20 +0000 (12:17 +0100)] 
fix relocate

9 years agofs
Vladimir Serbinenko [Fri, 19 Feb 2016 03:48:50 +0000 (04:48 +0100)] 
fs

9 years agofd
Vladimir Serbinenko [Fri, 19 Feb 2016 03:48:17 +0000 (04:48 +0100)] 
fd

9 years agoMove cbfb
Vladimir Serbinenko [Fri, 19 Feb 2016 03:47:02 +0000 (04:47 +0100)] 
Move cbfb

9 years agodecouple
Vladimir Serbinenko [Fri, 19 Feb 2016 03:31:59 +0000 (04:31 +0100)] 
decouple

9 years agoDeclare arm-coreboot
Vladimir Serbinenko [Thu, 18 Feb 2016 16:47:41 +0000 (17:47 +0100)] 
Declare arm-coreboot

9 years agoarm-uboot: Make self-relocatable to allow loading at any address
Vladimir Serbinenko [Thu, 18 Feb 2016 23:43:36 +0000 (00:43 +0100)] 
arm-uboot: Make self-relocatable to allow loading at any address

9 years agoAllow _start == 0 with relocatable images
Vladimir Serbinenko [Thu, 18 Feb 2016 19:58:38 +0000 (20:58 +0100)] 
Allow _start == 0 with relocatable images

9 years agoProvide __bss_start and _end symbols in grub-mkimage.
Vladimir Serbinenko [Thu, 18 Feb 2016 19:57:21 +0000 (20:57 +0100)] 
Provide __bss_start and _end symbols in grub-mkimage.

For this ensure that all bss sections are merged.

9 years agoencapsulate
Vladimir Serbinenko [Fri, 19 Feb 2016 00:49:53 +0000 (01:49 +0100)] 
encapsulate

9 years agoRemove useless ifdef
Vladimir Serbinenko [Thu, 18 Feb 2016 20:49:21 +0000 (21:49 +0100)] 
Remove useless ifdef

9 years agomkimagexx: Split PE and generic part.
Vladimir Serbinenko [Thu, 18 Feb 2016 19:54:37 +0000 (20:54 +0100)] 
mkimagexx: Split PE and generic part.

9 years agofile split
Vladimir Serbinenko [Thu, 18 Feb 2016 19:26:44 +0000 (20:26 +0100)] 
file split

9 years agodefault_payload.elf: Always rebuild and remove before build.
Vladimir Serbinenko [Wed, 17 Feb 2016 17:19:18 +0000 (18:19 +0100)] 
default_payload.elf: Always rebuild and remove before build.

It's difficult to know all dependencies. Since it's manual and cheap
target anyway, simply always rebuild it.

9 years agodefault_payload.elf: Include password_pbkdf2.
Vladimir Serbinenko [Wed, 17 Feb 2016 17:11:51 +0000 (18:11 +0100)] 
default_payload.elf: Include password_pbkdf2.

Withoout this module we may end up in a system where no password is
accepted.

9 years agodefault_payload.elf: Add modules from $(EXTRA_PAYLOAD_MODULES).
Vladimir Serbinenko [Wed, 17 Feb 2016 17:10:31 +0000 (18:10 +0100)] 
default_payload.elf: Add modules from $(EXTRA_PAYLOAD_MODULES).

This allows coreboot building system to add extra modules depending
on user config.

9 years agomm: Avoid integer overflow.
Vladimir Serbinenko [Wed, 17 Feb 2016 17:09:44 +0000 (18:09 +0100)] 
mm: Avoid integer overflow.

9 years agoRemove -Wno-maybe-uninitialized as it may not be present.
Vladimir Serbinenko [Wed, 17 Feb 2016 16:58:05 +0000 (17:58 +0100)] 
Remove -Wno-maybe-uninitialized as it may not be present.

9 years agoFix warnings when compiling with -O3
Vladimir Serbinenko [Wed, 17 Feb 2016 16:56:41 +0000 (17:56 +0100)] 
Fix warnings when compiling with -O3

9 years agoAdd wbinvd around bios call.
Vladimir Serbinenko [Sun, 10 Jan 2016 12:48:26 +0000 (13:48 +0100)] 
Add wbinvd around bios call.

Via C3 has problems with cache coherency when transitioning between the modes,
so flush it around bios calls.

9 years agoOBP available region contains grub. Start at grub_phys_end.
Eric Snowberg [Fri, 12 Feb 2016 22:16:03 +0000 (23:16 +0100)] 
OBP available region contains grub. Start at grub_phys_end.

This prevents a problem where grub was being overwritten since
grub_phys_start does not start at a zero offset within the memory
map.

9 years agoAdd Thinkpad T410s button cmos address.
Andreas Freimuth [Fri, 12 Feb 2016 18:19:11 +0000 (19:19 +0100)] 
Add Thinkpad T410s button cmos address.

9 years agoTODO: Remove obsolete link
Vladimir Serbinenko [Fri, 12 Feb 2016 16:51:52 +0000 (17:51 +0100)] 
TODO: Remove obsolete link

9 years agolz4: Fix pointer overflow
Toomas Soome [Fri, 12 Feb 2016 15:31:23 +0000 (16:31 +0100)] 
lz4: Fix pointer overflow

9 years agogrub-shell: Update 32-bit OVMF binary name.
Vladimir Serbinenko [Fri, 12 Feb 2016 15:08:04 +0000 (16:08 +0100)] 
grub-shell: Update 32-bit OVMF binary name.

9 years agorelocator: Fix integer underflow.
Daniel Kiper [Fri, 12 Feb 2016 14:58:22 +0000 (15:58 +0100)] 
relocator: Fix integer underflow.

9 years agoChange -v to -V for version of shell utils.
Vladimir Serbinenko [Fri, 12 Feb 2016 14:46:05 +0000 (15:46 +0100)] 
Change -v to -V for version of shell utils.

9 years agoxnu: Add new kernel path to autoconfig.
Vladimir Serbinenko [Fri, 12 Feb 2016 14:42:26 +0000 (15:42 +0100)] 
xnu: Add new kernel path to autoconfig.

9 years agoarm64: Use cpu timer for timekeeping.
Vladimir Serbinenko [Fri, 12 Feb 2016 11:43:02 +0000 (12:43 +0100)] 
arm64: Use cpu timer for timekeeping.

9 years agopowerpc: Trim header in tests.
Vladimir Serbinenko [Fri, 12 Feb 2016 11:42:04 +0000 (12:42 +0100)] 
powerpc: Trim header in tests.

9 years agodefault_payload: Include syslinuxcfg, all filesystems and xnu.
Vladimir Serbinenko [Fri, 12 Feb 2016 11:41:28 +0000 (12:41 +0100)] 
default_payload: Include syslinuxcfg, all filesystems and xnu.

9 years agoxnu: Supply random seed.
Vladimir Serbinenko [Fri, 12 Feb 2016 11:40:10 +0000 (12:40 +0100)] 
xnu: Supply random seed.

Now we're able to load kernels up to El Capitan.

9 years agoAdd RNG module.
Vladimir Serbinenko [Fri, 12 Feb 2016 11:39:38 +0000 (12:39 +0100)] 
Add RNG module.

9 years agoyylex: use grub_fatal for exit.
Vladimir Serbinenko [Fri, 12 Feb 2016 11:34:54 +0000 (12:34 +0100)] 
yylex: use grub_fatal for exit.

lexer calls yylex_fatal on fatal internal errors. yylex_fatal itself is
declared as noreturn and calls exit. Returning from noreturn function has
unpredictable consequences.

9 years agoprintf: Fix and test %% behaviour in presence of subsequenbt args.
Vladimir Serbinenko [Fri, 12 Feb 2016 11:33:41 +0000 (12:33 +0100)] 
printf: Fix and test %% behaviour in presence of subsequenbt args.

9 years agoSplit pmtimer wait and tsc measurement from pmtimer tsc calibration.
Vladimir Serbinenko [Fri, 12 Feb 2016 10:40:51 +0000 (11:40 +0100)] 
Split pmtimer wait and tsc measurement from pmtimer tsc calibration.

9 years agoMake grub_cpu_is_tsc_supported generally available.
Vladimir Serbinenko [Fri, 12 Feb 2016 10:38:51 +0000 (11:38 +0100)] 
Make grub_cpu_is_tsc_supported generally available.

9 years agoMake grub_acpi_find_fadt accessible generically
Vladimir Serbinenko [Fri, 12 Feb 2016 10:35:48 +0000 (11:35 +0100)] 
Make grub_acpi_find_fadt accessible generically

9 years agoMake unaligned types public.
Vladimir Serbinenko [Fri, 12 Feb 2016 08:11:06 +0000 (09:11 +0100)] 
Make unaligned types public.

This simplifies code which has to handle those types.

9 years agoFix emu compilation error on arm.
Vladimir Serbinenko [Fri, 12 Feb 2016 08:10:08 +0000 (09:10 +0100)] 
Fix emu compilation error on arm.

9 years agoxnu: Include relocated EFI in heap size.
Vladimir Serbinenko [Thu, 11 Feb 2016 11:30:45 +0000 (12:30 +0100)] 
xnu: Include relocated EFI in heap size.

9 years agoxnu: supply ramsize to the kernel.
Vladimir Serbinenko [Thu, 11 Feb 2016 10:58:28 +0000 (11:58 +0100)] 
xnu: supply ramsize to the kernel.

Without this info recent kernels crash as they allocate no heap.

9 years agosupport modules without symbol table
Andrei Borzenkov [Wed, 3 Feb 2016 17:34:55 +0000 (20:34 +0300)] 
support modules without symbol table

all_video module does not have any code or data and exists solely for
.moddeps section to pull in dependencies. This makes all symbols unneeded.

While in current binutils (last released version as of this commit is 2.26)
``strip --strip-unneeded'' unintentionally adds section symbols for each
existing section, this behavior was considered a bug and changed in commit
14f2c699ddca1e2f706342dffc59a6c7e23e844c to completely strip symbol table
in this case.

Older binutils (verified with 2.17) and some other toolchains (at least
elftoolchain r3223M), both used in FreeBSD, remove symbol table in all_video
as well.

Relax run-time check and do not return error for modules without symbol table.
Add additional checks to module verifier to make sure such modules

a) have non-empty .moddeps section. Without either externally visible symbols
or .moddeps modules are completely useless and should not be built.

b) do not have any relocations.

Closes: 46986
v2: add run-time check for empty symbol table if relocations are present as
    suggested by Vladimir.

9 years ago10_linux: avoid multi-device root= kernel argument
Andrei Borzenkov [Mon, 1 Feb 2016 17:13:48 +0000 (20:13 +0300)] 
10_linux: avoid multi-device root= kernel argument

If root filesystem is multidev btrfs, do not attempt to pass all devices as
kernel root= argument. This results in splitting command line in GRUB due to
embedded newline and even if we managed to quote it, kernel does not know how
to interpret it anyway. Multidev btrfs requires user space device scanning,
so passing single device would not work too.

This still respects user settings GRUB_DISABLE_LINUX_UUID. Not sure what we
should do in this case.

Closes: 45709
9 years agoError out if mtools invocation fails.
Vladimir Serbinenko [Fri, 22 Jan 2016 18:28:08 +0000 (19:28 +0100)] 
Error out if mtools invocation fails.

9 years agoarm64: Add support for relocations needed for linaro gcc
Vladimir Serbinenko [Fri, 22 Jan 2016 18:09:37 +0000 (19:09 +0100)] 
arm64: Add support for relocations needed for linaro gcc

9 years agoefiemu: Fix compilation failure
Vladimir Serbinenko [Fri, 22 Jan 2016 13:10:30 +0000 (14:10 +0100)] 
efiemu: Fix compilation failure

9 years agoDocument cpuid -p
Vladimir Serbinenko [Fri, 22 Jan 2016 12:50:53 +0000 (13:50 +0100)] 
Document cpuid -p

9 years agoefiemu: Handle persistent RAM and unknown possible future additions.
Robert Elliott [Fri, 22 Jan 2016 12:32:30 +0000 (13:32 +0100)] 
efiemu: Handle persistent RAM and unknown possible future additions.

9 years agoDocument expr1 expr2 syntax for test command
Vladimir Serbinenko [Fri, 22 Jan 2016 12:27:36 +0000 (13:27 +0100)] 
Document expr1 expr2 syntax for test command

9 years agoRestore terminal settings on grub-emu exit.
Michael Chang [Fri, 22 Jan 2016 10:05:32 +0000 (11:05 +0100)] 
Restore terminal settings on grub-emu exit.

9 years agoxen_boot: Remove obsolete module type distinctions.
Vladimir Serbinenko [Fri, 22 Jan 2016 09:18:47 +0000 (10:18 +0100)] 
xen_boot: Remove obsolete module type distinctions.

9 years agoarm: Ignore qemu clock bug
Vladimir Serbinenko [Fri, 8 Jan 2016 15:22:47 +0000 (16:22 +0100)] 
arm: Ignore qemu clock bug

9 years agoi386-ieee1275: Increase maximum heap size to accomodate highres graphi tests
Vladimir Serbinenko [Fri, 8 Jan 2016 15:22:19 +0000 (16:22 +0100)] 
i386-ieee1275: Increase maximum heap size to accomodate highres graphi tests

9 years agoRemove pragmas related to -Wunreachable-code
Colin Watson [Wed, 20 Jan 2016 15:56:55 +0000 (15:56 +0000)] 
Remove pragmas related to -Wunreachable-code

-Wunreachable-code has been a no-op since GCC 4.5; GRUB hasn't been
compiled with it since 2012; and GCC 6 produces "error:
'-Wunreachable-code' is not an option that controls warnings" for these.

Fixes Debian bug #812047.

9 years agoloader/bsd: Fix signed/unsigned comparison
Colin Watson [Sat, 16 Jan 2016 20:40:55 +0000 (20:40 +0000)] 
loader/bsd: Fix signed/unsigned comparison

9 years agoahci, ehci: Fix typos
Colin Watson [Sat, 16 Jan 2016 20:37:15 +0000 (20:37 +0000)] 
ahci, ehci: Fix typos

9 years agogrub-probe: fix memory leak
Andrei Borzenkov [Sat, 16 Jan 2016 18:47:28 +0000 (21:47 +0300)] 
grub-probe: fix memory leak

Found by: Coverity scan.
CID: 73783

9 years agotftp: fix memory leaks in open
Andrei Borzenkov [Sat, 16 Jan 2016 18:27:57 +0000 (21:27 +0300)] 
tftp: fix memory leaks in open

If protocol open fails, file is immediately freed, so data was leaked.

Found by: Coverity scan.
CID: 96659

9 years agotcp: fix memory leaks
Andrei Borzenkov [Sat, 16 Jan 2016 17:59:50 +0000 (20:59 +0300)] 
tcp: fix memory leaks

Found by: Coverity scan.
CID: 96639, 96647

9 years agonet: fix memory leaks
Andrei Borzenkov [Sat, 16 Jan 2016 17:48:33 +0000 (20:48 +0300)] 
net: fix memory leaks

Found by: Coverity scan.
CID: 96638, 96648

9 years agolegacycfg: fix memory leaks and add NULL check
Andrei Borzenkov [Sat, 16 Jan 2016 17:34:02 +0000 (20:34 +0300)] 
legacycfg: fix memory leaks and add NULL check

Memory leaks found by Coverity scan.
CID: 96642, 96645

9 years agoloader: Unintended sign extension
Andrei Borzenkov [Wed, 13 Jan 2016 17:15:07 +0000 (20:15 +0300)] 
loader: Unintended sign extension

CID: 96707, 96699, 96693, 96691, 96711, 96709, 96708, 96703, 96702,
96700, 96698, 96696, 96695, 96692, 96710, 96705

9 years agoscript: fix memory leak
Andrei Borzenkov [Tue, 12 Jan 2016 19:50:30 +0000 (22:50 +0300)] 
script: fix memory leak

Found by: Coverity scan.
CID: 96637