[BPI-R2] Debian-image for bpi-r2

Good Morning!

How to install debian BPI-R2 emmc. I’m starting in bananapi-r2, I’m confused how should I proceed.

Thankful,

Wanderley

http://www.fw-web.de/dokuwiki/doku.php?id=en:bpi-r2:storage#install_os_on_emmc

  1. change partitionconfig in uboot or with mmc-utils
  2. Flash preloader to boot0
  3. flash preloader+uboot to mmcblkx and create partitiontable
  4. install bootstrapped rootfs and change necessary things (network-config,fstab)
  5. Install kernel, modules and uenv.txt

Instead of steps 3-5 you can flash my stretch-image for emmc from my gdrive (https://drive.google.com/open?id=1oP7jy1KrrIOifvImo2nQ59wx3_9hHkgk)

I was using the historics you mentioned.

But with the image jessie-lite:

2017-03-10-debian-8-jessie-lite-preview-bpi-r2-sd-emmc.img

When it reboots it does not find emmc. Do you know if this image can recognize emmc?

When I use the ubuntu image, I get the boot normally. But I need to use debian clean (with few packages)

Thank you for your response.

How do you check for emmc? Kernel should create a mmcblk0 and mmcblk1…mmcblk1 should be emmc if using my kernel or official for r2 (in mainline it is mmcblk0). If you do not see boot0/1 partitionconfig is 0x0 and have to be changed. Your image do not have mmc-utils here you have to do it via uboot or add mmc-utils

for more help we need info about your steps and error-messages you’ve got

btw. my debian stretch is a minimal installation and you can/have to install what you need :wink:

I gave up jessie and recorded the stretch version. I used the following image:

bpi-r2_debian_stretch_4.14.13.img.gz

I recorded the SSD and then did the manual procedure that you reported:

“manual copy of OS”

And it worked correctly. Thank you very much!!

I am very interested in this solution. Are you reporting anything in production, such as firewall, proxy, dns?

Is there somewhere we share experiences?

You’ll find also firewall (iptables incl nat and routing) and simple dns-settings in my wiki…i don’t use a proxy

hi,

i’ve uploaded an updated version of my debian-image with kernel 4.14. also the emmc-mount-bug (system-boot hangs on trying to mount emmc-partitions) is fixed there. If using the old image comment out emmc-mounts in /etc/fstab with ‘#’

network-config:

wan: dhcp
lan0: 192.168.0.10/24
lan1+2: bridged with ip 192.168.40.1/24
lan3: only vlan 60 configured with ip 192.168.60.10/24

this image also uses upstream-uboot with my actual patches (v4-branch), without net-support (if you need tftp-boot flash old uboot)

https://drive.google.com/open?id=1oP7jy1KrrIOifvImo2nQ59wx3_9hHkgk

filename: deb_stretch_4.14.80_SD.tar.gz (+md5)

1 Like