Hi, I’m using RockPiS with 1GB NAND, and I’m trying to build a custom image with the maximum free storage space.
I followed this https://wiki.radxa.com/Yocto-layer-for-radxa-boards tutorial with the help of this thread Investigating smallest possible Debian Rootfs for RockPi-S.
I’ve removed some unnecessary packages and successfully built the image.
Everything works just fine (so far), but I also want to increase the available amount of RAM.
In FAQs I found that adding line extraargs=swiotlb=1024
to /boot/uEnv.txt will do the trick.
Unfortunately, with the custom image I’ve built, I don’t have this file in /boot dir. I tried to create it, but no luck.
I found that uEnv.txt file exists in meta-radxa/recipes-bsp/u-boot/files/rockpi-s-rk3308/uEnv.txt
. But when I tried to modify it I get ERROR: Task (/workdir/poky/build/../meta-radxa/recipes-bsp/u-boot/u-boot-rockpi-s.bb:do_fetch) failed with exit code '1'
I assume it is because it is detecting changes in git directory compared with some fixed revision.
So the question is, how I can modify uEnv or anything else to increase the total RAM available?
Thank you for any help!