Joggler II or Openframe 1.0 PATA SSD mod
Posted: Wed Sep 11, 2013 3:16 pm
Just a post to validate some stuff with the Openframe 1.0 device. Decided today to give the Openframe 1.0 device a new name.
I will refer to it from now on as the "Joggler II" device. (maybe too calling the Openframe 2.0 device the "Joggler III" device instead.)
Guessing a search in the near future for a Joggler II device will land that person to this forum.
Note that one of the "features" is the included ZIF cable PATA port clip.
That said I have been using SSD PATA port 16Gb cards now for over a year with the Jogglers doing my "stuff".
I am only booting XP though with Seabios on these setups.
All of the Jogglers / Openframe 1.0 devices that I have online today all do include a 16Gb SSD card. Some 15 of these today; kind of my "stock" build. Some are running with the original EFI boot and others with the Seabios boot (XP). All have been up now for over a year. More than half now are also running via POE connectivity to a POE switch which works well for me.
The experiment involves the use of XBMC. I do have a 2Gb XBMC setup running on the 2Gb MMC inside of the Openpeak 2.0 device.
It is using Buzz's original Ubuntu build and my tweaked XBMC build. It works fine but I keep running out of space. That and I have also moved the database stuff over to a mysql db on my LAN.
Today's experiment will be:
1 - Using the Openpeak 1.0 device with the included pata port connector, DECT chip and Zigbee chip.
2 - will start with Buzz's Ubuntu build (will test large and small) on the 16Gb SSD card
3 - will also wipe out the MMC build if I can such that the Openframe only looks at the SSD card for booting
4 - With a 16Gb build on an SSD you will also be able to hopefully multiOS boot into Android and XP and Ubuntu as there should be enough space on the SSD for all three OS's.
I am writing all of this "stuff" before I actually test. Next though would be to include the DECT chip and Zigbee drives into the base Ubuntu build for use for "other stuff". What the heck; might as well take advantage of the devices on the Openframe 1.0 device.
Writing here my step by step:
1 - install a 16Gb SSD card inside of the Openframe 1.0 putting it on top of the USB Wireless stick. It should fit just fine.
A - Checking the SSD card connected it via a ZIF cable to a USB to ZIF to SSD card set up. You can format the card with windows or with linux GParted. I did it in windows because I have a windows setup nearby. I will take pictures.
B - shortcut - copying my working Ubuntu USB image (Buzz's Ubuntu build) to the SSD drive first as I keep playing with it and its sort of tweaked right now. Skipping pictures. Copied the image in wintel and checking it with GParted on a Linux box.
For kicks and before checking the SSD on another Linux box booted up via the USB to ZIF to SSD drive in Buzz's Ubuntu and it booted up just fine on the Joggler 2. I am looking to take apart the Joggler 2 only once for installation of this SSD drive.
Using GParted resized the linux swap partition to double or so and the EXT4 partition to using the rest of the SSD drive.
Linux boot remains at 61 Mb, Swap (fat fingered) at 734Mb and Linux root at 14.49 Gb.
Decided just now to dual boot all of my laptops and netbooks to wintel and linux.
C - Install the ZIF / SSD card inside of the Joggler 2. Note length of ZIF cable and position of SSD card.
Testing first by connecting the SSD card and booting with Buzz's build. I see it just fine. No boot though right now.
Instead put in a seabios flash boot chip and will boot into xp and edit the MMC first partition such that I have the joggler EFI boot files on there and the original EFI boot files.
My mistake here was assuming that the boot efi flash looked at whatever to boot and not initially the MMC boot partition.
Update -
Booted up XP with seabios. I installed a partition manager and editor. I copied over the Jogger boot partition files keeping the subdirectory with the Verizon boot files. I swapped out the flash chip with the original Verizon one and was able to boot back into the Ubuntu on the SSD drive. That said though I am still a bit messed up because its looking at the USB stick before it boots up the SSD drive.
Day #2
Seems to be booting normal from the SSD drive when the USB stick errors out or I change the USB boot stick to another port on the USB hub. It is much faster running Ubuntu when it does boot up from the SSD drive. Reviewing the MMC boot partition EFI configuration I do not see that it requires any changes. I have a backup of the entire MMC device such that today I will write the O2 stuff on to it to see if that changes anything. Relating to the XP / Seabios configurations I currently have running; boots up every time. Last setup was done by using an XP CD rom disk off of the USB port writing the OS to the SSD card.
Might try first writing the small Ubuntu build on to the 1Gb MMC to see what happens.
Update - few hours later
Updated firmware with last base build for O2. Tested it to work fine. Next booted Ubuntu via USB. Booted fine. I rewrote the SSD card with Ubuntu build. Tested it to boot via the SSD to USB connection. Worked. Moved the connection over to the PATA port. It didn't boot. Plugged in the USB stick Ubuntu to a different port on USB hub. Errored out while looking for a USB connection while booting then it went to the SSD card and booted fine. I can replicate this by just moving the USB Ubuntu build to a different USB port. Response times on the SSD card Ubuntu are very quick; IE: updates and menus and graphics in general.
If I remove the USB hub and try to boot it appears to hang in "EFI flippant mode" not knowing where to boot from and not going to original firmware on MMC flash. I am thinking it is seeing the build on the SSD but just doesn't know how to boot it. Playing now with the grub.cfg file on the EFI boot partition to see if that matters.
I added FS2: to all of the EFI files and it always booted from the USB stick with no errors. I took off the FS2: and I could get it to error and boot up from the SSD in a similiar fashion to when you have a bad USB boot stick and it defaults to the internal MMC boot. I am thinking that the SSD is looked at first from the boot EFI flash maybe? I also changed FS0:boot to FS0:grub which didn't change anything. I was able to boot the last time into the SSD and removed the USB stick and will leave it be for the time being; its really fast and I am able to update and add applications quickly.
So it appears that maybe the PATA drive is actually the first drive and the MMC is the 2nd drive?
I will refer to it from now on as the "Joggler II" device. (maybe too calling the Openframe 2.0 device the "Joggler III" device instead.)
Guessing a search in the near future for a Joggler II device will land that person to this forum.
Note that one of the "features" is the included ZIF cable PATA port clip.
That said I have been using SSD PATA port 16Gb cards now for over a year with the Jogglers doing my "stuff".
I am only booting XP though with Seabios on these setups.
All of the Jogglers / Openframe 1.0 devices that I have online today all do include a 16Gb SSD card. Some 15 of these today; kind of my "stock" build. Some are running with the original EFI boot and others with the Seabios boot (XP). All have been up now for over a year. More than half now are also running via POE connectivity to a POE switch which works well for me.
The experiment involves the use of XBMC. I do have a 2Gb XBMC setup running on the 2Gb MMC inside of the Openpeak 2.0 device.
It is using Buzz's original Ubuntu build and my tweaked XBMC build. It works fine but I keep running out of space. That and I have also moved the database stuff over to a mysql db on my LAN.
Today's experiment will be:
1 - Using the Openpeak 1.0 device with the included pata port connector, DECT chip and Zigbee chip.
2 - will start with Buzz's Ubuntu build (will test large and small) on the 16Gb SSD card
3 - will also wipe out the MMC build if I can such that the Openframe only looks at the SSD card for booting
4 - With a 16Gb build on an SSD you will also be able to hopefully multiOS boot into Android and XP and Ubuntu as there should be enough space on the SSD for all three OS's.
I am writing all of this "stuff" before I actually test. Next though would be to include the DECT chip and Zigbee drives into the base Ubuntu build for use for "other stuff". What the heck; might as well take advantage of the devices on the Openframe 1.0 device.
Writing here my step by step:
1 - install a 16Gb SSD card inside of the Openframe 1.0 putting it on top of the USB Wireless stick. It should fit just fine.
A - Checking the SSD card connected it via a ZIF cable to a USB to ZIF to SSD card set up. You can format the card with windows or with linux GParted. I did it in windows because I have a windows setup nearby. I will take pictures.
B - shortcut - copying my working Ubuntu USB image (Buzz's Ubuntu build) to the SSD drive first as I keep playing with it and its sort of tweaked right now. Skipping pictures. Copied the image in wintel and checking it with GParted on a Linux box.
For kicks and before checking the SSD on another Linux box booted up via the USB to ZIF to SSD drive in Buzz's Ubuntu and it booted up just fine on the Joggler 2. I am looking to take apart the Joggler 2 only once for installation of this SSD drive.
Using GParted resized the linux swap partition to double or so and the EXT4 partition to using the rest of the SSD drive.
Linux boot remains at 61 Mb, Swap (fat fingered) at 734Mb and Linux root at 14.49 Gb.
Decided just now to dual boot all of my laptops and netbooks to wintel and linux.
C - Install the ZIF / SSD card inside of the Joggler 2. Note length of ZIF cable and position of SSD card.
Testing first by connecting the SSD card and booting with Buzz's build. I see it just fine. No boot though right now.
Changed the MMC boot partition to non boot. I then edited the SSD boot partition stuff. Booted fine. SSHing see this:root@joggler:/dev/disk# ls
by-id by-label by-path by-uuid
root@joggler:/dev/disk# cd by-id
root@joggler:/dev/disk/by-id# ls
ata-SanDisk_pSSD_16GB_ANZ062509013740 scsi-SATA_SanDisk_pSSD_16_ANZ062509013740
ata-SanDisk_pSSD_16GB_ANZ062509013740-part1 scsi-SATA_SanDisk_pSSD_16_ANZ062509013740-part1
ata-SanDisk_pSSD_16GB_ANZ062509013740-part2 scsi-SATA_SanDisk_pSSD_16_ANZ062509013740-part2
ata-SanDisk_pSSD_16GB_ANZ062509013740-part3 scsi-SATA_SanDisk_pSSD_16_ANZ062509013740-part3
root@joggler:/dev/disk/by-id#
00:1f.1 IDE interface: Intel Corporation System Controller Hub (SCH Poulsbo) IDE Controller (rev 07)
root@joggler:~# df -l
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 14957568 2878752 12078816 20% /
udev 246928 12 246916 1% /dev
tmpfs 100896 784 100112 1% /run
none 5120 0 5120 0% /run/lock
none 252240 236 252004 1% /run/shm
/dev/sda3 on / type ext4 (rw,noatime,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
gvfs-fuse-daemon on /home/joggler/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=joggler)
remote gui see this: Bricked it while playing some more with the original MMC boot partition. Looks to have a "special" boot EFI chip on it.root@joggler:~# fdisk -l
Disk /dev/sda: 16.4 GB, 16391208960 bytes
255 heads, 63 sectors/track, 1992 cylinders, total 32014080 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: 0x0004941d
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 126975 62464 e W95 FAT16 (LBA)
/dev/sda2 126976 1630207 751616 82 Linux swap / Solaris
/dev/sda3 1630208 32012287 15191040 83 Linux
Disk /dev/mmcblk0: 1028 MB, 1028128768 bytes
4 heads, 16 sectors/track, 31376 cylinders, total 2008064 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: 0x000dba57
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 16 125055 62520 ef EFI (FAT-12/16/32)
/dev/mmcblk0p2 125056 625151 250048 83 Linux
/dev/mmcblk0p3 625152 1125247 250048 83 Linux
/dev/mmcblk0p4 1125248 2008063 441408 83 Linux
Instead put in a seabios flash boot chip and will boot into xp and edit the MMC first partition such that I have the joggler EFI boot files on there and the original EFI boot files.
My mistake here was assuming that the boot efi flash looked at whatever to boot and not initially the MMC boot partition.
Update -
Booted up XP with seabios. I installed a partition manager and editor. I copied over the Jogger boot partition files keeping the subdirectory with the Verizon boot files. I swapped out the flash chip with the original Verizon one and was able to boot back into the Ubuntu on the SSD drive. That said though I am still a bit messed up because its looking at the USB stick before it boots up the SSD drive.
Day #2
Seems to be booting normal from the SSD drive when the USB stick errors out or I change the USB boot stick to another port on the USB hub. It is much faster running Ubuntu when it does boot up from the SSD drive. Reviewing the MMC boot partition EFI configuration I do not see that it requires any changes. I have a backup of the entire MMC device such that today I will write the O2 stuff on to it to see if that changes anything. Relating to the XP / Seabios configurations I currently have running; boots up every time. Last setup was done by using an XP CD rom disk off of the USB port writing the OS to the SSD card.
Might try first writing the small Ubuntu build on to the 1Gb MMC to see what happens.
Update - few hours later
Updated firmware with last base build for O2. Tested it to work fine. Next booted Ubuntu via USB. Booted fine. I rewrote the SSD card with Ubuntu build. Tested it to boot via the SSD to USB connection. Worked. Moved the connection over to the PATA port. It didn't boot. Plugged in the USB stick Ubuntu to a different port on USB hub. Errored out while looking for a USB connection while booting then it went to the SSD card and booted fine. I can replicate this by just moving the USB Ubuntu build to a different USB port. Response times on the SSD card Ubuntu are very quick; IE: updates and menus and graphics in general.
If I remove the USB hub and try to boot it appears to hang in "EFI flippant mode" not knowing where to boot from and not going to original firmware on MMC flash. I am thinking it is seeing the build on the SSD but just doesn't know how to boot it. Playing now with the grub.cfg file on the EFI boot partition to see if that matters.
I added FS2: to all of the EFI files and it always booted from the USB stick with no errors. I took off the FS2: and I could get it to error and boot up from the SSD in a similiar fashion to when you have a bad USB boot stick and it defaults to the internal MMC boot. I am thinking that the SSD is looked at first from the boot EFI flash maybe? I also changed FS0:boot to FS0:grub which didn't change anything. I was able to boot the last time into the SSD and removed the USB stick and will leave it be for the time being; its really fast and I am able to update and add applications quickly.
So it appears that maybe the PATA drive is actually the first drive and the MMC is the 2nd drive?