From: Konrad Rzeszutek Wilk Date: Wed, 26 Jul 2017 17:18:45 +0000 (-0700) Subject: xen:arm earlyprintk configuration for Hikey 960 boards X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~66^2~1775 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=bf15b21e9cb101a7e0196249a81f842a9c797187;p=xen.git xen:arm earlyprintk configuration for Hikey 960 boards Introduce an earlyprintk configuration of Hikey 960 boards. Tested with: https://github.com/96boards-hikey/edk2.git #testing/hikey960_v2.5 https://github.com/96boards-hikey/OpenPlatformPkg.git #testing/hikey960_v1.3.4 https://git.savannah.gnu.org/git/grub.git #master https://github.com/96boards-hikey/linux.git #hikey960-upstream-rebase For GRUB, the following stanza was used: GRUB_MODULES="boot chain configfile echo efinet eval ext2 fat font gettext gfxterm gzio help linux loadenv lsefi normal part_gpt par t_msdos read regexp search search_fs_file search_fs_uuid search_label terminal terminfo test tftp time xen_boot" grub-install/usr/bin/grub-mkimage \ --config grub.config \ --dtb linux/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dtb \ --directory=grub/usr/lib64/grub/arm64-efi \ --output=grubaa64.efi \ --format=arm64-efi \ --prefix="/boot/grub" \ $GRUB_MODULES And grub.config: search.fs_label rootfs root set prefix=($root)/boot/grub configfile $prefix/grub.cfg Signed-off-by: Konrad Rzeszutek Wilk Signed-off-by: Stefano Stabellini Reviewed-by: Stefano Stabellini Acked-by: Julien Grall --- diff --git a/docs/misc/arm/early-printk.txt b/docs/misc/arm/early-printk.txt index 41b528b9fa..49bc3dcf00 100644 --- a/docs/misc/arm/early-printk.txt +++ b/docs/misc/arm/early-printk.txt @@ -37,6 +37,7 @@ the name of the machine: - dra7: printk with 8250 on DRA7 platform - exynos5250: printk with the second UART - fastmodel: printk on ARM Fastmodel software emulators + - hikey960: printk with pl011 with Hikey 960 - juno: printk with pl011 on Juno platform - lager: printk with SCIF0 on Renesas R-Car H2 processors - midway: printk with the pl011 on Calxeda Midway processors diff --git a/xen/arch/arm/Rules.mk b/xen/arch/arm/Rules.mk index 569a0badc8..6d0aa95975 100644 --- a/xen/arch/arm/Rules.mk +++ b/xen/arch/arm/Rules.mk @@ -32,6 +32,7 @@ EARLY_PRINTK_brcm := 8250,0xF040AB00,2 EARLY_PRINTK_dra7 := 8250,0x4806A000,2 EARLY_PRINTK_fastmodel := pl011,0x1c090000,115200 EARLY_PRINTK_exynos5250 := exynos4210,0x12c20000 +EARLY_PRINTK_hikey960 := pl011,0xfff32000 EARLY_PRINTK_juno := pl011,0x7ff80000 EARLY_PRINTK_lager := scif,0xe6e60000 EARLY_PRINTK_midway := pl011,0xfff36000