On Wed, Apr 29, 2009 at 04:53:13PM +0200, samuel wrote:
> Hi Kevin,
>
> I have tried Seabios on my hp dl145 g3 (the patches from mondrian) and
> it works really well now
> I was able to load the vga rom and i have output on the screen.
Great!
> One single problem... It doesn't seem to find the sata controller...
>
> bootlog with coreboot and seabios:
> http://merlin.ugent.be/~samuel/dl145g3/corebootwithseabios.log
There isn't much SeaBIOS info in that log - can you recompile with
CONFIG_DEBUG_LEVEL set to 6?
>
> lspci -vnn : http://merlin.ugent.be/~samuel/dl145g3/info/lspci-vnn.txt
>
> and the original patch from mondrian to add support for the dl145g3 to filo:
> http://merlin.ugent.be/~samuel/dl145g3/patch/filo_dl145_sata.patch
>
> It looks rather simple but I don't see what i have to change in
> seabios to support the device.
>
> The pci id (0x104 is already in pci_ids.h of seabios) so i would think
> it should just work. Myles thought it could be related to the fact
> that his sata interface of this mainboard does not support a legacy
> IDE interface mode.
>
> You have any ideas how i could quickly add support for the hp dl145 g3
> to SeaBIOS??
The equivalent patch in SeaBIOS would look like:
--- a/src/ata.c
+++ b/src/ata.c
@@ -841,7 +845,8 @@ ata_init()
int count=0;
int bdf, max;
foreachpci(bdf, max) {
- if (pci_config_readw(bdf, PCI_CLASS_DEVICE) != PCI_CLASS_STORAGE_IDE)
+ u16 class = pci_config_readw(bdf, PCI_CLASS_DEVICE);
+ if (class != PCI_CLASS_STORAGE_IDE && class != PCI_CLASS_STORAGE_RAID)
continue;
if (count >= ARRAY_SIZE(ATA.channels))
break;
-Kevin
#142: remove #warnings in the code
---------------------------------+------------------------------------------
Reporter: myles | Owner: somebody
Type: defect | Status: new
Priority: major | Milestone:
Component: coreboot | Version: v2
Keywords: | Dependencies:
Patchstatus: there is no patch |
---------------------------------+------------------------------------------
#warnings in the code should be converted to tickets in trac, or fixed.
Compiler warnings don't seem to be useful to get things fixed. They also
obscure real warnings. The medium-term goal would be to have warning-free
compilation. After that -Werror would be nice. It seems like a small
thing to ask that code compile without warnings.
--
Ticket URL: <http://tracker.coreboot.org/trac/coreboot/ticket/142>
coreboot <http://www.coreboot.org/>
Here's the patch:
http://panzer.utcluj.ro/cgi-bin/cgit.cgi/avatt/patch/?id=1f45b765097fd8ba21…
Signed-off by: Cristi Măgherușan <cristi.magherusan(a)net.utcluj.ro>
I'm unable to say which others may worth it, but someone who's
interested by buildrom can also cherry-pick some changesets/patches from
my git repos at http://panzer.utcluj.ro/cgi-bin/cgit.cgi/ and include
them in the main buildrom repo. A few of them are merged in the buildrom
repo, while others are still in AVATT (I'm using braid to track my
buildrom repo from AVATT, so it's easy to do it), but they will be
merged eventually when I have some spare time..
From 1f45b765097fd8ba2139a078bd57679e16ac4699 Mon Sep 17 00:00:00 2001
From: Cristi Măgherușan <cristi.magherusan(a)net.utcluj.ro>
Date: Thu, 16 Jul 2009 18:16:13 +0000
Subject: Added support for my Asus M2V-MX SE
---
diff --git a/buildrom/buildrom-devel/config/platforms/Config.in b/buildrom/buildrom-devel/config/platforms/Config.in
index e8a0a8b..1fa6a12 100644
--- a/buildrom/buildrom-devel/config/platforms/Config.in
+++ b/buildrom/buildrom-devel/config/platforms/Config.in
@@ -104,6 +104,13 @@ config PLATFORM_ASUS_A8N_E
select PLATFORM
select PLATFORM_SUPPORT_64BIT
+config PLATFORM_ASUS_M2V_MX_SE
+ bool "ASUS M2V-MX SE"
+ depends on VENDOR_ASUS
+ depends on COREBOOT_V2
+ select PLATFORM
+ select PLATFORM_SUPPORT_64BIT
+
config PLATFORM_GA_2761GXDK
bool "GIGABYTE GA-2761GXDK"
depends on VENDOR_GIGABYTE
diff --git a/buildrom/buildrom-devel/config/platforms/asus_m2v-mx_se.conf b/buildrom/buildrom-devel/config/platforms/asus_m2v-mx_se.conf
new file mode 100644
index 0000000..a78863e
--- a/dev/null
+++ b/buildrom/buildrom-devel/config/platforms/asus_m2v-mx_se.conf
@@ -0,0 +1,28 @@
+# Support for the ASUS A8V-E SE board
+
+#### Platform configuration
+
+ifeq ($(CONFIG_TARGET_64BIT),y)
+TARGET_ARCH=x86_64
+CFLAGS_platform =
+else
+TARGET_ARCH=i686
+CFLAGS_platform =
+endif
+
+# kernel configuration (for LAB)
+
+# TODO
+
+UCLIBC_ARCH=$(TARGET_ARCH)
+
+# Etherboot configuration
+
+ETHERBOOT_ARCH=i386
+
+# coreboot configuration
+
+COREBOOT_VENDOR=asus
+COREBOOT_BOARD=m2v-mx_se
+CBV2_TDIR=m2v-mx_se
+CBV2_TAG=4426
diff --git a/buildrom/buildrom-devel/config/platforms/platforms.conf b/buildrom/buildrom-devel/config/platforms/platforms.conf
index 733ca73..f5f62f8 100644
--- a/buildrom/buildrom-devel/config/platforms/platforms.conf
+++ b/buildrom/buildrom-devel/config/platforms/platforms.conf
@@ -23,6 +23,7 @@ PLATFORM-$(CONFIG_PLATFORM_DBE61) = dbe61.conf
PLATFORM-$(CONFIG_PLATFORM_GA_M57SLI_S4) = m57sli.conf
PLATFORM-$(CONFIG_PLATFORM_ASUS_A8V_E_SE) = asus_a8v-e_se.conf
PLATFORM-$(CONFIG_PLATFORM_ASUS_A8N_E) = asus_a8n-e.conf
+PLATFORM-$(CONFIG_PLATFORM_ASUS_M2V_MX_SE) = asus_m2v-mx_se.conf
PLATFORM-$(CONFIG_PLATFORM_TYAN_S2881) = tyan-s2881.conf
PLATFORM-$(CONFIG_PLATFORM_TYAN_S2882) = tyan-s2882.conf
PLATFORM-$(CONFIG_PLATFORM_TYAN_S2891) = tyan-s2891.conf
--
Ing. Cristi Măgherușan, System/Network Engineer
Technical University of Cluj-Napoca, Romania
http://cc.utcluj.ro +40264 401247
#108: Add int 10 VESA video driver to libpayload
---------------------------------+------------------------------------------
Reporter: stuge | Owner: somebody
Type: enhancement | Status: new
Priority: major | Milestone:
Component: libpayload | Version:
Keywords: video | Dependencies:
Patchstatus: there is no patch |
---------------------------------+------------------------------------------
--
Ticket URL: <http://tracker.coreboot.org/trac/coreboot/ticket/108>
coreboot <http://www.coreboot.org/>
#129: Add support for high_tables_base for all chipsets that don't support it
yet.
---------------------------------+------------------------------------------
Reporter: oxygene | Owner: somebody
Type: defect | Status: new
Priority: critical | Milestone:
Component: coreboot | Version: v2
Keywords: | Dependencies:
Patchstatus: there is no patch |
---------------------------------+------------------------------------------
Without tables in high memory, seabios won't run on your chipset properly.
it overwrites your tables in the F segment, as seabios itself lives there.
Also, once there is support for high_tables_base everywhere, the code in
src/arch/i386/boot/tables.c can be cleaned up and simplified considerably.
--
Ticket URL: <http://tracker.coreboot.org/trac/coreboot/ticket/129>
coreboot <http://www.coreboot.org/>
#139: flashrom: -c option should be case insensitive
---------------------------------+------------------------------------------
Reporter: uwe | Owner: somebody
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: flashrom | Version:
Keywords: | Dependencies:
Patchstatus: there is no patch |
---------------------------------+------------------------------------------
flashrom's -c option requires you to enter extact chip names. It should
probably be case insensitive for easier usage.
--
Ticket URL: <http://tracker.coreboot.org/trac/coreboot/ticket/139>
coreboot <http://www.coreboot.org/>
#119: Winbond W39V040FBPZ is not written correctly by flashrom
-----------------------------------------+----------------------------------
Reporter: charles.herndon@… | Owner: somebody
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: flashrom | Version: v2
Keywords: W39V040FBPZ | Dependencies:
Patchstatus: there is no patch |
-----------------------------------------+----------------------------------
Flash device is detected as a Winbond W39V040B device. Flashrom attempts
to flash device, but verification fails. No actual writing to the chip
appears to be done. Tried changing write and erase in flashchips.c to:
jedec, winbond_fwhub and 49lfxxxc.
./flashrom -wv xxxx.bin
Calibrating delay loop... OK.
No coreboot table found.
Found chipset "Intel ICH7/ICH7R", enabling flash write... OK.
Found chip "Winbond W39V040B" (512 KB) at physical address 0xfff80000.
Flash image seems to be a legacy BIOS. Disabling checks.
Programming page: 0007 at address: 0x00070000
Verifying flash... FAILED! Expected=0xc7, Read=0x49
--
Ticket URL: <http://tracker.coreboot.org/trac/coreboot/ticket/119>
coreboot <http://www.coreboot.org/>
#104: flashrom: Change flash drivers to never erase data before writing
---------------------------------+------------------------------------------
Reporter: stuge | Owner: somebody
Type: defect | Status: new
Priority: major | Milestone: flashrom v1.0
Component: flashrom | Version:
Keywords: erase write | Dependencies: #103
Patchstatus: there is no patch |
---------------------------------+------------------------------------------
The user should be responsible for ensuring that the flash chip has been
erased where new data should be written.
At the moment, flashrom will erase at least one full page and then rewrite
it, when the user asks to only write a few bytes using -l/-i/-s/-e.
--
Ticket URL: <http://tracker.coreboot.org/trac/coreboot/ticket/104>
coreboot <http://www.coreboot.org/>