Just comment out the jmp to normal section, should be more easier.
YH
-----Original Message----- From: linuxbios-bounces@linuxbios.org [mailto:linuxbios-bounces@linuxbios.org] On Behalf Of Myles Watson Sent: Wednesday, October 18, 2006 12:23 PM To: linuxbios@linuxbios.org Subject: Re: [LinuxBIOS] Tyan s2892 the OLPC way
Do we need a new variable FALLBACK_ONLY ?
I put together the attached patch to try to modify it nicely, but I'm not sure it works as I intended. I wanted to only try to jump to normal when there is a normal, but the variables are all FALLBACK-oriented.
Myles
Or modify you cache_as_ram_auto.c failover.c, force it to jump to fallback only for safe.
YH
That was it. When should I have to do that?
Myles
-----Original Message----- From: Lu, Yinghai [mailto:yinghai.lu@amd.com] Sent: Wednesday, October 18, 2006 12:16 PM To: myles@mouselemur.cs.byu.edu Subject: RE: [LinuxBIOS] Tyan s2892 the OLPC way
Clear your CMOS by using the hw jump.
can we make one more generic buildrom and put into tree?
git or svn should be ok.
it should only produce payload only.
How abut call it buildpayload?
We can use Myles Watson's modification as a base.
YH
there is a buildrom tree at openbios.org
use the co command for linuxbios but specify buildrom.
actually, the OLPC buildrom is generic enough at this point that we should be abe to use it with few mods. I extended it a bit and all we need is a set of pre-built .config files, one per mainboard, and a setting in the file. It is very close.
In fact I just used buildrom to build a linux-in-flash for the sun ultra40 workstation!
ash prompt in < 10 secs. most of that time is the fixed delays in the kernel ...
thanks
ron
but the one still include VSA and linuxbios in it.
busybox kernel kexec-boot-loader kexec-tools mkelfimage uclibc
do i need kexec-boot-loader?
YH
On 10/29/06, yhlu yinghailu@gmail.com wrote:
but the one still include VSA and linuxbios in it.
busybox
you want this.
kernel
kexec-boot-loader
you want this
kexec-tools
mkelfimage uclibc
do i need kexec-boot-loader?
yes
If you look in deploy, for now, you can use the payload, which is built without containing linuxbios or vsa. That is how I got a working payload for ultra40.
What we need to do with buildrom is extend it so we can have a config file for a given platform, that builds the proper kernel AND linuxbios, and has payloads like VSA as an OPTION. I think this is easy. I did it (sort of) for qemu.
ron