Hi,
We would need to use UART2 in final stages of A-T-F. (UART0 and UART3 works fine)
We seem to be able to initialize and direct prints but nothing is transmitted at UART2 TX.
Have anybody successfully used UART2 for log prints ?
Thanks,
Stefan
---
/plat/hikey/platform.mk:
-CONSOLE_BASE := PL011_UART3_BASE
-CRASH_CONSOLE_BASE := PL011_UART3_BASE
+CONSOLE_BASE := PL011_UART2_BASE
+CRASH_CONSOLE_BASE := PL011_UART2_BASE
/plat/hikey/hikey_def.h:
+#define PL011_UART2_BASE 0xF7112000
Hi all,
After roughly went through Hikey's schematics, found BUCK1_1V05 is to
power on ACPU's domain; so i'm trying to create hardware profiling
enviornment for CPU's power consumtion on Hikey. Here i need some
suggestions before can move forward:
- I searched schematics file, have not found there have on-board power
measurement chip; so if Hikey has such current/power measurement chip,
could you help point out? This will be much easier for us to do
profiling (similiar with TC2 boards).
- If we need use external power monitor / power meter to measure the
SoC's power, could you give some recommendation? [1] is a good one
power monitor which i used before, but it's expensive (> 700$), so
just want to check if have other better choices.
[1] https://www.msoon.com/LabEquipment/PowerMonitor/
Thanks in advance,
Leo Yan
Hi,
I needed the kernel config changes below to cleanup most of
the 'missing' options found by the docker check-config script
when run on the Linaro 15.06 hikey kernel.
-Geoff
--- builds.96boards.org/releases/hikey/linaro/debian/15.06/kernel.config
+++ .config
@@ -112,8 +112,9 @@
CONFIG_CGROUPS=y
CONFIG_CGROUP_DEBUG=y
CONFIG_CGROUP_FREEZER=y
-# CONFIG_CGROUP_DEVICE is not set
-# CONFIG_CPUSETS is not set
+CONFIG_CGROUP_DEVICE=y
+CONFIG_CPUSETS=y
+CONFIG_PROC_PID_CPUSET=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_RESOURCE_COUNTERS=y
CONFIG_MEMCG=y
@@ -121,12 +122,13 @@
CONFIG_MEMCG_SWAP_ENABLED=y
CONFIG_MEMCG_KMEM=y
CONFIG_CGROUP_HUGETLB=y
-# CONFIG_CGROUP_PERF is not set
+CONFIG_CGROUP_PERF=y
CONFIG_CGROUP_SCHED=y
CONFIG_FAIR_GROUP_SCHED=y
-# CONFIG_CFS_BANDWIDTH is not set
+CONFIG_CFS_BANDWIDTH=y
CONFIG_RT_GROUP_SCHED=y
-# CONFIG_BLK_CGROUP is not set
+CONFIG_BLK_CGROUP=y
+# CONFIG_DEBUG_BLK_CGROUP is not set
# CONFIG_CHECKPOINT_RESTORE is not set
CONFIG_NAMESPACES=y
CONFIG_UTS_NS=y
@@ -239,6 +241,7 @@
# CONFIG_BLK_DEV_BSG is not set
# CONFIG_BLK_DEV_BSGLIB is not set
# CONFIG_BLK_DEV_INTEGRITY is not set
+# CONFIG_BLK_DEV_THROTTLING is not set
# CONFIG_BLK_CMDLINE_PARSER is not set
#
@@ -255,6 +258,7 @@
CONFIG_IOSCHED_NOOP=y
# CONFIG_IOSCHED_DEADLINE is not set
CONFIG_IOSCHED_CFQ=y
+# CONFIG_CFQ_GROUP_IOSCHED is not set
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="cfq"
@@ -539,6 +543,7 @@
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
CONFIG_NETFILTER_ADVANCED=y
+CONFIG_BRIDGE_NETFILTER=y
#
# Core Netfilter Configuration
@@ -572,6 +577,16 @@
CONFIG_NF_CT_NETLINK=y
# CONFIG_NF_CT_NETLINK_TIMEOUT is not set
# CONFIG_NETFILTER_NETLINK_QUEUE_CT is not set
+CONFIG_NF_NAT=y
+CONFIG_NF_NAT_NEEDED=y
+CONFIG_NF_NAT_PROTO_DCCP=y
+CONFIG_NF_NAT_PROTO_UDPLITE=y
+CONFIG_NF_NAT_PROTO_SCTP=y
+CONFIG_NF_NAT_AMANDA=y
+CONFIG_NF_NAT_FTP=y
+CONFIG_NF_NAT_IRC=y
+# CONFIG_NF_NAT_SIP is not set
+CONFIG_NF_NAT_TFTP=y
# CONFIG_NF_TABLES is not set
CONFIG_NETFILTER_XTABLES=y
@@ -597,10 +612,13 @@
# CONFIG_NETFILTER_XT_TARGET_LED is not set
# CONFIG_NETFILTER_XT_TARGET_LOG is not set
CONFIG_NETFILTER_XT_TARGET_MARK=y
+CONFIG_NETFILTER_XT_NAT=y
+CONFIG_NETFILTER_XT_TARGET_NETMAP=y
CONFIG_NETFILTER_XT_TARGET_NFLOG=y
CONFIG_NETFILTER_XT_TARGET_NFQUEUE=y
# CONFIG_NETFILTER_XT_TARGET_NOTRACK is not set
# CONFIG_NETFILTER_XT_TARGET_RATEEST is not set
+# CONFIG_NETFILTER_XT_TARGET_REDIRECT is not set
# CONFIG_NETFILTER_XT_TARGET_TEE is not set
CONFIG_NETFILTER_XT_TARGET_TPROXY=y
CONFIG_NETFILTER_XT_TARGET_TRACE=y
@@ -611,7 +629,7 @@
#
# Xtables matches
#
-# CONFIG_NETFILTER_XT_MATCH_ADDRTYPE is not set
+CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=y
# CONFIG_NETFILTER_XT_MATCH_BPF is not set
# CONFIG_NETFILTER_XT_MATCH_CGROUP is not set
# CONFIG_NETFILTER_XT_MATCH_CLUSTER is not set
@@ -642,6 +660,7 @@
# CONFIG_NETFILTER_XT_MATCH_OSF is not set
# CONFIG_NETFILTER_XT_MATCH_OWNER is not set
CONFIG_NETFILTER_XT_MATCH_POLICY=y
+# CONFIG_NETFILTER_XT_MATCH_PHYSDEV is not set
CONFIG_NETFILTER_XT_MATCH_PKTTYPE=y
CONFIG_NETFILTER_XT_MATCH_QTAGUID=y
CONFIG_NETFILTER_XT_MATCH_QUOTA=y
@@ -669,7 +688,11 @@
# CONFIG_NF_LOG_ARP is not set
# CONFIG_NF_LOG_IPV4 is not set
CONFIG_NF_REJECT_IPV4=y
-# CONFIG_NF_NAT_IPV4 is not set
+CONFIG_NF_NAT_IPV4=y
+CONFIG_NF_NAT_MASQUERADE_IPV4=y
+CONFIG_NF_NAT_PROTO_GRE=y
+CONFIG_NF_NAT_PPTP=y
+CONFIG_NF_NAT_H323=y
CONFIG_IP_NF_IPTABLES=y
CONFIG_IP_NF_MATCH_AH=y
CONFIG_IP_NF_MATCH_ECN=y
@@ -678,7 +701,10 @@
CONFIG_IP_NF_FILTER=y
CONFIG_IP_NF_TARGET_REJECT=y
# CONFIG_IP_NF_TARGET_SYNPROXY is not set
-# CONFIG_IP_NF_NAT is not set
+CONFIG_IP_NF_NAT=y
+CONFIG_IP_NF_TARGET_MASQUERADE=y
+CONFIG_IP_NF_TARGET_NETMAP=y
+# CONFIG_IP_NF_TARGET_REDIRECT is not set
CONFIG_IP_NF_MANGLE=y
# CONFIG_IP_NF_TARGET_CLUSTERIP is not set
# CONFIG_IP_NF_TARGET_ECN is not set
@@ -715,16 +741,20 @@
CONFIG_IP6_NF_RAW=y
# CONFIG_IP6_NF_SECURITY is not set
# CONFIG_IP6_NF_NAT is not set
+# CONFIG_BRIDGE_NF_EBTABLES is not set
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# CONFIG_RDS is not set
# CONFIG_TIPC is not set
# CONFIG_ATM is not set
# CONFIG_L2TP is not set
-# CONFIG_BRIDGE is not set
+CONFIG_STP=y
+CONFIG_BRIDGE=y
+# CONFIG_BRIDGE_IGMP_SNOOPING is not set
CONFIG_HAVE_NET_DSA=y
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
+CONFIG_LLC=y
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
@@ -777,7 +807,7 @@
# CONFIG_NET_CLS_RSVP is not set
# CONFIG_NET_CLS_RSVP6 is not set
# CONFIG_NET_CLS_FLOW is not set
-# CONFIG_NET_CLS_CGROUP is not set
+CONFIG_NET_CLS_CGROUP=y
# CONFIG_NET_CLS_BPF is not set
CONFIG_NET_EMATCH=y
CONFIG_NET_EMATCH_STACK=32
@@ -810,8 +840,8 @@
CONFIG_RPS=y
CONFIG_RFS_ACCEL=y
CONFIG_XPS=y
-# CONFIG_CGROUP_NET_PRIO is not set
-# CONFIG_CGROUP_NET_CLASSID is not set
+CONFIG_CGROUP_NET_PRIO=y
+CONFIG_CGROUP_NET_CLASSID=y
CONFIG_NET_RX_BUSY_POLL=y
CONFIG_BQL=y
# CONFIG_BPF_JIT is not set
@@ -1172,9 +1202,12 @@
CONFIG_BLK_DEV_DM=y
# CONFIG_DM_DEBUG is not set
CONFIG_DM_BUFIO=y
+CONFIG_DM_BIO_PRISON=y
+CONFIG_DM_PERSISTENT_DATA=y
+# CONFIG_DM_DEBUG_BLOCK_STACK_TRACING is not set
CONFIG_DM_CRYPT=y
# CONFIG_DM_SNAPSHOT is not set
-# CONFIG_DM_THIN_PROVISIONING is not set
+CONFIG_DM_THIN_PROVISIONING=y
# CONFIG_DM_CACHE is not set
# CONFIG_DM_ERA is not set
# CONFIG_DM_MIRROR is not set
@@ -1204,13 +1237,14 @@
# CONFIG_NET_FC is not set
# CONFIG_IFB is not set
# CONFIG_NET_TEAM is not set
-# CONFIG_MACVLAN is not set
+CONFIG_MACVLAN=y
+# CONFIG_MACVTAP is not set
# CONFIG_VXLAN is not set
# CONFIG_NETCONSOLE is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
CONFIG_TUN=y
-# CONFIG_VETH is not set
+CONFIG_VETH=y
CONFIG_VIRTIO_NET=y
# CONFIG_NLMON is not set
# CONFIG_ARCNET is not set
@@ -1593,7 +1627,7 @@
CONFIG_HW_CONSOLE=y
CONFIG_VT_HW_CONSOLE_BINDING=y
CONFIG_UNIX98_PTYS=y
-# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
+CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=16
# CONFIG_SERIAL_NONSTANDARD is not set
@@ -3254,12 +3288,18 @@
#
CONFIG_DCACHE_WORD_ACCESS=y
# CONFIG_EXT2_FS is not set
-# CONFIG_EXT3_FS is not set
+CONFIG_EXT3_FS=y
+CONFIG_EXT3_DEFAULTS_TO_ORDERED=y
+CONFIG_EXT3_FS_XATTR=y
+CONFIG_EXT3_FS_POSIX_ACL=y
+CONFIG_EXT3_FS_SECURITY=y
CONFIG_EXT4_FS=y
CONFIG_EXT4_USE_FOR_EXT23=y
-# CONFIG_EXT4_FS_POSIX_ACL is not set
+CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
# CONFIG_EXT4_DEBUG is not set
+CONFIG_JBD=y
+# CONFIG_JBD_DEBUG is not set
CONFIG_JBD2=y
# CONFIG_JBD2_DEBUG is not set
CONFIG_FS_MBCACHE=y
@@ -3757,7 +3797,7 @@
# CONFIG_CRC32_SARWATE is not set
# CONFIG_CRC32_BIT is not set
CONFIG_CRC7=y
-# CONFIG_LIBCRC32C is not set
+CONFIG_LIBCRC32C=y
# CONFIG_CRC8 is not set
CONFIG_AUDIT_GENERIC=y
CONFIG_AUDIT_ARCH_COMPAT_GENERIC=y
Hi,
Seems like LeMaker have designed their own version of a HiKey board:
http://www.lemaker.org/article-57-1.html
I'd hope this brings a better supply situation, as so far there seems to
have been rather a lack of such. One reason why I went with the
immediately available Dragonboard at that time.
Also I've spotted a borad named "LeMaker Bass" on their site, that
claims to have an Action Semi S900 SoC and is labeled 4/96:
http://www.lemaker.org/article-47-1.html
The description mentions "96boards compatible". I guess that means
compliance, for some definition of such.
Interesting times are ahead of us.
--
Thomas
Hi,
I am trying to flash my early access hikey board without success. I am
trying to boot the board in "install bootloader" mode with pin 1-2 and 3-4
installed. The USB device is getting registered but gets disconnected. I
can see others have faced similar issue but i can't find a fix for this
problem
dmesg log -
[ 6888.363849] usb 1-1.1: Product:
\xffffffe3\xffffff84\xffffffb0\xffffff84\xffffffb0\xffffffe3\xffffff8c\xffffffb2\xffffff8c\xffffffb2\xffffffe3\xffffff94\xffffffb4\xffffff94\xffffffb4\xffffffe3\xffffff9c\xffffffb6\xffffff9c\xffffffb6\xffffffe3\xffffffa4\xffffffb8\xffffffa4\xffffffb8
[ 6888.363853] usb 1-1.1: Manufacturer:
\xffffffe4\xffffff95\xffffff87\xffffff95\xffffff87\xffffffe4\xffffff95\xffffff8e\xffffff95\xffffff8e\xffffffe4\xffffffa5\xffffff8e\xffffffa5\xffffff8e
[ 6888.364651] option 1-1.1:1.0: GSM modem (1-port) converter detected
[ 6888.364923] usb 1-1.1: GSM modem (1-port) converter now attached to
ttyUSB0
[ 6888.837543] usb 1-1.1: USB disconnect, device number 11
[ 6888.837936] option1 ttyUSB0: GSM modem (1-port) converter now
disconnected from ttyUSB0
[ 6888.837996] option 1-1.1:1.0: device disconnected
--
Regards,
Amit Khare
Hi,
Just what it says in the Subject:
When is the dragonboard 410c going to be 96boards CE compliant?
Just /one/ example:
Schematics are still not available, although mandated by compliance spec.
Has anyone seen the compliance report of the board and could shed some
light on all those issues? I'd like to see it, if possible.
Thanks!
Thomas
Hi,
When I include mcuimage.bin from Apr 9 as bl30 in fip, my system gets caught in an endless reboot sequence.
I use latest HiKey ATF and it works fine without bl30.
With ATF from June it works fine to include bl30.
Is this expected behaviour ?
Thanks,
Stefan
Hi,
I need some help with EDK2 on HiKey (1). After updating my hikey_optee
project (2) with the latest 96boards/edk2 (3), I can't boot anymore. Is
Grub now required to boot Linux? It seems that boot menu entries are
hardcoded in (4), or am I missing something?. I could not really tell by
reviewing the commit logs. Well in any case I'm getting the following menu:
~~~~~~~~
Fail to start BootNext.
The default boot selection will start in 1 seconds
[1] fastboot
[2] grub on eMMC
[3] grub on SD
[4] Shell
[5] Boot Manager
Start:
~~~~~~~~
Entries 1-3 seem to do nothing, and just return to the same menu. Prior to
this, EDK2 would boot Linux immediately as en EFI application, thanks to
some entries in HiKey.dsc (5), which now seems to be ignored (are they
really? similar entries are still present in 96boards/hikey which tends to
indicate they're not obsolete).
What should I do to boot my kernel? I'd rather avoid adding Grub to the
boot sequence, which is already complex enough IMHO, but I can of course do
that if it is the recommended architecture. Now, if I could simply adjust
my HiKey.dsc, that would be great...
(1) https://github.com/96boards/edk2
(2) https://github.com/linaro-swg/hikey_optee
(3) https://github.com/96boards/edk2/commits/4984b34
(4)
https://github.com/96boards/edk2/blob/de234273/HisiPkg/HiKeyPkg/Drivers/HiK…
(5)
https://github.com/linaro-swg/edk2/blob/1690ce6/HisiPkg/HiKeyPkg/HiKey.dsc#…
Thanks,
--
Jerome
Hi folks,
For anyone who is interested there is a open source OpenOCD / GDB WIP debug
solution available for HiKey.
I've created a wiki page here
https://github.com/96boards/documentation/wiki/JTAG-on-HiKey
Which documents the hardware setup, where you can get the code, and a
overview of what is currently working.
Thanks to Philip Attfield who has already provided some patches to overcome
several issues I was facing with read_memory and GDB config.
Please feel free to update the wiki page with any additional info you find
out (thanks to Dan Thompson for already doing this), and patches making
OpenOCD support for HiKey even better are most welcome :)
regards,
Peter.