rootfs-tools
rootfs-tools copied to clipboard
Documentation for building Ubuntu for VisionFive 2
Thanks for the Ubuntu image. I successfully got it working with my VisionFive 2 board. I'm just wondering whether you can provide instructions on how to build a new image. I'd like to build new images when updated upstream SDKs are released, such as https://github.com/starfive-tech/VisionFive2/releases/tag/VF2_v2.8.0
- get buildroot v2.8.0
sdcard.img, ubuntu cloud image root.tgz,img-gpu-powervr-bin-1.17.6210866.tar.gz - sudo decompress ubuntu to folder
ub-22, don't make change on it for re-use - mountCombinedImage, sudo backup
firmware module fstab, unmountCombinedImage - fdisk -> get disk layout
- dd resize sdcard.img
- change rootfs par size of disk layout file, then load
- mountCombinedImage, format rootfs par
sudo cp -a ub-22/* rootfscopy_kernel /full-path/rootfs-tools/backup rootfs- decompress gpu driver and copy to rootfs if you can handle it
- copy vendor vf2
config.sh, change as you need - simple job don't need mountDev, just
sudo chroot rootfsand runconfig.sh. if you need change systemd daemon service or install software, you need do so - unmountCombinedImage
Thanks, I think understand the rough workflow now. I will give it a try.