Title: RE: CUA without using DOC!!

Here attach the config files and serial output,please check

CUV4X-V
#via.config

# This will make a target directory of ./via
target vt5292

# VIA test mainboard
mainboard via/vt5292

# Enable Serial Console for debugging
option SERIAL_CONSOLE=1
#option HAVE_FRAMEBUFFER
#option CONFIG_SERIAL_DETECT_IRQ

# My new option
option USE_SERIAL_FILL_INBUF
option  DEFAULT_CONSOLE_LOGLEVEL=8
#option RAMTEST
option ASM_CONSOLE_LOGLEVEL=8
option SUPERIO_DEVFN=0x20
option PM_DEVICE=0x24
option SMBUS_MEM_DEVICE_INC=1
option SMBUS_MEM_DEVICE_START=0
option SMBUS_MEM_DEVICE_END=2

# Enable MicroCode update and L2 Cache init for PII and PIII
option UPDATE_MICROCODE
option CONFIGURE_L2_CACHE

# Path to your kernel (vmlinux)
#linux ~/src/bios/linux-2.4.0-via
linux /usr/src/linux

option CMD_LINE="root=/dev/hda1 single console=ttyS0,115200N8"
#end of via.config

##### console log #########
LinuxBIOS starting...
Ram1
Ram2
No memory!
##### end of console log #########

Note: I also modify the Config file in src/northbride/via/vt8601/Config as follow

raminit northbridge/via/vt8601/raminit.inc
raminit northbridge/via/vt8601/raminitspd.inc
raminit sdram/smbus_pcibus.inc
raminit sdram/generic_sdram_enable.inc
raminit sdram/generic_sdram.inc
raminit northbridge/via/vt8601/afteram.inc
object northbridge.o

CUA
# I modify from DoC version
# Sample config file for ASUS CUA with DoC Millennium (as root)
target asus_cua

# Asus CUA
mainboard asus/cua

# Enable Serial Console for debugging
option SERIAL_CONSOLE=1

# Enable MicroCode update and L2 Cache init for PII and PIII
option UPDATE_MICROCODE
option CONFIGURE_L2_CACHE

# use DOC MIL
#option USE_DOC_MIL
#docipl mainboard/asus/cua/ipl.S
option USE_SERIAL_FILL_INBUF
option DEFAULT_CONSOLE_LOGLEVEL=8
option ASM_CONSOLE_LOGLEVEL=8
option HAVE_PIRQ_TABLE=1
# Use the internal VGA frame buffer device
#option HAVE_FRAMEBUFFER

# Path to your kernel (vmlinux)
#linux ~/src/bios/linux-2.4.0-ali
linux /usr/src/linux


# Kernel command line parameters
option CMD_LINE="root=/dev/hda1 console=ttyS0,115200N8 console=tty0 single"


##### console log #########
LinuxBIOS starting...
Ram Initialize?
before main
LinuxBIOS booting...
Finding PCI configuration type.
PCI: Using configuration type 1
Scanning PCI bus...PCI: pci_scan_bus for bus 0
PCI: memory.
pci_get_sizedev_fn 0x0, register 0, read-only SO, ignoring it
addr was 0x8, size was 0x8
pci_get_sizedev_fn 0x0, register 1, read-only SO, ignoring it
addr was 0x0, size was 0x0
pci_get_sizedev_fn 0x0, register 2, read-only SO, ignoring it
addr was 0x0, size was 0x0
pci_get_sizedev_fn 0x0, register 3, read-only SO, ignoring it
addr was 0x0, size was 0x0
pci_get_sizedev_fn 0x0, register 4, read-only SO, ignoring it
addr was 0x0, size was 0x0
pci_get_sizedev_fn 0x0, register 5, read-only SO, ignoring it
addr was 0x0, size was 0x0
PCI: 00:00 [10b9/1621]
Found Dev 1
PCI: memory.
pci_get_sizedev_fn 0x8, register 0, read-only SO, ignoring it
addr was 0x0, size was 0x0
pci_get_sizedev_fn 0x8, register 1, read-only SO, ignoring it
addr was 0x0, size was 0x0
PCI: 00:08 [10b9/5247]
Found Dev 2
PCI: devfn 0x17, bad id 0xffffffff
PCI: devfn 0x1f, bad id 0xffffffff
PCI: devfn 0x27, bad id 0xffffffff
PCI: devfn 0x2f, bad id 0xffffffff
PCI: memory.
pci_get_sizedev_fn 0x30, register 2, read-only SO, ignoring it
addr was 0x0, size was 0x0
...
PCI: devfn 0xff, bad id 0xffffffff
PCI: pci_scan_bus returning with max=01
PCI: pci_scan_bus returning with max=01
done
Acer sizeram pcidev 000058c8
0x6c 0xee00803c, size 0x400000
0x70 0xe800a82d, size 0x0
0x74 0xe800a82d, size 0x0
size in 0x6c is 0x400000
size in 0x70 is 0x0
size in 0x74 is 0x0
totalram: 4M
Initializing CPU #0
Updating microcode
microcode_info: sig = 0x00000686 pf=0x00000010 rev = 0x00000000
Enabling cache...
Setting variable MTRR 0, base:    0MB, range:    4MB, type: WB

LinuxBIOS starting...
Ram Initialize?
.
.
.

###########################################################3
The booting procedure repeat again and again!! I  down't know why?!
And there is no ram initialize,why it can work in c code?! and can get ram size?!
any comment?

Reply via email to