Hi, by any chance, does this release support Xen? I have posted on another thread regarding my failure to booting Xen with this release. Whereas, I have had success booting Xen using an earlier image extracted from linaro-stretch-developer-20180416-89.tar.gz. As my boot log has shown, this release does not provide a workaround for Xen’s scheduler to handle big.LITTLE. I have tried passing hmp-unsafe=true and dom0_vcpus_pin=true to the Xen command line to no avail. I appreciate if you or someone in the community could shed some lights on this. Thanks,
@Mani, can you please let me know where to get the source for the kernel, as i am trying to built the perf tool for it. Thanks
I tried compiling your kernel today and ran into a small build issue. The one-liner in this link fixes it:
Just build and installed the kernel debian package 5.0 and 5.1.0-rc6 on the image: http://snapshots.linaro.org/96boards/hikey/linaro/debian/30/
on both SD card and UFS and I see the same issue
the boot process for 5.0 stops at:
for 5.1 kernel:
the same kernel are working fine in android enviroment with the same boards, any hint?
Try to enable early console via kernel cmd line (
Hi @Mani, since I’m looking at the latest debian should be “30” from http://snapshots.linaro.org/96boards/hikey/linaro/debian/ is the kernel 4.19.5 in this release or in previous one? also sd card image has that kernel? Thanks
Yes, release 30 is based on 4.19.5 kernel but there is no SD card image.
sorry @mani but i see http://snapshots.linaro.org/96boards/hikey/linaro/debian/30/linaro-stretch-developer-hikey-20190420-30.sd.gz , am I in the right repo?
@francesco_camarda I should’ve clarified. We do have SD card image but it is not tested on Hikey960!
@mani …I tested it and was not working, the latest working kernel for debian sd for me is the 4.18.
So i will try the UFS debain image, Thanks! F.
@mani, the UFS image is fine, the SD card one is freezing @:
[ 3.854640] Run /init as init process Loading, please wait... [ 3.867323] mmc_host mmc1: Bus speed (slot 0) = 25000000Hz (slot req 25000000Hz, actual 25000000HZ div = 0) starting version 232 [ 3.878666] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 3.879818] random: udevadm: uninitialized urandom read (16 bytes read) [ 3.880183] mmc1: new SDIO card at address 0001 [ 3.886518] random: systemd-udevd: uninitialized urandom read (16 bytes read)
where the kernel seems to init the mmc card another time.
Hi Mani, are you going to test the SD card image too? Is there any instruction or suggestion that you could provide to make the SD image boot?
@Mani I am also unable to boot 4.19.5 via SD card on hikey960. UEFI hangs in console when any SD card is present at boot.
Next debian image build (#34) should boot from SD without any issues.
Sorry for the long delay.
To build we should:
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- defconfig distro.config
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j24
BUT and how to flash this new kernel to the board ?
/boot in the board doesn’t have a DTB , so I assume I have to glue together with the kernel image, but how to do that ?
How to generate this files :
root@linaro-developer:~# ls -l /boot/
-rw-r–r-- 1 root root 4770026 Dec 17 2018 System.map-4.19.5-hikey
-rw-r–r-- 1 root root 184190 Dec 17 2018 config-4.19.5-hikey
drwxr-xr-x 3 root root 16384 Jan 1 1970 efi
drwxr-xr-x 5 root root 4096 Jul 20 09:55 grub
-rw-r–r-- 1 root root 4276427 Jul 20 09:55 initrd.img-4.19.5-hikey
-rw-r–r-- 1 root root 8728842 Dec 17 2018 vmlinuz-4.19.5-hikey
Couple of options:
- Build the kernel and modules as a debian package and install it on the board. More info here: https://github.com/96boards/documentation/blob/master/consumer/hikey/hikey620/build/linux-kernel.md#build-the-linux-kernel
This is the preferred option. Only thing to make sure here is to copy the
dtb to the board and modify the boot parameters at grub.
- Copy the
vmlinuz*to SD card’s boot partition and copy the modules to rootfs partition. Then modify the grub parameters to pass the correct dtb as mentioned in the guide I shared above.
Is there a patch to enable support for I2S0 , the I2S at the low speed connector ?
Hi, I tried to update Kernel to 5.1-rc6 using option 1 but I have this issue at start:
Loading Linux 5.1.0-rc6 …
Loading initial ramdisk …
EFI stub: Booting Linux Kernel…
EFI stub: EFI_RNG_PROTOCOL unavailable, no randomness supplied
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services and installing virtual address map…
Platform exception reporting:
Never seen an issue like this. Did you update UEFI and base firmware to the latest ones available?