xen:arm earlyprintk configuration for Hikey 960 boards
PATCH 1/1 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_MODULESAnd grub.config:
search.fs_label rootfs root
set prefix=($root)/boot/grub
configfile $prefix/grub.cfg
--- docs/misc/arm/early-printk.txt | 1 + xen/arch/arm/Rules.mk | 1 + 2 files changed, 2 insertions(+)
docs/misc/arm/early-printk.txt +1 -0
@@ -49,6 +49,7 @@ the name of the machine: - xgene-mcdivitt: printk with 820 on Xgene mcdivitt platform - xgene-storm: printk with 820 on Xgene storm platform - zynqmp: printk with Cadence UART for Xilinx ZynqMP SoCs + - hikey960: printk with pl011 with Hikey 960 These settings are is hardcoded in xen/arch/arm/Rules.mk, see there when adding support for new machines.
xen/arch/arm/Rules.mk +1 -0
@@ -44,6 +44,7 @@ EARLY_PRINTK_vexpress := pl011,0x1c090000 EARLY_PRINTK_xgene-mcdivitt := 8250,0x1c021000,2 EARLY_PRINTK_xgene-storm := 8250,0x1c020000,2 EARLY_PRINTK_zynqmp := cadence,0xff000000 +EARLY_PRINTK_hikey960 := pl011,0xfff32000 ifneq ($(EARLY_PRINTK_$(CONFIG_EARLY_PRINTK)),) EARLY_PRINTK_CFG := $(subst $(comma), ,$(EARLY_PRINTK_$(CONFIG_EARLY_PRINTK)))
Signature · 7 lines
2.13.3 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Hi Konrad,
Quoted 22 lines · Konrad Rzeszutek Wilk
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-rebaseFor 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_gptpart_msdosread regexp searchsearch_fs_filesearch_fs_uuidsearch_labelterminal terminfo test tftp timexen_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
Quoted 5 lines
And grub.config:
search.fs_label rootfs rootset prefix=($root)/boot/grub
configfile $prefix/grub.cfg
Would it be possible to update the wiki page on the hikey [1] with your latest finding?
Quoted 12 lines
Signed-off-by Konrad Rzeszutek Wilk <[email protected]>--- docs/misc/arm/early-printk.txt | 1 + xen/arch/arm/Rules.mk | 1 + 2 files changed, 2 insertions(+)docs/misc/arm/early-printk.txt +0
-0
docs/misc/arm/early-printk.txt the name of the machine: · line 52
Quoted 4 lines
docs/misc/arm/early-printk.txt +1
-0@@ -49,6 +49,7 @@ the name of the machine: - xgene-mcdivitt: printk with 820 on Xgene mcdivitt platform - xgene-storm: printk with 820 on Xgene storm platform - zynqmp: printk with Cadence UART for Xilinx ZynqMP SoCs + - hikey960: printk with pl011 with Hikey 960
Please order it alphabetically
xen/arch/arm/Rules.mk EARLY_PRINTK_vexpress := pl011,0x1c090000 · line 47
Quoted 12 lines
docs/misc/arm/early-printk.txt +0
-0These settings are is hardcoded in xen/arch/arm/Rules.mk, see there when adding support for new machines.xen/arch/arm/Rules.mk +1
-0@@ -44,6 +44,7 @@ EARLY_PRINTK_vexpress := pl011,0x1c090000 EARLY_PRINTK_xgene-mcdivitt := 8250,0x1c021000,2 EARLY_PRINTK_xgene-storm := 8250,0x1c020000,2 EARLY_PRINTK_zynqmp := cadence,0xff000000 +EARLY_PRINTK_hikey960 := pl011,0xfff32000
Ditto. With that:
Cheers,
[1] https://wiki.xenproject.org/wiki/HiKey
Signature · 6 lines
Julien Grall _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Stefano Stabellini
Reviewed-byQuoted 72 lines · Julien Grall
Hi Konrad,
Quoted 26 lines · Konrad Rzeszutek Wilk
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-rebaseFor 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_gptpart_msdosread regexp searchsearch_fs_filesearch_fs_uuidsearch_labelterminal terminfo test tftp timexen_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_MODULESQuoted 5 lines
And grub.config:
search.fs_label rootfs rootset prefix=($root)/boot/grub
configfile $prefix/grub.cfgWould it be possible to update the wiki page on the hikey [1] with your latest finding?
Quoted 12 lines
Signed-off-by Konrad Rzeszutek Wilk <[email protected]>--- docs/misc/arm/early-printk.txt | 1 + xen/arch/arm/Rules.mk | 1 + 2 files changed, 2 insertions(+)docs/misc/arm/early-printk.txt +0
-0docs/misc/arm/early-printk.txt the name of the machine: · line 52
Quoted 4 lines
docs/misc/arm/early-printk.txt +1
-0@@ -49,6 +49,7 @@ the name of the machine: - xgene-mcdivitt: printk with 820 on Xgene mcdivitt platform - xgene-storm: printk with 820 on Xgene storm platform - zynqmp: printk with Cadence UART for Xilinx ZynqMP SoCs + - hikey960: printk with pl011 with Hikey 960Please order it alphabetically
xen/arch/arm/Rules.mk EARLY_PRINTK_vexpress := pl011,0x1c090000 · line 47
Quoted 12 lines
docs/misc/arm/early-printk.txt +0
-0These settings are is hardcoded in xen/arch/arm/Rules.mk, see there when adding support for new machines.xen/arch/arm/Rules.mk +1
-0@@ -44,6 +44,7 @@ EARLY_PRINTK_vexpress := pl011,0x1c090000 EARLY_PRINTK_xgene-mcdivitt := 8250,0x1c021000,2 EARLY_PRINTK_xgene-storm := 8250,0x1c020000,2 EARLY_PRINTK_zynqmp := cadence,0xff000000 +EARLY_PRINTK_hikey960 := pl011,0xfff32000Ditto. With that:
Quoted 1 line
Acked-by Julien Grall <[email protected]>
I'll fix on commit.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 4 lines · Julien Grall
Hi Konrad,
Quoted 1 line · Konrad Rzeszutek Wilk
Introduce an earlyprintk configuration of Hikey 960 boards.
..snip..
Quoted 3 lines
Would it be possible to update the wiki page on the hikey [1] with your latest finding?
I added a whole new web-page:
https://wiki.xenproject.org/wiki/HiKey960
As the HiKey != HiKey960
[Also updated the landing page https://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions
to point to this new one]
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Hi Konrad,
Quoted 8 lines · Konrad Rzeszutek Wilk
Quoted 4 lines · Julien Grall
Hi Konrad,
Quoted 1 line · Konrad Rzeszutek Wilk
Introduce an earlyprintk configuration of Hikey 960 boards.
..snip..
Quoted 1 line
Quoted 7 lines
Quoted 2 lines
Would it be possible to update the wiki page on the hikey [1] with your latest finding?
I added a whole new web-page:
https://wiki.xenproject.org/wiki/HiKey960As the HiKey != HiKey960
Oh :). Fine then. Would you be up to do testing on this platform during RC?
If you can you add your name in [1]. This would help user to know the board has been tested with latest release.
Quoted 4 lines
[Also updated the landing page https://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions
to point to this new one]
Cheers,
[1] https://wiki.xenproject.org/wiki/Xen_ARM_Manual_Smoke_Test/Results
Signature · 6 lines
Julien Grall _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 14 lines · Julien Grall
Hi Konrad,
Quoted 11 lines · Konrad Rzeszutek Wilk
Quoted 4 lines · Julien Grall
Hi Konrad,
Quoted 1 line · Konrad Rzeszutek Wilk
Introduce an earlyprintk configuration of Hikey 960 boards.
..snip..
Quoted 3 lines
Would it be possible to update the wiki page on the hikey [1] with your latest finding?
Quoted 6 lines
Quoted 4 lines
I added a whole new web-page:
https://wiki.xenproject.org/wiki/HiKey960As the HiKey != HiKey960
Oh :). Fine then. Would you be up to do testing on this platform during RC?
Yes.
Quoted 5 lines
If you can you add your name in [1]. This would help user to know the board has been tested with latest release.
Quoted 1 line
Quoted 10 lines
Quoted 3 lines
[Also updated the landing page https://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions
to point to this new one]Cheers,
[1] https://wiki.xenproject.org/wiki/Xen_ARM_Manual_Smoke_Test/Results
Signature · 1 line
Julien Grall
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 15 lines · Konrad Rzeszutek Wilk
Quoted 14 lines · Julien Grall
Hi Konrad,
Quoted 11 lines · Konrad Rzeszutek Wilk
Quoted 4 lines · Julien Grall
Hi Konrad,
Quoted 1 line · Konrad Rzeszutek Wilk
Introduce an earlyprintk configuration of Hikey 960 boards.
..snip..
Quoted 3 lines
Would it be possible to update the wiki page on the hikey [1] with your latest finding?
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
I added a whole new web-page:
https://wiki.xenproject.org/wiki/HiKey960As the HiKey != HiKey960
Oh :). Fine then. Would you be up to do testing on this platform during RC?
Yes.
Thank you!
Quoted 15 lines
Quoted 15 lines
If you can you add your name in [1]. This would help user to know the board has been tested with latest release.
Quoted 4 lines
[Also updated the landing page https://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions
to point to this new one]Cheers,
[1] https://wiki.xenproject.org/wiki/Xen_ARM_Manual_Smoke_Test/Results
--
Julien Grall
Signature · 6 lines
Julien Grall _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel