borodiliz / docker-yi-hack

This docker image provides a development environment for the https://github.com/roleoroleo/yi-hack-MStar which is maintained by @roleoroleo. All the necessary tools to build the project are provided by this docker image.
5 stars 2 forks source link

Requeriments to compile the kernel #1

Open naeloob opened 4 years ago

naeloob commented 4 years ago

Hi, this docker lacks bc needed to compile the kernel. It would be perfect if you add it. Just apt install bc

naeloob commented 4 years ago

Another thing neeeded to compile the kernel is libc6 (64Bits) :

dpkg --add-architecture amd64
apt update
apt-get install libc6:amd64

This way scripts/mkimage works.

borodiliz commented 4 years ago

Thanks @naeloob . Could you share what kernel / config / steps to build are you doing so I can reproduce your needs?

naeloob commented 4 years ago

Of course... The SDK containing the kernel sources 3.18 is this : https://dl.openipc.org/SDK/MStar/MStar-MSC3XX-SDK-toolchain.tgz I've used your docker to compile busybox, and now i'm trying to compile the kernel. The instruccions are :

export ARCH = arm
export CROSS_COMPILE = arm-linux-gnueabihf-
make infinity3_defconfig
make clean; make

In the make process of the kernel is required :

Regards

naeloob commented 4 years ago

Another thing needed is CPIO : apt-get install cpio

borodiliz commented 4 years ago

@naeloob can't download MStar-MSC3XX-SDK-toolchain.tgz . Could you provide file or another link?

boxofrox commented 2 years ago

In the event someone tries to continue this endeavor, it looks like the OpenIPC site reorganized.

OpenIPC download page for MStar: https://openipc.org/cameras/vendors/mstar/socs/msc313e

And provides links for kernel source, buildroot toolchain, and bootloader binary.