[coreboot] ram init help on the i82830

Joseph Smith joe at settoplinux.org
Fri May 30 02:35:19 CEST 2008




On Thu, 29 May 2008 10:35:09 -0400, Joseph Smith <joe at settoplinux.org>
wrote:
> 
> Ok, I adapted the E7501 code, I think this will work great. I will test
> tonight, and get back.
> 
> 	dimm_start = 0;
> 
> 	for (i = 0; i < DIMM_SOCKETS; ++i) {
> 		if (i == 0) {
> 			dimm_end = pci_read_config8(ctrl->d0, DRB + 1);
> 		} else if (i == 1) {
> 			dimm_end = pci_read_config8(ctrl->d0, DRB + 3);
> 		}
> 
> 		if (dimm_end > dimm_start) {
> 
> 			/* Convert to a 32 bit address. NOTE: 2^25 == 32 MB */
> 			dimm_start_address = dimm_start << 25;
> 
> 			PRINT_DEBUG("    Sending RAM command to 0x");
> 			PRINT_DEBUG_HEX32(dimm_start_address + addr_offset);
> 			PRINT_DEBUG("\r\n");
> 			read32(dimm_start_address + addr_offset);
> 
> 			/* Set the start of the next DIMM. */
> 			dimm_start = dimm_end;
> 		}
> 	}
> 

Nope it doesn't even make it to this part????
It craps out right after "coreboot-2.0.0_IP1000 Thu May 29 00:58:25 EDT
2008 starting..." and just locks up????
This is making me crazy!!
This little box would scream, if I could this 512MB so-dimm to work,
HELP!!!

-- 
Thanks,
Joseph Smith
Set-Top-Linux
www.settoplinux.org





More information about the coreboot mailing list