Banana Pi BPI-M64 new image: Grub demo with Debian 10 and ubuntu 19.10 2019-10-21

Banana Pi BPI-M64 new image: Grub demo with Debian 10 and ubuntu 19.10 2019-10-21

files:

2019-10-21-debian-10-lite-k5.1-grub-demo-bpi-m64-sd-emmc.img.zip

2019-10-21-ubuntu-19.10-server-bpi-m64-non-boot-emmc.img.zip

u-boot-2019.07-bpi-m64-8k.img.gz

==============================================================================
case 1: boot from sd (debian-10 + grub) + emmc (ubuntu-19.10)
==============================================================================
a. bpi-copy 2019-10-21-debian-10-lite-k5.1-grub-demo-bpi-m64-sd-emmc.img.zip /dev/sdX
   or 
   unzip 2019-10-21-debian-10-lite-k5.1-grub-demo-bpi-m64-sd-emmc.img.zip 
   and use etcher or win32diskimager to create sd

b. boot from sd (debian-10 + grub), then bpi-copy 2019-10-21-ubuntu-19.10-server-bpi-m64-non-boot-emmc.img.zip /dev/mmcblk1

==============================================================================
if use case 1 to write emmc (ubuntu-19.10) ready, can try case 2
case 2: boot from sd (only with u-boot-2019.07-bpi-m64) + emmc (ubuntu-19.10)
==============================================================================
a. bpi-bootsel u-boot-2019.07-bpi-m64-8k.img.gz /dev/sdX
   or
   gunzip u-boot-2019.07-bpi-m64-8k.img.gz 
   and dd if=u-boot-2019.07-bpi-m64-8k.img of=/dev/sdX bs=1k seek=8

b. boot from sd (only with u-boot-2019.07-bpi-m64) + emmc (ubuntu-19.10 + grub)

==============================================================================
case 3: boot from sd (u-boot-2019.07-bpi-m64) + usbdisk (ubuntu-19.10 iso)
==============================================================================
a. bpi-bootsel u-boot-2019.07-bpi-m64-8k.img.gz /dev/sdX
   or
   gunzip u-boot-2019.07-bpi-m64-8k.img.gz 
   and dd if=u-boot-2019.07-bpi-m64-8k.img of=/dev/sdX bs=1k seek=8

b. wget http://cdimage.ubuntu.com/releases/19.10/release/ubuntu-19.10-live-server-arm64.iso

c. dd if=ubuntu-19.10-live-server-arm64.iso of=/dev/sdX

google driver:

https://drive.google.com/drive/folders/1DyOzfrRQ_eDTLw2OgkD1BlX3sFi3JVco

baidu:

2 Likes

Very nice to see some love for the BPI-M64!!!

  • Based on mainline kernel, I assume?
  • Is there a chance that we might see the sources soon on github?
  • Looks like ethernet is working but xorg not yet?

Will try it out as soon as I get home!

Thanks.

Tried this on new M64 v1.2 and it failed to boot.

UART Log here

