Active Topics

 


Reply
Thread Tools
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#231
yes, joerg's openkernel working, but i really need NAT more even openmode. Need help =)
 

The Following User Says Thank You to coderus For This Useful Post:
Guest | Posts: n/a | Thanked: 0 times | Joined on
#232
Originally Posted by coderus View Post
yes, joerg's openkernel working, but i really need NAT more even openmode. Need help =)
I want NAT as well as other stuff.
It is not impossible, it has some challenges it seems.
I have compiled Linux kernels before, it is not 'magic', allthough it have some challenges.
Unlike for example Sony Ericsson, we are NOT getting support from Nokia (Yes, we get the SDK upon request, which is, by the way, not complete and I would say NOT the 'shipping' kernel)
We are definately on our own. We have the community, like Javispedro, and many others, to help.
The downside. Our time is limited, for many reasons. I have had the 'luck' to have a broken leg in two places, that gave me almost full-time to do stuff. BUT we are very much dependant on our fellow 'hackers' and willingness to share. This is not always easy, as with open-kernel, there is a 'race' who is first, and the proud in being the 'first' to release. Sometimes this is a draw-back.
Luckily we have enough people that wants to share their knowledge, but their time is, like said, restricted. And NOONE can claim nor expect a solution to any wish given this.
Now, back to work.
 

The Following User Says Thank You to For This Useful Post:
Guest | Posts: n/a | Thanked: 0 times | Joined on
#233
Originally Posted by javispedro View Post
What's exactly the problem? Do the vanilla or the aegis neutering kernels work for you? If they do, then forget about any other flasher parameters, the problem is within your kernel config.

Randomly changing the kernel config is not something to be taken lightly; many changes might require that you build and install a new modules package. Dunno about iptables though.
I beiieve actuallt, that the flasher command can be simplified.
flasher -F firmware.bin -k zImage -f -R this will skip flashing the kernel in the firmware.bin, and flash instead our zImage. I see no reason why this would not work.
Kernel builing, yes (or no) its not a walk-in-the-park when it comes to doing this on 'our' platform. Some parameters will need to be compiled as modules, some can not be changed without risking a brick etc etc.
Ip tables is 'simple', but not without challenges.
Oh, and once I get the time, I did find one more thing to eliminate the Aegis checks. Once my time is more free after my hospital period, I will add to this.
 

The Following User Says Thank You to For This Useful Post:
Posts: 58 | Thanked: 21 times | Joined on Mar 2012
#234
Aegis rejecting ...: package 'traceroute' origin cannot be determined -- signature check failed
aegis aborting dpkg
now this i get with open kernel during installing from debian repository
open mode isn't open enough.
 
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#235
lol, peoples, it harmattan repository have wrong GPG Key, afaik.
maybe potring aptitude can help.
 
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#236
Originally Posted by koe View Post
open mode isn't open enough.
Use dpkg.real .

EDIT: This is what I meant by "aegis dpkg". "/usr/bin/dpkg" is aegis dpkg, dpkg.real is "normal" debian dpkg. It will not care about aegis stuff on packages, and it will be also faster than aegis dpkg!

Last edited by javispedro; 2012-03-12 at 18:42.
 

The Following 2 Users Say Thank You to javispedro For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#237
need to get all dependencies first =)
 
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#238
it easier.
1st attempt:
Code:
/home/user # apt-get install sqlite3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libreadline5 readline-common
Suggested packages:
  sqlite3-doc
The following NEW packages will be installed:
  libreadline5 readline-common sqlite3
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/304kB of archives.
After this operation, 680kB of additional disk space will be used.
Do you want to continue [Y/n]? 
WARNING: The following packages cannot be authenticated!
  sqlite3
Install these packages without verification [y/N]? y
aegis-deb-release: Missing ':' in ' b27838cd7450c6f10d39ce9491ec20a1 756954 free/source/Sources
 d91852b967d8dbeab6248c6f1556405c 224347 free/source/Sources.gz
 144e299a324fedc82763cb3ddfacadd1743cd7ed 756954 free/source/Sources
 44afe3219b48edd1fe357726716df2e02dcf4759 224347 free/source/Sources.gz
 c3ca448e424cefa1c2f1468847a2230fccea9ef3afafcb5cd927cd99914e8cea 756954 free/source/Sources
 f507ece4b736634f52ef579e5742313df4ba1b19da1f9483f8bb2e214e578690 224347 free/source/Sources.gz
'
Aegis rejecting /var/cache/apt/archives/sqlite3_3.7.7-2+maemo2+0m6_armel.deb: package 'sqlite3' origin cannot be determined  -- signature check failed
aegis-deb-release: Missing ':' in ' b27838cd7450c6f10d39ce9491ec20a1 756954 free/source/Sources
 d91852b967d8dbeab6248c6f1556405c 224347 free/source/Sources.gz
 144e299a324fedc82763cb3ddfacadd1743cd7ed 756954 free/source/Sources
 44afe3219b48edd1fe357726716df2e02dcf4759 224347 free/source/Sources.gz
 c3ca448e424cefa1c2f1468847a2230fccea9ef3afafcb5cd927cd99914e8cea 756954 free/source/Sources
 f507ece4b736634f52ef579e5742313df4ba1b19da1f9483f8bb2e214e578690 224347 free/source/Sources.gz
