Just for anyone interested, I've been releasing experimental disk images
of CoreOS [1] for the HiKey ARM64 developer board. These images
currently have about 90% of the packages in the CoreOS developer build.
See the README at https://github.com/glevand/hikey-coreos.
[1] https://coreos.com/
-Geoff
hello there,
A new kernel branch for the HiKey is now available: hikey-mainline-rebase,
which is now v4.4-rc3 based. That's a start (meaning there are issues), but
topics and patches are keep coming. Goal here is to make HiKey finally land
linus' tree.
What’s new in this release?
* Based on Linux kernel v4.4-rc3
* Debian Jessie developer image, with HDMI console.
* patches are upstreaming targeted, and
* managed by topic branches, for easy rebase to latest kernel
* topics include:
hikey-tracking-dts
hikey-tracking-gpio
hikey-tracking-pmic
hikey-tracking-mmc
hikey-tracking-wifi
hikey-tracking-usb
hikey-tracking-adv7511
hikey-tracking-drm
hikey-tracking-pm
What to expect in soon future?
* topic on iommu, bt
* new builds: Debian Jessie ALIP image
* new builds: AOSP (Android M)
* patches be accepted by mainline.
Resources:
For kernel source code, ref:
https://github.com/96boards/linux/tree/hikey-mainline-rebase
For download of Debian developer image, ref:
https://builds.96boards.org/snapshots/hikey/community/hikey-mainline-rebase…
For UEFI to use with this snapshots build, ref:
https://builds.96boards.org/releases/hikey/linaro/binaries/15.11/
For documentation about everything of HiKey, please ref:
https://github.com/96boards/documentation/wiki/HiKey
Support & Bug Report:
For general question or support request, please go to 96boards Community
forum:
https://www.96boards.org/forums/forum/products/hikey/
<https://www.96boards.org/dragonboard410c/forum>
For any bug related to this release, please submit issues to the
96Boards Bug tracking system:
https://bugs.96boards.org/enter_bug.cgi?product=HiKey
Finally, to get in touch with us, you can also use IRC:
#96boards on irc.freenode.net
On behalf of the Linaro HiSilicon Landing team,
cheers,
Guodong
Hi,
Does anyone run KASan on db410c successfully? I merged arm64-upstream branch
over integration-linux-qcomlt, and enable KASan feature, compiled with gcc 5.1.
But the kernel hanged before start_kernel(), no log output.
Please tell me if I miss something here.
Pingbo
We are happy to announce the 15.12 release for the reference software
platform project!
This is our second release and for the first time also including
support for the Enterprise Edition. Since there is still no
availability for the 96Boards HuskyBoard, the first EE RPB was
produced using the current enterprise development boards that are
available in Linaro, such as HiSilicon D02 and AMD Overdrive (same SoC
from HuskyBoard, known as Seattle). Once HuskBoard is available, the
work for making it supported by the EE RPB should be minimal.
A lot of work was put in place for the EE RPB, covering firmware
(UEFI/EDK2), Linux 4.4 (with ACPI), Debian Jessie/CentOS 7 network
installers, OpenStack Liberty, Hadoop, Spark and a few others,
consolidating the work from several other Linaro groups and teams as
well as from community and members.
For the Consumer Edition the CE AOSP RPB for Hikey is now using a 4.1
based kernel, closer to what is provided directly by AOSP. We decided
to not push major updates and rebases for the CE Debian RPB kernel
since we want the changes to follow the same kernel policy as used by
the EE kernel (https://github.com/96boards/documentation/wiki/RP-Kernel-Policy).
The goal of having one single tree for both CE and EE, with a strict
upstream-based policy, will continue, and we hope to have more news on
that in the upcoming weeks.
The work for the CE OE/Yocto RPB was also started, but unfortunately
not yet covering single 96boards machine (due lack of a common
kernel). Please check https://github.com/96boards/meta-rpb and
https://github.com/96boards/oe-rpb-manifest to see what is already
done for OpenEmbedded.
Highlights for this release:
Enterprise Edition:
- UEFI/EDK2 support for D02, provided by OpenPlatformPkg
- 4.4-rc4 based kernel, including support for D02 and Overdrive
- ACPI support for D02 and Overdrive (mandatory for the enterprise edition)
- Debian 8.2 "Jessie" network installer (using the 4.4-rc4 based
kernel). CentOS 7 network installer available in alpha state.
- Components:
* Docker 1.9.1
* OpenStack Liberty
* ODPi BigTop (Hadoop, Spark, etc)
* OpenJDK 8
Consumer Edition:
CE Debian RPB for DragonBoard410 and HiKey (including support for the
LeMaker version):
- Debian 8.2 “Jessie”
- 4.3 kernel (with additional patches)
- OpenJDK 8 included by default
- 96Boards artwork and default settings
CE AOSP RPB for HiKey (including support for the LeMaker version):
- AOSP Android Marshmallow 6.0
- 4.1 based kernel
Install instructions, known issues, test reports and instructions to
build from source are all published at
https://github.com/96boards/documentation/wiki/RP-Release-2015.12.
Please also check
https://github.com/96boards/documentation/wiki/ReferenceSoftwareEE for
documentation covering the components released as part of the EE RPB.
For general questions or support requests, please go to the
96boards.org Community forum (https://www.96boards.org/forums/). For
development questions and topics, please use the 96Boards.org
development mailing-list (dev(a)lists.96boards.org).
For bugs related to the 96Boards platforms, please use the 96Boards
bug tracking system (https://bugs.96boards.org/). For bugs related to
the reference software platform release, but on development boards
that are not officially part of 96Boards, please use
https://bugs.linaro.org instead (e.g. AMD Overdrive and HiSilicon
D02).
For IRC support, please go to the #96boards channel at Freenode.
Challenges for the next release (15.03):
- Add support for HiKey and Dragonboard410c at our common 96Boards
kernel tree (by following
https://github.com/96boards/documentation/wiki/RP-Kernel-Policy)
- Extended support for CE OE/Yocto
- Support for CE AOSP for Dragonboard410c (with freedreno)
- Compliance process and check-list
We hope you enjoy the release!
On behalf of the Linaro 96Boards team,
Ricardo Salveti
Hi all,
I found that the arm64 kernel doesn't support for compressed kernel image.
In this way, the bootimage with android may be much bigger than compressed version.
Who can tell the reason of this? I will be appreciated it!
Feng,
This allows the bootloader to user a reserved page to
read if the kernel requested we boot into fastboot
mode or normal bootup.
This allows users to reboot into fastboot mode w/o
having to modify jumpers on J15
This change requires the kernel to support the
communication of the reboot reason to the bootloader.
I'm really not sure the method I'm using here is right
(ie: setting a pointer to a physaddr and reading/writing
to it). So any extra feedback or review would be
appreciated!
Cc: Vishal Bhoj <vishal.bhoj(a)linaro.org>
Cc: haojian.zhuang(a)linaro.org
Cc: guodong.xu(a)linaro.org
Signed-off-by: John Stultz <john.stultz(a)linaro.org>
---
.../HiKeyPkg/Drivers/HiKeyDxe/InstallBootMenu.c | 26 ++++++++++++++++++++++
HisiPkg/HiKeyPkg/Library/HiKeyLib/HiKeyMem.c | 1 +
2 files changed, 27 insertions(+)
diff --git a/HisiPkg/HiKeyPkg/Drivers/HiKeyDxe/InstallBootMenu.c b/HisiPkg/HiKeyPkg/Drivers/HiKeyDxe/InstallBootMenu.c
index 84fdea1..90507d2 100644
--- a/HisiPkg/HiKeyPkg/Drivers/HiKeyDxe/InstallBootMenu.c
+++ b/HisiPkg/HiKeyPkg/Drivers/HiKeyDxe/InstallBootMenu.c
@@ -375,6 +375,31 @@ HiKeyTestLed (
}
}
+
+#define REBOOT_REASON_ADDR 0x05F01000
+#define REBOOT_REASON_BOOTLOADER 0x77665500
+#define REBOOT_REASON_NONE 0x77665501
+STATIC
+VOID
+EFIAPI
+HiKeyDetectRebootReason (
+ IN VOID
+ )
+{
+ UINT32 *addr = (UINT32*)REBOOT_REASON_ADDR;
+ UINT32 val;
+
+ val = *addr;
+ /* Check to see if "reboot booloader" was specified */
+ if (val == REBOOT_REASON_BOOTLOADER) {
+ mBootIndex = 0;
+ }
+ /* Write NONE to the reason address to clear the state */
+ *addr = REBOOT_REASON_NONE;
+
+ return;
+}
+
STATIC
VOID
EFIAPI
@@ -540,6 +565,7 @@ HiKeyOnEndOfDxe (
}
HiKeyDetectJumper ();
+ HiKeyDetectRebootReason ();
// Check boot device.
// If boot device is eMMC, it's always higher priority.
diff --git a/HisiPkg/HiKeyPkg/Library/HiKeyLib/HiKeyMem.c b/HisiPkg/HiKeyPkg/Library/HiKeyLib/HiKeyMem.c
index d7d15b5..e0ae73f 100644
--- a/HisiPkg/HiKeyPkg/Library/HiKeyLib/HiKeyMem.c
+++ b/HisiPkg/HiKeyPkg/Library/HiKeyLib/HiKeyMem.c
@@ -37,6 +37,7 @@ STATIC struct HiKeyReservedMemory {
EFI_PHYSICAL_ADDRESS Size;
} HiKeyReservedMemoryBuffer [] = {
{ 0x05E00000, 0x00100000 }, // MCU
+ { 0x05F01000, 0x00001000 }, // ADB REBOOT "REASON"
{ 0x06DFF000, 0x00001000 }, // MAILBOX
{ 0x0740F000, 0x00001000 }, // MAILBOX
{ 0x3E000000, 0x02000000 } // TEE OS
--
1.9.1
Trying to update firmware on a hikey that was previously running
u-boot just fine, I followed the "Board Recovery" section of the
Getting Started page[1], but end up with the init sequence getting
stuck in TEE-CORE init (console log below[2])
Any ideas what's going wrong?
I'm trying to update the firmware so I get serial output on the UART
board. I'm currently only using the UART pins on the main board.
Kevin
[1] https://github.com/96boards/documentation/wiki/HiKeyGettingStarted#section-4
[2]
debug EMMC boot: print init OK
debug EMMC boot: send RST_N .
debug EMMC boot: start eMMC boot......
load fastboot1!
Switch to aarch64 mode. CPU0 executes at 0xf9801000!
INF TEE-CORE:init_primary_helper:322: Initializing (2f04385 #2 Sat Nov
28 10:50:14 UTC 2015 aarch64)
INF TEE-CORE:init_teecore:81: teecore inits done
Hi all,
If you met the follow issue while booting hikey kernel.
Synchronous Exception at 0x00000000374D0C30
Synchronous Exception at 0x00000000374D0C30
Synchronous Exception at 0x00000000374D0C30
Please add KCFLAGS=-fno-pic and try it again.