search for: ldlinux_limit

Displaying 14 results from an estimated 14 matches for "ldlinux_limit".

2013 Aug 31
4
[PATCH 1/1] core: Check if ldlinux.sys exceeds the limit at its building time.
...Certain file systems (such as BTRFS and UFS2) will rely on ldlinux.sys being installed on the 0-64k range, thus it can't exceed the limit, otherwise the superblock would be corrupted. Signed-off-by: Raphael S.Carvalho <raphael.scarv at gmail.com> --- core/Makefile | 1 + core/ldlinux_limit.pl | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 0 deletions(-) create mode 100755 core/ldlinux_limit.pl diff --git a/core/Makefile b/core/Makefile index f795a5c..e0daafc 100644 --- a/core/Makefile +++ b/core/Makefile @@ -220,6 +220,7 @@ ldlinux.bss: ldlinux.b...
2013 Jul 24
2
[PATCH 1/1] core: Add a check at ldlinux.sys build time.
Check if ldlinux.sys is larger than 64k at build time. Signed-off-by: Raphael S.Carvalho <raphael.scarv at gmail.com> --- core/Makefile | 5 +++-- core/ldlinux_limit.pl | 31 +++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 core/ldlinux_limit.pl diff --git a/core/Makefile b/core/Makefile index f795a5c..00de331 100644 --- a/core/Makefile +++ b/core/Makefile @@ -220,8 +220,9 @@ ldlinux.bss: ldlinux.bin dd...
2014 May 25
0
[PATCH 1/1] core: Check if ldlinux.sys exceeds the limit at its building time.
...BTRFS and UFS2) will rely on ldlinux.sys being installed on the 0-64k range, > thus it can't exceed the limit, otherwise the superblock would be corrupted. > > Signed-off-by: Raphael S.Carvalho <raphael.scarv at gmail.com> > --- > core/Makefile | 1 + > core/ldlinux_limit.pl | 39 +++++++++++++++++++++++++++++++++++++++ > 2 files changed, 40 insertions(+), 0 deletions(-) > create mode 100755 core/ldlinux_limit.pl > > diff --git a/core/Makefile b/core/Makefile > index f795a5c..e0daafc 100644 > --- a/core/Makefile > +++ b/core/Makefile > @@...
2013 Sep 30
2
[PATCH v2] core: Check size of ldlinux.sys at building time.
...inux.sys being installed on the 0-64k range, thus it can't exceed the limit, otherwise the superblock would be corrupted. Signed-off-by: Raphael S. Carvalho <raphael.scarv at gmail.com> Suggested-by: Matt Fleming <matt at console-pimps.org> --- core/Makefile | 1 + core/ldlinux_limit.pl | 80 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+), 0 deletions(-) create mode 100755 core/ldlinux_limit.pl diff --git a/core/Makefile b/core/Makefile index a7503ef..635d8ab 100644 --- a/core/Makefile +++ b/core/Makefile @@ -224,6 +224,7 @@ ldlinux.bss:...
2013 Sep 16
0
[PATCH 1/1] core: Check if ldlinux.sys exceeds the limit at its building time.
...BTRFS and UFS2) will rely on ldlinux.sys being installed on the 0-64k range, > thus it can't exceed the limit, otherwise the superblock would be corrupted. > > Signed-off-by: Raphael S.Carvalho <raphael.scarv at gmail.com> > --- > core/Makefile | 1 + > core/ldlinux_limit.pl | 39 +++++++++++++++++++++++++++++++++++++++ > 2 files changed, 40 insertions(+), 0 deletions(-) > create mode 100755 core/ldlinux_limit.pl > > diff --git a/core/Makefile b/core/Makefile > index f795a5c..e0daafc 100644 > --- a/core/Makefile > +++ b/core/Makefile > @@...
2014 May 25
4
[PATCH 1/1] core: Check if ldlinux.sys exceeds the limit at its building time.
...being installed on the 0-64k range, > > thus it can't exceed the limit, otherwise the superblock would be corrupted. Raphael/Paulo: does UFS2 have a hard 64kiB limit? I know it's not installed to the first sector where the first superblock is located. > IMNSHO is including core/ldlinux_limit.pl better > than waiting for a better core/ldlinux_limit.pl This should be rendered obsolete and unnecessary with the recent patch for ldlinux.sys on btrfs (but might be relevant for UFS2). --Gene
2013 Jul 26
2
[PATCH 1/1] core: Add a check at ldlinux.sys build time.
...leming wrote: > On Wed, 24 Jul, at 08:05:16AM, Raphael S.Carvalho wrote: >> Check if ldlinux.sys is larger than 64k at build time. >> >> Signed-off-by: Raphael S.Carvalho <raphael.scarv at gmail.com> >> --- >> core/Makefile | 5 +++-- >> core/ldlinux_limit.pl | 31 +++++++++++++++++++++++++++++++ >> 2 files changed, 34 insertions(+), 2 deletions(-) >> create mode 100644 core/ldlinux_limit.pl > > Thanks, this looks good, though the patch was whitespace damaged. I also > expanded on the commit message to explain *why* 64K is th...
2014 May 27
2
[PATCH 1/1] core: Check if ldlinux.sys exceeds the limit at its building time.
...ge, > > > thus it can't exceed the limit, otherwise the superblock would be > corrupted. > > Raphael/Paulo: does UFS2 have a hard 64kiB limit? I know it's not > installed to the first sector where the first superblock is located. > > > IMNSHO is including core/ldlinux_limit.pl better > > than waiting for a better core/ldlinux_limit.pl > > This should be rendered obsolete and unnecessary with the recent patch for > ldlinux.sys on btrfs (but might be relevant for UFS2). > > --Gene Hi everyone, it's been a long time. Anyway, let's go to what...
2013 Jul 26
0
[PATCH 1/1] core: Add a check at ldlinux.sys build time.
On Wed, 24 Jul, at 08:05:16AM, Raphael S.Carvalho wrote: > Check if ldlinux.sys is larger than 64k at build time. > > Signed-off-by: Raphael S.Carvalho <raphael.scarv at gmail.com> > --- > core/Makefile | 5 +++-- > core/ldlinux_limit.pl | 31 +++++++++++++++++++++++++++++++ > 2 files changed, 34 insertions(+), 2 deletions(-) > create mode 100644 core/ldlinux_limit.pl Thanks, this looks good, though the patch was whitespace damaged. I also expanded on the commit message to explain *why* 64K is the limit we use. I'...
2013 Jul 26
0
[PATCH 1/1] core: Add a check at ldlinux.sys build time.
...Jul, at 08:05:16AM, Raphael S.Carvalho wrote: > >> Check if ldlinux.sys is larger than 64k at build time. > >> > >> Signed-off-by: Raphael S.Carvalho <raphael.scarv at gmail.com> > >> --- > >> core/Makefile | 5 +++-- > >> core/ldlinux_limit.pl | 31 +++++++++++++++++++++++++++++++ > >> 2 files changed, 34 insertions(+), 2 deletions(-) > >> create mode 100644 core/ldlinux_limit.pl > > > > Thanks, this looks good, though the patch was whitespace damaged. I also > > expanded on the commit message to...
2013 Sep 16
1
[PATCH 1/1] core: Check if ldlinux.sys exceeds the limit at its building time.
On Mon, 16 Sep, at 09:49:01AM, H. Peter Anvin wrote: > We probably will need to increase out to 4K because of newer drives. Raphael, is there any way we could extract the ADV_SIZE value from libinstaller/setadv.h and pass it to ldlinux_limit.pl? That would allow things to keep working in future when we do upgrade to 4K. -- Matt Fleming, Intel Open Source Technology Center
2013 Oct 03
0
[PATCH v2] core: Check size of ldlinux.sys at building time.
...4k range, > thus it can't exceed the limit, otherwise the superblock would be corrupted. > > Signed-off-by: Raphael S. Carvalho <raphael.scarv at gmail.com> > Suggested-by: Matt Fleming <matt at console-pimps.org> > --- > core/Makefile | 1 + > core/ldlinux_limit.pl | 80 +++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 81 insertions(+), 0 deletions(-) > create mode 100755 core/ldlinux_limit.pl [...] > +use File::stat; > +use constant DEBUG => (1); Hehe, might wanna turn debug off ;-) But the rest of this patch look...
2014 May 26
0
[PATCH 1/1] core: Check if ldlinux.sys exceeds the limit at its building time.
...at its internals and I can see that UFS2 places its superblock at either 64KiB or 256KiB (depending on the media being used). I haven't found any code that tries to read superblock from 256KiB, but I'm not sure if we can rely on it being always at 64KiB. >> IMNSHO is including core/ldlinux_limit.pl better >> than waiting for a better core/ldlinux_limit.pl > > This should be rendered obsolete and unnecessary with the recent patch for > ldlinux.sys on btrfs (but might be relevant for UFS2). Agreed. IMHO, I would use this script for the UFS2 case - since UFS2 superblock is _no...
2013 Sep 16
2
[PATCH 1/1] core: Check if ldlinux.sys exceeds the limit at its building time.
On Mon, Sep 16, 2013 at 11:08 AM, Matt Fleming <matt at console-pimps.org> wrote: > Peter, does this look OK to you? > > Raphael, I can't work out why ADV_SIZE is a constant in this file? Matt, ADV_SIZE is currently a constant value, but it may change in the future. So it would need some care. Regards, Raphael S. Carvalho