Also you will need to point the build scripts at the 64bit compatible cross-compiler previously installed as the allwinner-tools cross compilers wont work with the Ubuntu 64 bit system. I can only assume that these binaries were build for 32bit OS!
NOTE: I must stress that you MUST install a 64-bit base system. The scripts will only execute on a 64bit base!
Well I have been playing with the BPI_M2_720P Configuration today and it seems that the following is still broken.
Console re-direction to HDMI
It seems that there is only one specific release of U-Boot that is compatible with the Allwinner 31s as it went end of life, and quite simply it’s not possible to set up a console=tty0 in your env.fex
The “Green” LED that your supposed to be able to control doesn’t seem possible,
root@bananapi:~# ls -la /sys/class/leds/
drwxr-xr-x 2 root root 0 Jan 1 01:14 .
drwxr-xr-x 54 root root 0 Jan 1 01:14 …
Adding this to /etc/inittab allows you to login on /dev/ttyS0
1:2345:respawn:/sbin/getty -L 115200 ttyS0 vt100
I haven’t tested GPIO yet, but I am hopeful that this is at least part working as the [gpio_para] GPIO mappings have already been added to the sys_config.fex file, and seem correct!
Can anybody advise me if it’s possible to fudge U-Boot to console redirect to HDMI /dev/fb0 (framebuffer 0) ?? I have altered the kernel configuration (sun6i_config) to no current avail. Also can somebody also assist with getting the /sys/class/leds to populate with LED’s pretty please?
Support for the A31s is going to be a right pain as quite simply put there isn’t any support for it provided by Allwinner.
The image you downloaded is not the latest version of kernel3.3.
We’ll soon updated the images including both the latest kernel3.3 and 4.1.6
If you’re really in a hurry, you may as well do the update yourself.
I managed to build an SD bootable image for my Banana PI-M2 using a custom config mainline kernel. Boots to login screen fine all colors of lights on and or blinking
What is used for login and password.
I did not use .configure or make just followed instruction set for build of Sd card only
using this kernel
using script build.sh with added line
mkdir -p $KBUILD_OUTPUT
make menuconfig <-------------Added
make -j8 dtbs
LOADADDR=0x40008000 make -j8 uImage
make -j8 modules
make -j8 INSTALL_MOD_PATH=out modules_install