Just got a 16GB microSD card to load debian on my bone. Can someone point me toward build instructions that can be used to get at least a basic bootable rootfs image onto this card that work completely under windows XP, Vista, or windows 7? from there I ought be able to finish the job via netinstall of packages.
I don’t have a linux option at present and installing virtualization is not an option. either I don’t have rights to install it or on the boxen I do the bone will be an upgrade in performance (from a p3 550), thus I need to do this under windows . only host option remotely unixish I can think of atm is cygwin. also, a method usable completely under windows could be quite useful for those lacking any linux build platform. any help, hints, suggestions?
Ok, thanks for the pointer. one usually doesn’t think to use the target to build the target. that’s usually a chicken eggI situation. 'll try using the bone.
One other option would be to boot an ubuntu live cd, and use that to
build it ( It does require installing some dependancy's but you can do
that in the live enviroment if you have enough ram )
Working on doing this on the bone. I finally got a SD card adapter for usb that would work with SD cards over 2GB. (beware older adapters have problems with new larger cards)
./setup_sdcard.sh --mmcroot@beaglebone:~/debian-wheezy-minimal-armhf-2012-03-29# ./setup_sdcard.sh --mmc /dev/sda --uboot bone --swapfile 512
I get:
I see…
fdisk -l:
Disk /dev/mmcblk0: 3904 MB, 3904897024 bytes
Disk /dev/sda: 16.0 GB, 15997075456 bytes
mount:
/dev/root on / type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
mqueue on /dev/mqueue type mqueue (rw,relatime)
Are you 100% sure, on selecting [/dev/sda] (y/n)? y
Where can I get the dependencies I need to install for angstrom. They don’t seem to be in the repo by the names called for. If they are in the repo what are they called?
I have the same problem- same missing dependencies- plus it appears that the SDcard-USB adapter isn’t seen by the Beaglebone (/dev/sdX does not appear). I know the SD card adapter works because I’ve been using it in Windows well enough so far. What could cause this, what should I look for?
when you insert the SD card adapter into the Bone usb, what do you see for the last 10 lines or so of dmesg? also what size SD card are you using and does the adapter you’re using have markings on it that say either SDHC or SDXC?
The card itself is a 4GB microSD HC. The adapter doesn’t mention either SDHC nor SDXC.
And while the console eats the first lines I think the ones you want are
[ 6259.849890] usb 1-1: USB disconnect, device number 2
[ 6271.496886] usb 1-1: new high-speed USB device number 3 using musb-hdrc
[ 6271.639012] usb 1-1: New USB device found, idVendor=14cd, idProduct=6700
[ 6271.639039] usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ 6271.639059] usb 1-1: Product: USB 2.0 SD/MMC READER
[ 6271.639074] usb 1-1: Manufacturer: SDMMC M121
[ 6271.639089] usb 1-1: SerialNumber: 845310470656
[ 6271.642782] scsi0 : usb-storage 1-1:1.0
The 4GB card is big enough (over 2GB) to require a SDHC capable reader. I had the same problem with having an old card reader that only did SDSC cards. Try using a card reader that specifically states SDHC compatability. I ended up going to amazon and buying one.
There are electronics shops nearby and they must have something like this, but the thing is that this SD-USB adapter works with windows. That’s how I can get the latest image of Angstrom on an SD card, for example.