Feature #7

gnawty support based on acer cb3-111

Added by Alexander Couzens almost 4 years ago. Updated over 3 years ago.

Status:In ProgressStart date:11/20/2015
Priority:NormalDue date:
Assignee:Alexander Couzens% Done:

0%

Category:board support
Target version:-

Description

Adding google gnawty boards.
This board is very similiar to rambi, the only difference known is the ram configuration.

http://review.coreboot.org/#/c/12500
https://www.coreboot.org/Board:acer/cb3-111

SeaBIOS hangs with message:
Press F12 ...

but pressing f12 does nothing.

Booting ELF payload with openwrt fails because e820 isn't properly passed.

Using Linux Payload + x64 kernel openwrt boots up.

bootup_x86_64_openwrt (60 KB) Alexander Couzens, 11/20/2015 10:07 PM

vga_bios_hangs (29.1 KB) Alexander Couzens, 11/20/2015 11:04 PM

dmesg - dmesg_chromeos_gnawty (63.6 KB) Alexander Couzens, 11/21/2015 03:03 AM

lspci_vvv - chromeos (10.3 KB) Alexander Couzens, 11/21/2015 03:08 AM

lspci - chromso (789 Bytes) Alexander Couzens, 11/21/2015 03:08 AM

lspci_vvttnn - chromeos (716 Bytes) Alexander Couzens, 11/21/2015 03:09 AM

booting_4.1 - openwrt with 4.1 (58.7 KB) Alexander Couzens, 11/22/2015 10:35 PM

booting_4.1_with_ioapic - openwrt with 4.1 but with select ioapic in cb (63.5 KB) Alexander Couzens, 11/23/2015 01:46 AM

History

#3 Updated by Alexander Couzens almost 4 years ago

  • Status changed from New to In Progress

#4 Updated by Alexander Couzens almost 4 years ago

#5 Updated by Alexander Couzens almost 4 years ago

#6 Updated by Alexander Couzens almost 4 years ago

#7 Updated by Alexander Couzens almost 4 years ago

I can see

[    0.000000] ACPI: PM-Timer IO Port: 0x408
[    0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x02] enabled)
[    0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
[    0.000000] I/O APIC 0xfec00000 registers return all ones, skipping!

But coreboot detects

APIC: 00: enabled 1
APIC: 02: enabled 1
APIC: 00 (Intel BayTrail SoC)
APIC: 02 (unknown)

I guess the second should not be enabled. but why is linux only finds this one ONLY ?

#8 Updated by Alexander Couzens almost 4 years ago

last upstream rev:

commit 7dcf9d51e5ffadfcf8b5fceddcddb4e1d0a7db37
Author: Julius Werner <jwerner@chromium.org>
Date:   Fri Oct 16 13:10:02 2015 -0700

    arm64: tegra132: tegra210: Remove old arm64/stage_entry.S

    Change-Id: Ib3a0448b30ac9c7132581464573efd5e86e03698
    Signed-off-by: Julius Werner <jwerner@chromium.org>
    Reviewed-on: http://review.coreboot.org/12078

#10 Updated by Alexander Couzens almost 4 years ago

the second APIC 02 looks good, because it's the second processor.

#11 Updated by lx r over 3 years ago

linux is now booting.

#12 Updated by Alexander Couzens over 3 years ago

  • Description updated (diff)

#13 Updated by Alexander Couzens over 3 years ago

Missing:

  • sdcard as file for SeaBIOS
  • migrate gnawty into rambi
  • pci irq routing
  • test if seabios can work with irq routing

SeaBios is booting without hardware irqs.
I'm waiting for a board to hack on.

Also available in: Atom PDF