Reply
Thread Tools
Posts: 1,523 | Thanked: 1,997 times | Joined on Jul 2011 @ not your mom's FOSS basement
#211
..and can't we 'hack' nolo a bit? Somebody already found the bootlogo; so with a bit of (dis)assembly...
 

The Following 2 Users Say Thank You to don_falcone For This Useful Post:
Posts: 204 | Thanked: 423 times | Joined on Jan 2011
#212
@don_falcone, what exactly do you mean by 'hacking'? 'Cause I don't see any reasons for hacking nolo, everything can be done with recompiling kernel and/or u-boot.
 

The Following User Says Thank You to hxka For This Useful Post:
Posts: 1,523 | Thanked: 1,997 times | Joined on Jul 2011 @ not your mom's FOSS basement
#213
You mean bootsequence as in: NoLo->uBoot+kp->kernel-bootimg-whatever?

Moving rootfs to (a separate partition) on emmc wouldn't need hacking NoLo, right?

Last edited by don_falcone; 2012-06-21 at 19:23.
 

The Following User Says Thank You to don_falcone For This Useful Post:
Posts: 204 | Thanked: 423 times | Joined on Jan 2011
#214
Originally Posted by don_falcone View Post
You mean bootsequence as in: NoLo->uBoot+kp->kernel-bootimg-whatever?
I mean either NoLo->whatever kernel you compiled or NoLo->uBoot->whatever.
Originally Posted by don_falcone View Post
Moving rootfs to (a separate partition) on emmc wouldn't need hacking NoLo, right?
Not at all. Rootfs is mounted by kernel, it can be anywhere.
 

The Following User Says Thank You to hxka For This Useful Post:
Posts: 1,523 | Thanked: 1,997 times | Joined on Jul 2011 @ not your mom's FOSS basement
#215
So, i would further support Estel's question / request for feasibility then.
 

The Following User Says Thank You to don_falcone For This Useful Post:
Posts: 204 | Thanked: 423 times | Joined on Jan 2011
#216
You can copy all files from rootfs to mmcblk0p2, recompile kernel with integrated ext* filesystems support (or create an initrd with corresponding modules), edit cmdline to boot from /dev/mmcblk0p2 (1p2 if you have SD card) either by recompiling or with u-boot, and it should work.

Last edited by hxka; 2012-06-21 at 20:10.
 

The Following 2 Users Say Thank You to hxka For This Useful Post:
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#217
Originally Posted by freemangordon View Post
WHAT?
Code:
.
.
.
 ke-recv (>= 3.19-15.2),
 kernel-cssu-flasher ( = 1:2.6.28-10cssu2 ),
 libclutter-0.8-0 (>= 0.8.2-0maemo67+0m5-thumb1),
.
.
.
This is from Depends section in debian/control of mp-fremantle-community-pr.
Here is the output of my upgrade from last night rendering the device unbootable
Code:
[1|root@Nokia-N900|~]apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  alarmd kernel-cssu kernel-cssu-bootimg kernel-cssu-modules libalarm2 libxml2 navit navit-data navit-graphics-gtk-drawing-area navit-gui-internal xserver-xomap xserver-xorg-core
12 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 13,1MB of archives.
After this operation, 827kB disk space will be freed.
Do you want to continue [Y/n]? Y
WARNING: The following packages cannot be authenticated!
  kernel-cssu-bootimg kernel-cssu-modules kernel-cssu alarmd libalarm2 libxml2 xserver-xomap xserver-xorg-core navit navit-data navit-gui-internal navit-graphics-gtk-drawing-area
