[coreboot] The default value of TOM (MSRC001_001A) just after Power-On
The default value of MSRC001_001A (Top of Memory below the 4GB limit) according to BKDG for AMD Fam 10h rev. 3.06 is undefined (after Reset/power-on). However, AMD64 Architecture Programmer's Manual Volume 2: System Programming Rev. 3.14 states that the value of MSRC001_001A after Reset or power on is: __0400_h Which one of this information is correct? I need to know it because I want to know what is the default MMIO range after reset. Thanks. -- Regards, Darmawan Salihun -= Human knowledge belongs to the world =- -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] coreboot and MSM800BEV
Hello again, I've wrote my own RAM initialization function which based on factory BIOS setting and AMD Geode LX Data Book. Unfortunately it didn't bring any result. As previous, the booting process hangs on executing wbinvd function. I noticed that when I try to write some data into desired stack address range (pointed by CONFIG_CARBASE=0x8 value in .config file) the booting process hangs on it. This situation occurs when I use the coreboot RAM initialization function and my own function as well. It is very strange to me. Could you give me any advice how solve this situation? Thanks in advance for your engagement. -- Piotr Piwko http://www.embedded-engineering.pl/ -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] Seabios problems
Hello, I can't apply the diff to the biosvar.h, so I do it by hand. All other diffs applied correctly. The compiler throws errors: Compiling whole program out/ccode.16.s src/mouse.c: In function ‘disable_mouse’: src/mouse.c:34: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:34: warning: type defaults to ‘int’ in declaration of ‘__val’ src/mouse.c:34: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:34: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:34: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:34: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:37: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:37: warning: type defaults to ‘int’ in declaration of ‘__sfv_val’ src/mouse.c:37: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:37: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:37: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:37: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:37: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:37: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:37: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:37: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:37: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:37: warning: type defaults to ‘int’ in declaration of ‘__value_tmp’ src/mouse.c:34: error: memory input 1 is not directly addressable src/mouse.c:34: error: memory input 1 is not directly addressable src/mouse.c:34: error: memory input 1 is not directly addressable src/mouse.c: In function ‘mouse_15c20001’: src/mouse.c:65: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:65: warning: type defaults to ‘int’ in declaration of ‘__val’ src/mouse.c:65: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:65: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:65: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:65: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:68: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:68: warning: type defaults to ‘int’ in declaration of ‘__sfv_val’ src/mouse.c:68: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:68: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:68: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:68: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:68: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:68: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:68: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:68: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:68: error: ‘struct extended_bios_data_area_s’ has no member named ‘ps2ctr’ src/mouse.c:68: warning: type defaults to ‘int’ in declaration of ‘__value_tmp’ src/mouse.c:65: error: memory input 1 is not directly addressable src/mouse.c:65: error: memory input 1 is not directly addressable src/mouse.c:65: error: memory input 1 is not directly addressable src/kbd.c: In function ‘set_leds’: src/kbd.c:226: error: ‘struct bios_data_area_s’ has no member named ‘kbd_led’ src/kbd.c:226: warning: type defaults to ‘int’ in declaration of ‘__val’ src/kbd.c:226: error: ‘struct bios_data_area_s’ has no member named ‘kbd_led’ src/kbd.c:226: error: ‘struct bios_data_area_s’ has no member named ‘kbd_led’ src/kbd.c:226: error: ‘struct bios_data_area_s’ has no member named ‘kbd_led’ src/kbd.c:226: error: ‘struct bios_data_area_s’ has no member named ‘kbd_led’ src/kbd.c:236: error: ‘struct bios_data_area_s’ has no member named ‘kbd_led’ src/kbd.c:236: warning: type defaults to ‘int’ in declaration of ‘__sfv_val’ src/kbd.c:236: error: ‘struct bios_data_area_s’ has no member named ‘kbd_led’ src/kbd.c:236: error: ‘struct bios_data_area_s’ has no member named ‘kbd_led’ src/kbd.c:236: error: ‘struct bios_data_area_s’ has no member named ‘kbd_led’ src/kbd.c:236: error: ‘struct bios_data_area_s’ has no member named ‘kbd_led’ src/kbd.c:236: error: ‘struct bios_data_area_s’ has no member named ‘kbd_led’ src/kbd.c:236: error: ‘struct bios_data_area_s’ has no member named ‘kbd_led’ src/kbd.c:236: error: ‘struct bios_data_area_s’ has no member named ‘kbd_led’ src/kbd.c:236: error: ‘struct
[coreboot] [commit] r5044 - in trunk: . src
Author: stepan Date: 2010-01-20 19:44:30 +0100 (Wed, 20 Jan 2010) New Revision: 5044 Modified: trunk/Makefile trunk/src/Kconfig Log: These two files accidently got a wrong license header. Clarified with the authors Signed-off-by: Stefan Reinauer ste...@coresystems.de Acked-by: Ronald G. Minnich rminn...@gmail.com Acked-by: Peter Stuge pe...@stuge.se Acked-by: Myles Watson myle...@gmail.com Acked-by: Patrick Georgi patrick.geo...@coresystems.de Acked-by: Uwe Hermann u...@hermann-uwe.de Acked-by: Harald Gutmann harald.gutm...@gmx.net Modified: trunk/Makefile === --- trunk/Makefile 2010-01-19 21:15:37 UTC (rev 5043) +++ trunk/Makefile 2010-01-20 18:44:30 UTC (rev 5044) @@ -5,29 +5,19 @@ ## Copyright (C) 2008 Uwe Hermann u...@hermann-uwe.de ## Copyright (C) 2009-2010 coresystems GmbH ## -## Redistribution and use in source and binary forms, with or without -## modification, are permitted provided that the following conditions -## are met: -## 1. Redistributions of source code must retain the above copyright -##notice, this list of conditions and the following disclaimer. -## 2. Redistributions in binary form must reproduce the above copyright -##notice, this list of conditions and the following disclaimer in the -##documentation and/or other materials provided with the distribution. -## 3. The name of the author may not be used to endorse or promote products -##derived from this software without specific prior written permission. +## 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 SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND -## ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -## ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE -## FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -## DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -## OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -## HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -## LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -## OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -## SUCH DAMAGE. +## 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 +## $(if $(wildcard .xcompile),,$(eval $(shell bash util/xcompile/xcompile .xcompile))) include .xcompile Modified: trunk/src/Kconfig === --- trunk/src/Kconfig 2010-01-19 21:15:37 UTC (rev 5043) +++ trunk/src/Kconfig 2010-01-20 18:44:30 UTC (rev 5044) @@ -1,29 +1,21 @@ ## -## This file is part of the coreboot repair project. +## This file is part of the coreboot project. ## -## Redistribution and use in source and binary forms, with or without -## modification, are permitted provided that the following conditions -## are met: -## 1. Redistributions of source code must retain the above copyright -##notice, this list of conditions and the following disclaimer. -## 2. Redistributions in binary form must reproduce the above copyright -##notice, this list of conditions and the following disclaimer in the -##documentation and/or other materials provided with the distribution. -## 3. The name of the author may not be used to endorse or promote products -##derived from this software without specific prior written permission. +## Copyright (C) 2009-2010 coresystems GmbH ## -## THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND -## ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -## ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE -## FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -## DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -## OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -## HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -## LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -## OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -## SUCH DAMAGE. +## This program is free
Re: [coreboot] Seabios problems
On Wed, Jan 20, 2010 at 05:46:25PM +0100, conged...@voila.fr wrote: Hello, I can't apply the diff to the biosvar.h, so I do it by hand. All other diffs applied correctly. I've confirmed that the patch I sent applies cleanly: git clone git://git.linuxtogo.org/home/kevin/seabios.git cd seabios patch -p1 /path/to/ps2.patch make Please retry. Thanks, -Kevin -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot