sinovoip
(bpi team)
August 2, 2017, 10:03am
1
2017-08-01-ubuntu-16.04-mate-desktop-docker-preview2-bpi-r2-sd-emmc.img.zip
based on ubuntu 16.04.2 LTS Mate Desktop
support BPI-R2 kernel 4.4.70
username & password: pi/bananapi , root/bananapi
support HDMI
support GMAC * 5 (2 real GE ports, 1 is WAN port, another is connected to 4 LAN ports)
support SATA * 2
support eMMC (support boot from eMMC)
support IR
support OTG
support PWM (PWM1/PWM2/PWM3, PWM4 and PWM5 are not supported)
support USB 3.0 * 2
support mPCIe
support uEnv.txt to fatload uImage
support bpi-bootsel
support bpi-copy to write SD/eMMC with img.zip file
support docker
ref. https://github.com/BPI-SINOVOIP/BPI-R2-bsp
ref. https://github.com/BPI-SINOVOIP/BPI-files
How to boot from eMMC:
boot from SD
sudo su
echo 0 > /sys/block/mmcblk1boot0/force_ro #enable /dev/mmcblk1boot0 write mode
bpi-bootsel BPI-R2-EMMC-boot0-0k.img.gz /dev/mmcblk1boot0 #write once
bpi-copy /path_to_your_image/xxx.img.zip
poweroff
remove SD & power on
Known limitations:
WIFI/BT isn’t supported
MIPI interface doesn’t work
Google Drive:
baidu cloud:
http://pan.baidu.com/s/1bpElcf1
MD5: 021e2e5a627f9e60742c6bbb6b4e8dc8
FILESIZE: 1774241037 (~1692MB)
UNPACK: 7456MB (eMMC size)
sinovoip
(bpi team)
August 29, 2017, 2:55am
4
i have let Gary to test it ,
garywang
(gary)
August 29, 2017, 6:24am
5
kanastas:
Intel AC-3160
I think the PCIe device is not found yet on R2 board, can you please confirm if the model supports PCIe?
I’m using the 3160HMW (first one in the list).
Does this device need extra power supply? As I know, some PCIe devices need that (e.g., Intel® 82575/82576 4 port ethernet card). Or, could you test other devices?
It’s a half size mini PCIe card so no extra power supply is needed. According to the product brief ( https://www.intel.com/content/dam/www/public/us/en/documents/product-briefs/dual-band-wireless-ac-3160-bluetooth-brief.pdf ) it supports PCIe and USB. On the BPI-R2 schematic that is available currently, the USB lines on the mPCIe socket are not connected (so USB-only mPCIe cards are not supported like most of the 3G mPCIe as far as I know) but the 3160HMW should (?) be visible in the lspci output.
More console log could be helpful. We need to know what happened when PCIe linkup.
garywang
(gary)
September 4, 2017, 4:17pm
10
Can you please share us the linux kernel booting log while this card is installed?
urbanxs
September 4, 2017, 4:28pm
11
Has anyone actually tested this? I followed the instructions, and the board doesn’t boot from emmc.
I need to build a new card in order to do so (I’ve overwritten the previous one), I hope I’ll find some time to do it soon.
garywang
(gary)
September 5, 2017, 11:56am
13
Can you please try the following steps:
How to boot from eMMC:
boot from SD
sudo su
echo 0 > /sys/block/mmcblk1boot0/force_ro #enable /dev/mmcblk1boot0 write mode
To write preloader to EMMC by running command:
bpi-bootsel BPI-R2-EMMC-boot0-DDR1600-0k-0905.img.gz /dev/mmcblk1boot0
To copy ubuntu image to EMMC:
unzip -p <XXX.img.zip> | pv | dd of=<device> bs=10M status=noxfer
or
bpi-copy <XXX.img.zip> <device>
where the XXX.img.zip is ubuntu image we can get it from http://www.banana-pi.org/r2-download.html, and where <device> should be /dev/mmcblk1.
poweroff
remove SD & power on
garywang
(gary)
September 11, 2017, 3:34pm
14
@kanastas
I’ve got a Intel 3160 HMW mode, also see this problem, will debug it,
Rene
(Rene Hegewald)
December 18, 2017, 8:22am
15
Hello @ all,
i read the thread and follow the instruction:
boot from SD
sudo su
echo 0 > /sys/block/mmcblk1boot0/force_ro #enable /dev/mmcblk1boot0 write mode
bpi-bootsel BPI-R2-EMMC-boot0-0k.img.gz /dev/mmcblk1boot0 #write once
bpi-copy 2017-09-04-ubuntu-16.04-mate-desktop-bpi-r2-sd-emmc-v1.2.0.img.zip
poweroff
remove SD & power on
but does not work.
After Power on, ther is Nothing to see in the Debug Console … what´s going wrong ?
Best regards,
René
frank-w
(Frank W.)
December 18, 2017, 9:36am
16
Does any error come up while calling bpi-copy? Any ubuntu-image was bigger than emmc and fails there…then image must be resized first
Rene
(Rene Hegewald)
December 18, 2017, 9:47am
17
nope, but uboot does not known the command “emmc” …
“emmc ecsd” or “emmc pconf 0x48”
BPI-IoT> emmc ecsd
Unknown command 'emmc' - try 'help'
BPI-IoT> emmc pconf 0x48
Unknown command 'emmc' - try 'help'
BPI-IoT> version
U-Boot (Aug 01 2017 - 09:59:52)
arm-linux-gnueabihf-gcc (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
GNU ld (GNU Binutils for Ubuntu) 2.26.1
Is there a Firmware update ?
frank-w
(Frank W.)
December 18, 2017, 9:58am
18
then you have to update uboot first to actual version…
you can use my compiled version: https://drive.google.com/open?id=11XQ4n6WYSj7gGPtMwug4SITtYn0GZxOb
and install like this http://www.fw-web.de/dokuwiki/doku.php?id=en:bpi-r2:uboot#update_uboot or using bpi-update
but last ubuntu should be have actual uboot, too…
The emmc-command is integrated in uboot since September 29th 2017 (version: “U-Boot 2014.04-rc1 (Oct 16 2017 - 19:33:23)”)
Rene
(Rene Hegewald)
December 18, 2017, 10:05am
19
i’ll check you wiki.
But /dev/sdx ? do you mean /dev/mmcblk ?
frank-w
(Frank W.)
December 18, 2017, 10:07am
20
you must flash the image on host-pc to sd-card (where you boot first you bpi) not from the bpi itself…
Rene
(Rene Hegewald)
December 18, 2017, 10:07am
21
i used the bpi-r2 … and it works
frank-w
(Frank W.)
December 18, 2017, 10:10am
22
you’ve wrote image direct to emmc (which partition)? or to your sd-card?
ubuntu boots from emmc without sd-card?
@garywang : is it possible to load uboot from emmc, boot from SD if inserted and if not using emmc-boot?