Install these packages without verification [y/N]? y
Get:1 http://maemo.merlin1991.at fremantle/free kernel-cssu-bootimg 1:2.6.28-10cssu2 [1937kB]
Get:2 http://maemo.merlin1991.at fremantle/free kernel-cssu-modules 1:2.6.28-10cssu2 [3190kB]                                                                                                                                               
Get:3 http://maemo.merlin1991.at fremantle/free kernel-cssu 1:2.6.28-10cssu2 [1934kB]                                                                                                                                                       
Get:4 http://maemo.merlin1991.at fremantle/free alarmd 1.1.16+1m5+0cssu0-thumb0 [49,1kB]                                                                                                                                                    
Get:5 http://maemo.merlin1991.at fremantle/free libalarm2 1.1.16+1m5+0cssu0-thumb0 [26,4kB]                                                                                                                                                 
Get:6 http://maemo.merlin1991.at fremantle/free libxml2 2.6.32.dfsg-5maemo4+0m5+0cssu0-thumb0 [746kB]                                                                                                                                       
Get:7 http://maemo.merlin1991.at fremantle/free xserver-xomap 2:1.6.99.1-0osso20090208.108+0m5-thumb0 [1222B]                                                                                                                               
Get:8 http://maemo.merlin1991.at fremantle/free xserver-xorg-core 2:1.6.99.1-0osso20090208.108+0m5-thumb0 [883kB]                                                                                                                           
Get:9 http://bokomoko.de unstable/ navit 0.2.0+dfsg.1-1maemo1~5147 [389kB]                                                                                                                                                                  
Get:10 http://bokomoko.de unstable/ navit-data 0.2.0+dfsg.1-1maemo1~5147 [3856kB]                                                                                                                                                           
Get:11 http://bokomoko.de unstable/ navit-gui-internal 0.2.0+dfsg.1-1maemo1~5147 [66,6kB]                                                                                                                                                   
Get:12 http://bokomoko.de unstable/ navit-graphics-gtk-drawing-area 0.2.0+dfsg.1-1maemo1~5147 [24,3kB]                                                                                                                                      
Fetched 13,1MB in 1min39s (132kB/s)                                                                                                                                                                                                         
(Reading database ... 94864 files and directories currently installed.)
Preparing to replace kernel-cssu-bootimg 1:2.6.28-10cssu1 (using .../kernel-cssu-bootimg_1%3a2.6.28-10cssu2_armel.deb) ...
Unpacking replacement kernel-cssu-bootimg ...
Default bootmenu entry is '/etc/bootmenu.d/20-Maemo5-kernel-cssu-2.6.28.10-cssu1.item'
Adding bootmenu entry for: Maemo 5 with attached kernel 2.6.28-omap1 (Internal Nand)

Configuration file: /etc/bootmenu.d/20-Maemo5-kernel-cssu-2.6.28.10-cssu1.item
Generating u-boot image for kernel 'zImage-2.6.28.10-cssu1'...
Adding bootmenu entry for: 'Maemo 5 with kernel-cssu 2.6.28.10-cssu1 (Internal Nand)'
Configuring this bootmenu entry as default

Configuration file: /etc/bootmenu.d/30-Maemo5-2.6.28-omap1-fb.item
Generating u-boot image for kernel 'zImage-2.6.28-omap1-fb'...
Adding bootmenu entry for: 'Maemo 5 with 2.6.28-omap1-fb'

Configuration file: /etc/bootmenu.d/30-Maemo5-2.6.28-omap1.item
Generating u-boot image for kernel 'zImage-2.6.28-omap1'...
Adding bootmenu entry for: 'Maemo 5 with 2.6.28-omap1'

Configuration file: /etc/bootmenu.d/40-Nemo.item
Adding bootmenu entry for: 'Nemo'

Configuration file: /etc/bootmenu.d/50-NITDroid.item
Adding bootmenu entry for: 'NITDroid'

Configuration file: /etc/bootmenu.d/60-Ubuntu.item
Adding bootmenu entry for: 'Ubuntu'

