<br><br><div class="gmail_quote">On Tue, May 27, 2008 at 10:27 PM, Joseph Smith <<a href="mailto:joe@settoplinux.org">joe@settoplinux.org</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hello,<br>
Now that I got coreboot running on the IP1000, I finally am able to test<br>
out the so-dimm socket. I maxed out the slot with a big 512MB so-dimm. I<br>
don't think the "for" statement we came up with is working correctly:<br>
<br>
/* NOTE: Dual-sided ready. */<br>
read32(0 + addr_offset);<br>
for (i = 0; i < 4; i++) {<br>
reg8 = pci_read_config8(ctrl->d0, DRB + i);<br>
if (reg8 != reg8_2)<br>
read32(reg8 * 32 * 1024 * 1024);<br>
reg8_2 = reg8;<br>
}<br>
<br>
The memory is detecting correctly, but I don't think coreboot can find the<br>
end of the side of the so-dimm, thus causing a lockup after Jumping to<br>
coreboot. I think I need to setup something more like the E7501<br>
do_ram_command() but I want to keep it simple. Here is the bootlog, Help??<br>
</blockquote><div><br><br>You're right, change <br><br>read32(reg8 * 32 * 1024 * 1024);<br><br>to<br><br>read32((reg8 * 32 * 1024 * 1024) + addr_offset);<br><br>also, make sure reg8_2 is 0'd before entering the for loop.<br>
<br>-Corey<br></div></div>