webOS Nation Forums >  webOS Discussion >  Open webOS General Discussion > Kernel Requirements for WebOS
Kernel Requirements for WebOS
  Reply
 
Thread Tools Display Modes
Old 03/29/2013, 07:04 PM   #1 (permalink)
Member
 
Posts: 3
I thought it would be fun to *try* to at least ssh into webos on my phone. Finally got *something* compiled..

For the life of me, I cannot get my kernel to boot. I am having to use twrp+safe strap, which is most interesting. Kernel sources are from Ubuntu Touch and my phone. Which is working with the ubuntu ramdisk.img..

Anyone know of any kernel config changes that we have to use that differ from an android kernel config??

Thanks.

http://github.com/jshafer817

maserati "droid4"

https://github.com/jshafer817/meta-s...serati/init.sh

I have added fixboot.sh and modified it to work with /bin/ instead of /sbin/bbx

# remount root as rw
/bin/mount -o remount,rw rootfs
/bin/mkdir /ss
/bin/chmod 777 /ss

# mount safestrap partition
/bin/mount -t vfat /dev/block/mmcblk1p25 /ss

# create SS loopdevs
/bin/mknod -m600 /dev/block/loop-system b 7 99
/bin/mknod -m600 /dev/block/loop-userdata b 7 98
/bin/mknod -m600 /dev/block/loop-cache b 7 97

# move real partitions out of the way
/bin/mv /dev/block/system /dev/block/systemorig
/bin/mv /dev/block/userdata /dev/block/userdataorig
/bin/mv /dev/block/cache /dev/block/cacheorig

#SLOT_LOC=$(/bin/cat /ss/safestrap/active_slot)

# setup loopbacks
/bin/losetup /dev/block/loop-system /ss/safestrap/rom-slot1/system.img
/bin/losetup /dev/block/loop-userdata /ss/safestrap/rom-slot1/userdata.img
/bin/losetup /dev/block/loop-cache /ss/safestrap/rom-slot1/cache.img

# change symlinks
/bin/ln -s /dev/block/loop-system /dev/block/system
/bin/ln -s /dev/block/loop-userdata /dev/block/userdata
/bin/ln -s /dev/block/loop-cache /dev/block/cache

# LOG HERE
/bin/ls -l /dev/block/* > /ss/block-dir.txt
/bin/sync


Fun stuff.. Damn locked bootloader.. DAMN YOU MOTOROLA! Can't use fastboot.

Last edited by Justin Shafer; 03/29/2013 at 07:49 PM.
Justin Shafer is offline   Reply With Quote
Old 03/29/2013, 07:20 PM   #2 (permalink)
Member
 
Posts: 195
I think it'd be better to try to reach webos-ports team directly
irc://irc.freenode.net/webos-ports
https://twitter.com/webosports

Which phone are you trying to port to?

Last edited by Vity Traff; 03/29/2013 at 07:26 PM.
Vity Traff is offline   Reply With Quote
Old 03/29/2013, 07:31 PM   #3 (permalink)
Member
 
Posts: 3
Quote:
Originally Posted by Vity Traff View Post
I think it'd be better to try to reach webos-ports team directly
irc://irc.freenode.net/webos-ports
https://twitter.com/webosports

Which phone are you trying to port to?
Thanks! Sent them and Tofe a message. Droid4
Justin Shafer is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
WebOS Internals Uber-Kernel rwhitby WebOS Internals 2888 09/08/2013 01:31 PM
WebOS 2.1 Pre - OC kernel iSam24 webOS Patches 6 05/01/2011 06:23 PM
WebOS 2.0 Kernel Jhines77 webOS Development 20 02/16/2011 09:19 PM


 


Content Relevant URLs by vBSEO 3.6.0