Can you please share the buster image. Does it have the pcie related changes from mtk that is included in the 5.8-rc version I am using. Also while compiing the 5.8-rc image I had enable the CONFIG_DMA_SHARED_BUFFER.
Alternatively if I can recompile my 5.8-rc kernel for debian-buster what all I need to set up in the config and build.sh.
Also as per the build.sh following is the pack_debs
function pack_debs {
get_version
echo "pack linux-headers, linux-image, linux-libc-dev debs..."
echo "LOCALVERSION=${gitbranch} board=$board ARCH=$ARCH CROSS_COMPILE=$CROSS_COMPILE"
LOCALVERSION="${gitbranch}" board="$board" make bindeb-pkg
ls ../*.deb
}
Is there a way we can add a specific version like 2.27.
Link to gdrive is in first post of that thread. You have to replace kernel like you did it with your current image
Compiling with pack_debs creates a libc deb,but i don’t know if this enough. So i suggest using debian buster and install your currrent built kernel there
The R64 boots fine with the above image but as soon as I create a new kernel (even with no additional config options just what importconfig creates), I get the following booting into BPI:
Image Name: Linux Kernel 5.10.34-main
Image Type: AArch64 Linux Kernel Image (uncompressed)
Data Size: 15165448 Bytes = 14.5 MiB
Load Address: 40080000
Entry Point: 40080000
Verifying Checksum … OK
Unsupported Architecture 0x16
ERROR: can’t get kernel image!’
I have re-compiled on different trees and branches with default and different options to no avail. When changes uENV back to Uimage and standard dtb all goes well, but I need some addidiontal kernel configs.
Anyone had this issue before?
For images with old bootchain (imho all except my new debian image) you need to generate armhf (32bit) uImage (with aarch64 kernel) and load dtb separately. So only change board in build.conf and not uimagearch
Then install not fit but uImage and dtb
Have tried new way with fit in last time…need to look if i have an old card somewhere ready
But it looks like you have enabled the uimagearch=aarch64 option,so uImage container is 64bit instead of 32bit
Just for explaination:
Old uboot (and my if built for old bootchain) is 32bit,unpacks uImage (container) into memory,elevates to 64bit-mode (jumparch target in old atf) and the boot 64bit linux kernel.
New bootchain is always in 64bit mode (uboot itself is packed as fip). So there is no elevation and here container (fit image) is 64bit too.
Another way was using a other atf which can boot 64bit uboot that can load only 64bit uimage
On the BPI-R64 specification confused me, telling only one mini PCIe interface. Does the both mini PCIe port works, if I attach the 4G modem and WIFI module on both ports, or two wifi mini pcie modules?