Hi Frank, thanks for responding so quickly. The image I installed is:
2024-07-18-debian-12-bookworm-bpi-r4-5.4-sd-emmc.img.zip
from this page: Banana Pi BPI-R4 | BananaPi Docs
I believe it came from this direct Google drive link: https://drive.google.com/file/d/1AJJ4fg-Q8jR5XmVomVdYV8bPOth4BzJf/view?usp=sharing
Below is the /etc/passwd
I see out of the box, bpi
is fourth from the bottom. Was this an accidental inclusion? Note I manually deactivated it as I don’t want rogue user accounts (to be honest I was already a bit wary downloading Debian from a google drive link).
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
bin:x:2:2:bin:/bin:/usr/sbin/nologin
sys:x:3:3:sys:/dev:/usr/sbin/nologin
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/usr/sbin/nologin
man:x:6:12:man:/var/cache/man:/usr/sbin/nologin
lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin
mail:x:8:8:mail:/var/mail:/usr/sbin/nologin
news:x:9:9:news:/var/spool/news:/usr/sbin/nologin
uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin
proxy:x:13:13:proxy:/bin:/usr/sbin/nologin
www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
backup:x:34:34:backup:/var/backups:/usr/sbin/nologin
list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin
irc:x:39:39:ircd:/run/ircd:/usr/sbin/nologin
_apt:x:42:65534::/nonexistent:/usr/sbin/nologin
nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin
systemd-network:x:998:998:systemd Network Management:/:/usr/sbin/nologin
sshd:x:100:65534::/run/sshd:/usr/sbin/nologin
messagebus:x:101:108::/nonexistent:/usr/sbin/nologin
systemd-resolve:x:997:997:systemd Resolver:/:/usr/sbin/nologin
bpi:x:1000:1001::/home/bpi:/bin/bash
dnsmasq:x:102:65534:dnsmasq,,,:/var/lib/misc:/usr/sbin/nologin
polkitd:x:996:996:polkit:/nonexistent:/usr/sbin/nologin
iperf3:x:103:109::/nonexistent:/usr/sbin/nologin
Regarding burning Debian to eMMC, could you point me to the right BL2 image to use (for the 4GB model)? On second glance I’m not entirely sure the BL2 file I have in hand right now is the right one.
I’m following the steps here: https://docs.banana-pi.org/en/BPI-R4/GettingStarted_BPI-R4#_how_to_burn_image_to_onboard_emmc
I need the file I should write to /dev/mmcblk0boot0
The first time I tried with bl2_emmc.img
from OpenWRT MTK MP4.1 wifi SDK wifi driver for BE14000 Wifi Card. I got this at boot:
Card did not respond to voltage select! : -110
mmc_init: -95, time 17
** Bad device specification mmc 0 **
Couldn't find partition mmc 0:5
Can't set block device
## Warning: Input data exceeds 1048576 bytes - truncated
## Info: input data size = 1048578 = 0x100002
## Error: "uenvcmd" not defined
The second time I tried with bl2_emmc-r4.img
from the MTK MP4.0 package, and it didn’t even get that far - I got an error BL2: Failed to load image id 3
.
Appreciate your help.