Eric,
Did you ever translate the E7501 into C?
Regards
YH
-----邮件原件----- 发件人: ebiederman@lnxi.com [mailto:ebiederman@lnxi.com] 发送时间: Wednesday, June 16, 2004 10:25 AM 收件人: ron minnich 抄送: Stefan Reinauer; LinuxBIOS 主题: Re: [PROPOSAL] extended payload handling
ron minnich rminnich@lanl.gov writes:
On 14 Jun 2004, Eric W. Biederman wrote:
I'm not so sure I get this 'bloated' discussion. LinuxBIOS is around 32K. What's bloat? linuxbios overall is about the size of 'cat'.
Ron can I have you version of romcc?. We have several ports that are routinely smacking up against the 64K limit during development. The last E7501 port I did in the freebios1 tree LinuxBIOS was running about 40K. With romcc inlining everything we are worse in the freebios2 tree.
As far as bloat baring Stefan's concerns about redundancy between LinuxBIOS and OpenBIOS (the resource allocation code). Is not so much about the features we have to day, but more a feeling much more will be the pebble that starts the avalanche. Or maybe we feel we have seen the pebble, and we are watching it bounce downhill with dread.
The bottom line is that to keep size under control you constantly have to be paying attention to size, just as you have to constantly watch correctness and performance. The long term trends in the industry are for very slow romsize growth.
Anyway even at 32K you are twice as big as my cat :) ls -l /bin/cat -rwxr-xr-x 1 root root 15000 2003-10-04 17:10 /bin/cat*
Eric _______________________________________________ Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios
Mr. Yh,
I'm glag to see you here. I saw your name on the LinuxBIOS web site and know you are the owner of Tyan AMD64 motherboard.
I'm building the Linux BIOS using your Tyan s2882. The AMD opteron 2 CPUs system for my comany, we are evaluating Tyan s2882 board for a embeded Storage Server. I have some questions maybe you can enlighten me.
1. I get a lot of warning messages from compiler when I build, is that normal? I use Suse Linux 9.1, GCC 3.3.3
2. I only get Fallback BIOS build sucessfully, Normal BIOS will break during the build, is that the way it is?
3. I see your ROM_SECTION_SIZE was set to about 98K, you must have a very small payload and use a flash utilty to program the Flash. I set the ROM_SECTION_SIZE to 512K, but I'm still have trouble to get a Linux Kernel to fit into the Flash. Do you have any recommandation about the payload? if you can send your payload "tg3--ide_disk_com1_2.zelf" to me just for a testing purpose that will be great!
Thanks
Tony
On Wed, 16 Jun 2004, root wrote:
- I get a lot of warning messages from compiler when I build, is that
normal? I use Suse Linux 9.1, GCC 3.3.3
What sort of errors? There are some print statements such as #warning "FIXME handle interleaved nodes" that are harmless.
- I only get Fallback BIOS build sucessfully, Normal BIOS will break
during the build, is that the way it is?
No, normal and fallback should both build. Can you please send us a log?
YhLu YhLu@tyan.com writes:
Did you ever translate the E7501 into C?
No. But as a first pass you should still be able to skip that step in V2. Romcc generates assembly as an intermediate step.
Since the point primarily is not a good E7501 port but to get skeleton code for other Intel based ports. I don't think it will matter.
Of course maintenance will be a major pain if the code is not translated into C.
Oh, BTW. One of the things I forgot and was one of the motivators of my last romcc release is that I can now pass parameters in and out of romcc compiled code. So I should be able to clean up the handling of BIST checking on the Opteron port. Currently it is an ugly hack in assembly so I don't know if I have pushed that to the public tree or not.
Eric