I was following Build AOSP on HiKey970 - 96Boards to build image for hikey970 , but encountered some problems when running ‘mm -j 16’.
…
“fs_config_generator.py fsconfig: error: argument --all-partitions: expected one argument”
…
I googled the error, very few search results, and none could help on the error.
Edit 1 : fixed by adding two ‘’ to out/build-hikey970.ninja.
continue to mm -j 16
then error about “hostapd (token) error…”
fixed by merge the following patch.
https://android-git.linaro.org/device/linaro/dragonboard410c.git/commit/?h=dragonboard&id=dbe30cae1ef227860089e1840aeb1cd140c0003a
Then continue
git clone https://github.com/96boards-hikey/tools-images-hikey970.git
$ cd tools-images-hiKey970
there are build_kernel.sh, I copied the file to aosp root dir, and executed:
./build_kernel.sh
Then continue, burn system/boot/cache/userdata images, but boot still failed with the last part log,
"
[ 18.928587] [I/hisi_pd] PE:TYPE-C Only Charger!
[ 18.933267] [E/hisi_pd] pd_dpm_handle_pe_event:!!!,event=3,+++
[ 18.939115] [I/hisi_pd] pd_dpm_report_pd_sink_vbus : Sink 5000 mV, 500 mA
[ 18.945910] [E/hisi_pd] pd_dpm_vbus_notifier_call: pd_dpm_vbus_notifier_call!!!,++++
[ 18.953676] [E/hisi_pd] pd_dpm_handle_pe_event:!!!,event=8,+++
[ 72.147111] random: crng init done
"
any way to fix this ?