Open Thugmek opened 2 months ago
So I was completely wrong about bumping kernel to other version. There is custom patched kernel repo, where is version 3.4 only. I have never worked with buildroot before, so it's little confusing for me, sorry. I have tried to build it with bootlin and buildroot toolchains, which didn't produce any error, but also didn't produce any output image. It did something for quite long time, but something is clearly missing.
I have got device with Anyka AN3918EN080V300S SoC and I have tried to build OpenIPC firmware for it. I have got following error:
By further investigation, I have found, there is no longer
arm926t-gcc-musl-3_4.tgz
inhttps://github.com/OpenIPC/firmware/releases/tag/latest
, but versions for different kernel version are available. I have bumped kernel version to 4.9.129 by changingto
and
to
in
br-ext-chip-anyka/configs/ak3918ev300_lite_defconfig
Then, I have got bunch of errors while compiling wireguard, complaing abot wireguard requires kernel version >= 3.10. I'm pretty sure kernel 4.9 >= 3.10, I have also tried kernel 3.18, but it didn't helped. I don't need wireguard, so I have removed
from
br-ext-chip-anyka/configs/ak3918ev300_lite_defconfig
, which helped and build was successfullThis is, where my success currently ends. On SD card, I have made FAT partition p1 and copied uImage to it as file. Then I have made empty partition p2 and copied generated squashfs to it with
dd
. I'm trying to boot from the SD card withbut I'm getting
Kernel panic - not syncing: cpu pll clk: 708(Mhz) is unusable
. I think, this is some misconfigured sanity check, because on original firmware, the clocks are configured also for 708Mhz, as reported during kernel startup:I will continue in my work and will report progress. If you have any hints, I will appreciate them. If you want some additional information, feel free to ask.