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@kernel.org>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Acked-by: Julien Grall <julien.grall@arm.com>
- 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
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