Skip to content

x86: Support booting Linux kernel on Intel Galileo

Bin Meng u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 0 repliesNew
  2. v18 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Change all macros to use a single msg_port_generic_clrsetbits
- Update per review comments from Simon

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8x86: galileo: Enable random mac address for Quarkconfigs/galileo_defconfig+1 -01 reply
2/8x86: quark: Add clrbits, setbits, clrsetbits macros for message port accessarch/x86/include/asm/arch-quark/msg_port.h+31 -01 reply
3/8x86: quark: Convert to use clrbits, setbits, clrsetbits macrosarch/x86/cpu/quark/quark.c+21 -511 reply
4/8x86: quark: Lock HMBOUND register before jumping to kernelarch/x86/cpu/quark/quark.c arch/x86/include/asm/arch-quark/quark.h+4 -01 reply
5/8x86: quark: Initialize thermal sensor properlyarch/x86/cpu/quark/quark.c arch/x86/include/asm/arch-quark/quark.h+54 -01 reply
6/8x86: galileo: Add PCIe root port IRQ routingarch/x86/dts/galileo.dts+12 -01 reply
7/8x86: doc: Document some porting hints about Intel Quarkdoc/README.x86+24 -01 reply
8/8x86: doc: Add DMI to the TODO listdoc/README.x86+2 -01 reply

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchSimon Glass
1/8A-b
2/8R-b
3/8A-b
4/8A-b
5/8A-b
6/8A-b
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 v2 thread

Cover letter [U-Boot] [PATCH v2 0/8] x86: Support booting Linux kernel on Intel Galileo

Currently U-Boot works great on Intel Galileo board, but it still has some issues when booting a Linux kernel. The issues are mainly with Isolated Memory Region (IMR) and thermal sensor support in the Linux kernel for Intel Quark SoC. For example, kernel just hangs after kernel IMR driver is probed.

It turns out U-Boot still misses some key register programming. Add those register initializtion so that Linux kernel can boot succesfully.

Tested on Intel Galileo board, with an AHCI mini-PCIe card with an SSD attached (to test PCI IRQ behind the root port), as well as a micro-SD card, a USB flash disk and ethernet under Linux.

Note the mainline Linux designware Ethernet driver uses an API dmi_get_system_info() to determine the PHY address. Since U-Boot currently does not support the DMI, to test the Ethernet under Linux we need patch the kernel driver, but in the long term, we should add DMI support in U-Boot. Add a TODO in README.x86 for now.

Changes in v2:
- Change all macros to use a single msg_port_generic_clrsetbits
- Update per review comments from Simon

Bin Meng (8):
x86: galileo: Enable random mac address for Quark
x86: quark: Add clrbits, setbits, clrsetbits macros for message port
access
x86: quark: Convert to use clrbits, setbits, clrsetbits macros
x86: quark: Lock HMBOUND register before jumping to kernel
x86: quark: Initialize thermal sensor properly
x86: galileo: Add PCIe root port IRQ routing
x86: doc: Document some porting hints about Intel Quark
x86: doc: Add DMI to the TODO list

 arch/x86/cpu/quark/quark.c                 | 115 ++++++++++++++++-------------
 arch/x86/dts/galileo.dts                   |  12 +++
 arch/x86/include/asm/arch-quark/msg_port.h |  31 ++++++++
 arch/x86/include/asm/arch-quark/quark.h    |  15 ++++
 configs/galileo_defconfig                  |   1 +
 doc/README.x86                             |  26 +++++++
 6 files changed, 149 insertions(+), 51 deletions(-)
Signature · 1 line
1.8.2.1