Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: booting BeagleBoneGreen
On Mon, 11 Jan 2016, John D. Baker wrote:
> Booting the pre-installed Linux presents a disk device:
> [snip]
> but there is nothing recognizable to 'fdisk':
> [snip]
> 'disklabel' just shows the default partitioning
>
> 4 partitions:
> # size offset fstype [fsize bsize cpg/sgs]
> a: 196608 0 4.2BSD 0 0 0 # (Cyl. 0 - 95)
> d: 196608 0 unused 0 0 # (Cyl. 0 - 95)
After a bit more poking around, I figured out what it's doing. The
onboard eMMC (Linux /dev/mmcblk0) contains 2 partitions: a 96MB W95
FAT16LBA partition and the rest as a Linux ext4 partition. The Linux
File-CD Gadget is exporting the FAT partition directly, so 'fdisk' and
'disklabel' on a NetBSD host are mostly meaningless. Just mount /dev/sdNa
or /dev/sdNd as type MSDOS.
Except for a couple of Debian-related scripts, the contents seem primarily
geared for users on redmondOS hosts.
In case they need to be extracted/preserved for constructing bootable
media, "MLO" seems to be in:
/opt/source/pru-software-support-package/pru_cape/bin/MLO/beaglebone_black/MLO
/opt/source/pru-software-support-package/pru_cape/bin/MLO/beaglebone/MLO
/opt/backup/uboot/MLO
and "u-boot.img" seems to be in
/opt/backup/uboot/u-boot.img
on the ext4 Linux filesystem. The "uEnv.txt" file is in "/boot".
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
Home |
Main Index |
Thread Index |
Old Index