I think this part is mainly a copy & past from bpi1 to bpi3 and I meanwhile try to avoid those scripts.
U-boot sits in the first 100MB of the boot partition. So I essentially dd the content of ./SD/bpi-m64/100MB/BPI-M64-720P-linux4.4-8k.img.gz in the build folder to this partition.
This however is essentially packed together from from the files in e.g. ./out/tulip-m64/.
When I get home I will try to precise that a bit more clear…
Thanks for the reply.
I see the device doesn’t have any os by default and it doesn’t have a uboot or bootloader of its own when i try to power up. Nothing comes on. Will try with uart.
Also will try pine64+ img tonight and see how it responds
The packed file BPI-BOOT-*.tgz essentially is what belong on the boot partition, including uImage and uInitrd.
Usually you only need to take care of the files in the SD folder, where all the packed files are copied over from the build folders.
Files related to boot partition, bootstrap and u-boot are prepared in the foloowing folder
Indeed, the M64 comes naked without anything pre-installed.
You might try the Armbian images, but I had to stick till now with the 4.4-kernel build as this was the only one with sources available that booted for me.
I am trying the Arch Linux version from pine64 A64+ will report if it boots.
Also I would need someone from bananapi team to advice me on the bootloader files needed to boot. frank have made a good guide and a single 1MB bootloader img instead of 3 imgs to be flashed.
Thanks for your response and support.
My goal for this board is a Media Streaming Server using a PiFi DAC+ v2 via i2s for audio output and a 320x240 LCD via i2c as display. Additionally it is planned to be able to stream to BT headphones.
The M64 might be a bit overkill for this particular usecase, but I wanted enough headroom for future extensions. Additionally I try to get back to Linux programming as I haven’t made much use of them since 2000.
I was considering to also get something like the R2 board as Home Automation and Security Box.
BPI-M64-bsp-4.4(kernel 4.4) is the only bsp code support by bpi, it’s base on allwinner official release souce code(https://github.com/Allwinner-Homlet). Actually allwinner does not support linux, and this code have the special structure of bootloader, some binary code for bootloader build and pack, you can check BPI-M64-bsp-4.4/scripts/pack_img.sh for more detail.
In wiki, kernel 4.19 image is armbian build, which is base on mainline kernel 4.19, and other kernel 5.x image is mainline build.
Thank you for the reply, But this doesn’t seem very helpful.
I see there is no update on M64 source code from BPI Git and also Allwinner git since long time.
I am going through other similar devices and use those patches.
@sinovoip Hi
I have been testing M64 with older and newer kernel as well as uboots.
My tests are explained here.
Kernel 4.4 Works fine with anarsouls image for pine64-A64+ and also Avafingers Ubuntu with kernel 4.4 and older uboot but wifi/bt doesnt work this means v1.2 have newer chips.
As per Avafinger his Kernel 5.2 works fine on M64-Version1 and I have M64-version1.2 and his 5.2 doesnt seem to boot on V1.2.
Can you advice why the latest uboot and kernel5.2 is not working on v1.2 but same works fine on V1.
Please advice, As I have been testing it for so many hours but couldn’t figure out. If only you can tell us what have changed between V1 and V1.2, it would be helpful
new DRAM chips with a lower value from 672 to 576, that was the fix but you told that did not work, so must be something else. Maybe DRAM settings should be even lower than this…
new eMMC version 5.0 (or 5.1, or another version)
BTW, the BPI BSP kernel (github) does not build DRM support (at least for LCDs)
BPI has Grub and u-boot that seem to be working on their video release if the u-boot source code is released the problem is solved.