Re: Compiling GNU Utilities on Scratchbox

2007-08-20 Thread Denis DeLaRoca


On Sun, 19 Aug 2007, José Luís wrote:


The result binary file was stripped? If not, try strip the binary file with
the strip utility.


Yes, that works.!

Thanks,

-- Denis___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Compiling GNU Utilities on Scratchbox

2007-08-20 Thread Frantisek Dufka
You may also try compiling with thumb intruction set. This is how most 
stuff in firmware is compiled. Try
export DEB_BUILD_OPTIONS=thumb
before building the deb or use compiler options directly (-mthumb 
-mthumb-interwork)

Frantisek
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: hacker edition status and future?

2007-08-20 Thread Joni Valtanen


On Mon, 20 Aug 2007, Carlos Guerreiro wrote:

 ext Frantisek Dufka wrote:
 Joni Valtanen wrote:
 
 Next version is coming as rootfs. There is no kernel updates.
 
 
 OK, this means hacking 2.6.16 kernel and backporting something makes sense. 
 Alternatively time could be spent in making dual kernel booting situation 
 working (IT2006 vs 2007 with newer kernel) so this answer helps to 
 prioritize things, thanks :-)
 

 
 Same components are used as in n800 version, but the kernel is older
 2.6.16. There is lot of work if n800 version of the kernel is used.
 
 
 Yes but I hope you are not completely ditching n800 kernel for future 
 hacker edition releases (if any).
 
 If you are not planning this it would be nice to say so and also publish 
 binary stuff needed to use newer kernels. First HE version had initfs that 
 worked with newer kernels but it is not availabe anymore at
 http://tablets-dev.nokia.com/os2007_hacker_edition.php The IT2006 one 
 crashes in dsme early on boot with 2.6.18 which makes things really hard 
 since the unstoppable (retu?) watchdog reboots device and also reading 
 flags (like root device) from config partition with cal-tool is impossible 
 without dsme running.
 
 Frantisek
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers
 
 Hi Frantisek,

 The approach has been again to use the OS2006 initfs for the 770,
 including the old kernel.
 Indeed in the previous round we first tried to use a newer kernel
 but that turned out to cause many problems - Joni has the details.

Problems with 2.6.18 - if I remember right:

- dsp system was different
   - problems with sound and related programs
   - the biggest problem
- some user space programs needed more patching than with older
   kernel.
- problems with initfs: bme  cal-tool didn't work properly
- more problems that didn't come out
   - time to get everything work

But yes. 2.6.18 is possible to get work. but there is needed some 
dsp+kernel guru to do this. Using 2.6.26 is just faster way to get
goal.

There is old archive about for more information:
http://test.maemo.org/maemowiki/Os2007HackerEditionArchives

 We're close to releasing a new version of the hacker edition, at
 that point let's talk about this again. With that newer version
 working (userspace updated to the latest release for the N800
 as much as possible) we can reconsider the use of the old initfs.

 Cheers,
 Carlos



- Joni
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: hacker edition status and future?

2007-08-20 Thread Quim Gil

On Mon, 2007-08-20 at 11:51 +0300, ext Joni Valtanen wrote:

 There is old archive about for more information:
 http://test.maemo.org/maemowiki/Os2007HackerEditionArchives

http://maemo.org/community/wiki/Os2007HackerEditionArchives if you want to 
continue the update.

-- 
Quim Gil - http://maemo.org

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: hacker edition status and future?

2007-08-20 Thread Joni Valtanen


On Mon, 20 Aug 2007, Joni Valtanen wrote:



 On Mon, 20 Aug 2007, Carlos Guerreiro wrote:

 ext Frantisek Dufka wrote:
 Joni Valtanen wrote:

 Next version is coming as rootfs. There is no kernel updates.


 OK, this means hacking 2.6.16 kernel and backporting something makes sense.
 Alternatively time could be spent in making dual kernel booting situation
 working (IT2006 vs 2007 with newer kernel) so this answer helps to
 prioritize things, thanks :-)



 Same components are used as in n800 version, but the kernel is older
 2.6.16. There is lot of work if n800 version of the kernel is used.


 Yes but I hope you are not completely ditching n800 kernel for future
 hacker edition releases (if any).

 If you are not planning this it would be nice to say so and also publish
 binary stuff needed to use newer kernels. First HE version had initfs that
 worked with newer kernels but it is not availabe anymore at
 http://tablets-dev.nokia.com/os2007_hacker_edition.php The IT2006 one
 crashes in dsme early on boot with 2.6.18 which makes things really hard
 since the unstoppable (retu?) watchdog reboots device and also reading
 flags (like root device) from config partition with cal-tool is impossible
 without dsme running.

 Frantisek
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

 Hi Frantisek,

 The approach has been again to use the OS2006 initfs for the 770,
 including the old kernel.
 Indeed in the previous round we first tried to use a newer kernel
 but that turned out to cause many problems - Joni has the details.

 Problems with 2.6.18 - if I remember right:

 - dsp system was different
   - problems with sound and related programs
   - the biggest problem
 - some user space programs needed more patching than with older
   kernel.
 - problems with initfs: bme  cal-tool didn't work properly
 - more problems that didn't come out
   - time to get everything work

 But yes. 2.6.18 is possible to get work. but there is needed some
 dsp+kernel guru to do this. Using 2.6.26 is just faster way to get
 goal.

Sorry. I meant kernel 2.6.16.

 There is old archive about for more information:
 http://test.maemo.org/maemowiki/Os2007HackerEditionArchives

 We're close to releasing a new version of the hacker edition, at
 that point let's talk about this again. With that newer version
 working (userspace updated to the latest release for the N800
 as much as possible) we can reconsider the use of the old initfs.

 Cheers,
 Carlos



 - Joni
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Compiling GNU Utilities on Scratchbox

2007-08-20 Thread Eero Tamminen
Hi,

ext Frantisek Dufka wrote:
 You may also try compiling with thumb intruction set. This is how most 
 stuff in firmware is compiled. Try
 export DEB_BUILD_OPTIONS=thumb
 before building the deb or use compiler options directly (-mthumb 
 -mthumb-interwork)

And also -Os instead of -O2.  Although -Os means optimize for size,
it's sometimes faster than -O2 if things fit better into cache (same
with thumb option which can give even further size reductions).


- Eero
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: hacker edition status and future?

2007-08-20 Thread Frantisek Dufka
Joni Valtanen wrote:
 
 But yes. 2.6.18 is possible to get work. but there is needed some 
 dsp+kernel guru to do this. 

What would help for the start is making old initfs from first
hacker edition available for download again so one could start testing 
kernels = 2.6.16. With initfs from IT2006 you won't get too far when 
booting such kernel, dsme crashes and device reboots immediately.


 We're close to releasing a new version of the hacker edition, at
 that point let's talk about this again. With that newer version
 working (userspace updated to the latest release for the N800
 as much as possible) we can reconsider the use of the old initfs.

OK, thanks.

Frantisek
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


af-defines.sh call removed from /etc/profile

2007-08-20 Thread Neil Jerram
I just installed Scratchbox and the 3.1 SDK, then upgraded to the 3.2
SDK.

I noticed that the upgrade from 3.1 to 3.2 makes this change to
/etc/profile:

[sbox-SDK_ARMEL: ~]  diff /etc/profile.dpkg-old /etc/profile
9d8
 source /etc/osso-af-init/af-defines.sh

Is that correct, or should I add the deleted line back?

Thanks,
Neil

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers