Skip to content

Releases: avafinger/bananapi-m64-kodi

Ubuntu 19.10 - Kernel 5.3.9 (eMMC install)

10 Nov 19:24
a66377a
Compare
Choose a tag to compare

Ubuntu 19.10

Install script for eMMC

Instructions:

  • Boot from SD CARD

  • Install parted

      sudo apt-get install parted
    
  • download m64_emmc.tar.gz and install

     wget  https://github.com/avafinger/bananapi-m64-kodi/releases/download/v1.6/m64_emmc.tar.gz
     sudo tar -xvpzf m64_emmc.tar.gz 
     cd m64_emmc
     sudo ./format_mmc.sh /dev/mmcblk2
     sudo ./flash_emmc_m64.sh /dev/mmcblk2
     sync
    

u-boot experiments

07 Nov 16:57
a66377a
Compare
Choose a tag to compare
u-boot experiments Pre-release
Pre-release

Install

sudo dd if=./u-boot-sunxi-with-spl.bin conv=notrunc bs=1k seek=8 of=/dev/sdX

Mainline Kernel 5.3.9 BananaPi M64 (KODI)

07 Nov 14:18
5deb481
Compare
Choose a tag to compare

Kernel 5.3.9-m64

Mainline Kernel 5.3.9 for BananaPi M64 with some fixes

  • i2c1 fix
  • able to run Kodi

Install

    sudo dpkg -i linux-image-5.3.9-m64_1.0-4

i2c tests

i2cdetect -l
i2c-1	unknown   	mv64xxx_i2c adapter             	N/A
i2c-2	unknown   	DesignWare HDMI                 	N/A

Testing the SSD1306

sudo i2cdetect -r 1
[sudo] password for ubuntu: 
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-1 using receive byte commands.
I will probe address range 0x03-0x77.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- 3d -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --                

u-boot 2020.01 - BPI-M64 v1.2

04 Nov 00:44
c0b7e79
Compare
Choose a tag to compare
Pre-release

This is a Fix for the HW revision 1.2.

Install with:

    sudo dd if=./u-boot-sunxi-with-spl.bin conv=notrunc bs=1k seek=8 of=/dev/sdX
    where X is a letter

Re-uploaded!

Mainline Linux Image 5.3.8 for BananaPi M64

01 Nov 23:56
c0b7e79
Compare
Choose a tag to compare

Kernel 5.3.8 (KODI)

Install with:

 sudo dpkg - i linux-image-5.3.8-m64_1.0-3.deb

Mainline Linux Image 5.3.1 for BananaPi M64

29 Sep 22:25
9c2c82d
Compare
Choose a tag to compare

Kernel 5.3.1

Install:

sudo dpkg -i linux-image-5.3.1-m64_1.0-2.deb

This release is not intended to run KODI. For this, a new KODI build must be done.

NOTE
Uploaded again to fix dtb.

Mainline Linux Image 5.2 for BananaPi M64

11 Jul 17:55
0c191de
Compare
Choose a tag to compare

Kernel 5.2

Install to SD CARD

  • Make it executable
    sudo chmod +x flash_sdcard_m64.sh
    sudo chmod +x format_sd_mainline.sh

  • Format the SD card or the mmc device
    sudo ./format_sd_mainline.sh /dev/sdX (where X is your device letter)

Usage:
./flash_sdcard_m64.sh (SD CARD: /dev/sdX where X is your sd card letter or /dev/mmcblkY where Y your device number)

  • Flash
    sudo ./flash_sdcard_m64.sh /dev/sdX (where X is your device letter)

Install to eMMC
Boot from the SD CARD and find the /dev/mmcblkY where Y is the number (0,1...,3) for the eMMC.

Format and Flash to eMMC (mmcblk2 when boot from SD CARD):

sudo ./format_sd_mainline.sh /dev/mmcblk2
sudo ./flash_sdcard_m64.sh /dev/mmcblk2

You may need to adjust the device number when you boot from eMMC.
Edit the file boot.cmd and change root=/dev/mmcblk0p2 to root=/dev/mmcblk1p2 and recompile the file with:

cd /media/$USER/boot/
sudo mkimage -C none -A arm -T script -d boot.cmd boot.scr
sync

and reboot.