What is difference between "Bpi Banana Pi R64" and "Bpi Banana Pi R64 (rootdisk)"?

what is difference between Bpi Banana Pi R64 and Bpi Banana Pi R64 (rootdisk) in make menuconfig?

In the Bpi Banana Pi R64

target/linux/mediatek/files-4.19/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts

chosen {
		bootargs = "earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n1 swiotlb=512";
};

In the Bpi Banana Pi R64 (rootdisk)

target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64-rootdisk.dts

chosen {
		stdout-path = "serial0:115200n8";
		bootargs = "earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n1 swiotlb=512 root=/dev/mmcblk0p7 rootfstype=squashfs,f2fs";
};
2 Likes

The original Bpi Banana Pi R64 image only support initramfs rootfs, but if you enable kernel option (CONFIG_BLK_DEV_LOOP=y) and build mt7622-bananapi-bpi-r64-rootdisk target device image,this image will use emmc disk(p7) as rootfs(squash + ext4 overlayfs).

Note,the default bpi-r64 emmc disk paritition are only p1~p5, hence you need to use tools like fdisk to create p6 (for recovery) and p7(rootfs) to support bpi-r64 rootdisk function.

3 Likes