U-Boot SPL 2019.07 (Sep 22 2019 - 00:30:50 +0800)
DRAM: 2048 MiB
Trying to boot from MMC1
NOTICE:  BL3-1: Running on A64/H64 (1689) in SRAM A2 (@0x44000)
NOTICE:  Configuring SPC Controller
NOTICE:  BL3-1: v1.0(debug):f0fac76
NOTICE:  BL3-1: Built : 00:30:17, Sep 22 2019
NOTICE:  DT: sun50i-a64-bananapi-m64
INFO:    Configuring AXP PMIC
INFO:    PMIC: DRAM voltage: 1.50V
INFO:    PMIC: setup succ�
U-Boot SPL 2019.07 (Sep 22 2019 - 00:30:50 +0800)
DRAM: 2048 MiB
Trying to boot from MMC1                                                                                      
NOTICE:  BL3-1: Running on A64/H64 (1689) in SRAM A2 (@0x44000)                                               
NOTICE:  Configuring SPC Controller                                                                           
NOTICE:  BL3-1: v1.0(debug):f0fac76                                                                           
NOTICE:  BL3-1: Built : 00:30:17, Sep 22 2019                                                                 
NOTICE:  DT: sun50i-a64-bananapi-m64                                                                          
INFO:    Configuring AXP PMIC                                                                                 
INFO:    PMIC: DRAM voltage: 1.50V                                                                            
INFO:    PMIC: setup succ�                                                                                    
U-Boot SPL 2019.07 (Sep 22 2019 - 00:30:50 +0800)                                                             
DRAM: 2048 MiB                                                                                                
Trying to boot from MMC1                                                                                      
NOTICE:  BL3-1: Running on A64/H64 (1689) in SRAM A2 (@0x44000)                                               
NOTICE:  Configuring SPC Controller                                                                           
NOTICE:  BL3-1: v1.0(debug):f0fac76                                                                           
NOTICE:  BL3-1: Built : 00:30:17, Sep 22 2019                                                                 
NOTICE:  DT: sun50i-a64-bananapi-m64                                                                          
INFO:    Configuring AXP PMIC                                                                                 
INFO:    PMIC: DRAM voltage: 1.50V                                                                            
INFO:    PMIC: setup su�                                                                                      
U-Boot SPL 2019.07 (Sep 22 2019 - 00:30:50 +0800)                                                             
DRAM: 2048 MiB                                                                                                
Trying to boot from MMC1                                                                                      
NOTICE:  BL3-1: Running on A64/H64 (1689) in SRAM A2 (@0x44000)                                               
NOTICE:  Configuring SPC Controller                                                                           
NOTICE:  BL3-1: v1.0(debug):f0fac76                                                                           
NOTICE:  BL3-1: Built : 00:30:17, Sep 22 2019                                                                 
NOTICE:  DT: sun50i-a64-bananapi-m64                                                                          
INFO:    Configuring AXP PMIC                                                                                 
INFO:    PMIC: DRAM voltage: 1.50V                                                                            
INFO:    PMIC: setup succ�                                                                                    
U-Boot SPL 2019.07 (Sep 22 2019 - 00:30:50 +0800)                                                             
DRAM: 2048 MiB                                                                                                
Trying to boot from MMC1                                                                                      
NOTICE:  BL3-1: Running on A64/H64 (1689) in SRAM A2 (@0x44000)                                               
NOTICE:  Configuring SPC Controller                                                                           
NOTICE:  BL3-1: v1.0(debug):f0fac76                                                                           
NOTICE:  BL3-1: Built : 00:30:17, Sep 22 2019                                                                 
NOTICE:  DT: sun50i-a64-bananapi-m64                                                                          
INFO:    Configuring AXP PMIC                                                                                 
INFO:    PMIC: DRAM voltage: 1.50V                                                                            
INFO:    PMIC: setup succ                                                                                     
U-Boot SPL 2019.07 (Sep 22 2019 - 00:30:50 +0800)                                                             
DRAM: 2048 MiB                                                                                                
Trying to boot from MMC1                                                                                      
NOTICE:  BL3-1: Running on A64/H64 (1689) in SRAM A2 (@0x44000)                                               
NOTICE:  Configuring SPC Controller                                                                           
NOTICE:  BL3-1: v1.0(debug):f0fac76                                                                           
NOTICE:  BL3-1: Built : 00:30:17, Sep 22 2019                                                                 
NOTICE:  DT: sun50i-a64-bananapi-m64                                                                          
INFO:    Configuring AXP PMIC                                                                                 
INFO:    PMIC: DRAM voltage: 1.50V                                                                            
INFO:    PMIC: setup succ                                                                                     
U-Boot SPL 2019.07 (Sep 22 2019 - 00:30:50 +0800)                                                             
DRAM: 2048 MiB                                                                                                
Trying to boot from MMC1                                                                                      
NOTICE:  BL3-1: Running on A64/H64 (1689) in SRAM A2 (@0x44000)                                               
NOTICE:  Configuring SPC Controller                                                                           
NOTICE:  BL3-1: v1.0(debug):f0fac76                                                                           
NOTICE:  BL3-1: Built : 00:30:17, Sep 22 2019                                                                 
NOTICE:  DT: sun50i-a64-bananapi-m64                                                                          
INFO:    Configuring AXP PMIC                                                                                 
INFO:    PMIC: DRAM voltage: 1.50V                                                                            
INFO:    PMIC: setup succ                                                                                     
U-Boot SPL 2019.07 (Sep 22 2019 - 00:30:50 +0800)                                                             
DRAM: 2048 MiB                                                                                                
Trying to boot from MMC1                                                                                      
NOTICE:  BL3-1: Running on A64/H64 (1689) in SRAM A2 (@0x44000)                                               
NOTICE:  Configuring SPC Controller                                                                           
NOTICE:  BL3-1: v1.0(debug):f0fac76                                                                           
NOTICE:  BL3-1: Built : 00:30:17, Sep 22 2019                                                                 
NOTICE:  DT: sun50i-a64-bananapi-m64                                                                          
INFO:    Configuring AXP PMIC                                                                                 
INFO:    PMIC: DRAM voltage: 1.50V                                                                            
INFO:    PMIC: setup succ                                                                                     
U-Boot SPL 2019.07 (Sep 22 2019 - 00:30:50 +0800)                                                             
DRAM: 2048 MiB                                                                                                
Trying to boot from MMC1                                                                                      
NOTICE:  BL3-1: Running on A64/H64 (1689) in SRAM A2 (@0x44000)                                               
NOTICE:  Configuring SPC Controller                                                                           
NOTICE:  BL3-1: v1.0(debug):f0fac76                                                                           
NOTICE:  BL3-1: Built : 00:30:17, Sep 22 2019                                                                 
NOTICE:  DT: sun50i-a64-bananapi-m64                                                                          
INFO:    Configuring AXP PMIC                                                                                 
INFO:    PMIC: DRAM voltage: 1.50V                                                                            
INFO:    PMIC: setup succ�                                                                                    
U-Boot SPL 2019.07 (Sep 22 2019 - 00:30:50 +0800)                                                             
DRAM: 2048 MiB                                                                                                
Trying to boot from MMC1                                                                                      
NOTICE:  BL3-1: Running on A64/H64 (1689) in SRAM A2 (@0x44000)                                               
NOTICE:  Configuring SPC Controller                                                                           
NOTICE:  BL3-1: v1.0(debug):f0fac76                                                                           
NOTICE:  BL3-1: Built : 00:30:17, Sep 22 2019                                                                 
NOTICE:  DT: sun50i-a64-bananapi-m64                                                                          
INFO:    Configuring AXP PMIC                                                                                 
INFO:    PMIC: DRAM voltage: 1.50V                                                                            
INFO:    PMIC: setup succ�                                                                                    
U-Boot SPL 2019.07 (Sep 22 2019 - 00:30:50 +0800)                                                             
DRAM: 2048 MiB                                                                                                
Trying to boot from MMC1                                                                                      
NOTICE:  BL3-1: Running on A64/H64 (1689) in SRAM A2 (@0x44000)                                               
NOTICE:  Configuring SPC Controller                                                                           
NOTICE:  BL3-1: v1.0(debug):f0fac76                                                                           
NOTICE:  BL3-1: Built : 00:30:17, Sep 22 2019                                                                 
NOTICE:  DT: sun50i-a64-bananapi-m64                                                                          
INFO:    Configuring AXP PMIC                                                                                 
INFO:    PMIC: DRAM voltage: 1.50V

