On 2015-06-15 14:15, Andrei Borzenkov wrote:
В Thu, 28 Aug 2014 16:56:02 -0300
Paulo Flabiano Smorigo пишет:
From: Paulo Flabiano Smorigo
Hi,
At the beginning of the year we provide a patchset that enabled GRUB for
little-endian PowerPC. Our approach at the time was to build GRUB itself
libgcc dependency was removed *just* for this target because
the distros that use ppc64el doesn't have 32-bit support on it.
* configure.ac: Add targets for powerpc64el and skip libgcc.
* Makefile.am: Likewise.
---
configure.ac | 8
1 file changed, 8 insertions(+)
diff --git a/configure
* grub-core/kern/elf.c: check and switch endianess with grub_{be,le}_to
cpu functions.
* grub-core/kern/elfXX.c: Likewise.
Also-by: Tomohiro B Berry
---
grub-core/kern/elf.c | 60 +++--
grub-core/kern/elfXX.c | 73
It's almost the same as the one that I sent in the beginning of the year.
The only difference is that the I remove a flag from the first patch.
Paulo Flabiano Smorigo (2):
Add powerpc little-endian (ppc64le) flags
Suport for bi-endianess in elf file
configure.ac | 8 ++
some toolchain folks and this flag is really old. IIUC even
before GCC 2.95, which was released at March 16, 2001.
Le 30 juin 2015 14:57, "Paulo Flabiano Smorigo"
a écrit :
libgcc dependency was removed *just* for this target because
the distros that use ppc64el doesn
reaking
old compilers
>
-static and -mbig-endian are listed in gcc 2.95.3 documentation for PPC.
> Le 30 juin 2015 14:57, "Paulo Flabiano Smorigo"
> mailto:pfsmor...@linux.vnet.ibm.com>> a écrit :
>>
>> libgcc dependency was rem
On 2015-06-30 12:03, Andrei Borzenkov wrote:
Did you intentionally ignore my comments to previous version?
OH no, sorry, I will take a look.
Отправлено с iPhone
30 июня 2015 г., в 15:56, Paulo Flabiano Smorigo
написал(а):
* grub-core/kern/elf.c: check and switch endianess with grub_{be
rg/mailman/listinfo/grub-devel
Here works too. Both native and cross-compiled.
--
Paulo Flabiano Smorigo
IBM Linux Technology Center
___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
we
can commit both.
___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
--
Paulo Flabiano Smorigo
IBM Linux Technology Center
___
Grub-devel mailing list
Grub-devel@gnu.org
https://l
Updated version with the suggestions from Andrei Borzenkov.
* grub-core/kern/elf.c: check and switch endianess with grub_{be,le}_to
cpu functions.
* grub-core/kern/elfXX.c: Likewise.
Also-by: Tomohiro B Berry
---
grub-core/kern/elf.c | 51 ++---
grub-core/kern/elfX
On 2015-07-24 16:00, Vladimir 'phcoder' Serbinenko wrote:
Le 23 juil. 2015 16:11, "Paulo Flabiano Smorigo"
mailto:pfsmor...@linux.vnet.ibm.com>> a
écrit :
>
> Updated version with the suggestions from Andrei Borzenkov.
>
> * grub-core/kern/elf.c: check
Read all children from sas path and add it to the device list.
---
grub-core/disk/ieee1275/ofdisk.c | 51
include/grub/ieee1275/ofdisk.h | 3 +++
2 files changed, 54 insertions(+)
diff --git a/grub-core/disk/ieee1275/ofdisk.c b/grub-core/disk/ieee1275/
All SAS disks attached will be added to the device list. This is the second
version of a patch that I send a while ago [1].
[1] https://lists.gnu.org/archive/html/grub-devel/2015-08/msg0.html
---
grub-core/disk/ieee1275/ofdisk.c | 76
1 file changed,
The table must be allocated in order to avoid memory leak. Also added some
vscsi paths for illustration purpose.
---
grub-core/disk/ieee1275/ofdisk.c | 30 +-
1 file changed, 25 insertions(+), 5 deletions(-)
diff --git a/grub-core/disk/ieee1275/ofdisk.c b/grub-core/di
On Mon, Nov 9, 2015 at 2:18 AM, Andrei Borzenkov wrote:
> 09.11.2015 04:29, Paulo Flabiano Smorigo пишет:
>>
>> All SAS disks attached will be added to the device list. This is the
>> second
>> version of a patch that I send a while ago [1].
>>
>> [1] https:
On Mon, Nov 9, 2015 at 8:46 AM, Vladimir 'φ-coder/phcoder' Serbinenko
wrote:
> On 09.11.2015 02:33, Paulo Flabiano Smorigo wrote:
>> + /* 64 entries should be enough */
>> + table_size = sizeof (grub_uint64_t) * 64;
> Can we do something better than assum
On Mon, Nov 9, 2015 at 10:03 AM, Vladimir 'phcoder' Serbinenko
wrote:
>
> Le 9 nov. 2015 1:00 PM, "Paulo Flabiano Smorigo" a
> écrit :
>>
>> On Mon, Nov 9, 2015 at 8:46 AM, Vladimir 'φ-coder/phcoder' Serbinenko
>> wrote:
>> > On
On Mon, Nov 9, 2015 at 10:01 AM, Vladimir 'phcoder' Serbinenko
wrote:
>
> Le 9 nov. 2015 8:39 AM, "Paulo Flabiano Smorigo"
> a écrit :
>>
>> All SAS disks attached will be added to the device list. This is the
>> second
>> version of
Same patch with the fixes.
---
grub-core/disk/ieee1275/ofdisk.c | 77
1 file changed, 77 insertions(+)
diff --git a/grub-core/disk/ieee1275/ofdisk.c b/grub-core/disk/ieee1275/ofdisk.c
index 297f058..8caca16 100644
--- a/grub-core/disk/ieee1275/ofdisk.c
++
On Mon, Nov 9, 2015 at 2:49 PM, Vladimir 'phcoder' Serbinenko
wrote:
>
> Le 9 nov. 2015 5:34 PM, "Paulo Flabiano Smorigo" a
> écrit :
>>
>> On Mon, Nov 9, 2015 at 10:03 AM, Vladimir 'phcoder' Serbinenko
>> wrote:
>> >
&
Same patch with the fix.
---
grub-core/disk/ieee1275/ofdisk.c | 75
1 file changed, 75 insertions(+)
diff --git a/grub-core/disk/ieee1275/ofdisk.c b/grub-core/disk/ieee1275/ofdisk.c
index 297f058..ef290bc 100644
--- a/grub-core/disk/ieee1275/ofdisk.c
+++ b
Yes, that could be an option. phcoder, can I commit using andrei's approach?
--
P. F. Smorigo
On Wed, Nov 11, 2015 at 3:28 PM, Andrei Borzenkov wrote:
> 11.11.2015 16:14, Paulo Flabiano Smorigo пишет:
>
>> Same patch with the fix.
>> ---
>> grub-cor
Changes:
- using sizeof ("/disk@7766554433221100");
- grub_uint64_t *table;
---
grub-core/disk/ieee1275/ofdisk.c | 76
1 file changed, 76 insertions(+)
diff --git a/grub-core/disk/ieee1275/ofdisk.c b/grub-core/disk/ieee1275/ofdisk.c
index 297f058..b1f7c56
On Wed, Nov 11, 2015 at 11:39 PM, Vladimir 'phcoder' Serbinenko
wrote:
> Other than small comment inline go ahead
>
> Le 12 nov. 2015 1:36 AM, "Paulo Flabiano Smorigo"
> a écrit :
>
>>
>
>> Changes:
>
>> - using siz
The correct link is:
http://git.savannah.gnu.org/gitweb/?p=grub.git;a=commit;h=84a0e9699f8d3cd2900892e8fafca42cde09dbfb
On Tue, Oct 22, 2013 at 9:11 PM, Paulo Flabiano Smorigo/Brazil/IBM
wrote:
> Hi All,
>
> After a couple of weeks of development and with a great help from Vladimir
>
Thu, Dec 26, 2013 at 03:25:28PM -0200, pfsmor...@linux.vnet.ibm.com wrote:
> Mon, Dec 23, 2013 at 09:02:57PM +0400, Andrey Borzenkov wrote:
> > В Пн, 23/12/2013 в 11:34 -0500, Paulo Flabiano Smorigo/Brazil/IBM пишет:
> > > Hello everyone,
> > >
> > > With t
Thu, Jan 09, 2014 at 07:05:16AM +0400, Andrey Borzenkov wrote:
> В Wed, 8 Jan 2014 16:57:28 -0200
> Paulo Flabiano Smorigo пишет:
>
> > +
> > + inter->vlantag.pcp = vlantag >> 12;
> > + inter->vlantag.dei = (vlantag >> 11) & 0x1;
_NET_TRIES 40
#define GRUB_NET_INTERVAL 400
+#define GRUB_NET_INTERVAL_ADDITION 20
#endif /* ! GRUB_NET_HEADER */
--
1.8.2.1
--
Paulo Flabiano Smorigo
IBM Linux Technology Center
___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
ts for each card
and just mark them as used and not used. */
--
1.8.2.1
--
Paulo Flabiano Smorigo
IBM Linux Technology Center
___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
e the arp response
code
after the release.
diff --git a/ChangeLog b/ChangeLog
index cfa9c83..10e9c3d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2014-01-31 Paulo Flabiano Smorigo
+
+ * grub-core/net/arp.c (grub_net_arp_receive): Trim arp packets with
+ abnormal
Fri, Jan 31, 2014 at 08:02:07PM +0400, Andrey Borzenkov wrote:
> В Fri, 31 Jan 2014 13:35:11 -0200
> Paulo Flabiano Smorigo пишет:
>
> > * grub-core/net/arp.c (grub_net_arp_receive): Trim arp packets with
> > abnormal size.
> >
> > GRUB uses arp request t
From: Paulo Flabiano Smorigo
Hi,
At the beginning of the year we provide a patchset that enabled GRUB for
little-endian PowerPC. Our approach at the time was to build GRUB itself and
its tools in 64-bit little-endian. One of the reasons of build in 64-bit is
to avoid 32-bit dependencies in the
libgcc dependency was removed *just* for this target because
the distros that use ppc64el doesn't have 32-bit support on it.
* configure.ac: Add targets for powerpc64el and skip libgcc.
* Makefile.am: Likewise.
---
configure.ac | 17 +++--
grub-core/Makefile.am | 2 ++
2 fil
* grub-core/kern/elf.c: check and switch endianess with grub_{be,le}_to
cpu functions.
* grub-core/kern/elfXX.c: Likewise.
Also-by: Tomohiro B Berry
---
grub-core/kern/elf.c | 60 +++--
grub-core/kern/elfXX.c | 73 ++
As we avoid libgcc dependency for powerpc64el, we moved some functions
to other files and add the necessary ones.
* Makefile.core.def: Include compiler-rt.S.
* misc.c: Add the necessary libgcc functions.
* compiler-rt.S: New file.
* libgcc.h: Move some content from here ...
* compiler.h: ... to he
> > -void EXPORT_FUNC (_savegpr_31) (void);
> > -#endif
> > -
> > #if defined (__arm__)
> > void EXPORT_FUNC (__aeabi_lasr) (void);
> > void EXPORT_FUNC (__aeabi_llsl) (void);
>
> I don't think you should touch this file at al
Thu, Aug 28, 2014 at 04:56:03PM -0300, Paulo Flabiano Smorigo wrote:
> libgcc dependency was removed *just* for this target because
> the distros that use ppc64el doesn't have 32-bit support on it.
>
> * configure.ac: Add targets for powerpc64el and skip libgcc.
> * M
VSX bit is enabled by default for Power7 and Power8 CPU models,
so we need to disable them in order to avoid instruction exceptions.
Kernel will activate it when necessary.
Also-By: Adhemerval Zanella
---
ChangeLog | 10 ++
grub-core/kern/powerpc/ieee1275/
Always clear text attribute for clear command in order to avoid problems
after it boots.
* grub-core/term/terminfo.c: Add escape for text attribute reset
---
grub-core/term/terminfo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/grub-core/term/terminfo.c b/grub-core/term/te
13, 0
--
1.8.1.4
--
Paulo Flabiano Smorigo
IBM Linux Technology Center
___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
strdup ("\e[7m");
data->reverse_video_off = grub_strdup ("\e[m");
if (grub_strcmp ("ieee1275", str) == 0)
--
1.8.1.4
--
Paulo Flabiano Smorigo
IBM Linux Technology Center
___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
Sun, Sep 21, 2014 at 06:24:25PM +0400, Andrei Borzenkov wrote:
> В Sun, 21 Sep 2014 17:58:44 +0400
> Andrei Borzenkov пишет:
>
> > В Thu, 28 Aug 2014 16:56:02 -0300
> > Paulo Flabiano Smorigo пишет:
> >
> > > From: Paulo Flabiano Smorigo
> > >
&
Fri, Sep 26, 2014 at 11:14:00AM +0100, Colin Watson wrote:
> On Thu, Sep 25, 2014 at 07:33:39PM -0300, Paulo Flabiano Smorigo wrote:
> > @@ -28,6 +30,14 @@
> > .globl start, _start
> > start:
> > _start:
> > + _start:
> > +
> > +/* Disable VS
Fri, Sep 26, 2014 at 07:52:02PM +0400, Andrei Borzenkov wrote:
> В Thu, 25 Sep 2014 19:48:04 -0300
> Paulo Flabiano Smorigo пишет:
>
> > Sun, Sep 21, 2014 at 06:24:25PM +0400, Andrei Borzenkov wrote:
> > > В Sun, 21 Sep 2014 17:58:44 +0400
> > > Andrei Borzenkov
100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2014-09-26 Paulo Flabiano Smorigo
+
+ Add flags for powerpc in order to avoid exceptions
+
+ * conf/Makefile.common [COND_powerpc_ieee1275] (CFLAGS_PLATFORM): Add
+ -msoft-float -mno-vsx -mno-altivec.
+
2014-09-25 Colin
Sat, Sep 27, 2014 at 08:41:40AM +0400, Andrei Borzenkov wrote:
> В Fri, 26 Sep 2014 10:52:02 -0300
> Paulo Flabiano Smorigo пишет:
>
> > Fri, Sep 26, 2014 at 11:14:00AM +0100, Colin Watson wrote:
> > > On Thu, Sep 25, 2014 at 07:33:39PM -0300, Paulo Flabiano Smorigo
Mon, Sep 29, 2014 at 10:30:16PM +0400, Andrei Borzenkov wrote:
> В Sat, 27 Sep 2014 09:06:53 +0400
> Andrei Borzenkov пишет:
>
> > В Fri, 26 Sep 2014 16:29:40 -0300
> > Paulo Flabiano Smorigo пишет:
> >
> > > * conf/Makefile.common [COND_powerpc_ieee1275]
This patch is to skip the boot-device set for powerpc-ieee1275.
Changing it could be problematic in some cases.
The choice of the boot device can be done by the SMS menu of the firmware.
--
Paulo Flabiano Smorigo
Linux Technology Center Brazil Software Engineer
IBM Systems & Technology G
This is a fix to write grub in prep even if the --no-nvram is used.
--
Paulo Flabiano Smorigo
Linux Technology Center Brazil Software Engineer
IBM Systems & Technology Group
pfsmor...@br.ibm.com / pfsmor...@linux.vnet.ibm.com
=== modified file 'util/grub-install.in'
--- util/grub-i
Hi all,
This adds the option to print hex in upper case. It is necessary for
the search config file patch.
--
Paulo Flabiano Smorigo
Software Engineer
Linux Technology Center - IBM Systems & Technology Group
freenode/bluenet: pfsmorigo or smow
=== modified file 'ChangeLog'
---
/grub.cfg
This procedure is similar to what is used by pxelinux and yaboot:
http://www.syslinux.org/wiki/index.php/PXELINUX#config
--
Paulo Flabiano Smorigo
Software Engineer
Linux Technology Center - IBM Systems & Technology Group
freenode/bluenet: pfsmorigo or smow
=== modified file '
kernel using the same parameters
--
Paulo Flabiano Smorigo
Software Engineer
Linux Technology Center - IBM Systems & Technology Group
=== modified file 'ChangeLog'
--- ChangeLog 2012-09-10 07:34:29 +
+++ ChangeLog 2012-09-10 20:35:05 +
@@ -1,3 +1,17 @@
+2012-09-10 Paulo Fl
Hi all,
There are some cases when the device path is bigger then 64 chars.
Using a dynamic allocation will avoid problems with the size.
--
Paulo Flabiano Smorigo
Software Engineer
Linux Technology Center - IBM Systems & Technology Group
bootpath_size.path
Description: Binary
Hi all,
For powerpc-ieee1275, if the given install device is a symlink, file
cmd will follow the link to know the device type.
--
Paulo Flabiano Smorigo
Software Engineer
Linux Technology Center - IBM Systems & Technology Group
=== modified file 'ChangeLog'
--- ChangeLog 2012-
oot and not
the grub core ELF in the PReP partition.
A proper solution would be to add to grub the ability of having built-in
*inactive* modules which would be loaded and initialized only on demand (i.e.
explicitly calling the insmod command).
--
Paulo Flabiano Smorigo
Software Engineer
Linux Te
Quoting Vladimir 'φ-coder/phcoder' Serbinenko :
On 16.10.2012 12:28, Paulo Flabiano Smorigo/Brazil/IBM wrote:
Hi all!
This patch implements the solution suggested by Gustavo Luiz Duarte
:
Adding more modules to be built-in to the grub core ELF is easy. It is a
parameter passe
Hi all,
This patch adds support for virtual LAN (VLAN) tagging. VLAN tagging
allows multiple VLANs in a bridged network to share the same physical
network link but maintain isolation:
http://en.wikipedia.org/wiki/IEEE_802.1Q
--
Paulo Flabiano Smorigo
Software Engineer
Linux Technology
Hi all,
A small fix in the parse_dhcp_vendor function. The pointer was already
incremented inside the case. Use a continue to skip the additional one.
--
Paulo Flabiano Smorigo
Software Engineer
Linux Technology Center - IBM Systems & Technology Group
=== modified file '
Hi all,
This patch adds non-512B sectors disks support for Openfirmware (ieee1275).
--
Paulo Flabiano Smorigo
Software Engineer
Linux Technology Center - IBM Systems & Technology Group
=== modified file 'ChangeLog'
--- ChangeLog 2013-01-22 14:28:32 +
+++ ChangeLog 2013-01-22
Hi all,
What about show the disk sector size with the disk info?
--
Paulo Flabiano Smorigo
Software Engineer
Linux Technology Center - IBM Systems & Technology Group
=== modified file 'ChangeLog'
--- ChangeLog 2013-01-22 17:54:34 +
+++ ChangeLog 2013-01-22 17:59:00 +
Hi,
You need a different approach for each platform. Afaik, grub already
have support
for some platforms:
http://bzr.savannah.gnu.org/lh/grub/trunk/grub/revision/3325?start_revid=4682
Regards,
--
Paulo Flabiano Smorigo
Software Engineer
Linux Technology Center - IBM Systems & Techno
Quoting Vladimir 'φ-coder/phcoder' Serbinenko :
On 22.01.2013 18:44, Paulo Flabiano Smorigo/Brazil/IBM wrote:
+ grub_ieee1275_open (device, &dev_ihandle);
Please don't open another handle. This can cause lockdown on some
platforms. Use the already available framework.
Quoting Vladimir 'φ-coder/phcoder' Serbinenko :
On 28.01.2013 18:18, Paulo Flabiano Smorigo/Brazil/IBM wrote:
Quoting Vladimir 'φ-coder/phcoder' Serbinenko :
On 22.01.2013 18:44, Paulo Flabiano Smorigo/Brazil/IBM wrote:
+ grub_ieee1275_open (device, &dev_ihand
he first word, TAB
lists possible command completions. Anywhere else TAB lists possible
device or file completions.
grub>
Tks!
--
Paulo Flabiano Smorigo
Software Engineer
Linux Technology Center - IBM Systems & Technology Group
=== modified file 'ChangeLog'
--- ChangeLog 2013
Hello all,
This just fix the following build crash:
../util/grub-glue-efi.c: In function 'write_fat':
../util/grub-glue-efi.c:109:3: error: large integer implicitly
truncated to unsigned type [-Werror=overflow]
--
Paulo Flabiano Smorigo
Software Engineer
Linux Technology Ce
\,3
I checked it against openfirmware and all of them were right now.
Please, let me know if you find a disk with a wrong ofw output.
--
Paulo Flabiano Smorigo
Software Engineer
Linux Technology Center - IBM Systems & Technology Group
=== modified file 'ChangeLog'
--- ChangeLog
Quoting Paulo Flabiano Smorigo/Brazil/IBM :
Hello all,
I found wrong outputs for some sas devices then I made this patch in
order to fix it. Bellow are the outputs using my patch:
grub-probe -t ieee1275_hints -d /dev/sda
ieee1275//pci@8002200/pci@2/pci1014\,02BD@1/disk@200
grub
Hi all,
This fix add a check for a network card before continue the bootp
command execution.
Thanks,
--
Paulo Flabiano Smorigo
Software Engineer
Linux Technology Center - IBM Systems & Technology Group
=== modified file 'ChangeLog'
--- ChangeLog 2013-05-05 16:16:48 +
+++
@0x219614 0x0
grub_file_filters_enabled[1]@0x219618 0x0
grub_file_filters_enabled[2]@0x21961c 0x0
grub_file_filters_enabled[3]@0x219620 0x0
Best regards!
--
Paulo Flabiano Smorigo
Software Engineer
Linux Technology Center - IBM Systems & Technology Group
=== modified file 'ChangeLog'
--- ChangeLo
Add bootinfo.txt, grub.chrp, gnulib/float.h and, remove-potcdate.sed
to the .bzrignore file.
--
Paulo Flabiano Smorigo
Software Engineer
Linux Technology Center - IBM Systems & Technology Group
=== modified file '.bzrignore'
--- .bzrignore 2013-07-25 16:01:48 +
+++ .bzrign
property from our tests:
0 > dev /vdevice/l-lan@7102 ok
0 > .properties
...
local-mac-address5254 00123456
...
--
Paulo Flabiano Smorigo
Software Engineer
Linux Technology Center - IBM Systems & Technology Group
=== modified file 'ChangeLog'
--- ChangeLog
k packet is
already sent before closing the packet; if not sent call the ack
routine.
--
Paulo Flabiano Smorigo
Software Engineer
Linux Technology Center - IBM Systems & Technology Group
=== modified file 'ChangeLog'
--- ChangeLog 2013-08-14 13:36:18 +
+++ ChangeLog 2013-0
=commit;h=0d711431c713741a7e1d9c8c44a74d804855198e
--
Paulo Flabiano Smorigo
Software Engineer
Linux Technology Center - IBM Systems & Technology Group
___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
=af768f8d4166aae41bbac8575fca7c65a319bfdb
I come here to ask for an freeze exception so it can be also in master
and in 2.02 release.
Thanks in advance,
--
Paulo Flabiano Smorigo
Software Engineer
Linux Technology Center - IBM Systems & Technology G
74 matches
Mail list logo