Hello to all,
I'm porting a linuxbios v2 version for a board ref des LXUVCRDK ( http://www.amd.com/geodelxuvcrdk) based on norwich board. I've already got to boot linux from HD, but it seems to halt in some point (see log below captured from serial). Although, I'm using VSA (lx_vsa.36k.bin) and I got no output from video VGA. I'd like some help for setting up the PIRQ table and for VGA setup.
PS: The schematics for this board are publicly available from AMD Embedded Developer Web Site.
Thanks,
* Otávio Alcântara otavio.junior@gmail.com [070620 15:08]:
Hello to all,
I'm porting a linuxbios v2 version for a board ref des LXUVCRDK (
http://www.amd.com/geodelxuvcrdk) based on norwich board. I've already got to boot linux from HD, but it seems to halt in some point (see log below captured from serial). Although, I'm using VSA (lx_vsa.36k.bin) and I got no output from video VGA.
You probably need to execute the VGA BIOS as well.
S.
On 20/06/07 10:08 -0300, Otávio Alcântara wrote:
Hello to all,
I'm porting a linuxbios v2 version for a board ref des LXUVCRDK (
http://www.amd.com/geodelxuvcrdk) based on norwich board. I've already got to boot linux from HD, but it seems to halt in some point (see log below captured from serial). Although, I'm using VSA (lx_vsa.36k.bin) and I got no output from video VGA. I'd like some help for setting up the PIRQ table and for VGA setup.
Unfortunately, we cannot distribute the VGA BIOS for Geode platforms. Luckily, We have a native framebuffer and native X driver available for the Linux kernel to handle your graphics needs - both far superior choices to VGA anyway.
Jordan
Otávio Alcântara wrote:
Hello to all,
I'm porting a linuxbios v2 version for a board ref des
LXUVCRDK (http://www.amd.com/geodelxuvcrdk) based on norwich board. I've already got to boot linux from HD, but it seems to halt in some point (see log below captured from serial). Although, I'm using VSA (lx_vsa.36k.bin) and I got no output from video VGA. I'd like some help for setting up the PIRQ table and for VGA setup.
PS: The schematics for this board are publicly available from AMD Embedded Developer Web Site.
Thanks,
-- Otávio Alcântara "I'll never cross to the Dark Side."
I took a quick look at the schematics and I think that this is what the PIRQ table should look like.
/* If you change the number of entries, change the IRQ_SLOT_COUNT above! */ /* bus, dev|fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */ {0x00, (0x01 << 3) | 0x0, {{L_PIRQA, M_PIRQA}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}}, 0x0, 0x0}, /* cpu */ {0x00, (0x0F << 3) | 0x0, {{L_PIRQA, M_PIRQA}, {L_PIRQB, M_PIRQB}, {L_PIRQC, M_PIRQC}, {L_PIRQD, M_PIRQD}}, 0x0, 0x0}, /* chipset */ {0x00, (0x0D << 3) | 0x0, {{L_PIRQA, M_PIRQA}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}}, 0x0, 0x0}, /* ethernet */
Make sure to change IRQ_SLOT_COUNT in the mainboard Options.lb
As Jordan pointed out, you should use the Linux framebuffer and X drivers instead of VGA. That means that you should also set CONFIG_CONSOLE_VGA=0 and CONFIG_PCI_ROM_RUN=0 in Options.lb
It also looks like there is something funny going on with the Config.lb. Try using the norwich one without modifications.
cs5536: southbridge_init: enable_ide_nand_flash is 36
If you want to boot from IDE enable_ide_nand_flash should be 0
Disabling VPCI device: 0x0000106C Disabling VPCI device: 0x00001075 Disabling VPCI device: 0x0000107E Disabling VPCI device: 0x00001087 Disabling VPCI device: 0x00001090 Disabling VPCI device: 0x00001099 Disabling VPCI device: 0x000010A2 Disabling VPCI device: 0x000010AB
This is a very strange list.
I don't have one of these boards so when you get it working please submit a patch! Let me know if there is anything else I can do to help
Marc
LinuxBIOS-2.0.0.0Fallback Qua Jun 20 07:45:43 BRT 2007 starting... _MSR GLCP_SYS_RSTPLL (4c000014) value is: 00000498:00001820 Configuring PLL
LinuxBIOS-2.0.0.0Fallback Qua Jun 20 07:45:43 BRT 2007 starting... _MSR GLCP_SYS_RSTPLL (4c000014) value is: 00000498:07de0020 Done cpuRegInit SMBUS READ ERROR:03 device:a2 Ram1.00 Ram2.00 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 Ram3 DRAM controller init done. RAM DLL lock Ram4 Copying LinuxBIOS to ram. Jumping to LinuxBIOS. LinuxBIOS-2.0.0.0Fallback Qua Jun 20 08:56:35 BRT 2007 booting... clocks_per_usec: 432 Enumerating buses...
Entering northbridge.c: pci_domain_enable
Enter northbridge_init_early writeglmsr: MSR 0x10000020, val 0x20000000:0x000fff80 writeglmsr: MSR 0x10000021, val 0x20000000:0x080fffe0 writeglmsr: MSR 0x1000002c, val 0x20000000:0x00000003 sizeram: _MSR MC_CF07_DATA: 10076112:00004840 sizeram: sizem 0x100MB SysmemInit: enable for 256MBytes usable RAM: 268304383 bytes SysmemInit: MSR 0x10000028, val 0x2000000f:0xfdf00100 sizeram: _MSR MC_CF07_DATA: 10076112:00004840 sizeram: sizem 0x100MB SMMGL0Init: 268304384 bytes SMMGL0Init: offset is 0x80400000 SMMGL0Init: MSR 0x10000026, val 0x28fbe080:0x400fffe0 writeglmsr: MSR 0x10000080, val 0x00000000:0x00000003 writeglmsr: MSR 0x40000020, val 0x20000000:0x000fff80 writeglmsr: MSR 0x40000021, val 0x20000000:0x080fffe0 writeglmsr: MSR 0x4000002e, val 0x20000000:0x00000003 sizeram: _MSR MC_CF07_DATA: 10076112:00004840 sizeram: sizem 0x100MB SysmemInit: enable for 256MBytes usable RAM: 268304383 bytes SysmemInit: MSR 0x4000002a, val 0x2000000f:0xfdf00100 SMMGL1Init: SMMGL1Init: MSR 0x40000023, val 0x20000080:0x400fffe0 writeglmsr: MSR 0x40000080, val 0x00000000:0x00000001 writeglmsr: MSR 0x400000e3, val 0x60000000:0x033000f0 CPU_RCONF_DEFAULT (1808): 0x25FFFC02:0x10FFDF00 CPU_RCONF_BYPASS (180A): 0x00000000 : 0x00000000 L2 cache enabled Enabling cache GLPCI R1: system msr.lo 0x00100130 msr.hi 0x0ffdf000 GLPCI R2: system msr.lo 0x80400120 msr.hi 0x8041f000 Exit northbridge_init_early Done cpubug fixes Not Doing ChipsetFlashSetup() <<<WARNING>>> Graphics init... <<WARNING!!!>>> VRC_VG value: 0xffff Before VSA: do_vsmbios buf ilen 35441 olen60466 buf 00060000 *buf 186 buf[256k] 0 buf[0x20] signature is b0:10:e6:80 Call real_mode_switch_call_vsm biosint: INT# 0x15 biosint: eax 0xbea7 ebx 0x4e53 ecx 0x10000026 edx 0x10000028 biosint: ebp 0x15ed4 esp 0xff0 edi 0x8a71 esi 0x38 biosint: ip 0x5b3 cs 0x6000 flags 0x46 biosint: gs 0x0 fs 0x0 ds 0x6000 es 0x0 handleint21, eax 0xbea7 biosint: INT# 0x15 biosint: eax 0xbea4 ebx 0x4e53 ecx 0x10000026 edx 0x10000028 biosint: ebp 0x15ed4 esp 0xfee edi 0x8a71 esi 0x38 biosint: ip 0x5c1 cs 0x6000 flags 0x46 biosint: gs 0x0 fs 0x0 ds 0x6000 es 0x0 handleint21, eax 0xbea4 do_vsmbios: VSA2 VR signature verified After VSA: <<<WARNING>>> Graphics init... <<WARNING!!!>>> VRC_VG value: 0x2808 Finding PCI configuration type. PCI: Using configuration type 1 PCI_DOMAIN: 0000 enabled APIC_CLUSTER: 0 enabled PCI: pci_scan_bus for bus 00 PCI: 00:01.0 [1022/2080] enabled PCI: 00:01.1 [1022/2081] enabled PCI: 00:01.2 [1022/2082] enabled PCI: 00:0d.0 [10ec/8139] enabled PCI: 00:0f.0 [1022/2090] enabled PCI: 00:0f.2 [1022/209a] enabled PCI: 00:0f.3 [1022/2093] enabled PCI: 00:0f.4 [1022/2094] enabled PCI: 00:0f.5 [1022/2095] enabled PCI: 00: 0f.6 [1022/2096] enabled PCI: 00:0f.7 [1022/2097] enabled PCI: pci_scan_bus returning with max=000 done Allocating resources... Reading resources... Done reading resources. Setting resources... PCI: 00: 01.1 10 <- [0x00fd000000 - 0x00fdffffff] mem PCI: 00:01.1 14 <- [0x00fe000000 - 0x00fe003fff] mem PCI: 00:01.1 18 <- [0x00fe004000 - 0x00fe007fff] mem PCI: 00:01.1 1c <- [0x00fe008000 - 0x00fe00bfff] mem PCI: 00:01.1 20 <- [0x00fe00c000 - 0x00fe00ffff] mem PCI: 00:01.2 10 <- [0x00fe010000 - 0x00fe013fff] mem PCI: 00:0d.0 10 <- [0x0000001000 - 0x00000010ff] io PCI: 00:0d.0 14 <- [0x00fe019000 - 0x00fe0190ff] mem PCI: 00:0f.0 10 <- [0x0000001cb0 - 0x0000001cb7] io PCI: 00:0f.0 14 <- [0x0000001400 - 0x00000014ff] io PCI: 00:0f.0 18 <- [0x0000001c00 - 0x0000001c3f] io PCI: 00:0f.0 1c <- [0x0000001c80 - 0x0000001c9f] io PCI: 00:0f.0 20 <- [0x0000001800 - 0x000000187f] io PCI: 00:0f.0 24 <- [0x0000001c40 - 0x0000001c7f] io PCI: 00:0f.2 20 <- [0x0000001ca0 - 0x0000001caf] io PCI: 00:0f.3 10 <- [0x0000001880 - 0x00000018ff] io PCI: 00:0f.4 10 <- [0x00fe016000 - 0x00fe016fff] mem PCI: 00:0f.5 10 <- [0x00fe017000 - 0x00fe017fff] mem PCI: 00:0f.6 10 <- [0x00fe014000 - 0x00fe015fff] mem PCI: 00:0f.7 10 <- [0x00fe018000 - 0x00fe018fff] mem Done setting resources. Done allocating resources. Enabling resources... PCI: 00:01.0 cmd <- 145 PCI: 00:01.1 subsystem <- 00/00 PCI: 00:01.1 cmd <- 142 PCI: 00:01.2 cmd <- 142 PCI: 00: 0d.0 cmd <- 143 cs5536: cs5536_pci_dev_enable_resources() PCI: 00:0f.0 cmd <- 149 PCI: 00:0f.2 cmd <- 141 PCI: 00:0f.3 cmd <- 141 PCI: 00:0f.4 cmd <- 142 PCI: 00:0f.5 cmd <- 142 PCI: 00: 0f.6 cmd <- 142 PCI: 00:0f.7 cmd <- 142 done. Initializing devices... Root Device init Norwich ENTER init Norwich EXIT init PCI: 00:01.0 init PCI: 00:01.1 init APIC_CLUSTER: 0 init Initializing CPU #0 CPU: vendor AMD device 5a2 CPU: family 05, model 0a, stepping 02 model_lx_init Enabling cache A20 (0x92): 2 A20 (0x92): 2 CPU model_lx_init DONE CPU #0 Initialized PCI: 00:01.2 init PCI: 00: 0d.0 init PCI: 00:0f.0 init cs5536: southbridge_init RTC Init rct_init finished cs5536: southbridge_init: enable_ide_nand_flash is 36 Disabling VPCI device: 0x0000106C Disabling VPCI device: 0x00001075 Disabling VPCI device: 0x0000107E Disabling VPCI device: 0x00001087 Disabling VPCI device: 0x00001090 Disabling VPCI device: 0x00001099 Disabling VPCI device: 0x000010A2 Disabling VPCI device: 0x000010AB PCI: 00:0f.2 init PCI: 00:0f.3 init PCI: 00:0f.4 init PCI: 00:0f.5 init PCI: 00:0f.6 init PCI: 00:0f.7 init Devices initialized Copying IRQ routing tables to 0xf0000...done. Verifing copy of IRQ routing tables at 0xf0000...done Checking IRQ routing table consistency... check_pirq_routing_table() - irq_routing_table located at: 0x000f0000 /home/otavio/LinuxBIOSv2/src/arch/i386/boot/pirq_routing.c: 36:check_pirq_routing_table() - checksum is: 0x00 but should be: 0xfd done. write_pirq_routing_table(8000785C, BAAA) PIR Entry 0 Dev/Fn: 8 Slot: 0 INT: A bitmap: 400 PIRQ: 10 INT: B bitmap: 0 PIRQ: 0 INT: C bitmap: 0 PIRQ: 0 INT: D bitmap: 0 PIRQ: 0 Assigning IRQ 10 to 0: 1.1 Readback = 10 Assigning IRQ 10 to 0:1.2 Readback = 10 PIR Entry 1 Dev/Fn: 78 Slot: 0 INT: A bitmap: 400 PIRQ: 10 INT: B bitmap: 400 PIRQ: 10 INT: C bitmap: 400 PIRQ: 10 INT: D bitmap: 800 PIRQ: 11 Assigning IRQ 10 to 0:f.3 Readback = 10 Assigning IRQ 11 to 0:f.4 Readback = 11 Assigning IRQ 11 to 0:f.5 Readback = 11 PIR Entry 2 Dev/Fn: 68 Slot: 1 INT: A bitmap: 400 PIRQ: 10 INT: B bitmap: 400 PIRQ: 10 INT: C bitmap: 800 PIRQ: 11 INT: D bitmap: 400 PIRQ: 10 Assigning IRQ 10 to 0:d.0 Readback = 10 PIR Entry 3 Dev/Fn: 70 Slot: 2 INT: A bitmap: 400 PIRQ: 10 INT: B bitmap: 800 PIRQ: 11 INT: C bitmap: 400 PIRQ: 10 INT: D bitmap: 400 PIRQ: 10 PIR Entry 4 Dev/Fn: 58 Slot: 3 INT: A bitmap: 800 PIRQ: 11 INT: B bitmap: 400 PIRQ: 10 INT: C bitmap: 400 PIRQ: 10 INT: D bitmap: 400 PIRQ: 10 PIR Entry 5 Dev/Fn: 60 Slot: 4 INT: A bitmap: 400 PIRQ: 10 INT: B bitmap: 400 PIRQ: 10 INT: C bitmap: 400 PIRQ: 10 INT: D bitmap: 800 PIRQ: 11 Moving GDT to 0x500...ok Adjust low_table_end from 0x00000530 to 0x00001000 Adjust rom_table_end from 0x000f0400 to 0x00100000 Wrote linuxbios table at: 00000530 - 000006c4 checksum fba9
Welcome to elfboot, the open sourced starter. January 2002, Eric Biederman. Version 1.3
rom_stream: 0xfff89000 - 0xfffeffff Found ELF candidate at offset 0 header_offset is 0 Try to load at offset 0x0 New segment addr 0x100000 size 0x306e0 offset 0xc0 filesize 0xb248 (cleaned up) New segment addr 0x100000 size 0x306e0 offset 0xc0 filesize 0xb248 New segment addr 0x1306e0 size 0x48 offset 0xb320 filesize 0x48 (cleaned up) New segment addr 0x1306e0 size 0x48 offset 0xb320 filesize 0x48 Dropping non PT_LOAD segment Dropping non PT_LOAD segment Loading Segment: addr: 0x0000000000100000 memsz: 0x00000000000306e0 filesz: 0x000000000000b248 Clearing Segment: addr: 0x000000000010b248 memsz: 0x0000000000025498 Loading Segment: addr: 0x00000000001306e0 memsz: 0x0000000000000048 filesz: 0x0000000000000048 Jumping to boot code at 0x108bdc FILO version 0.5 (otavio@labdes15) Wed Jun 20 08:56:24 BRT 2007 collect_linuxbios_info: Searching for LinuxBIOS tables... find_lb_table: Found canidate at: 00000530 find_lb_table: header checksum o.k. find_lb_table: table checksum o.k. find_lb_table: record count o.k. collect_linuxbios_info: Found LinuxBIOS table at: 00000530 convert_memmap: 0x00000000000000 0x00000000001000 16 convert_memmap: 0x00000000001000 0x0000000009f000 1 convert_memmap: 0x000000000f0000 0x00000000010000 16 convert_memmap: 0x00000000100000 0x0000000f6e0000 1 Press <Enter> for default boot, or <Esc> for boot prompt... 2 1 timed out boot: hda1:/boot/vmlinuz root=/dev/hda1 initrd=/boot/initrd console=tty0 console=ttyS0,115200 hda: LBA 40GB: ST340014A Mounted ext2fs Found Linux version 2.6.8-2-386 (horms@tabatha.lab.ultramonkey.org mailto:horms@tabatha.lab.ultramonkey.org) #1 Thu May 19 17:40:50 JST 2005 (protocol 0x203) (loadflags 0x1) bzImage. init_linux_params: Setting up paramters at 0x90000 set_memory_size: 0000000000001000 - 00000000000a0000 set_memory_size: 0000000000100000 - 000000000f7e0000 set_memory_size: ramtop=0xf7e0000 set_memory_size: ext_mem_k=64512, alt_mem_k=252800 parse_command_line: original command line: "root=/dev/hda1 initrd=/boot/initrd console=tty0 console=ttyS0,115200" parse_command_line: kernel command line at 0x91000 parse_command_line: initrd=/boot/initrd parse_command_line: kernel command line (48 bytes): "root=/dev/hda1 console=tty0 console=ttyS0,115200" load_linux_kernel: offset=0x1600 addr=0x100000 size=0x10a8cb Loading kernel... ok load_initrd: start=0xf391000 end=0xf7af000 Loading initrd... ok start_linux: eip=0x100000 Jumping to entry point... Linux version 2.6.8-2-386 (horms@tabatha.lab.ultramonkey.org mailto:horms@tabatha.lab.ultramonkey.org) (gcc version 3.3.5 (Debian 1:3.3.5-12)) #1 Thu May 19 17:40:50 JST 2005
BIOS-provided physical RAM map:
BIOS-e820: 0000000000001000 - 00000000000a0000 (usable)
BIOS-e820: 0000000000100000 - 000000000f7e0000 (usable)
247MB LOWMEM available.
DMI not present.
ACPI: Unable to locate RSDP
Built 1 zonelists
Kernel command line: root=/dev/hda1 console=tty0 console=ttyS0,115200
No local APIC present or hardware disabled
Initializing CPU#0
PID hash table entries: 1024 (order 10: 8192 bytes)
Detected 431.857 MHz processor.
Using tsc for high-res timesource
Console: colour dummy device 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 244168k/253824k available (1336k kernel code, 8916k reserved, 732k data, 204k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 845.82 BogoMIPS
Security Scaffold v1.0.0 initialized
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line)
CPU: L2 Cache: 128K (32 bytes/line)
CPU: AMD Geode(TM) Integrated Processor by AMD PCS stepping 02
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
checking if image is initramfs...it isn't (ungzip failed); looks like an initrd
Freeing initrd memory: 4216k freed
NET: Registered protocol family 16
EISA bus registered
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040326
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: PnP BIOS support was not detected.
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router default [1022/2090] at 0000:00:0f.0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
devfs: 2004-01-31 Richard Gooch ( rgooch@atnf.csiro.au mailto:rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
Initializing Cryptographic API
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver $Revision: 1.90 $ 54 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
i8042.c : Can't read CTR while initializing i8042.
EISA: Probing bus 0 at eisa0
Cannot allocate resource for EISA slot 1
EISA: Detected 0 cards.
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
NET: Registered protocol family 8
NET: Registered protocol family 20
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 4216 blocks [1 disk] into ram disk... |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\done.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 204k freed
vesafb: probe of vesafb0 failed with error -6
NET: Registered protocol family 1
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
hda: ST340014A, ATA DISK drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 128KiB
hda: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63
/dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 >
Thanks for the help. But I have another doubt, I'm not getting video working even after the linux kernel boots. What do I do to change the console to video? I've configured Filo to use video console, but the stream goes only to serial interface.
Regards,
Otávio Alcântara
On 6/20/07, Marc Jones marc.jones@amd.com wrote:
Otávio Alcântara wrote:
Hello to all,
I'm porting a linuxbios v2 version for a board ref des
LXUVCRDK (http://www.amd.com/geodelxuvcrdk) based on norwich board. I've already got to boot linux from HD, but it seems to halt in some point (see log below captured from serial). Although, I'm using VSA (lx_vsa.36k.bin) and I got no output from video VGA. I'd like some help for setting up the PIRQ table and for VGA setup.
PS: The schematics for this board are publicly available from AMD Embedded Developer Web Site.
Thanks,
-- Otávio Alcântara "I'll never cross to the Dark Side."
I took a quick look at the schematics and I think that this is what the PIRQ table should look like.
/* If you change the number of entries, change the IRQ_SLOT_COUNT above! */ /* bus, dev|fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */ {0x00, (0x01 << 3) | 0x0, {{L_PIRQA, M_PIRQA}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}}, 0x0, 0x0}, /* cpu */ {0x00, (0x0F << 3) | 0x0, {{L_PIRQA, M_PIRQA}, {L_PIRQB, M_PIRQB}, {L_PIRQC, M_PIRQC}, {L_PIRQD, M_PIRQD}}, 0x0, 0x0}, /* chipset */ {0x00, (0x0D << 3) | 0x0, {{L_PIRQA, M_PIRQA}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}}, 0x0, 0x0}, /* ethernet */
Make sure to change IRQ_SLOT_COUNT in the mainboard Options.lb
As Jordan pointed out, you should use the Linux framebuffer and X drivers instead of VGA. That means that you should also set CONFIG_CONSOLE_VGA=0 and CONFIG_PCI_ROM_RUN=0 in Options.lb
It also looks like there is something funny going on with the Config.lb. Try using the norwich one without modifications.
cs5536: southbridge_init: enable_ide_nand_flash is 36
If you want to boot from IDE enable_ide_nand_flash should be 0
Disabling VPCI device: 0x0000106C Disabling VPCI device: 0x00001075 Disabling VPCI device: 0x0000107E Disabling VPCI device: 0x00001087 Disabling VPCI device: 0x00001090 Disabling VPCI device: 0x00001099 Disabling VPCI device: 0x000010A2 Disabling VPCI device: 0x000010AB
This is a very strange list.
I don't have one of these boards so when you get it working please submit a patch! Let me know if there is anything else I can do to help
Marc
LinuxBIOS-2.0.0.0Fallback Qua Jun 20 07:45:43 BRT 2007 starting... _MSR GLCP_SYS_RSTPLL (4c000014) value is: 00000498:00001820 Configuring PLL
LinuxBIOS-2.0.0.0Fallback Qua Jun 20 07:45:43 BRT 2007 starting... _MSR GLCP_SYS_RSTPLL (4c000014) value is: 00000498:07de0020 Done cpuRegInit SMBUS READ ERROR:03 device:a2 Ram1.00 Ram2.00 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 Ram3 DRAM controller init done. RAM DLL lock Ram4 Copying LinuxBIOS to ram. Jumping to LinuxBIOS. LinuxBIOS-2.0.0.0Fallback Qua Jun 20 08:56:35 BRT 2007 booting... clocks_per_usec: 432 Enumerating buses...
Entering northbridge.c: pci_domain_enable
Enter northbridge_init_early writeglmsr: MSR 0x10000020, val 0x20000000:0x000fff80 writeglmsr: MSR 0x10000021, val 0x20000000:0x080fffe0 writeglmsr: MSR 0x1000002c, val 0x20000000:0x00000003 sizeram: _MSR MC_CF07_DATA: 10076112:00004840 sizeram: sizem 0x100MB SysmemInit: enable for 256MBytes usable RAM: 268304383 bytes SysmemInit: MSR 0x10000028, val 0x2000000f:0xfdf00100 sizeram: _MSR MC_CF07_DATA: 10076112:00004840 sizeram: sizem 0x100MB SMMGL0Init: 268304384 bytes SMMGL0Init: offset is 0x80400000 SMMGL0Init: MSR 0x10000026, val 0x28fbe080:0x400fffe0 writeglmsr: MSR 0x10000080, val 0x00000000:0x00000003 writeglmsr: MSR 0x40000020, val 0x20000000:0x000fff80 writeglmsr: MSR 0x40000021, val 0x20000000:0x080fffe0 writeglmsr: MSR 0x4000002e, val 0x20000000:0x00000003 sizeram: _MSR MC_CF07_DATA: 10076112:00004840 sizeram: sizem 0x100MB SysmemInit: enable for 256MBytes usable RAM: 268304383 bytes SysmemInit: MSR 0x4000002a, val 0x2000000f:0xfdf00100 SMMGL1Init: SMMGL1Init: MSR 0x40000023, val 0x20000080:0x400fffe0 writeglmsr: MSR 0x40000080, val 0x00000000:0x00000001 writeglmsr: MSR 0x400000e3, val 0x60000000:0x033000f0 CPU_RCONF_DEFAULT (1808): 0x25FFFC02:0x10FFDF00 CPU_RCONF_BYPASS (180A): 0x00000000 : 0x00000000 L2 cache enabled Enabling cache GLPCI R1: system msr.lo 0x00100130 msr.hi 0x0ffdf000 GLPCI R2: system msr.lo 0x80400120 msr.hi 0x8041f000 Exit northbridge_init_early Done cpubug fixes Not Doing ChipsetFlashSetup() <<<WARNING>>> Graphics init... <<WARNING!!!>>> VRC_VG value: 0xffff Before VSA: do_vsmbios buf ilen 35441 olen60466 buf 00060000 *buf 186 buf[256k] 0 buf[0x20] signature is b0:10:e6:80 Call real_mode_switch_call_vsm biosint: INT# 0x15 biosint: eax 0xbea7 ebx 0x4e53 ecx 0x10000026 edx 0x10000028 biosint: ebp 0x15ed4 esp 0xff0 edi 0x8a71 esi 0x38 biosint: ip 0x5b3 cs 0x6000 flags 0x46 biosint: gs 0x0 fs 0x0 ds 0x6000 es 0x0 handleint21, eax 0xbea7 biosint: INT# 0x15 biosint: eax 0xbea4 ebx 0x4e53 ecx 0x10000026 edx 0x10000028 biosint: ebp 0x15ed4 esp 0xfee edi 0x8a71 esi 0x38 biosint: ip 0x5c1 cs 0x6000 flags 0x46 biosint: gs 0x0 fs 0x0 ds 0x6000 es 0x0 handleint21, eax 0xbea4 do_vsmbios: VSA2 VR signature verified After VSA: <<<WARNING>>> Graphics init... <<WARNING!!!>>> VRC_VG value: 0x2808 Finding PCI configuration type. PCI: Using configuration type 1 PCI_DOMAIN: 0000 enabled APIC_CLUSTER: 0 enabled PCI: pci_scan_bus for bus 00 PCI: 00:01.0 [1022/2080] enabled PCI: 00:01.1 [1022/2081] enabled PCI: 00:01.2 [1022/2082] enabled PCI: 00:0d.0 [10ec/8139] enabled PCI: 00:0f.0 [1022/2090] enabled PCI: 00:0f.2 [1022/209a] enabled PCI: 00:0f.3 [1022/2093] enabled PCI: 00:0f.4 [1022/2094] enabled PCI: 00:0f.5 [1022/2095] enabled PCI: 00: 0f.6 [1022/2096] enabled PCI: 00:0f.7 [1022/2097] enabled PCI: pci_scan_bus returning with max=000 done Allocating resources... Reading resources... Done reading resources. Setting resources... PCI: 00: 01.1 10 <- [0x00fd000000 - 0x00fdffffff] mem PCI: 00:01.1 14 <- [0x00fe000000 - 0x00fe003fff] mem PCI: 00:01.1 18 <- [0x00fe004000 - 0x00fe007fff] mem PCI: 00:01.1 1c <- [0x00fe008000 - 0x00fe00bfff] mem PCI: 00:01.1 20 <- [0x00fe00c000 - 0x00fe00ffff] mem PCI: 00:01.2 10 <- [0x00fe010000 - 0x00fe013fff] mem PCI: 00:0d.0 10 <- [0x0000001000 - 0x00000010ff] io PCI: 00:0d.0 14 <- [0x00fe019000 - 0x00fe0190ff] mem PCI: 00:0f.0 10 <- [0x0000001cb0 - 0x0000001cb7] io PCI: 00:0f.0 14 <- [0x0000001400 - 0x00000014ff] io PCI: 00:0f.0 18 <- [0x0000001c00 - 0x0000001c3f] io PCI: 00:0f.0 1c <- [0x0000001c80 - 0x0000001c9f] io PCI: 00:0f.0 20 <- [0x0000001800 - 0x000000187f] io PCI: 00:0f.0 24 <- [0x0000001c40 - 0x0000001c7f] io PCI: 00:0f.2 20 <- [0x0000001ca0 - 0x0000001caf] io PCI: 00:0f.3 10 <- [0x0000001880 - 0x00000018ff] io PCI: 00:0f.4 10 <- [0x00fe016000 - 0x00fe016fff] mem PCI: 00:0f.5 10 <- [0x00fe017000 - 0x00fe017fff] mem PCI: 00:0f.6 10 <- [0x00fe014000 - 0x00fe015fff] mem PCI: 00:0f.7 10 <- [0x00fe018000 - 0x00fe018fff] mem Done setting resources. Done allocating resources. Enabling resources... PCI: 00:01.0 cmd <- 145 PCI: 00:01.1 subsystem <- 00/00 PCI: 00:01.1 cmd <- 142 PCI: 00:01.2 cmd <- 142 PCI: 00: 0d.0 cmd <- 143 cs5536: cs5536_pci_dev_enable_resources() PCI: 00:0f.0 cmd <- 149 PCI: 00:0f.2 cmd <- 141 PCI: 00:0f.3 cmd <- 141 PCI: 00:0f.4 cmd <- 142 PCI: 00:0f.5 cmd <- 142 PCI: 00: 0f.6 cmd <- 142 PCI: 00:0f.7 cmd <- 142 done. Initializing devices... Root Device init Norwich ENTER init Norwich EXIT init PCI: 00:01.0 init PCI: 00:01.1 init APIC_CLUSTER: 0 init Initializing CPU #0 CPU: vendor AMD device 5a2 CPU: family 05, model 0a, stepping 02 model_lx_init Enabling cache A20 (0x92): 2 A20 (0x92): 2 CPU model_lx_init DONE CPU #0 Initialized PCI: 00:01.2 init PCI: 00: 0d.0 init PCI: 00:0f.0 init cs5536: southbridge_init RTC Init rct_init finished cs5536: southbridge_init: enable_ide_nand_flash is 36 Disabling VPCI device: 0x0000106C Disabling VPCI device: 0x00001075 Disabling VPCI device: 0x0000107E Disabling VPCI device: 0x00001087 Disabling VPCI device: 0x00001090 Disabling VPCI device: 0x00001099 Disabling VPCI device: 0x000010A2 Disabling VPCI device: 0x000010AB PCI: 00:0f.2 init PCI: 00:0f.3 init PCI: 00:0f.4 init PCI: 00:0f.5 init PCI: 00:0f.6 init PCI: 00:0f.7 init Devices initialized Copying IRQ routing tables to 0xf0000...done. Verifing copy of IRQ routing tables at 0xf0000...done Checking IRQ routing table consistency... check_pirq_routing_table() - irq_routing_table located at: 0x000f0000 /home/otavio/LinuxBIOSv2/src/arch/i386/boot/pirq_routing.c: 36:check_pirq_routing_table() - checksum is: 0x00 but should be: 0xfd done. write_pirq_routing_table(8000785C, BAAA) PIR Entry 0 Dev/Fn: 8 Slot: 0 INT: A bitmap: 400 PIRQ: 10 INT: B bitmap: 0 PIRQ: 0 INT: C bitmap: 0 PIRQ: 0 INT: D bitmap: 0 PIRQ: 0 Assigning IRQ 10 to 0: 1.1 Readback = 10 Assigning IRQ 10 to 0:1.2 Readback = 10 PIR Entry 1 Dev/Fn: 78 Slot: 0 INT: A bitmap: 400 PIRQ: 10 INT: B bitmap: 400 PIRQ: 10 INT: C bitmap: 400 PIRQ: 10 INT: D bitmap: 800 PIRQ: 11 Assigning IRQ 10 to 0:f.3 Readback = 10 Assigning IRQ 11 to 0:f.4 Readback = 11 Assigning IRQ 11 to 0:f.5 Readback = 11 PIR Entry 2 Dev/Fn: 68 Slot: 1 INT: A bitmap: 400 PIRQ: 10 INT: B bitmap: 400 PIRQ: 10 INT: C bitmap: 800 PIRQ: 11 INT: D bitmap: 400 PIRQ: 10 Assigning IRQ 10 to 0:d.0 Readback = 10 PIR Entry 3 Dev/Fn: 70 Slot: 2 INT: A bitmap: 400 PIRQ: 10 INT: B bitmap: 800 PIRQ: 11 INT: C bitmap: 400 PIRQ: 10 INT: D bitmap: 400 PIRQ: 10 PIR Entry 4 Dev/Fn: 58 Slot: 3 INT: A bitmap: 800 PIRQ: 11 INT: B bitmap: 400 PIRQ: 10 INT: C bitmap: 400 PIRQ: 10 INT: D bitmap: 400 PIRQ: 10 PIR Entry 5 Dev/Fn: 60 Slot: 4 INT: A bitmap: 400 PIRQ: 10 INT: B bitmap: 400 PIRQ: 10 INT: C bitmap: 400 PIRQ: 10 INT: D bitmap: 800 PIRQ: 11 Moving GDT to 0x500...ok Adjust low_table_end from 0x00000530 to 0x00001000 Adjust rom_table_end from 0x000f0400 to 0x00100000 Wrote linuxbios table at: 00000530 - 000006c4 checksum fba9
Welcome to elfboot, the open sourced starter. January 2002, Eric Biederman. Version 1.3
rom_stream: 0xfff89000 - 0xfffeffff Found ELF candidate at offset 0 header_offset is 0 Try to load at offset 0x0 New segment addr 0x100000 size 0x306e0 offset 0xc0 filesize 0xb248 (cleaned up) New segment addr 0x100000 size 0x306e0 offset 0xc0 filesize 0xb248 New segment addr 0x1306e0 size 0x48 offset 0xb320 filesize 0x48 (cleaned up) New segment addr 0x1306e0 size 0x48 offset 0xb320 filesize
0x48
Dropping non PT_LOAD segment Dropping non PT_LOAD segment Loading Segment: addr: 0x0000000000100000 memsz: 0x00000000000306e0 filesz: 0x000000000000b248 Clearing Segment: addr: 0x000000000010b248 memsz: 0x0000000000025498 Loading Segment: addr: 0x00000000001306e0 memsz: 0x0000000000000048 filesz: 0x0000000000000048 Jumping to boot code at 0x108bdc FILO version 0.5 (otavio@labdes15) Wed Jun 20 08:56:24 BRT 2007 collect_linuxbios_info: Searching for LinuxBIOS tables... find_lb_table: Found canidate at: 00000530 find_lb_table: header checksum o.k. find_lb_table: table checksum o.k. find_lb_table: record count o.k. collect_linuxbios_info: Found LinuxBIOS table at: 00000530 convert_memmap: 0x00000000000000 0x00000000001000 16 convert_memmap: 0x00000000001000 0x0000000009f000 1 convert_memmap: 0x000000000f0000 0x00000000010000 16 convert_memmap: 0x00000000100000 0x0000000f6e0000 1 Press <Enter> for default boot, or <Esc> for boot prompt... 2 1 timed out boot: hda1:/boot/vmlinuz root=/dev/hda1 initrd=/boot/initrd console=tty0 console=ttyS0,115200 hda: LBA 40GB: ST340014A Mounted ext2fs Found Linux version 2.6.8-2-386 (horms@tabatha.lab.ultramonkey.org mailto:horms@tabatha.lab.ultramonkey.org) #1 Thu May 19 17:40:50 JST 2005 (protocol 0x203) (loadflags 0x1) bzImage. init_linux_params: Setting up paramters at 0x90000 set_memory_size: 0000000000001000 - 00000000000a0000 set_memory_size: 0000000000100000 - 000000000f7e0000 set_memory_size: ramtop=0xf7e0000 set_memory_size: ext_mem_k=64512, alt_mem_k=252800 parse_command_line: original command line: "root=/dev/hda1 initrd=/boot/initrd console=tty0 console=ttyS0,115200" parse_command_line: kernel command line at 0x91000 parse_command_line: initrd=/boot/initrd parse_command_line: kernel command line (48 bytes): "root=/dev/hda1 console=tty0 console=ttyS0,115200" load_linux_kernel: offset=0x1600 addr=0x100000 size=0x10a8cb Loading kernel... ok load_initrd: start=0xf391000 end=0xf7af000 Loading initrd... ok start_linux: eip=0x100000 Jumping to entry point... Linux version 2.6.8-2-386 (horms@tabatha.lab.ultramonkey.org mailto:horms@tabatha.lab.ultramonkey.org) (gcc version 3.3.5 (Debian 1:3.3.5-12)) #1 Thu May 19 17:40:50 JST 2005
BIOS-provided physical RAM map:
BIOS-e820: 0000000000001000 - 00000000000a0000 (usable)
BIOS-e820: 0000000000100000 - 000000000f7e0000 (usable)
247MB LOWMEM available.
DMI not present.
ACPI: Unable to locate RSDP
Built 1 zonelists
Kernel command line: root=/dev/hda1 console=tty0 console=ttyS0,115200
No local APIC present or hardware disabled
Initializing CPU#0
PID hash table entries: 1024 (order 10: 8192 bytes)
Detected 431.857 MHz processor.
Using tsc for high-res timesource
Console: colour dummy device 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 244168k/253824k available (1336k kernel code, 8916k reserved, 732k data, 204k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 845.82 BogoMIPS
Security Scaffold v1.0.0 initialized
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line)
CPU: L2 Cache: 128K (32 bytes/line)
CPU: AMD Geode(TM) Integrated Processor by AMD PCS stepping 02
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
checking if image is initramfs...it isn't (ungzip failed); looks like an initrd
Freeing initrd memory: 4216k freed
NET: Registered protocol family 16
EISA bus registered
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040326
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: PnP BIOS support was not detected.
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router default [1022/2090] at 0000:00:0f.0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
devfs: 2004-01-31 Richard Gooch ( rgooch@atnf.csiro.au mailto:rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
Initializing Cryptographic API
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver $Revision: 1.90 $ 54 ports, IRQ sharing
enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
i8042.c : Can't read CTR while initializing i8042.
EISA: Probing bus 0 at eisa0
Cannot allocate resource for EISA slot 1
EISA: Detected 0 cards.
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
NET: Registered protocol family 8
NET: Registered protocol family 20
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 4216 blocks [1 disk] into ram disk... | / - \ | / - \ |
/ - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ done.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 204k freed
vesafb: probe of vesafb0 failed with error -6
NET: Registered protocol family 1
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
hda: ST340014A, ATA DISK drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 128KiB
hda: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63
/dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 >
-- Marc Jones Senior Software Engineer (970) 226-9684 Office mailto:Marc.Jones@amd.com http://www.amd.com/embeddedprocessors
Otávio Alcântara wrote:
Thanks for the help. But I have another doubt, I'm not getting video working even after the linux kernel boots. What do I do to change the console to video? I've configured Filo to use video console, but the stream goes only to serial interface.
Regards,
Otávio Alcântara
Otávio, Correct, you can't get graphics until a driver is loaded. For a test/debug setup that uses the filo menu will only be visable serial. Please see this link for the Geode LX framebuffer support. http://thread.gmane.org/gmane.linux.fbdev.devel/10339
Marc
On 6/20/07, *Marc Jones* <marc.jones@amd.com mailto:marc.jones@amd.com> wrote:
Otávio Alcântara wrote: > Hello to all, > > I'm porting a linuxbios v2 version for a board ref des > LXUVCRDK (http://www.amd.com/geodelxuvcrdk <http://www.amd.com/geodelxuvcrdk>) based on norwich board. I've > already got to boot linux from HD, but it seems to halt in some point > (see log below captured from serial). Although, I'm using VSA > (lx_vsa.36k.bin) and I got no output from video VGA. > I'd like some help for setting up the PIRQ table and for VGA > setup. > > PS: The schematics for this board are publicly available from AMD > Embedded Developer Web Site. > > Thanks, > > -- > Otávio Alcântara > "I'll never cross to the Dark Side." > > > I took a quick look at the schematics and I think that this is what the PIRQ table should look like. /* If you change the number of entries, change the IRQ_SLOT_COUNT above! */ /* bus, dev|fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */ {0x00, (0x01 << 3) | 0x0, {{L_PIRQA, M_PIRQA}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}}, 0x0, 0x0}, /* cpu */ {0x00, (0x0F << 3) | 0x0, {{L_PIRQA, M_PIRQA}, {L_PIRQB, M_PIRQB}, {L_PIRQC, M_PIRQC}, {L_PIRQD, M_PIRQD}}, 0x0, 0x0}, /* chipset */ {0x00, (0x0D << 3) | 0x0, {{L_PIRQA, M_PIRQA}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}}, 0x0, 0x0}, /* ethernet */ Make sure to change IRQ_SLOT_COUNT in the mainboard Options.lb <http://Options.lb> As Jordan pointed out, you should use the Linux framebuffer and X drivers instead of VGA. That means that you should also set CONFIG_CONSOLE_VGA=0 and CONFIG_PCI_ROM_RUN=0 in Options.lb <http://Options.lb> It also looks like there is something funny going on with the Config.lb <http://Config.lb>. Try using the norwich one without modifications. > cs5536: southbridge_init: enable_ide_nand_flash is 36 If you want to boot from IDE enable_ide_nand_flash should be 0 > Disabling VPCI device: 0x0000106C > Disabling VPCI device: 0x00001075 > Disabling VPCI device: 0x0000107E > Disabling VPCI device: 0x00001087 > Disabling VPCI device: 0x00001090 > Disabling VPCI device: 0x00001099 > Disabling VPCI device: 0x000010A2 > Disabling VPCI device: 0x000010AB This is a very strange list. I don't have one of these boards so when you get it working please submit a patch! Let me know if there is anything else I can do to help Marc > > LinuxBIOS-2.0.0.0Fallback Qua Jun 20 07:45:43 BRT 2007 starting... > _MSR GLCP_SYS_RSTPLL (4c000014) value is: 00000498:00001820 > Configuring PLL > > > LinuxBIOS-2.0.0.0Fallback Qua Jun 20 07:45:43 BRT 2007 starting... > _MSR GLCP_SYS_RSTPLL (4c000014) value is: 00000498:07de0020 > Done cpuRegInit > SMBUS READ ERROR:03 device:a2 > Ram1.00 > Ram2.00 > SMBUS READ ERROR:03 device:a2 > SMBUS READ ERROR:03 device:a2 > SMBUS READ ERROR:03 device:a2 > SMBUS READ ERROR:03 device:a2 > SMBUS READ ERROR:03 device:a2 > SMBUS READ ERROR:03 device:a2 > SMBUS READ ERROR:03 device:a2 > SMBUS READ ERROR:03 device:a2 > SMBUS READ ERROR:03 device:a2 > SMBUS READ ERROR:03 device:a2 > SMBUS READ ERROR:03 device:a2 > Ram3 > DRAM controller init done. > RAM DLL lock > Ram4 > Copying LinuxBIOS to ram. > Jumping to LinuxBIOS. > LinuxBIOS-2.0.0.0Fallback Qua Jun 20 08:56:35 BRT 2007 booting... > clocks_per_usec: 432 > Enumerating buses... > >> Entering northbridge.c: pci_domain_enable > Enter northbridge_init_early > writeglmsr: MSR 0x10000020, val 0x20000000:0x000fff80 > writeglmsr: MSR 0x10000021, val 0x20000000:0x080fffe0 > writeglmsr: MSR 0x1000002c, val 0x20000000:0x00000003 > sizeram: _MSR MC_CF07_DATA: 10076112:00004840 > sizeram: sizem 0x100MB > SysmemInit: enable for 256MBytes > usable RAM: 268304383 bytes > SysmemInit: MSR 0x10000028, val 0x2000000f:0xfdf00100 > sizeram: _MSR MC_CF07_DATA: 10076112:00004840 > sizeram: sizem 0x100MB > SMMGL0Init: 268304384 bytes > SMMGL0Init: offset is 0x80400000 > SMMGL0Init: MSR 0x10000026, val 0x28fbe080:0x400fffe0 > writeglmsr: MSR 0x10000080, val 0x00000000:0x00000003 > writeglmsr: MSR 0x40000020, val 0x20000000:0x000fff80 > writeglmsr: MSR 0x40000021, val 0x20000000:0x080fffe0 > writeglmsr: MSR 0x4000002e, val 0x20000000:0x00000003 > sizeram: _MSR MC_CF07_DATA: 10076112:00004840 > sizeram: sizem 0x100MB > SysmemInit: enable for 256MBytes > usable RAM: 268304383 bytes > SysmemInit: MSR 0x4000002a, val 0x2000000f:0xfdf00100 > SMMGL1Init: > SMMGL1Init: MSR 0x40000023, val 0x20000080:0x400fffe0 > writeglmsr: MSR 0x40000080, val 0x00000000:0x00000001 > writeglmsr: MSR 0x400000e3, val 0x60000000:0x033000f0 > CPU_RCONF_DEFAULT (1808): 0x25FFFC02:0x10FFDF00 > CPU_RCONF_BYPASS (180A): 0x00000000 : 0x00000000 > L2 cache enabled > Enabling cache > GLPCI R1: system msr.lo 0x00100130 msr.hi 0x0ffdf000 > GLPCI R2: system msr.lo 0x80400120 msr.hi 0x8041f000 > Exit northbridge_init_early > Done cpubug fixes > Not Doing ChipsetFlashSetup() > <<<WARNING>>> Graphics init... > <<WARNING!!!>>> VRC_VG value: 0xffff > Before VSA: > do_vsmbios > buf ilen 35441 olen60466 > buf 00060000 *buf 186 buf[256k] 0 > buf[0x20] signature is b0:10:e6:80 > Call real_mode_switch_call_vsm > biosint: INT# 0x15 > biosint: eax 0xbea7 ebx 0x4e53 ecx 0x10000026 edx 0x10000028 > biosint: ebp 0x15ed4 esp 0xff0 edi 0x8a71 esi 0x38 > biosint: ip 0x5b3 cs 0x6000 flags 0x46 > biosint: gs 0x0 fs 0x0 ds 0x6000 es 0x0 > handleint21, eax 0xbea7 > biosint: INT# 0x15 > biosint: eax 0xbea4 ebx 0x4e53 ecx 0x10000026 edx 0x10000028 > biosint: ebp 0x15ed4 esp 0xfee edi 0x8a71 esi 0x38 > biosint: ip 0x5c1 cs 0x6000 flags 0x46 > biosint: gs 0x0 fs 0x0 ds 0x6000 es 0x0 > handleint21, eax 0xbea4 > do_vsmbios: VSA2 VR signature verified > After VSA: > <<<WARNING>>> Graphics init... > <<WARNING!!!>>> VRC_VG value: 0x2808 > Finding PCI configuration type. > PCI: Using configuration type 1 > PCI_DOMAIN: 0000 enabled > APIC_CLUSTER: 0 enabled > PCI: pci_scan_bus for bus 00 > PCI: 00:01.0 [1022/2080] enabled > PCI: 00:01.1 [1022/2081] enabled > PCI: 00:01.2 [1022/2082] enabled > PCI: 00:0d.0 [10ec/8139] enabled > PCI: 00:0f.0 [1022/2090] enabled > PCI: 00:0f.2 [1022/209a] enabled > PCI: 00: 0f.3 [1022/2093] enabled > PCI: 00:0f.4 [1022/2094] enabled > PCI: 00:0f.5 [1022/2095] enabled > PCI: 00: 0f.6 [1022/2096] enabled > PCI: 00:0f.7 [1022/2097] enabled > PCI: pci_scan_bus returning with max=000 > done > Allocating resources... > Reading resources... > Done reading resources. > Setting resources... > PCI: 00: 01.1 10 <- [0x00fd000000 - 0x00fdffffff] mem > PCI: 00:01.1 14 <- [0x00fe000000 - 0x00fe003fff] mem > PCI: 00:01.1 18 <- [0x00fe004000 - 0x00fe007fff] mem > PCI: 00:01.1 1c <- [0x00fe008000 - 0x00fe00bfff] mem > PCI: 00:01.1 20 <- [0x00fe00c000 - 0x00fe00ffff] mem > PCI: 00:01.2 10 <- [0x00fe010000 - 0x00fe013fff] mem > PCI: 00:0d.0 10 <- [0x0000001000 - 0x00000010ff] io > PCI: 00:0d.0 14 <- [0x00fe019000 - 0x00fe0190ff] mem > PCI: 00:0f.0 10 <- [0x0000001cb0 - 0x0000001cb7] io > PCI: 00:0f.0 14 <- [0x0000001400 - 0x00000014ff] io > PCI: 00:0f.0 18 <- [0x0000001c00 - 0x0000001c3f] io > PCI: 00:0f.0 1c <- [0x0000001c80 - 0x0000001c9f] io > PCI: 00:0f.0 20 <- [0x0000001800 - 0x000000187f] io > PCI: 00:0f.0 24 <- [0x0000001c40 - 0x0000001c7f] io > PCI: 00:0f.2 20 <- [0x0000001ca0 - 0x0000001caf] io > PCI: 00:0f.3 10 <- [0x0000001880 - 0x00000018ff] io > PCI: 00:0f.4 10 <- [0x00fe016000 - 0x00fe016fff] mem > PCI: 00:0f.5 10 <- [0x00fe017000 - 0x00fe017fff] mem > PCI: 00:0f.6 10 <- [0x00fe014000 - 0x00fe015fff] mem > PCI: 00:0f.7 10 <- [0x00fe018000 - 0x00fe018fff] mem > Done setting resources. > Done allocating resources. > Enabling resources... > PCI: 00:01.0 cmd <- 145 > PCI: 00:01.1 subsystem <- 00/00 > PCI: 00:01.1 cmd <- 142 > PCI: 00:01.2 cmd <- 142 > PCI: 00: 0d.0 cmd <- 143 > cs5536: cs5536_pci_dev_enable_resources() > PCI: 00:0f.0 cmd <- 149 > PCI: 00:0f.2 cmd <- 141 > PCI: 00:0f.3 cmd <- 141 > PCI: 00:0f.4 cmd <- 142 > PCI: 00: 0f.5 cmd <- 142 > PCI: 00: 0f.6 cmd <- 142 > PCI: 00:0f.7 cmd <- 142 > done. > Initializing devices... > Root Device init > Norwich ENTER init > Norwich EXIT init > PCI: 00: 01.0 init > PCI: 00:01.1 init > APIC_CLUSTER: 0 init > Initializing CPU #0 > CPU: vendor AMD device 5a2 > CPU: family 05, model 0a, stepping 02 > model_lx_init > Enabling cache > A20 (0x92): 2 > A20 (0x92): 2 > CPU model_lx_init DONE > CPU #0 Initialized > PCI: 00:01.2 init > PCI: 00: 0d.0 init > PCI: 00:0f.0 init > cs5536: southbridge_init > RTC Init > rct_init finished > cs5536: southbridge_init: enable_ide_nand_flash is 36 > Disabling VPCI device: 0x0000106C > Disabling VPCI device: 0x00001075 > Disabling VPCI device: 0x0000107E > Disabling VPCI device: 0x00001087 > Disabling VPCI device: 0x00001090 > Disabling VPCI device: 0x00001099 > Disabling VPCI device: 0x000010A2 > Disabling VPCI device: 0x000010AB > PCI: 00:0f.2 init > PCI: 00:0f.3 init > PCI: 00:0f.4 init > PCI: 00:0f.5 init > PCI: 00:0f.6 init > PCI: 00:0f.7 init > Devices initialized > Copying IRQ routing tables to 0xf0000...done. > Verifing copy of IRQ routing tables at 0xf0000...done > Checking IRQ routing table consistency... > check_pirq_routing_table() - irq_routing_table located at: 0x000f0000 > /home/otavio/LinuxBIOSv2/src/arch/i386/boot/pirq_routing.c: > 36:check_pirq_routing_table() - checksum is: 0x00 but should be: 0xfd > done. > write_pirq_routing_table(8000785C, BAAA) > PIR Entry 0 Dev/Fn: 8 Slot: 0 > INT: A bitmap: 400 PIRQ: 10 > INT: B bitmap: 0 PIRQ: 0 > INT: C bitmap: 0 PIRQ: 0 > INT: D bitmap: 0 PIRQ: 0 > Assigning IRQ 10 to 0: 1.1 > Readback = 10 > Assigning IRQ 10 to 0:1.2 > Readback = 10 > PIR Entry 1 Dev/Fn: 78 Slot: 0 > INT: A bitmap: 400 PIRQ: 10 > INT: B bitmap: 400 PIRQ: 10 > INT: C bitmap: 400 PIRQ: 10 > INT: D bitmap: 800 PIRQ: 11 > Assigning IRQ 10 to 0:f.3 > Readback = 10 > Assigning IRQ 11 to 0:f.4 > Readback = 11 > Assigning IRQ 11 to 0:f.5 > Readback = 11 > PIR Entry 2 Dev/Fn: 68 Slot: 1 > INT: A bitmap: 400 PIRQ: 10 > INT: B bitmap: 400 PIRQ: 10 > INT: C bitmap: 800 PIRQ: 11 > INT: D bitmap: 400 PIRQ: 10 > Assigning IRQ 10 to 0: d.0 > Readback = 10 > PIR Entry 3 Dev/Fn: 70 Slot: 2 > INT: A bitmap: 400 PIRQ: 10 > INT: B bitmap: 800 PIRQ: 11 > INT: C bitmap: 400 PIRQ: 10 > INT: D bitmap: 400 PIRQ: 10 > PIR Entry 4 Dev/Fn: 58 Slot: 3 > INT: A bitmap: 800 PIRQ: 11 > INT: B bitmap: 400 PIRQ: 10 > INT: C bitmap: 400 PIRQ: 10 > INT: D bitmap: 400 PIRQ: 10 > PIR Entry 5 Dev/Fn: 60 Slot: 4 > INT: A bitmap: 400 PIRQ: 10 > INT: B bitmap: 400 PIRQ: 10 > INT: C bitmap: 400 PIRQ: 10 > INT: D bitmap: 800 PIRQ: 11 > Moving GDT to 0x500...ok > Adjust low_table_end from 0x00000530 to 0x00001000 > Adjust rom_table_end from 0x000f0400 to 0x00100000 > Wrote linuxbios table at: 00000530 - 000006c4 checksum fba9 > > Welcome to elfboot, the open sourced starter. > January 2002, Eric Biederman. > Version 1.3 > > rom_stream: 0xfff89000 - 0xfffeffff > Found ELF candidate at offset 0 > header_offset is 0 > Try to load at offset 0x0 > New segment addr 0x100000 size 0x306e0 offset 0xc0 filesize 0xb248 > (cleaned up) New segment addr 0x100000 size 0x306e0 offset 0xc0 filesize > 0xb248 > New segment addr 0x1306e0 size 0x48 offset 0xb320 filesize 0x48 > (cleaned up) New segment addr 0x1306e0 size 0x48 offset 0xb320 filesize 0x48 > Dropping non PT_LOAD segment > Dropping non PT_LOAD segment > Loading Segment: addr: 0x0000000000100000 memsz: 0x00000000000306e0 > filesz: 0x000000000000b248 > Clearing Segment: addr: 0x000000000010b248 memsz: 0x0000000000025498 > Loading Segment: addr: 0x00000000001306e0 memsz: 0x0000000000000048 > filesz: 0x0000000000000048 > Jumping to boot code at 0x108bdc > FILO version 0.5 (otavio@labdes15) Wed Jun 20 08:56:24 BRT 2007 > collect_linuxbios_info: Searching for LinuxBIOS tables... > find_lb_table: Found canidate at: 00000530 > find_lb_table: header checksum o.k. > find_lb_table: table checksum o.k. > find_lb_table: record count o.k. > collect_linuxbios_info: Found LinuxBIOS table at: 00000530 > convert_memmap: 0x00000000000000 0x00000000001000 16 > convert_memmap: 0x00000000001000 0x0000000009f000 1 > convert_memmap: 0x000000000f0000 0x00000000010000 16 > convert_memmap: 0x00000000100000 0x0000000f6e0000 1 > Press <Enter> for default boot, or <Esc> for boot prompt... 2 1 > timed out > boot: hda1:/boot/vmlinuz root=/dev/hda1 initrd=/boot/initrd > console=tty0 console=ttyS0,115200 > hda: LBA 40GB: ST340014A > Mounted ext2fs > Found Linux version 2.6.8-2-386 (horms@tabatha.lab.ultramonkey.org <mailto:horms@tabatha.lab.ultramonkey.org> > <mailto:horms@tabatha.lab.ultramonkey.org <mailto:horms@tabatha.lab.ultramonkey.org>>) #1 Thu May 19 17:40:50 JST > 2005 (protocol 0x203) (loadflags 0x1) bzImage. > init_linux_params: Setting up paramters at 0x90000 > set_memory_size: 0000000000001000 - 00000000000a0000 > set_memory_size: 0000000000100000 - 000000000f7e0000 > set_memory_size: ramtop=0xf7e0000 > set_memory_size: ext_mem_k=64512, alt_mem_k=252800 > parse_command_line: original command line: "root=/dev/hda1 > initrd=/boot/initrd console=tty0 console=ttyS0,115200" > parse_command_line: kernel command line at 0x91000 > parse_command_line: initrd=/boot/initrd > parse_command_line: kernel command line (48 bytes): "root=/dev/hda1 > console=tty0 console=ttyS0,115200" > load_linux_kernel: offset=0x1600 addr=0x100000 size=0x10a8cb > Loading kernel... ok > load_initrd: start=0xf391000 end=0xf7af000 > Loading initrd... ok > start_linux: eip=0x100000 > Jumping to entry point... > Linux version 2.6.8-2-386 (horms@tabatha.lab.ultramonkey.org <mailto:horms@tabatha.lab.ultramonkey.org> > <mailto:horms@tabatha.lab.ultramonkey.org <mailto:horms@tabatha.lab.ultramonkey.org>>) (gcc version 3.3.5 (Debian > 1:3.3.5-12)) #1 Thu May 19 17:40:50 JST 2005 > > BIOS-provided physical RAM map: > > BIOS-e820: 0000000000001000 - 00000000000a0000 (usable) > > BIOS-e820: 0000000000100000 - 000000000f7e0000 (usable) > > 247MB LOWMEM available. > > DMI not present. > > ACPI: Unable to locate RSDP > > Built 1 zonelists > > Kernel command line: root=/dev/hda1 console=tty0 console=ttyS0,115200 > > No local APIC present or hardware disabled > > Initializing CPU#0 > > PID hash table entries: 1024 (order 10: 8192 bytes) > > Detected 431.857 MHz processor. > > Using tsc for high-res timesource > > Console: colour dummy device 80x25 > > Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) > > Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) > > Memory: 244168k/253824k available (1336k kernel code, 8916k reserved, > 732k data, 204k init, 0k highmem) > > Checking if this processor honours the WP bit even in supervisor mode... > Ok. > > Calibrating delay loop... 845.82 BogoMIPS > > Security Scaffold v1.0.0 initialized > > Mount-cache hash table entries: 512 (order: 0, 4096 bytes) > > CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line) > > CPU: L2 Cache: 128K (32 bytes/line) > > CPU: AMD Geode(TM) Integrated Processor by AMD PCS stepping 02 > > Checking 'hlt' instruction... OK. > > Checking for popad bug... OK. > > checking if image is initramfs...it isn't (ungzip failed); looks like an > initrd > > Freeing initrd memory: 4216k freed > > NET: Registered protocol family 16 > > EISA bus registered > > PCI: Using configuration type 1 > > mtrr: v2.0 (20020519) > > ACPI: Subsystem revision 20040326 > > ACPI: Interpreter disabled. > > Linux Plug and Play Support v0.97 (c) Adam Belay > > PnPBIOS: Scanning system for PnP BIOS support... > > PnPBIOS: PnP BIOS support was not detected. > > PCI: Probing PCI hardware > > PCI: Probing PCI hardware (bus 00) > > PCI: Using IRQ router default [1022/2090] at 0000:00:0f.0 > > VFS: Disk quotas dquot_6.5.1 > > Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) > > devfs: 2004-01-31 Richard Gooch ( rgooch@atnf.csiro.au <mailto:rgooch@atnf.csiro.au> > <mailto:rgooch@atnf.csiro.au <mailto:rgooch@atnf.csiro.au>>) > > devfs: boot_options: 0x0 > > Initializing Cryptographic API > > isapnp: Scanning for PnP cards... > > isapnp: No Plug & Play device found > > Serial: 8250/16550 driver $Revision: 1.90 $ 54 ports, IRQ sharing enabled > > ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A > > RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize > > i8042.c : Can't read CTR while initializing i8042. > > EISA: Probing bus 0 at eisa0 > > Cannot allocate resource for EISA slot 1 > > EISA: Detected 0 cards. > > NET: Registered protocol family 2 > > IP: routing cache hash table of 2048 buckets, 16Kbytes > > TCP: Hash tables configured (established 16384 bind 32768) > > NET: Registered protocol family 8 > > NET: Registered protocol family 20 > > RAMDISK: cramfs filesystem found at block 0 > > RAMDISK: Loading 4216 blocks [1 disk] into ram disk... | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ done. > > > VFS: Mounted root (cramfs filesystem) readonly. > > Freeing unused kernel memory: 204k freed > > vesafb: probe of vesafb0 failed with error -6 > > NET: Registered protocol family 1 > > Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 > > ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx > > hda: ST340014A, ATA DISK drive > > Using anticipatory io scheduler > > ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 > > hda: max request size: 128KiB > > hda: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63 > > /dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 > > > -- Marc Jones Senior Software Engineer (970) 226-9684 Office mailto:Marc.Jones@amd.com <mailto:Marc.Jones@amd.com> http://www.amd.com/embeddedprocessors
-- Otávio Alcântara "I'll never cross to the Dark Side."
Marc wrote:
Otávio, Correct, you can't get graphics until a driver is loaded. For a test/debug setup that uses the filo menu will only be visable serial. Please see this link for the Geode LX framebuffer support. http://thread.gmane.org/gmane
.linux.fbdev.devel/10339
Marc
Marc,
I've compiled the kernel image with LX framebuffer driver and the video got fine! But, for some reason a kernel panic happens when loading initrd, I've used this initrd on other projects and worked very well. I'm putting the serial log bellow. Is there any chance to be a problem created by my bios?
Thanks,
Otávio Alcântara
LinuxBIOS-2.0.0.0Fallback Qua Jun 20 07:45:43 BRT 2007 starting... _MSR GLCP_SYS_RSTPLL (4c000014) value is: 00000498:00001820 Configuring PLL
LinuxBIOS-2.0.0.0Fallback Qua Jun 20 07:45:43 BRT 2007 starting... _MSR GLCP_SYS_RSTPLL (4c000014) value is: 00000498:07de0020 Done cpuRegInit SMBUS READ ERROR:03 device:a2 Ram1.00 Ram2.00 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 Ram3 DRAM controller init done. RAM DLL lock Ram4 Copying LinuxBIOS to ram. Jumping to LinuxBIOS. LinuxBIOS-2.0.0.0Fallback Sex Jul 13 08:29:57 BRT 2007 booting... clocks_per_usec: 432 Enumerating buses...
Entering northbridge.c: pci_domain_enable
Enter northbridge_init_early writeglmsr: MSR 0x10000020, val 0x20000000:0x000fff80 writeglmsr: MSR 0x10000021, val 0x20000000:0x080fffe0 writeglmsr: MSR 0x1000002c, val 0x20000000:0x00000003 sizeram: _MSR MC_CF07_DATA: 10077014:00004840 sizeram: sizem 0x200MB SysmemInit: enable for 512MBytes usable RAM: 536739839 bytes SysmemInit: MSR 0x10000028, val 0x2000001f:0xfdf00100 sizeram: _MSR MC_CF07_DATA: 10077014:00004840 sizeram: sizem 0x200MB SMMGL0Init: 536739840 bytes SMMGL0Init: offset is 0x80400000 SMMGL0Init: MSR 0x10000026, val 0x29fbe080:0x400fffe0 writeglmsr: MSR 0x10000080, val 0x00000000:0x00000003 writeglmsr: MSR 0x40000020, val 0x20000000:0x000fff80 writeglmsr: MSR 0x40000021, val 0x20000000:0x080fffe0 writeglmsr: MSR 0x4000002e, val 0x20000000:0x00000003 sizeram: _MSR MC_CF07_DATA: 10077014:00004840 sizeram: sizem 0x200MB SysmemInit: enable for 512MBytes usable RAM: 536739839 bytes SysmemInit: MSR 0x4000002a, val 0x2000001f:0xfdf00100 SMMGL1Init: SMMGL1Init: MSR 0x40000023, val 0x20000080:0x400fffe0 writeglmsr: MSR 0x40000080, val 0x00000000:0x00000001 writeglmsr: MSR 0x400000e3, val 0x60000000:0x033000f0 CPU_RCONF_DEFAULT (1808): 0x25FFFC02:0x11FFDF00 CPU_RCONF_BYPASS (180A): 0x00000000 : 0x00000000 L2 cache enabled Enabling cache GLPCI R1: system msr.lo 0x00100130 msr.hi 0x1ffdf000 GLPCI R2: system msr.lo 0x80400120 msr.hi 0x8041f000 Exit northbridge_init_early Done cpubug fixes Not Doing ChipsetFlashSetup() VRC_VG value: 0xffff Before VSA: do_vsmbios buf ilen 35441 olen60466 buf 00060000 *buf 186 buf[256k] 1 buf[0x20] signature is b0:10:e6:80 Call real_mode_switch_call_vsm biosint: INT# 0x15 biosint: eax 0xbea7 ebx 0x4e53 ecx 0x10000026 edx 0x10000028 biosint: ebp 0x15ed4 esp 0xff0 edi 0x8a71 esi 0x38 biosint: ip 0x5b3 cs 0x6000 flags 0x46 biosint: gs 0x0 fs 0x0 ds 0x6000 es 0x0 handleint21, eax 0xbea7 biosint: INT# 0x15 biosint: eax 0xbea4 ebx 0x4e53 ecx 0x10000026 edx 0x10000028 biosint: ebp 0x15ed4 esp 0xfee edi 0x8a71 esi 0x38 biosint: ip 0x5c1 cs 0x6000 flags 0x46 biosint: gs 0x0 fs 0x0 ds 0x6000 es 0x0 handleint21, eax 0xbea4 do_vsmbios: VSA2 VR signature verified After VSA: <<<WARNING>>> Graphics init... <<WARNING!!!>>> VRC_VG value: 0x2808 Finding PCI configuration type. PCI: Using configuration type 1 PCI_DOMAIN: 0000 enabled APIC_CLUSTER: 0 enabled PCI: pci_scan_bus for bus 00 PCI: 00:01.0 [1022/2080] enabled PCI: 00:01.1 [1022/2081] enabled PCI: 00:01.2 [1022/2082] enabled PCI: 00:0d.0 [10ec/8139] enabled PCI: 00:0f.0 [1022/2090] enabled PCI: 00:0f.2 [1022/209a] enabled PCI: 00:0f.3 [1022/2093] enabled PCI: 00:0f.4 [1022/2094] enabled PCI: 00:0f.5 [1022/2095] enabled PCI: 00:0f.6 [1022/2096] enabled PCI: 00:0f.7 [1022/2097] enabled PCI: pci_scan_bus returning with max=000 done Allocating resources... Reading resources... Done reading resources. Setting resources... PCI: 00:01.1 10 <- [0x00fd000000 - 0x00fdffffff] mem PCI: 00:01.1 14 <- [0x00fe000000 - 0x00fe003fff] mem PCI: 00:01.1 18 <- [0x00fe004000 - 0x00fe007fff] mem PCI: 00:01.1 1c <- [0x00fe008000 - 0x00fe00bfff] mem PCI: 00:01.1 20 <- [0x00fe00c000 - 0x00fe00ffff] mem PCI: 00:01.2 10 <- [0x00fe010000 - 0x00fe013fff] mem PCI: 00:0d.0 10 <- [0x0000001000 - 0x00000010ff] io PCI: 00:0d.0 14 <- [0x00fe019000 - 0x00fe0190ff] mem PCI: 00:0f.0 10 <- [0x0000001cb0 - 0x0000001cb7] io PCI: 00:0f.0 14 <- [0x0000001400 - 0x00000014ff] io PCI: 00:0f.0 18 <- [0x0000001c00 - 0x0000001c3f] io PCI: 00:0f.0 1c <- [0x0000001c80 - 0x0000001c9f] io PCI: 00:0f.0 20 <- [0x0000001800 - 0x000000187f] io PCI: 00:0f.0 24 <- [0x0000001c40 - 0x0000001c7f] io PCI: 00:0f.2 20 <- [0x0000001ca0 - 0x0000001caf] io PCI: 00:0f.3 10 <- [0x0000001880 - 0x00000018ff] io PCI: 00:0f.4 10 <- [0x00fe016000 - 0x00fe016fff] mem PCI: 00:0f.5 10 <- [0x00fe017000 - 0x00fe017fff] mem PCI: 00:0f.6 10 <- [0x00fe014000 - 0x00fe015fff] mem PCI: 00:0f.7 10 <- [0x00fe018000 - 0x00fe018fff] mem Done setting resources. Done allocating resources. Enabling resources... PCI: 00:01.0 cmd <- 145 PCI: 00:01.1 subsystem <- 00/00 PCI: 00:01.1 cmd <- 142 PCI: 00:01.2 cmd <- 142 PCI: 00:0d.0 cmd <- 143 cs5536: cs5536_pci_dev_enable_resources() PCI: 00:0f.0 cmd <- 149 PCI: 00:0f.2 cmd <- 141 PCI: 00:0f.3 cmd <- 141 PCI: 00:0f.4 cmd <- 142 PCI: 00:0f.5 cmd <- 142 PCI: 00:0f.6 cmd <- 142 PCI: 00:0f.7 cmd <- 142 done. Initializing devices... Root Device init Norwich ENTER init Norwich EXIT init PCI: 00:01.0 init PCI: 00:01.1 init APIC_CLUSTER: 0 init Initializing CPU #0 CPU: vendor AMD device 5a2 CPU: family 05, model 0a, stepping 02 model_lx_init Enabling cache A20 (0x92): 2 A20 (0x92): 2 CPU model_lx_init DONE CPU #0 Initialized PCI: 00:01.2 init PCI: 00:0d.0 init PCI: 00:0f.0 init cs5536: southbridge_init RTC Init rct_init finished Disabling VPCI device: 0x0000106C Disabling VPCI device: 0x00001075 Disabling VPCI device: 0x0000107E Disabling VPCI device: 0x00001087 Disabling VPCI device: 0x00001090 Disabling VPCI device: 0x00001099 Disabling VPCI device: 0x000010A2 Disabling VPCI device: 0x000010AB PCI: 00:0f.2 init PCI: 00:0f.3 init PCI: 00:0f.4 init PCI: 00:0f.5 init PCI: 00:0f.6 init PCI: 00:0f.7 init Devices initialized Copying IRQ routing tables to 0xf0000...done. Verifing copy of IRQ routing tables at 0xf0000...done Checking IRQ routing table consistency... check_pirq_routing_table() - irq_routing_table located at: 0x000f0000 /home/otavio/LinuxBIOSv2/src/arch/i386/boot/pirq_routing.c: 36:check_pirq_routing_table() - checksum is: 0x00 but should be: 0x96 done. write_pirq_routing_table(8000785C, BAAB) PIR Entry 0 Dev/Fn: 8 Slot: 0 INT: A bitmap: 800 PIRQ: 11 INT: B bitmap: 0 PIRQ: 0 INT: C bitmap: 0 PIRQ: 0 INT: D bitmap: 0 PIRQ: 0 Assigning IRQ 11 to 0:1.1 Readback = 11 Assigning IRQ 11 to 0:1.2 Readback = 11 PIR Entry 1 Dev/Fn: 78 Slot: 0 INT: A bitmap: 800 PIRQ: 11 INT: B bitmap: 400 PIRQ: 10 INT: C bitmap: 400 PIRQ: 10 INT: D bitmap: 800 PIRQ: 11 Assigning IRQ 10 to 0:f.3 Readback = 10 Assigning IRQ 11 to 0:f.4 Readback = 11 Assigning IRQ 11 to 0:f.5 Readback = 11 PIR Entry 2 Dev/Fn: 68 Slot: 0 INT: A bitmap: 800 PIRQ: 11 INT: B bitmap: 0 PIRQ: 0 INT: C bitmap: 0 PIRQ: 0 INT: D bitmap: 0 PIRQ: 0 Assigning IRQ 11 to 0:d.0 Readback = 11 PIR Entry 3 Dev/Fn: 0 Slot: 0 INT: A bitmap: 0 PIRQ: 0 INT: B bitmap: 0 PIRQ: 0 INT: C bitmap: 0 PIRQ: 0 INT: D bitmap: 0 PIRQ: 0 PIR Entry 4 Dev/Fn: 0 Slot: 0 INT: A bitmap: 0 PIRQ: 0 INT: B bitmap: 0 PIRQ: 0 INT: C bitmap: 0 PIRQ: 0 INT: D bitmap: 0 PIRQ: 0 PIR Entry 5 Dev/Fn: 0 Slot: 0 INT: A bitmap: 0 PIRQ: 0 INT: B bitmap: 0 PIRQ: 0 INT: C bitmap: 0 PIRQ: 0 INT: D bitmap: 0 PIRQ: 0 Moving GDT to 0x500...ok Adjust low_table_end from 0x00000530 to 0x00001000 Adjust rom_table_end from 0x000f0400 to 0x00100000 Wrote linuxbios table at: 00000530 - 000006c4 checksum ec7f
Welcome to elfboot, the open sourced starter. January 2002, Eric Biederman. Version 1.3
rom_stream: 0xfff89000 - 0xfffeffff Found ELF candidate at offset 0 header_offset is 0 Try to load at offset 0x0 New segment addr 0x100000 size 0x306e0 offset 0xc0 filesize 0xb248 (cleaned up) New segment addr 0x100000 size 0x306e0 offset 0xc0 filesize 0xb248 New segment addr 0x1306e0 size 0x48 offset 0xb320 filesize 0x48 (cleaned up) New segment addr 0x1306e0 size 0x48 offset 0xb320 filesize 0x48 Dropping non PT_LOAD segment Dropping non PT_LOAD segment Loading Segment: addr: 0x0000000000100000 memsz: 0x00000000000306e0 filesz: 0x000000000000b248 Clearing Segment: addr: 0x000000000010b248 memsz: 0x0000000000025498 Loading Segment: addr: 0x00000000001306e0 memsz: 0x0000000000000048 filesz: 0x0000000000000048 Jumping to boot code at 0x108bdc FILO version 0.5 (otavio@labdes15) Fri Jul 13 08:05:08 BRT 2007 collect_linuxbios_info: Searching for LinuxBIOS tables... find_lb_table: Found canidate at: 00000530 find_lb_table: header checksum o.k. find_lb_table: table checksum o.k. find_lb_table: record count o.k. collect_linuxbios_info: Found LinuxBIOS table at: 00000530 convert_memmap: 0x00000000000000 0x00000000001000 16 convert_memmap: 0x00000000001000 0x0000000009f000 1 convert_memmap: 0x000000000f0000 0x00000000010000 16 convert_memmap: 0x00000000100000 0x0000001f6e0000 1 Press <Enter> for default boot, or <Esc> for boot prompt... 2 1 boot: hda1:/boot/vmlinuz root=/dev/hda1 initrd=/boot/initrd console=tty0 console=ttyS0,115200 hda: LBA 40GB: ST340014A Mounted ext2fs Found Linux version 2.6.18 (root@alexandre) #3 SMP Fri Jul 13 09:40:07 BRT 2007 (protocol 0x204) (loadflags 0x1) bzImage. init_linux_params: Setting up paramters at 0x90000 set_memory_size: 0000000000001000 - 00000000000a0000 set_memory_size: 0000000000100000 - 000000001f7e0000 set_memory_size: ramtop=0x1f7e0000 set_memory_size: ext_mem_k=64512, alt_mem_k=514944 parse_command_line: original command line: "root=/dev/hda1 initrd=/boot/initrd console=tty0 console=ttyS0,115200" parse_command_line: kernel command line at 0x91000 parse_command_line: initrd=/boot/initrd parse_command_line: kernel command line (48 bytes): "root=/dev/hda1 console=tty0 console=ttyS0,115200" load_linux_kernel: offset=0x1e00 addr=0x100000 size=0x11b91c Loading kernel... ok load_initrd: start=0x1f391000 end=0x1f7af000 Loading initrd... ok start_linux: eip=0x100000 Jumping to entry point... Linux version 2.6.18 (root@alexandre) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #3 SMP Fri Jul 13 09:40:07 BRT 2007 BIOS-provided physical RAM map: BIOS-e820: 0000000000001000 - 00000000000a0000 (usable) BIOS-e820: 0000000000100000 - 000000001f7e0000 (usable) 0MB HIGHMEM available. 503MB LOWMEM available. DMI not present or invalid. Allocating PCI resources starting at 20000000 (gap: 1f7e0000:e0820000) Detected 431.642 MHz processor. Built 1 zonelists. Total pages: 128992 Kernel command line: root=/dev/hda1 console=tty0 console=ttyS0,115200 No local APIC present or hardware disabled Initializing CPU#0 PID hash table entries: 2048 (order: 11, 8192 bytes) Console: colour dummy device 80x25 Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Memory: 504340k/515968k available (1421k kernel code, 11104k reserved, 546k data, 160k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 864.59 BogoMIPS (lpj=1729182) Security Framework v1.0.0 initialized SELinux: Disabled at boot. Capability LSM initialized Mount-cache hash table entries: 512 CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line) CPU: L2 Cache: 128K (32 bytes/line) Compat vDSO mapped to ffffe000. Checking 'hlt' instruction... OK. SMP alternatives: switching to UP code Freeing SMP alternatives: 12k freed CPU0: AMD Geode(TM) Integrated Processor by AMD PCS stepping 02 SMP motherboard not detected. Local APIC not detected. Using dummy APIC emulation. Brought up 1 CPUs migration_cost=0 checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd Freeing initrd memory: 4216k freed NET: Registered protocol family 16 PCI: Using configuration type 1 Setting up standard PCI resources Linux Plug and Play Support v0.97 (c) Adam Belay PnPBIOS: Scanning system for PnP BIOS support... PnPBIOS: PnP BIOS support was not detected. PCI: Probing PCI hardware PCI: Using IRQ router default [1022/2090] at 0000:00:0f.0 PCI: Ignore bogus resource 6 [0:0] of 0000:00:01.1 NET: Registered protocol family 2 IP route cache hash table entries: 4096 (order: 2, 16384 bytes) TCP established hash table entries: 16384 (order: 5, 131072 bytes) TCP bind hash table entries: 8192 (order: 4, 65536 bytes) TCP: Hash tables configured (established 16384 bind 8192) TCP reno registered audit: initializing netlink socket (disabled) audit(943920012.588:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) PCI: Guessed IRQ 11 for device 0000:00:01.1 PCI: Sharing IRQ 11 with 0000:00:01.2 PCI: Sharing IRQ 11 with 0000:00:0d.0 lxfb 0000:00:01.1: 8192 KB of video memory at 0xfd000000 Console: switching to colour frame buffer device 80x25 fb0: Geode LX frame buffer device vga16fb: mapped to 0xc00a0000 fb1: VGA16 VGA frame buffer device isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize loop: loaded (max 8 devices) nbd: registered device at major 43 8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004) 8139cp 0000:00:0d.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip 8139cp 0000:00:0d.0: Try the "8139too" driver instead. 8139too Fast Ethernet driver 0.9.27 PCI: Guessed IRQ 11 for device 0000:00:0d.0 PCI: Sharing IRQ 11 with 0000:00:01.1 PCI: Sharing IRQ 11 with 0000:00:01.2 eth0: RealTek RTL8139 at 0x1000, 00:11:9e:c0:0a:e5, IRQ 11 PNP: No PS/2 controller found. Probing ports directly. i8042.c: Can't read CTR while initializing i8042. mice: PS/2 mouse device common for all mice TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 17 Using IPI No-Shortcut mode RAMDISK: cramfs filesystem found at block 0 Time: tsc clocksource has been installed. RAMDISK: Loading 4216KiB [1 disk] into ram disk... |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/
On 6/20/07, Marc Jones marc.jones@amd.com wrote:
Otávio Alcântara wrote:
Thanks for the help. But I have another doubt, I'm not getting video working even after the linux kernel boots. What do I do to change the console to video? I've configured Filo to use video console, but the stream goes only to serial interface.
Regards,
Otávio Alcântara
Otávio, Correct, you can't get graphics until a driver is loaded. For a test/debug setup that uses the filo menu will only be visable serial. Please see this link for the Geode LX framebuffer support. http://thread.gmane.org/gmane.linux.fbdev.devel/10339
Marc
On 6/20/07, *Marc Jones* <marc.jones@amd.com mailto:marc.jones@amd.com> wrote:
Otávio Alcântara wrote: > Hello to all, > > I'm porting a linuxbios v2 version for a board ref des > LXUVCRDK (http://www.amd.com/geodelxuvcrdk <http://www.amd.com/geodelxuvcrdk>) based on norwich board. I've > already got to boot linux from HD, but it seems to halt in some
point
> (see log below captured from serial). Although, I'm using VSA > (lx_vsa.36k.bin) and I got no output from video VGA. > I'd like some help for setting up the PIRQ table and for VGA > setup. > > PS: The schematics for this board are publicly available from AMD > Embedded Developer Web Site. > > Thanks, > > -- > Otávio Alcântara > "I'll never cross to the Dark Side." > > > I took a quick look at the schematics and I think that this is what
the
PIRQ table should look like. /* If you change the number of entries, change the IRQ_SLOT_COUNT above! */ /* bus, dev|fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */ {0x00, (0x01 << 3) | 0x0, {{L_PIRQA, M_PIRQA}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}}, 0x0, 0x0}, /* cpu */ {0x00, (0x0F << 3) | 0x0, {{L_PIRQA, M_PIRQA}, {L_PIRQB, M_PIRQB}, {L_PIRQC, M_PIRQC}, {L_PIRQD, M_PIRQD}}, 0x0, 0x0}, /* chipset
*/
{0x00, (0x0D << 3) | 0x0, {{L_PIRQA, M_PIRQA}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}}, 0x0, 0x0}, /* ethernet */ Make sure to change IRQ_SLOT_COUNT in the mainboard Options.lb <http://Options.lb> As Jordan pointed out, you should use the Linux framebuffer and X drivers instead of VGA. That means that you should also set CONFIG_CONSOLE_VGA=0 and CONFIG_PCI_ROM_RUN=0 in Options.lb <http://Options.lb> It also looks like there is something funny going on with the Config.lb <http://Config.lb>. Try using the norwich one without modifications. > cs5536: southbridge_init: enable_ide_nand_flash is 36 If you want to boot from IDE enable_ide_nand_flash should be 0 > Disabling VPCI device: 0x0000106C > Disabling VPCI device: 0x00001075 > Disabling VPCI device: 0x0000107E > Disabling VPCI device: 0x00001087 > Disabling VPCI device: 0x00001090 > Disabling VPCI device: 0x00001099 > Disabling VPCI device: 0x000010A2 > Disabling VPCI device: 0x000010AB This is a very strange list. I don't have one of these boards so when you get it working please submit a patch! Let me know if there is anything else I can do to help Marc > > LinuxBIOS-2.0.0.0Fallback Qua Jun 20 07:45:43 BRT 2007
starting...
> _MSR GLCP_SYS_RSTPLL (4c000014) value is: 00000498:00001820 > Configuring PLL > > > LinuxBIOS-2.0.0.0Fallback Qua Jun 20 07:45:43 BRT 2007
starting...
> _MSR GLCP_SYS_RSTPLL (4c000014) value is: 00000498:07de0020 > Done cpuRegInit > SMBUS READ ERROR:03 device:a2 > Ram1.00 > Ram2.00 > SMBUS READ ERROR:03 device:a2 > SMBUS READ ERROR:03 device:a2 > SMBUS READ ERROR:03 device:a2 > SMBUS READ ERROR:03 device:a2 > SMBUS READ ERROR:03 device:a2 > SMBUS READ ERROR:03 device:a2 > SMBUS READ ERROR:03 device:a2 > SMBUS READ ERROR:03 device:a2 > SMBUS READ ERROR:03 device:a2 > SMBUS READ ERROR:03 device:a2 > SMBUS READ ERROR:03 device:a2 > Ram3 > DRAM controller init done. > RAM DLL lock > Ram4 > Copying LinuxBIOS to ram. > Jumping to LinuxBIOS. > LinuxBIOS-2.0.0.0Fallback Qua Jun 20 08:56:35 BRT 2007 booting... > clocks_per_usec: 432 > Enumerating buses... > >> Entering northbridge.c: pci_domain_enable > Enter northbridge_init_early > writeglmsr: MSR 0x10000020, val 0x20000000:0x000fff80 > writeglmsr: MSR 0x10000021, val 0x20000000:0x080fffe0 > writeglmsr: MSR 0x1000002c, val 0x20000000:0x00000003 > sizeram: _MSR MC_CF07_DATA: 10076112:00004840 > sizeram: sizem 0x100MB > SysmemInit: enable for 256MBytes > usable RAM: 268304383 bytes > SysmemInit: MSR 0x10000028, val 0x2000000f:0xfdf00100 > sizeram: _MSR MC_CF07_DATA: 10076112:00004840 > sizeram: sizem 0x100MB > SMMGL0Init: 268304384 bytes > SMMGL0Init: offset is 0x80400000 > SMMGL0Init: MSR 0x10000026, val 0x28fbe080:0x400fffe0 > writeglmsr: MSR 0x10000080, val 0x00000000:0x00000003 > writeglmsr: MSR 0x40000020, val 0x20000000:0x000fff80 > writeglmsr: MSR 0x40000021, val 0x20000000:0x080fffe0 > writeglmsr: MSR 0x4000002e, val 0x20000000:0x00000003 > sizeram: _MSR MC_CF07_DATA: 10076112:00004840 > sizeram: sizem 0x100MB > SysmemInit: enable for 256MBytes > usable RAM: 268304383 bytes > SysmemInit: MSR 0x4000002a, val 0x2000000f:0xfdf00100 > SMMGL1Init: > SMMGL1Init: MSR 0x40000023, val 0x20000080:0x400fffe0 > writeglmsr: MSR 0x40000080, val 0x00000000:0x00000001 > writeglmsr: MSR 0x400000e3, val 0x60000000:0x033000f0 > CPU_RCONF_DEFAULT (1808): 0x25FFFC02:0x10FFDF00 > CPU_RCONF_BYPASS (180A): 0x00000000 : 0x00000000 > L2 cache enabled > Enabling cache > GLPCI R1: system msr.lo 0x00100130 msr.hi 0x0ffdf000 > GLPCI R2: system msr.lo 0x80400120 msr.hi 0x8041f000 > Exit northbridge_init_early > Done cpubug fixes > Not Doing ChipsetFlashSetup() > <<<WARNING>>> Graphics init... > <<WARNING!!!>>> VRC_VG value: 0xffff > Before VSA: > do_vsmbios > buf ilen 35441 olen60466 > buf 00060000 *buf 186 buf[256k] 0 > buf[0x20] signature is b0:10:e6:80 > Call real_mode_switch_call_vsm > biosint: INT# 0x15 > biosint: eax 0xbea7 ebx 0x4e53 ecx 0x10000026 edx 0x10000028 > biosint: ebp 0x15ed4 esp 0xff0 edi 0x8a71 esi 0x38 > biosint: ip 0x5b3 cs 0x6000 flags 0x46 > biosint: gs 0x0 fs 0x0 ds 0x6000 es 0x0 > handleint21, eax 0xbea7 > biosint: INT# 0x15 > biosint: eax 0xbea4 ebx 0x4e53 ecx 0x10000026 edx 0x10000028 > biosint: ebp 0x15ed4 esp 0xfee edi 0x8a71 esi 0x38 > biosint: ip 0x5c1 cs 0x6000 flags 0x46 > biosint: gs 0x0 fs 0x0 ds 0x6000 es 0x0 > handleint21, eax 0xbea4 > do_vsmbios: VSA2 VR signature verified > After VSA: > <<<WARNING>>> Graphics init... > <<WARNING!!!>>> VRC_VG value: 0x2808 > Finding PCI configuration type. > PCI: Using configuration type 1 > PCI_DOMAIN: 0000 enabled > APIC_CLUSTER: 0 enabled > PCI: pci_scan_bus for bus 00 > PCI: 00:01.0 [1022/2080] enabled > PCI: 00:01.1 [1022/2081] enabled > PCI: 00:01.2 [1022/2082] enabled > PCI: 00:0d.0 [10ec/8139] enabled > PCI: 00:0f.0 [1022/2090] enabled > PCI: 00:0f.2 [1022/209a] enabled > PCI: 00: 0f.3 [1022/2093] enabled > PCI: 00:0f.4 [1022/2094] enabled > PCI: 00:0f.5 [1022/2095] enabled > PCI: 00: 0f.6 [1022/2096] enabled > PCI: 00:0f.7 [1022/2097] enabled > PCI: pci_scan_bus returning with max=000 > done > Allocating resources... > Reading resources... > Done reading resources. > Setting resources... > PCI: 00: 01.1 10 <- [0x00fd000000 - 0x00fdffffff] mem > PCI: 00:01.1 14 <- [0x00fe000000 - 0x00fe003fff] mem > PCI: 00:01.1 18 <- [0x00fe004000 - 0x00fe007fff] mem > PCI: 00:01.1 1c <- [0x00fe008000 - 0x00fe00bfff] mem > PCI: 00:01.1 20 <- [0x00fe00c000 - 0x00fe00ffff] mem > PCI: 00:01.2 10 <- [0x00fe010000 - 0x00fe013fff] mem > PCI: 00:0d.0 10 <- [0x0000001000 - 0x00000010ff] io > PCI: 00:0d.0 14 <- [0x00fe019000 - 0x00fe0190ff] mem > PCI: 00:0f.0 10 <- [0x0000001cb0 - 0x0000001cb7] io > PCI: 00:0f.0 14 <- [0x0000001400 - 0x00000014ff] io > PCI: 00:0f.0 18 <- [0x0000001c00 - 0x0000001c3f] io > PCI: 00:0f.0 1c <- [0x0000001c80 - 0x0000001c9f] io > PCI: 00:0f.0 20 <- [0x0000001800 - 0x000000187f] io > PCI: 00:0f.0 24 <- [0x0000001c40 - 0x0000001c7f] io > PCI: 00:0f.2 20 <- [0x0000001ca0 - 0x0000001caf] io > PCI: 00:0f.3 10 <- [0x0000001880 - 0x00000018ff] io > PCI: 00:0f.4 10 <- [0x00fe016000 - 0x00fe016fff] mem > PCI: 00:0f.5 10 <- [0x00fe017000 - 0x00fe017fff] mem > PCI: 00:0f.6 10 <- [0x00fe014000 - 0x00fe015fff] mem > PCI: 00:0f.7 10 <- [0x00fe018000 - 0x00fe018fff] mem > Done setting resources. > Done allocating resources. > Enabling resources... > PCI: 00:01.0 cmd <- 145 > PCI: 00:01.1 subsystem <- 00/00 > PCI: 00:01.1 cmd <- 142 > PCI: 00:01.2 cmd <- 142 > PCI: 00: 0d.0 cmd <- 143 > cs5536: cs5536_pci_dev_enable_resources() > PCI: 00:0f.0 cmd <- 149 > PCI: 00:0f.2 cmd <- 141 > PCI: 00:0f.3 cmd <- 141 > PCI: 00:0f.4 cmd <- 142 > PCI: 00: 0f.5 cmd <- 142 > PCI: 00: 0f.6 cmd <- 142 > PCI: 00:0f.7 cmd <- 142 > done. > Initializing devices... > Root Device init > Norwich ENTER init > Norwich EXIT init > PCI: 00: 01.0 init > PCI: 00:01.1 init > APIC_CLUSTER: 0 init > Initializing CPU #0 > CPU: vendor AMD device 5a2 > CPU: family 05, model 0a, stepping 02 > model_lx_init > Enabling cache > A20 (0x92): 2 > A20 (0x92): 2 > CPU model_lx_init DONE > CPU #0 Initialized > PCI: 00:01.2 init > PCI: 00: 0d.0 init > PCI: 00:0f.0 init > cs5536: southbridge_init > RTC Init > rct_init finished > cs5536: southbridge_init: enable_ide_nand_flash is 36 > Disabling VPCI device: 0x0000106C > Disabling VPCI device: 0x00001075 > Disabling VPCI device: 0x0000107E > Disabling VPCI device: 0x00001087 > Disabling VPCI device: 0x00001090 > Disabling VPCI device: 0x00001099 > Disabling VPCI device: 0x000010A2 > Disabling VPCI device: 0x000010AB > PCI: 00:0f.2 init > PCI: 00:0f.3 init > PCI: 00:0f.4 init > PCI: 00:0f.5 init > PCI: 00:0f.6 init > PCI: 00:0f.7 init > Devices initialized > Copying IRQ routing tables to 0xf0000...done. > Verifing copy of IRQ routing tables at 0xf0000...done > Checking IRQ routing table consistency... > check_pirq_routing_table() - irq_routing_table located at:
0x000f0000
> /home/otavio/LinuxBIOSv2/src/arch/i386/boot/pirq_routing.c: > 36:check_pirq_routing_table() - checksum is: 0x00 but should be: 0xfd > done. > write_pirq_routing_table(8000785C, BAAA) > PIR Entry 0 Dev/Fn: 8 Slot: 0 > INT: A bitmap: 400 PIRQ: 10 > INT: B bitmap: 0 PIRQ: 0 > INT: C bitmap: 0 PIRQ: 0 > INT: D bitmap: 0 PIRQ: 0 > Assigning IRQ 10 to 0: 1.1 > Readback = 10 > Assigning IRQ 10 to 0:1.2 > Readback = 10 > PIR Entry 1 Dev/Fn: 78 Slot: 0 > INT: A bitmap: 400 PIRQ: 10 > INT: B bitmap: 400 PIRQ: 10 > INT: C bitmap: 400 PIRQ: 10 > INT: D bitmap: 800 PIRQ: 11 > Assigning IRQ 10 to 0:f.3 > Readback = 10 > Assigning IRQ 11 to 0:f.4 > Readback = 11 > Assigning IRQ 11 to 0:f.5 > Readback = 11 > PIR Entry 2 Dev/Fn: 68 Slot: 1 > INT: A bitmap: 400 PIRQ: 10 > INT: B bitmap: 400 PIRQ: 10 > INT: C bitmap: 800 PIRQ: 11 > INT: D bitmap: 400 PIRQ: 10 > Assigning IRQ 10 to 0: d.0 > Readback = 10 > PIR Entry 3 Dev/Fn: 70 Slot: 2 > INT: A bitmap: 400 PIRQ: 10 > INT: B bitmap: 800 PIRQ: 11 > INT: C bitmap: 400 PIRQ: 10 > INT: D bitmap: 400 PIRQ: 10 > PIR Entry 4 Dev/Fn: 58 Slot: 3 > INT: A bitmap: 800 PIRQ: 11 > INT: B bitmap: 400 PIRQ: 10 > INT: C bitmap: 400 PIRQ: 10 > INT: D bitmap: 400 PIRQ: 10 > PIR Entry 5 Dev/Fn: 60 Slot: 4 > INT: A bitmap: 400 PIRQ: 10 > INT: B bitmap: 400 PIRQ: 10 > INT: C bitmap: 400 PIRQ: 10 > INT: D bitmap: 800 PIRQ: 11 > Moving GDT to 0x500...ok > Adjust low_table_end from 0x00000530 to 0x00001000 > Adjust rom_table_end from 0x000f0400 to 0x00100000 > Wrote linuxbios table at: 00000530 - 000006c4 checksum fba9 > > Welcome to elfboot, the open sourced starter. > January 2002, Eric Biederman. > Version 1.3 > > rom_stream: 0xfff89000 - 0xfffeffff > Found ELF candidate at offset 0 > header_offset is 0 > Try to load at offset 0x0 > New segment addr 0x100000 size 0x306e0 offset 0xc0 filesize
0xb248
> (cleaned up) New segment addr 0x100000 size 0x306e0 offset 0xc0 filesize > 0xb248 > New segment addr 0x1306e0 size 0x48 offset 0xb320 filesize 0x48 > (cleaned up) New segment addr 0x1306e0 size 0x48 offset 0xb320 filesize 0x48 > Dropping non PT_LOAD segment > Dropping non PT_LOAD segment > Loading Segment: addr: 0x0000000000100000 memsz:
0x00000000000306e0
> filesz: 0x000000000000b248 > Clearing Segment: addr: 0x000000000010b248 memsz:
0x0000000000025498
> Loading Segment: addr: 0x00000000001306e0 memsz:
0x0000000000000048
> filesz: 0x0000000000000048 > Jumping to boot code at 0x108bdc > FILO version 0.5 (otavio@labdes15) Wed Jun 20 08:56:24 BRT 2007 > collect_linuxbios_info: Searching for LinuxBIOS tables... > find_lb_table: Found canidate at: 00000530 > find_lb_table: header checksum o.k. > find_lb_table: table checksum o.k. > find_lb_table: record count o.k. > collect_linuxbios_info: Found LinuxBIOS table at: 00000530 > convert_memmap: 0x00000000000000 0x00000000001000 16 > convert_memmap: 0x00000000001000 0x0000000009f000 1 > convert_memmap: 0x000000000f0000 0x00000000010000 16 > convert_memmap: 0x00000000100000 0x0000000f6e0000 1 > Press <Enter> for default boot, or <Esc> for boot prompt... 2 1 > timed out > boot: hda1:/boot/vmlinuz root=/dev/hda1 initrd=/boot/initrd > console=tty0 console=ttyS0,115200 > hda: LBA 40GB: ST340014A > Mounted ext2fs > Found Linux version 2.6.8-2-386 (horms@tabatha.lab.ultramonkey.org <mailto:horms@tabatha.lab.ultramonkey.org> > <mailto:horms@tabatha.lab.ultramonkey.org <mailto:horms@tabatha.lab.ultramonkey.org>>) #1 Thu May 19 17:40:50
JST
> 2005 (protocol 0x203) (loadflags 0x1) bzImage. > init_linux_params: Setting up paramters at 0x90000 > set_memory_size: 0000000000001000 - 00000000000a0000 > set_memory_size: 0000000000100000 - 000000000f7e0000 > set_memory_size: ramtop=0xf7e0000 > set_memory_size: ext_mem_k=64512, alt_mem_k=252800 > parse_command_line: original command line: "root=/dev/hda1 > initrd=/boot/initrd console=tty0 console=ttyS0,115200" > parse_command_line: kernel command line at 0x91000 > parse_command_line: initrd=/boot/initrd > parse_command_line: kernel command line (48 bytes):
"root=/dev/hda1
> console=tty0 console=ttyS0,115200" > load_linux_kernel: offset=0x1600 addr=0x100000 size=0x10a8cb > Loading kernel... ok > load_initrd: start=0xf391000 end=0xf7af000 > Loading initrd... ok > start_linux: eip=0x100000 > Jumping to entry point... > Linux version 2.6.8-2-386 (horms@tabatha.lab.ultramonkey.org <mailto:horms@tabatha.lab.ultramonkey.org> > <mailto:horms@tabatha.lab.ultramonkey.org <mailto:horms@tabatha.lab.ultramonkey.org>>) (gcc version 3.3.5(Debian > 1:3.3.5-12)) #1 Thu May 19 17:40:50 JST 2005 > > BIOS-provided physical RAM map: > > BIOS-e820: 0000000000001000 - 00000000000a0000 (usable) > > BIOS-e820: 0000000000100000 - 000000000f7e0000 (usable) > > 247MB LOWMEM available. > > DMI not present. > > ACPI: Unable to locate RSDP > > Built 1 zonelists > > Kernel command line: root=/dev/hda1 console=tty0
console=ttyS0,115200
> > No local APIC present or hardware disabled > > Initializing CPU#0 > > PID hash table entries: 1024 (order 10: 8192 bytes) > > Detected 431.857 MHz processor. > > Using tsc for high-res timesource > > Console: colour dummy device 80x25 > > Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) > > Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) > > Memory: 244168k/253824k available (1336k kernel code, 8916k
reserved,
> 732k data, 204k init, 0k highmem) > > Checking if this processor honours the WP bit even in supervisor mode... > Ok. > > Calibrating delay loop... 845.82 BogoMIPS > > Security Scaffold v1.0.0 initialized > > Mount-cache hash table entries: 512 (order: 0, 4096 bytes) > > CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line) > > CPU: L2 Cache: 128K (32 bytes/line) > > CPU: AMD Geode(TM) Integrated Processor by AMD PCS stepping 02 > > Checking 'hlt' instruction... OK. > > Checking for popad bug... OK. > > checking if image is initramfs...it isn't (ungzip failed); looks like an > initrd > > Freeing initrd memory: 4216k freed > > NET: Registered protocol family 16 > > EISA bus registered > > PCI: Using configuration type 1 > > mtrr: v2.0 (20020519) > > ACPI: Subsystem revision 20040326 > > ACPI: Interpreter disabled. > > Linux Plug and Play Support v0.97 (c) Adam Belay > > PnPBIOS: Scanning system for PnP BIOS support... > > PnPBIOS: PnP BIOS support was not detected. > > PCI: Probing PCI hardware > > PCI: Probing PCI hardware (bus 00) > > PCI: Using IRQ router default [1022/2090] at 0000:00:0f.0 > > VFS: Disk quotas dquot_6.5.1 > > Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) > > devfs: 2004-01-31 Richard Gooch ( rgooch@atnf.csiro.au <mailto:rgooch@atnf.csiro.au> > <mailto:rgooch@atnf.csiro.au <mailto:rgooch@atnf.csiro.au>>) > > devfs: boot_options: 0x0 > > Initializing Cryptographic API > > isapnp: Scanning for PnP cards... > > isapnp: No Plug & Play device found > > Serial: 8250/16550 driver $Revision: 1.90 $ 54 ports, IRQ sharing enabled > > ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A > > RAMDISK driver initialized: 16 RAM disks of 8192K size 1024
blocksize
> > i8042.c : Can't read CTR while initializing i8042. > > EISA: Probing bus 0 at eisa0 > > Cannot allocate resource for EISA slot 1 > > EISA: Detected 0 cards. > > NET: Registered protocol family 2 > > IP: routing cache hash table of 2048 buckets, 16Kbytes > > TCP: Hash tables configured (established 16384 bind 32768) > > NET: Registered protocol family 8 > > NET: Registered protocol family 20 > > RAMDISK: cramfs filesystem found at block 0 > > RAMDISK: Loading 4216 blocks [1 disk] into ram disk... | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ done. > > > VFS: Mounted root (cramfs filesystem) readonly. > > Freeing unused kernel memory: 204k freed > > vesafb: probe of vesafb0 failed with error -6 > > NET: Registered protocol family 1 > > Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 > > ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx > > hda: ST340014A, ATA DISK drive > > Using anticipatory io scheduler > > ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 > > hda: max request size: 128KiB > > hda: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63 > > /dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 > > > -- Marc Jones Senior Software Engineer (970) 226-9684 Office mailto:Marc.Jones@amd.com <mailto:Marc.Jones@amd.com> http://www.amd.com/embeddedprocessors
-- Otávio Alcântara "I'll never cross to the Dark Side."
-- Marc Jones Senior Software Engineer (970) 226-9684 Office mailto:Marc.Jones@amd.com http://www.amd.com/embeddedprocessors
Looks like the RAMDISK is blowing up. Try without it. Try running a memory test. You can built memtest as a payload. Marc
Otávio Alcântara wrote:
Marc wrote:
Otávio, Correct, you can't get graphics until a driver is loaded. For a test/debug setup that uses the filo menu will only be visable serial. Please see this link for the Geode LX framebuffer support. http://thread.gmane.org/gmane
> .linux.fbdev.devel/10339 > Marc
Marc,
I've compiled the kernel image with LX framebuffer driver and the
video got fine! But, for some reason a kernel panic happens when loading initrd, I've used this initrd on other projects and worked very well. I'm putting the serial log bellow. Is there any chance to be a problem created by my bios?
Thanks,
Otávio Alcântara
LinuxBIOS-2.0.0.0Fallback Qua Jun 20 07:45:43 BRT 2007 starting... _MSR GLCP_SYS_RSTPLL (4c000014) value is: 00000498:00001820 Configuring PLL
LinuxBIOS-2.0.0.0Fallback Qua Jun 20 07:45:43 BRT 2007 starting... _MSR GLCP_SYS_RSTPLL (4c000014) value is: 00000498:07de0020 Done cpuRegInit SMBUS READ ERROR:03 device:a2 Ram1.00 Ram2.00 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 Ram3 DRAM controller init done. RAM DLL lock Ram4 Copying LinuxBIOS to ram. Jumping to LinuxBIOS. LinuxBIOS-2.0.0.0Fallback Sex Jul 13 08:29:57 BRT 2007 booting... clocks_per_usec: 432 Enumerating buses...
Entering northbridge.c: pci_domain_enable
Enter northbridge_init_early writeglmsr: MSR 0x10000020, val 0x20000000:0x000fff80 writeglmsr: MSR 0x10000021, val 0x20000000:0x080fffe0 writeglmsr: MSR 0x1000002c, val 0x20000000:0x00000003 sizeram: _MSR MC_CF07_DATA: 10077014:00004840 sizeram: sizem 0x200MB SysmemInit: enable for 512MBytes usable RAM: 536739839 bytes SysmemInit: MSR 0x10000028, val 0x2000001f:0xfdf00100 sizeram: _MSR MC_CF07_DATA: 10077014:00004840 sizeram: sizem 0x200MB SMMGL0Init: 536739840 bytes SMMGL0Init: offset is 0x80400000 SMMGL0Init: MSR 0x10000026, val 0x29fbe080:0x400fffe0 writeglmsr: MSR 0x10000080, val 0x00000000:0x00000003 writeglmsr: MSR 0x40000020, val 0x20000000:0x000fff80 writeglmsr: MSR 0x40000021, val 0x20000000:0x080fffe0 writeglmsr: MSR 0x4000002e, val 0x20000000:0x00000003 sizeram: _MSR MC_CF07_DATA: 10077014:00004840 sizeram: sizem 0x200MB SysmemInit: enable for 512MBytes usable RAM: 536739839 bytes SysmemInit: MSR 0x4000002a, val 0x2000001f:0xfdf00100 SMMGL1Init: SMMGL1Init: MSR 0x40000023, val 0x20000080:0x400fffe0 writeglmsr: MSR 0x40000080, val 0x00000000:0x00000001 writeglmsr: MSR 0x400000e3, val 0x60000000:0x033000f0 CPU_RCONF_DEFAULT (1808): 0x25FFFC02:0x11FFDF00 CPU_RCONF_BYPASS (180A): 0x00000000 : 0x00000000 L2 cache enabled Enabling cache GLPCI R1: system msr.lo 0x00100130 msr.hi 0x1ffdf000 GLPCI R2: system msr.lo 0x80400120 msr.hi 0x8041f000 Exit northbridge_init_early Done cpubug fixes Not Doing ChipsetFlashSetup() VRC_VG value: 0xffff Before VSA: do_vsmbios buf ilen 35441 olen60466 buf 00060000 *buf 186 buf[256k] 1 buf[0x20] signature is b0:10:e6:80 Call real_mode_switch_call_vsm biosint: INT# 0x15 biosint: eax 0xbea7 ebx 0x4e53 ecx 0x10000026 edx 0x10000028 biosint: ebp 0x15ed4 esp 0xff0 edi 0x8a71 esi 0x38 biosint: ip 0x5b3 cs 0x6000 flags 0x46 biosint: gs 0x0 fs 0x0 ds 0x6000 es 0x0 handleint21, eax 0xbea7 biosint: INT# 0x15 biosint: eax 0xbea4 ebx 0x4e53 ecx 0x10000026 edx 0x10000028 biosint: ebp 0x15ed4 esp 0xfee edi 0x8a71 esi 0x38 biosint: ip 0x5c1 cs 0x6000 flags 0x46 biosint: gs 0x0 fs 0x0 ds 0x6000 es 0x0 handleint21, eax 0xbea4 do_vsmbios: VSA2 VR signature verified After VSA: <<<WARNING>>> Graphics init... <<WARNING!!!>>> VRC_VG value: 0x2808 Finding PCI configuration type. PCI: Using configuration type 1 PCI_DOMAIN: 0000 enabled APIC_CLUSTER: 0 enabled PCI: pci_scan_bus for bus 00 PCI: 00:01.0 [1022/2080] enabled PCI: 00:01.1 [1022/2081] enabled PCI: 00:01.2 [1022/2082] enabled PCI: 00:0d.0 [10ec/8139] enabled PCI: 00:0f.0 [1022/2090] enabled PCI: 00: 0f.2 [1022/209a] enabled PCI: 00:0f.3 [1022/2093] enabled PCI: 00:0f.4 [1022/2094] enabled PCI: 00:0f.5 [1022/2095] enabled PCI: 00:0f.6 [1022/2096] enabled PCI: 00:0f.7 [1022/2097] enabled PCI: pci_scan_bus returning with max=000 done Allocating resources... Reading resources... Done reading resources. Setting resources... PCI: 00:01.1 10 <- [0x00fd000000 - 0x00fdffffff] mem PCI: 00:01.1 14 <- [0x00fe000000 - 0x00fe003fff] mem PCI: 00:01.1 18 <- [0x00fe004000 - 0x00fe007fff] mem PCI: 00:01.1 1c <- [0x00fe008000 - 0x00fe00bfff] mem PCI: 00:01.1 20 <- [0x00fe00c000 - 0x00fe00ffff] mem PCI: 00:01.2 10 <- [0x00fe010000 - 0x00fe013fff] mem PCI: 00:0d.0 10 <- [0x0000001000 - 0x00000010ff] io PCI: 00:0d.0 14 <- [0x00fe019000 - 0x00fe0190ff] mem PCI: 00:0f.0 10 <- [0x0000001cb0 - 0x0000001cb7] io PCI: 00:0f.0 14 <- [0x0000001400 - 0x00000014ff] io PCI: 00:0f.0 18 <- [0x0000001c00 - 0x0000001c3f] io PCI: 00:0f.0 1c <- [0x0000001c80 - 0x0000001c9f] io PCI: 00:0f.0 20 <- [0x0000001800 - 0x000000187f] io PCI: 00:0f.0 24 <- [0x0000001c40 - 0x0000001c7f] io PCI: 00:0f.2 20 <- [0x0000001ca0 - 0x0000001caf] io PCI: 00:0f.3 10 <- [0x0000001880 - 0x00000018ff] io PCI: 00:0f.4 10 <- [0x00fe016000 - 0x00fe016fff] mem PCI: 00:0f.5 10 <- [0x00fe017000 - 0x00fe017fff] mem PCI: 00:0f.6 10 <- [0x00fe014000 - 0x00fe015fff] mem PCI: 00:0f.7 10 <- [0x00fe018000 - 0x00fe018fff] mem Done setting resources. Done allocating resources. Enabling resources... PCI: 00:01.0 cmd <- 145 PCI: 00:01.1 subsystem <- 00/00 PCI: 00:01.1 cmd <- 142 PCI: 00:01.2 cmd <- 142 PCI: 00:0d.0 cmd <- 143 cs5536: cs5536_pci_dev_enable_resources() PCI: 00:0f.0 cmd <- 149 PCI: 00:0f.2 cmd <- 141 PCI: 00:0f.3 cmd <- 141 PCI: 00:0f.4 cmd <- 142 PCI: 00:0f.5 cmd <- 142 PCI: 00:0f.6 cmd <- 142 PCI: 00:0f.7 cmd <- 142 done. Initializing devices... Root Device init Norwich ENTER init Norwich EXIT init PCI: 00:01.0 init PCI: 00:01.1 init APIC_CLUSTER: 0 init Initializing CPU #0 CPU: vendor AMD device 5a2 CPU: family 05, model 0a, stepping 02 model_lx_init Enabling cache A20 (0x92): 2 A20 (0x92): 2 CPU model_lx_init DONE CPU #0 Initialized PCI: 00:01.2 init PCI: 00:0d.0 init PCI: 00:0f.0 init cs5536: southbridge_init RTC Init rct_init finished Disabling VPCI device: 0x0000106C Disabling VPCI device: 0x00001075 Disabling VPCI device: 0x0000107E Disabling VPCI device: 0x00001087 Disabling VPCI device: 0x00001090 Disabling VPCI device: 0x00001099 Disabling VPCI device: 0x000010A2 Disabling VPCI device: 0x000010AB PCI: 00:0f.2 init PCI: 00:0f.3 init PCI: 00:0f.4 init PCI: 00:0f.5 init PCI: 00:0f.6 init PCI: 00:0f.7 init Devices initialized Copying IRQ routing tables to 0xf0000...done. Verifing copy of IRQ routing tables at 0xf0000...done Checking IRQ routing table consistency... check_pirq_routing_table() - irq_routing_table located at: 0x000f0000 /home/otavio/LinuxBIOSv2/src/arch/i386/boot/pirq_routing.c: 36:check_pirq_routing_table() - checksum is: 0x00 but should be: 0x96 done. write_pirq_routing_table(8000785C, BAAB) PIR Entry 0 Dev/Fn: 8 Slot: 0 INT: A bitmap: 800 PIRQ: 11 INT: B bitmap: 0 PIRQ: 0 INT: C bitmap: 0 PIRQ: 0 INT: D bitmap: 0 PIRQ: 0 Assigning IRQ 11 to 0: 1.1 Readback = 11 Assigning IRQ 11 to 0:1.2 Readback = 11 PIR Entry 1 Dev/Fn: 78 Slot: 0 INT: A bitmap: 800 PIRQ: 11 INT: B bitmap: 400 PIRQ: 10 INT: C bitmap: 400 PIRQ: 10 INT: D bitmap: 800 PIRQ: 11 Assigning IRQ 10 to 0:f.3 Readback = 10 Assigning IRQ 11 to 0:f.4 Readback = 11 Assigning IRQ 11 to 0:f.5 Readback = 11 PIR Entry 2 Dev/Fn: 68 Slot: 0 INT: A bitmap: 800 PIRQ: 11 INT: B bitmap: 0 PIRQ: 0 INT: C bitmap: 0 PIRQ: 0 INT: D bitmap: 0 PIRQ: 0 Assigning IRQ 11 to 0:d.0 Readback = 11 PIR Entry 3 Dev/Fn: 0 Slot: 0 INT: A bitmap: 0 PIRQ: 0 INT: B bitmap: 0 PIRQ: 0 INT: C bitmap: 0 PIRQ: 0 INT: D bitmap: 0 PIRQ: 0 PIR Entry 4 Dev/Fn: 0 Slot: 0 INT: A bitmap: 0 PIRQ: 0 INT: B bitmap: 0 PIRQ: 0 INT: C bitmap: 0 PIRQ: 0 INT: D bitmap: 0 PIRQ: 0 PIR Entry 5 Dev/Fn: 0 Slot: 0 INT: A bitmap: 0 PIRQ: 0 INT: B bitmap: 0 PIRQ: 0 INT: C bitmap: 0 PIRQ: 0 INT: D bitmap: 0 PIRQ: 0 Moving GDT to 0x500...ok Adjust low_table_end from 0x00000530 to 0x00001000 Adjust rom_table_end from 0x000f0400 to 0x00100000 Wrote linuxbios table at: 00000530 - 000006c4 checksum ec7f
Welcome to elfboot, the open sourced starter. January 2002, Eric Biederman. Version 1.3
rom_stream: 0xfff89000 - 0xfffeffff Found ELF candidate at offset 0 header_offset is 0 Try to load at offset 0x0 New segment addr 0x100000 size 0x306e0 offset 0xc0 filesize 0xb248 (cleaned up) New segment addr 0x100000 size 0x306e0 offset 0xc0 filesize 0xb248 New segment addr 0x1306e0 size 0x48 offset 0xb320 filesize 0x48 (cleaned up) New segment addr 0x1306e0 size 0x48 offset 0xb320 filesize 0x48 Dropping non PT_LOAD segment Dropping non PT_LOAD segment Loading Segment: addr: 0x0000000000100000 memsz: 0x00000000000306e0 filesz: 0x000000000000b248 Clearing Segment: addr: 0x000000000010b248 memsz: 0x0000000000025498 Loading Segment: addr: 0x00000000001306e0 memsz: 0x0000000000000048 filesz: 0x0000000000000048 Jumping to boot code at 0x108bdc FILO version 0.5 (otavio@labdes15) Fri Jul 13 08:05:08 BRT 2007 collect_linuxbios_info: Searching for LinuxBIOS tables... find_lb_table: Found canidate at: 00000530 find_lb_table: header checksum o.k. find_lb_table: table checksum o.k. find_lb_table: record count o.k. collect_linuxbios_info: Found LinuxBIOS table at: 00000530 convert_memmap: 0x00000000000000 0x00000000001000 16 convert_memmap: 0x00000000001000 0x0000000009f000 1 convert_memmap: 0x000000000f0000 0x00000000010000 16 convert_memmap: 0x00000000100000 0x0000001f6e0000 1 Press <Enter> for default boot, or <Esc> for boot prompt... 2 1 boot: hda1:/boot/vmlinuz root=/dev/hda1 initrd=/boot/initrd console=tty0 console=ttyS0,115200 hda: LBA 40GB: ST340014A Mounted ext2fs Found Linux version 2.6.18 (root@alexandre) #3 SMP Fri Jul 13 09:40:07 BRT 2007 (protocol 0x204) (loadflags 0x1) bzImage. init_linux_params: Setting up paramters at 0x90000 set_memory_size: 0000000000001000 - 00000000000a0000 set_memory_size: 0000000000100000 - 000000001f7e0000 set_memory_size: ramtop=0x1f7e0000 set_memory_size: ext_mem_k=64512, alt_mem_k=514944 parse_command_line: original command line: "root=/dev/hda1 initrd=/boot/initrd console=tty0 console=ttyS0,115200" parse_command_line: kernel command line at 0x91000 parse_command_line: initrd=/boot/initrd parse_command_line: kernel command line (48 bytes): "root=/dev/hda1 console=tty0 console=ttyS0,115200" load_linux_kernel: offset=0x1e00 addr=0x100000 size=0x11b91c Loading kernel... ok load_initrd: start=0x1f391000 end=0x1f7af000 Loading initrd... ok start_linux: eip=0x100000 Jumping to entry point... Linux version 2.6.18 (root@alexandre) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #3 SMP Fri Jul 13 09:40:07 BRT 2007 BIOS-provided physical RAM map: BIOS-e820: 0000000000001000 - 00000000000a0000 (usable) BIOS-e820: 0000000000100000 - 000000001f7e0000 (usable) 0MB HIGHMEM available. 503MB LOWMEM available. DMI not present or invalid. Allocating PCI resources starting at 20000000 (gap: 1f7e0000:e0820000) Detected 431.642 MHz processor. Built 1 zonelists. Total pages: 128992 Kernel command line: root=/dev/hda1 console=tty0 console=ttyS0,115200 No local APIC present or hardware disabled Initializing CPU#0 PID hash table entries: 2048 (order: 11, 8192 bytes) Console: colour dummy device 80x25 Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Memory: 504340k/515968k available (1421k kernel code, 11104k reserved, 546k data, 160k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 864.59 BogoMIPS (lpj=1729182) Security Framework v1.0.0 initialized SELinux: Disabled at boot. Capability LSM initialized Mount-cache hash table entries: 512 CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line) CPU: L2 Cache: 128K (32 bytes/line) Compat vDSO mapped to ffffe000. Checking 'hlt' instruction... OK. SMP alternatives: switching to UP code Freeing SMP alternatives: 12k freed CPU0: AMD Geode(TM) Integrated Processor by AMD PCS stepping 02 SMP motherboard not detected. Local APIC not detected. Using dummy APIC emulation. Brought up 1 CPUs migration_cost=0 checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd Freeing initrd memory: 4216k freed NET: Registered protocol family 16 PCI: Using configuration type 1 Setting up standard PCI resources Linux Plug and Play Support v0.97 (c) Adam Belay PnPBIOS: Scanning system for PnP BIOS support... PnPBIOS: PnP BIOS support was not detected. PCI: Probing PCI hardware PCI: Using IRQ router default [1022/2090] at 0000:00: 0f.0 PCI: Ignore bogus resource 6 [0:0] of 0000:00:01.1 NET: Registered protocol family 2 IP route cache hash table entries: 4096 (order: 2, 16384 bytes) TCP established hash table entries: 16384 (order: 5, 131072 bytes) TCP bind hash table entries: 8192 (order: 4, 65536 bytes) TCP: Hash tables configured (established 16384 bind 8192) TCP reno registered audit: initializing netlink socket (disabled) audit(943920012.588:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) PCI: Guessed IRQ 11 for device 0000:00:01.1 PCI: Sharing IRQ 11 with 0000:00:01.2 PCI: Sharing IRQ 11 with 0000:00:0d.0 lxfb 0000:00:01.1: 8192 KB of video memory at 0xfd000000 Console: switching to colour frame buffer device 80x25 fb0: Geode LX frame buffer device vga16fb: mapped to 0xc00a0000 fb1: VGA16 VGA frame buffer device isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize loop: loaded (max 8 devices) nbd: registered device at major 43 8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004) 8139cp 0000:00:0d.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip 8139cp 0000:00:0d.0: Try the "8139too" driver instead. 8139too Fast Ethernet driver 0.9.27 PCI: Guessed IRQ 11 for device 0000:00:0d.0 PCI: Sharing IRQ 11 with 0000:00:01.1 PCI: Sharing IRQ 11 with 0000:00:01.2 eth0: RealTek RTL8139 at 0x1000, 00:11:9e:c0:0a:e5, IRQ 11 PNP: No PS/2 controller found. Probing ports directly. i8042.c: Can't read CTR while initializing i8042. mice: PS/2 mouse device common for all mice TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 17 Using IPI No-Shortcut mode RAMDISK: cramfs filesystem found at block 0 Time: tsc clocksource has been installed. RAMDISK: Loading 4216KiB [1 disk] into ram disk... |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/
On 6/20/07, *Marc Jones* <marc.jones@amd.com mailto:marc.jones@amd.com> wrote:
Otávio Alcântara wrote: > Thanks for the help. But I have another doubt, I'm not getting video > working even after the linux kernel boots. What do I do to change the > console to video? I've configured Filo to use video console, but the > stream goes only to serial interface. > > Regards, > > Otávio Alcântara > Otávio, Correct, you can't get graphics until a driver is loaded. For a test/debug setup that uses the filo menu will only be visable serial. Please see this link for the Geode LX framebuffer support. http://thread.gmane.org/gmane.linux.fbdev.devel/10339 Marc > On 6/20/07, *Marc Jones* <marc.jones@amd.com <mailto:marc.jones@amd.com> > <mailto:marc.jones@amd.com <mailto:marc.jones@amd.com>>> wrote: > > > > Otávio Alcântara wrote: > > Hello to all, > > > > I'm porting a linuxbios v2 version for a board ref des > > LXUVCRDK (http://www.amd.com/geodelxuvcrdk <http://www.amd.com/geodelxuvcrdk> > <http://www.amd.com/geodelxuvcrdk>) based on norwich board. I've > > already got to boot linux from HD, but it seems to halt in some point > > (see log below captured from serial). Although, I'm using VSA > > (lx_vsa.36k.bin) and I got no output from video VGA. > > I'd like some help for setting up the PIRQ table and > for VGA > > setup. > > > > PS: The schematics for this board are publicly available from AMD > > Embedded Developer Web Site. > > > > Thanks, > > > > -- > > Otávio Alcântara > > "I'll never cross to the Dark Side." > > > > > > > > I took a quick look at the schematics and I think that this is what the > PIRQ table should look like. > > /* If you change the number of entries, change the IRQ_SLOT_COUNT > above! */ > /* bus, dev|fn, {link, bitmap}, {link, bitmap}, > {link, bitmap}, {link, bitmap}, slot, rfu */ > {0x00, (0x01 << 3) | 0x0, {{L_PIRQA, M_PIRQA}, {0x00, 0x00}, {0x00, > 0x00}, {0x00, 0x00}}, 0x0, 0x0}, /* cpu */ > {0x00, (0x0F << 3) | 0x0, {{L_PIRQA, M_PIRQA}, {L_PIRQB, M_PIRQB}, > {L_PIRQC, M_PIRQC}, {L_PIRQD, M_PIRQD}}, 0x0, 0x0}, /* chipset */ > {0x00, (0x0D << 3) | 0x0, {{L_PIRQA, M_PIRQA}, {0x00, 0x00}, {0x00, > 0x00}, {0x00, 0x00}}, 0x0, 0x0}, /* ethernet */ > > Make sure to change IRQ_SLOT_COUNT in the mainboard Options.lb <http://Options.lb> > <http://Options.lb> > > As Jordan pointed out, you should use the Linux framebuffer and X > drivers instead of VGA. That means that you should also set > CONFIG_CONSOLE_VGA=0 and CONFIG_PCI_ROM_RUN=0 in Options.lb <http://Options.lb> > < http://Options.lb> > > > It also looks like there is something funny going on with the > Config.lb <http://Config.lb> <http://Config.lb>. > Try using the norwich one without modifications. > > > cs5536: southbridge_init: enable_ide_nand_flash is 36 > If you want to boot from IDE enable_ide_nand_flash should be 0 > > > Disabling VPCI device: 0x0000106C > > Disabling VPCI device: 0x00001075 > > Disabling VPCI device: 0x0000107E > > Disabling VPCI device: 0x00001087 > > Disabling VPCI device: 0x00001090 > > Disabling VPCI device: 0x00001099 > > Disabling VPCI device: 0x000010A2 > > Disabling VPCI device: 0x000010AB > This is a very strange list. > > > I don't have one of these boards so when you get it working please > submit a patch! > Let me know if there is anything else I can do to help > > Marc > > > > > > > LinuxBIOS-2.0.0.0Fallback Qua Jun 20 07:45:43 BRT 2007 starting... > > _MSR GLCP_SYS_RSTPLL (4c000014) value is: 00000498:00001820 > > Configuring PLL > > > > > > LinuxBIOS-2.0.0.0Fallback Qua Jun 20 07:45:43 BRT 2007 starting... > > _MSR GLCP_SYS_RSTPLL (4c000014) value is: 00000498:07de0020 > > Done cpuRegInit > > SMBUS READ ERROR:03 device:a2 > > Ram1.00 > > Ram2.00 > > SMBUS READ ERROR:03 device:a2 > > SMBUS READ ERROR:03 device:a2 > > SMBUS READ ERROR:03 device:a2 > > SMBUS READ ERROR:03 device:a2 > > SMBUS READ ERROR:03 device:a2 > > SMBUS READ ERROR:03 device:a2 > > SMBUS READ ERROR:03 device:a2 > > SMBUS READ ERROR:03 device:a2 > > SMBUS READ ERROR:03 device:a2 > > SMBUS READ ERROR:03 device:a2 > > SMBUS READ ERROR:03 device:a2 > > Ram3 > > DRAM controller init done. > > RAM DLL lock > > Ram4 > > Copying LinuxBIOS to ram. > > Jumping to LinuxBIOS. > > LinuxBIOS-2.0.0.0Fallback Qua Jun 20 08:56:35 BRT 2007 booting... > > clocks_per_usec: 432 > > Enumerating buses... > > >> Entering northbridge.c: pci_domain_enable > > Enter northbridge_init_early > > writeglmsr: MSR 0x10000020, val 0x20000000:0x000fff80 > > writeglmsr: MSR 0x10000021, val 0x20000000:0x080fffe0 > > writeglmsr: MSR 0x1000002c, val 0x20000000:0x00000003 > > sizeram: _MSR MC_CF07_DATA: 10076112:00004840 > > sizeram: sizem 0x100MB > > SysmemInit: enable for 256MBytes > > usable RAM: 268304383 bytes > > SysmemInit: MSR 0x10000028, val 0x2000000f:0xfdf00100 > > sizeram: _MSR MC_CF07_DATA: 10076112:00004840 > > sizeram: sizem 0x100MB > > SMMGL0Init: 268304384 bytes > > SMMGL0Init: offset is 0x80400000 > > SMMGL0Init: MSR 0x10000026, val 0x28fbe080:0x400fffe0 > > writeglmsr: MSR 0x10000080, val 0x00000000:0x00000003 > > writeglmsr: MSR 0x40000020, val 0x20000000:0x000fff80 > > writeglmsr: MSR 0x40000021, val 0x20000000:0x080fffe0 > > writeglmsr: MSR 0x4000002e, val 0x20000000:0x00000003 > > sizeram: _MSR MC_CF07_DATA: 10076112:00004840 > > sizeram: sizem 0x100MB > > SysmemInit: enable for 256MBytes > > usable RAM: 268304383 bytes > > SysmemInit: MSR 0x4000002a, val 0x2000000f:0xfdf00100 > > SMMGL1Init: > > SMMGL1Init: MSR 0x40000023, val 0x20000080:0x400fffe0 > > writeglmsr: MSR 0x40000080, val 0x00000000:0x00000001 > > writeglmsr: MSR 0x400000e3, val 0x60000000:0x033000f0 > > CPU_RCONF_DEFAULT (1808): 0x25FFFC02:0x10FFDF00 > > CPU_RCONF_BYPASS (180A): 0x00000000 : 0x00000000 > > L2 cache enabled > > Enabling cache > > GLPCI R1: system msr.lo 0x00100130 msr.hi 0x0ffdf000 > > GLPCI R2: system msr.lo 0x80400120 msr.hi 0x8041f000 > > Exit northbridge_init_early > > Done cpubug fixes > > Not Doing ChipsetFlashSetup() > > <<<WARNING>>> Graphics init... > > <<WARNING!!!>>> VRC_VG value: 0xffff > > Before VSA: > > do_vsmbios > > buf ilen 35441 olen60466 > > buf 00060000 *buf 186 buf[256k] 0 > > buf[0x20] signature is b0:10:e6:80 > > Call real_mode_switch_call_vsm > > biosint: INT# 0x15 > > biosint: eax 0xbea7 ebx 0x4e53 ecx 0x10000026 edx 0x10000028 > > biosint: ebp 0x15ed4 esp 0xff0 edi 0x8a71 esi 0x38 > > biosint: ip 0x5b3 cs 0x6000 flags 0x46 > > biosint: gs 0x0 fs 0x0 ds 0x6000 es 0x0 > > handleint21, eax 0xbea7 > > biosint: INT# 0x15 > > biosint: eax 0xbea4 ebx 0x4e53 ecx 0x10000026 edx 0x10000028 > > biosint: ebp 0x15ed4 esp 0xfee edi 0x8a71 esi 0x38 > > biosint: ip 0x5c1 cs 0x6000 flags 0x46 > > biosint: gs 0x0 fs 0x0 ds 0x6000 es 0x0 > > handleint21, eax 0xbea4 > > do_vsmbios: VSA2 VR signature verified > > After VSA: > > <<<WARNING>>> Graphics init... > > <<WARNING!!!>>> VRC_VG value: 0x2808 > > Finding PCI configuration type. > > PCI: Using configuration type 1 > > PCI_DOMAIN: 0000 enabled > > APIC_CLUSTER: 0 enabled > > PCI: pci_scan_bus for bus 00 > > PCI: 00:01.0 [1022/2080] enabled > > PCI: 00:01.1 [1022/2081] enabled > > PCI: 00:01.2 [1022/2082] enabled > > PCI: 00: 0d.0 [10ec/8139] enabled > > PCI: 00:0f.0 [1022/2090] enabled > > PCI: 00:0f.2 [1022/209a] enabled > > PCI: 00: 0f.3 [1022/2093] enabled > > PCI: 00:0f.4 [1022/2094] enabled > > PCI: 00:0f.5 [1022/2095] enabled > > PCI: 00: 0f.6 [1022/2096] enabled > > PCI: 00:0f.7 [1022/2097] enabled > > PCI: pci_scan_bus returning with max=000 > > done > > Allocating resources... > > Reading resources... > > Done reading resources. > > Setting resources... > > PCI: 00: 01.1 10 <- [0x00fd000000 - 0x00fdffffff] mem > > PCI: 00:01.1 14 <- [0x00fe000000 - 0x00fe003fff] mem > > PCI: 00:01.1 18 <- [0x00fe004000 - 0x00fe007fff] mem > > PCI: 00:01.1 1c <- [0x00fe008000 - 0x00fe00bfff] mem > > PCI: 00:01.1 20 <- [0x00fe00c000 - 0x00fe00ffff] mem > > PCI: 00:01.2 10 <- [0x00fe010000 - 0x00fe013fff] mem > > PCI: 00:0d.0 10 <- [0x0000001000 - 0x00000010ff] io > > PCI: 00:0d.0 14 <- [0x00fe019000 - 0x00fe0190ff] mem > > PCI: 00:0f.0 10 <- [0x0000001cb0 - 0x0000001cb7] io > > PCI: 00:0f.0 14 <- [0x0000001400 - 0x00000014ff] io > > PCI: 00:0f.0 18 <- [0x0000001c00 - 0x0000001c3f] io > > PCI: 00:0f.0 1c <- [0x0000001c80 - 0x0000001c9f] io > > PCI: 00:0f.0 20 <- [0x0000001800 - 0x000000187f] io > > PCI: 00: 0f.0 24 <- [0x0000001c40 - 0x0000001c7f] io > > PCI: 00:0f.2 20 <- [0x0000001ca0 - 0x0000001caf] io > > PCI: 00:0f.3 10 <- [0x0000001880 - 0x00000018ff] io > > PCI: 00:0f.4 10 <- [0x00fe016000 - 0x00fe016fff] mem > > PCI: 00:0f.5 10 <- [0x00fe017000 - 0x00fe017fff] mem > > PCI: 00:0f.6 10 <- [0x00fe014000 - 0x00fe015fff] mem > > PCI: 00:0f.7 10 <- [0x00fe018000 - 0x00fe018fff] mem > > Done setting resources. > > Done allocating resources. > > Enabling resources... > > PCI: 00:01.0 cmd <- 145 > > PCI: 00: 01.1 subsystem <- 00/00 > > PCI: 00:01.1 cmd <- 142 > > PCI: 00:01.2 cmd <- 142 > > PCI: 00: 0d.0 cmd <- 143 > > cs5536: cs5536_pci_dev_enable_resources() > > PCI: 00:0f.0 cmd <- 149 > > PCI: 00:0f.2 cmd <- 141 > > PCI: 00:0f.3 cmd <- 141 > > PCI: 00:0f.4 cmd <- 142 > > PCI: 00: 0f.5 cmd <- 142 > > PCI: 00: 0f.6 cmd <- 142 > > PCI: 00:0f.7 cmd <- 142 > > done. > > Initializing devices... > > Root Device init > > Norwich ENTER init > > Norwich EXIT init > > PCI: 00: 01.0 init > > PCI: 00:01.1 init > > APIC_CLUSTER: 0 init > > Initializing CPU #0 > > CPU: vendor AMD device 5a2 > > CPU: family 05, model 0a, stepping 02 > > model_lx_init > > Enabling cache > > A20 (0x92): 2 > > A20 (0x92): 2 > > CPU model_lx_init DONE > > CPU #0 Initialized > > PCI: 00:01.2 init > > PCI: 00: 0d.0 init > > PCI: 00:0f.0 init > > cs5536: southbridge_init > > RTC Init > > rct_init finished > > cs5536: southbridge_init: enable_ide_nand_flash is 36 > > Disabling VPCI device: 0x0000106C > > Disabling VPCI device: 0x00001075 > > Disabling VPCI device: 0x0000107E > > Disabling VPCI device: 0x00001087 > > Disabling VPCI device: 0x00001090 > > Disabling VPCI device: 0x00001099 > > Disabling VPCI device: 0x000010A2 > > Disabling VPCI device: 0x000010AB > > PCI: 00:0f.2 init > > PCI: 00:0f.3 init > > PCI: 00:0f.4 init > > PCI: 00:0f.5 init > > PCI: 00:0f.6 init > > PCI: 00:0f.7 init > > Devices initialized > > Copying IRQ routing tables to 0xf0000...done. > > Verifing copy of IRQ routing tables at 0xf0000...done > > Checking IRQ routing table consistency... > > check_pirq_routing_table() - irq_routing_table located at: 0x000f0000 > > /home/otavio/LinuxBIOSv2/src/arch/i386/boot/pirq_routing.c: > > 36:check_pirq_routing_table() - checksum is: 0x00 but should be: > 0xfd > > done. > > write_pirq_routing_table(8000785C, BAAA) > > PIR Entry 0 Dev/Fn: 8 Slot: 0 > > INT: A bitmap: 400 PIRQ: 10 > > INT: B bitmap: 0 PIRQ: 0 > > INT: C bitmap: 0 PIRQ: 0 > > INT: D bitmap: 0 PIRQ: 0 > > Assigning IRQ 10 to 0: 1.1 > > Readback = 10 > > Assigning IRQ 10 to 0:1.2 > > Readback = 10 > > PIR Entry 1 Dev/Fn: 78 Slot: 0 > > INT: A bitmap: 400 PIRQ: 10 > > INT: B bitmap: 400 PIRQ: 10 > > INT: C bitmap: 400 PIRQ: 10 > > INT: D bitmap: 800 PIRQ: 11 > > Assigning IRQ 10 to 0:f.3 > > Readback = 10 > > Assigning IRQ 11 to 0: f.4 > > Readback = 11 > > Assigning IRQ 11 to 0:f.5 > > Readback = 11 > > PIR Entry 2 Dev/Fn: 68 Slot: 1 > > INT: A bitmap: 400 PIRQ: 10 > > INT: B bitmap: 400 PIRQ: 10 > > INT: C bitmap: 800 PIRQ: 11 > > INT: D bitmap: 400 PIRQ: 10 > > Assigning IRQ 10 to 0: d.0 > > Readback = 10 > > PIR Entry 3 Dev/Fn: 70 Slot: 2 > > INT: A bitmap: 400 PIRQ: 10 > > INT: B bitmap: 800 PIRQ: 11 > > INT: C bitmap: 400 PIRQ: 10 > > INT: D bitmap: 400 PIRQ: 10 > > PIR Entry 4 Dev/Fn: 58 Slot: 3 > > INT: A bitmap: 800 PIRQ: 11 > > INT: B bitmap: 400 PIRQ: 10 > > INT: C bitmap: 400 PIRQ: 10 > > INT: D bitmap: 400 PIRQ: 10 > > PIR Entry 5 Dev/Fn: 60 Slot: 4 > > INT: A bitmap: 400 PIRQ: 10 > > INT: B bitmap: 400 PIRQ: 10 > > INT: C bitmap: 400 PIRQ: 10 > > INT: D bitmap: 800 PIRQ: 11 > > Moving GDT to 0x500...ok > > Adjust low_table_end from 0x00000530 to 0x00001000 > > Adjust rom_table_end from 0x000f0400 to 0x00100000 > > Wrote linuxbios table at: 00000530 - 000006c4 checksum fba9 > > > > Welcome to elfboot, the open sourced starter. > > January 2002, Eric Biederman. > > Version 1.3 > > > > rom_stream: 0xfff89000 - 0xfffeffff > > Found ELF candidate at offset 0 > > header_offset is 0 > > Try to load at offset 0x0 > > New segment addr 0x100000 size 0x306e0 offset 0xc0 filesize 0xb248 > > (cleaned up) New segment addr 0x100000 size 0x306e0 offset 0xc0 > filesize > > 0xb248 > > New segment addr 0x1306e0 size 0x48 offset 0xb320 filesize 0x48 > > (cleaned up) New segment addr 0x1306e0 size 0x48 offset 0xb320 > filesize 0x48 > > Dropping non PT_LOAD segment > > Dropping non PT_LOAD segment > > Loading Segment: addr: 0x0000000000100000 memsz: 0x00000000000306e0 > > filesz: 0x000000000000b248 > > Clearing Segment: addr: 0x000000000010b248 memsz: 0x0000000000025498 > > Loading Segment: addr: 0x00000000001306e0 memsz: 0x0000000000000048 > > filesz: 0x0000000000000048 > > Jumping to boot code at 0x108bdc > > FILO version 0.5 (otavio@labdes15) Wed Jun 20 08:56:24 BRT 2007 > > collect_linuxbios_info: Searching for LinuxBIOS tables... > > find_lb_table: Found canidate at: 00000530 > > find_lb_table: header checksum o.k. > > find_lb_table: table checksum o.k. > > find_lb_table: record count o.k. > > collect_linuxbios_info: Found LinuxBIOS table at: 00000530 > > convert_memmap: 0x00000000000000 0x00000000001000 16 > > convert_memmap: 0x00000000001000 0x0000000009f000 1 > > convert_memmap: 0x000000000f0000 0x00000000010000 16 > > convert_memmap: 0x00000000100000 0x0000000f6e0000 1 > > Press <Enter> for default boot, or <Esc> for boot prompt... 2 1 > > timed out > > boot: hda1:/boot/vmlinuz root=/dev/hda1 initrd=/boot/initrd > > console=tty0 console=ttyS0,115200 > > hda: LBA 40GB: ST340014A > > Mounted ext2fs > > Found Linux version 2.6.8-2-386 > (horms@tabatha.lab.ultramonkey.org <mailto:horms@tabatha.lab.ultramonkey.org> > <mailto:horms@tabatha.lab.ultramonkey.org <mailto:horms@tabatha.lab.ultramonkey.org>> > > <mailto:horms@tabatha.lab.ultramonkey.org <mailto:horms@tabatha.lab.ultramonkey.org> > <mailto:horms@tabatha.lab.ultramonkey.org <mailto:horms@tabatha.lab.ultramonkey.org>>>) #1 Thu May 19 17:40:50 JST > > 2005 (protocol 0x203) (loadflags 0x1) bzImage. > > init_linux_params: Setting up paramters at 0x90000 > > set_memory_size: 0000000000001000 - 00000000000a0000 > > set_memory_size: 0000000000100000 - 000000000f7e0000 > > set_memory_size: ramtop=0xf7e0000 > > set_memory_size: ext_mem_k=64512, alt_mem_k=252800 > > parse_command_line: original command line: "root=/dev/hda1 > > initrd=/boot/initrd console=tty0 console=ttyS0,115200" > > parse_command_line: kernel command line at 0x91000 > > parse_command_line: initrd=/boot/initrd > > parse_command_line: kernel command line (48 bytes): "root=/dev/hda1 > > console=tty0 console=ttyS0,115200" > > load_linux_kernel: offset=0x1600 addr=0x100000 size=0x10a8cb > > Loading kernel... ok > > load_initrd: start=0xf391000 end=0xf7af000 > > Loading initrd... ok > > start_linux: eip=0x100000 > > Jumping to entry point... > > Linux version 2.6.8-2-386 ( horms@tabatha.lab.ultramonkey.org <mailto:horms@tabatha.lab.ultramonkey.org> > <mailto:horms@tabatha.lab.ultramonkey.org <mailto:horms@tabatha.lab.ultramonkey.org>> > > <mailto: horms@tabatha.lab.ultramonkey.org <mailto:horms@tabatha.lab.ultramonkey.org> > <mailto:horms@tabatha.lab.ultramonkey.org <mailto:horms@tabatha.lab.ultramonkey.org>>>) (gcc version 3.3.5 (Debian > > 1:3.3.5-12)) #1 Thu May 19 17:40:50 JST 2005 > > > > BIOS-provided physical RAM map: > > > > BIOS-e820: 0000000000001000 - 00000000000a0000 (usable) > > > > BIOS-e820: 0000000000100000 - 000000000f7e0000 (usable) > > > > 247MB LOWMEM available. > > > > DMI not present. > > > > ACPI: Unable to locate RSDP > > > > Built 1 zonelists > > > > Kernel command line: root=/dev/hda1 console=tty0 console=ttyS0,115200 > > > > No local APIC present or hardware disabled > > > > Initializing CPU#0 > > > > PID hash table entries: 1024 (order 10: 8192 bytes) > > > > Detected 431.857 MHz processor. > > > > Using tsc for high-res timesource > > > > Console: colour dummy device 80x25 > > > > Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) > > > > Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) > > > > Memory: 244168k/253824k available (1336k kernel code, 8916k reserved, > > 732k data, 204k init, 0k highmem) > > > > Checking if this processor honours the WP bit even in supervisor > mode... > > Ok. > > > > Calibrating delay loop... 845.82 BogoMIPS > > > > Security Scaffold v1.0.0 initialized > > > > Mount-cache hash table entries: 512 (order: 0, 4096 bytes) > > > > CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line) > > > > CPU: L2 Cache: 128K (32 bytes/line) > > > > CPU: AMD Geode(TM) Integrated Processor by AMD PCS stepping 02 > > > > Checking 'hlt' instruction... OK. > > > > Checking for popad bug... OK. > > > > checking if image is initramfs...it isn't (ungzip failed); looks > like an > > initrd > > > > Freeing initrd memory: 4216k freed > > > > NET: Registered protocol family 16 > > > > EISA bus registered > > > > PCI: Using configuration type 1 > > > > mtrr: v2.0 (20020519) > > > > ACPI: Subsystem revision 20040326 > > > > ACPI: Interpreter disabled. > > > > Linux Plug and Play Support v0.97 (c) Adam Belay > > > > PnPBIOS: Scanning system for PnP BIOS support... > > > > PnPBIOS: PnP BIOS support was not detected. > > > > PCI: Probing PCI hardware > > > > PCI: Probing PCI hardware (bus 00) > > > > PCI: Using IRQ router default [1022/2090] at 0000:00: 0f.0 > > > > VFS: Disk quotas dquot_6.5.1 > > > > Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) > > > > devfs: 2004-01-31 Richard Gooch ( rgooch@atnf.csiro.au <mailto:rgooch@atnf.csiro.au> > <mailto:rgooch@atnf.csiro.au <mailto:rgooch@atnf.csiro.au>> > > <mailto:rgooch@atnf.csiro.au <mailto:rgooch@atnf.csiro.au> <mailto:rgooch@atnf.csiro.au <mailto:rgooch@atnf.csiro.au>>>) > > > > devfs: boot_options: 0x0 > > > > Initializing Cryptographic API > > > > isapnp: Scanning for PnP cards... > > > > isapnp: No Plug & Play device found > > > > Serial: 8250/16550 driver $Revision: 1.90 $ 54 ports, IRQ sharing > enabled > > > > ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A > > > > RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize > > > > i8042.c : Can't read CTR while initializing i8042. > > > > EISA: Probing bus 0 at eisa0 > > > > Cannot allocate resource for EISA slot 1 > > > > EISA: Detected 0 cards. > > > > NET: Registered protocol family 2 > > > > IP: routing cache hash table of 2048 buckets, 16Kbytes > > > > TCP: Hash tables configured (established 16384 bind 32768) > > > > NET: Registered protocol family 8 > > > > NET: Registered protocol family 20 > > > > RAMDISK: cramfs filesystem found at block 0 > > > > RAMDISK: Loading 4216 blocks [1 disk] into ram disk... | / - \ | > / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - > \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | > / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - > \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | > / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - > \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | > / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - > \ | / - \ | / - \ | / - \ | / - \ | / - \ done. > > > > > > VFS: Mounted root (cramfs filesystem) readonly. > > > > Freeing unused kernel memory: 204k freed > > > > vesafb: probe of vesafb0 failed with error -6 > > > > NET: Registered protocol family 1 > > > > Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 > > > > ide: Assuming 33MHz system bus speed for PIO modes; override with > idebus=xx > > > > hda: ST340014A, ATA DISK drive > > > > Using anticipatory io scheduler > > > > ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 > > > > hda: max request size: 128KiB > > > > hda: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63 > > > > /dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 > > > > > > > -- > Marc Jones > Senior Software Engineer > (970) 226-9684 Office > mailto:Marc.Jones@amd.com <mailto:Marc.Jones@amd.com> <mailto:Marc.Jones@amd.com <mailto:Marc.Jones@amd.com>> > http://www.amd.com/embeddedprocessors <http://www.amd.com/embeddedprocessors> > > > > > > -- > Otávio Alcântara > "I'll never cross to the Dark Side." > -- Marc Jones Senior Software Engineer (970) 226-9684 Office mailto:Marc.Jones@amd.com <mailto:Marc.Jones@amd.com> http://www.amd.com/embeddedprocessors
-- Otávio Alcântara "I'll never cross to the Dark Side."
Hello to all,
Marc wrote:
Looks like the RAMDISK is blowing up. Try without it. Try running a memory test. You can built memtest as a payload.
I've used memtest as a payload and the test was sucessfully. Any other idea for the RAMDISK blow up?
Bellow the log of the linuxbios + memtest try out. My board is similar to AMD RDK UVC.
Thanks,
Otávio Alcântara
LinuxBIOS-2.0.0.0Fallback Qua Jul 25 07:18:07 BRT 2007 starting... _MSR GLCP_SYS_RSTPLL (4c000014) value is: 00000498:07de0020 Done cpuRegInit SMBUS READ ERROR:03 device:a2 Ram1.00 Ram2.00 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 Ram3 DRAM controller init done. RAM DLL lock Ram4 Copying LinuxBIOS to ram. Jumping to LinuxBIOS. LinuxBIOS-2.0.0.0Fallback Qua Jul 25 07:37:45 BRT 2007 booting... clocks_per_usec: 432 Enumerating buses... Enter northbridge_init_early writeglmsr: MSR 0x10000020, val 0x20000000:0x000fff80 writeglmsr: MSR 0x10000021, val 0x20000000:0x080fffe0 writeglmsr: MSR 0x1000002c, val 0x20000000:0x00000003 sizeram: _MSR MC_CF07_DATA: 10077014:00004840 sizeram: sizem 0x200MB SysmemInit: enable for 512MBytes usable RAM: 536739839 bytes SysmemInit: MSR 0x10000028, val 0x2000001f:0xfdf00100 sizeram: _MSR MC_CF07_DATA: 10077014:00004840 sizeram: sizem 0x200MB SMMGL0Init: 536739840 bytes SMMGL0Init: offset is 0x80400000 SMMGL0Init: MSR 0x10000026, val 0x29fbe080:0x400fffe0 writeglmsr: MSR 0x10000080, val 0x00000000:0x00000003 writeglmsr: MSR 0x40000020, val 0x20000000:0x000fff80 writeglmsr: MSR 0x40000021, val 0x20000000:0x080fffe0 writeglmsr: MSR 0x4000002e, val 0x20000000:0x00000003 sizeram: _MSR MC_CF07_DATA: 10077014:00004840 sizeram: sizem 0x200MB SysmemInit: enable for 512MBytes usable RAM: 536739839 bytes SysmemInit: MSR 0x4000002a, val 0x2000001f:0xfdf00100 SMMGL1Init: SMMGL1Init: MSR 0x40000023, val 0x20000080:0x400fffe0 writeglmsr: MSR 0x40000080, val 0x00000000:0x00000001 writeglmsr: MSR 0x400000e3, val 0x60000000:0x033000f0 CPU_RCONF_DEFAULT (1808): 0x25FFFC02:0x11FFDF00 CPU_RCONF_BYPASS (180A): 0x00000000 : 0x00000000 L2 cache enabled Enabling cache GLPCI R1: system msr.lo 0x00100130 msr.hi 0x1ffdf000 GLPCI R2: system msr.lo 0x80400120 msr.hi 0x8041f000 Exit northbridge_init_early Done cpubug fixes Not Doing ChipsetFlashSetup() <<<WARNING>>> Graphics init... <<WARNING!!!>>> VRC_VG value: 0xffff Before VSA: do_vsmbios buf ilen 35441 olen60466 buf 00060000 *buf 186 buf[256k] 255 buf[0x20] signature is b0:10:e6:80 Call real_mode_switch_call_vsm biosint: INT# 0x15 biosint: eax 0xbea7 ebx 0x4e53 ecx 0x10000026 edx 0x10000028 biosint: ebp 0x17ed4 esp 0xff0 edi 0x8a71 esi 0x38 biosint: ip 0x5b3 cs 0x6000 flags 0x46 biosint: gs 0x0 fs 0x0 ds 0x6000 es 0x0 handleint21, eax 0xbea7 biosint: INT# 0x15 biosint: eax 0xbea4 ebx 0x4e53 ecx 0x10000026 edx 0x10000028 biosint: ebp 0x17ed4 esp 0xfee edi 0x8a71 esi 0x38 biosint: ip 0x5c1 cs 0x6000 flags 0x46 biosint: gs 0x0 fs 0x0 ds 0x6000 es 0x0 handleint21, eax 0xbea4 do_vsmbios: VSA2 VR signature verified After VSA: <<<WARNING>>> Graphics init... <<WARNING!!!>>> VRC_VG value: 0x2808 Finding PCI configuration type. PCI: Using configuration type 1 PCI_DOMAIN: 0000 enabled APIC_CLUSTER: 0 enabled PCI: pci_scan_bus for bus 00 PCI: 00:01.0 [1022/2080] enabled PCI: 00:01.1 [1022/2081] enabled PCI: 00:01.2 [1022/2082] enabled cs5536: southbridge_enable: dev is 00010180 Disabling static device: PCI: 00:0b.0 cs5536: southbridge_enable: dev is 00010420 Disabling static device: PCI: 00:0c.0 cs5536: southbridge_enable: dev is 000106c0 PCI: 00:0d.0 [10ec/8139] enabled cs5536: southbridge_enable: dev is 00010960 Disabling static device: PCI: 00:0e.0 cs5536: southbridge_enable: dev is 00010c00 PCI: 00:0f.0 [1022/2090] enabled cs5536: southbridge_enable: dev is 00010ea0 PCI: 00:0f.2 [1022/209a] enabled cs5536: southbridge_enable: dev is 00011140 PCI: 00:0f.3 [1022/2093] enabled cs5536: southbridge_enable: dev is 000113e0 PCI: 00:0f.4 [1022/2094] enabled cs5536: southbridge_enable: dev is 00011680 PCI: 00:0f.5 [1022/2095] enabled PCI: 00:0f.6 [1022/2096] enabled PCI: 00:0f.7 [1022/2097] enabled PCI: pci_scan_bus returning with max=000 done Allocating resources... Reading resources... Done reading resources. Setting resources... PCI: 00:01.1 10 <- [0x00fd000000 - 0x00fdffffff] mem PCI: 00:01.1 14 <- [0x00fe000000 - 0x00fe003fff] mem PCI: 00:01.1 18 <- [0x00fe004000 - 0x00fe007fff] mem PCI: 00:01.1 1c <- [0x00fe008000 - 0x00fe00bfff] mem PCI: 00:01.1 20 <- [0x00fe00c000 - 0x00fe00ffff] mem PCI: 00:01.2 10 <- [0x00fe010000 - 0x00fe013fff] mem PCI: 00:0d.0 10 <- [0x0000001000 - 0x00000010ff] io PCI: 00:0d.0 14 <- [0x00fe019000 - 0x00fe0190ff] mem PCI: 00:0f.0 10 <- [0x0000001cb0 - 0x0000001cb7] io PCI: 00:0f.0 14 <- [0x0000001400 - 0x00000014ff] io PCI: 00:0f.0 18 <- [0x0000001c00 - 0x0000001c3f] io PCI: 00:0f.0 1c <- [0x0000001c80 - 0x0000001c9f] io PCI: 00:0f.0 20 <- [0x0000001800 - 0x000000187f] io PCI: 00:0f.0 24 <- [0x0000001c40 - 0x0000001c7f] io PCI: 00:0f.2 20 <- [0x0000001ca0 - 0x0000001caf] io PCI: 00:0f.3 10 <- [0x0000001880 - 0x00000018ff] io PCI: 00:0f.4 10 <- [0x00fe016000 - 0x00fe016fff] mem PCI: 00:0f.5 10 <- [0x00fe017000 - 0x00fe017fff] mem PCI: 00:0f.6 10 <- [0x00fe014000 - 0x00fe015fff] mem PCI: 00:0f.7 10 <- [0x00fe018000 - 0x00fe018fff] mem Done setting resources. Done allocating resources. Enabling resources... PCI: 00:01.0 cmd <- 145 PCI: 00:01.1 subsystem <- 00/00 PCI: 00:01.1 cmd <- 142 PCI: 00:01.2 cmd <- 142 PCI: 00:0d.0 subsystem <- 00/00 PCI: 00:0d.0 cmd <- 143 cs5536: cs5536_pci_dev_enable_resources() PCI: 00:0f.0 cmd <- 149 PCI: 00:0f.2 cmd <- 141 PCI: 00:0f.3 subsystem <- 00/00 PCI: 00:0f.3 cmd <- 141 PCI: 00:0f.4 subsystem <- 00/00 PCI: 00:0f.4 cmd <- 142 PCI: 00:0f.5 subsystem <- 00/00 PCI: 00:0f.5 cmd <- 142 PCI: 00:0f.6 cmd <- 142 PCI: 00:0f.7 cmd <- 142 done. Initializing devices... Root Device init Norwich ENTER init Norwich EXIT init PCI: 00:01.0 init PCI: 00:01.1 init PCI: 00:0d.0 init PCI: 00:0f.0 init cs5536: southbridge_init RTC Init rct_init finished PCI: 00:0f.2 init PCI: 00:0f.3 init PCI: 00:0f.4 init PCI: 00:0f.5 init APIC_CLUSTER: 0 init Initializing CPU #0 CPU: vendor AMD device 5a2 CPU: family 05, model 0a, stepping 02 model_lx_init Enabling cache A20 (0x92): 2 A20 (0x92): 2 CPU model_lx_init DONE CPU #0 Initialized PCI: 00:01.2 init PCI: 00:0f.6 init PCI: 00:0f.7 init Devices initialized Copying IRQ routing tables to 0xf0000...done. Verifing copy of IRQ routing tables at 0xf0000...done Checking IRQ routing table consistency... check_pirq_routing_table() - irq_routing_table located at: 0x000f0000 /home/otavio/LinuxBIOSv2/src/arch/i386/boot/pirq_routing.c: 36:check_pirq_routing_table() - checksum is: 0x00 but should be: 0x96 done. write_pirq_routing_table(8000785C, BAAB) PIR Entry 0 Dev/Fn: 8 Slot: 0 INT: A bitmap: 800 PIRQ: 11 INT: B bitmap: 0 PIRQ: 0 INT: C bitmap: 0 PIRQ: 0 INT: D bitmap: 0 PIRQ: 0 Assigning IRQ 11 to 0:1.1 Readback = 11 Assigning IRQ 11 to 0:1.2 Readback = 11 PIR Entry 1 Dev/Fn: 78 Slot: 0 INT: A bitmap: 800 PIRQ: 11 INT: B bitmap: 400 PIRQ: 10 INT: C bitmap: 400 PIRQ: 10 INT: D bitmap: 800 PIRQ: 11 Assigning IRQ 10 to 0:f.3 Readback = 10 Assigning IRQ 11 to 0:f.4 Readback = 11 Assigning IRQ 11 to 0:f.5 Readback = 11 PIR Entry 2 Dev/Fn: 68 Slot: 0 INT: A bitmap: 800 PIRQ: 11 INT: B bitmap: 0 PIRQ: 0 INT: C bitmap: 0 PIRQ: 0 INT: D bitmap: 0 PIRQ: 0 Assigning IRQ 11 to 0:d.0 Readback = 11 PIR Entry 3 Dev/Fn: 0 Slot: 0 INT: A bitmap: 0 PIRQ: 0 INT: B bitmap: 0 PIRQ: 0 INT: C bitmap: 0 PIRQ: 0 INT: D bitmap: 0 PIRQ: 0 PIR Entry 4 Dev/Fn: 0 Slot: 0 INT: A bitmap: 0 PIRQ: 0 INT: B bitmap: 0 PIRQ: 0 INT: C bitmap: 0 PIRQ: 0 INT: D bitmap: 0 PIRQ: 0 PIR Entry 5 Dev/Fn: 0 Slot: 0 INT: A bitmap: 0 PIRQ: 0 INT: B bitmap: 0 PIRQ: 0 INT: C bitmap: 0 PIRQ: 0 INT: D bitmap: 0 PIRQ: 0 Moving GDT to 0x500...ok Adjust low_table_end from 0x00000530 to 0x00001000 Adjust rom_table_end from 0x000f0400 to 0x00100000 Wrote linuxbios table at: 00000530 - 000006c4 checksum 379e
Welcome to elfboot, the open sourced starter. January 2002, Eric Biederman. Version 1.3
rom_stream: 0xfff89000 - 0xfffeffff Found ELF candidate at offset 0 header_offset is 0 Try to load at offset 0x0 New segment addr 0x10000 size 0x17790 offset 0x1000 filesize 0x17790 (cleaned up) New segment addr 0x10000 size 0x17790 offset 0x1000 filesize 0x17790 Loading Segment: addr: 0x000000001f7bc000 memsz: 0x000000000000c000 filesz: 0x000000000000c000 Loading Segment: addr: 0x000000000001c000 memsz: 0x000000000000b790 filesz: 0x000000000000b790 Jumping to boot code at 0x10000 [11;41H on[LINE_SCROLL;24r[H[2J[37m[44m[0m[37m[44m[1;7HMemtest-86 v3.3 [0m[11;30HLinuxBIOS[11;26H0[11;27HK[3;1HL1 Cache: Unknown [4;1HL2 Cache: Unknown [5;1HMemory : [5;12H503[5;15HM[6;1HChipset : [2;5H. MHz[2;2H431[2;6H7[11;47Hoff[11;15H503[11;18HM[11;5H: :[1;31HPass %[2;31HTest %[3;31HTest #[4;31HTesting: [5;31HPattern: [9;2HWallTime Cached RsvdMem MemMap Cache ECC Test Pass Errors ECC Errs[10;2H--------- ------ ------- -------- ----- --- ---- ---- ------ --------[11;53HStd[11;61H0[11;69H0[12;2H-----------------------------------------------------------------------------[1;29H| [2;29H| [3;29H| [4;29H| [5;29H| [25;1H(ESC)exit (c)configuration (SP)scroll_lock (CR)scroll_unlock[4;41H112[4;44HK[4;46H- [4;49H504[4;52HM[4;55H503[4;58HM[3;37H0 [3;40H[Address test, walking ones, no cache][11;41Hoff[5;42H00000000[2;36H25[2;40H#[2;41H#[2;42H#[2;43H#[2;44H#[2;45H#[2;46H#[2;47H#[2;48H#[1;37H0[11;10H0[11;9H0[11;7H0[11;6H0[11;4H0[5;42Hffffffff[2;36H50[2;49H#[2;50H#[2;51H#[2;52H#[2;53H#[2;54H#[2;55H#[2;56H#[2;57H#[2;58H#[5;42H00000000[2;36H75[2;59H#[2;60H#[2;61H#[2;62H#[2;63H#[2;64H#[2;65H#[2;66H#[2;67H#[2;68H#[5;42Hffffffff[2;35H100[2;69H#[2;70H#[2;71H#[2;72H#[2;73H#[2;74H#[2;75H#[2;76H#[2;77H#[2;78H#[11;10H1[11;41H on[5;42H [4;60HRelocated[4;41H 0[4;49H636[4;52HK[11;41Hoff[2;40H [5;42H00000000[2;35H 25[2;40H#[2;41H#[2;42H#[2;43H#[2;44H#[2;45H#[2;46H#[2;47H#[2;48H#[5;42Hffffffff[2;36H50[2;49H#[2;50H#[2;51H#[2;52H#[2;53H#[2;54H#[2;55H#[2;56H#[2;57H#[2;58H#[5;42H00000000[2;36H75[2;59H#[2;60H#[2;61H#[2;62H#[2;63H#[2;64H#[2;65H#[2;66H#[2;67H#[2;68H#[5;42Hffffffff[2;35H100[2;69H#[2;70H#[2;71H#[2;72H#[2;73H#[2;74H#[2;75H#[2;76H#[2;77H#[2;78H#[11;41H on[5;42H [4;60H [4;41H112[4;49H504[4;52HM[3;37H1 [3;55Hown address] [2;40H [2;35H 2[2;37H5[2;40H#[2;37H8[2;41H#[2;42H#[2;36H11[2;43H#[2;37H4[2;44H#[2;37H7[2;45H#[2;36H20[2;46H#[2;37H3[2;47H#[2;37H6[2;48H#[2;49H#[2;37H9[2;50H#[11;10H2[2;36H32[2;51H#[2;37H5[2;52H#[2;37H8[2;53H#[2;36H41[2;54H#[2;37H4[2;55H#[2;56H#[2;37H7[2;57H#[2;36H50[2;58H#[2;37H2[2;59H#[2;37H5[2;60H#[2;37H8[2;61H#[11;10H3[2;36H61[2;62H#[2;37H4[2;63H#[2;37H7[2;64H#[2;65H#[2;36H70[2;66H#[2;37H3[2;67H#[11;10H4[2;37H6[2;68H#[2;37H9[2;69H#[2;36H82[2;70H#[2;37H5[2;71H#[2;72H#[2;37H8[2;73H#[11;10H5[2;36H91[2;74H#[2;37H4[2;75H#[2;37H7[2;76H#[2;35H100[2;77H#[2;78H#[4;60HRelocated[4;41H 0[4;49H636[4;52HK[2;40H [2;35H 50[2;40H#[2;41H#[2;42H#[2;43H#[2;44H#[2;45H#[2;46H#[2;47H#[2;48H#[2;49H#[2;50H#[2;51H#[2;52H#[2;53H#[2;54H#[2;55H#[2;56H#[2;57H#[2;58H#[2;35H100[2;59H#[2;60H#[2;61H#[2;62H#[2;63H#[2;64H#[2;65H#[2;66H#[2;67H#[2;68H#[2;69H#[2;70H#[2;71H#[2;72H#[2;73H#[2;74H#[2;75H#[2;76H#[2;77H#[2;78H#[4;60H [4;41H112[4;49H504[4;52HM[3;37H2 [3;41HMoving inversions, ones & zeros] [2;40H [5;42H00000000[2;35H 0[2;37H1[11;10H6[2;37H2[2;37H3[2;40H#[2;37H4[2;37H5[2;37H6[2;41H#[2;37H7[2;37H8[2;42H#[11;10H7[2;37H9[2;36H10[11;10H8[2;37H1[2;43H#[2;37H2[11;10H9[2;37H3[2;44H#[2;37H4[2;37H5[11;10H0[11;9H1[2;37H6[2;45H#[11;10H1[2;37H7[2;37H8[2;46H#[11;10H2[2;37H9[11;10H3[2;36H20[2;37H1[2;47H#[2;37H2[11;10H4[2;37H3[11;10H5[2;37H4[2;48H#[2;37H5[11;10H6[2;37H6[2;49H#[11;10H7[2;37H7[2;37H8
On 7/16/07, Marc Jones marc.jones@amd.com wrote:
Looks like the RAMDISK is blowing up. Try without it. Try running a memory test. You can built memtest as a payload. Marc
Otávio Alcântara wrote:
Marc wrote:
Otávio, Correct, you can't get graphics until a driver is loaded. For a test/debug setup that uses the filo menu will only be visable serial. Please see this link for the Geode LX framebuffer support. http://thread.gmane.org/gmane
> .linux.fbdev.devel/10339 > Marc
Marc,
I've compiled the kernel image with LX framebuffer driver and the
video got fine! But, for some reason a kernel panic happens when loading initrd, I've used this initrd on other projects and worked very well. I'm putting the serial log bellow. Is there any chance to be a problem created by my bios?
Thanks,
Otávio Alcântara
LinuxBIOS-2.0.0.0Fallback Qua Jun 20 07:45:43 BRT 2007 starting... _MSR GLCP_SYS_RSTPLL (4c000014) value is: 00000498:00001820 Configuring PLL
LinuxBIOS-2.0.0.0Fallback Qua Jun 20 07:45:43 BRT 2007 starting... _MSR GLCP_SYS_RSTPLL (4c000014) value is: 00000498:07de0020 Done cpuRegInit SMBUS READ ERROR:03 device:a2 Ram1.00 Ram2.00 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 SMBUS READ ERROR:03 device:a2 Ram3 DRAM controller init done. RAM DLL lock Ram4 Copying LinuxBIOS to ram. Jumping to LinuxBIOS. LinuxBIOS-2.0.0.0Fallback Sex Jul 13 08:29:57 BRT 2007 booting... clocks_per_usec: 432 Enumerating buses...
Entering northbridge.c: pci_domain_enable
Enter northbridge_init_early writeglmsr: MSR 0x10000020, val 0x20000000:0x000fff80 writeglmsr: MSR 0x10000021, val 0x20000000:0x080fffe0 writeglmsr: MSR 0x1000002c, val 0x20000000:0x00000003 sizeram: _MSR MC_CF07_DATA: 10077014:00004840 sizeram: sizem 0x200MB SysmemInit: enable for 512MBytes usable RAM: 536739839 bytes SysmemInit: MSR 0x10000028, val 0x2000001f:0xfdf00100 sizeram: _MSR MC_CF07_DATA: 10077014:00004840 sizeram: sizem 0x200MB SMMGL0Init: 536739840 bytes SMMGL0Init: offset is 0x80400000 SMMGL0Init: MSR 0x10000026, val 0x29fbe080:0x400fffe0 writeglmsr: MSR 0x10000080, val 0x00000000:0x00000003 writeglmsr: MSR 0x40000020, val 0x20000000:0x000fff80 writeglmsr: MSR 0x40000021, val 0x20000000:0x080fffe0 writeglmsr: MSR 0x4000002e, val 0x20000000:0x00000003 sizeram: _MSR MC_CF07_DATA: 10077014:00004840 sizeram: sizem 0x200MB SysmemInit: enable for 512MBytes usable RAM: 536739839 bytes SysmemInit: MSR 0x4000002a, val 0x2000001f:0xfdf00100 SMMGL1Init: SMMGL1Init: MSR 0x40000023, val 0x20000080:0x400fffe0 writeglmsr: MSR 0x40000080, val 0x00000000:0x00000001 writeglmsr: MSR 0x400000e3, val 0x60000000:0x033000f0 CPU_RCONF_DEFAULT (1808): 0x25FFFC02:0x11FFDF00 CPU_RCONF_BYPASS (180A): 0x00000000 : 0x00000000 L2 cache enabled Enabling cache GLPCI R1: system msr.lo 0x00100130 msr.hi 0x1ffdf000 GLPCI R2: system msr.lo 0x80400120 msr.hi 0x8041f000 Exit northbridge_init_early Done cpubug fixes Not Doing ChipsetFlashSetup() VRC_VG value: 0xffff Before VSA: do_vsmbios buf ilen 35441 olen60466 buf 00060000 *buf 186 buf[256k] 1 buf[0x20] signature is b0:10:e6:80 Call real_mode_switch_call_vsm biosint: INT# 0x15 biosint: eax 0xbea7 ebx 0x4e53 ecx 0x10000026 edx 0x10000028 biosint: ebp 0x15ed4 esp 0xff0 edi 0x8a71 esi 0x38 biosint: ip 0x5b3 cs 0x6000 flags 0x46 biosint: gs 0x0 fs 0x0 ds 0x6000 es 0x0 handleint21, eax 0xbea7 biosint: INT# 0x15 biosint: eax 0xbea4 ebx 0x4e53 ecx 0x10000026 edx 0x10000028 biosint: ebp 0x15ed4 esp 0xfee edi 0x8a71 esi 0x38 biosint: ip 0x5c1 cs 0x6000 flags 0x46 biosint: gs 0x0 fs 0x0 ds 0x6000 es 0x0 handleint21, eax 0xbea4 do_vsmbios: VSA2 VR signature verified After VSA: <<<WARNING>>> Graphics init... <<WARNING!!!>>> VRC_VG value: 0x2808 Finding PCI configuration type. PCI: Using configuration type 1 PCI_DOMAIN: 0000 enabled APIC_CLUSTER: 0 enabled PCI: pci_scan_bus for bus 00 PCI: 00:01.0 [1022/2080] enabled PCI: 00:01.1 [1022/2081] enabled PCI: 00:01.2 [1022/2082] enabled PCI: 00:0d.0 [10ec/8139] enabled PCI: 00:0f.0 [1022/2090] enabled PCI: 00: 0f.2 [1022/209a] enabled PCI: 00:0f.3 [1022/2093] enabled PCI: 00:0f.4 [1022/2094] enabled PCI: 00:0f.5 [1022/2095] enabled PCI: 00:0f.6 [1022/2096] enabled PCI: 00:0f.7 [1022/2097] enabled PCI: pci_scan_bus returning with max=000 done Allocating resources... Reading resources... Done reading resources. Setting resources... PCI: 00:01.1 10 <- [0x00fd000000 - 0x00fdffffff] mem PCI: 00:01.1 14 <- [0x00fe000000 - 0x00fe003fff] mem PCI: 00:01.1 18 <- [0x00fe004000 - 0x00fe007fff] mem PCI: 00:01.1 1c <- [0x00fe008000 - 0x00fe00bfff] mem PCI: 00:01.1 20 <- [0x00fe00c000 - 0x00fe00ffff] mem PCI: 00:01.2 10 <- [0x00fe010000 - 0x00fe013fff] mem PCI: 00:0d.0 10 <- [0x0000001000 - 0x00000010ff] io PCI: 00:0d.0 14 <- [0x00fe019000 - 0x00fe0190ff] mem PCI: 00:0f.0 10 <- [0x0000001cb0 - 0x0000001cb7] io PCI: 00:0f.0 14 <- [0x0000001400 - 0x00000014ff] io PCI: 00:0f.0 18 <- [0x0000001c00 - 0x0000001c3f] io PCI: 00:0f.0 1c <- [0x0000001c80 - 0x0000001c9f] io PCI: 00:0f.0 20 <- [0x0000001800 - 0x000000187f] io PCI: 00:0f.0 24 <- [0x0000001c40 - 0x0000001c7f] io PCI: 00:0f.2 20 <- [0x0000001ca0 - 0x0000001caf] io PCI: 00:0f.3 10 <- [0x0000001880 - 0x00000018ff] io PCI: 00:0f.4 10 <- [0x00fe016000 - 0x00fe016fff] mem PCI: 00:0f.5 10 <- [0x00fe017000 - 0x00fe017fff] mem PCI: 00:0f.6 10 <- [0x00fe014000 - 0x00fe015fff] mem PCI: 00:0f.7 10 <- [0x00fe018000 - 0x00fe018fff] mem Done setting resources. Done allocating resources. Enabling resources... PCI: 00:01.0 cmd <- 145 PCI: 00:01.1 subsystem <- 00/00 PCI: 00:01.1 cmd <- 142 PCI: 00:01.2 cmd <- 142 PCI: 00:0d.0 cmd <- 143 cs5536: cs5536_pci_dev_enable_resources() PCI: 00:0f.0 cmd <- 149 PCI: 00:0f.2 cmd <- 141 PCI: 00:0f.3 cmd <- 141 PCI: 00:0f.4 cmd <- 142 PCI: 00:0f.5 cmd <- 142 PCI: 00:0f.6 cmd <- 142 PCI: 00:0f.7 cmd <- 142 done. Initializing devices... Root Device init Norwich ENTER init Norwich EXIT init PCI: 00:01.0 init PCI: 00:01.1 init APIC_CLUSTER: 0 init Initializing CPU #0 CPU: vendor AMD device 5a2 CPU: family 05, model 0a, stepping 02 model_lx_init Enabling cache A20 (0x92): 2 A20 (0x92): 2 CPU model_lx_init DONE CPU #0 Initialized PCI: 00:01.2 init PCI: 00:0d.0 init PCI: 00:0f.0 init cs5536: southbridge_init RTC Init rct_init finished Disabling VPCI device: 0x0000106C Disabling VPCI device: 0x00001075 Disabling VPCI device: 0x0000107E Disabling VPCI device: 0x00001087 Disabling VPCI device: 0x00001090 Disabling VPCI device: 0x00001099 Disabling VPCI device: 0x000010A2 Disabling VPCI device: 0x000010AB PCI: 00:0f.2 init PCI: 00:0f.3 init PCI: 00:0f.4 init PCI: 00:0f.5 init PCI: 00:0f.6 init PCI: 00:0f.7 init Devices initialized Copying IRQ routing tables to 0xf0000...done. Verifing copy of IRQ routing tables at 0xf0000...done Checking IRQ routing table consistency... check_pirq_routing_table() - irq_routing_table located at: 0x000f0000 /home/otavio/LinuxBIOSv2/src/arch/i386/boot/pirq_routing.c: 36:check_pirq_routing_table() - checksum is: 0x00 but should be: 0x96 done. write_pirq_routing_table(8000785C, BAAB) PIR Entry 0 Dev/Fn: 8 Slot: 0 INT: A bitmap: 800 PIRQ: 11 INT: B bitmap: 0 PIRQ: 0 INT: C bitmap: 0 PIRQ: 0 INT: D bitmap: 0 PIRQ: 0 Assigning IRQ 11 to 0: 1.1 Readback = 11 Assigning IRQ 11 to 0:1.2 Readback = 11 PIR Entry 1 Dev/Fn: 78 Slot: 0 INT: A bitmap: 800 PIRQ: 11 INT: B bitmap: 400 PIRQ: 10 INT: C bitmap: 400 PIRQ: 10 INT: D bitmap: 800 PIRQ: 11 Assigning IRQ 10 to 0:f.3 Readback = 10 Assigning IRQ 11 to 0:f.4 Readback = 11 Assigning IRQ 11 to 0:f.5 Readback = 11 PIR Entry 2 Dev/Fn: 68 Slot: 0 INT: A bitmap: 800 PIRQ: 11 INT: B bitmap: 0 PIRQ: 0 INT: C bitmap: 0 PIRQ: 0 INT: D bitmap: 0 PIRQ: 0 Assigning IRQ 11 to 0:d.0 Readback = 11 PIR Entry 3 Dev/Fn: 0 Slot: 0 INT: A bitmap: 0 PIRQ: 0 INT: B bitmap: 0 PIRQ: 0 INT: C bitmap: 0 PIRQ: 0 INT: D bitmap: 0 PIRQ: 0 PIR Entry 4 Dev/Fn: 0 Slot: 0 INT: A bitmap: 0 PIRQ: 0 INT: B bitmap: 0 PIRQ: 0 INT: C bitmap: 0 PIRQ: 0 INT: D bitmap: 0 PIRQ: 0 PIR Entry 5 Dev/Fn: 0 Slot: 0 INT: A bitmap: 0 PIRQ: 0 INT: B bitmap: 0 PIRQ: 0 INT: C bitmap: 0 PIRQ: 0 INT: D bitmap: 0 PIRQ: 0 Moving GDT to 0x500...ok Adjust low_table_end from 0x00000530 to 0x00001000 Adjust rom_table_end from 0x000f0400 to 0x00100000 Wrote linuxbios table at: 00000530 - 000006c4 checksum ec7f
Welcome to elfboot, the open sourced starter. January 2002, Eric Biederman. Version 1.3
rom_stream: 0xfff89000 - 0xfffeffff Found ELF candidate at offset 0 header_offset is 0 Try to load at offset 0x0 New segment addr 0x100000 size 0x306e0 offset 0xc0 filesize 0xb248 (cleaned up) New segment addr 0x100000 size 0x306e0 offset 0xc0 filesize 0xb248 New segment addr 0x1306e0 size 0x48 offset 0xb320 filesize 0x48 (cleaned up) New segment addr 0x1306e0 size 0x48 offset 0xb320 filesize
0x48
Dropping non PT_LOAD segment Dropping non PT_LOAD segment Loading Segment: addr: 0x0000000000100000 memsz: 0x00000000000306e0 filesz: 0x000000000000b248 Clearing Segment: addr: 0x000000000010b248 memsz: 0x0000000000025498 Loading Segment: addr: 0x00000000001306e0 memsz: 0x0000000000000048 filesz: 0x0000000000000048 Jumping to boot code at 0x108bdc FILO version 0.5 (otavio@labdes15) Fri Jul 13 08:05:08 BRT 2007 collect_linuxbios_info: Searching for LinuxBIOS tables... find_lb_table: Found canidate at: 00000530 find_lb_table: header checksum o.k. find_lb_table: table checksum o.k. find_lb_table: record count o.k. collect_linuxbios_info: Found LinuxBIOS table at: 00000530 convert_memmap: 0x00000000000000 0x00000000001000 16 convert_memmap: 0x00000000001000 0x0000000009f000 1 convert_memmap: 0x000000000f0000 0x00000000010000 16 convert_memmap: 0x00000000100000 0x0000001f6e0000 1 Press <Enter> for default boot, or <Esc> for boot prompt... 2 1 boot: hda1:/boot/vmlinuz root=/dev/hda1 initrd=/boot/initrd console=tty0 console=ttyS0,115200 hda: LBA 40GB: ST340014A Mounted ext2fs Found Linux version 2.6.18 (root@alexandre) #3 SMP Fri Jul 13 09:40:07 BRT 2007 (protocol 0x204) (loadflags 0x1) bzImage. init_linux_params: Setting up paramters at 0x90000 set_memory_size: 0000000000001000 - 00000000000a0000 set_memory_size: 0000000000100000 - 000000001f7e0000 set_memory_size: ramtop=0x1f7e0000 set_memory_size: ext_mem_k=64512, alt_mem_k=514944 parse_command_line: original command line: "root=/dev/hda1 initrd=/boot/initrd console=tty0 console=ttyS0,115200" parse_command_line: kernel command line at 0x91000 parse_command_line: initrd=/boot/initrd parse_command_line: kernel command line (48 bytes): "root=/dev/hda1 console=tty0 console=ttyS0,115200" load_linux_kernel: offset=0x1e00 addr=0x100000 size=0x11b91c Loading kernel... ok load_initrd: start=0x1f391000 end=0x1f7af000 Loading initrd... ok start_linux: eip=0x100000 Jumping to entry point... Linux version 2.6.18 (root@alexandre) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #3 SMP Fri Jul 13 09:40:07 BRT 2007 BIOS-provided physical RAM map: BIOS-e820: 0000000000001000 - 00000000000a0000 (usable) BIOS-e820: 0000000000100000 - 000000001f7e0000 (usable) 0MB HIGHMEM available. 503MB LOWMEM available. DMI not present or invalid. Allocating PCI resources starting at 20000000 (gap: 1f7e0000:e0820000) Detected 431.642 MHz processor. Built 1 zonelists. Total pages: 128992 Kernel command line: root=/dev/hda1 console=tty0 console=ttyS0,115200 No local APIC present or hardware disabled Initializing CPU#0 PID hash table entries: 2048 (order: 11, 8192 bytes) Console: colour dummy device 80x25 Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Memory: 504340k/515968k available (1421k kernel code, 11104k reserved, 546k data, 160k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 864.59 BogoMIPS (lpj=1729182) Security Framework v1.0.0 initialized SELinux: Disabled at boot. Capability LSM initialized Mount-cache hash table entries: 512 CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line) CPU: L2 Cache: 128K (32 bytes/line) Compat vDSO mapped to ffffe000. Checking 'hlt' instruction... OK. SMP alternatives: switching to UP code Freeing SMP alternatives: 12k freed CPU0: AMD Geode(TM) Integrated Processor by AMD PCS stepping 02 SMP motherboard not detected. Local APIC not detected. Using dummy APIC emulation. Brought up 1 CPUs migration_cost=0 checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd Freeing initrd memory: 4216k freed NET: Registered protocol family 16 PCI: Using configuration type 1 Setting up standard PCI resources Linux Plug and Play Support v0.97 (c) Adam Belay PnPBIOS: Scanning system for PnP BIOS support... PnPBIOS: PnP BIOS support was not detected. PCI: Probing PCI hardware PCI: Using IRQ router default [1022/2090] at 0000:00: 0f.0 PCI: Ignore bogus resource 6 [0:0] of 0000:00:01.1 NET: Registered protocol family 2 IP route cache hash table entries: 4096 (order: 2, 16384 bytes) TCP established hash table entries: 16384 (order: 5, 131072 bytes) TCP bind hash table entries: 8192 (order: 4, 65536 bytes) TCP: Hash tables configured (established 16384 bind 8192) TCP reno registered audit: initializing netlink socket (disabled) audit(943920012.588:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) PCI: Guessed IRQ 11 for device 0000:00:01.1 PCI: Sharing IRQ 11 with 0000:00:01.2 PCI: Sharing IRQ 11 with 0000:00:0d.0 lxfb 0000:00:01.1: 8192 KB of video memory at 0xfd000000 Console: switching to colour frame buffer device 80x25 fb0: Geode LX frame buffer device vga16fb: mapped to 0xc00a0000 fb1: VGA16 VGA frame buffer device isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize loop: loaded (max 8 devices) nbd: registered device at major 43 8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004) 8139cp 0000:00:0d.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip 8139cp 0000:00:0d.0: Try the "8139too" driver instead. 8139too Fast Ethernet driver 0.9.27 PCI: Guessed IRQ 11 for device 0000:00:0d.0 PCI: Sharing IRQ 11 with 0000:00:01.1 PCI: Sharing IRQ 11 with 0000:00:01.2 eth0: RealTek RTL8139 at 0x1000, 00:11:9e:c0:0a:e5, IRQ 11 PNP: No PS/2 controller found. Probing ports directly. i8042.c: Can't read CTR while initializing i8042. mice: PS/2 mouse device common for all mice TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 17 Using IPI No-Shortcut mode RAMDISK: cramfs filesystem found at block 0 Time: tsc clocksource has been installed. RAMDISK: Loading 4216KiB [1 disk] into ram disk... | / - \ | / - \ | / -
\ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | /
On 6/20/07, *Marc Jones* <marc.jones@amd.com mailto:marc.jones@amd.com> wrote:
Otávio Alcântara wrote: > Thanks for the help. But I have another doubt, I'm not getting
video
> working even after the linux kernel boots. What do I do to change
the
> console to video? I've configured Filo to use video console, but
the
> stream goes only to serial interface. > > Regards, > > Otávio Alcântara > Otávio, Correct, you can't get graphics until a driver is loaded. For a test/debug setup that uses the filo menu will only be visable
serial.
Please see this link for the Geode LX framebuffer support. http://thread.gmane.org/gmane.linux.fbdev.devel/10339 Marc > On 6/20/07, *Marc Jones* <marc.jones@amd.com <mailto:marc.jones@amd.com> > <mailto:marc.jones@amd.com <mailto:marc.jones@amd.com>>> wrote: > > > > Otávio Alcântara wrote: > > Hello to all, > > > > I'm porting a linuxbios v2 version for a board ref des > > LXUVCRDK (http://www.amd.com/geodelxuvcrdk <http://www.amd.com/geodelxuvcrdk> > <http://www.amd.com/geodelxuvcrdk>) based on norwich board.
I've
> > already got to boot linux from HD, but it seems to halt in some point > > (see log below captured from serial). Although, I'm using
VSA
> > (lx_vsa.36k.bin) and I got no output from video VGA. > > I'd like some help for setting up the PIRQ table and > for VGA > > setup. > > > > PS: The schematics for this board are publicly available from AMD > > Embedded Developer Web Site. > > > > Thanks, > > > > -- > > Otávio Alcântara > > "I'll never cross to the Dark Side." > > > > > > > > I took a quick look at the schematics and I think that this is what the > PIRQ table should look like. > > /* If you change the number of entries, change the
IRQ_SLOT_COUNT
> above! */ > /* bus, dev|fn, {link, bitmap}, {link,
bitmap},
> {link, bitmap}, {link, bitmap}, slot, rfu */ > {0x00, (0x01 << 3) | 0x0, {{L_PIRQA, M_PIRQA}, {0x00, 0x00}, {0x00, > 0x00}, {0x00, 0x00}}, 0x0, 0x0}, /* cpu */ > {0x00, (0x0F << 3) | 0x0, {{L_PIRQA, M_PIRQA}, {L_PIRQB, M_PIRQB}, > {L_PIRQC, M_PIRQC}, {L_PIRQD, M_PIRQD}}, 0x0, 0x0}, /* chipset */ > {0x00, (0x0D << 3) | 0x0, {{L_PIRQA, M_PIRQA}, {0x00, 0x00}, {0x00, > 0x00}, {0x00, 0x00}}, 0x0, 0x0}, /* ethernet */ > > Make sure to change IRQ_SLOT_COUNT in the mainboard Options.lb <http://Options.lb> > <http://Options.lb> > > As Jordan pointed out, you should use the Linux framebuffer and X > drivers instead of VGA. That means that you should also set > CONFIG_CONSOLE_VGA=0 and CONFIG_PCI_ROM_RUN=0 in Options.lb <http://Options.lb> > < http://Options.lb> > > > It also looks like there is something funny going on with the > Config.lb <http://Config.lb> <http://Config.lb>. > Try using the norwich one without modifications. > > > cs5536: southbridge_init: enable_ide_nand_flash is 36 > If you want to boot from IDE enable_ide_nand_flash should be
0
> > > Disabling VPCI device: 0x0000106C > > Disabling VPCI device: 0x00001075 > > Disabling VPCI device: 0x0000107E > > Disabling VPCI device: 0x00001087 > > Disabling VPCI device: 0x00001090 > > Disabling VPCI device: 0x00001099 > > Disabling VPCI device: 0x000010A2 > > Disabling VPCI device: 0x000010AB > This is a very strange list. > > > I don't have one of these boards so when you get it working please > submit a patch! > Let me know if there is anything else I can do to help > > Marc > > > > > > > LinuxBIOS-2.0.0.0Fallback Qua Jun 20 07:45:43 BRT 2007 starting... > > _MSR GLCP_SYS_RSTPLL (4c000014) value is:
00000498:00001820
> > Configuring PLL > > > > > > LinuxBIOS-2.0.0.0Fallback Qua Jun 20 07:45:43 BRT 2007 starting... > > _MSR GLCP_SYS_RSTPLL (4c000014) value is:
00000498:07de0020
> > Done cpuRegInit > > SMBUS READ ERROR:03 device:a2 > > Ram1.00 > > Ram2.00 > > SMBUS READ ERROR:03 device:a2 > > SMBUS READ ERROR:03 device:a2 > > SMBUS READ ERROR:03 device:a2 > > SMBUS READ ERROR:03 device:a2 > > SMBUS READ ERROR:03 device:a2 > > SMBUS READ ERROR:03 device:a2 > > SMBUS READ ERROR:03 device:a2 > > SMBUS READ ERROR:03 device:a2 > > SMBUS READ ERROR:03 device:a2 > > SMBUS READ ERROR:03 device:a2 > > SMBUS READ ERROR:03 device:a2 > > Ram3 > > DRAM controller init done. > > RAM DLL lock > > Ram4 > > Copying LinuxBIOS to ram. > > Jumping to LinuxBIOS. > > LinuxBIOS-2.0.0.0Fallback Qua Jun 20 08:56:35 BRT 2007 booting... > > clocks_per_usec: 432 > > Enumerating buses... > > >> Entering northbridge.c: pci_domain_enable > > Enter northbridge_init_early > > writeglmsr: MSR 0x10000020, val 0x20000000:0x000fff80 > > writeglmsr: MSR 0x10000021, val 0x20000000:0x080fffe0 > > writeglmsr: MSR 0x1000002c, val 0x20000000:0x00000003 > > sizeram: _MSR MC_CF07_DATA: 10076112:00004840 > > sizeram: sizem 0x100MB > > SysmemInit: enable for 256MBytes > > usable RAM: 268304383 bytes > > SysmemInit: MSR 0x10000028, val 0x2000000f:0xfdf00100 > > sizeram: _MSR MC_CF07_DATA: 10076112:00004840 > > sizeram: sizem 0x100MB > > SMMGL0Init: 268304384 bytes > > SMMGL0Init: offset is 0x80400000 > > SMMGL0Init: MSR 0x10000026, val 0x28fbe080:0x400fffe0 > > writeglmsr: MSR 0x10000080, val 0x00000000:0x00000003 > > writeglmsr: MSR 0x40000020, val 0x20000000:0x000fff80 > > writeglmsr: MSR 0x40000021, val 0x20000000:0x080fffe0 > > writeglmsr: MSR 0x4000002e, val 0x20000000:0x00000003 > > sizeram: _MSR MC_CF07_DATA: 10076112:00004840 > > sizeram: sizem 0x100MB > > SysmemInit: enable for 256MBytes > > usable RAM: 268304383 bytes > > SysmemInit: MSR 0x4000002a, val 0x2000000f:0xfdf00100 > > SMMGL1Init: > > SMMGL1Init: MSR 0x40000023, val 0x20000080:0x400fffe0 > > writeglmsr: MSR 0x40000080, val 0x00000000:0x00000001 > > writeglmsr: MSR 0x400000e3, val 0x60000000:0x033000f0 > > CPU_RCONF_DEFAULT (1808): 0x25FFFC02:0x10FFDF00 > > CPU_RCONF_BYPASS (180A): 0x00000000 : 0x00000000 > > L2 cache enabled > > Enabling cache > > GLPCI R1: system msr.lo 0x00100130 msr.hi 0x0ffdf000 > > GLPCI R2: system msr.lo 0x80400120 msr.hi 0x8041f000 > > Exit northbridge_init_early > > Done cpubug fixes > > Not Doing ChipsetFlashSetup() > > <<<WARNING>>> Graphics init... > > <<WARNING!!!>>> VRC_VG value: 0xffff > > Before VSA: > > do_vsmbios > > buf ilen 35441 olen60466 > > buf 00060000 *buf 186 buf[256k] 0 > > buf[0x20] signature is b0:10:e6:80 > > Call real_mode_switch_call_vsm > > biosint: INT# 0x15 > > biosint: eax 0xbea7 ebx 0x4e53 ecx 0x10000026 edx
0x10000028
> > biosint: ebp 0x15ed4 esp 0xff0 edi 0x8a71 esi 0x38 > > biosint: ip 0x5b3 cs 0x6000 flags 0x46 > > biosint: gs 0x0 fs 0x0 ds 0x6000 es 0x0 > > handleint21, eax 0xbea7 > > biosint: INT# 0x15 > > biosint: eax 0xbea4 ebx 0x4e53 ecx 0x10000026 edx
0x10000028
> > biosint: ebp 0x15ed4 esp 0xfee edi 0x8a71 esi 0x38 > > biosint: ip 0x5c1 cs 0x6000 flags 0x46 > > biosint: gs 0x0 fs 0x0 ds 0x6000 es 0x0 > > handleint21, eax 0xbea4 > > do_vsmbios: VSA2 VR signature verified > > After VSA: > > <<<WARNING>>> Graphics init... > > <<WARNING!!!>>> VRC_VG value: 0x2808 > > Finding PCI configuration type. > > PCI: Using configuration type 1 > > PCI_DOMAIN: 0000 enabled > > APIC_CLUSTER: 0 enabled > > PCI: pci_scan_bus for bus 00 > > PCI: 00:01.0 [1022/2080] enabled > > PCI: 00:01.1 [1022/2081] enabled > > PCI: 00:01.2 [1022/2082] enabled > > PCI: 00: 0d.0 [10ec/8139] enabled > > PCI: 00:0f.0 [1022/2090] enabled > > PCI: 00:0f.2 [1022/209a] enabled > > PCI: 00: 0f.3 [1022/2093] enabled > > PCI: 00:0f.4 [1022/2094] enabled > > PCI: 00:0f.5 [1022/2095] enabled > > PCI: 00: 0f.6 [1022/2096] enabled > > PCI: 00:0f.7 [1022/2097] enabled > > PCI: pci_scan_bus returning with max=000 > > done > > Allocating resources... > > Reading resources... > > Done reading resources. > > Setting resources... > > PCI: 00: 01.1 10 <- [0x00fd000000 - 0x00fdffffff] mem > > PCI: 00:01.1 14 <- [0x00fe000000 - 0x00fe003fff] mem > > PCI: 00:01.1 18 <- [0x00fe004000 - 0x00fe007fff] mem > > PCI: 00:01.1 1c <- [0x00fe008000 - 0x00fe00bfff] mem > > PCI: 00:01.1 20 <- [0x00fe00c000 - 0x00fe00ffff] mem > > PCI: 00:01.2 10 <- [0x00fe010000 - 0x00fe013fff] mem > > PCI: 00:0d.0 10 <- [0x0000001000 - 0x00000010ff] io > > PCI: 00:0d.0 14 <- [0x00fe019000 - 0x00fe0190ff] mem > > PCI: 00:0f.0 10 <- [0x0000001cb0 - 0x0000001cb7] io > > PCI: 00:0f.0 14 <- [0x0000001400 - 0x00000014ff] io > > PCI: 00:0f.0 18 <- [0x0000001c00 - 0x0000001c3f] io > > PCI: 00:0f.0 1c <- [0x0000001c80 - 0x0000001c9f] io > > PCI: 00:0f.0 20 <- [0x0000001800 - 0x000000187f] io > > PCI: 00: 0f.0 24 <- [0x0000001c40 - 0x0000001c7f] io > > PCI: 00:0f.2 20 <- [0x0000001ca0 - 0x0000001caf] io > > PCI: 00:0f.3 10 <- [0x0000001880 - 0x00000018ff] io > > PCI: 00:0f.4 10 <- [0x00fe016000 - 0x00fe016fff] mem > > PCI: 00:0f.5 10 <- [0x00fe017000 - 0x00fe017fff] mem > > PCI: 00:0f.6 10 <- [0x00fe014000 - 0x00fe015fff] mem > > PCI: 00:0f.7 10 <- [0x00fe018000 - 0x00fe018fff] mem > > Done setting resources. > > Done allocating resources. > > Enabling resources... > > PCI: 00:01.0 cmd <- 145 > > PCI: 00: 01.1 subsystem <- 00/00 > > PCI: 00:01.1 cmd <- 142 > > PCI: 00:01.2 cmd <- 142 > > PCI: 00: 0d.0 cmd <- 143 > > cs5536: cs5536_pci_dev_enable_resources() > > PCI: 00:0f.0 cmd <- 149 > > PCI: 00:0f.2 cmd <- 141 > > PCI: 00:0f.3 cmd <- 141 > > PCI: 00:0f.4 cmd <- 142 > > PCI: 00: 0f.5 cmd <- 142 > > PCI: 00: 0f.6 cmd <- 142 > > PCI: 00:0f.7 cmd <- 142 > > done. > > Initializing devices... > > Root Device init > > Norwich ENTER init > > Norwich EXIT init > > PCI: 00: 01.0 init > > PCI: 00:01.1 init > > APIC_CLUSTER: 0 init > > Initializing CPU #0 > > CPU: vendor AMD device 5a2 > > CPU: family 05, model 0a, stepping 02 > > model_lx_init > > Enabling cache > > A20 (0x92): 2 > > A20 (0x92): 2 > > CPU model_lx_init DONE > > CPU #0 Initialized > > PCI: 00:01.2 init > > PCI: 00: 0d.0 init > > PCI: 00:0f.0 init > > cs5536: southbridge_init > > RTC Init > > rct_init finished > > cs5536: southbridge_init: enable_ide_nand_flash is 36 > > Disabling VPCI device: 0x0000106C > > Disabling VPCI device: 0x00001075 > > Disabling VPCI device: 0x0000107E > > Disabling VPCI device: 0x00001087 > > Disabling VPCI device: 0x00001090 > > Disabling VPCI device: 0x00001099 > > Disabling VPCI device: 0x000010A2 > > Disabling VPCI device: 0x000010AB > > PCI: 00:0f.2 init > > PCI: 00:0f.3 init > > PCI: 00:0f.4 init > > PCI: 00:0f.5 init > > PCI: 00:0f.6 init > > PCI: 00:0f.7 init > > Devices initialized > > Copying IRQ routing tables to 0xf0000...done. > > Verifing copy of IRQ routing tables at 0xf0000...done > > Checking IRQ routing table consistency... > > check_pirq_routing_table() - irq_routing_table located at: 0x000f0000 > >
/home/otavio/LinuxBIOSv2/src/arch/i386/boot/pirq_routing.c:
> > 36:check_pirq_routing_table() - checksum is: 0x00 but should be: > 0xfd > > done. > > write_pirq_routing_table(8000785C, BAAA) > > PIR Entry 0 Dev/Fn: 8 Slot: 0 > > INT: A bitmap: 400 PIRQ: 10 > > INT: B bitmap: 0 PIRQ: 0 > > INT: C bitmap: 0 PIRQ: 0 > > INT: D bitmap: 0 PIRQ: 0 > > Assigning IRQ 10 to 0: 1.1 > > Readback = 10 > > Assigning IRQ 10 to 0:1.2 > > Readback = 10 > > PIR Entry 1 Dev/Fn: 78 Slot: 0 > > INT: A bitmap: 400 PIRQ: 10 > > INT: B bitmap: 400 PIRQ: 10 > > INT: C bitmap: 400 PIRQ: 10 > > INT: D bitmap: 800 PIRQ: 11 > > Assigning IRQ 10 to 0:f.3 > > Readback = 10 > > Assigning IRQ 11 to 0: f.4 > > Readback = 11 > > Assigning IRQ 11 to 0:f.5 > > Readback = 11 > > PIR Entry 2 Dev/Fn: 68 Slot: 1 > > INT: A bitmap: 400 PIRQ: 10 > > INT: B bitmap: 400 PIRQ: 10 > > INT: C bitmap: 800 PIRQ: 11 > > INT: D bitmap: 400 PIRQ: 10 > > Assigning IRQ 10 to 0: d.0 > > Readback = 10 > > PIR Entry 3 Dev/Fn: 70 Slot: 2 > > INT: A bitmap: 400 PIRQ: 10 > > INT: B bitmap: 800 PIRQ: 11 > > INT: C bitmap: 400 PIRQ: 10 > > INT: D bitmap: 400 PIRQ: 10 > > PIR Entry 4 Dev/Fn: 58 Slot: 3 > > INT: A bitmap: 800 PIRQ: 11 > > INT: B bitmap: 400 PIRQ: 10 > > INT: C bitmap: 400 PIRQ: 10 > > INT: D bitmap: 400 PIRQ: 10 > > PIR Entry 5 Dev/Fn: 60 Slot: 4 > > INT: A bitmap: 400 PIRQ: 10 > > INT: B bitmap: 400 PIRQ: 10 > > INT: C bitmap: 400 PIRQ: 10 > > INT: D bitmap: 800 PIRQ: 11 > > Moving GDT to 0x500...ok > > Adjust low_table_end from 0x00000530 to 0x00001000 > > Adjust rom_table_end from 0x000f0400 to 0x00100000 > > Wrote linuxbios table at: 00000530 - 000006c4 checksum
fba9
> > > > Welcome to elfboot, the open sourced starter. > > January 2002, Eric Biederman. > > Version 1.3 > > > > rom_stream: 0xfff89000 - 0xfffeffff > > Found ELF candidate at offset 0 > > header_offset is 0 > > Try to load at offset 0x0 > > New segment addr 0x100000 size 0x306e0 offset 0xc0 filesize 0xb248 > > (cleaned up) New segment addr 0x100000 size 0x306e0 offset 0xc0 > filesize > > 0xb248 > > New segment addr 0x1306e0 size 0x48 offset 0xb320 filesize 0x48 > > (cleaned up) New segment addr 0x1306e0 size 0x48 offset
0xb320
> filesize 0x48 > > Dropping non PT_LOAD segment > > Dropping non PT_LOAD segment > > Loading Segment: addr: 0x0000000000100000 memsz: 0x00000000000306e0 > > filesz: 0x000000000000b248 > > Clearing Segment: addr: 0x000000000010b248 memsz: 0x0000000000025498 > > Loading Segment: addr: 0x00000000001306e0 memsz: 0x0000000000000048 > > filesz: 0x0000000000000048 > > Jumping to boot code at 0x108bdc > > FILO version 0.5 (otavio@labdes15) Wed Jun 20 08:56:24 BRT 2007 > > collect_linuxbios_info: Searching for LinuxBIOS tables... > > find_lb_table: Found canidate at: 00000530 > > find_lb_table: header checksum o.k. > > find_lb_table: table checksum o.k. > > find_lb_table: record count o.k. > > collect_linuxbios_info: Found LinuxBIOS table at: 00000530 > > convert_memmap: 0x00000000000000 0x00000000001000 16 > > convert_memmap: 0x00000000001000 0x0000000009f000 1 > > convert_memmap: 0x000000000f0000 0x00000000010000 16 > > convert_memmap: 0x00000000100000 0x0000000f6e0000 1 > > Press <Enter> for default boot, or <Esc> for boot prompt... 2 1 > > timed out > > boot: hda1:/boot/vmlinuz root=/dev/hda1
initrd=/boot/initrd
> > console=tty0 console=ttyS0,115200 > > hda: LBA 40GB: ST340014A > > Mounted ext2fs > > Found Linux version 2.6.8-2-386 > (horms@tabatha.lab.ultramonkey.org <mailto:horms@tabatha.lab.ultramonkey.org> > <mailto:horms@tabatha.lab.ultramonkey.org <mailto:horms@tabatha.lab.ultramonkey.org>> > > <mailto:horms@tabatha.lab.ultramonkey.org <mailto:horms@tabatha.lab.ultramonkey.org> > <mailto:horms@tabatha.lab.ultramonkey.org <mailto:horms@tabatha.lab.ultramonkey.org>>>) #1 Thu May 19 17:40:50
JST
> > 2005 (protocol 0x203) (loadflags 0x1) bzImage. > > init_linux_params: Setting up paramters at 0x90000 > > set_memory_size: 0000000000001000 - 00000000000a0000 > > set_memory_size: 0000000000100000 - 000000000f7e0000 > > set_memory_size: ramtop=0xf7e0000 > > set_memory_size: ext_mem_k=64512, alt_mem_k=252800 > > parse_command_line: original command line: "root=/dev/hda1 > > initrd=/boot/initrd console=tty0 console=ttyS0,115200" > > parse_command_line: kernel command line at 0x91000 > > parse_command_line: initrd=/boot/initrd > > parse_command_line: kernel command line (48 bytes): "root=/dev/hda1 > > console=tty0 console=ttyS0,115200" > > load_linux_kernel: offset=0x1600 addr=0x100000
size=0x10a8cb
> > Loading kernel... ok > > load_initrd: start=0xf391000 end=0xf7af000 > > Loading initrd... ok > > start_linux: eip=0x100000 > > Jumping to entry point... > > Linux version 2.6.8-2-386 ( horms@tabatha.lab.ultramonkey.org <mailto:horms@tabatha.lab.ultramonkey.org> > <mailto:horms@tabatha.lab.ultramonkey.org <mailto:horms@tabatha.lab.ultramonkey.org>> > > <mailto: horms@tabatha.lab.ultramonkey.org <mailto:horms@tabatha.lab.ultramonkey.org> > <mailto:horms@tabatha.lab.ultramonkey.org <mailto:horms@tabatha.lab.ultramonkey.org>>>) (gcc version 3.3.5(Debian > > 1:3.3.5-12)) #1 Thu May 19 17:40:50 JST 2005 > > > > BIOS-provided physical RAM map: > > > > BIOS-e820: 0000000000001000 - 00000000000a0000 (usable) > > > > BIOS-e820: 0000000000100000 - 000000000f7e0000 (usable) > > > > 247MB LOWMEM available. > > > > DMI not present. > > > > ACPI: Unable to locate RSDP > > > > Built 1 zonelists > > > > Kernel command line: root=/dev/hda1 console=tty0 console=ttyS0,115200 > > > > No local APIC present or hardware disabled > > > > Initializing CPU#0 > > > > PID hash table entries: 1024 (order 10: 8192 bytes) > > > > Detected 431.857 MHz processor. > > > > Using tsc for high-res timesource > > > > Console: colour dummy device 80x25 > > > > Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) > > > > Inode-cache hash table entries: 16384 (order: 4, 65536
bytes)
> > > > Memory: 244168k/253824k available (1336k kernel code, 8916k reserved, > > 732k data, 204k init, 0k highmem) > > > > Checking if this processor honours the WP bit even in supervisor > mode... > > Ok. > > > > Calibrating delay loop... 845.82 BogoMIPS > > > > Security Scaffold v1.0.0 initialized > > > > Mount-cache hash table entries: 512 (order: 0, 4096 bytes) > > > > CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line) > > > > CPU: L2 Cache: 128K (32 bytes/line) > > > > CPU: AMD Geode(TM) Integrated Processor by AMD PCS stepping 02 > > > > Checking 'hlt' instruction... OK. > > > > Checking for popad bug... OK. > > > > checking if image is initramfs...it isn't (ungzip failed); looks > like an > > initrd > > > > Freeing initrd memory: 4216k freed > > > > NET: Registered protocol family 16 > > > > EISA bus registered > > > > PCI: Using configuration type 1 > > > > mtrr: v2.0 (20020519) > > > > ACPI: Subsystem revision 20040326 > > > > ACPI: Interpreter disabled. > > > > Linux Plug and Play Support v0.97 (c) Adam Belay > > > > PnPBIOS: Scanning system for PnP BIOS support... > > > > PnPBIOS: PnP BIOS support was not detected. > > > > PCI: Probing PCI hardware > > > > PCI: Probing PCI hardware (bus 00) > > > > PCI: Using IRQ router default [1022/2090] at 0000:00: 0f.0 > > > > VFS: Disk quotas dquot_6.5.1 > > > > Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) > > > > devfs: 2004-01-31 Richard Gooch ( rgooch@atnf.csiro.au <mailto:rgooch@atnf.csiro.au> > <mailto:rgooch@atnf.csiro.au <mailto:rgooch@atnf.csiro.au>> > > <mailto:rgooch@atnf.csiro.au <mailto:rgooch@atnf.csiro.au> <mailto:rgooch@atnf.csiro.au <mailto:rgooch@atnf.csiro.au>>>) > > > > devfs: boot_options: 0x0 > > > > Initializing Cryptographic API > > > > isapnp: Scanning for PnP cards... > > > > isapnp: No Plug & Play device found > > > > Serial: 8250/16550 driver $Revision: 1.90 $ 54 ports, IRQ sharing > enabled > > > > ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A > > > > RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize > > > > i8042.c : Can't read CTR while initializing i8042. > > > > EISA: Probing bus 0 at eisa0 > > > > Cannot allocate resource for EISA slot 1 > > > > EISA: Detected 0 cards. > > > > NET: Registered protocol family 2 > > > > IP: routing cache hash table of 2048 buckets, 16Kbytes > > > > TCP: Hash tables configured (established 16384 bind 32768) > > > > NET: Registered protocol family 8 > > > > NET: Registered protocol family 20 > > > > RAMDISK: cramfs filesystem found at block 0 > > > > RAMDISK: Loading 4216 blocks [1 disk] into ram disk... | / - \ | > / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - > \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | > / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - > \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | > / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - > \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | > / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - > \ | / - \ | / - \ | / - \ | / - \ | / - \ done. > > > > > > VFS: Mounted root (cramfs filesystem) readonly. > > > > Freeing unused kernel memory: 204k freed > > > > vesafb: probe of vesafb0 failed with error -6 > > > > NET: Registered protocol family 1 > > > > Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 > > > > ide: Assuming 33MHz system bus speed for PIO modes; override with > idebus=xx > > > > hda: ST340014A, ATA DISK drive > > > > Using anticipatory io scheduler > > > > ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 > > > > hda: max request size: 128KiB > > > > hda: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63 > > > > /dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 > > > > > > > -- > Marc Jones > Senior Software Engineer > (970) 226-9684 Office > mailto:Marc.Jones@amd.com <mailto:Marc.Jones@amd.com> <mailto:Marc.Jones@amd.com <mailto:Marc.Jones@amd.com>> > http://www.amd.com/embeddedprocessors <http://www.amd.com/embeddedprocessors> > > > > > > -- > Otávio Alcântara > "I'll never cross to the Dark Side." > -- Marc Jones Senior Software Engineer (970) 226-9684 Office mailto:Marc.Jones@amd.com <mailto:Marc.Jones@amd.com> http://www.amd.com/embeddedprocessors
-- Otávio Alcântara "I'll never cross to the Dark Side."
-- Marc Jones Senior Software Engineer (970) 226-9684 Office mailto:Marc.Jones@amd.com http://www.amd.com/embeddedprocessors
On Wed, Aug 01, 2007 at 08:50:30AM -0300, Otávio Alcântara wrote:
I've used memtest as a payload and the test was sucessfully.
How long did you leave it running? 24 hours is good to make sure.
Any other idea for the RAMDISK blow up?
It's usually because of bad RAM, unless there is a configuration error in the initrd.
Bellow the log of the linuxbios + memtest try out. My board is similar to AMD RDK UVC.
Sorry, the ANSI codes make the memtest output unlegible for me. :\
//Peter
Hello to all,
On 8/1/07, Peter Stuge peter@stuge.se wrote:
How long did you leave it running? 24 hours is good to make sure.
We spent more than a day on test, but today I've tried another initrd and the boot was okay, just some problems with USB keyboard.
Thanks,
Otavio Alcântara
On 8/1/07, Peter Stuge peter@stuge.se wrote:
On Wed, Aug 01, 2007 at 08:50:30AM -0300, Otávio Alcântara wrote:
I've used memtest as a payload and the test was sucessfully.
How long did you leave it running? 24 hours is good to make sure.
Any other idea for the RAMDISK blow up?
It's usually because of bad RAM, unless there is a configuration error in the initrd.
Bellow the log of the linuxbios + memtest try out. My board is similar to AMD RDK UVC.
Sorry, the ANSI codes make the memtest output unlegible for me. :\
//Peter
-- linuxbios mailing list linuxbios@linuxbios.org http://www.linuxbios.org/mailman/listinfo/linuxbios