]> git.ipfire.org Git - thirdparty/grub.git/log
thirdparty/grub.git
15 years agocygwin fixes
BVK Chaitanya [Mon, 7 Jun 2010 11:53:54 +0000 (17:23 +0530)] 
cygwin fixes

15 years ago* util/grub.d/00_header.in: Quote values assigned to `saved_entry',
Colin Watson [Sat, 5 Jun 2010 19:44:44 +0000 (20:44 +0100)] 
* util/grub.d/00_header.in: Quote values assigned to `saved_entry',
in case they contain spaces.

15 years agofreebsd fixes
BVK Chaitanya [Sat, 5 Jun 2010 07:45:18 +0000 (13:15 +0530)] 
freebsd fixes

15 years agofixes for netbsd
BVK Chaitanya [Sat, 5 Jun 2010 06:50:37 +0000 (12:20 +0530)] 
fixes for netbsd

15 years agocleanup
BVK Chaitanya [Sat, 5 Jun 2010 06:10:25 +0000 (11:40 +0530)] 
cleanup

15 years ago* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Prepend
Colin Watson [Fri, 4 Jun 2010 12:53:30 +0000 (13:53 +0100)] 
* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Prepend
"part_" to partmap module names, in line with grub-install.
Reported by: Jindřich Makovička (Debian bug #584426).

15 years ago* util/grub-mkimage.c: Make target-related error messages slightly
Colin Watson [Fri, 4 Jun 2010 12:38:10 +0000 (13:38 +0100)] 
* util/grub-mkimage.c: Make target-related error messages slightly
more helpful; -O talks about "format".  Explicitly point to the use
of -O if no target is specified.
Reported by: Didier Raboud (Debian bug #584415).

15 years agofix for cygwin build
BVK Chaitanya [Fri, 4 Jun 2010 11:18:42 +0000 (16:48 +0530)] 
fix for cygwin build

15 years agoremove Ruby requirement from INSTALL
BVK Chaitanya [Fri, 4 Jun 2010 09:30:59 +0000 (15:00 +0530)] 
remove Ruby requirement from INSTALL

15 years agoadd -lutil for netbsd
BVK Chaitanya [Fri, 4 Jun 2010 05:00:25 +0000 (10:30 +0530)] 
add -lutil for netbsd

15 years agorename libutil to libgrub
BVK Chaitanya [Fri, 4 Jun 2010 04:04:28 +0000 (09:34 +0530)] 
rename libutil to libgrub

15 years agobzignore updates
BVK Chaitanya [Thu, 3 Jun 2010 10:02:21 +0000 (15:32 +0530)] 
bzignore updates

15 years agomore cleanup
BVK Chaitanya [Thu, 3 Jun 2010 10:00:15 +0000 (15:30 +0530)] 
more cleanup

15 years ago* INSTALL: Document several build requirements for optional features
Colin Watson [Thu, 3 Jun 2010 08:48:23 +0000 (09:48 +0100)] 
* INSTALL: Document several build requirements for optional features
(libdevmapper, ncurses, libusb, SDL, FreeType, GNU Unifont).

15 years agocleanup
BVK Chaitanya [Thu, 3 Jun 2010 06:22:33 +0000 (11:52 +0530)] 
cleanup

15 years agoHandle all possible disk device names for NetBSD.
Grégoire Sutre [Wed, 2 Jun 2010 22:47:22 +0000 (00:47 +0200)] 
Handle all possible disk device names for NetBSD.

15 years ago* docs/grub.texi (Simple configuration): Fix copy-and-paste typo.
Colin Watson [Wed, 2 Jun 2010 21:48:13 +0000 (22:48 +0100)] 
* docs/grub.texi (Simple configuration): Fix copy-and-paste typo.
Thanks to Jordan Uggla for spotting this.

15 years agoPoll device in usbtest
Vladimir 'phcoder' Serbinenko [Wed, 2 Jun 2010 19:55:29 +0000 (21:55 +0200)] 
Poll device in usbtest

15 years agoSome hotplug support (buggy)
Vladimir 'phcoder' Serbinenko [Wed, 2 Jun 2010 19:54:51 +0000 (21:54 +0200)] 
Some hotplug support (buggy)

15 years agoRemove extra empty line
Vladimir 'phcoder' Serbinenko [Wed, 2 Jun 2010 19:54:25 +0000 (21:54 +0200)] 
Remove extra empty line

15 years agoRestructure usbms as a preparation for hotplug
Vladimir 'phcoder' Serbinenko [Wed, 2 Jun 2010 17:52:17 +0000 (19:52 +0200)] 
Restructure usbms as a preparation for hotplug

15 years agoMerge mainline into usb
Vladimir 'phcoder' Serbinenko [Wed, 2 Jun 2010 16:05:01 +0000 (18:05 +0200)] 
Merge mainline into usb

15 years ago2010-06-02 Aleš Nesrsta <starous@volny.cz>
Aleš Nesrsta [Wed, 2 Jun 2010 15:16:20 +0000 (17:16 +0200)] 
2010-06-02  Aleš Nesrsta <starous@volny.cz>

Finally make USB usable.

* bus/usb/ohci.c (grub_ohci_reg_t): Add missing values.
(GRUB_OHCI_RHUB_PORT_POWER_MASK): New macro.
(GRUB_OHCI_RHUB_PORT_ALL_POWERED): Likewise.
(GRUB_OHCI_REG_FRAME_INTERVAL_FSMPS_MASK): Likewise.
(GRUB_OHCI_REG_FRAME_INTERVAL_FSMPS_SHIFT): Likewise.
(GRUB_OHCI_REG_FRAME_INTERVAL_FI_SHIFT): Likewise.
(GRUB_OHCI_FSMPS): Likewise.
(GRUB_OHCI_PERIODIC_START): Likewise.
(GRUB_OHCI_FRAME_INTERVAL): Likewise.
(GRUB_OHCI_SET_PORT_ENABLE): Likewise.
(GRUB_OHCI_CLEAR_PORT_ENABLE): Likewise.
(GRUB_OHCI_SET_PORT_RESET): Likewise.
(GRUB_OHCI_SET_PORT_RESET_STATUS_CHANGE): Likewise.
* bus/usb/ohci.c (grub_ohci_pci_iter): Various important fixups.
(grub_ohci_transaction): Likewise.
(grub_ohci_transfer): Improve condition detection algorithms.
Handle toggle property. Program the transactions correctly.
Improve error handling. Various important fixups.
(grub_ohci_portstatus): Put register writes in right order.
* bus/usb/uhci.c (grub_free_queue): Compute last_trans.
(grub_uhci_transfer): Don't show "failed" message on success.
* bus/usb/usb.c (grub_usb_set_configuration): Zero-fill whole "toggle"
array.
(grub_usb_device_initialize): Read first 8 bytes of descriptor to
determine its size.
* bus/usb/usbtrans.c (grub_usb_control_msg): Use descdev.maxsize0 even
before initialization is completed. Use IN direction for empty
transfers. Use last_trans and compute toggle.
* include/grub/usbtrans.h (grub_usb_transfer): New field last_trans.
(GRUB_USB_FEATURE_ENDP_HALT): Correct the value.
(GRUB_USB_FEATURE_DEV_REMOTE_WU): Likewise.
(GRUB_USB_FEATURE_TEST_MODE): Likewise.
* include/grub/usb.h (grub_usb_err_t): New value GRUB_USB_ERR_UNRECOVERABLE.
(grub_usb_device): Increase toggle to 256.
(grub_usbms_subclass_t): New values GRUB_USBMS_SUBCLASS_RBC,
GRUB_USBMS_SUBCLASS_MMC2, GRUB_USBMS_SUBCLASS_UFI and
GRUB_USBMS_SUBCLASS_SFF8070.
* include/grub/scsicmd.h (grub_scsi_test_unit_ready): New structure.
(grub_scsi_inquiry): New member page and alloc_length.
(grub_scsi_request_sense): New structure.
(grub_scsi_request_sense_data): Likewise.
(grub_scsi_read_capacity): New fields logical_block_addr, PMI and
control.
* disk/scsi.c (grub_scsi_request_sense): New function.
(grub_scsi_test_unit_ready): Likewise.
(grub_scsi_inquiry): Fill new fields.
(grub_scsi_read_capacity): Likewise.
(grub_scsi_read10): Add request sense at the end.
(grub_scsi_read12): Likewise.
(grub_scsi_write10): Likewise.
(grub_scsi_write12): Likewise.
(grub_scsi_open): Add Test Unit Ready.
* disk/usbms.c (grub_usbms_finddevs): Check configcnt.
Support additional subclasses. Con't clear halt yet. Activate the
proper config. Calculate LUNs correctly.
(grub_usbms_transfer): Various important fixups.

2010-06-02  Vladimir Serbinenko  <phcoder@gmail.com>

* bus/pci.c (grub_pci_iterate) [GRUB_MACHINE_MIPS_YEELOONG]: Skip ghosts.
* bus/usb/ohci.c (grub_ohci_portstatus): Handle R/WC correctly.
(grub_ohci_fini_hw): New function.
(grub_ohci_restore_hw): Likewise.
(GRUB_MOD_INIT(ohci)): Register preboot hook.
(GRUB_MOD_FINI(ohci)): Shutdown OHCI.
* term/usb_keyboard.c: Remove include of grub/machine/console.h.

2010-06-02  Vladimir Serbinenko  <phcoder@gmail.com>

Dedicated DMA allocations.

* bus/pci.c (grub_memalign_dma32): New function
(grub_dma_free): Likewise.
(grub_dma_get_virt): Likewise.
(grub_dma_get_phys): Likewise.
* bus/usb/ohci.c (grub_ohci): New members hcca_addr and hcca_chunk.
(grub_ohci_pci_iter): Use dma32_alloc.
(grub_ohci_transfer): Likewise.
* bus/usb/usbtrans.c (grub_usb_control_msg): Likewise.
(grub_usb_bulk_readwrite): Likewise.
* include/grub/pci.h: Add declarations.

2010-06-02  Vladimir Serbinenko  <phcoder@gmail.com>

CS5536 support.

* bus/cs5536.c: New file.
* bus/usb/ohci.c (grub_ohci_pci_iter): Check for CS5536.
* conf/i386.rmk (pkglib_MODULES): Add cs5536.mod.
(cs5536_mod_SOURCES): New variable.
(cs5536_mod_CFLAGS): Likewise.
(cs5536_mod_LDFLAGS): Likewise.
* conf/mips-yeeloong.rmk (kernel_img_HEADERS): Add cs5536.h and
machine/pci.h.
(kernel_img_SOURCES): Add bus/cs5536.c.
(pkglib_MODULES): Add usb.mod, usbtest.mod, ohci.mod, usbms.mod and
usb_keyboard.mod.
(usb_mod_SOURCES): New variable.
(usb_mod_CFLAGS): New variable.
(usb_mod_LDFLAGS): New variable.
(usbtest_mod_SOURCES): New variable.
(usbtest_mod_CFLAGS): New variable.
(usbtest_mod_LDFLAGS): New variable.
(ohci_mod_SOURCES): New variable.
(ohci_mod_CFLAGS): New variable.
(ohci_mod_LDFLAGS): New variable.
(usbms_mod_SOURCES): New variable.
(usbms_mod_CFLAGS): New variable.
(usbms_mod_LDFLAGS): New variable.
(usb_keyboard_mod_SOURCES): New variable.
(usb_keyboard_mod_CFLAGS): New variable.
(usb_keyboard_mod_LDFLAGS): New variable.
* include/grub/smbus.h: New file.
* include/grub/cs5536.h: New file.

Also-By: Vladimir Serbinenko <phcoder@gmail.com>
15 years agoAdd ChangeLog
Vladimir 'phcoder' Serbinenko [Wed, 2 Jun 2010 14:52:16 +0000 (16:52 +0200)] 
Add ChangeLog

15 years agoRemove double defines and use dma_free
Vladimir 'phcoder' Serbinenko [Wed, 2 Jun 2010 14:51:54 +0000 (16:51 +0200)] 
Remove double defines and use dma_free

15 years agoUse memset
Vladimir 'phcoder' Serbinenko [Wed, 2 Jun 2010 14:49:22 +0000 (16:49 +0200)] 
Use memset

15 years agoEnable USB on 64-bit (still won't work with >= 4GiB memory).
Vladimir 'phcoder' Serbinenko [Wed, 2 Jun 2010 14:48:10 +0000 (16:48 +0200)] 
Enable USB on 64-bit (still won't work with >= 4GiB memory).

15 years agoAdd necessarry cast
Vladimir 'phcoder' Serbinenko [Wed, 2 Jun 2010 14:46:55 +0000 (16:46 +0200)] 
Add necessarry cast

15 years agoRemove leftover early debug exit.
Vladimir 'phcoder' Serbinenko [Wed, 2 Jun 2010 14:46:37 +0000 (16:46 +0200)] 
Remove leftover early debug exit.

15 years agoSort scsi_cmd_t.
Vladimir 'phcoder' Serbinenko [Wed, 2 Jun 2010 14:45:43 +0000 (16:45 +0200)] 
Sort scsi_cmd_t.

15 years ago* util/grub.d/00_header.in: Add safety check to make sure that
Colin Watson [Wed, 2 Jun 2010 12:57:13 +0000 (13:57 +0100)] 
* util/grub.d/00_header.in: Add safety check to make sure that
${locale_dir} exists before trying to probe it.

15 years ago* docs/grub.texi (SCO UnixWare): Remove, at Vladimir's request and
Colin Watson [Wed, 2 Jun 2010 12:11:33 +0000 (13:11 +0100)] 
* docs/grub.texi (SCO UnixWare): Remove, at Vladimir's request and
per the GNU Coding Standards; this is now too obscure to be worth
documenting.
(QNX): Likewise.
(chainloader): Remove cross-reference to `SCO UnixWare'.

15 years ago* docs/grub.texi (Chain-loading): New section.
Colin Watson [Wed, 2 Jun 2010 11:47:11 +0000 (12:47 +0100)] 
* docs/grub.texi (Chain-loading): New section.
(DOS/Windows): New section, borrowed from GRUB Legacy with details
adjusted for GRUB 2.
(SCO UnixWare): Likewise.
(QNX): Likewise.
(chainloader): Add reference to `Block list syntax'.
(drivemap): New section.
(parttool): New section.

15 years ago* docs/grub.texi (GNU GRUB manual): Remove reference to `Invoking
Colin Watson [Wed, 2 Jun 2010 10:26:28 +0000 (11:26 +0100)] 
* docs/grub.texi (GNU GRUB manual): Remove reference to `Invoking
the grub shell'.
(Installation): Add reference to `Making a GRUB bootable CD-ROM'.
(Installing GRUB using grub-install): Remove reference to the grub
shell; mention `grub-mkimage' and `grub-setup' instead.
(Invoking grub-install): Likewise.
(Interface): Add reference to `Menu entry editor'.
(serial): Remove `--device' option.

15 years ago* docs/grub.texi (Configuration): New section, documenting
Colin Watson [Wed, 2 Jun 2010 10:14:02 +0000 (11:14 +0100)] 
* docs/grub.texi (Configuration): New section, documenting
configuration file generation using grub-mkconfig.  I've left a slot
for documenting the full shell scripting format but have not yet
started on writing that up.
(Invoking grub-mkconfig): New section.

15 years agopull-in emu-lite fixes
BVK Chaitanya [Wed, 2 Jun 2010 09:48:33 +0000 (15:18 +0530)] 
pull-in emu-lite fixes

15 years agoreview fixes
BVK Chaitanya [Wed, 2 Jun 2010 09:15:07 +0000 (14:45 +0530)] 
review fixes

15 years agoreview fixes
BVK Chaitanya [Wed, 2 Jun 2010 08:21:05 +0000 (13:51 +0530)] 
review fixes

15 years agomerge with mainline
BVK Chaitanya [Wed, 2 Jun 2010 03:42:52 +0000 (09:12 +0530)] 
merge with mainline

15 years agoShut down PHCI controller harder
Vladimir 'phcoder' Serbinenko [Wed, 2 Jun 2010 03:00:54 +0000 (05:00 +0200)] 
Shut down PHCI controller harder

15 years agoDisable unused list
Vladimir 'phcoder' Serbinenko [Wed, 2 Jun 2010 02:52:52 +0000 (04:52 +0200)] 
Disable unused list

15 years agoFix last_trans determination
Vladimir 'phcoder' Serbinenko [Wed, 2 Jun 2010 02:52:35 +0000 (04:52 +0200)] 
Fix last_trans determination

15 years agoFewstylistic fixes
Vladimir 'phcoder' Serbinenko [Wed, 2 Jun 2010 02:51:35 +0000 (04:51 +0200)] 
Fewstylistic fixes

15 years ago* docs/grub.texi (direntry): Remove grub-terminfo reference.
Colin Watson [Wed, 2 Jun 2010 01:50:04 +0000 (02:50 +0100)] 
* docs/grub.texi (direntry): Remove grub-terminfo reference.
(GNU GRUB manual): Likewise.
(General commands): Update description of `terminfo' for GRUB 2.

15 years ago* commands/gptsync.c (grub_cmd_gptsync): Fix typos.
Colin Watson [Wed, 2 Jun 2010 01:37:55 +0000 (02:37 +0100)] 
* 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.

15 years ago* conf/any-emu.rmk (kernel_img_SOURCES) [!x86]: Include
Colin Watson [Wed, 2 Jun 2010 00:23:34 +0000 (01:23 +0100)] 
* conf/any-emu.rmk (kernel_img_SOURCES) [!x86]: Include
kern/$(target_cpu)/cache.S even if TARGET_NO_MODULES = yes.

15 years agoUse dev->descdev.maxsize0 even if dev->initialized isn't set
Aleš Nesrsta [Wed, 2 Jun 2010 00:04:45 +0000 (02:04 +0200)] 
Use dev->descdev.maxsize0 even if dev->initialized isn't set

15 years agofix indentation
Colin Watson [Tue, 1 Jun 2010 17:40:45 +0000 (18:40 +0100)] 
fix indentation

15 years ago* disk/mdraid_linux.c (grub_mdraid_detect): Fix calculation of 1.x
Peter Henn [Tue, 1 Jun 2010 17:40:03 +0000 (18:40 +0100)] 
* 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.

15 years agoAdd btrfs probing support, currently only in the single-device case.
Colin Watson [Tue, 1 Jun 2010 17:30:20 +0000 (18:30 +0100)] 
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.

15 years ago* kern/emu/getroot.c (find_root_device_from_mountinfo): Use getline instead
Colin Watson [Tue, 1 Jun 2010 17:05:29 +0000 (18:05 +0100)] 
* 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.

15 years agomerge with mainline
BVK Chaitanya [Tue, 1 Jun 2010 12:22:31 +0000 (17:52 +0530)] 
merge with mainline

15 years agopull-in emu-lite
BVK Chaitanya [Tue, 1 Jun 2010 03:42:01 +0000 (09:12 +0530)] 
pull-in emu-lite

15 years agoMerge Aleš' latest patch
Aleš Nesrsta [Tue, 1 Jun 2010 00:10:19 +0000 (02:10 +0200)] 
Merge Aleš' latest patch

15 years ago * disk/i386/pc/biosdisk.c (grub_biosdisk_open): Use
Vladimir 'phcoder' Serbinenko [Mon, 31 May 2010 19:01:01 +0000 (21:01 +0200)] 
* disk/i386/pc/biosdisk.c (grub_biosdisk_open): Use
GRUB_DISK_SIZE_UNKNOWN.
* disk/ieee1275/ofdisk.c (grub_ofdisk_open): Likewise.

15 years ago * include/grub/disk.h (GRUB_DISK_SIZE_UNKNOWN): New macro.
Jiro SEKIBA [Mon, 31 May 2010 18:49:42 +0000 (20:49 +0200)] 
* 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.

15 years ago * normal/main.c (grub_normal_add_menu_entry): Avoid going out of args.
Vladimir 'phcoder' Serbinenko [Mon, 31 May 2010 18:46:16 +0000 (20:46 +0200)] 
* normal/main.c (grub_normal_add_menu_entry): Avoid going out of args.
Reported by: Seth Goldberg.

15 years ago * loader/multiboot_mbi2.c (grub_multiboot_make_mbi): Fix incorrect
Vladimir 'phcoder' Serbinenko [Mon, 31 May 2010 18:43:28 +0000 (20:43 +0200)] 
* loader/multiboot_mbi2.c (grub_multiboot_make_mbi): Fix incorrect
addition of dest.
Reported by: Seth Goldberg.

15 years ago * commands/setpci.c (grub_setpci_iter): Fix an incorrect function check.
Vladimir 'phcoder' Serbinenko [Mon, 31 May 2010 18:40:42 +0000 (20:40 +0200)] 
* commands/setpci.c (grub_setpci_iter): Fix an incorrect function check.
Reported by: Seth Goldberg.

15 years ago * loader/multiboot_elfxx.c (grub_multiboot_load_elfXX) [__mips]: Check
Vladimir 'phcoder' Serbinenko [Mon, 31 May 2010 18:23:51 +0000 (20:23 +0200)] 
* loader/multiboot_elfxx.c (grub_multiboot_load_elfXX) [__mips]: Check
64-bit address as signed on MIPS.

15 years agoMerge usb into yeeloongfw
Vladimir 'phcoder' Serbinenko [Mon, 31 May 2010 12:21:34 +0000 (14:21 +0200)] 
Merge usb into yeeloongfw

15 years agoFix a bunch of problems with USB.
Aleš Nesrsta [Mon, 31 May 2010 12:11:41 +0000 (14:11 +0200)] 
Fix a bunch of problems with USB.

15 years agoShut down OHCI on booting
Vladimir 'phcoder' Serbinenko [Mon, 31 May 2010 12:01:38 +0000 (14:01 +0200)] 
Shut down OHCI on booting

15 years agoDedicated DMA allocation functions. CS5536 OHCI support.
Vladimir 'phcoder' Serbinenko [Mon, 31 May 2010 11:58:18 +0000 (13:58 +0200)] 
Dedicated DMA allocation functions. CS5536 OHCI support.

15 years agoRemove leftover message
Vladimir 'phcoder' Serbinenko [Mon, 31 May 2010 06:25:20 +0000 (08:25 +0200)] 
Remove leftover message

15 years agoPad image to 512K for flashrom
Vladimir 'phcoder' Serbinenko [Mon, 31 May 2010 06:24:33 +0000 (08:24 +0200)] 
Pad image to 512K for flashrom

15 years ago* configure.ac: AC_PROG_LEX sets LEX to ":" if lex is missing, not
Colin Watson [Fri, 28 May 2010 17:13:48 +0000 (18:13 +0100)] 
* configure.ac: AC_PROG_LEX sets LEX to ":" if lex is missing, not
to the empty string.

15 years ago Fix grub-emu issues on NetBSD, with gcc 4.1.3.
BVK Chaitanya [Fri, 28 May 2010 13:48:45 +0000 (19:18 +0530)] 
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.

15 years agoMake grub-probe work with symbolic links under /dev/mapper as well
Colin Watson [Fri, 28 May 2010 12:21:30 +0000 (13:21 +0100)] 
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.

15 years agomerge with mainline
BVK Chaitanya [Fri, 28 May 2010 10:53:07 +0000 (16:23 +0530)] 
merge with mainline

15 years agoMake grub-probe work with symbolic links under /dev/mapper as well
Colin Watson [Fri, 28 May 2010 10:51:50 +0000 (11:51 +0100)] 
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.

15 years agofixes for netbsd build
BVK Chaitanya [Fri, 28 May 2010 10:48:22 +0000 (16:18 +0530)] 
fixes for netbsd build

15 years agocygwin fixes
BVK Chaitanya [Fri, 28 May 2010 00:04:31 +0000 (17:04 -0700)] 
cygwin fixes

15 years agomerge from mainline
Colin Watson [Thu, 27 May 2010 15:36:31 +0000 (16:36 +0100)] 
merge from mainline

15 years ago* util/grub-script-check.c (main): Ensure defined behaviour on empty
Colin Watson [Thu, 27 May 2010 14:54:18 +0000 (15:54 +0100)] 
* util/grub-script-check.c (main): Ensure defined behaviour on empty
input files (in which case exit zero).

15 years ago* kern/emu/misc.c (canonicalize_file_name): realpath can still
Colin Watson [Thu, 27 May 2010 14:45:41 +0000 (15:45 +0100)] 
* 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.

15 years ago2010-05-27 Robert Millan <rmh@gnu.org>
Robert Millan [Thu, 27 May 2010 14:38:16 +0000 (16:38 +0200)] 
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!

15 years ago* util/grub-mkrescue.in: Initialise override_dir rather than
Colin Watson [Thu, 27 May 2010 11:43:22 +0000 (12:43 +0100)] 
* util/grub-mkrescue.in: Initialise override_dir rather than
assuming that it's unset or empty in the environment.

15 years agoFix -Wshadow warning with emu build on NetBSD.
Grégoire Sutre [Wed, 26 May 2010 21:49:52 +0000 (23:49 +0200)] 
Fix -Wshadow warning with emu build on NetBSD.

15 years agopull-in emu-lite branch
BVK Chaitanya [Wed, 26 May 2010 12:19:05 +0000 (17:49 +0530)] 
pull-in emu-lite branch

15 years agoremoved kern/emu/dl.c
BVK Chaitanya [Wed, 26 May 2010 11:28:29 +0000 (16:58 +0530)] 
removed kern/emu/dl.c

15 years agobuild fixes for sparc64 and freebsd platforms
BVK Chaitanya [Wed, 26 May 2010 11:23:43 +0000 (16:53 +0530)] 
build fixes for sparc64 and freebsd platforms

15 years agopull-in emu-fixes branch
BVK Chaitanya [Wed, 26 May 2010 04:28:23 +0000 (09:58 +0530)] 
pull-in emu-fixes branch

15 years agoemu build fixes for sparc64 and freebsd
BVK Chaitanya [Wed, 26 May 2010 04:26:59 +0000 (09:56 +0530)] 
emu build fixes for sparc64 and freebsd

15 years ago * INSTALL: Added flex >= 2.5.35 requirement.
BVK Chaitanya [Tue, 25 May 2010 12:54:46 +0000 (18:24 +0530)] 
* INSTALL: Added flex >= 2.5.35 requirement.

15 years agomerge with mainline
BVK Chaitanya [Tue, 25 May 2010 11:41:24 +0000 (17:11 +0530)] 
merge with mainline

15 years agomerge with mainline
BVK Chaitanya [Tue, 25 May 2010 10:39:03 +0000 (16:09 +0530)] 
merge with mainline

15 years agofix compilation on not-yeeloong
Vladimir 'phcoder' Serbinenko [Mon, 24 May 2010 18:43:43 +0000 (20:43 +0200)] 
fix compilation on not-yeeloong

15 years agomerge mainline into yeeloongfw
Vladimir 'phcoder' Serbinenko [Sun, 23 May 2010 12:50:11 +0000 (14:50 +0200)] 
merge mainline into yeeloongfw

15 years ago * commands/usbtest.c (grub_usb_get_string): Properly support UTF-16.
Vladimir 'phcoder' Serbinenko [Sun, 23 May 2010 12:37:28 +0000 (14:37 +0200)] 
* commands/usbtest.c (grub_usb_get_string): Properly support UTF-16.

15 years ago cmostest support.
Vladimir 'phcoder' Serbinenko [Sun, 23 May 2010 12:16:17 +0000 (14:16 +0200)] 
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.

15 years agoAdd default/grub support
Vladimir 'phcoder' Serbinenko [Sun, 23 May 2010 12:11:11 +0000 (14:11 +0200)] 
Add default/grub support

15 years ago * gfxmenu/gui_list.c (draw_menu): Don't add scrollbar width to padding.
Vladimir 'phcoder' Serbinenko [Sun, 23 May 2010 11:59:50 +0000 (13:59 +0200)] 
* 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

15 years ago * gfxmenu/view.c (grub_gfxmenu_draw_terminal_box): Apply only to current
Vladimir 'phcoder' Serbinenko [Sun, 23 May 2010 11:43:38 +0000 (13:43 +0200)] 
* gfxmenu/view.c (grub_gfxmenu_draw_terminal_box): Apply only to current
buffer since gfxterm handles double repaint.

15 years ago * gfxmenu/gfxmenu.c (grub_gfxmenu_try): Change viewport on both buffers.
Vladimir 'phcoder' Serbinenko [Sun, 23 May 2010 11:42:16 +0000 (13:42 +0200)] 
* gfxmenu/gfxmenu.c (grub_gfxmenu_try): Change viewport on both buffers.
* term/gfxterm.c (real_scroll): Likewise.

15 years agoMacroify command and status registers
Vladimir 'phcoder' Serbinenko [Sun, 23 May 2010 00:41:16 +0000 (02:41 +0200)] 
Macroify command and status registers

15 years agoAdd missing volatile attribute
Vladimir 'phcoder' Serbinenko [Sat, 22 May 2010 22:17:51 +0000 (00:17 +0200)] 
Add missing volatile attribute

15 years agoAlways write the whole of frame interval register
Vladimir 'phcoder' Serbinenko [Sat, 22 May 2010 22:17:16 +0000 (00:17 +0200)] 
Always write the whole of frame interval register

15 years agoMacroify USB controllers ID
Vladimir 'phcoder' Serbinenko [Sat, 22 May 2010 22:14:23 +0000 (00:14 +0200)] 
Macroify USB controllers ID

15 years agoUse DMA memory in usbtrans.c
Vladimir 'phcoder' Serbinenko [Sat, 22 May 2010 22:13:37 +0000 (00:13 +0200)] 
Use DMA memory in usbtrans.c