'
Selecting previously deselected package readline-common.
(Reading database ... 44358 files and directories currently installed.)
Unpacking readline-common (from .../readline-common_5.2-2maemo4+0m6_all.deb) ...
Selecting previously deselected package libreadline5.
Unpacking libreadline5 (from .../libreadline5_5.2-2maemo4+0m6_armel.deb) ...
aegis-installing readline-common (from 'com.nokia.maemo')
aegis-installing libreadline5 (from 'com.nokia.maemo')
Setting up readline-common (5.2-2maemo4+0m6) ...
install-info: warning: maintainer scripts should not call install-info anymore,
install-info: warning: this is handled now by a dpkg trigger provided by the
install-info: warning: install-info package; package readline-common should be updated.
Setting up libreadline5 (5.2-2maemo4+0m6) ...
dpkg: error processing sqlite3 (--configure):
 no package named `sqlite3' is installed, cannot configure
Errors were encountered while processing:
 sqlite3
Updating desktop entries... Done
E: Sub-process /usr/bin/dpkg returned an error code (1)
not working? ahhh... lets remove dependencies and clear apt cache
Code:
/home/user # apt-get remove readline-common
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  libreadline5 readline-common
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 492kB disk space will be freed.
Do you want to continue [Y/n]? 
(Reading database ... 44382 files and directories currently installed.)
Removing libreadline5 ...
Removing readline-common ...
install-info: warning: maintainer scripts should not call install-info anymore,
install-info: warning: this is handled now by a dpkg trigger provided by the
install-info: warning: install-info package; package readline-common should be updated.
aegis uninstalling readline-common
aegis uninstalling libreadline5
Updating desktop entries... Done

/home/user # apt-get autoclean
Reading package lists... Done
Building dependency tree       
Reading state information... Done
so, right way is:
Code:
/home/user # AEGIS_FIXED_ORIGIN=com.nokia.maemo apt-get install sqlite3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libreadline5 readline-common
Suggested packages:
  sqlite3-doc
The following NEW packages will be installed:
  libreadline5 readline-common sqlite3
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/304kB of archives.
After this operation, 680kB of additional disk space will be used.
Do you want to continue [Y/n]? 
WARNING: The following packages cannot be authenticated!
  sqlite3
Install these packages without verification [y/N]? y
Selecting previously deselected package readline-common.
(Reading database ... 44358 files and directories currently installed.)
Unpacking readline-common (from .../readline-common_5.2-2maemo4+0m6_all.deb) ...
Selecting previously deselected package libreadline5.
Unpacking libreadline5 (from .../libreadline5_5.2-2maemo4+0m6_armel.deb) ...
Selecting previously deselected package sqlite3.
Unpacking sqlite3 (from .../sqlite3_3.7.7-2+maemo2+0m6_armel.deb) ...
aegis-installing readline-common (from 'com.nokia.maemo')
aegis-installing libreadline5 (from 'com.nokia.maemo')
aegis-installing sqlite3 (from 'com.nokia.maemo')
Setting up readline-common (5.2-2maemo4+0m6) ...
install-info: warning: maintainer scripts should not call install-info anymore,
install-info: warning: this is handled now by a dpkg trigger provided by the
install-info: warning: install-info package; package readline-common should be updated.
Setting up libreadline5 (5.2-2maemo4+0m6) ...
Setting up sqlite3 (3.7.7-2+maemo2+0m6) ...
Updating desktop entries... Done
profit!

..
if you tired to write AEGIS_FIXED_ORIGIN everytime, you can modify /root/.bashrc script by adding following line:
Code:
alias tcb='AEGIS_FIXED_ORIGIN=com.nokia.maemo'
then just use "tcb" alias:
Code:
tcb apt-get install package
or
Code:
tcb dpkg -i package.deb
enjoy!

Last edited by coderus; 2012-03-12 at 19:00.
 

The Following 6 Users Say Thank You to coderus For This Useful Post:
Posts: 1,067 | Thanked: 2,383 times | Joined on Jan 2012 @ Finland
#239
Originally Posted by nieldk View Post
I have build the zImage from the previous config file.
I did a short test Now its bedtime before tomorrow), it failed to boot, but I have an idea that we might need to erase userdata before flashing.
(flasher --erase-user-data)

Please try this
http://www.4shared.com/archive/Jm6GJ...0115101ta.html
I hope that you are aware, that as you changed some kernel build options from m to y, then you also need to clean current modules from your device:

rm /lib/modules/current

You cannot reuse any of the old modules in the filesystem, and you need to copy/install every module that you built into a new /lib/modules/current-directory, and this needs to be done _BEFORE_ you try to flash/boot to your new zImage, if you forgot that step, your kernel will _NEVER_ boot up. /lib/modules/current's modules need to match your kernel.

You can only reuse current /lib/modules/current if you only add new modules, but as your config file makes other changes, then old modules will conflict and stop booting.
 

The Following 2 Users Say Thank You to rainisto For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#240
I can also verify that the same method I used before to flash PR1.1 (and is reproduced in the first post) worked to update to PR1.2 Open Mode.
1. Obtain the firmware (for me, that meant extracting it out of the N950 one-click flasher) and the open kernel
2. Back up the device
3. Power down the device
4. Start up the flasher, connect the device, go through the two steps for firmware+kernel, let the device boot
5. Set the time zone, etc
6. Settings -> Backup -> Choose pre-1.2 backup -> Restore
7. Accept some terms, enter some passwords, update some software...

I had some problems; I had to turn developer mode off and back on to get it to load the dev mode apps, and other small problems... But all in all, a very straightforward upgrade.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following User Says Thank You to qole For This Useful Post:
Reply

Tags
aegis, open kinda


 
Forum Jump


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