Linux on this board

The forum is in Chinese…
reply button on that forum apparently gives some error.

I’ve repacked it with my own ptable.img (expand to 59G, instead of 4G system)
and upload it to Google driver.

is not updated anymore. maybe hoperun or smartfire can post a pull request?

Install firmware-ti-connectivity can make the wifi working.
sudo apt-get install firmware-ti-connectivity

I tried flashing this. It fails while flashing the system partition.

Can you show me some log?
It takes about 1500 seconds to complete the flash of system.img on my board.
And I found it sometimes failed while without fan cooling.

It fails immediately after the fastboot flash system rootfs.sparse.img. I don’t have access to the board till Monday. I’ll send the log after I flash it again on Monday.

Here are the logs for it.

nishant@nishant-HP-15-Notebook-PC:~/Downloads/hikey970_debin_0531_support_uvc 2/hikey970_debin_0531_support_uvc$ sudo fastboot devices
[sudo] password for nishant:
62E4620402504123 fastboot
nishant@nishant-HP-15-Notebook-PC:~/Downloads/hikey970_debin_0531_support_uvc 2/hikey970_debin_0531_support_uvc$ sudo fastboot flash xloader sec_xloader.img
target reported max download size of 134217728 bytes
sending ‘xloader’ (164 KB)…
OKAY [ 0.005s]
writing ‘xloader’…
OKAY [ 0.148s]
finished. total time: 0.154s
nishant@nishant-HP-15-Notebook-PC:~/Downloads/hikey970_debin_0531_support_uvc 2/hikey970_debin_0531_support_uvc$ sudo fastboot flash ptable 64gtoendprm_ptable.i
mg
target reported max download size of 134217728 bytes
sending ‘ptable’ (24 KB)…
OKAY [ 0.001s]
writing ‘ptable’…
OKAY [ 0.005s]
finished. total time: 0.006s
nishant@nishant-HP-15-Notebook-PC:~/Downloads/hikey970_debin_0531_support_uvc 2/hikey970_debin_0531_support_uvc$ sudo fastboot flash fastboot l-loader.bin
target reported max download size of 134217728 bytes
sending ‘fastboot’ (1152 KB)…
OKAY [ 0.033s]
writing ‘fastboot’…
OKAY [ 0.060s]
finished. total time: 0.093s
nishant@nishant-HP-15-Notebook-PC:~/Downloads/hikey970_debin_0531_support_uvc 2/hikey970_debin_0531_support_uvc$ sudo fastboot flash fip fip.bin
target reported max download size of 134217728 bytes
sending ‘fip’ (1224 KB)…
OKAY [ 0.034s]
writing ‘fip’…
OKAY [ 0.062s]
finished. total time: 0.097s
nishant@nishant-HP-15-Notebook-PC:~/Downloads/hikey970_debin_0531_support_uvc 2/hikey970_debin_0531_support_uvc$ sudo fastboot flash boot boot2grub.uefi.img
target reported max download size of 134217728 bytes
sending ‘boot’ (65536 KB)…
OKAY [ 1.703s]
writing ‘boot’…
OKAY [ 0.609s]
finished. total time: 2.312s
nishant@nishant-HP-15-Notebook-PC:~/Downloads/hikey970_debin_0531_support_uvc 2/hikey970_debin_0531_support_uvc$ sudo fastboot flash system rootfs.sparse.img
target reported max download size of 134217728 bytes
erasing ‘system’…
FAILED (remote: Check device console.)
finished. total time: 0.000s

FAILED (remote: Check device console.)

see anything came from your console?

Here is the console output:

Downloading 167936 bytes
167936 / 167936 bytes downloaded (100%)
Flashing partition xloader
Done.
Downloading 24576 bytes
24576 / 24576 bytes downloaded (100%)
Flashing partition ptable
Done.
Downloading 1179648 bytes
1179648 / 1179648 bytes downloaded (100%)
Flashing partition fastboot
Done.
Downloading 1254292 bytes
1254292 / 1254292 bytes downloaded (100%)
Flashing partition fip
Done.
Downloading 67108864 bytes
67108864 / 67108864 bytes downloaded (100%)
Flashing partition boot
Done.
Erasing partition system

It fails after this.

Can you try this ubuntu build?

I’m still having the same problem. The rfs fails.

Please follow the step here:

Hi @janrinze. Did you get the working kernel source?
This Kernel source doesn’t work for me.

The kernel sources I use are on my github. also the ones from hoperun are updated.
It still baffles me why the usb-C serial does show console but cannot be used for input.
Input is for example useful with grub or just a linux console…

finally managed to get a fb console.
the magic is in the kernel command string.
After enabling the fbconsole in the kernel there was no video and i finally found a hint in some forum that suggested to try to manually set the video output with:

drm_kms_helper.edid_firmware=edid/1920x1080.bin video=HDMI-A-1:1920x1080@60e

This actually worked!
So the mystery is solved, drm does not know how to setup the video and with this commandline addition it is told to use the proper screen mode and HDMI output.

hopefully the arm mali drivers will become available for this board.
Such a shame that the G72 mali sits idle while running X.

So now you can write through the uart?

not using uart,
I use a HDMI monitor and USB keyboard , USB mouse connected to hikey970.
Alternatively i use ssh to login from another linux machine.