Hi,
thanks for the information.
Please try the attached patch for your board, it should at least print something on the serial console and might even boot to a Linux login prompt if you insert 64 MB (or more?) into the first RAM slot.
Apply it with:
$ patch -p0 < v2_atrend_atc_6240.patch
On Wed, May 21, 2008 at 05:37:51AM +0000, shadow . wrote:
Do you have a null-modem cable for debugging and a spare ROM chip you can use for testing coreboot?
i have an old RS-232 serial convertor cabel modem (25-pin to 9-pin) use it for my external modem, can i use it , if can not i will buy one .
Hm, dunno, see here for a picture of a null-modem cable: http://www.coreboot.org/FAQ#Null-modem_cable
Basically you want to connect COM1 (or COM2) on the target PC to COM1 (or COM2) on another PC. You can test your cable by using a terminal program such as minicom on both sides.
The settings are 115200 BAUD, 8 bits, no parity, 1 stop bit.
yes i have spare ROM chip .
Great. Please try to read your original chip's contents first with
$ flashrom -r orig.dd
Then, hot-swap the chips (i.e. insert the empty one), and try to flash your original BIOS image onto it:
$ flashrom -wv orig.dd
If it says VERIFIED, things look ok. Then, try to power-off the machine and restart it with this newly written chip. If that works (i.e. the chip now contains a working and tested copy of your original BIOS) you're fine.
Store away one of the chips somewhere safe now, in order to have a backup when something goes wrong.
For building a coreboot image of your board, first build a payload (usually you want FILO to boot from disk).
Then:
$ cd coreboot-v2/targets $ ./buildtarget a-trend/atc-6240 $ cd a-trend/atc-6240/atc-6240 $ cp ~/filo.elf payload.elf $ make
The coreboot.rom file is your new image which you can flash with flashrom.
HTH, Uwe.