If anyone's interested, I have a semi-painful flow for dumping a user-created image to SD under Debian running on a VirtualBox VM under Mac OS X. The image was created using Robert's flow in Debian. I have been quite happy with VirtualBox lately, far more than I can say for the crooks (take your money, provide zero support) at Parallels.
Here are my notes from the last time: 1) follow the instructions at eewiki.net to build a new image in the VirtualBox VM. 2) insert SD card into reader slot on MacBook Pro 3) shut down the Linux VM and VirtualBox 4) make sure the SD card adapter switch is in writable position. Insert card into SD reader slot 5) open Disk Utility, and erase the card 6) unmount the UNTITLED partition 7) cd to your VM directory (typically "$HOME/VirtualBox VMs/<VM name>") 8) edit the .vbox file to remove the .vmdk entry. 9) sudo vi ~/Library/VirtualBox/VirtualBox.xml; remove lines that reference sd-card.vmdk 10) rm *.vmdk 11) run sudo chown <username> /dev/disk1* 12) run sudo chmod 777 /dev/disk1* 13) run sudo VBoxManage internalcommands createrawvmdk -filename ./sd-card.vmdk -rawdisk /dev/disk<whatever number Disk Utility displayed as your disk; typically 1 or 2) 14) run sudo chown <username> * 15) unmount the /dev/disk<1 or 2>s1 (UNTITLED) partition 16) In the VirtualBox control Panel, select Storage, right-click and Add Hard Disk. Choose existing Disk. Choose sd-card.vmdk 17) in Disk Utility, unmount the UNTITLED partition again 18) Start up Linux VM 19) in Debian, run lsblk to determine the new SD card partition (/dev/sdb1 usually) 20) sudo dd if=/dev/zero of=/dev/sdb 21) follow instructions at https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-SetupmicroSD/SDcard to set up the card. 22) shut down the VM in Virtualbox 23) remove the SD card from the storage category in the VirtualBox control panel 24) eject and remove the SD card Good Luck - Mike On Friday, May 29, 2015 at 8:12:08 AM UTC-6, rei_...@yahoo.fr wrote: > > I'm trying to cross-compile on my Mac against the BeagleBone. > > Surprisingly, the Linaro tool-chain is only available for Windows and > Linux, not Mac OS X. > > The only binary I've found so far comes from > http://www.welzels.de/blog/en/arm-cross-compiling-with-mac-os-x/comment-page-1/ > , > but debugging doesn't work. The sysroots files aren't provided. > > Other options include: > > - Mentor Graphics <http://www.mentor.com/> —previously Sourcery Mentor > <https://sourcery.mentor.com/GNUToolchain/release2795>— but the > tool-chain is no longer free, > - Carlson Minot <http://www.carlson-minot.com/> but it doesn't feature > hardware FPU, while Debian requires it. > > Most blogs suggest to create and host a Linux virtual machine. > > But all tentatives to build the tool-chain myself end with error messages > and failures. > > Any plan to deliver a tool-chain binary for Mac OS X? > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.