Re: Please add better line editing

2017-04-02 Thread Michael Zimmermann
are you booting grub in BIOS or UEFI mode? GRUB in BIOS mode is usually pretty slow because it constantly has to switch between real and protected mode. In UEFI, GRUB is running at full speed. Ofc, that doesn't help you if you need to boot in BIOS mode, but it's a hint at where the slowness may co

Re: safety of save_env

2016-08-24 Thread Michael Zimmermann
ine data (not > yet in GRUB upstream). Can all the problems you've listed be detected? If so we can just deny writing if a specific fs feature is enabled. On Wed, Aug 24, 2016 at 10:10 AM, Andrei Borzenkov wrote: > 24.08.2016 10:17, Andrei Borzenkov пишет: > > 24.08.2016 07:15, M

Re: safety of save_env

2016-08-23 Thread Michael Zimmermann
I mean safe in the sense that it would not destroy data outside of that file (no matter if writing was successful or not) or even destroy/add errors to the filesystem.(ext*, f2fs, fat*, ...). On Tue, Aug 23, 2016 at 9:59 PM, Andrei Borzenkov wrote: > 23.08.2016 21:51, Michael Zimmermann пи

safety of save_env

2016-08-23 Thread Michael Zimmermann
Hi, how safe is the usage of save_env? I'm considering writing like 100MB to a loop file using the technique used by this command. Thanks Michael ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: Do grub-mkrescue GPT GUIDs need more entropy than --fs-uuid gets ?

2016-08-13 Thread Michael Zimmermann
couldn't we generate GUID's based on the current git revision? this way you reproduce the ISO without even looking at the timestamp. I don't know anything about the entropy requirements though. Lets wait for a reply of the maintainers about that. Thanks Michael On Thu, Aug 11, 2016 at 9:55 PM, T

Re: Grub module to return partuuid of a device such as (hd0, gpt1) at boot time

2016-08-13 Thread Michael Zimmermann
> Not sure why, but whatever reply I chose Thunderbird and Gmail only reply to list. no idea about thunderbird but in GMail you have the small arrow beneath the reply buttons, click it and select "Reply to all". On Sat, Aug 13, 2016 at 8:40 PM, Andrei Borzenkov wrote: > 13.08.2016 20:30, adrian1

Re: [f2fs-dev] [2.02] Re: [PATCH v8] F2FS support

2016-08-05 Thread Michael Zimmermann
> BTW, I've heard that openmandriva adopted this patch to support F2FS in their installer. And I've ported it to clover's GrubFSPkg which I'm using for EFIDroid :) Your timing was really perfect. The day I needed f2fs support I found your V1 in the mailing list :D https://github.com/efidroid/uefi_

Re: talking grub?

2016-04-30 Thread Michael Zimmermann
> audio, is not as difficult as it sounds thx for this sentence :P but now back on topic, accessibility sounds like an important feature. On Fri, Apr 29, 2016 at 11:28 AM, Vladimir 'phcoder' Serbinenko < phco...@gmail.com> wrote: > I have a WIP port of brltty but little time to finish it. If some

Re: Load arm-efi from within U-Boot

2016-03-10 Thread Michael Zimmermann
well you pushed the uboot relocation patch on Feb 27 and the uboot-efi patch was sent on Feb 26 :D :D :D On Thu, Mar 10, 2016 at 9:29 PM, Vladimir 'phcoder' Serbinenko < phco...@gmail.com> wrote: > > > On Wednesday, March 2, 2016, Andrei Borzenkov wrote: > >> Interesting idea. It seems to be act

Re: [2.02] Re: [f2fs-dev] [PATCH v7] F2FS support

2016-03-02 Thread Michael Zimmermann
I found a bug in the 'grub_f2fs_read_file' function. It fails when the file position is not 0. to fix it: - grub_memcpy (buf + pos, inline_addr + pos, len); + grub_memcpy (buf, inline_addr + pos, len); Michael On Tue, Mar 1, 2016 at 8:52 PM, Andrei Borzenkov wrote: > ACK from my side

Re: [PATCH v2] Initial support for the android bootimg filesystem.

2016-01-29 Thread Michael Zimmermann
I think we should create a new loader(maybe separating common linux and android code into a lib) for this rather than a filesystem because it would simplify grub.cfg files. Also in case we'll ever need to support 2ndloader(I'm like 99% sure this will never happen though) it would be easier to imple

Re: grub2 and touch screen

