hi Jordan, Do you have any document talking about how to write a BAYOU xml file,where to get it? Or, can you tell me where is wrong in the bayou.xml at below? Many thanks.
I have a bios.bin.elf(seabios binary file) and coreinfo.elf included in my bayou.elf, so a bayou.xml is written based on bayou.xml.example, but BAYOU fails to parse it at run time: The serial output has some messy code, and the screen output only have "default chain" and "y"(keyboard can be used to choose, but pressing [return] has no response).
Here are the details info:
-------------bayou.xml.example------------- -------------my bayou.xml------------- <BayouConfig> <BayouConfig> <global> <global> <timeout>10</timeout> <timeout>10</timeout> </global> </global> <payloads> <payloads> <payload type="chain" flags="default"> <payload type="chain" flags="default"> <title>Default Chain</title> <title>Default Chain</title> <chain> <chain> <file>payloads/passwd.elf</file> <file>bios.bin.elf</file> <lar>passwd</lar> </chain> </chain> <chain> <chain> <file>coreinfo.elf</file> <file>payloads/coreinfo.elf</file> </chain> </chain> </payload> </payload> <payload type="chooser"> <payload type="chooser"> <file>coreinfo.elf</file> <file>payloads/coreinfo.elf</file> </payload> </payload> </payloads> </payloads> </BayouConfig> </BayouConfig>
---------serial ouput of my bayou.xml------ ------------screen ouput of my bayou.xml ------
<-[H<-[JBayou Payload Chooser v0.3 --------payload chooser-------- Press ESC for the menu (10)... | | Press ESC for the menu ( 9)... | default chain | Press ESC for the menu ( 8)... | y | -------------------------------
On Mon, Feb 8, 2010 at 1:26 AM, jasonzhao zhao_jian_li@yahoo.com.cn wrote:
hi Jordan, Do you have any document talking about how to write a BAYOU xml file,where to get it? Or, can you tell me where is wrong in the bayou.xml at below? Many thanks.
I have a bios.bin.elf(seabios binary file) and coreinfo.elf included in my bayou.elf, so a bayou.xml is written based on bayou.xml.example, but BAYOU fails to parse it at run time: The serial output has some messy code, and the screen output only have "default chain" and "y"(keyboard can be used to choose, but pressing [return] has no response).
Here are the details info:
-------------bayou.xml.example------------- -------------my bayou.xml------------- <BayouConfig> <BayouConfig> <global> <global> <timeout>10</timeout> <timeout>10</timeout> </global> </global> <payloads> <payloads> <payload type="chain" flags="default"> <payload type="chain" flags="default"> <title>Default Chain</title> <title>Default Chain</title> <chain> <chain> <file>payloads/passwd.elf</file> <file>bios.bin.elf</file>
Jason,
Has Bayou been updated to work with CBFS? I think that the payload name in the xml should match the name as printed by "cbfstool coreboot.rom print'.
Marc
Hi Marc, My workmate has use the newest coreboot(download from svn) to load bayou.elf(include seabios and coreinfo in it) and it worked, but it is based on qemu and without CBFS. So maybe your concern of CBFS is right, thanks.
-----Original Message----- From: Marc Jones [mailto:marcj303@gmail.com] Sent: Tuesday, February 09, 2010 2:41 AM To: jasonzhao Cc: coreboot@coreboot.org Subject: Re: [coreboot] Where to find document for bayou.xml?
On Mon, Feb 8, 2010 at 1:26 AM, jasonzhao zhao_jian_li@yahoo.com.cn wrote:
hi Jordan, Do you have any document talking about how to write a BAYOU xml file,where
to get it?
Or, can you tell me where is wrong in the bayou.xml at below? Many thanks.
I have a bios.bin.elf(seabios binary file) and coreinfo.elf included in my
bayou.elf, so a bayou.xml is written based on bayou.xml.example, but BAYOU fails to parse it at run time:
The serial output has some messy code, and the screen output only have
"default chain" and "y"(keyboard can be used to choose, but pressing [return] has no response).
Here are the details info:
-------------bayou.xml.example------------- -------------my
bayou.xml-------------
<BayouConfig> <BayouConfig> <global> <global> <timeout>10</timeout> <timeout>10</timeout> </global> </global> <payloads> <payloads> <payload type="chain" flags="default"> <payload type="chain"
flags="default">
<title>Default Chain</title> <title>Default
Chain</title>
<chain> <chain> <file>payloads/passwd.elf</file>
<file>bios.bin.elf</file>
Jason,
Has Bayou been updated to work with CBFS? I think that the payload name in the xml should match the name as printed by "cbfstool coreboot.rom print'.
Marc
Marc Jones wrote:
Has Bayou been updated to work with CBFS?
bayou should be cbfs agnostic, no?
The payloads are included into the bayou ELF file, right?
//Peter
On Mon, Feb 08, 2010 at 04:26:15PM +0800, jasonzhao wrote:
hi Jordan, Do you have any document talking about how to write a BAYOU xml file,where to get it? Or, can you tell me where is wrong in the bayou.xml at below? Many thanks.
I have a bios.bin.elf(seabios binary file) and coreinfo.elf included in my bayou.elf, so a bayou.xml is written based on bayou.xml.example, but BAYOU fails to parse it at run time: The serial output has some messy code, and the screen output only have "default chain" and "y"(keyboard can be used to choose, but pressing [return] has no response).
I don't know what is required to configure Bayou. However, it's possible to have SeaBIOS launch payloads (eg, coreinfo.elf) - see the directions at:
http://www.coreboot.org/SeaBIOS#Adding_payloads
-Kevin
Kevin, Thank you for your infomation, this may be another way to achieve my task target. -----Original Message----- From: Kevin O'Connor [mailto:kevin@koconnor.net] Sent: Tuesday, February 09, 2010 11:22 AM To: jasonzhao Cc: jordan.crouse@amd.com; coreboot@coreboot.org Subject: Re: [coreboot] Where to find document for bayou.xml?
On Mon, Feb 08, 2010 at 04:26:15PM +0800, jasonzhao wrote:
hi Jordan, Do you have any document talking about how to write a BAYOU xml file,where to get it? Or, can you tell me where is wrong in the bayou.xml at below? Many thanks.
I have a bios.bin.elf(seabios binary file) and coreinfo.elf included in my bayou.elf, so a bayou.xml is written based on bayou.xml.example, but BAYOU fails to parse it at run time: The serial output has some messy code, and the screen output only have "default chain" and "y"(keyboard can be used to choose, but pressing [return] has no response).
I don't know what is required to configure Bayou. However, it's possible to have SeaBIOS launch payloads (eg, coreinfo.elf) - see the directions at:
http://www.coreboot.org/SeaBIOS#Adding_payloads
-Kevin
__________________________________________________ �Ͽ�ע���Ż����������������? http://cn.mail.yahoo.com
jasonzhao wrote:
Or, can you tell me where is wrong in the bayou.xml at below?
It is difficult for me to read your xml because of how it is included in the email. Next time please send the two xml files as attachment.
Personally I have used bayou version 0.2 successfully with changes in what payloads should be included. I am not sure if version 0.3 has worked for me yet.
What is the mode of operation that you want here? Do you want to use the chain functionality so that coreinfo is started if SeaBIOS somehow fails - or do you want a menu where the user chooses between SeaBIOS and coreinfo?
//Peter
Peter Stuge wrote:
bayou should be cbfs agnostic, no?
I think this should be the problem it meet, but it is weird that: when I do not choose which elf to run when the screen is at bayou interface, after timer expired, the first elf(I set it to seabios) will run and boot XP/linux normally. And, my coreboot revision is 4379. (The version that begin to use CBFS)
The payloads are included into the bayou ELF file, right?
Yes, I put seabios binary file into bayou's directory and tell that to bayou bayou.xml file.
At the end of web page of Coreboot.org/bayou there is claim that many changes need to be made to coreboot and Lar(not CBFS) and buildrom and libpayload, seems too difficult to me:).
__________________________________________________ �Ͽ�ע���Ż����������������? http://cn.mail.yahoo.com
jasonzhao wrote:
The payloads are included into the bayou ELF file, right?
Yes, I put seabios binary file into bayou's directory and tell that to bayou bayou.xml file.
Yep. This is how bayou always has worked, and it is also the reason that I think CBFS can be ignored unless you really require it.
At the end of web page of Coreboot.org/bayou there is claim that many changes need to be made to coreboot and Lar(not CBFS) and buildrom and libpayload, seems too difficult to me:).
They are needed to allow a new use case for bayou where bayou itself is stored in CBFS as normal/payload, bayou.xml is maybe also stored in CBFS, and finally each payload file that bayou wants to start will also be stored in CBFS, and all files will be stored separately.
But for the way things work now, where the bayou ELF file includes all the secondary payloads all those changes are not needed at all.
//Peter
Hi Peter, Sorry for late reply!
Peter Stuge wrote:
Personally I have used bayou version 0.2 successfully with changes in
what payloads should be included. I am not sure if version 0.3 has worked for me yet. The 0.3 version do not work with my COREBOOT. The revision of my COREBOOT code is 4379, and I have disabled CBFS by set CONFIG_CBFS=0.
What is the mode of operation that you want here? Do you want to use
the chain functionality so that coreinfo is started if SeaBIOS somehow fails - or do you want a menu where the user chooses between SeaBIOS and coreinfo? I want COREBOOT can boot to XP on ATA device with SEABIOS, and boot to another OS on flash device with FILO(for its support on USB). The original idea is we wonder a system could fast boot to an OS(like slitaz OS, 30MB size) located on USB flash device, based on the COREBOOT code base. A platform target at Cloud Computing may have this requirement. After the fail to try BAYOU, I found it is quite easy to call FILO from SEABIOS. However at this time, I then found EHCI/OCHI are not supported by LIBPAYLOAD, and UHCI is too slow to load a 30MB size OS. So I guess we will have to accept a fast booting OS on ATA device. Even Ubuntu 10.4 can be a choice for us, since I heard that the second alpha of it claims 15 seconds boot-time.
JasonZhao
Hi Peter, Sorry for late reply!
Peter Stuge wrote:
Personally I have used bayou version 0.2 successfully with changes in what payloads should be included. I am not sure if version 0.3 has worked for me
yet. The 0.3 version do not work with my COREBOOT. The revision of my COREBOOT code is 4379, and I have disabled CBFS by set CONFIG_CBFS=0.
What is the mode of operation that you want here? Do you want to use the
chain >functionality so that coreinfo is started if SeaBIOS somehow fails - or do you >want a menu where the user chooses between SeaBIOS and coreinfo? I want COREBOOT can boot to XP on ATA device with SEABIOS, and boot to another OS on flash device with FILO(for its support on USB). The original idea is we wonder a system could fast boot to an OS(like slitaz OS, 30MB size) located on USB flash device, based on the COREBOOT code base. A platform target at Cloud Computing may have this requirement. After the fail to try BAYOU, I found it is quite easy to call FILO from SEABIOS. However at this time, I then found EHCI/OCHI are not supported by LIBPAYLOAD, and UHCI is too slow to load a 30MB size OS. So I guess we will have to accept a fast booting OS on ATA device. Even Ubuntu 10.4 can be a choice for us, since I heard that the second alpha of it claims 15 seconds boot-time.
JasonZhao
__________________________________________________ �Ͽ�ע���Ż����������������? http://cn.mail.yahoo.com