Patchwork Coreboot fails to initialize on ASUS A8V-E SE

login
register
about
Submitter Myles Watson
Date 2009-12-03 22:28:07
Message ID <2831fecf0912031428h4b610a7ciba81eabd0c1e9610@mail.gmail.com>
Download mbox | patch
Permalink /patch/627/
State Accepted
Headers show

Comments

Myles Watson - 2009-12-03 22:28:07
On Thu, Dec 3, 2009 at 3:14 PM, Myles Watson <mylesgw@gmail.com> wrote:
>
>> I just built coreboot from SVN using the kconfig system for my ASUS
>> A8V-E SE. However, I never get anything after the "now booting...
>> fallback" message on the serial port. Also, the hard drive activity
>> light stays on solid.
>>
>> I had coreboot working fine on this exact board over a year ago. Then,
>> I had to use the manual build method. Back then, even when the video
>> card didn't initialize, I got a lot more output on the serial port.
>>
>> What should I try next? Do I still need to use the manual build method
>> for this board?
> It looks like there are quite a few differences between the old build's
> CONFIG_* settings and Kconfig's settings.  Does the old way still work for
> you with the latest svn?  If so, we can fix Kconfig to match and try that.
Here's the patch that makes most of the important things match.
There's really no good reason to go back to the old way of building.
Let's just fix what we're using.

Signed-off-by: Myles Watson <mylesgw@gmail.com>

Thanks,
Myles
Peter Stuge - 2009-12-03 23:34:40
Myles Watson wrote:
> Here's the patch that makes most of the important things match.
> There's really no good reason to go back to the old way of building.
> Let's just fix what we're using.
> 
> Signed-off-by: Myles Watson <mylesgw@gmail.com>

Acked-by: Peter Stuge <peter@stuge.se>
Myles Watson - 2009-12-04 05:52:52
> Thanks. I tried this patch and built it with kconfig, but it still hangs.

I'm assuming that it hangs in the same spot, right?

Since I don't have the board, I can only suggest narrowing down where it
hangs.  You could insert more print statements liberally, etc.

You could try commenting out enumerate_ht_chain() in cache_as_ram_auto.c,
and see if that gets you farther.

Sorry it's broken.

Myles

Patch

Index: svn/src/mainboard/asus/a8v-e_se/Kconfig
===================================================================
--- svn.orig/src/mainboard/asus/a8v-e_se/Kconfig
+++ svn/src/mainboard/asus/a8v-e_se/Kconfig
@@ -2,13 +2,13 @@  config BOARD_ASUS_A8V_E_SE
 	bool "A8V-E SE"
 	select ARCH_X86
 	select CPU_AMD_SOCKET_939
+	select K8_HT_FREQ_1G_SUPPORT
 	select NORTHBRIDGE_AMD_AMDK8
 	select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX
 	select SOUTHBRIDGE_VIA_VT8237R
 	select SUPERIO_WINBOND_W83627EHG
 	select USE_PRINTK_IN_CAR
 	select USE_DCACHE_RAM
-	select HAVE_HARD_RESET
 	select IOAPIC
 	select HAVE_ACPI_TABLES
 	select HAVE_MP_TABLE
@@ -41,7 +41,7 @@  config APIC_ID_OFFSET
 
 config SB_HT_CHAIN_ON_BUS0
 	int
-	default 2
+	default 1
 	depends on BOARD_ASUS_A8V_E_SE
 
 config SB_HT_CHAIN_UNITID_OFFSET_ONLY
@@ -66,7 +66,7 @@  config MAINBOARD_PART_NUMBER
 
 config HW_MEM_HOLE_SIZEK
 	hex
-	default 0x100000
+	default 0
 	depends on BOARD_ASUS_A8V_E_SE
 
 config MAX_CPUS
@@ -81,7 +81,7 @@  config MAX_PHYSICAL_CPUS
 
 config HT_CHAIN_END_UNITID_BASE
 	hex
-	default 0x0
+	default 0x20
 	depends on BOARD_ASUS_A8V_E_SE
 
 config HT_CHAIN_UNITID_BASE
@@ -94,9 +94,9 @@  config USE_INIT
 	default n
 	depends on BOARD_ASUS_A8V_E_SE
 
-config SB_HT_CHAIN_ON_BUS0
-	int
-	default 2
+config HAVE_OPTION_TABLE
+	bool
+	default n
 	depends on BOARD_ASUS_A8V_E_SE
 
 config IRQ_SLOT_COUNT