2015-06-27 Thread Michael Zimmermann
200 > Michael Zimmermann пишет: > > > doesn't your device have any buttons(volume?) without the keyboad? > > That would be way easier then adding touchscreen support especially if > UEFI > > doesn't provide a API for that(which I guess it doesn't). &g

Re: grub2 and touch screen

2015-06-24 Thread Michael Zimmermann
doesn't your device have any buttons(volume?) without the keyboad? That would be way easier then adding touchscreen support especially if UEFI doesn't provide a API for that(which I guess it doesn't). On Wed, Jun 24, 2015 at 2:06 PM, Theodore Christophe < mission_theod...@hotmail.com> wrote: > he

[PATCH] configure.ac: support -fdiagnostics-color=always

2015-04-06 Thread Michael Zimmermann
--- configure.ac | 9 + 1 file changed, 9 insertions(+) diff --git a/configure.ac b/configure.ac index 891c14f..1f8cb2c 100644 --- a/configure.ac +++ b/configure.ac @@ -1046,6 +1046,15 @@ if test "x$grub_cv_target_cc_qn" = xyes; then TARGET_CFLAGS="$TARGET_CFLAGS -Qn" fi +AC_CACHE_CH

Division Bugs

2015-04-04 Thread Michael Zimmermann
I think I found a bug but I'm not sure. http://git.savannah.gnu.org/gitweb/?p=grub.git;a=blob;f=grub-core/lib/division.c;h=920a79f18b7a7180bc5bcf18987c043b1df56687;hb=refs/heads/master#l53 at line 53 u write a value to ro: *ro = r; now take a look at the callers: http://git.savannah.gnu.org/gitwe

Re: Image scaling performance

2015-02-26 Thread Michael Zimmermann
well as u can see, boottime isn't detailed enough: http://puu.sh/gdRXp/fc8fc176ce.png Maybe I can hack printf to act a boottime. On Thu, Feb 26, 2015 at 6:16 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 26.02.2015 18:10, Michael Zimmermann wrote: >> >&

Re: Image scaling performance

2015-02-25 Thread Michael Zimmermann
your patch still has graphical glitches: http://puu.sh/gcpco/da369f26c7.png btw it should be legal because modified GPL code still is GPL code. On Wed, Feb 25, 2015 at 7:56 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 25.02.2015 19:46, Michael Zimmermann wrote: >>

Re: Image scaling performance

2015-02-25 Thread Michael Zimmermann
Why u think the native div code would crash on most devices? I support ARMv7+ only anyway. On Wed, Feb 25, 2015 at 5:23 PM, Leif Lindholm wrote: > On Wed, Feb 25, 2015 at 03:45:40PM +, Leif Lindholm wrote: >> > >> Some technical info: >> > >> ARMv7 >> > >> Linaro GCC 4.9 >> >> I don't see any

Re: Image scaling performance

2015-02-24 Thread Michael Zimmermann
what do u mean with "which is enabled on boot time."? what do linux kernel and userspace applications use? On Tue, Feb 24, 2015 at 1:39 PM, Vladimir 'phcoder' Serbinenko wrote: > > > Le Tue Feb 24 2015 at 12:48:10 PM, Michael Zimmermann > a écrit : >> >

Re: Image scaling performance

2015-02-24 Thread Michael Zimmermann
nko wrote: > > > Le Tue Feb 24 2015 at 11:01:03 AM, Michael Zimmermann > a écrit : >> >> the function seems to use __aeabi_uidiv. I'm not sure if this is a sw >> or hw implementation. > > software. Try attached patch >> >> Full code: >> ASM:

Re: Image scaling performance

2015-02-24 Thread Michael Zimmermann
of the function in question? Do you compile to > thumb? Multiplication sometimes generates function calls in thumb. Try > marking the scaling function as arm explicitly > > Le 2015-02-24 10:39, "Michael Zimmermann" a écrit > : >> >> Any ideas what could slow

Image scaling performance

2015-02-24 Thread Michael Zimmermann
Any ideas what could slow down the image scaling algorithm? The only reasons I could think of would either be slow memory or some compiler problems. Since my Ram is mapped cachable I don't think the RAM is too slow. I even forces using the Nearest neighbor algorithm already. It speeds things up a

Re: initrd loading, max size, addr_min, and page_align

2015-02-09 Thread Michael Zimmermann
yea everyone uses either the master branch or the latest beta - it should be pretty stable. I guess there just isn't anyone who has the time to test every single feature to find bugs so we can say it's 99% stable. ___ Grub-devel mailing list Grub-devel@

Re: [PATCH] arm: implement additional relocations generated by gcc 4.9 at -O3

2015-02-03 Thread Michael Zimmermann
Confirmed working, nice work. Michael On Tue, Feb 3, 2015 at 11:11 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Go ahead > On 03.02.2015 22:30, Leif Lindholm wrote: >> GCC 4.9 also generates R_ARM_THM_MOVW_ABS_NC and R_ARM_THM_MOVT_ABS, >> as an alternative to ABS32. >> >> Signed-off-by: L

Re: R_ARM(_THM)_MOVT_ABS(_NC) support

2015-02-03 Thread Michael Zimmermann
e error at runtime then). Michael On Tue, Feb 3, 2015 at 1:27 PM, Leif Lindholm wrote: > Hi Michael, > > Sorry for delay - travelling back from FOSDEM, then catching up on > work. > > On Tue, Feb 03, 2015 at 08:26:58AM +0100, Michael Zimmermann wrote: >> I reverted his co

Re: R_ARM(_THM)_MOVT_ABS(_NC) support

2015-02-02 Thread Michael Zimmermann
, 2015 at 1:36 PM, Michael Zimmermann wrote: > Oh sry, I totally forgot that I picked patches for mkimage. > That's the point is where I started forking grub to add Ian's patches: > https://github.com/grub4android/grub/commits/master?page=7 > > On Sun, Feb 1, 2015 at 1:32 PM

Re: R_ARM(_THM)_MOVT_ABS(_NC) support

2015-02-01 Thread Michael Zimmermann
Oh sry, I totally forgot that I picked patches for mkimage. That's the point is where I started forking grub to add Ian's patches: https://github.com/grub4android/grub/commits/master?page=7 On Sun, Feb 1, 2015 at 1:32 PM, Leif Lindholm wrote: > On Sun, Feb 01, 2015 at 12:43:40PM +

Re: R_ARM(_THM)_MOVT_ABS(_NC) support

2015-02-01 Thread Michael Zimmermann
100, Michael Zimmermann wrote: >> The configure line: >> ./configure --host arm-linux-gnueabihf CFLAGS='-static-libgcc >> -Wl,-static' TARGET_CFLAGS='-O3' >> >> My compiler is gcc-linaro-arm-linux-gnueabihf-4.9-2014.09 ( >> http://releases.lin

Re: R_ARM(_THM)_MOVT_ABS(_NC) support

2015-01-31 Thread Michael Zimmermann
cmdline_run (int nested, int force_auth) while (1) { - char *line; + char *line = NULL; if (grub_normal_exit_level) break; -- 2.1.0 On Sat, Jan 31, 2015 at 1:01 PM, Michael Zimmermann wrote: > I forgot the Linux distro: (it doesn't matter since I'm c

Re: R_ARM(_THM)_MOVT_ABS(_NC) support

2015-01-31 Thread Michael Zimmermann
I forgot the Linux distro: (it doesn't matter since I'm cross compiling) Ubuntu 14.10 On Sat, Jan 31, 2015 at 1:00 PM, Michael Zimmermann wrote: > The configure line: > ./configure --host arm-linux-gnueabihf CFLAGS='-static-libgcc > -Wl,-static' TARGET_CFLAGS='

Re: R_ARM(_THM)_MOVT_ABS(_NC) support

2015-01-31 Thread Michael Zimmermann
hread model: posix gcc version 4.9.2 20140904 (prerelease) (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09) Michael On Sat, Jan 31, 2015 at 12:45 PM, Leif Lindholm wrote: > On Sat, Jan 31, 2015 at 12:35:34PM +0100, Michael Zimmermann wrote: >> when compiling grub with O2 o

R_ARM(_THM)_MOVT_ABS(_NC) support

2015-01-31 Thread Michael Zimmermann
Hi, when compiling grub with O2 or O3 on a ARM target mkimage fails with "error: relocation4 X is not implemented yet" for R_ARM_THM_MOVT_ABS and R_ARM_THM_MOVW_ABS_NC (thumb) or R_ARM_MOVW_ABS and R_ARM_MOVW_ABS_NC (arm) Michael ___ Grub-devel mailing

GRUB test environment

2014-12-28 Thread Michael Zimmermann
What's the best way to easily test non arch specific changes to GRUB? The qemu tutorial usually are about booting linux and executing the grub installer which is not what u want when u need to test changes very often. ___ Grub-devel mailing list Grub-deve

Re: How can I submit patch for bug #42944 ?

2014-10-11 Thread Michael Zimmermann
@Colin I dunno if it's worth it for GRUB but did u ever think about a gerrit instance? It simplifies review a lot. On Fri, Oct 10, 2014 at 11:23 PM, Colin Watson wrote: > On Fri, Oct 10, 2014 at 04:44:39PM +, Rigoberto Corujo wrote: > > I attached a patch to bug #42944 and would like to know

Re: get partition by name

2014-09-29 Thread Michael Zimmermann
as it seems this commands looks for some filesystem specific label only. What I need is the partition name set in the GPT/MBR partition table. On Mon, Sep 29, 2014 at 1:04 PM, Colin Watson wrote: > On Mon, Sep 29, 2014 at 10:25:51AM +0200, Michael Zimmermann wrote: > > currently GR

get partition by name

2014-09-29 Thread Michael Zimmermann
Hi, currently GRUB allows selecting partitions by the partition number only - like (hd0,11). Sometimes - especially for embedded systems it would be useful to be able to select them by the name define in the partition table. like: (hd0,boot) or (hd0,rootfs). Are they any plans(or existing feature

lzmaio

2014-09-08 Thread Michael Zimmermann
I need a lzmaio decompression module and I'd like to know if there is sbd. who is able to create this in a short time(the lzma lib maintainer?). If not I'll write it myself, ofc. ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman