newRPL - build 1255 released! [updated to 1299]
09-15-2018, 09:42 AM
Post: #275
 3298 Member Posts: 182 Joined: Oct 2014
RE: newRPL - build 1089 released! [update:build 1105]
In addition to the path of copying an existing real SD card like brickviking showed, one could create a blank image using certain commands that should be present on Linux or OSX out of the box. x49gp's Makefile has these commands for the job:
- Linux:
Code:
/sbin/mkdosfs -v -C -S 512 -f 2 -F 16 -r 512 -R 2 -n "x49gp" sdcard 65536
- OSX:
Code:
hdiutil create sdcard -megabytes 64 -fs MS-DOS -volname x49gp
Both create an image for an emtpy FAT16-formatted SD card labeled "x49gp" that is 64MiB in size. The image is stored in a file called "sdcard" (Linux) or "sdcard.dmg" (OSX) in the current directory.
On Windows I have no clue how to create such an image with the tools included in the OS. With MinGW or Cygwin one could get a shell that's able to run the command for Linux, though installing MinGW or Cygwin just for that is a little overkill. On the other hand, it also gets you an environment for compiling Linux-targeted programs on Windows, which you could use for other stuff ... (unfortunately it fails for x49gp - blame QEMU. No need to try.)
 « Next Oldest | Next Newest »