DIY Omega2 Pro - Try it before buy
-
@crispyoz A simple
fdisk -l
command should display all partitions (and exit).
For example this is its output on my Omega2 "Pro"simple# Omega2+ FW omega2pro-v0.3.2 b218 with an 8GB microSD card and a 1GB USB pendrive root@Omega-99A5:/# cat /proc/partitions major minor #blocks name 31 0 192 mtdblock0 31 1 64 mtdblock1 31 2 64 mtdblock2 31 3 16064 mtdblock3 31 4 1535 mtdblock4 31 5 14528 mtdblock5 31 6 6720 mtdblock6 179 0 7676928 mmcblk0 179 1 7672832 mmcblk0p1 8 0 997376 sda 8 1 997344 sda1 root@Omega-99A5:~# fdisk -l Disk /dev/mtdblock0: 192 KiB, 196608 bytes, 384 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/mtdblock1: 64 KiB, 65536 bytes, 128 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/mtdblock2: 64 KiB, 65536 bytes, 128 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/mtdblock3: 15.7 MiB, 16449536 bytes, 32128 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/mtdblock4: 1.5 MiB, 1572352 bytes, 3071 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/mtdblock5: 14.2 MiB, 14876672 bytes, 29056 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/mtdblock6: 6.6 MiB, 6881280 bytes, 13440 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/mmcblk0: 7.3 GiB, 7861174272 bytes, 15353856 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 Disklabel type: dos Disk identifier: 0x15d70756 Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 8192 15353855 15345664 7.3G b W95 FAT32 Disk /dev/sda: 974 MiB, 1021313024 bytes, 1994752 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 Disklabel type: dos Disk identifier: 0x0073cd33 Device Boot Start End Sectors Size Id Type /dev/sda1 63 1994751 1994689 974M e W95 FAT16 (LBA)
Thank you for all your work on this project.
-
@cas I got in early but I should have ordered more, I only have one . It's seriously holding up my project so I like György Farkas idea.
-
@György-Farkas Here is cat /proc/partitions and below fdisk -l
cat /proc/partitions
major minor #blocks name31 0 192 mtdblock0
31 1 64 mtdblock1
31 2 64 mtdblock2
31 3 16064 mtdblock3
31 4 1535 mtdblock4
31 5 14528 mtdblock5
31 6 6720 mtdblock6
179 0 7634944 mmcblk0
179 1 7633920 mmcblk0p1
179 16 4096 mmcblk0boot1
179 8 4096 mmcblk0boot0
Disk /dev/mtdblock0: 192 KiB, 196608 bytes, 384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mtdblock1: 64 KiB, 65536 bytes, 128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mtdblock2: 64 KiB, 65536 bytes, 128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mtdblock3: 15.7 MiB, 16449536 bytes, 32128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mtdblock4: 1.5 MiB, 1572352 bytes, 3071 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mtdblock5: 14.2 MiB, 14876672 bytes, 29056 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mtdblock6: 6.6 MiB, 6881280 bytes, 13440 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mmcblk0: 7.3 GiB, 7818182656 bytes, 15269888 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
Disklabel type: dos
Disk identifier: 0xbee0b8a0Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 2048 15269887 15267840 7.3G 83 LinuxDisk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 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
-
@crispyoz Thank you. These are the partitions of my Omega2 "Pro" 's 16GB eMMC card with microSD adapter.
I didn't know that those two boot partitions are correct or some error.Disk /dev/mmcblk0: 14.6 GiB, 15634268160 bytes, 30535680 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 Disklabel type: dos Disk identifier: 0x00000000 Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 8192 30535679 30527488 14.6G c W95 FAT32 (LBA) Disk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 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: 4 MiB, 4194304 bytes, 8192 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
-
@György-Farkas said in DIY Omega2 Pro - Try it before buy:
didn't know that those two boot partitions are correct or some error.
Sorry @György-Farkas were you asking a quesiton?
-
@crispyoz You have already answered almost all my questions/requests. Thank you again for your support.
I wrote in this post on 25th Feb:If you already have an Omega2 Pro please let us know:
- Q: What is the FirmWare and the UBoot version of your Omega2 Pro?
A: you wrote on 18th Apr
Omega firmware: v0.3.2 b218
What is the output of the following commands?
- Q:
cat /proc/mtd
A: you wrote on 17th Apr
dev: size erasesize name
mtd0: 00030000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00010000 00010000 "factory"
mtd3: 00fb0000 00010000 "firmware"
mtd4: 0017fe58 00010000 "kernel"
mtd5: 00e301a8 00010000 "rootfs"
mtd6: 00690000 00010000 "rootfs_data"-
Q:
dd if=/dev/mtd0 of=/tmp/u-boot.bin
A: you uploaded it to dropbox on 18th Apr -
Q:
md5sum /tmp/u-boot.bin
A: you wrote on 17th Apr
8439b13b8f6206c9a4e798fd0191880d /tmp/u-boot.bin
-
Q:
dd if=/dev/mtd1 of=/tmp/u-boot-env.bin
A: you uploaded it to dropbox on 18th Apr -
Q:
md5sum /tmp/u-boot-env.bin
A: you wrote on 17th Apr
a93d8be9946384b5948de085f0ce3af1 /tmp/u-boot-env.bin
- Q:
fdisk -l
A: you wrote on 19th Apr
Disk /dev/mtdblock0: 192 KiB, 196608 bytes, 384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mtdblock1: 64 KiB, 65536 bytes, 128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mtdblock2: 64 KiB, 65536 bytes, 128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mtdblock3: 15.7 MiB, 16449536 bytes, 32128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mtdblock4: 1.5 MiB, 1572352 bytes, 3071 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mtdblock5: 14.2 MiB, 14876672 bytes, 29056 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mtdblock6: 6.6 MiB, 6881280 bytes, 13440 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mmcblk0: 7.3 GiB, 7818182656 bytes, 15269888 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
Disklabel type: dos
Disk identifier: 0xbee0b8a0Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 2048 15269887 15267840 7.3G 83 LinuxDisk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesDisk /dev/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 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-
Q:
dd if=/dev/mmcblk0boot0 of=/tmp/mmc_boot0.bin
A: it's an "empty" file (filled with 0x00) -
Q:
md5sum /tmp/mmc_boot0.bin
A: you wrote on 1st May
b5cfa9d6c8febd618f91ac2843d50a1c /tmp/mmc_boot0.bin
-
Q:
dd if=/dev/mmcblk0boot1 of=/tmp/mmc_boot1.bin
A: it's an "empty" file (filled with 0x00) -
Q:
md5sum /tmp/mmc_boot1.bin
A: you wrote on 1st May
b5cfa9d6c8febd618f91ac2843d50a1c /tmp/mmc_boot1.bin
About the last two
questions: I didn't know that the second boot partition (/dev/mmcblk0boot1) is correct or some error on my Omega2 "Pro" (Omega2+ and a 16 GB eMCC board with microSD adapter).
- Q: What is the FirmWare and the UBoot version of your Omega2 Pro?
-
Below are the results you requested.
dd if=/dev/mmcblk0boot0 of=/tmp/mmc_boot0.bin
8192+0 records in
8192+0 records outmd5sum /tmp/mmc_boot0.bin
b5cfa9d6c8febd618f91ac2843d50a1c /tmp/mmc_boot0.bindd if=/dev/mmcblk0boot1 of=/tmp/mmc_boot1.bin
8192+0 records in
8192+0 records outmd5sum /tmp/mmc_boot1.bin
b5cfa9d6c8febd618f91ac2843d50a1c /tmp/mmc_boot1.bin
-
Hi @crispyoz
OK, both mmc_boot partitions are totally empty (filled with 0x00).
So Booting from External Storage is a white lie on Omega2 Pro too.
Thank you.# Omega2 "Pro" (Omega2+ FW omega2pro-v0.3.2 b218 and a 16 GB eMMC board with a microSD card adapter) root@Omega-99A5:/# dd if=/dev/mmcblk0boot0 of=/tmp/mmc_boot0.bin 8192+0 records in 8192+0 records out root@Omega-99A5:/# md5sum /tmp/mmc_boot0.bin b5cfa9d6c8febd618f91ac2843d50a1c /tmp/mmc_boot0.bin root@Omega-99A5:/# hexdump -C /tmp/mmc_boot0.bin 00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00400000 root@Omega-99A5:/# dd if=/dev/mmcblk0boot1 of=/tmp/mmc_boot1.bin 8192+0 records in 8192+0 records out root@Omega-99A5:/# md5sum /tmp/mmc_boot1.bin b5cfa9d6c8febd618f91ac2843d50a1c /tmp/mmc_boot1.bin root@Omega-99A5:/# hexdump -C /tmp/mmc_boot0.bin 00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00400000
-
@György-Farkas I never saw where it said it boots from external storage, I just see the pro as combo of Omega2+, PowerDock, memory expansion and a much better LED. It's also slimmer because you don't have to plug in the Omega since it's soldered in. I just wish they're get rid of the USB-A plug.
-
@crispyoz Please take a look at the official Onion Omega2 Documentation. The Onion guys advertise the pivot-overlay as Booting from External Storage.
-
@György-Farkas I misunderstood what you were saying. I thought you were saying the Pro boots from external storage.I am aware Omega 2 CAN boot from external storage.