Colin Watson
9121567e16
* commands/gptsync.c (grub_cmd_gptsync): Fix typos.
...
(GRUB_MOD_INIT): Fix capitalisation.
* docs/grub.texi (Command-line and menu entry commands): Document
gettext and gptsync commands.
2010-06-02 02:37:55 +01:00
Colin Watson
ab6316112c
* conf/any-emu.rmk (kernel_img_SOURCES) [!x86]: Include
...
kern/$(target_cpu)/cache.S even if TARGET_NO_MODULES = yes.
2010-06-02 01:23:34 +01:00
Aleš Nesrsta
390b0676c4
Use dev->descdev.maxsize0 even if dev->initialized isn't set
2010-06-02 02:04:45 +02:00
Colin Watson
e726afa89d
fix indentation
2010-06-01 18:40:45 +01:00
Peter Henn
3b97788878
* disk/mdraid_linux.c (grub_mdraid_detect): Fix calculation of 1.x
...
chunk size and disk size, which are already given as sector counts
as distinct from the 0.90 units. Fetch the correct device number
from the role table instead of using the table index.
2010-06-01 18:40:03 +01:00
Colin Watson
bde4a9ac1d
Add btrfs probing support, currently only in the single-device case.
...
* kern/emu/getroot.c (find_root_device_from_mountinfo): New
function.
(grub_guess_root_device): Call find_root_device_from_mountinfo
before looking in /dev.
2010-06-01 18:30:20 +01:00
Colin Watson
0d9ff59345
* kern/emu/getroot.c (find_root_device_from_mountinfo): Use getline instead
...
of fgets into a static buffer. Use sizeof instead of strlen on a constant
string. Thanks to Vladimir for review.
2010-06-01 18:05:29 +01:00
BVK Chaitanya
a762e3c335
merge with mainline
2010-06-01 17:52:31 +05:30
BVK Chaitanya
fe16b84557
pull-in emu-lite
2010-06-01 09:12:01 +05:30
Aleš Nesrsta
7d4873c26a
Merge Aleš' latest patch
2010-06-01 02:10:19 +02:00
Vladimir 'phcoder' Serbinenko
b1d17e10e0
* disk/i386/pc/biosdisk.c (grub_biosdisk_open): Use
...
GRUB_DISK_SIZE_UNKNOWN.
* disk/ieee1275/ofdisk.c (grub_ofdisk_open): Likewise.
2010-05-31 21:01:01 +02:00
Jiro SEKIBA
dfbfe00473
* include/grub/disk.h (GRUB_DISK_SIZE_UNKNOWN): New macro.
...
* fs/nilfs.c: Support 2nd super block in case 1st one is accidently
corrupted or not synced properly.
2010-05-31 20:49:42 +02:00
Vladimir 'phcoder' Serbinenko
c2ffc8e956
* normal/main.c (grub_normal_add_menu_entry): Avoid going out of args.
...
Reported by: Seth Goldberg.
2010-05-31 20:46:16 +02:00
Vladimir 'phcoder' Serbinenko
5629316656
* loader/multiboot_mbi2.c (grub_multiboot_make_mbi): Fix incorrect
...
addition of dest.
Reported by: Seth Goldberg.
2010-05-31 20:43:28 +02:00
Vladimir 'phcoder' Serbinenko
7620e7debd
* commands/setpci.c (grub_setpci_iter): Fix an incorrect function check.
...
Reported by: Seth Goldberg.
2010-05-31 20:40:42 +02:00
Vladimir 'phcoder' Serbinenko
c837af3f38
* loader/multiboot_elfxx.c (grub_multiboot_load_elfXX) [__mips]: Check
...
64-bit address as signed on MIPS.
2010-05-31 20:23:51 +02:00
Vladimir 'phcoder' Serbinenko
89d90892d0
Merge usb into yeeloongfw
2010-05-31 14:21:34 +02:00
Aleš Nesrsta
778ff32476
Fix a bunch of problems with USB.
2010-05-31 14:11:41 +02:00
Vladimir 'phcoder' Serbinenko
7fd08f56ae
Shut down OHCI on booting
2010-05-31 14:01:38 +02:00
Vladimir 'phcoder' Serbinenko
8b1cf5e87f
Dedicated DMA allocation functions. CS5536 OHCI support.
2010-05-31 13:58:18 +02:00
Vladimir 'phcoder' Serbinenko
4fa54f9209
Remove leftover message
2010-05-31 08:25:20 +02:00
Vladimir 'phcoder' Serbinenko
8148171e96
Pad image to 512K for flashrom
2010-05-31 08:24:33 +02:00
Colin Watson
c7c75cf4cb
* configure.ac: AC_PROG_LEX sets LEX to ":" if lex is missing, not
...
to the empty string.
2010-05-28 18:13:48 +01:00
BVK Chaitanya
fa4b84900a
Fix grub-emu issues on NetBSD, with gcc 4.1.3.
...
* conf/any-emu.rmk: Remove unnecessary COMMON_CFLAGS.
* include/grub/emu/misc.h (canonicalize_file_name): New Prototype.
* kern/misc.c (__enable_execute_stack): Disable on
GRUB_MACHINE_EMU.
2010-05-28 19:18:45 +05:30
Colin Watson
a33075b941
Make grub-probe work with symbolic links under /dev/mapper as well
...
as with real block devices. The Linux world seems to be (at best)
in transition here, and GRUB shouldn't get caught in the middle.
* kern/emu/getroot.c (find_root_device): Follow symbolic links under
/dev/mapper.
2010-05-28 13:21:30 +01:00
BVK Chaitanya
64c10cde57
merge with mainline
2010-05-28 16:23:07 +05:30
Colin Watson
15fb2ae896
Make grub-probe work with symbolic links under /dev/mapper as well
...
as with real block devices. The Linux world seems to be (at best)
in transition here, and GRUB shouldn't get caught in the middle.
* kern/emu/getroot.c (find_root_device): Follow symbolic links under
/dev/mapper.
2010-05-28 11:51:50 +01:00
BVK Chaitanya
16eaf6f7c6
fixes for netbsd build
2010-05-28 16:18:22 +05:30
BVK Chaitanya
f17ead43f9
cygwin fixes
2010-05-27 17:04:31 -07:00
Colin Watson
26c9e9bf61
merge from mainline
2010-05-27 16:36:31 +01:00
Colin Watson
d870813427
* util/grub-script-check.c (main): Ensure defined behaviour on empty
...
input files (in which case exit zero).
2010-05-27 15:54:18 +01:00
Colin Watson
db2102a046
* kern/emu/misc.c (canonicalize_file_name): realpath can still
...
return NULL for various reasons even if it has a maximum-length
buffer: for example, there might be a symlink loop, or the path
might exceed PATH_MAX. If this happens, return NULL.
2010-05-27 15:45:41 +01:00
Robert Millan
5fdba519bb
2010-05-27 Robert Millan <rmh@gnu.org>
...
* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Insert
partmap module to handle cross-partmap setups.
Reported by Orestes Mas. Gràcies!
2010-05-27 16:38:16 +02:00
Colin Watson
d1d368e426
* util/grub-mkrescue.in: Initialise override_dir rather than
...
assuming that it's unset or empty in the environment.
2010-05-27 12:43:22 +01:00
Grégoire Sutre
95ac3c730c
Fix -Wshadow warning with emu build on NetBSD.
2010-05-26 23:49:52 +02:00
BVK Chaitanya
692d7c2855
pull-in emu-lite branch
2010-05-26 17:49:05 +05:30
BVK Chaitanya
ac4d5ab783
removed kern/emu/dl.c
2010-05-26 16:58:29 +05:30
BVK Chaitanya
c53fe8dfbb
build fixes for sparc64 and freebsd platforms
2010-05-26 16:53:43 +05:30
BVK Chaitanya
066e9dd87e
pull-in emu-fixes branch
2010-05-26 09:58:23 +05:30
BVK Chaitanya
5f02926bbc
emu build fixes for sparc64 and freebsd
2010-05-26 09:56:59 +05:30
BVK Chaitanya
7d8c021353
* INSTALL: Added flex >= 2.5.35 requirement.
2010-05-25 18:24:46 +05:30
BVK Chaitanya
a6b1d2075e
merge with mainline
2010-05-25 17:11:24 +05:30
BVK Chaitanya
e9c5186cf8
merge with mainline
2010-05-25 16:09:03 +05:30
Vladimir 'phcoder' Serbinenko
7eaef0ed51
fix compilation on not-yeeloong
2010-05-24 20:43:43 +02:00
Vladimir 'phcoder' Serbinenko
2226d68df1
merge mainline into yeeloongfw
2010-05-23 14:50:11 +02:00
Vladimir 'phcoder' Serbinenko
db4d5813e3
* commands/usbtest.c (grub_usb_get_string): Properly support UTF-16.
2010-05-23 14:37:28 +02:00
Vladimir 'phcoder' Serbinenko
f24f430030
cmostest support.
...
* commands/i386/cmostest.c: New file.
* conf/i386-coreboot.rmk (pkglib_MODULES): Add cmostest.mod.
(cmostest_mod_SOURCES): New variable.
(cmostest_mod_CFLAGS): Likewise.
(cmostest_mod_LDFLAGS): Likewise.
* conf/i386-pc.rmk: Likewise.
* docs/grub.texi (Vendor power-on keys): New section.
* util/grub-mkconfig.in: export GRUB_DEFAULT_BUTTON,
GRUB_HIDDEN_TIMEOUT_BUTTON, GRUB_TIMEOUT_BUTTON
and GRUB_BUTTON_CMOS_ADDRESS.
* util/grub.d/00_header.in: Handle powering-on by separate button.
2010-05-23 14:16:17 +02:00
Vladimir 'phcoder' Serbinenko
76e6d0d767
Add default/grub support
2010-05-23 14:11:11 +02:00
Vladimir 'phcoder' Serbinenko
ad603f61a5
* gfxmenu/gui_list.c (draw_menu): Don't add scrollbar width to padding.
...
Removed drawing_scrollbar argument. All users updated
Fixes #29792 .
Reported by Jo Shields
2010-05-23 13:59:50 +02:00
Vladimir 'phcoder' Serbinenko
3ecb080a33
* gfxmenu/view.c (grub_gfxmenu_draw_terminal_box): Apply only to current
...
buffer since gfxterm handles double repaint.
2010-05-23 13:43:38 +02:00