[A20] Banana Pi

Install Arch Linux ARM on other devices.

[A20] Banana Pi

Postby tredaelli » Sat Oct 31, 2015 10:06 am

Hi,
Banana Pi is supported from recent mainline kernels and u-boot and it works like a charm (video output not tested since I use it only as a mini-server/NAS).

To install it just use the Cubieboard 2 instruction with the following modifications:

Use my precompiled U-Boot bootloader release:
$this->bbcode_second_pass_code('', 'http://pkgbuild.com/~tredaelli/alarm/bananapi/boot/u-boot-sunxi-with-spl.bin')
And my boot.scr
$this->bbcode_second_pass_code('', 'http://pkgbuild.com/~tredaelli/alarm/bananapi/boot/boot.scr')
To Install the U-Boot package you need to use my repository:
$this->bbcode_second_pass_code('', '
cat <<'EOF' >> /etc/pacman.conf
[tredaelli-alarm]
SigLevel = Optional TrustAll
Server = http://pkgbuild.com/~tredaelli/repo/alarm/$arch
EOF
pacman -Syu uboot-bananapi
')
The patch is pretty simple, as you can see in my github fork.
tredaelli
 
Posts: 2
Joined: Sat Oct 31, 2015 1:56 am

Re: [A20] Banana Pi

Postby desgyz » Wed Nov 04, 2015 7:28 am

Hello,

I am looking to put Arch Linux on my Banana Pi Pro. I stumbled across this and thought the uboot for banana pi and banana pi pro were similar enough to use this. Unfortunately even after following your steps carefully twice, I get no green light boot.

Do you have any suggestions?

I am going to test the default Arch Linux from LeMaker, if it works and the repo (ARCHARMLINUX) adds. It can work as a temporary arch linux fix for the BPi Pro.

P.S I kind of want to avoid the default Arch Linux on LeMaker because it lacks a lot of basics, I got the default lemaker img's working but as i said they lack too many basics.

Regards,
Desgyz
desgyz
 
Posts: 1
Joined: Wed Nov 04, 2015 7:22 am

Re: [A20] Banana Pi

Postby tredaelli » Wed Nov 04, 2015 10:41 am

$this->bbcode_second_pass_quote('desgyz', 'H')ello,

I am looking to put Arch Linux on my Banana Pi Pro. I stumbled across this and thought the uboot for banana pi and banana pi pro were similar enough to use this. Unfortunately even after following your steps carefully twice, I get no green light boot.

Do you have any suggestions?

I am going to test the default Arch Linux from LeMaker, if it works and the repo (ARCHARMLINUX) adds. It can work as a temporary arch linux fix for the BPi Pro.

P.S I kind of want to avoid the default Arch Linux on LeMaker because it lacks a lot of basics, I got the default lemaker img's working but as i said they lack too many basics.

Regards,
Desgyz
Hi,
you can try to use the correct bootloader and boot.scr for Banana Pro http://pkgbuild.com/~tredaelli/alarm/bananapro/boot/ (not tested since I don't have a Banana Pro).

Just make sure to write (dd) it in the correct position on the SD card: $this->bbcode_second_pass_code('', 'dd if=u-boot-sunxi-with-spl.bin of=/dev/sdX bs=1024 seek=8') when /dev/sdX is the plain SD device and not the partition
Last edited by WarheadsSE on Wed Nov 04, 2015 2:27 pm, edited 1 time in total.
Reason: ftfy; link
tredaelli
 
Posts: 2
Joined: Sat Oct 31, 2015 1:56 am

Re: [A20] Banana Pi

Postby WarheadsSE » Wed Nov 04, 2015 2:26 pm

$this->bbcode_second_pass_quote('desgyz', '
')I am going to test the default Arch Linux from LeMaker, if it works and the repo (ARCHARMLINUX) adds.

Arch Linux ARM, or A.L.ARM aka "alarm". No other variant.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [A20] Banana Pi

Postby miasma » Sun Nov 15, 2015 5:52 pm

I accidently bought the Banana Pi Plus version, which is apparently a clone of the Banana Pi. It also runs Arch Linux just fine.

For uboot, the standard version works, but you need the dts file, config file and updated dts Makefile from here https://github.com/BPI-SINOVOIP/BPI-Mai ... ch/arm/dts

I didn't test if the mainline kernel works, but the company has their own 4.2 kernel here https://github.com/BPI-SINOVOIP/BPI-Mainline-kernel

The builtin wifi caused some kernel oopses, but after disabling it, the board has been stable.

For boot.scr I used this from sunxi wiki
$this->bbcode_second_pass_code('', '
setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p1 rootwait panic=10 rw
load mmc 0:1 0x43000000 ${fdtfile} || load mmc 0:1 0x43000000 boot/${fdtfile}
load mmc 0:1 0x42000000 zImage || load mmc 0:1 0x42000000 boot/zImage
bootz 0x42000000 - 0x43000000
')

$this->bbcode_second_pass_code('', '
mkimage -A arm -O linux -T script -C none -n "U-Boot boot script" -d boot.txt boot.scr
')
miasma
 
Posts: 1
Joined: Sun Nov 15, 2015 5:43 pm

Re: [A20] Banana Pi

Postby malevolent » Fri Dec 11, 2015 12:26 pm

Hi there! First post from me :)

What's wrong with lemaker's build? I'm using it for a while and it works pretty nice for me, what basics it lacks?
malevolent
 
Posts: 1
Joined: Fri Dec 11, 2015 12:24 pm

Re: [A20] Banana Pi

Postby bjo » Sun Dec 20, 2015 8:47 pm

Sound is not working (no soundcards found), Audio Support will be merged into 4.4 or 4.5 according to http://linux-sunxi.org/Linux_mainlining_effort
bjo
 
Posts: 11
Joined: Sun Dec 20, 2015 8:43 pm


Return to [Please read announcement] Community-Supported Devices

Who is online

Users browsing this forum: No registered users and 5 guests