Khadas vim3 compiles the complete emmc firmware from open source code

Hello, is there a tutorial for compiling emmc complete firmware from open source?

Hello @Foster

Please check here: VIM3/3L Build Ubuntu [Khadas Docs]

Thank you very much. However, I have already operated this page and made the emmc image, but I want to manually compile it by myself through the source code. Some options cannot be determined when compiling the kernel. Is there any relevant guidance?

@numbqq
When compiling vim3 linux kernel, my branch is khadas-vim3-p-64bit;
I first made make ARCH= arm64 kvim_defconfig, and then made make bzImage. There are still some configurations I need to select myself, I don’t know how to select them here…

Waht you want to do? If you want to change the kernel configurations, you can check the documentation below.

https://docs.khadas.com/products/sbc/vim3/development/linux/build-linux-kernel

@numbqq

Info: Installing base system - Stage 1/2
debootstrap --variant=minbase --include=locales,gnupg,ifupdown,apt-utils,apt-transport-https,ca-certificates,bzip2,console-setup,cpio,cron,dbus,init,initramfs-tools,iputils-ping,isc-dhcp-client,kmod,less,libpam-systemd,linux-base,logrotate,netbase,netcat-openbsd,systemd,sudo,ucf,udev,whiptail,wireless-regdb,dmsetup,rsync,tzdata,fdisk  --exclude=rsyslog            --arch=arm64 --components=main,universe --foreign focal /home/vm007/project/khadas/fenix/build/images/.tmp/rootfs-VIM3-focal-server/ http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/
I: Retrieving InRelease 
I: Retrieving Release 
E: Failed getting release file http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/dists/focal/Release
Cleanup...
Makefile:2: recipe for target 'all' failed
make: *** [all] Error 1

还有别的镜像地址吗?