hello,
I had a few questions regarding linuxbios: 1) Does it support tftpboot,bootp etc? 2) Does it support GDB stubs for debugging? 3) Are there any licensing issues involved if used?
Any information is of great help. thanks in advance Sanju
_________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus
On Wed, 12 Feb 2003, Sanjay lal wrote:
- Are there any licensing issues involved if used?
GPL. If you use it you have to release any mainboard support you write back to the source tree.
ron
Ok. Under the excellent guidance of Ron I finally got LinuxBIOS to boot on our custom 440bx board by hardcoding the right values into the DRB and page size registers.
The problem seems to be that linuxBIOS dosen't detect the RAM properly in row 0. Its seems to be setting it up at row 1.
I've been trying to use dump_spd_registers to see if I can figure out whats going on but all I seem to get is something more or less like the following:
dimm 50
dimm 51 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04
I've played with SMBUS_MEM_DEVICE_START but I still just get 04's. What's the standard adress for the spd info?
If this is truly what linuxbios is getting back from the spd then I can see why its confused.
dump_spd_registers seems to have a bug.
After it calls smbus_read_byte it does a 'jz dump_spd_reg_next_dimm'
Why?
Is it looking to see if the loaded data byte is zero? if so then this dosen't work because the 'in' instruction from the read dosen't set the flags.
And even if this did work zeros occur naturally in the spd datastream so skipping the dimm if you get a zero is bad.
I've modified smbus_read_byte to set/clear the carry bit on failure/success and now dump_spd_registers checks that and that seems to work fine.
Is this the right solution or am I still missing something?
I had a few questions regarding linuxbios:
- Does it support tftpboot,bootp etc?
yes, but not directly. you will have to place 'etherboot' on top of LinuxBIOS. But then that's the idea. That is : having an modular bios.