[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] xen:arm earlyprintk configuration for Hikey 960 boards



commit bf15b21e9cb101a7e0196249a81f842a9c797187
Author:     Konrad Rzeszutek Wilk <konrad@xxxxxxxxxx>
AuthorDate: Wed Jul 26 10:18:45 2017 -0700
Commit:     Stefano Stabellini <sstabellini@xxxxxxxxxx>
CommitDate: Wed Jul 26 10:18:45 2017 -0700

    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 <konrad@xxxxxxxxxx>
    Signed-off-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
    Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
    Acked-by: Julien Grall <julien.grall@xxxxxxx>
---
 docs/misc/arm/early-printk.txt | 1 +
 xen/arch/arm/Rules.mk          | 1 +
 2 files changed, 2 insertions(+)

diff --git a/docs/misc/arm/early-printk.txt b/docs/misc/arm/early-printk.txt
index 41b528b..49bc3dc 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 569a0ba..6d0aa95 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
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.