fix the jpeg decoder problem emerged when it was used in 24 BPP mode.
Signed-off-by: Wayne Xia
---
src/bootsplash.c |3 ++-
src/jpeg.c | 31 ++-
src/jpeg.h |4 ++--
3 files changed, 26 insertions(+), 12 deletions(-)
diff --git a/src/bootsplash.c
make the showing time configurable.
Signed-off-by: Wayne Xia
---
src/boot.c | 25 -
1 files changed, 24 insertions(+), 1 deletions(-)
diff --git a/src/boot.c b/src/boot.c
index f3c165c..a76da4f 100644
--- a/src/boot.c
+++ b/src/boot.c
@@ -381,8 +381,31 @@ boot_add_cbfs
added an option to let seabios show BMP file as a logo.
Signed-off-by: Wayne Xia
---
Makefile |4 +-
src/bmp.c| 135 ++
src/bmp.h| 28 +++
src/bootsplash.c | 109 +-
thanks for the comments.
for the lzma decompressor, to enable compressing the qemu/kvm needs
8 files from lzma SDK, I am afraid this is a bit hard to be accepted by
qemu for such logo showing feature.
Following is some comments about the code.
2011-7-3 6:57, Kevin O'Connor:
On Mon, Jun
Hi,
+static struct pci_bus {
+/* pci region stats */
+u32 io_count[16 - PCI_IO_INDEX_SHIFT];
+u32 mem_count[32 - PCI_MEM_INDEX_SHIFT];
+u32 prefmem_count[32 - PCI_MEM_INDEX_SHIFT];
+u32 io_sum, io_max;
+u32 mem_sum, mem_max;
+u32 prefmem_sum, prefmem_max;
+/* se
Hi,
Here is v2 of the two-pass pci initialization code.
Changed code according to Kevin's review:
* Fixed the bus check.
* Using a pci region type array now, which indeed made
the code simpler and shorter.
* The memory hole stuff is gone, there is a single
address space area now.
This patch actually enables the two-pass pci initialization and
deactivates the old pci initialization bits.
Signed-off-by: Gerd Hoffmann
---
src/pciinit.c | 35 +--
1 files changed, 33 insertions(+), 2 deletions(-)
diff --git a/src/pciinit.c b/src/pciinit.c
in
Try to handle address space shortage by skipping any device
which isn't essential for boot.
Signed-off-by: Gerd Hoffmann
---
src/pci.c |3 +++
src/pciinit.c | 51 +--
src/util.h|2 ++
3 files changed, 54 insertions(+), 2 deletions
Signed-off-by: Gerd Hoffmann
---
Makefile |2 +-
src/pci_region.c | 77 -
src/pciinit.c| 197 --
src/util.h | 29
4 files changed, 1 insertions(+), 304 deletions(-)
delete mode 100644 src/
This patch adds a second device scan to the pci initialization, which
counts the memory bars of the various sizes and types. Then it
calculates the sizes and the packing of the prefetchable and
non-prefetchable pci memory windows and prints the results.
The patch doesn't actually map the devices
On Mon, Jul 04, 2011 at 12:59:09PM +0200, Gerd Hoffmann wrote:
> This patch adds a second device scan to the pci initialization, which
> counts the memory bars of the various sizes and types. Then it
> calculates the sizes and the packing of the prefetchable and
> non-prefetchable pci memory windo
On Mon, Jul 04, 2011 at 03:51:57PM +0800, Wayne Xia wrote:
> make the showing time configurable.
>
> Signed-off-by: Wayne Xia
Thanks. I'm okay with the first two patches, and will commit them if
there are no further comments.
> --- a/src/boot.c
> +++ b/src/boot.c
> @@ -381,8 +381,31 @@ boot_ad
fix the jpeg decoder problem emerged when it was used in 24 BPP mode.
Signed-off-by: Wayne Xia
---
src/bootsplash.c |3 ++-
src/jpeg.c | 31 ++-
src/jpeg.h |4 ++--
3 files changed, 26 insertions(+), 12 deletions(-)
diff --git a/src/bootsplash.c
make the showing time configurable.
Signed-off-by: Wayne Xia
---
src/boot.c | 25 -
1 files changed, 24 insertions(+), 1 deletions(-)
diff --git a/src/boot.c b/src/boot.c
index f3c165c..a76da4f 100644
--- a/src/boot.c
+++ b/src/boot.c
@@ -381,8 +381,31 @@ boot_add_cbfs
added an option to do LZMA decompress on the splash data, in order to do this,
adjusted some code in other files.
Signed-off-by: Wayne Xia
---
src/bootsplash.c | 35 ---
src/coreboot.c | 47 ++-
src/lzmadecode.c |
added an option to let seabios show BMP file as a logo.
Signed-off-by: Wayne Xia
---
Makefile |4 +-
src/bmp.c| 136 +
src/bmp.h| 28 +++
src/bootsplash.c | 137 +++
changed a bit to support the compressed data by LZMA
algorithm.
The attachment is the patch for qemu, just to be used to
help test the patches for seabios.
usage:
patch the qemu, then run it like this:
qemu-system-x86_64 -boot splash-time=,splash= -L
FILE NAME could be a compressed bmp/jp
On Tue, Jul 05, 2011 at 01:19:43AM +0800, Wayne Xia wrote:
> added an option to do LZMA decompress on the splash data, in order to do this,
> adjusted some code in other files.
>
> Signed-off-by: Wayne Xia
This not needed. On coreboot, just having a file named
"bootsplash.bmp.lzma" is all that
On Mon, Jul 04, 2011 at 04:11:11PM +0800, Wayne Xia wrote:
> 2011-7-3 6:57, Kevin O'Connor:
> >On Mon, Jun 27, 2011 at 03:10:38PM +0800, Wayne Xia wrote:
> >>+void raw_data_format_adjust_24bpp(u8 *src, u8 *dest, int width, int height,
> >>+int bytes_per_line_src, int bytes_per_line_dest
make the showing time configurable.
Signed-off-by: Wayne Xia
---
src/boot.c | 25 -
1 files changed, 24 insertions(+), 1 deletions(-)
diff --git a/src/boot.c b/src/boot.c
index f3c165c..a76da4f 100644
--- a/src/boot.c
+++ b/src/boot.c
@@ -381,8 +381,31 @@ boot_add_cbfs
thanks for you patience, following is my comments.
2011-7-5 3:32, Kevin O'Connor :
On Mon, Jul 04, 2011 at 04:11:11PM +0800, Wayne Xia wrote:
2011-7-3 6:57, Kevin O'Connor:
On Mon, Jun 27, 2011 at 03:10:38PM +0800, Wayne Xia wrote:
+void raw_data_format_adjust_24bpp(u8 *src, u8 *dest, int
fix the jpeg decoder problem emerged when it was used in 24 BPP mode.
Signed-off-by: Wayne Xia
---
src/bootsplash.c |3 ++-
src/jpeg.c | 31 ++-
src/jpeg.h |4 ++--
3 files changed, 26 insertions(+), 12 deletions(-)
diff --git a/src/bootsplash.c
added an option to let seabios show BMP file as a logo.
Signed-off-by: Wayne Xia
---
Makefile |4 +-
src/bmp.c| 116 ++
src/bmp.h| 25
src/bootsplash.c | 109 ++---
δΊ 2011-7-5 0:22, Kevin O'Connor ει:
On Mon, Jul 04, 2011 at 03:51:57PM +0800, Wayne Xia wrote:
make the showing time configurable.
Signed-off-by: Wayne Xia
Thanks. I'm okay with the first two patches, and will commit them if
there are no further comments.
--- a/src/boot.c
+++ b/src/boot.c
24 matches
Mail list logo