are you use DC power to power this board??? or use other way to power this board???

Using Micro USB for power with 2.1Amp this works on 4.4 kernel. But not on mainline.

please try it with DC power.

Thank you for the advice, But the DC Connector is not a standard one and I cannot find it anywhere locally.

I will have to look for some device which uses something like this.

@sinovoip i made a connector to the board and tried it with dc and it is still the same.

I tried a fresh image of debian 10 lite.

Please advice

Any update on this?

Will be waiting to test the mainline built.

@sinovoip Me and Avafinger tried multiple uboots and arn trust firnwares but all failed. Only pine64+ defconfig works for m64v1.2 while m64s defconf fails to even boot.

Please advice. This debain mainline release is not for v1.2. Kindly let us know what is new in v1.2 that is needed in atf and uboot.

Also share v1.2 schematics

@sinovoip I can confirm that the Mainline Uboot and mainline DTB for M64 doesnt work anymore on V1.2 the one sent to me. it worked on older Versions. I tried so many images which was built by @avaf. The only uboot from mainline which worked is by anarsoul which was made for pine64+

I will have to use the same but it is not a good thing to use pine64 uboot & dtb as everything will not work on this device using other devices dtb.
Please check this link for the proof of how many images we tried on V1.2

Kindly check and advice. Thie image uploaded on this post doesnt work either. I have tried it on USB power as well as Power adaptor. I will try to replace the uboot and dtb for this image and see if it works.

Been off for a couple of days so I haven’t tried all combinations myself but I had likewise issues with mainline Armbian built on my 1.1 version.

Regarding the power connector I mainly use following: BERLS 5V 2.5A/3A Bloc d’alimentation Adaptateur Secteur Universel Chargeur 5.5x2.1mm avec 4 with the 4*1.7 barrel plug

Thanks for the reply. But It looks like My M64V1.2 had some weird issue with powering on using DC Connector. It would power down after `Starting Kernel …``` and the same img would run fine using power over Micro USB.

And finally today my device died completely. reported it here.

I’m running the “case 2”: u-boot on SD and Ubuntu 19.10 en emmc. I notice that WiFi is not working out-of-the-box, and I manage to solve it by doing:

cp /lib/firmware/brcm/brcmfmac43430-sdio.AP6212.txt /lib/firmware/brcm/brcmfmac43430-sdio.sinovoip,bananapi-m64.txt (Then reboot)

Tested it by creating an AP hostspot.

case 1 does not boot, sd card made with etcher seems to be wrong. case 2 does boot fine into ubuntu