Active Topics

 


Reply
Thread Tools
Posts: 204 | Thanked: 443 times | Joined on Jul 2012 @ Germany - Potsdam
#11
Originally Posted by hedayat View Post
2. As I said in the first post, you can abuse other OS icons for a few extra OS options (e.g. Using Ubuntu for booting another version of Nemo)
And with the patch (index) we can abuse one OS (entry) for many 'easy imaged' OSs.

And yes, I already abuse, lile you wrote under '2.'. ;-) So take your time, it is not
absolutely essential.
 

The Following 2 Users Say Thank You to meemorph For This Useful Post:
Posts: 165 | Thanked: 625 times | Joined on Oct 2012
#12
Package updated to version 1.1, fixes boot problems which sometimes happened. First post updated, with a link to the new version.
 

The Following 6 Users Say Thank You to hedayat For This Useful Post:
Posts: 165 | Thanked: 625 times | Joined on Oct 2012
#13
New (hopefully last!) bugfix version is available.
 

The Following 6 Users Say Thank You to hedayat For This Useful Post:
Posts: 207 | Thanked: 66 times | Joined on Dec 2012 @ Syria - Tartus
#14
its hard , please tell me how to do that if i want install sailfishOS
 
Posts: 165 | Thanked: 625 times | Joined on Oct 2012
#15
Have you read the readme file? which step is hard for you? tell me so that I know where I should explain more.
 

The Following 2 Users Say Thank You to hedayat For This Useful Post:
Posts: 207 | Thanked: 66 times | Joined on Dec 2012 @ Syria - Tartus
#16
can u give me edited file for sailfish? i have v1.2
i added all file in package to /boot in mydocs
what i should do now ?
 
Posts: 165 | Thanked: 625 times | Joined on Oct 2012
#17
The config file inside the package already has a working config for Sailfish (new images with 3.5.3 kernel). If you use and older image, you should just change the kernel file name specified in this line:
Code:
G_OS6_1_FILE="/boot/Sailfish/boot/vmlinuz-3.5.3-1.1.1-n950"
No other changes should be necessary.

Now, you should be able to boot Harmattan without any problems. Then, you can proceed with steps 6 of the installation instructions in README file (run it on phone):
Code:
6. Create an ext4 filesystem image of the desired OS. You can do this in Harmattan like this:

     dd if=/dev/zero of=/home/user/MyDocs/boot/sailfish.img bs=1024M seek=1 count=0
     /sbin/mkfs.ext4 /home/user/MyDocs/boot/sailfish.img
     mount -o loop /home/user/MyDocs/boot/sailfish.img /mnt/
     tar -xf sailfish-image.tar.bz2 --numeric-owner -C /mnt/
     cp /mnt/boot/vmlinuz-3.5.3-1.1.1-n950 /home/user/MyDocs/boot/
     umount /mnt
(If you use my Sailfish image, you don't need to run above commands at all. All you need to do is to copy both the kernel and .img.xz file inside your MyDocs/boot directory, decompress the .xz image and rename it to sailfish.img; and, rename the kernel to vmlinuz-3.5.3-1.1.1-n950 (or change the kernel name inside ubiboot.conf):
Code:
cd /home/user/MyDocs/boot/
xz -d sailfish-hv-1.1.0.39-20141110.img.xz
mv sailfish-hv-1.1.0.39-20141110.img sailfish.img
mv vmlinuz-3.5.3-1.1.1-n950-sailfish vmlinuz-3.5.3-1.1.1-n950
 

The Following 4 Users Say Thank You to hedayat For This Useful Post:
Posts: 119 | Thanked: 217 times | Joined on Feb 2015 @ Poland
#18
Originally Posted by hedayat View Post
(If you use my Sailfish image, you don't need to run above commands at all. All you need to do is to copy both the kernel and .img.xz file inside your MyDocs/boot directory, decompress the .xz image and rename it to sailfish.img; and, rename the kernel to vmlinuz-3.5.3-1.1.1-n950 (or change the kernel name inside ubiboot.conf):
Code:
cd /home/user/MyDocs/boot/
xz -d sailfish-hv-1.1.0.39-20141110.img.xz
mv sailfish-hv-1.1.0.39-20141110.img sailfish.img
mv vmlinuz-3.5.3-1.1.1-n950-sailfish vmlinuz-3.5.3-1.1.1-n950
Files are no longer avaible to download anywhere. Would anybody upload theme here or to OpenRepos?
 

The Following 2 Users Say Thank You to badpixel For This Useful Post:
Posts: 165 | Thanked: 625 times | Joined on Oct 2012
#19
I remember that someone in the corresponding SailfishOS for N9 thread made a copy of my image files. However, if you don't find the link, I'll try to upload it again somewhere.
__________________
My N9 apps: MeeTeleGram, Dukto, Prayers, Saaghar, N9 Easy Boot
Donations are appreciated
 

The Following 2 Users Say Thank You to hedayat For This Useful Post:
filip.pz's Avatar
Posts: 108 | Thanked: 579 times | Joined on Feb 2013 @ Požega, Croatia
#20
Could you please do the following change in init file (loop_boot.cpio):
Code:
# Single kick should be enough, but we add a few ones for safety!
kick_watchdog()
{
  echo XXX > /dev/watchdog
  echo XXX > /dev/twl4030_wdt
  #New kernels don't use named watchdogs but use /dev/watchdog0, /dev/watchdog1... 
  #/dev/watchdog is still there for comaptibility, but is tied to first wd (/dev/watchdog0) only
  echo XXX > /dev/watchdog1 
}
This seems the reasonable place to put wd kick in, since DSME under 4.3 kernel (http://talk.maemo.org/showthread.php?t=95966) doesn't start early enough to start the kicking on time.

I tried adding it myself and just manage to break the cpio file, but I'm pretty sure that this will be OK when cpio thing is done right

I've just managed to extract/repack cpio with this change:
Code:
cpio -id --no-absolute-filenames < ../loop_boot.cpio
find . | cpio -H newc -o > ../loop_boot.cpio
and it's booting fine as expected

Last edited by filip.pz; 2015-10-17 at 11:48. Reason: add cpio repack info
 

The Following 7 Users Say Thank You to filip.pz For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 16:13.