On 10/20/2013 3:23 PM, Condit Alan wrote: > Can anyone put up the recent Debian Wheezy (LinuxCNC) for BeagleBone > Black as an ".img" for SD instead of a ".tar.xz"? I can write a uSD > or a USB stick from an ".img" or ".iso" on my Mac but I can't get the > ".tar.xz" to work.
Follow the instructions I have for using the BBB itself as a Linux box for making the SD card: http://bb-lcnc.blogspot.com/p/create-machinekit-sd-card-with-windows.html Since you're on a Mac, you should be able to extract the .tar.xz file natively, but you'll need a "real" Linux install to actually create the SD card. That's because it's not just an image, it's a script that formats and prepares the SD card vs. just copying a pre-installed file system onto it. You'll need an SD card reader and a USB stick hooked to your 'Bone, which means you need a USB hub as well. Holler if you have any questions or problems following the instructions. Alternately, you could use your Ubuntu VM to create a card image on a loop-back mounted file, then burn that onto an SD card. But it's probably easier to just use the 'Bone itself. > I have Ubuntu 12.04 running in VirtualBox on my Mac and I was having > trouble attaching USB drives to the linux guest OS. Can anyone tell > me the type and size of partitions I need to create on the uSD for > the boot and root partitions? I am guessing that the boot partition > is DOS and I know it needs to be at least 32K but does it need to be > larger? The partitions are created when you run the setup_sdcard.sh script, and are dynamically sized to the size of the SD card. You can read through the script to see exactly what's going on. Note that the FAT partition can be particular regarding sizes, location and type flags, since the MLO code on the FAT Partition is launched by ROM code in the am335x and isn't exactly heavily protected against user goofs. On my 16G SD card, the partitions are as follows: $ sudo fdisk -l Disk /dev/mmcblk0: 15.9 GB, 15931539456 bytes 4 heads, 16 sectors/track, 486192 cylinders, total 31116288 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/mmcblk0p1 * 2048 133119 65536 e W95 FAT16 (LBA) /dev/mmcblk0p2 133120 31115263 15491072 83 Linux -- Charles Steinkuehler [email protected]
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
