Displaying 5 results from an estimated 5 matches for "envy_bios".
2014 Aug 30
3
[PATCH envytools] nvbios: Fix reading of ram_restrict_group_count.
...howing script parsing errors has been reduced from 410 to 6 with the database of 505 vbios.
---
nvbios/mem.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/nvbios/mem.c b/nvbios/mem.c
index 81f2d1b..e4797e3 100644
--- a/nvbios/mem.c
+++ b/nvbios/mem.c
@@ -232,11 +232,11 @@ envy_bios_parse_bit_M (struct envy_bios *bios, struct envy_bios_bit_entry *bit)
if (bit->version == 1) {
if (bit->t_len >= 5) {
- bios_u8(bios, bit->offset+2, &ram_restrict_group_count);
+ bios_u8(bios, bit->t_offset+2, &ram_restrict_group_count);
}
} else if (bit->v...
2014 Aug 25
1
[PATCH envytools] Don't try to use bios->pars if NULL (parse_pcir function has probably failed).
...Christian Costa <titan.costa at gmail.com> wrote:
> ---
> nvbios/info.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/nvbios/info.c b/nvbios/info.c
> index 87a33d8..6b8d209 100644
> --- a/nvbios/info.c
> +++ b/nvbios/info.c
> @@ -119,6 +119,10 @@ int envy_bios_parse_bit_i (struct envy_bios *bios, struct envy_bios_bit_entry *b
> bios->chipset_name = "G72";
> break;
> case 0x0573:
> + if (!bios->parts) {
> + ENV...
2014 Aug 25
0
[PATCH envytools] Don't try to use bios->pars if NULL (parse_pcir function has probably failed).
---
nvbios/info.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/nvbios/info.c b/nvbios/info.c
index 87a33d8..6b8d209 100644
--- a/nvbios/info.c
+++ b/nvbios/info.c
@@ -119,6 +119,10 @@ int envy_bios_parse_bit_i (struct envy_bios *bios, struct envy_bios_bit_entry *b
bios->chipset_name = "G72";
break;
case 0x0573:
+ if (!bios->parts) {
+ ENVY_BIOS_ERR("Failed to detect board (bios->pars is NULL, parse_pcir function has probably failed)\n");
+ break...
2014 Aug 25
12
[PATCH envytools] demmio: Add decoding of some MEM_TIMINGS registers for NVC0.
---
rnndb/memory/nvc0_pbfb.xml | 37 ++++++++++++++++++++++++++++++++++---
1 file changed, 34 insertions(+), 3 deletions(-)
diff --git a/rnndb/memory/nvc0_pbfb.xml b/rnndb/memory/nvc0_pbfb.xml
index 500cea9..e006dbe 100644
--- a/rnndb/memory/nvc0_pbfb.xml
+++ b/rnndb/memory/nvc0_pbfb.xml
@@ -49,23 +49,54 @@
Most bitfields are unknown.
</doc>
<bitfield high="7"
2014 Aug 27
2
[PATCH envytools] nva: Clean up nva tools doc
- Sort commands by name for easier update
- Make more readable
- Remove no more existing commands
---
nva/README | 81 +++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 43 insertions(+), 38 deletions(-)
diff --git a/nva/README b/nva/README
index 625ea7c..cbe6ae3 100644
--- a/nva/README
+++ b/nva/README
@@ -13,43 +13,48 @@ by the nvalist program.
The programs are: