Skip to content

x86: Support off-chip graphics card on Intel Crown Bay

Bin Meng u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8x86: Rename CONFIG_SYS_NUM_IRQS to SYS_NUM_IRQSarch/x86/include/asm/interrupt.h arch/x86/lib/interrupts.c arch/x86/lib/pcat_interrupts.c +1 more+10 -131 reply
2/8x86: Remove dead codes wrapped by PARANOID_IRQ_TRIGGERSarch/x86/lib/pcat_interrupts.c+0 -161 reply
3/8x86: Fix cosmetic issues in the i8254 and i8259 codesarch/x86/include/asm/i8254.h arch/x86/include/asm/i8259.h arch/x86/lib/pcat_interrupts.c +1 more+52 -531 reply
4/8x86: Initialize i8254 timer counter 1arch/x86/lib/pcat_timer.c+10 -01 reply
5/8x86: Rename pcat_ to i8254 and i8259 accordinglyarch/x86/cpu/interrupts.c arch/x86/include/asm/u-boot-x86.h arch/x86/lib/Makefile +4 more+10 -101 reply
6/8x86: Move CONFIG_8259_PIC and CONFIG_8254_TIMER to Kconfigarch/x86/Kconfig include/configs/x86-common.h+8 -21 reply
7/8x86: queensbay: Really disable IGDarch/x86/cpu/queensbay/tnc.c arch/x86/include/asm/arch-queensbay/tnc.h+23 -101 reply
8/8x86: Move timer_init() call a bit earliercommon/board_f.c common/board_r.c+2 -31 reply

Reviews trailers per patch

7 of 8 patches have a Reviewed-by or Acked-by.

PatchSimon Glass
1/8A-b
2/8A-b
3/8A-b
4/8A-b
5/8A-b
6/8
7/8A-b
8/8A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/8] x86: Support off-chip graphics card on Intel Crown Bay

Previously when I started to look at the graphics support on Intel Crown Bay, I tried to debug IGD and off-chip graphics card but none of their vgabios can run under U-Boot. Later with a bug fixed in the 16-bit real mode and 32-bit protected mode switch, IGD vgabios can run successfully but these two PCIe graphics cards I have at hand still don't work.

With recent bug fixes as an attempt to support SeaBIOS, I started to look at them again, and this time finally got both of them work. It turns out we need completely disable IGD on TunnelCreek chipset, and also get i8254 timer counter 1 set up corretly.

This series also fixes several nits in the i8259/i8254 codes.

In case someone is interested, the two PCIe graphics card I used for testing are:

Bin Meng (8):
x86: Rename CONFIG_SYS_NUM_IRQS to SYS_NUM_IRQS
x86: Remove dead codes wrapped by PARANOID_IRQ_TRIGGERS
x86: Fix cosmetic issues in the i8254 and i8259 codes
x86: Initialize i8254 timer counter 1
x86: Rename pcat_ to i8254 and i8259 accordingly
x86: Move CONFIG_8259_PIC and CONFIG_8254_TIMER to Kconfig
x86: queensbay: Really disable IGD
x86: Move timer_init() call a bit earlier

 arch/x86/Kconfig                            |  8 +++++
 arch/x86/cpu/interrupts.c                   |  2 +-
 arch/x86/cpu/queensbay/tnc.c                | 26 ++++++++++++----
 arch/x86/include/asm/arch-queensbay/tnc.h   |  7 ++---
 arch/x86/include/asm/i8254.h                | 43 ++++++++++++--------------
 arch/x86/include/asm/i8259.h                | 31 ++++++++++---------
 arch/x86/include/asm/interrupt.h            |  2 ++
 arch/x86/include/asm/u-boot-x86.h           |  2 +-
 arch/x86/lib/Makefile                       |  4 +--
 arch/x86/lib/i8254.c                        | 37 +++++++++++++++++++++++
 arch/x86/lib/{pcat_interrupts.c => i8259.c} | 47 ++++++++---------------------
 arch/x86/lib/interrupts.c                   | 10 +++---
 arch/x86/lib/pcat_timer.c                   | 27 -----------------
 arch/x86/lib/tsc_timer.c                    |  6 ++--
 common/board_f.c                            |  2 +-
 common/board_r.c                            |  3 +-
 include/configs/x86-common.h                |  3 --
 17 files changed, 134 insertions(+), 126 deletions(-)
 create mode 100644 arch/x86/lib/i8254.c
 rename arch/x86/lib/{pcat_interrupts.c => i8259.c} (70%)
 delete mode 100644 arch/x86/lib/pcat_timer.c
Signature · 1 line
1.8.2.1