Skip to content

flash precompiled binaries in BPI-R4 8Gb #30

@aLiArLa

Description

@aLiArLa

Hi, I have a question about flashing the 8GB binaries for the bpi-r4. I would like to be able to test it from the OpenWRT itself, carded from mmc. I haven't seen anything on the OpenWRT bpi-r4 wiki.

I have seen this as an example:
sudo dd if=bpi-r4_sdmmc_8GB_bl2.img of=/dev/sdX1 conv=notrunc,fsync

but I doubt that this is the correct parameter. Do you know how it should be done? Thanks in advance.

fdisk of my bpi-r4::

root@bpi-r4:/dev# fdisk -l
Disk /dev/ubiblock0_1: 59.7 MiB, 62599168 bytes, 122264 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

Disk /dev/mtdblock0: 2 MiB, 2097152 bytes, 4096 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

Disk /dev/mtdblock1: 126 MiB, 132120576 bytes, 258048 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
GPT PMBR size mismatch (1048607 != 15269887) will be corrected by write.
The backup GPT table is corrupt, but the primary appears OK, so that will be used.
The backup GPT table is not on the end of the device.

Disk /dev/mmcblk0: 7.28 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: gpt
Disk identifier: 5452574F-2211-4433-5566-778899AABB00

Device Start End Sectors Size Type
/dev/mmcblk0p1 8192 9215 1024 512K Linux filesystem
/dev/mmcblk0p2 9216 13311 4096 2M Linux filesystem
/dev/mmcblk0p3 13312 21503 8192 4M EFI System
/dev/mmcblk0p4 24576 90111 65536 32M EFI System
/dev/mmcblk0p5 131072 1048575 917504 448M unknown
/dev/mmcblk0p128 34 8191 8158 4M BIOS boot

Partition table entries are not in disk order.

Disk /dev/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 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

Disk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 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

Disk /dev/fit0: 119.25 MiB, 125046784 bytes, 244232 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

Disk /dev/fitrw: 323.09 MiB, 338780160 bytes, 661680 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions