BananaPi BPI-M3 New Image: ArchLinux-4.18.1-1-ARCH 2018-08-19

I do this step or I try with other buning software and is not booting. [ Compile new Kernel for Docker.io ].

Did you manage to boot from this image ?

I manage to boot.

The blue led was not working but he was booting. I just need to wait.

Thank you.

New Image:

  • U-Boot: 2018.11-rc3
  • Kernel: 4.19.1-1-ARCH
  • SMP works
  • Ethernet works (Limited to 100Mbps. 1Gbps is unstable ~50% of loss)
  • Wifi works
  • HDMI
  • LCD (Needs to be checked)
  • GPIO works(WiringPi)
  • BPI tools included
  • I2C enabled(In TDB file)
  • Onboard blue led works

Installation(Change /dev/mmcblk1 to proper device name):

# gunzip -c ./ArchLinuxARM-BPI-M3-11-20-2018.img.gz | dd of=/dev/mmcblk1 
# fsck.ext4 -v /dev/mmcblk1p1

Can be installed to sd card and emmc.

Clean CLI only. System is upgraded by 11.16.2018. root/root

Download link:

https://drive.google.com/open?id=12MGt_BK_fH9PhAQc6z_GrSRRGGYK_Ppb

Github:

How do I enable UART2?

currently I always get something like this:

mic@bpro ~ $ sudo stty -F /dev/ttyS2 115200 stty: /dev/ttyS2: Input/output error

When trying to access the UART2 (or UART1, UART3, UART4) control registers at 0x01c28800 directly, I cannot change their values, even after enabling their clock gating and deasserting their soft resetā€¦

I assume that the device tree needs to be changed?

Iā€™ve never tried. ( Maybe this section in dtb file will help you:

serial@1c28400 {
		compatible = "snps,dw-apb-uart";
		reg = < 0x1c28400 0x400 >;
		interrupts = < 0x00 0x01 0x04 >;
		reg-shift = < 0x02 >;
		reg-io-width = < 0x04 >;
		clocks = < 0x02 0x36 >;
		resets = < 0x02 0x29 >;
		status = "disabled";
		phandle = < 0x54 >;
	};

How would I compile this? Unfortunately I couldnā€™t find any sources for your image.

Use dtb file from /boot/dtbs: Just to see readable text:

dtc -I dtb -O dts sun8i-a83t-bananapi-m3.dtb|more

Convert to dts, so youā€™ll be able to make some changes:

dtc -I dtb -O dts -o sun8i-a83t-bananapi-m3.dts sun8i-a83t-bananapi-m3.dtb

And convert it back:

dtc -O dtb -o sun8i-a83t-bananapi-m3.dtb -b 0 sun8i-a83t-bananapi-m3.dts

Keep backup of the original dtb file, itā€™s easy to corrupt boot of the system.