How hard is it to make a circuit that will load RAM from SD/SDHC?
I am wondering how hard it would be to make a HARDWARE circuit that can sequentially read certain sectors from an SD/SDHC card and load them into RAM. I am wondering why we still make PC motherboards with soldered on Flash, instead of a removable micro-SDHC card. My though is the BIOS firmware could be loaded this way when powering on. This would remove the risks in reflashing BIOS, since the micro-SDHC card can be verified as correctly loaded in advance of it being placed into active use, and swapped back out if things don't work.
|
Member response
Hi,
System security! Prevent someone from hi-jacking or hacking a secure system with the on-board BIOS. Look at Android and other tablet devices that are jail broken if you desire this type of personal system. |
not to speak about the speed...
|
Quote:
|
Quote:
I'm thinking in terms of the risks that exist when doing reflashing. If the flash process gets interrupted, or the new image does not work, with a micro-SD card, it would be easy to avoid a bricked board. Yeah, I can imagine some corporation not wanting to do that for their "be in control of the user experience" device. |
http://lennartb.home.xs4all.nl/bootloaders/node3.html
http://computer.howstuffworks.com/bios.htm the original bios runs from the flash, firmware is not copied to the main ram (ok, parts of it can be copied). I do not know how much of that bios is now used by the OS, but long time ago that code was used (interrupt handlers) for example by msdos. Using a sdhc for this looks not trivial. Anyway, you can try to update a bios and you will see the size of the firmware is a few MBs or less. |
Member response
Hi,
Quote:
|
Electrically Erasable Programmable read only memory is not the same as a CF or any other common flash memory.
Companies that make motherboards do so that the very slightest of profit margins. They would not spend the amount of money to make a zif or quad package socket. Don't just flash a bios for any reason other than the exact errata stated in the change exactly matches what symptoms you have. Every ID 10 T on the planet seems to flash bios's for no reason. Today most bios's have a failsafe way to fix even botched loads. |
Quote:
And yes, I do understand that a the flash on a PC would be read from directly from a CPU memory access at it's address range. I know that flash DRIVE emulations are not that. That's why I suggested the idea that would make simple flash drive interfaces like SD cards work ... by reading them sequentially into RAM, and then running the BIOS from that RAM location, instead of directly from the flash memory chip. The purpose was to make it easy to change. But I guess companies would rather save the few pennies difference that might mean, and have more people buy more boards to replace the ones they brick while flashing. |
Quote:
|
Quote:
If you have a second mainboard of the same type re-flashing is as simple as that. Start the second board and go to the in-built flash-tool (or start a DOS if it one of those rare boards without such a tool), then pull out the BIOS chip and plug in the one with the defective data on it (I have not seen one general purpose mainboard for years where the BIOS chip is soldered in, they all come socketed) and re-flash it. Done. In general, flashing the BIOS is a work that should only be done when the following circumstances apply: - You really need to flash the BIOS (like jefro already stated) - If you try to improve the compatibility for your CPU or RAM with a newer BIOS version (except bugfixing the only valid reason, IMHO) then don't use those components for the flashing. Use components that are known to work. - You know that your system in general is in a known-well state (no faulty RAMS, no overclockingm ...). - The medium that contains the new BIOS is checked for errors (md5sum of the BIOS for example). - You have a reliable power source. If you are not able to make sure any of these circumstances can be fulfilled by you it may be more trouble free and less error prone to just visit a local store and let them do it. |
Quote:
As for the ASUS, I wonder how that works if the BIOS is dead. What would know how to read a new flash image from the CD if there's no BIOS and no OS? Quote:
My interest is NOT in how to do the initial flashing right, but how to fix it when something went wrong ... even if it was a virus/trojan that attacks the BIOS flash. This is one reason I thought about SD card, because it has a read-only switch. |
Quote:
Quote:
|
Quote:
|
Modern mainboards ha BIOS chips that can contain up to 16MB, while the BIOS software itself is mostly 4 or 8MB. So there is enough storage for such routines. Even if not, that should not be so difficult to implement.
As stated above, I don't think that your idea will be implemented for cost reasons, simple as that. |
All times are GMT -5. The time now is 10:01 AM. |