Generating u-boot bootmenu script...
Preparing to replace kernel-cssu-modules 1:2.6.28-10cssu1 (using .../kernel-cssu-modules_1%3a2.6.28-10cssu2_armel.deb) ...
Unpacking replacement kernel-cssu-modules ...
Preparing to replace kernel-cssu 1:2.6.28-10cssu1 (using .../kernel-cssu_1%3a2.6.28-10cssu2_armel.deb) ...
Unpacking replacement kernel-cssu ...
Preparing to replace alarmd 1.1.16+0m5+0cssu0 (using .../alarmd_1.1.16+1m5+0cssu0-thumb0_armel.deb) ...
Unpacking replacement alarmd ...
Preparing to replace libalarm2 1.1.16+0m5+0cssu0 (using .../libalarm2_1.1.16+1m5+0cssu0-thumb0_armel.deb) ...
Unpacking replacement libalarm2 ...
Preparing to replace libxml2 2.6.32.dfsg-5maemo4+0m5 (using .../libxml2_2.6.32.dfsg-5maemo4+0m5+0cssu0-thumb0_armel.deb) ...
Unpacking replacement libxml2 ...
Preparing to replace xserver-xomap 2:1.6.99.1-0osso20090208.108+0m5 (using .../xserver-xomap_2%3a1.6.99.1-0osso20090208.108+0m5-thumb0_armel.deb) ...
Unpacking replacement xserver-xomap ...
Preparing to replace xserver-xorg-core 2:1.6.99.1-0osso20090208.108+0m5 (using .../xserver-xorg-core_2%3a1.6.99.1-0osso20090208.108+0m5-thumb0_armel.deb) ...
Unpacking replacement xserver-xorg-core ...
Preparing to replace navit 0.2.0+dfsg.1-1maemo1~5047 (using .../navit_0.2.0+dfsg.1-1maemo1~5147_armel.deb) ...
Unpacking replacement navit ...
Preparing to replace navit-data 0.2.0+dfsg.1-1maemo1~5047 (using .../navit-data_0.2.0+dfsg.1-1maemo1~5147_all.deb) ...
Unpacking replacement navit-data ...
Preparing to replace navit-gui-internal 0.2.0+dfsg.1-1maemo1~5047 (using .../navit-gui-internal_0.2.0+dfsg.1-1maemo1~5147_armel.deb) ...
Unpacking replacement navit-gui-internal ...
Preparing to replace navit-graphics-gtk-drawing-area 0.2.0+dfsg.1-1maemo1~5047 (using .../navit-graphics-gtk-drawing-area_0.2.0+dfsg.1-1maemo1~5147_armel.deb) ...
Unpacking replacement navit-graphics-gtk-drawing-area ...
Processing triggers for catoriseplus ...
#####################################################################################################################################################################################################
No changes to hildon menu.
Setting up kernel-cssu (1:2.6.28-10cssu2) ...
Setting up kernel-cssu-modules (1:2.6.28-10cssu2) ...
Setting up kernel-cssu-bootimg (1:2.6.28-10cssu2) ...
Default bootmenu entry is '/etc/bootmenu.d/20-Maemo5-kernel-cssu-2.6.28.10-cssu1.item'
Adding bootmenu entry for: Maemo 5 with attached kernel 2.6.28-omap1 (Internal Nand)

Configuration file: /etc/bootmenu.d/20-Maemo5-kernel-cssu-2.6.28.10-cssu1.item
Error: Kernel image '2.6.28.10-cssu1' was not found in /boot

Configuration file: /etc/bootmenu.d/20-Maemo5-kernel-cssu-2.6.28.10-cssu2.item
Generating u-boot image for kernel 'zImage-2.6.28.10-cssu2'...
Adding bootmenu entry for: 'Maemo 5 with kernel-cssu 2.6.28.10-cssu2 (Internal Nand)'

Configuration file: /etc/bootmenu.d/30-Maemo5-2.6.28-omap1-fb.item
Generating u-boot image for kernel 'zImage-2.6.28-omap1-fb'...
Adding bootmenu entry for: 'Maemo 5 with 2.6.28-omap1-fb'

Configuration file: /etc/bootmenu.d/30-Maemo5-2.6.28-omap1.item
Generating u-boot image for kernel 'zImage-2.6.28-omap1'...
Adding bootmenu entry for: 'Maemo 5 with 2.6.28-omap1'

