I spent a huge amount of time working with the original BeagleBoard a few years ago, but have not been working with it recently, and not had a BBB until this past week.
I’m trying to use a microsd card as extra storage while running on my beaglebone black. I thought I’d followed the correct directions to get the memory card formatted and configured correctly, but when I power on the BBB with the sd card inserted, all I get is solid LEDS.
Now I’ve got the SDCard in a usb adapter and mounted. I can see that the built in flash is /dev/mmcblk0. I’ve added lines to my uEnv.txt file according to http://dev.gentoo.org/~armin76/arm/beagleboneblack/install_emmc.xml#expand in hopes of getting the device to boot but am not having any luck. I think I’m confused as to the specific parameters, and the processor doing somethign slightly different depending on if it sees the removable card.
What I really want is for the board to boot from its internal storage, and mount the second partition from the microsd card over /home/ so that I can use all of that space for user storage.
I copied the entire contents of /dev/mmcblk0p1 to the FAT boot partition on the memory card, and then modified the uEnv.txt file on the memory card. Should that work?
Since it didn’t work, can someone tell me if I was close, and should have been able to fix it simply by using the correct options in the uEnv.txt file?
root@beaglebone:/media/BEAGLEBONE_# fdisk -l
Disk /dev/mmcblk0: 1920 MB, 1920991232 bytes
255 heads, 63 sectors/track, 233 cylinders, total 3751936 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 * 63 144584 72261 c W95 FAT32 (LBA)
/dev/mmcblk0p2 144585 3743144 1799280 83 Linux
Disk /dev/mmcblk0boot1: 1 MB, 1048576 bytes
4 heads, 16 sectors/track, 32 cylinders, total 2048 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 /dev/mmcblk0boot0: 1 MB, 1048576 bytes
4 heads, 16 sectors/track, 32 cylinders, total 2048 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 /dev/sda: 31.9 GB, 31914983424 bytes
64 heads, 32 sectors/track, 30436 cylinders, total 62333952 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/sda1 * 63 144584 72261 c W95 FAT32 (LBA)
/dev/sda2 144585 62333951 31094683+ 83 Linux
root@beaglebone:/media/BEAGLEBONE_# cat /media/BEAGLEBONE_/uEnv.txt
bootpart=1:2
mmcroot=/dev/mmcblk1p2
optargs=quiet