I have an R64 and I cannot seem to be able to boot any image from the eMMC. I have tried with Debian Buster and Ubuntu - the images provided by BPI. Here is the console output:
Debian Buster with Armbian Linux ttyS0
bpi-iot-ros-ai login: pi
Password:
Last login: Fri Aug 2 06:49:20 UTC 2019 on ttyS0
____ ____ _
| __ ) __ _ _ __ __ _ _ __ __ _ | _ \(_)
| _ \ / _` | '_ \ / _` | '_ \ / _` | | |_) | |
| |_) | (_| | | | | (_| | | | | (_| | | __/| |
|____/ \__,_|_| |_|\__,_|_| |_|\__,_| |_| |_|
Welcome to Debian Buster with Armbian Linux 4.19.49-BPI-R64-Kernel
System load: 0.00 0.03 0.04 Up time: 12 min
Memory usage: 7 % of 993MB IP:
Usage of /: 33% of 6.7G
[ General system configuration (beta): armbian-config ]
pi@bpi-iot-ros-ai:~$ sudo mount ^C
pi@bpi-iot-ros-ai:~$ sudo /sbin/fdisk -l
[sudo] password for pi:
Sorry, try again.
[sudo] password for pi:
Disk /dev/mmcblk0: 7.3 GiB, 7818182656 bytes, 15269888 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xe43da9c5
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 204800 729087 524288 256M c W95 FAT32 (LBA)
/dev/mmcblk0p2 729088 14940159 14211072 6.8G 83 Linux
Disk **/dev/mmcblk1: 14.5 GiB**, 15552479232 bytes, 30375936 sectors <<---- 16GB MicroSD card
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xe43da9c5
Device Boot Start End Sectors Size Id Type
/dev/mmcblk1p1 204800 729087 524288 256M c W95 FAT32 (LBA)
/dev/mmcblk1p2 729088 14940159 14211072 6.8G 83 Linux
Disk /dev/sda: 7.5 GiB, 8015314944 bytes, 15654912 sectors
Disk model: USB DISK 2.0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x05c5b54b
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 15654911 15652864 7.5G 83 Linux
Disk /dev/zram0: 50 MiB, 52428800 bytes, 12800 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/zram1: 497 MiB, 521072640 bytes, 127215 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
pi@bpi-iot-ros-ai:~$ **sudo mount /dev/sda /media/** <<--- USB Stick
mount: /media: wrong fs type, bad option, bad superblock on /dev/sda, missing codepage or helper program, or other error.
pi@bpi-iot-ros-ai:~$ sudo mount /dev/sda1 /media
pi@bpi-iot-ros-ai:~$ cd media
-bash: cd: media: No such file or directory
pi@bpi-iot-ros-ai:~$ cd /media/
pi@bpi-iot-ros-ai:/media$ ls
2019-08-23-ubuntu-16.04-lite-preview-bpi-r64-sd-emmc.img lost+found
-r64-sd-emmc.img /dev/mmcblk0o bpi-copy 2019-08-23-ubuntu-16.04-lite-preview-bpi-
SRC=2019-08-23-ubuntu-16.04-lite-preview-bpi-r64-sd-emmc.img
DST=/dev/**mmcblk0** <<------ eMMC
COPYMODE=imagetodisk
imagetodisk
bpi-copy(v1.3.3(github)), bananapi image & disk tools
Usage: bpi-copy [OPTIONS]...
bpi-copy [ --help | -v | --version ]
bpi-copy IMGFILE
bpi-copy IMGDIR
bpi-copy IMGFILE DEVICE
bpi-copy DEVICE IMGFILE
Warning: Try to write 2019-08-23-ubuntu-16.04-lite-preview-bpi-r64-sd-emmc.img to BOOTDISK /dev/mmcblk0
==============================================================
Fri Aug 2 07:05:42 UTC 2019
*** start COPY (blue led on ) .....
INFO: /dev/mmcblk0 : SD/eMMC !!
umount device: /dev/mmcblk0
==============================================================
IMGFILE=2019-08-23-ubuntu-16.04-lite-preview-bpi-r64-sd-emmc.img
==============================================================
img
7.12GiB 0:05:43 [21.3MiB/s] [ <=> ]
729+1 records in
729+1 records out
7650410496 bytes (7.7 GB, 7.1 GiB) copied, 343.192 s, 22.3 MB/s
0+100813 records in
0+100813 records out
*** end COPY (blue led off) .....
Fri Aug 2 07:11:28 UTC 2019
==============================================================
RUNTIME 5:46
OK!! You can remove the BOOTDISK /dev/mmcblk0 now!!
pi@bpi-iot-ros-ai:/media$
After a clean shutdown and plugging the power back on I get
F0: 102B 0000
F6: 3800 00A0
F3: 4000 0036
F5: 480A 0031
F5: 480A 0031
00: 1005 0000
F6: 3800 00A0
F3: 4000 0036
F5: 480A 0031
F5: 480A 0031
01: 102A 0001
02: 1005 0000
BP: 0000 00C0 [0001]
T0: 0000 0365 [000F]
System halt!
This happens after every image burn. I cannot figure what am I doing wrong. Also tried with dd…