Configuration file: /etc/bootmenu.d/40-Nemo.item
Adding bootmenu entry for: 'Nemo'

Configuration file: /etc/bootmenu.d/50-NITDroid.item
Adding bootmenu entry for: 'NITDroid'

Configuration file: /etc/bootmenu.d/60-Ubuntu.item
Adding bootmenu entry for: 'Ubuntu'

Configuring attached kernel as default bootmenu entry

Generating u-boot bootmenu script...
Setting up alarmd (1.1.16+1m5+0cssu0-thumb0) ...
Setting up libalarm2 (1.1.16+1m5+0cssu0-thumb0) ...
Setting up libxml2 (2.6.32.dfsg-5maemo4+0m5+0cssu0-thumb0) ...
Setting up xserver-xorg-core (2:1.6.99.1-0osso20090208.108+0m5-thumb0) ...
Setting up xserver-xomap (2:1.6.99.1-0osso20090208.108+0m5-thumb0) ...
Setting up navit-data (0.2.0+dfsg.1-1maemo1~5147) ...
Setting up navit-graphics-gtk-drawing-area (0.2.0+dfsg.1-1maemo1~5147) ...
Setting up navit-gui-internal (0.2.0+dfsg.1-1maemo1~5147) ...
Setting up navit (0.2.0+dfsg.1-1maemo1~5147) ...
Installing new version of config file /etc/navit/navit.xml ...
Neither was the meta-package upgraded nor the kernel-cssu-flasher.
 
