On 30 January 2014 21:31, Mike Frysinger <vapier@gentoo.org> wrote:
On Thursday, January 30, 2014 18:10:43 Anil Singhar wrote:
> I am using the following command to start the foundation model:
> ----------------------------------------------------------------------------
> -----------------------
> anilss@anilss:~/Linaro/tools/Foundation_v8pkg/models/Linux64_GCC-4.1$
> ./Foundation_v8 --mbedded_lamp-armv8_20130719-403.img --network=na> --network-nat-ports=8022=22Anil, of course, this is the same corrupt command you've pasted in this email and your other one that I've replied to.> terminal_0: Listening for serial connection on port 5000
> terminal_1: Listening for serial connection on port 5001
> terminal_2: Listening for serial connection on port 5002
> terminal_3: Listening for serial connection on port 5003
> Simulation is started
> ----------------------------------------------------------------------------
> -------------------------
>
> Could I not add some switch to this command to increase my disk space?You cannot increase the disk space at the time when you run the model. You have to create it at the correct size or increase it using gparted or some other equivalent disk editor.
the simulator knows nothing of disk partitions and things like that. you have
to manage the disk image yourself.Mike, unless I misunderstand you, I don't think that is correct.The model reads the image file as if it were a disk with partitions inside it. For example, the standard images that we provides have two partitions: boot and root.
Anil, Ard was correct in that you can run gparted on a disk image to manage it.
However, you probably just want to create a new disk image with a larger size. If you go to the release notes [1], it gives you instructions on how to create your own disk image, eg:
So, just change the "--image_size 2000M" to something bigger, like "--image_size 16000M" and you'll get a 16GB filesystem.linaro-media-create --dev fastmodel --output-directory fastmodel --image_size 2000M --hwpack <hwpack filename> --binary <rootfs filename>
I just tried it and when I launch the model, I can see I now have 15.2GB of free disk space:
root@genericarmv8:~# df -h .
Filesystem Size Used Available Use% Mounted on
/dev/root 15.2G 269.7M 14.1G 2% /
[1] releases.linaro.org/latest/openembedded/aarch64/#tabs-2
-mike
_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev
_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev