Is a HiKey 960 with 4GB LPDDR4 RAM still an Android reference board?


#1

Lenovator offers a HiKey 960 board with 4GB RAM, instead of 3GB.
Will this in anyway conflict with Google supporting it as a Android reference board ?


#2

Hi @Dokter_Bibber,

From the point of view of software, I don’t think the DDR size can impact the Android running, especially when the memory size is enlarged.

I have no 4GB DDR size board so cannot confirm the 4GB board can boot up with existed booting images, so rather than the software issue, I am not sure if the booting images can dynamically adjust the DDR timing setting for 4GB part. But sometimes we are lucky to use the exactly same setting for different DDR parts.

Please aware one thing is: if you are using ARM-TF/UEFI, even the hardware has 4GB RAM, but it’s possible to still only use 3GB RAM, this is caused by hardcoded in UEFI and UEFI finally pass parameters to kernel side: https://github.com/96boards-hikey/OpenPlatformPkg/blob/testing/hikey960_v1.3.4/Platforms/Hisilicon/HiKey960/HiKey960.dsc#L293


Debian Kernel issues with cpu/mem etc
#3

Hi @leo-yan,

..... not sure if the booting images can dynamically adjust the DDR timing setting for 4GB part. .....
This kind of stuff is what I'm afraid of that will cause it to be considered non-reference. It can cause all kinds of extra research and debugging. I'm trying to avoid compiling AOSP myself. But would compiling AOSP myself negate these issues ? Or will I have the same research and debugging issues ? (I realise that no one can say for sure.)
..... even the hardware has 4GB RAM, but it's possible to still only use 3GB RAM, .....
This I can live with. ;)

#4

I am afraid we cannot build for DDR related code, this part I don’t know well, but from my understanding the DDR initialization should be included in either the sec_xloader.img [1] or MCU firmware [2]. These two images both are prebuilt images.

[1] https://github.com/96boards-hikey/tools-images-hikey960/blob/master/sec_xloader.img
[2] https://github.com/96boards-hikey/tools-images-hikey960/blob/master/lpm3.img


#5

Of course. I understand.

To avoid all these potential issues I’m going to look, elsewhere, for a HiKey 960 with 3GB.

Thanks for your help. Appreciated!


#6

So, Have you found a way to get all 4GB runing on Debian?


#7

I didn’t try. Instead I bought a 3GB version from https://www.innet24.de/.


#8

I can’t speak for running Debian, but we have a custom AOSP build working just fine on both the 3GB and 4GB boards without modification.


#9

Hey guys,

One new patch has been merged into UEFI for Hikey960, with this patch I verified it can support 4GB DDR RAM on my Hikey960 board: https://github.com/96boards-hikey/OpenPlatformPkg/commit/a43622af2f0adf1107225430478141f378217187

Suggest you could monitor the latest UEFI building images for new building so can support 4GB hikey960 board: https://snapshots.linaro.org/96boards//reference-platform/components/uefi-staging/latest/hikey960/release/


#10

Alas I already went for a 3GB version.
But I appreciate your effort. It shows the good service you get when buying a HiKey board.
Thanks.