On Wednesday 28 September 2011 23:39:24 Vladimir 'φ-coder/phcoder' Serbinenko
wrote:
> On 14.09.2011 21:20, Szymon Janc wrote:
> > Hello,
> >
> > I've implemented support for LZO in grub, this includes:
> > - import of minilzo library (from [1])
>
Hello,
I've implemented support for LZO in grub, this includes:
- import of minilzo library (from [1])
- support for LZO (de)compression in btrfs (compress=lzo mount option)
- lzopio - for reading lzop compressed files
Some comments:
- with this code one is able to boot from btrfs partition that
On Saturday 25 June 2011 21:13:19 Aleš Nesrsta wrote:
> Hi,
Hi Aleš,
> because I still see no EHCI driver in GRUB for long time, I slowly
> prepared myself something what looks to be working...
> EHCI driver code is based on UHCI (OHCI) GRUB driver, no other source
> code was used (copied).
Thi
On Saturday 15 January 2011 01:37:13 Seth Goldberg wrote:
> Hi,
>
>Thanks for this. What's the goal of this patch? It seems that it marks
> the size and unknown until it gets to the metadata that indicates the
> file's size, then updates the size to the correct size, right? Where do
> you s
.
Testing and comments are welcome :)
--
Szymon K. Janc
szy...@janc.net.pl // GG: 1383435
=== modified file 'ChangeLog'
--- ChangeLog 2011-01-13 21:25:56 +
+++ ChangeLog 2011-01-14 23:53:37 +
@@ -1,3 +1,8 @@
+2011-01-15 Szymon Janc
+
+ * grub-core/kern/file.c (grub_file_rea
Szymon K. Janc
szy...@janc.net.pl // GG: 1383435
=== modified file 'ChangeLog'
--- ChangeLog 2011-01-13 21:25:56 +
+++ ChangeLog 2011-01-13 23:10:14 +
@@ -1,3 +1,10 @@
+2011-01-14 Szymon Janc
+
+ Put grub-mkrescue generated image on diet (modules compression and
+ xorriso optio
Hi all,
I've noticed that compilation warnings for regexp.c and wildcard.c are
suppressed by CFLAGS_GNULIB. Removing it expose ftbs caused by both missing
defines for gnulib and compilation warnings (see attached patch). I'm not sure
how we should handle missing defines but I think that we shou
,16 @@
+2010-09-16 Szymon Janc
+
+ Move some xz generic code from grub-core/io/xzio.c to
+ grub-core/lib/xzembed/xz_misc.{h|c}. It will be used in xzmemdisk.
+
+ * grub-core/lib/xzembed/xz_dec_stream.h: New defines
+ XZ_STREAM_FOOTER_SIZE, XZ_CRC_SIZE, VLI_MAX_DIGITS.
+ * grub-core/lib/xzembed
Dnia niedziela 11 kwiecień 2010 o 21:30:17 Szymon Janc napisał(a):
> Attached is a small fix for xzio read to act in grub way, not posix like.
Attached patch fix a nasty seek bug introduced by previous fix.
If You are brave enough to test xzio don't forget to apply this fix.
--
Dnia poniedziałek 12 kwiecień 2010 o 19:30:00 Vladimir 'φ-coder/phcoder'
Serbinenko napisał(a):
> > You can also buffer the block offsets so that you can seek in the part
> > of the file you have seen already.
>
> Decompressor is stateful so you'll need to save the sate as well which
> may eat mo
>decompressor->decompressed_block_buffer->caller) this
should work quite nicely.
As I've mentioned in my post about xz compression, I'll try to propose some
sollution fot that in the near future.
--
Szymon Janc
___
Grub-devel mailing li
Hello,
Attached patch adds support for compressing modules (and locales) with gzip or
xz. /boot/grub size is reduced ~45-55%.
I haven't done any real performance tests but here is short summary from
virtualbox (no gfxmenu and no unicode font) - time measured start after
grub_machine_init() an
Dnia czwartek 08 kwiecień 2010 o 23:55:28 Szymon Janc napisał(a):
> Hello,
>
> New version with various fixes, most noticable : seek support, respect not
> easly seekable flag, BCJ support.
Attached is a small fix for xzio read to act in grub way, not posix like.
--
Szymon
Hello,
New version with various fixes and suggestions from ML and IRC.
03_transparentio_indent.diff contains indetation fixes only not to blackout
04_transparentio.diff.
This patch depends on 02_fileseek.diff from previous post.
Commenst and testing are welcome.
TODO:
disable filters where nece
Hello,
Attached patch adds new flag to file structure.
It should be set by fs on files which cannot be easly seekable.
Also makes gzio respect this flag.
01_fileseek_indent.diff contains indentation fixes only not to blackout
02_fileseek.diff.
TODO:
should be also set by other fs when necessar
Dnia wtorek 16 luty 2010 o 19:16:19 Vladimir 'φ-coder/phcoder' Serbinenko
napisał(a):
> I like the patch however few comments:
> 1) How are filters ordered?
> 2) How would I selectively disable a filter. E.g. for hexdump or when
> payload expects compressed data?
>
> +/* Registered filters list.
Dnia wtorek 16 luty 2010 o 22:11:50 richardvo...@gmail.com napisał(a):
> Since gzip format allows decompression in pipeline mode, it's a
> virtual certainty that nothing from the footer is required for
> processing.
>
> And of course this is true of the xz format as well. I quote from the
> docu
Dnia wtorek 16 luty 2010 o 20:38:28 Seth Goldberg napisał(a):
> How do consumers of this interface determine the underlying cause of the
> problem? Sometimes, more layering creates more problems than it solves.
> Think about how you determine the message to display when getting a return
> value
Dnia wtorek 16 luty 2010 o 19:16:19 Vladimir 'φ-coder/phcoder' Serbinenko
napisał(a):
> I like the patch however few comments:
> 1) How are filters ordered?
Filters are tested in order that last registered filter is tested first. First
match stop further tests.
> 2) How would I selectively dis
Dnia wtorek 16 luty 2010 o 14:44:45 Vladimir 'φ-coder/phcoder' Serbinenko
napisał(a):
> + #define VLI_MAX_DIGITS 9
> Are you sure it's 9? It gives only 63 and not 64 bits
It is a limitation of xz format.
> + if (! test_header(file) || ! test_footer(file))
> + {
> Seeking to the end of file i
Hello,
Attached patch makes file reader transparent. It should make adding new filters
to file reader easier.
- gzio.h is gone
- gzio is no more transparent, transparency is handled in grub_file_open()
- renamed GRUB_ERR_BAD_GZIP_DATA to GRUB_ERR_BAD_IOFILTER_DATA, it will be
used by other ios
> + if (! file)
> + {
> + grub_error (GRUB_ERR_OUT_OF_MEMORY, "out of memory");
> + return 0;
> grub_error is already issued by grub_malloc, no need to put the same
> code here.
I think You have reviewed old patch, not the updated one :-)
--
Szymon Janc
Hello,
New version of xz compression patch.
Changes since then:
- it works now :-)
- decoder dictionary can be enlarge up to DICT_BIT_SIZE defined in xz_lzma2.h
(currently set to 30 = 128MiB)
- xz uses crc32 from libgcrypt-grub, internal crc implementation removed
- removed linux kernel related c
Hello,
Attached patch adds support for xz compressed files. Interface is similar to
gzio: grub_xzio_open() and grub_xzfile_open(). Files: xzio.h and xzio.c
Decompression algorithm is imported (no source code changes) from
http://tukaani.org/xz/embedded.html and is located in lib/xzembed directo
> On the PC architecture, you can't check for Escape without having some
> kind of delay. Only modifier keys can be checked instantaneously.
>
> http://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu/lucid/grub2/lucid/annot
> ate/head%3A/debian/patches/951_sleep_shift.diff has an alternative patch
Hello,
Attached patch makes sleep -i 0 "interruptible".
It allows to have 0 sleep yet selectable multiboot config
i.e.
if sleep --interruptible 0 ; then
set timeout=0
fi
--
Szymon K. Janc
szy...
26 matches
Mail list logo