From 8c1c1c0557f53ab8a13aef49721a72be784717be Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Tue, 16 Oct 2007 00:13:59 +0000 Subject: Completely rip out / replace the ASUS P2B code (which wasn't really working), replacing it with a minimal, but working, framework which will be expanded. Drop a bunch of useless and duplicated files, add missing license headers. I'm self-acking it this time, the diff is a huge unreadable mess and the old code is broken anyway... This code is tested to build fine, and can boot a Linux kernel up to a login-prompt via FILO (IDE). This is verified on actual hardware. Signed-off-by: Uwe Hermann Acked-by: Uwe Hermann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2859 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- targets/asus/p2b/Config.lb | 47 ++++++++++++++++++++++++++++------------------ 1 file changed, 29 insertions(+), 18 deletions(-) (limited to 'targets') diff --git a/targets/asus/p2b/Config.lb b/targets/asus/p2b/Config.lb index 364309f7cc..ba56b9ac8a 100644 --- a/targets/asus/p2b/Config.lb +++ b/targets/asus/p2b/Config.lb @@ -1,29 +1,40 @@ -# Config file for asus p2b board -# This will make a target directory of ./p2b +## +## This file is part of the LinuxBIOS project. +## +## Copyright (C) 2007 Uwe Hermann +## +## 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; either version 2 of the License, or +## (at your option) any later version. +## +## 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 +## target p2b mainboard asus/p2b -option ROM_SIZE=256*1024 +option ROM_SIZE = 256 * 1024 romimage "normal" - option USE_FALLBACK_IMAGE=0 - option ROM_IMAGE_SIZE=0x10000 - option LINUXBIOS_EXTRA_VERSION=".0Normal" -# payload /usr/share/etherboot/5.1.9pre2-lnxi-lb/tg3--ide_disk.zelf -# payload ../../../../tg3--ide_disk.zelf -# payload ../../../../../lnxieepro100.ebi - payload /etc/hosts + option USE_FALLBACK_IMAGE = 0 + option ROM_IMAGE_SIZE = 64 * 1024 + option LINUXBIOS_EXTRA_VERSION = ".0Normal" + payload /tmp/filo.elf end -romimage "fallback" - option USE_FALLBACK_IMAGE=1 - option ROM_IMAGE_SIZE=0x10000 - option LINUXBIOS_EXTRA_VERSION=".0Fallback" -# payload /usr/share/etherboot/5.1.9pre2-lnxi-lb/tg3--ide_disk.zelf -# payload ../../../../tg3--ide_disk.zelf -# payload ../../../../../lnxieepro100.ebia - payload /etc/hosts +romimage "fallback" + option USE_FALLBACK_IMAGE = 1 + option ROM_IMAGE_SIZE = 64 * 1024 + option LINUXBIOS_EXTRA_VERSION = ".0Fallback" + payload /tmp/filo.elf end buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback" -- cgit v1.2.3