Kyösti Mälkki (kyosti.malkki(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/793
-gerrit
commit 35c0887e0affdb4c7f6a4ef053271dfb25c012af
Author: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Date: Fri Mar 16 15:54:18 2012 +0200
AMD Agesa: delete no-op bootblock files
Removes files:
src/northbridge/amd/agesa/family10/bootblock.c
src/northbridge/amd/agesa/family12/bootblock.c
src/northbridge/amd/agesa/family14/bootblock.c
src/northbridge/amd/agesa/family15/bootblock.c
Change-Id: Ic3617a673b38d065ca272c4de8ef765ecd3f98b1
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
---
src/northbridge/amd/agesa/family10/Kconfig | 3 --
src/northbridge/amd/agesa/family10/bootblock.c | 29 ------------------------
src/northbridge/amd/agesa/family12/Kconfig | 4 ---
src/northbridge/amd/agesa/family12/bootblock.c | 29 ------------------------
src/northbridge/amd/agesa/family14/Kconfig | 4 ---
src/northbridge/amd/agesa/family14/bootblock.c | 29 ------------------------
src/northbridge/amd/agesa/family15/Kconfig | 3 --
src/northbridge/amd/agesa/family15/bootblock.c | 25 --------------------
8 files changed, 0 insertions(+), 126 deletions(-)
diff --git a/src/northbridge/amd/agesa/family10/Kconfig b/src/northbridge/amd/agesa/family10/Kconfig
index 62a6cd4..0bb16d9 100755
--- a/src/northbridge/amd/agesa/family10/Kconfig
+++ b/src/northbridge/amd/agesa/family10/Kconfig
@@ -41,9 +41,6 @@ config MMCONF_BASE_ADDRESS
config MMCONF_BUS_NUMBER
int
default 256
-config BOOTBLOCK_NORTHBRIDGE_INIT
- string
- default "northbridge/amd/agesa/family10/bootblock.c"
endif #NORTHBRIDGE_AMD_AGESA_FAMILY10
source "src/northbridge/amd/agesa/family10/root_complex/Kconfig"
diff --git a/src/northbridge/amd/agesa/family10/bootblock.c b/src/northbridge/amd/agesa/family10/bootblock.c
deleted file mode 100644
index f6ae8be..0000000
--- a/src/northbridge/amd/agesa/family10/bootblock.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- *****************************************************************************
- *
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2011 Advanced Micro Devices, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- * ***************************************************************************
- *
- */
-
-#include <arch/io.h>
-#include <arch/romcc_io.h>
-#include <device/pci_def.h>
-
-static void bootblock_northbridge_init(void) {
-}
diff --git a/src/northbridge/amd/agesa/family12/Kconfig b/src/northbridge/amd/agesa/family12/Kconfig
index fc3c436..8ab5de8 100755
--- a/src/northbridge/amd/agesa/family12/Kconfig
+++ b/src/northbridge/amd/agesa/family12/Kconfig
@@ -73,7 +73,3 @@ if DIMM_DDR3
endif
endif
-config BOOTBLOCK_NORTHBRIDGE_INIT
- string
- default "northbridge/amd/agesa/family12/bootblock.c"
- depends on NORTHBRIDGE_AMD_AGESA_FAMILY12
diff --git a/src/northbridge/amd/agesa/family12/bootblock.c b/src/northbridge/amd/agesa/family12/bootblock.c
deleted file mode 100644
index f6ae8be..0000000
--- a/src/northbridge/amd/agesa/family12/bootblock.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- *****************************************************************************
- *
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2011 Advanced Micro Devices, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- * ***************************************************************************
- *
- */
-
-#include <arch/io.h>
-#include <arch/romcc_io.h>
-#include <device/pci_def.h>
-
-static void bootblock_northbridge_init(void) {
-}
diff --git a/src/northbridge/amd/agesa/family14/Kconfig b/src/northbridge/amd/agesa/family14/Kconfig
index 44f93c1..e462153 100644
--- a/src/northbridge/amd/agesa/family14/Kconfig
+++ b/src/northbridge/amd/agesa/family14/Kconfig
@@ -39,8 +39,4 @@ config MMCONF_BUS_NUMBER
int
default 16
-config BOOTBLOCK_NORTHBRIDGE_INIT
- string
- default "northbridge/amd/agesa/family14/bootblock.c"
-
endif
diff --git a/src/northbridge/amd/agesa/family14/bootblock.c b/src/northbridge/amd/agesa/family14/bootblock.c
deleted file mode 100644
index f6ae8be..0000000
--- a/src/northbridge/amd/agesa/family14/bootblock.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- *****************************************************************************
- *
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2011 Advanced Micro Devices, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- * ***************************************************************************
- *
- */
-
-#include <arch/io.h>
-#include <arch/romcc_io.h>
-#include <device/pci_def.h>
-
-static void bootblock_northbridge_init(void) {
-}
diff --git a/src/northbridge/amd/agesa/family15/Kconfig b/src/northbridge/amd/agesa/family15/Kconfig
index 52f7a1e..382c1af 100644
--- a/src/northbridge/amd/agesa/family15/Kconfig
+++ b/src/northbridge/amd/agesa/family15/Kconfig
@@ -41,9 +41,6 @@ config MMCONF_BASE_ADDRESS
config MMCONF_BUS_NUMBER
int
default 64
-config BOOTBLOCK_NORTHBRIDGE_INIT
- string
- default "northbridge/amd/agesa/family15/bootblock.c"
endif #NORTHBRIDGE_AMD_AGESA_FAMILY15
source "src/northbridge/amd/agesa/family15/root_complex/Kconfig"
diff --git a/src/northbridge/amd/agesa/family15/bootblock.c b/src/northbridge/amd/agesa/family15/bootblock.c
deleted file mode 100644
index fc62c3e..0000000
--- a/src/northbridge/amd/agesa/family15/bootblock.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2012 Advanced Micro Devices, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#include <arch/io.h>
-#include <arch/romcc_io.h>
-#include <device/pci_def.h>
-
-static void bootblock_northbridge_init(void) {
-}
Kyösti Mälkki (kyosti.malkki(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/791
-gerrit
commit 0a3613c109beaa5038a43b8bc146720c80aa249b
Author: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Date: Fri Mar 16 07:37:41 2012 +0200
Makefile: XIP_ROM_SIZE error is not fatal
Romstage size exceeds XIP_ROM_SIZE on following boards:
intel/truxton
intel/xe7501devkit
via/epia-n
This marks the complete Jenkins build as failed.
XIP_ROM_SIZE should be increased on these platforms, but only after
testing on real hardware that they have sufficient cache.
As a workaround, complete such builds with an unaligned placement of
romstage in the flash image binary. These should execute, but very
slowly.
Change-Id: I4d7c791958e3d518051207ab97deef5890dac6cf
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
---
src/arch/x86/Makefile.inc | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/src/arch/x86/Makefile.inc b/src/arch/x86/Makefile.inc
index 75546f1..da49373 100755
--- a/src/arch/x86/Makefile.inc
+++ b/src/arch/x86/Makefile.inc
@@ -109,6 +109,7 @@ ifeq ($(CONFIG_INCLUDE_CONFIG_FILE),y)
endif
mv $@.tmp $@
@printf " CBFSPRINT $(subst $(obj)/,,$(@))\n\n"
+ if [ -f $(obj)/no_xip ]; then echo "The romstage is larger than XIP size. Please expand the CONFIG_XIP_ROM_SIZE.\n" ; fi
$(CBFSTOOL) $@ print
stripped_vgabios_id = $(call strip_quotes,$(CONFIG_VGA_BIOS_ID))
@@ -346,7 +347,11 @@ $(obj)/coreboot.romstage: $(obj)/coreboot.pre1 $$(romstage-objs) $(obj)/romstage
$(CC) -nostdlib -nostartfiles -static -o $(obj)/romstage.elf -L$(obj) -T $(obj)/romstage/ldscript.ld $(romstage-objs)
$(OBJCOPY) -O binary $(obj)/romstage.elf $(obj)/romstage.bin
printf "CONFIG_ROMBASE = 0x" > $(obj)/location.ld
- $(CBFSTOOL) $(obj)/coreboot.pre1 locate $(obj)/romstage.bin $(CONFIG_CBFS_PREFIX)/romstage $(CONFIG_XIP_ROM_SIZE) > $(obj)/location.txt || { echo "The romstage is larger than XIP size. Please expand the CONFIG_XIP_ROM_SIZE" ; exit 1; }
+ rm -f $(obj)/no_xip
+ $(CBFSTOOL) $(obj)/coreboot.pre1 locate $(obj)/romstage.bin $(CONFIG_CBFS_PREFIX)/romstage $(CONFIG_XIP_ROM_SIZE) > $(obj)/location.txt || touch $(obj)/no_xip
+ if [ -f $(obj)/no_xip ]; then \
+ $(CBFSTOOL) $(obj)/coreboot.pre1 locate $(obj)/romstage.bin $(CONFIG_CBFS_PREFIX)/romstage $(CONFIG_ROM_SIZE) > $(obj)/location.txt || exit 1 ; \
+ fi
cat $(obj)/location.txt >> $(obj)/location.ld
printf ';\n' >> $(obj)/location.ld
$(CC) -nostdlib -nostartfiles -static -o $(obj)/romstage.elf -L$(obj) -T $(obj)/romstage/ldscript.ld $(romstage-objs)
Thanks for suggestions..I will go through the provided link.
On Thu, Mar 15, 2012 at 11:12 PM, <coreboot-request(a)coreboot.org> wrote:
> Send coreboot mailing list submissions to
> coreboot(a)coreboot.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://www.coreboot.org/mailman/listinfo/coreboot
> or, via email, send a message with subject or body 'help' to
> coreboot-request(a)coreboot.org
>
> You can reach the person managing the list at
> coreboot-owner(a)coreboot.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of coreboot digest..."
>
>
> Today's Topics:
>
> 1. Patch merged into coreboot/master: a47f09d AGESA family 12
> changes to fix torpedo warnings (gerrit(a)coreboot.org)
> 2. Re: SMP stop_this_cpu and AP_IN_SIPI_WAIT (ron minnich)
> 3. Re: Problems with Winnet G270 Board / Igel Thin Client 3210
> need help (Christian)
> 4. Patch merged into coreboot/master: 8cc685b Since cbfs_core.h
> provides a macro that uses ntohl, make sure ntohl is available
> (gerrit(a)coreboot.org)
> 5. Fwd: kindly requesting to assign work on coreboot (manasa gv)
> 6. Fwd: kindly requesting to assign work on coreboot (manasa gv)
> 7. [RFC] Improve very early boot (Ky?sti M?lkki)
> 8. Re: Fwd: kindly requesting to assign work on coreboot
> (Paul Menzel)
> 9. kindly requestig to assign work on coreboot (manasa gv)
> 10. Re: [RFC] Improve very early boot (Patrick Georgi)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 14 Mar 2012 00:57:57 +0100
> From: gerrit(a)coreboot.org
> To: coreboot(a)coreboot.org
> Subject: [coreboot] Patch merged into coreboot/master: a47f09d AGESA
> family 12 changes to fix torpedo warnings
> Message-ID: <E1S7bbJ-0007ag-Gr(a)ra.coresystems.de>
> Content-Type: text/plain; charset="UTF-8"
>
> the following patch was just integrated into master:
> commit a47f09d8e723896eb63ae8437250c0ee7ce68da9
> Author: Martin Roth <martin(a)se-eng.com>
> Date: Fri Feb 17 13:16:04 2012 -0700
>
> AGESA family 12 changes to fix torpedo warnings
>
> Fixes the warnings generated in the torpedo mainboard build by AGESA.
> Removing broken tests.
>
> Change-Id: Ib444fa2bf4dd94cadb4ce33040eb5650d1c0325b
> Signed-off-by: Martin L Roth <martin(a)se-eng.com>
>
> Build-Tested: build bot (Jenkins) at Fri Feb 17 22:50:04 2012, giving +1
> Reviewed-By: Stefan Reinauer <stefan.reinauer(a)coreboot.org> at Wed Feb 29
> 23:32:35 2012, giving +2
> See http://review.coreboot.org/667 for details.
>
> -gerrit
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 13 Mar 2012 19:40:41 -0700
> From: ron minnich <rminnich(a)gmail.com>
> To: Ky?sti M?lkki <kyosti.malkki(a)gmail.com>
> Cc: Coreboot <coreboot(a)coreboot.org>
> Subject: Re: [coreboot] SMP stop_this_cpu and AP_IN_SIPI_WAIT
> Message-ID:
>
> <CAP6exYJZxNY+8SxEFKUW7pYa_j_sUsVCt1Huf-iYB5HC70cjGg(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Tue, Mar 13, 2012 at 1:13 PM, Ky?sti M?lkki <kyosti.malkki(a)gmail.com>
> wrote:
>
>> Seems like the patch just appeared and was merged without any
>> discussion. It would have been nice to describe the circumstances under
>> which Intel Core Duo failed...
>
> Assuming one is allowed to. Keep in mind that there are changes that
> go in that people can't talk about because they are under some sort of
> NDA. This may have been one of them. I do not know.
>
> ron
>
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 14 Mar 2012 19:22:06 +0100
> From: Christian <christian.suehs(a)online.de>
> To: coreboot(a)coreboot.org
> Subject: Re: [coreboot] Problems with Winnet G270 Board / Igel Thin
> Client 3210 need help
> Message-ID: <1331749326.5272.4.camel(a)dance-or-die3.athome.de>
> Content-Type: text/plain; charset="UTF-8"
>
>
>>
>> For Via Model A Eden I have to change the
>>
>> static int c7a_speed_translation[] = {
>> // LFM HFM
> 0x0409, 0x0609 // 400MHz, 844mV --> 600MHz, 844mV Eden
> insert this line for Via Eden 600MHz CPU
>> 0x0409, 0x0f13, // 400MHz, 844mV --> 1500MHz, 1.004V
>> C7-M
>> 0x0409, 0x1018, // 400MHz, 844mV --> 1600MHz, 1.084V
>> 0x0409, 0x0c18, // 533MHz, 844mV --> 1600MHz, 1.084V
>> 0x0409, 0x121c, // 400MHz, 844mV --> 1800MHz, 1.148V
>> 0x0409, 0x0e1c, // 533MHz, 844mV --> 1860MHz, 1.148V
>> 0x0409, 0x141f, // 400MHz, 844mV --> 2000MHz, 1.196V
>> 0x0409, 0x0f1f, // 533MHz, 844mV --> 2000MHz, 1.196V
>> 0x0406, 0x0a06, // 400MHz, 796mV --> 1000MHz, 796mV
>> C7-M ULV
>> 0x0406, 0x0a09, // 400MHz, 796mV --> 1000MHz, 844mV
>> 0x0406, 0x0c09, // 400MHz, 796mV --> 1200MHz, 844mV
>> 0x0406, 0x0f10, // 400MHz, 796mV --> 1500MHz, 956mV
>> };
>
> I`m not sure about DRAM Frequency Loading the kernel is a little bit
> slower as with factoy Bios, should be 266MHZ.
>
>>
>> > > chris
>>
>>
>
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 14 Mar 2012 23:00:27 +0100
> From: gerrit(a)coreboot.org
> To: coreboot(a)coreboot.org
> Subject: [coreboot] Patch merged into coreboot/master: 8cc685b Since
> cbfs_core.h provides a macro that uses ntohl, make sure ntohl is
> available
> Message-ID: <E1S7wF9-0000ut-MO(a)ra.coresystems.de>
> Content-Type: text/plain; charset="UTF-8"
>
> the following patch was just integrated into master:
> commit 8cc685b2e006f3756dd26885b834fb198fa1f137
> Author: Gabe Black <gabeblack(a)google.com>
> Date: Fri Sep 16 02:24:03 2011 -0700
>
> Since cbfs_core.h provides a macro that uses ntohl, make sure ntohl is
> available
>
> Since cbfs_core.h provides a macro that uses ntohl, make sure ntohl is
> available by
> including byteorder.h
>
> Change-Id: I9ab8cb51bd680e861b28d5130d09547bb9ab3b1f
> Signed-off-by: Gabe Black <gabeblack(a)google.com>
>
> Build-Tested: build bot (Jenkins) at Fri Mar 9 05:43:36 2012, giving +1
> Reviewed-By: Peter Stuge <peter(a)stuge.se> at Wed Mar 14 23:00:25 2012,
> giving +2
> See http://review.coreboot.org/709 for details.
>
> -gerrit
>
>
>
> ------------------------------
>
> Message: 5
> Date: Thu, 15 Mar 2012 15:39:31 +0530
> From: manasa gv <manasa671989(a)gmail.com>
> To: coreboot(a)coreboot.org
> Subject: [coreboot] Fwd: kindly requesting to assign work on coreboot
> Message-ID:
>
> <CALYtimq4egNViWtXoh4etfz8HFV686hCB20bmfuQaFKhO5WhHA(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> ---------- Forwarded message ----------
> From: manasa gv <manasa671989(a)gmail.com>
> Date: Thu, Mar 15, 2012 at 3:27 PM
> Subject: kindly requesting to assign work on coreboot
> To: kirantpatil(a)gmail.com
>
>
> Respected sir,
>
>
> I am Manasa, a graduate engineer intersted to work on
> coreboot..I have gone through the coreboot website, flashrom,supported
> mother boards,chipsets,bios savior and all those things.and also gone
> through opencompute.org site to understand regarding mother board and bus
> architecture..am new and interested to work on coreboot..so please
> assign
> some work related to coreboot..
>
>
> Regards & Thanks,
> Manasa
>
Hi
On selected boards, some hardware initialisation is placed in the
bootblock. The source files and directories are currently hard-coded in
Kconfigs, which is sort of ugly.
A few months ago I put together changeset [1], which hasn't drawn much
review or interest. One benefit of my changeset is that it can be
extended to move superio and console initialisation to bootblock.
Serial-line IO can then be used to switch between fallback/normal
romstage and early POSTs could go to serial too.
Thanks for any comments.
KM
[1] http://review.coreboot.org/#/c/473/
the following patch was just integrated into master:
commit 36e0e8bedfbc3c5a981de88eec62c992973b628a
Author: Marc Jones <marc.jones(a)se-eng.com>
Date: Thu Mar 15 12:55:26 2012 -0600
Clean up whitespace in fam14 northbridge.c
Change-Id: Id7947d7f3c67fdda67861065b1bc7a519b97208f
Signed-off-by: Marc Jones <marc.jones(a)se-eng.com>
Build-Tested: build bot (Jenkins) at Thu Mar 15 21:01:14 2012, giving +1
Reviewed-By: Peter Stuge <peter(a)stuge.se> at Thu Mar 15 21:27:20 2012, giving +2
See http://review.coreboot.org/789 for details.
-gerrit