Posts: 77 | Thanked: 93 times | Joined on Aug 2011
#218
-52 (>= 3:0.svn20090303-1); however:
Package libavcodec52 is not configured yet.
Package libavcodec-extra-52 is not installed.
ffmpeg depends on libavdevice52 (>= 3:0.svn20090303-1) | libavdevice-extra-52 (>= 3:0.svn20090303-1); however:
Package libavdevice52 is not configured yet.
Package libavdevice-extra-52 is not installed.
ffmpeg depends on libavfilter0 (>= 3:0.svn20090303-1) | libavfilter-extra-0 (>= 3:0.svn20090303-1); however:
Package libavfilter0 is not configured yet.
Package libavfilter-extra-0 is not installed.
ffmpeg depends on libavformat52 (>= 3:0.svn20090303-1) | libavformat-extra-52 (>= 3:0.svn20090303-1); however:
Package libavformat52 is not configured yet.
Package libavformat-extra-52 is not installed.
ffmpeg depends on libavutil49 (>= 3:0.svn20090303-1) | libavutil-extra-49 (>= 3:0.svn20090303-1); however:
Package libavutil49 is not configured yet.
Package libavutil-extra-49 is not installed.
ffmpeg depends on libpostproc51 (>= 3:0.svn20090303-1) | libpostproc-extra-51 (>= 3:0.svn20090303-1); however:
Package libpostproc51 is not configured yet.
Package libpostproc-extra-51 is not installed.
ffmpeg depends on libswscale0 (>= 3:0.svn20090303-1) | libswscale-extra-0 (>= 3:0.svn20090303-1); however:
Package libswscale0 is not configured yet.
Package libswscale-extra-0 is not installed.
dpkg: error processing ffmpeg (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgoffice-0-8:
libgoffice-0-8 depends on libgsf-1; however:
Package libgsf-1 is not configured yet.
dpkg: error processing libgoffice-0-8 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnumeric:
gnumeric depends on libgsf-1 (>= 1.14.21); however:
Package libgsf-1 is not configured yet.
gnumeric depends on libgoffice-0-8 (>= 0.8.17); however:
Package libgoffice-0-8 is not configured yet.
dpkg: error processing gnumeric (--configure):
dependency problems - leaving unconfigured
Setting up guile-1.8-libs (1.8.7+1-3maemo1) ...
Optifying usr/share/doc/guile-1.8-libs -> /opt/maemo/usr/share/doc/guile-1.8-libs
mv: can't rename '/usr/share/doc/guile-1.8-libs': No such file or directory
dpkg: error processing guile-1.8-libs (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of guile-1.8:
guile-1.8 depends on guile-1.8-libs (>= 1.8.5+1-2ubuntu1); however:
Package guile-1.8-libs is not configured yet.
dpkg: error processing guile-1.8 (--configure):
dependency problems - leaving unconfigured
Setting up libsmpeg0 (0.4.5+cvs20030824-2.3-0maemo1) ...
Optifying usr/share/doc/libsmpeg0 -> /opt/maemo/usr/share/doc/libsmpeg0
mv: can't rename '/usr/share/doc/libsmpeg0': No such file or directory
dpkg: error processing libsmpeg0 (--configure):
subprocess post-installation script returned error exit status 1
Setting up libtelepathy-qt4-1 (0.7.3-0maemo1) ...
Optifying usr/share/doc/libtelepathy-qt4-1 -> /opt/maemo/usr/share/doc/libtelepathy-qt4-1
mv: can't rename '/usr/share/doc/libtelepathy-qt4-1': No such file or directory
dpkg: error processing libtelepathy-qt4-1 (--configure):
subprocess post-installation script returned error exit status 1
Setting up mplayer (1.0svn20091221-4) ...
Optifying usr/share/doc/mplayer -> /opt/maemo/usr/share/doc/mplayer
mv: can't rename '/usr/share/doc/mplayer': No such file or directory
dpkg: error processing mplayer (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python-pygame:
python-pygame depends on libsmpeg0; however:
Package libsmpeg0 is not configured yet.
dpkg: error processing python-pygame (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libqtm-12:
libqtm-12 depends on libtelepathy-qt4-1 (>= 0.7.3); however:
Package libtelepathy-qt4-1 is not configured yet.
dpkg: error processing libqtm-12 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of qmltube:
qmltube depends on ffmpeg; however:
Package ffmpeg is not configured yet.
qmltube depends on libqtm-12; however:
Package libqtm-12 is not configured yet.
dpkg: error processing qmltube (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of sib:
sib depends on mplayer; however:
Package mplayer is not configured yet.
dpkg: error processing sib (--configure):
dependency problems - leaving unconfigured
Setting up tcl8.5 (8.5.8-2maemo2) ...
update-alternatives: unable to make /usr/share/man/man1/tclsh.1.gz.dpkg-tmp a symlink to /etc/alternatives/tclsh.1: No such file or directory
update-alternatives: ignoring error.
mv: can't rename '/usr/share/man/man1/tclsh.1.gz.dpkg-tmp': No such file or directory
update-alternatives: unable to install /usr/share/man/man1/tclsh.1.gz.dpkg-tmp as /usr/share/man/man1/tclsh.1.gz: No such file or directory
update-alternatives: ignoring error.
Optifying usr/share/doc/tcl8.5 -> /opt/maemo/usr/share/doc/tcl8.5
mv: can't rename '/usr/share/doc/tcl8.5': No such file or directory
dpkg: error processing tcl8.5 (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of aisleriot:
aisleriot depends on guile-1.8-libs (>= 1.8.5+1-2ubuntu1); however:
Package guile-1.8-libs is not configured yet.
aisleriot depends on librsvg2-2 (>= 2.26.0); however:
Package librsvg2-2 is not configured yet.
aisleriot depends on guile-1.8; however:
Package guile-1.8 is not configured yet.
dpkg: error processing aisleriot (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of easy-deb-chroot:
easy-deb-chroot depends on wget; however:
Package wget is not configured yet.
dpkg: error processing easy-deb-chroot (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of stopwatch:
stopwatch depends on python2.5-pygame; however:
Package python2.5-pygame is not installed.
Package python-pygame which provides python2.5-pygame is not configured yet.
dpkg: error processing stopwatch (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of tuxrace:
tuxrace depends on tcl8.5 (>= 8.5.0); however:
Package tcl8.5 is not configured yet.
dpkg: error processing tuxrace (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of yamas:
yamas depends on ettercap | ettercap-gtk; however:
Package ettercap is not configured yet.
Package ettercap-gtk is not installed.
dpkg: error processing yamas (--configure):
dependency problems - leaving unconfigured
Setting up kernel-cssu (1:2.6.28-10cssu2) ...
Setting up kernel-cssu-flasher (1:2.6.28-10cssu2) ...
initctl: Job not changed: softupd
Version 0.4.4 started
Waiting for messages
flasher v2.8.2 (Jan 8 2010)

Image 'kernel', size 1743 kB
Version 2.6.28.10-cssu2
Using flashing protocol Mk II.
ISI message from new source (10, 00)
Found device RX-51, hardware revision 2204
Entering update mode
Beginning image update
nand: Finishing % 0 / 1743 kB]
nand: Flashing kernel image 1743 kB 10826 kB/s]
Image flashed successfully in 0.983 s (1772 kB/s)!
Total flashing time 0.984 s
Leaving update mode
SIGTERM received
Errors were encountered while processing:
wget
libgsf-1
librsvg2-2
libwv-1.2-3
abiword
libmpcdec3
gstreamer0.10-musepack
decoders-support
libjpeg7
driftnet
libnet1
ettercap
libkpathsea5
libevince1
evince
libavutil49
libavcodec52
libavformat52
libavdevice52
libavfilter0
libpostproc51
libswscale0
ffmpeg
libgoffice-0-8
gnumeric
guile-1.8-libs
guile-1.8
libsmpeg0
libtelepathy-qt4-1
mplayer
python-pygame
libqtm-12
qmltube
sib
tcl8.5
aisleriot
easy-deb-chroot
stopwatch
tuxrace
yamas
E: Sub-process /usr/bin/dpkg returned an error code (1)
Nokia-N900:~#
Any solutions ? After reflash, cssu thumb installed and extras testing & devel repos added. I installed this same packages as before reflash (it was working well, but I first installed this packages, after cssu thumb)

I did apt-get install --reinstall (pasted all packages), but it's same problem as above
PS: Sorry for my bad english

Last edited by n900_; 2012-06-21 at 21:35.
 
mrsellout's Avatar
Posts: 889 | Thanked: 2,087 times | Joined on Sep 2010 @ Manchester
#219
@michaaa62

If you try the upgrade using the stock Application Manager (HAM), do you get a similar error to that which I had in my post earlier on?

Merlin1991's reply fixed it for me.

I'm not sure if I'm correct here, perhaps others can confirm/deny, but I'm sure I read MAG say ages ago that the recommended upgrade mechanism for CSSU is the HAM.
 

The Following User Says Thank You to mrsellout For This Useful Post:
mrsellout's Avatar
Posts: 889 | Thanked: 2,087 times | Joined on Sep 2010 @ Manchester
#220
Originally Posted by don_falcone View Post
So, i would further support Estel's question / request for feasibility then.
Rootfs on emmc is possible we know, ad Hurrian made a point in the 'Swapping to a file in free space of rootfs, possible?' thread:
Originally Posted by Hurrian View Post
Originally Posted by reinob View Post
I think the kernel (maybe not the one in the N900) has a mtdswap module that allows you to put swap on an mtd device (rootfs).

The idea is really good. Imagine using a chunk of your rootfs (say, 32MB) as compressed swap.
Not our kernel, a way newer one in mainline (and the Nokia kernel on the N9/50, 2.6.32)
The Mer kernel doesn't have it, the Mer-3.x kernel probably does.

Either way, it'll need to be backported to be used, and Maemo moved off the rootfs to do so.


As an aside I did a search and found a mtdswap.ko module on my n9; a quick look at the link he gave reveals the author to be a nokia developer who probably wrote the module for Harmattan and eventually it was integrated into the mainline.

Last edited by mrsellout; 2012-06-21 at 22:38.
 

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

Tags
code size, dinosaurs, fmg ftw!, fmg.da.king, performance, thumb, thumb life


 
Forum Jump


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